summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDror Levin <spatz@gentoo.org>2011-01-19 19:45:51 +0000
committerDror Levin <spatz@gentoo.org>2011-01-19 19:45:51 +0000
commit10853814d7504ee0a9988c0ff5a2644bccd3ecf5 (patch)
treeb06889837c73f609e4fe4abeaac1e01c86652056 /media-gfx/fontforge
parentDelete older ebuilds. (diff)
downloadhistorical-10853814d7504ee0a9988c0ff5a2644bccd3ecf5.tar.gz
historical-10853814d7504ee0a9988c0ff5a2644bccd3ecf5.tar.bz2
historical-10853814d7504ee0a9988c0ff5a2644bccd3ecf5.zip
Drop old, change jpeg dep to virtual/jpeg (bug 347973).
Package-Manager: portage-2.2.0_alpha17/cvs/Linux x86_64
Diffstat (limited to 'media-gfx/fontforge')
-rw-r--r--media-gfx/fontforge/ChangeLog9
-rw-r--r--media-gfx/fontforge/Manifest26
-rw-r--r--media-gfx/fontforge/files/fontforge-20090923-configure.patch26
-rw-r--r--media-gfx/fontforge/files/fontforge-20090923-libpng14.patch91
-rw-r--r--media-gfx/fontforge/fontforge-20090622.ebuild115
-rw-r--r--media-gfx/fontforge/fontforge-20090923.ebuild119
-rw-r--r--media-gfx/fontforge/fontforge-20100501.ebuild6
7 files changed, 21 insertions, 371 deletions
diff --git a/media-gfx/fontforge/ChangeLog b/media-gfx/fontforge/ChangeLog
index 1b047a34139a..3e39489060c7 100644
--- a/media-gfx/fontforge/ChangeLog
+++ b/media-gfx/fontforge/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/fontforge
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/fontforge/ChangeLog,v 1.134 2010/11/30 23:41:38 hanno Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/fontforge/ChangeLog,v 1.135 2011/01/19 19:45:50 spatz Exp $
+
+ 19 Jan 2011; Dror Levin <spatz@gentoo.org> -fontforge-20090622.ebuild,
+ -fontforge-20090923.ebuild, -files/fontforge-20090923-configure.patch,
+ -files/fontforge-20090923-libpng14.patch, fontforge-20100501.ebuild:
+ Drop old, change jpeg dep to virtual/jpeg (bug 347973).
30 Nov 2010; Hanno Boeck <hanno@gentoo.org> +files/fontforge-py27.diff,
fontforge-20100501.ebuild:
diff --git a/media-gfx/fontforge/Manifest b/media-gfx/fontforge/Manifest
index 69f5134ac99c..eddea709262b 100644
--- a/media-gfx/fontforge/Manifest
+++ b/media-gfx/fontforge/Manifest
@@ -1,26 +1,22 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA512
-AUX fontforge-20090923-configure.patch 1024 RMD160 e4e9748b8b09ff475d576a221ff5a69af65ea2ef SHA1 4f18b1f1925d91abd451d4813afa0c1fa6855b34 SHA256 491fe813756d0ed693777d707da20ca16a97cf09274e92acdb72f8e7577b424f
-AUX fontforge-20090923-libpng14.patch 3458 RMD160 29386acf679e0cf4160fd0fce4830bf941874d3f SHA1 3e3f8575621de7b745868dde672cef6a6a826996 SHA256 4cd01772061dcf10555cb0d67dad27a05d6ea004f0e5eb01cc2e76c9878ed797
AUX fontforge-desktop.patch 662 RMD160 2242c71cbb88941e398fe0bb28798df941b05cd6 SHA1 c170824b25ad698d0ef8d3a59e16312c418c1fd8 SHA256 b2308b21b7db3c1ad0f8e2880678a0866f401e3ce57903e98ed68472f1e187e8
AUX fontforge-py27.diff 387 RMD160 633fbf1f53495d0bb87975f657e00f452d7cae9b SHA1 406b97dbd894a97f1f1a66376a1ab41c7a6081f2 SHA256 18d71c28258a00459621113a0126b525b08cfd0a2dfb406fc90c6bed3d3790ed
DIST cidmaps-20090121.tgz 314314 RMD160 d194355e61813d31fe4813bdf10a62d66a9f6d04 SHA1 efbc7c9d3e95159f5600dc71f9cccb370e46bb94 SHA256 1bf9c7eb8835e6ed94e62cb49f1141bc046c562849e52e6c3c7f1d7cfc95c7b3
-DIST fontforge_full-20090622.tar.bz2 5359385 RMD160 ba9983bf667091e0e9b88fcabf865c65ba2debbd SHA1 bc638eeeb4cf2d540773bacc52cc6bac1c6ca76f SHA256 bf0f1fd76f47646252853c1d86d119a9638a9a6be5c42d12e2f35b6b5c120d3f
-DIST fontforge_full-20090923.tar.bz2 5492119 RMD160 704a623f506500c839f378393f11ef14b5dec367 SHA1 cccf78ddf074ea5ddc3ce13a988dc17d383eabdd SHA256 43bbad49796a93dac3eac6f97e79d882b34fb0835ee3645c2408b402fdd01baa
DIST fontforge_full-20100501.tar.bz2 6666386 RMD160 4dee2ecdbd32bf3854105f195984d9cabf198fd8 SHA1 483425116c6af6ad90e37f9ada0c28e34f251ec3 SHA256 ee4928b0df7480c31a422645854d9f3f4f6718dd423b6885bd33e87a8a6edd79
-DIST fontforge_htdocs-20090622.tar.bz2 2764464 RMD160 6b8a319a5b2825ffaa5436bed2434403f953b372 SHA1 657bd8ff73245fb04c765a3ecf2276ea050021ff SHA256 44c7b8fdbf2472a15ceeda4d827557c04c7559f3bcd3ab2800eebcd293324763
-DIST fontforge_htdocs-20090914.tar.bz2 2828545 RMD160 74322d2d38f8321465b6fb9d7951f6be9503b46f SHA1 fc4b7dde7ba318691934b53cd72aa683bcd5e48f SHA256 3f9e6ed8dfb9d1a67c1311289bbe6538b8f20439cbe8bb6e56de6c688ad5ab57
DIST fontforge_htdocs-20100429.tar.bz2 3115782 RMD160 f1dedf39898d12398ffe463c06ebcb5d88fb575b SHA1 eeda060ad5e83392d1a27f6c9c1eac2a9c780c09 SHA256 842a5e675341578aacdd2614ec416719eba51826749d73b2044731335d1a1883
-EBUILD fontforge-20090622.ebuild 3436 RMD160 335b22027cac3b1581cbe4279d60b7645cf38d00 SHA1 09a32fe961f9d7a7f2e2c0e5aa394f242a7ffaf6 SHA256 7ae2cc82779af7e4e4b881425857eb4eefc8fd9683f570bea9f46460be323728
-EBUILD fontforge-20090923.ebuild 3610 RMD160 cbb2eed19d03ebd50e4b9871038ecd89daa36dc6 SHA1 f4215bcc7f9ad1a0eef6e913195e2b4ee06e9065 SHA256 8097b39a32773b0a32984e5c51907cbc0b254d8abffd29cd1b798423a065502c
-EBUILD fontforge-20100501.ebuild 3545 RMD160 5b3e4486cfa636cd6e2141991e7d8d9d6821a78b SHA1 7aa7f4fe2ecf0106d47a31d77da01900d76b58ee SHA256 4a4707d882f6d88f63452e47ef45898ac68869a582b9d32b0154b847790bd0a0
-MISC ChangeLog 19475 RMD160 8836412e8f93e1b5af32456dde7cf544133d510e SHA1 5eaa16a548101775bd095aa825cf3d64d2384c56 SHA256 c5856124e786ef050ea79ac5f6addaa2dfd6847fa6c2b16bee82a7cd6bc2349a
+EBUILD fontforge-20100501.ebuild 3534 RMD160 81a5b4889001b774990194fae81ea54fd6500fdd SHA1 29c4c4b5c08b75a66eb0c6244bd7abf0c491d057 SHA256 6283e38c9c221e5c3ccbe9cf03fb817172d05398acc45eb7b343d366ef3475d2
+MISC ChangeLog 19751 RMD160 266d7256f40e6b656acad39b14938aebaadc91f1 SHA1 8151cf13fcce3afb83ca4a92e9e4b77683bcc56b SHA256 05c22047d88ce62761262142ef9a2f1e15b43f68643023b9c5dbfe93c32a09df
MISC metadata.xml 1457 RMD160 1d4951de15b18f544ad32bed8b23c86d9c062f99 SHA1 8cdb030e20d35deb3a7491fa2c622b67a4d9e0e7 SHA256 964fda064eb8db8a937daf398f089df1779527e1fe45aee0edede3142ea62604
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAkz1i7gACgkQr2QksT29OyA87ACfbkP1FBvZNibWaxMfQfO6fPoU
-ls4An3AgzCUN0or9JPwfZo3O5mCS//fe
-=ZhIR
+iQEcBAEBCgAGBQJNNz93AAoJEAWF714uGAc6hvoH/0fRekuk+ZY+GIoD/yOCUTiI
+veyh7Bjc1Hv143abEafngIKRzH7x1VPipXcn8mk5ZKszGSq28EgKeJ99q1MAFlD7
+s1Y2lRNrjTT37L/xYDoxMBizJQ/HQ+hL1HpBFiEWTPUMICOKH2yKsq6ozUAkQEnz
+B8bSKnrr71gdibvQdhssmOPsv93kAfJBGBKHIw8bKNbppMVPfhLAGR7NFVsQKIcl
+5Fcp22wklS6gsyuacJMaGWuVPA6cM2ZsohNR+VksUS9n97OTT4S7J/AfdEog5SUZ
+5UGCrcv16NezuyRfChkFNkeOljehWQKkfiZNdLUozHAekB/jz926UebUCQqbLOU=
+=pYtr
-----END PGP SIGNATURE-----
diff --git a/media-gfx/fontforge/files/fontforge-20090923-configure.patch b/media-gfx/fontforge/files/fontforge-20090923-configure.patch
deleted file mode 100644
index bcacb9fe786d..000000000000
--- a/media-gfx/fontforge/files/fontforge-20090923-configure.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff --git a/configure.dynamic.in b/configure.dynamic.in
-index 6998825..21aeb3f 100644
---- a/configure.dynamic.in
-+++ b/configure.dynamic.in
-@@ -1023,7 +1023,7 @@ if test "$gww_archlist" != "" ; then
- LDFLAGS="$LDFLAGS $gww_archlist"
- fi
- AC_SUBST(CFLAGS_NOOPT)
--CFLAGS_NOOPT=`echo $CFLAGS | sed -e s/-O2// | sed -e s/-O//`
-+CFLAGS_NOOPT=`echo $CFLAGS | sed -e s/-O.//g | sed -e s/-O//g`
-
- cp $ac_confdir/Makefile.dynamic.in $ac_confdir/Makefile.in
- cp $ac_confdir/Unicode/Makefile.dynamic.in $ac_confdir/Unicode/Makefile.in
-diff --git a/configure.in b/configure.in
-index 6998825..21aeb3f 100644
---- a/configure.in
-+++ b/configure.in
-@@ -1023,7 +1023,7 @@ if test "$gww_archlist" != "" ; then
- LDFLAGS="$LDFLAGS $gww_archlist"
- fi
- AC_SUBST(CFLAGS_NOOPT)
--CFLAGS_NOOPT=`echo $CFLAGS | sed -e s/-O2// | sed -e s/-O//`
-+CFLAGS_NOOPT=`echo $CFLAGS | sed -e s/-O.//g | sed -e s/-O//g`
-
- cp $ac_confdir/Makefile.dynamic.in $ac_confdir/Makefile.in
- cp $ac_confdir/Unicode/Makefile.dynamic.in $ac_confdir/Unicode/Makefile.in
diff --git a/media-gfx/fontforge/files/fontforge-20090923-libpng14.patch b/media-gfx/fontforge/files/fontforge-20090923-libpng14.patch
deleted file mode 100644
index f72cf9ec08f1..000000000000
--- a/media-gfx/fontforge/files/fontforge-20090923-libpng14.patch
+++ /dev/null
@@ -1,91 +0,0 @@
-http://repos.archlinux.org/wsvn/packages/fontforge/trunk/libpng14.patch
-http://www.mail-archive.com/arch-commits@archlinux.org/msg11199.html
-
---- gutils/gimagereadpng.c
-+++ gutils/gimagereadpng.c
-@@ -220,13 +220,13 @@
- if ( (info_ptr->valid&PNG_INFO_tRNS) && info_ptr->num_trans>0 ) {
- if ( info_ptr->color_type==PNG_COLOR_TYPE_RGB || info_ptr->color_type==PNG_COLOR_TYPE_RGB_ALPHA )
- base->trans = COLOR_CREATE(
-- (info_ptr->trans_values.red>>8),
-- (info_ptr->trans_values.green>>8),
-- (info_ptr->trans_values.blue>>8));
-+ (info_ptr->trans_color.red>>8),
-+ (info_ptr->trans_color.green>>8),
-+ (info_ptr->trans_color.blue>>8));
- else if ( base->image_type == it_mono )
-- base->trans = info_ptr->trans[0];
-+ base->trans = info_ptr->trans_alpha[0];
- else
-- base->clut->trans_index = base->trans = info_ptr->trans[0];
-+ base->clut->trans_index = base->trans = info_ptr->trans_alpha[0];
- }
-
- row_pointers = galloc(info_ptr->height*sizeof(png_bytep));
---- gutils/gimagewritepng.c
-+++ gutils/gimagewritepng.c
-@@ -183,8 +183,8 @@
- if ( info_ptr->num_palette<=16 )
- _png_set_packing(png_ptr);
- if ( base->trans!=-1 ) {
-- info_ptr->trans = galloc(1);
-- info_ptr->trans[0] = base->trans;
-+ info_ptr->trans_alpha = galloc(1);
-+ info_ptr->trans_alpha[0] = base->trans;
- }
- } else {
- info_ptr->color_type = PNG_COLOR_TYPE_RGB;
-@@ -192,9 +192,9 @@
- info_ptr->color_type = PNG_COLOR_TYPE_RGB_ALPHA;
-
- if ( base->trans!=-1 ) {
-- info_ptr->trans_values.red = COLOR_RED(base->trans);
-- info_ptr->trans_values.green = COLOR_GREEN(base->trans);
-- info_ptr->trans_values.blue = COLOR_BLUE(base->trans);
-+ info_ptr->trans_color.red = COLOR_RED(base->trans);
-+ info_ptr->trans_color.green = COLOR_GREEN(base->trans);
-+ info_ptr->trans_color.blue = COLOR_BLUE(base->trans);
- }
- }
- _png_write_info(png_ptr, info_ptr);
-@@ -210,7 +210,7 @@
-
- _png_write_end(png_ptr, info_ptr);
-
-- if ( info_ptr->trans!=NULL ) gfree(info_ptr->trans);
-+ if ( info_ptr->trans_alpha!=NULL ) gfree(info_ptr->trans_alpha);
- if ( info_ptr->palette!=NULL ) gfree(info_ptr->palette);
- _png_destroy_write_struct(&png_ptr, &info_ptr);
- gfree(rows);
---- gutils/gimagewritepng.c
-+++ gutils/gimagewritepng.c
-@@ -314,15 +314,15 @@
- if ( info_ptr->num_palette<=16 )
- png_set_packing(png_ptr);
- if ( base->trans!=-1 ) {
-- info_ptr->trans = galloc(1);
-- info_ptr->trans[0] = base->trans;
-+ info_ptr->trans_alpha = galloc(1);
-+ info_ptr->trans_alpha[0] = base->trans;
- }
- } else {
- info_ptr->color_type = PNG_COLOR_TYPE_RGB;
- if ( base->trans!=-1 ) {
-- info_ptr->trans_values.red = COLOR_RED(base->trans);
-- info_ptr->trans_values.green = COLOR_GREEN(base->trans);
-- info_ptr->trans_values.blue = COLOR_BLUE(base->trans);
-+ info_ptr->trans_color.red = COLOR_RED(base->trans);
-+ info_ptr->trans_color.green = COLOR_GREEN(base->trans);
-+ info_ptr->trans_color.blue = COLOR_BLUE(base->trans);
- }
- }
- png_write_info(png_ptr, info_ptr);
-@@ -338,7 +338,7 @@
-
- png_write_end(png_ptr, info_ptr);
-
-- if ( info_ptr->trans!=NULL ) gfree(info_ptr->trans);
-+ if ( info_ptr->trans_alpha!=NULL ) gfree(info_ptr->trans_alpha);
- if ( info_ptr->palette!=NULL ) gfree(info_ptr->palette);
- png_destroy_write_struct(&png_ptr, &info_ptr);
- gfree(rows);
diff --git a/media-gfx/fontforge/fontforge-20090622.ebuild b/media-gfx/fontforge/fontforge-20090622.ebuild
deleted file mode 100644
index 8f87b596ebd8..000000000000
--- a/media-gfx/fontforge/fontforge-20090622.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/fontforge/fontforge-20090622.ebuild,v 1.7 2009/12/15 18:16:30 armin76 Exp $
-
-# Some notes for maintainers this package:
-# 1. README-unix: freetype headers are required to make use of truetype debugger
-# in fontforge.
-# 2. --enable-{double,longdouble} these just make ff use more storage space. In
-# normal fonts neither is useful. Leave off.
-# 3. FontForge autodetects libraries but does not link with them. They are
-# dynamically loaded at run time if fontforge found them at build time.
-# --with-regular-link disables this behaviour. No reason to make it optional for
-# users. http://fontforge.sourceforge.net/faq.html#libraries. To see what
-# libraries fontforge thinks with use $ fontforge --library-status
-
-EAPI=2
-
-inherit eutils fdo-mime
-
-CIDMAPV="20090121"
-DESCRIPTION="postscript font editor and converter"
-HOMEPAGE="http://fontforge.sourceforge.net/"
-SRC_URI="mirror://sourceforge/fontforge/${PN}_full-${PV}.tar.bz2
- doc? ( mirror://sourceforge/fontforge/fontforge_htdocs-${PV}.tar.bz2 )
- cjk? ( mirror://gentoo/cidmaps-${CIDMAPV}.tgz )" # http://fontforge.sf.net/cidmaps.tgz
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
-IUSE="cjk cairo doc gif debug jpeg nls pasteafter png +python tiff tilepath truetype truetype-debugger pango type3 svg unicode +X"
-
-RDEPEND="gif? ( >=media-libs/giflib-4.1.0-r1 )
- jpeg? ( >=media-libs/jpeg-6b-r2 )
- png? ( >=media-libs/libpng-1.2.4 )
- python? ( dev-lang/python )
- tiff? ( >=media-libs/tiff-3.5.7-r1 )
- truetype? ( >=media-libs/freetype-2.1.4 )
- truetype-debugger? ( >=media-libs/freetype-2.3.8[fontforge,-bindist] )
- svg? ( >=dev-libs/libxml2-2.6.7 )
- unicode? ( >=media-libs/libuninameslist-030713 )
- cairo? ( >=x11-libs/cairo-1.6.4[X] )
- pango? ( >=x11-libs/pango-1.20.3[X] )
- x11-libs/libXi
- x11-proto/inputproto
- !media-gfx/pfaedit"
-DEPEND="${RDEPEND}
- nls? ( sys-devel/gettext )"
-
-src_unpack() {
- unpack ${PN}_full-${PV}.tar.bz2
- use cjk && unpack cidmaps-${CIDMAPV}.tgz
- if use doc; then
- mkdir html
- cd html
- unpack fontforge_htdocs-${PV}.tar.bz2
- fi
- cd "${S}"
- epatch "${FILESDIR}/fontforge-desktop.patch"
-}
-
-src_prepare() {
- if use doc; then
- cd "${WORKDIR}/html/"
- chmod -x *.html
- fi
-}
-
-src_configure() {
- # no real way of disabling gettext/nls ...
- use nls || export ac_cv_header_libintl_h=no
- econf \
- $(use_with truetype-debugger freetype-src "/usr/include/freetype2/internal4fontforge/") \
- $(use_enable type3) \
- $(use_with python) \
- $(use_with python pyextension) \
- $(use_enable pasteafter) \
- $(use_with X x) \
- $(use_enable cjk gb12345) \
- $(use_enable tilepath) \
- $(use_enable debug debug-raw-points) \
- $(use_with pango) \
- $(use_with cairo)
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die
- dodoc AUTHORS README*
-
- if use cjk; then #129518
- insinto /usr/share/fontforge
- doins "${WORKDIR}"/*.cidmap
- fi
-
- doicon Packaging/fontforge.png
- insinto /usr/share/applications
- doins Packaging/fontforge.desktop
- insinto /usr/share/mime/application
- doins Packaging/fontforge.xml
-
- if use doc; then
- insinto /usr/share/doc/${PN}
- cd "${WORKDIR}/html/"
- doins -r *
- fi
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
-}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
-}
diff --git a/media-gfx/fontforge/fontforge-20090923.ebuild b/media-gfx/fontforge/fontforge-20090923.ebuild
deleted file mode 100644
index d981932a761b..000000000000
--- a/media-gfx/fontforge/fontforge-20090923.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/fontforge/fontforge-20090923.ebuild,v 1.12 2010/10/29 11:32:04 ssuominen Exp $
-
-# Some notes for maintainers this package:
-# 1. README-unix: freetype headers are required to make use of truetype debugger
-# in fontforge.
-# 2. --enable-{double,longdouble} these just make ff use more storage space. In
-# normal fonts neither is useful. Leave off.
-# 3. FontForge autodetects libraries but does not link with them. They are
-# dynamically loaded at run time if fontforge found them at build time.
-# --with-regular-link disables this behaviour. No reason to make it optional for
-# users. http://fontforge.sourceforge.net/faq.html#libraries. To see what
-# libraries fontforge thinks with use $ fontforge --library-status
-
-EAPI=2
-
-inherit autotools eutils fdo-mime
-
-HTDOCSV="20090914"
-CIDMAPV="20090121"
-DESCRIPTION="postscript font editor and converter"
-HOMEPAGE="http://fontforge.sourceforge.net/"
-SRC_URI="mirror://sourceforge/fontforge/${PN}_full-${PV}.tar.bz2
- doc? ( mirror://sourceforge/fontforge/fontforge_htdocs-${HTDOCSV}.tar.bz2 )
- cjk? ( mirror://gentoo/cidmaps-${CIDMAPV}.tgz )" # http://fontforge.sf.net/cidmaps.tgz
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="cjk cairo doc gif debug jpeg nls pasteafter png +python tiff tilepath truetype truetype-debugger pango type3 svg unicode +X"
-
-RDEPEND="gif? ( >=media-libs/giflib-4.1.0-r1 )
- jpeg? ( >=media-libs/jpeg-6b-r2 )
- png? ( >=media-libs/libpng-1.4 )
- python? ( dev-lang/python )
- tiff? ( >=media-libs/tiff-3.5.7-r1 )
- truetype? ( >=media-libs/freetype-2.1.4 )
- truetype-debugger? ( >=media-libs/freetype-2.3.8[fontforge,-bindist] )
- svg? ( >=dev-libs/libxml2-2.6.7 )
- unicode? ( >=media-libs/libuninameslist-030713 )
- cairo? ( >=x11-libs/cairo-1.6.4[X] )
- pango? ( >=x11-libs/pango-1.20.3[X] )
- x11-libs/libXi
- x11-proto/inputproto
- !media-gfx/pfaedit"
-DEPEND="${RDEPEND}
- nls? ( sys-devel/gettext )"
-
-src_unpack() {
- unpack ${PN}_full-${PV}.tar.bz2
- use cjk && unpack cidmaps-${CIDMAPV}.tgz
- if use doc; then
- mkdir html
- cd html
- unpack fontforge_htdocs-${HTDOCSV}.tar.bz2
- fi
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/fontforge-desktop.patch
- epatch "${FILESDIR}"/${P}-configure.patch
- epatch "${FILESDIR}"/${P}-libpng14.patch
-
- eautoconf
- if use doc; then
- cd "${WORKDIR}"/html/
- chmod -x *.html
- fi
-}
-
-src_configure() {
- # no real way of disabling gettext/nls ...
- use nls || export ac_cv_header_libintl_h=no
- econf \
- $(use_with truetype-debugger freetype-src "/usr/include/freetype2/internal4fontforge/") \
- $(use_enable type3) \
- $(use_with python) \
- $(use_with python pyextension) \
- $(use_enable pasteafter) \
- $(use_with X x) \
- $(use_enable cjk gb12345) \
- $(use_enable tilepath) \
- $(use_enable debug debug-raw-points) \
- $(use_with pango) \
- $(use_with cairo)
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die
- dodoc AUTHORS README*
-
- if use cjk; then #129518
- insinto /usr/share/fontforge
- doins "${WORKDIR}"/*.cidmap
- fi
-
- doicon Packaging/fontforge.png
- insinto /usr/share/applications
- doins Packaging/fontforge.desktop
- insinto /usr/share/mime/application
- doins Packaging/fontforge.xml
-
- if use doc; then
- insinto /usr/share/doc/${PN}
- cd "${WORKDIR}/html/"
- doins -r *
- fi
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
-}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
-}
diff --git a/media-gfx/fontforge/fontforge-20100501.ebuild b/media-gfx/fontforge/fontforge-20100501.ebuild
index 059be8a65574..098a3c650297 100644
--- a/media-gfx/fontforge/fontforge-20100501.ebuild
+++ b/media-gfx/fontforge/fontforge-20100501.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/fontforge/fontforge-20100501.ebuild,v 1.8 2010/11/30 23:41:38 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/fontforge/fontforge-20100501.ebuild,v 1.9 2011/01/19 19:45:50 spatz Exp $
# Some notes for maintainers this package:
# 1. README-unix: freetype headers are required to make use of truetype debugger
@@ -31,7 +31,7 @@ KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-f
IUSE="cjk cairo doc gif debug jpeg nls pasteafter png +python tiff tilepath truetype truetype-debugger pango type3 svg unicode +X"
RDEPEND="gif? ( >=media-libs/giflib-4.1.0-r1 )
- jpeg? ( >=media-libs/jpeg-6b-r2 )
+ jpeg? ( virtual/jpeg )
png? ( >=media-libs/libpng-1.2.4 )
python? ( dev-lang/python )
tiff? ( >=media-libs/tiff-3.5.7-r1 )