diff options
-rw-r--r-- | media-gfx/fontforge/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/fontforge/Manifest | 15 | ||||
-rw-r--r-- | media-gfx/fontforge/fontforge-20090408.ebuild | 110 |
3 files changed, 131 insertions, 2 deletions
diff --git a/media-gfx/fontforge/ChangeLog b/media-gfx/fontforge/ChangeLog index 2f1d4090fec6..cc2d87f487f8 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.105 2009/03/18 14:56:53 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/fontforge/ChangeLog,v 1.106 2009/04/09 04:48:28 vapier Exp $ + +*fontforge-20090408 (09 Apr 2009) + + 09 Apr 2009; Mike Frysinger <vapier@gentoo.org> + +fontforge-20090408.ebuild: + Version bump. 18 Mar 2009; Brent Baude <ranger@gentoo.org> fontforge-20081224-r1.ebuild: stable ppc, bug 260288 diff --git a/media-gfx/fontforge/Manifest b/media-gfx/fontforge/Manifest index d62e1583773d..d9070218fb55 100644 --- a/media-gfx/fontforge/Manifest +++ b/media-gfx/fontforge/Manifest @@ -1,3 +1,6 @@ +-----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 @@ -7,8 +10,10 @@ DIST fontforge_full-20081117.tar.bz2 5137474 RMD160 2165d7ccba2c2d33d83acacbfaae DIST fontforge_full-20081215.tar.bz2 5188193 RMD160 bf1c2048521d95c0552e3eadcebe36daa0914fdb SHA1 96b03ce3277ee2d219c119d54ec45023c590079c SHA256 c2fe2b3e80dca95650f5ec80266ea49215cd1a1edff36922e0712f84af1e7eed DIST fontforge_full-20081224.tar.bz2 5236663 RMD160 c62db87e24e709734dff1b45c97c9b43b27c2e15 SHA1 be6863a96cadaae419a14fb055b7e6b5cb20af9e SHA256 1748614a0d36a1ea44cef276ad2e04e884cd0e6e0f6965a71ed0c055e6ad06fc DIST fontforge_full-20090224.tar.bz2 5304028 RMD160 82468be875c444cf5c9259f8226395ba05850f78 SHA1 2e4a57d9c13f0d220e80d413c93cc559b6c14ed4 SHA256 563244492e1ea4af77f77c5e9dbe78150f4676b99864bfaab08becde98adab53 +DIST fontforge_full-20090408.tar.bz2 5240192 RMD160 f0f0fc3876a012e6dd2e909dc63c66515dbae387 SHA1 0bc12559705ff0b214a3d6b0daf87cef79a379e8 SHA256 c4236f11833cd9790a56a1619eb27c50146deed842b66cba2c5b97bc5e0d2ae9 DIST fontforge_htdocs-20081224.tar.bz2 2548702 RMD160 91e78a3ce4a8ab2e75db44fca4959e3600cab1d7 SHA1 7eff7f15cdcd2365647d981bdece9ee98d039cf2 SHA256 abd78c7ef02ee9f86adc3d323d604c73a47531c76979cc5ef9e94d67fda9b3b1 DIST fontforge_htdocs-20090224.tar.bz2 2572001 RMD160 599677649e0908a0a5326f050aec559c9768a250 SHA1 2e96ff2b62693ea51c5d57d4a05c72832cf69817 SHA256 da571219712edf67b85035a8595621a16d5baf819f648477d00347943d2b3295 +DIST fontforge_htdocs-20090408.tar.bz2 2633016 RMD160 306c67008cfd5e9fe533557d7779eef37c730857 SHA1 9f7f90cb7c818467a2c36178dc6e1cce3e5cdb06 SHA256 efce82da5ae573386ae9d643a17549ed5837f3474d2f578fd9c59522e15ac549 EBUILD fontforge-20080927.ebuild 1693 RMD160 1344891890510c90131bf7d5446fdab598565034 SHA1 31e0253c82356f7f05976956ddfa68c8bd717866 SHA256 cdf50b4e7613274a129a412a287cecbafb63abb0342e914b1e31f9b6501fbe64 EBUILD fontforge-20081115.ebuild 1704 RMD160 d86591cd3c553e8a27cdbdbf53c81c270b38faaa SHA1 3786d616c8714492e1dfa73e7e59f7d2447b507f SHA256 8563486fbdde4077ee63abfecdb807e2660597622bbd1fd81d1e48bf4fefc38a EBUILD fontforge-20081117.ebuild 1719 RMD160 3dd559c59c08eb311a66c5c0f838a6c1e00a2533 SHA1 67848ee047c1dd6f1bff1de1ec557452021a424c SHA256 251806235b823e0c01ab8a18138ce03fa31471334b9f04f8b06a3f118c4d4c0e @@ -16,5 +21,13 @@ 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 -MISC ChangeLog 15802 RMD160 10def6042c888d9408a4e9f6dca00eb2e70862f9 SHA1 5bfa9692301e769a501a56d4b2fab3f324a4a31e SHA256 4099309c8e359691158b753982daa2e39132c1b3da9fec846e6c7ae1a7ba5eab +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----- diff --git a/media-gfx/fontforge/fontforge-20090408.ebuild b/media-gfx/fontforge/fontforge-20090408.ebuild new file mode 100644 index 000000000000..36741905c5b3 --- /dev/null +++ b/media-gfx/fontforge/fontforge-20090408.ebuild @@ -0,0 +1,110 @@ +# 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.ebuild,v 1.1 2009/04/09 04:48:28 vapier 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 doc gif debug jpeg nls pasteafter png +python tiff tilepath truetype truetype-debugger 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 ) + 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) +} + +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 +} |