summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <spyderous@gentoo.org>2005-12-08 20:23:03 +0000
committerDonnie Berkholz <spyderous@gentoo.org>2005-12-08 20:23:03 +0000
commitb92ac1a408b5bdfd8d41bca2b4f9f110442a9889 (patch)
treefcf27f4028af89e3c9105e5a05460b74af53aea0 /media-fonts/font-alias
parentPruned old version. Added 511 to x86. New version. (diff)
downloadgentoo-2-b92ac1a408b5bdfd8d41bca2b4f9f110442a9889.tar.gz
gentoo-2-b92ac1a408b5bdfd8d41bca2b4f9f110442a9889.tar.bz2
gentoo-2-b92ac1a408b5bdfd8d41bca2b4f9f110442a9889.zip
(fd.o #5293) Make aliasdir configurable in the source instead of a hackish sed in the ebuild.
(Portage version: 2.0.53)
Diffstat (limited to 'media-fonts/font-alias')
-rw-r--r--media-fonts/font-alias/ChangeLog10
-rw-r--r--media-fonts/font-alias/files/configurable-aliasdir.patch86
-rw-r--r--media-fonts/font-alias/files/digest-font-alias-0.99.0-r1 (renamed from media-fonts/font-alias/files/digest-font-alias-0.99.0)0
-rw-r--r--media-fonts/font-alias/font-alias-0.99.0-r1.ebuild (renamed from media-fonts/font-alias/font-alias-0.99.0.ebuild)14
4 files changed, 98 insertions, 12 deletions
diff --git a/media-fonts/font-alias/ChangeLog b/media-fonts/font-alias/ChangeLog
index b96bdbb711d3..cefcf2b64f3d 100644
--- a/media-fonts/font-alias/ChangeLog
+++ b/media-fonts/font-alias/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-fonts/font-alias
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/font-alias/ChangeLog,v 1.7 2005/10/20 00:35:00 geoman Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/font-alias/ChangeLog,v 1.8 2005/12/08 20:23:03 spyderous Exp $
+
+*font-alias-0.99.0-r1 (08 Dec 2005)
+
+ 08 Dec 2005; Donnie Berkholz <spyderous@gentoo.org>;
+ +files/configurable-aliasdir.patch, -font-alias-0.99.0.ebuild,
+ +font-alias-0.99.0-r1.ebuild:
+ (fd.o #5293) Make aliasdir configurable in the source instead of a hackish
+ sed in the ebuild.
20 Oct 2005; Stephen P. Becker <geoman@gentoo.org>
font-alias-0.99.0.ebuild:
diff --git a/media-fonts/font-alias/files/configurable-aliasdir.patch b/media-fonts/font-alias/files/configurable-aliasdir.patch
new file mode 100644
index 000000000000..34dacc8ca5a6
--- /dev/null
+++ b/media-fonts/font-alias/files/configurable-aliasdir.patch
@@ -0,0 +1,86 @@
+? configurable-aliasdir.patch
+Index: configure.ac
+===================================================================
+RCS file: /cvs/xorg/font/alias/configure.ac,v
+retrieving revision 1.2
+diff -u -b -B -r1.2 configure.ac
+--- configure.ac 29 Jul 2005 21:22:47 -0000 1.2
++++ configure.ac 8 Dec 2005 20:18:22 -0000
+@@ -28,6 +28,13 @@
+
+ AC_PROG_INSTALL
+
++DEFAULT_ALIASDIR=${libdir}/X11/fonts
++AC_ARG_WITH(aliasdir,
++ AS_HELP_STRING([--with-aliasdir=ALIASDIR], [Path to install font encodings]),
++ [ALIASDIR="$withval"],
++ [ALIASDIR="$DEFAULT_ALIASDIR"])
++AC_SUBST(ALIASDIR)
++
+ XORG_RELEASE_VERSION
+
+ AC_OUTPUT([Makefile
+Index: 100dpi/Makefile.am
+===================================================================
+RCS file: /cvs/xorg/font/alias/100dpi/Makefile.am,v
+retrieving revision 1.1
+diff -u -b -B -r1.1 Makefile.am
+--- 100dpi/Makefile.am 12 Jul 2005 04:23:08 -0000 1.1
++++ 100dpi/Makefile.am 8 Dec 2005 20:18:22 -0000
+@@ -19,7 +19,7 @@
+ # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
+ # CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+-aliasdir = $(libdir)/X11/fonts/100dpi
++aliasdir = @ALIASDIR@/100dpi
+ alias_DATA = fonts.alias
+
+ EXTRA_DIST = $(alias_DATA)
+Index: 75dpi/Makefile.am
+===================================================================
+RCS file: /cvs/xorg/font/alias/75dpi/Makefile.am,v
+retrieving revision 1.1
+diff -u -b -B -r1.1 Makefile.am
+--- 75dpi/Makefile.am 12 Jul 2005 04:23:08 -0000 1.1
++++ 75dpi/Makefile.am 8 Dec 2005 20:18:22 -0000
+@@ -19,7 +19,7 @@
+ # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
+ # CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+-aliasdir = $(libdir)/X11/fonts/75dpi
++aliasdir = @ALIASDIR@/75dpi
+ alias_DATA = fonts.alias
+
+ EXTRA_DIST = $(alias_DATA)
+Index: cyrillic/Makefile.am
+===================================================================
+RCS file: /cvs/xorg/font/alias/cyrillic/Makefile.am,v
+retrieving revision 1.1
+diff -u -b -B -r1.1 Makefile.am
+--- cyrillic/Makefile.am 12 Jul 2005 04:23:08 -0000 1.1
++++ cyrillic/Makefile.am 8 Dec 2005 20:18:22 -0000
+@@ -19,7 +19,7 @@
+ # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
+ # CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+-aliasdir = $(libdir)/X11/fonts/cyrillic
++aliasdir = @ALIASDIR@/cyrillic
+ alias_DATA = fonts.alias
+
+ EXTRA_DIST = $(alias_DATA)
+Index: misc/Makefile.am
+===================================================================
+RCS file: /cvs/xorg/font/alias/misc/Makefile.am,v
+retrieving revision 1.1
+diff -u -b -B -r1.1 Makefile.am
+--- misc/Makefile.am 12 Jul 2005 04:23:08 -0000 1.1
++++ misc/Makefile.am 8 Dec 2005 20:18:22 -0000
+@@ -19,7 +19,7 @@
+ # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
+ # CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+-aliasdir = $(libdir)/X11/fonts/misc
++aliasdir = @ALIASDIR@/misc
+ alias_DATA = fonts.alias
+
+ EXTRA_DIST = $(alias_DATA)
diff --git a/media-fonts/font-alias/files/digest-font-alias-0.99.0 b/media-fonts/font-alias/files/digest-font-alias-0.99.0-r1
index 4191151fca6f..4191151fca6f 100644
--- a/media-fonts/font-alias/files/digest-font-alias-0.99.0
+++ b/media-fonts/font-alias/files/digest-font-alias-0.99.0-r1
diff --git a/media-fonts/font-alias/font-alias-0.99.0.ebuild b/media-fonts/font-alias/font-alias-0.99.0-r1.ebuild
index 9b4bc9ab7348..38760ebc70dd 100644
--- a/media-fonts/font-alias/font-alias-0.99.0.ebuild
+++ b/media-fonts/font-alias/font-alias-0.99.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/font-alias/font-alias-0.99.0.ebuild,v 1.8 2005/10/20 00:35:00 geoman Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/font-alias/font-alias-0.99.0-r1.ebuild,v 1.1 2005/12/08 20:23:03 spyderous Exp $
# Must be before x-modular eclass is inherited
SNAPSHOT="yes"
@@ -13,14 +13,6 @@ RDEPEND=""
DEPEND="${RDEPEND}
x11-apps/mkfontscale"
-src_unpack() {
- x-modular_unpack_source
- x-modular_patch_source
+CONFIGURE_OPTIONS="--with-aliasdir=/usr/share/fonts"
- for dir in 100dpi 75dpi cyrillic misc; do
- sed -i -e "s:^aliasdir =.*:aliasdir = \$(datadir)/fonts/${dir}:g" \
- ${S}/${dir}/Makefile.am
- done
-
- x-modular_reconf_source
-}
+PATCHES="${FILESDIR}/configurable-aliasdir.patch"