summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2009-04-21 21:35:02 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2009-04-21 21:35:02 +0000
commita9969e007d24c54b0ebaa85782d830f05a578b83 (patch)
treeae667ba479b8951bd663461456c4fb725c41b843 /media-gfx/fontforge
parentwhitespace (diff)
downloadhistorical-a9969e007d24c54b0ebaa85782d830f05a578b83.tar.gz
historical-a9969e007d24c54b0ebaa85782d830f05a578b83.tar.bz2
historical-a9969e007d24c54b0ebaa85782d830f05a578b83.zip
Provide pango and cairo use-flags and deps, bug 266868.
Package-Manager: portage-2.2_rc28/cvs/Linux x86_64
Diffstat (limited to 'media-gfx/fontforge')
-rw-r--r--media-gfx/fontforge/ChangeLog8
-rw-r--r--media-gfx/fontforge/Manifest15
-rw-r--r--media-gfx/fontforge/fontforge-20090408-r1.ebuild115
-rw-r--r--media-gfx/fontforge/metadata.xml2
4 files changed, 127 insertions, 13 deletions
diff --git a/media-gfx/fontforge/ChangeLog b/media-gfx/fontforge/ChangeLog
index cc2d87f487f8..bc75c439063d 100644
--- a/media-gfx/fontforge/ChangeLog
+++ b/media-gfx/fontforge/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/fontforge
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/fontforge/ChangeLog,v 1.106 2009/04/09 04:48:28 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/fontforge/ChangeLog,v 1.107 2009/04/21 21:35:02 loki_val Exp $
+
+*fontforge-20090408-r1 (21 Apr 2009)
+
+ 21 Apr 2009; Peter Alfredsen <loki_val@gentoo.org>
+ +fontforge-20090408-r1.ebuild:
+ Provide pango and cairo use-flags and deps, bug 266868.
*fontforge-20090408 (09 Apr 2009)
diff --git a/media-gfx/fontforge/Manifest b/media-gfx/fontforge/Manifest
index d9070218fb55..23bcdbdfaff4 100644
--- a/media-gfx/fontforge/Manifest
+++ b/media-gfx/fontforge/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX fontforge-desktop.patch 662 RMD160 2242c71cbb88941e398fe0bb28798df941b05cd6 SHA1 c170824b25ad698d0ef8d3a59e16312c418c1fd8 SHA256 b2308b21b7db3c1ad0f8e2880678a0866f401e3ce57903e98ed68472f1e187e8
DIST cidmaps-20041222.tgz 313755 RMD160 c25b1a4f0d8ed0634402d2ce2b36ba47e0c2ef1b SHA1 d111db1f6d9a05cf6cb1387c2fb2eeb21ba0279a SHA256 e0c16072d4c0fea3614073306ba243aa974a00130c5201651892950d855641f3
DIST cidmaps-20090121.tgz 314314 RMD160 d194355e61813d31fe4813bdf10a62d66a9f6d04 SHA1 efbc7c9d3e95159f5600dc71f9cccb370e46bb94 SHA256 1bf9c7eb8835e6ed94e62cb49f1141bc046c562849e52e6c3c7f1d7cfc95c7b3
@@ -21,13 +18,7 @@ EBUILD fontforge-20081215.ebuild 1719 RMD160 0e131f31c1b4dfb860bf90c57d94daba15e
EBUILD fontforge-20081224-r1.ebuild 3306 RMD160 af710ce85cbbe039ec19a168a16c450edf93c4d6 SHA1 c4784edb800035c7fac046c9c8441bbf3ccf818f SHA256 9621a2edb36917df3d5869044f9f87bc0440947748c48a6def366af1051950bf
EBUILD fontforge-20081224.ebuild 1719 RMD160 73cd4c872307a1300d04e5c3fa59806963ca3ca5 SHA1 47159f1c46e43d44be25254bbbbf1d1c6e044c3a SHA256 4da4bce53d5b7e120ce5ae56fb57c9db4b3e801b92703379b55152734b99643d
EBUILD fontforge-20090224.ebuild 3314 RMD160 efdc68855bccbe564b00d65038af02cd80a146b4 SHA1 5fcbbf7d9c85497fe1d8c68ef83236503e0d7f00 SHA256 ce7e9841e56e58e868ad99d4743c55c92b98b53822118f125a52ff50879a78ef
+EBUILD fontforge-20090408-r1.ebuild 3451 RMD160 79c47fdd9c64c62ac4c6b9e252cbfcf1919a1621 SHA1 f5ccf0534801ab6c5d06da9f8bdd0e070f500736 SHA256 64358996ea425b1d1b513d55933c1704912ef096adf588b40305c974a0b99c1c
EBUILD fontforge-20090408.ebuild 3314 RMD160 cae29a98fb5fb7edced413d686214bb4bcfe654a SHA1 7bb876bfd4e0d1b6cf7b53c17b0f4d5be561df54 SHA256 6d0470b80fa79580439e4473ec0c59457a9c242d2193b4f2fef10292ff6fbb8d
-MISC ChangeLog 15934 RMD160 4ce3e0c131766c94d6e5aabdc381c85b2c6b1b59 SHA1 0329c1ffe1b4277f992898ae8f43a624e28ddcc0 SHA256 05e4234c4a8a1fa599431efe3026c58ee8049243160e5128df842176a19c721a
-MISC metadata.xml 1408 RMD160 53db86874de33a4d699db7a8366e1e1bd4aae3f1 SHA1 a27d054ff5477089b255a9c3438d488ffd675e89 SHA256 82d69a4888355cf91df8f8822a297edf674ca66e1876bb9c2c2ffee6dec7a681
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
-
-iEYEARECAAYFAkndfi4ACgkQn/5bYzqsSmGZWQCfeJInps090nBBRZH4iqPSUCJZ
-LbsAniTUTVa8A+o7+QnfIKRJ5e7QJcr/
-=ioXk
------END PGP SIGNATURE-----
+MISC ChangeLog 16119 RMD160 14d74594e58d2630aa8103054ddbe5f0ea3dd88d SHA1 4990b859cea4edac5d69fc594b9a5f29bf6051df SHA256 22633fbac129df213f5ee82b58a8b738f7d97c27462ba22941726079adb68d57
+MISC metadata.xml 1464 RMD160 8c357ca288e6d2f7ee5f3de0069a4f998b933995 SHA1 8095e330456f8c4eb5dd047076bc43275ed5bb65 SHA256 d7ca0303b1c02f33e965f9f7a83c1eaf3a508a0abc077c92a6b21dc5f9a28d46
diff --git a/media-gfx/fontforge/fontforge-20090408-r1.ebuild b/media-gfx/fontforge/fontforge-20090408-r1.ebuild
new file mode 100644
index 000000000000..90ad338079b0
--- /dev/null
+++ b/media-gfx/fontforge/fontforge-20090408-r1.ebuild
@@ -0,0 +1,115 @@
+# 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-20090408-r1.ebuild,v 1.1 2009/04/21 21:35:02 loki_val 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/metadata.xml b/media-gfx/fontforge/metadata.xml
index 2f9f78d24a4f..0517806dbd05 100644
--- a/media-gfx/fontforge/metadata.xml
+++ b/media-gfx/fontforge/metadata.xml
@@ -19,6 +19,8 @@
capable of more exotic images than normal fonts but require much more effort
to support.</flag>
+ <flag name="pango">Enable pango font rendering</flag>
+
<flag name='pasteafter'>Controls whether fontforge has a paste after command
(Useful for making words?). This is kind of fun, but it isn't useful for
normal fonts.</flag>