diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-10-23 00:08:44 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-10-23 00:08:44 +0000 |
commit | 7cf8846df0fa9fbbdd45c8b6b97c5481801a1521 (patch) | |
tree | 174ebd289e6ed303060a3bfd1a6d41b9a2623220 /app-text/ghostscript-esp | |
parent | Version bump #151450 by simons. (diff) | |
download | historical-7cf8846df0fa9fbbdd45c8b6b97c5481801a1521.tar.gz historical-7cf8846df0fa9fbbdd45c8b6b97c5481801a1521.tar.bz2 historical-7cf8846df0fa9fbbdd45c8b6b97c5481801a1521.zip |
Add gsdjvu support, thanks to Timothy Stotts <devel@tstotts.net> and E. Scaglione <erm67@yahoo.it> in bug 107342
Package-Manager: portage-2.1.2_pre3-r6
Diffstat (limited to 'app-text/ghostscript-esp')
-rw-r--r-- | app-text/ghostscript-esp/ChangeLog | 9 | ||||
-rw-r--r-- | app-text/ghostscript-esp/Manifest | 26 | ||||
-rw-r--r-- | app-text/ghostscript-esp/files/digest-ghostscript-esp-8.15.3-r1 | 12 | ||||
-rw-r--r-- | app-text/ghostscript-esp/ghostscript-esp-8.15.3-r1.ebuild | 132 |
4 files changed, 164 insertions, 15 deletions
diff --git a/app-text/ghostscript-esp/ChangeLog b/app-text/ghostscript-esp/ChangeLog index 5645325c247b..f517d7cd3e1a 100644 --- a/app-text/ghostscript-esp/ChangeLog +++ b/app-text/ghostscript-esp/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-text/ghostscript-esp # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-esp/ChangeLog,v 1.47 2006/10/21 22:22:07 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-esp/ChangeLog,v 1.48 2006/10/23 00:08:43 genstef Exp $ + +*ghostscript-esp-8.15.3-r1 (23 Oct 2006) + + 23 Oct 2006; Stefan Schweizer <genstef@gentoo.org> + +ghostscript-esp-8.15.3-r1.ebuild: + Add gsdjvu support, thanks to Timothy Stotts <devel@tstotts.net> and E. + Scaglione <erm67@yahoo.it> in bug 107342 21 Oct 2006; Bryan Ăstergaard <kloeri@gentoo.org> ghostscript-esp-8.15.3.ebuild: diff --git a/app-text/ghostscript-esp/Manifest b/app-text/ghostscript-esp/Manifest index b73c03e5a67b..b66bd5b035c1 100644 --- a/app-text/ghostscript-esp/Manifest +++ b/app-text/ghostscript-esp/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX ghostscript-7.05.6.man.patch 1231 RMD160 8da05491113dfcca77da4e37c01651ff54cc86e0 SHA1 f84d7381dc513e526655b86d090e39fd0c8d3fe7 SHA256 4873defc3d4bee0db4cb6b9e34e481f0de5914aef9a4b7cbf58677b6bfb9d528 MD5 fd34b2b7a029f19eab4ba3f69afe295e files/ghostscript-7.05.6.man.patch 1231 RMD160 8da05491113dfcca77da4e37c01651ff54cc86e0 files/ghostscript-7.05.6.man.patch 1231 @@ -181,6 +178,7 @@ DIST espgs-8.15.1_p20060430-source.tar.bz2 8501375 RMD160 0e386705337f9348a08a88 DIST espgs-8.15.3-source.tar.bz2 8785418 RMD160 40396c74abf8911472410f52fd8cfaf2892ef19f SHA1 198acd3805d41341e81a7873be79b9cad4d90b82 SHA256 c1f5eefc058b08113f90bc583436399d71644b61872fa39ab4982a58a80baa62 DIST ghostscript-esp-8.15.1-ubuntu4.patch.bz2 23402 RMD160 577f3c4d7ef541ccc90b53536748f30ab4db3dc7 SHA1 77ffa29bed8d3ba9e525ec6796e6d5afbdec7f6a SHA256 05032ac9986620594394e20ca2de1d0a2cb0c49c06dbaadb0bc17ed57d8ebc47 DIST gs7.07.1-cjk.diff.bz2 3055 RMD160 035d0900b47ef54508957542386c6d520ef181b6 SHA1 30b5225928b64991bd7c6e8a78c8c13e5da7bd5d SHA256 a4bb6ba4cbf73ddd939f4bdbdec57d7ba7bb1d865898d76bd6cc4df8bb03a77a +DIST gsdjvu-1.1.tar.gz 214364 RMD160 aa1ff4a80b02b16e43bf8e14719613f98bdf13c6 SHA1 cc33916f86a0f826159e5afed43d7fae722b3133 SHA256 39f32b9946a65cbe8d5b7c2882ef0e82d5858e78e04b568bb525d2c4e2d6ce78 EBUILD ghostscript-esp-7.07.1-r10.ebuild 5763 RMD160 3f57f27023a073f8cecee2e6a321ff527cf3ec4e SHA1 6ef1aba0f3eed49686d908876cd30bf848b39272 SHA256 93a2cadacac541cd4fb13c64d2830e711a00c4a25597d660d29e1c1d587ded1b MD5 cbde586e62f98df957453d2e51a9b568 ghostscript-esp-7.07.1-r10.ebuild 5763 RMD160 3f57f27023a073f8cecee2e6a321ff527cf3ec4e ghostscript-esp-7.07.1-r10.ebuild 5763 @@ -193,14 +191,18 @@ EBUILD ghostscript-esp-8.15.1_p20060430.ebuild 4705 RMD160 8691192db9b01ac33c1eb MD5 65772954e74516feef4dd5372abaca69 ghostscript-esp-8.15.1_p20060430.ebuild 4705 RMD160 8691192db9b01ac33c1ebd218ebec15cdb91126c ghostscript-esp-8.15.1_p20060430.ebuild 4705 SHA256 ccdc67bbb105225668542dd7109241386ecb8b52b6ffd9b56cd826032c248754 ghostscript-esp-8.15.1_p20060430.ebuild 4705 +EBUILD ghostscript-esp-8.15.3-r1.ebuild 4074 RMD160 8620feca4a29b028aaf212c46987fd24c10a7975 SHA1 709c0aa03055e037c28e6bdff5be8674c20c3183 SHA256 c615887c3a56be7ee980625c2647a725ecc086ee3921deff6b7886292331b196 +MD5 b955a48ddef462b1263e6cdab3b57dc3 ghostscript-esp-8.15.3-r1.ebuild 4074 +RMD160 8620feca4a29b028aaf212c46987fd24c10a7975 ghostscript-esp-8.15.3-r1.ebuild 4074 +SHA256 c615887c3a56be7ee980625c2647a725ecc086ee3921deff6b7886292331b196 ghostscript-esp-8.15.3-r1.ebuild 4074 EBUILD ghostscript-esp-8.15.3.ebuild 3387 RMD160 20a1904e30c0f7d04f4b171607e8cadf07f3801d SHA1 cb80bf6a566eb42bf15e4880eebd0764bb947f7d SHA256 ce738d586522357554dd00d5844622ebb528e672fcb23e9207437a5e699c27d4 MD5 2adb0c5a020da1cd143e3aa3978e5954 ghostscript-esp-8.15.3.ebuild 3387 RMD160 20a1904e30c0f7d04f4b171607e8cadf07f3801d ghostscript-esp-8.15.3.ebuild 3387 SHA256 ce738d586522357554dd00d5844622ebb528e672fcb23e9207437a5e699c27d4 ghostscript-esp-8.15.3.ebuild 3387 -MISC ChangeLog 28683 RMD160 d9131e1b44d15fb1d53b0196bb7e8713abfb218c SHA1 e01ff4f28f84086c4acebbabc166a56100ea2dfc SHA256 ef406d926231bf6574c9c00d56bc98b316604369407e3eb82195b58814149624 -MD5 6acedf6613d1caa022db0d724f4d45bb ChangeLog 28683 -RMD160 d9131e1b44d15fb1d53b0196bb7e8713abfb218c ChangeLog 28683 -SHA256 ef406d926231bf6574c9c00d56bc98b316604369407e3eb82195b58814149624 ChangeLog 28683 +MISC ChangeLog 28934 RMD160 692c567136b09de7e2b3ebf44f6fa7ec211b93a5 SHA1 afe6ce796b67e47236d241bc534a42e76585fae6 SHA256 cc1a64eb88a383ed94098087d4f6bfba6e84c0a53756f76c5cb67799776fa0b6 +MD5 d345215eee5591cccf8783c493af9fe0 ChangeLog 28934 +RMD160 692c567136b09de7e2b3ebf44f6fa7ec211b93a5 ChangeLog 28934 +SHA256 cc1a64eb88a383ed94098087d4f6bfba6e84c0a53756f76c5cb67799776fa0b6 ChangeLog 28934 MISC metadata.xml 161 RMD160 1e5b1e42553c8869b93c4a5448e9a2a2ed9fe525 SHA1 209c6a46e4cdd891980115e42ba419e3799f8088 SHA256 7c85e6739a71f5bb23e8de36c88677d772946e61f7285892f7554e37bd2bca76 MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161 RMD160 1e5b1e42553c8869b93c4a5448e9a2a2ed9fe525 metadata.xml 161 @@ -217,10 +219,6 @@ SHA256 7e1b216b6154824c86740c8bf552f6b2fc8381137e09f9d512baa78cd1fcd8e4 files/di MD5 edded523397d6372592dc5846181ed58 files/digest-ghostscript-esp-8.15.3 774 RMD160 326948b15272282a593ea3b2ec73b58be53577c0 files/digest-ghostscript-esp-8.15.3 774 SHA256 6ccb8ecf87dd7c6efc31c73b57054b77a1d406af722e81706f37b639e196d635 files/digest-ghostscript-esp-8.15.3 774 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5 (GNU/Linux) - -iD8DBQFFOqS3amhnQswr0vIRAg8QAJ95DxT55adFQ+C9WOgSAaMo0HchdgCglKFa -cslZ98gnqCiy35+hZzVOx2s= -=TmCV ------END PGP SIGNATURE----- +MD5 57eeb6d429967266dedd6eda7fff5b71 files/digest-ghostscript-esp-8.15.3-r1 1006 +RMD160 d3fee3594bcc1ec764c311f887b223a48d6e9631 files/digest-ghostscript-esp-8.15.3-r1 1006 +SHA256 b2012d368c9bfa8aa4ddbc3f07e650e7b67a996e89f88cf62f545e69cbff5dd5 files/digest-ghostscript-esp-8.15.3-r1 1006 diff --git a/app-text/ghostscript-esp/files/digest-ghostscript-esp-8.15.3-r1 b/app-text/ghostscript-esp/files/digest-ghostscript-esp-8.15.3-r1 new file mode 100644 index 000000000000..989ff803b4ca --- /dev/null +++ b/app-text/ghostscript-esp/files/digest-ghostscript-esp-8.15.3-r1 @@ -0,0 +1,12 @@ +MD5 2fbae60417d42779f6488ab897dcaaf6 acro5-cmaps-2001.tar.gz 631653 +RMD160 c723afc2207157a434988b46bcf0a458281c29a4 acro5-cmaps-2001.tar.gz 631653 +SHA256 80abec481fd4b5e59ac3d3f5790542dbfabe3c9269a6ac17064160d6dab38ee4 acro5-cmaps-2001.tar.gz 631653 +MD5 dfc93dd2aaaf2b86d2fd55f654c13261 adobe-cmaps-200406.tar.gz 5001983 +RMD160 284b943b3476f6f7e2bc49842fd027c6f7f57552 adobe-cmaps-200406.tar.gz 5001983 +SHA256 0f397255506cda4b20e362ab5e3f6cdacba09e0a0cca7f4d93afd980977c5689 adobe-cmaps-200406.tar.gz 5001983 +MD5 4ec87a3da20c1b433ffbe0ffe3675fcd espgs-8.15.3-source.tar.bz2 8785418 +RMD160 40396c74abf8911472410f52fd8cfaf2892ef19f espgs-8.15.3-source.tar.bz2 8785418 +SHA256 c1f5eefc058b08113f90bc583436399d71644b61872fa39ab4982a58a80baa62 espgs-8.15.3-source.tar.bz2 8785418 +MD5 46bce036ad0b9b284f4c8f3530f7c684 gsdjvu-1.1.tar.gz 214364 +RMD160 aa1ff4a80b02b16e43bf8e14719613f98bdf13c6 gsdjvu-1.1.tar.gz 214364 +SHA256 39f32b9946a65cbe8d5b7c2882ef0e82d5858e78e04b568bb525d2c4e2d6ce78 gsdjvu-1.1.tar.gz 214364 diff --git a/app-text/ghostscript-esp/ghostscript-esp-8.15.3-r1.ebuild b/app-text/ghostscript-esp/ghostscript-esp-8.15.3-r1.ebuild new file mode 100644 index 000000000000..a5e4082f508b --- /dev/null +++ b/app-text/ghostscript-esp/ghostscript-esp-8.15.3-r1.ebuild @@ -0,0 +1,132 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-esp/ghostscript-esp-8.15.3-r1.ebuild,v 1.1 2006/10/23 00:08:44 genstef Exp $ + +WANT_AUTOCONF="latest" +WANT_AUTOMAKE="latest" + +inherit autotools elisp-common eutils versionator + +DESCRIPTION="ESP Ghostscript -- an enhanced version of GPL Ghostscript with better printer support" +HOMEPAGE="http://www.cups.org/espgs" + +GSDJVU_PV=1.1 +MY_P=espgs-${PV} +PVM=$(get_version_component_range 1-2) +SRC_URI="cjk? ( ftp://ftp.gyve.org/pub/gs-cjk/adobe-cmaps-200406.tar.gz + ftp://ftp.gyve.org/pub/gs-cjk/acro5-cmaps-2001.tar.gz ) + djvu? ( mirror://sourceforge/djvu/gsdjvu-${GSDJVU_PV}.tar.gz ) + http://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/ghostscript/${PV}/espgs-${PV}-source.tar.bz2 + ftp://ftp3.easysw.com/pub/ghostscript/${PV}/espgs-${PV}-source.tar.bz2" +ESVN_REPO_URI="http://svn.easysw.com/public/espgs/trunk" + +LICENSE="GPL-2 LGPL-2 CPL-1.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="X cups cjk emacs gtk threads xml djvu" + +DEP="virtual/libc + >=media-libs/jpeg-6b + >=media-libs/libpng-1.2.5 + >=sys-libs/zlib-1.1.4 + >=media-libs/tiff-3.7 + X? ( || ( x11-libs/libXt virtual/x11 ) ) + djvu? ( app-text/djvu ) + gtk? ( >=x11-libs/gtk+-2.0 ) + cups? ( >=net-print/cups-1.1.20 ) + xml? ( >=dev-libs/libxml2-2.6.8 ) + media-libs/fontconfig + !app-text/ghostscript-gnu + !app-text/ghostscript-gpl" + +RDEPEND="${DEP} + cjk? ( media-fonts/arphicfonts + media-fonts/kochi-substitute + media-fonts/baekmuk-fonts ) + media-fonts/gnu-gs-fonts-std" + +DEPEND="${DEP} + dev-util/pkgconfig" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A/adobe-cmaps-200406.tar.gz acro5-cmaps-2001.tar.gz} + if use cjk; then + cat ${FILESDIR}/ghostscript-esp-8.15.2-cidfmap.cjk >> ${S}/lib/cidfmap + cat ${FILESDIR}/ghostscript-esp-8.15.2-FAPIcidfmap.cjk >> ${S}/lib/FAPIcidfmap + cd ${S}/Resource + unpack adobe-cmaps-200406.tar.gz + unpack acro5-cmaps-2001.tar.gz + fi + cd ${S} + + # http://cups.org/espgs/str.php?L2000 + epatch ${FILESDIR}/ghostscript-esp-8.15.1-fPIC.patch + + if use djvu; then + unpack gsdjvu-${GSDJVU_PV}.tar.gz + cp gsdjvu-${GSDJVU_PV}/gsdjvu ${S} + cp gsdjvu-${GSDJVU_PV}/gdevdjvu.c ${S}/src + cp gsdjvu-${GSDJVU_PV}/ps2utf8.ps ${S}/lib + cp ${S}/src/contrib.mak ${S}/src/contrib.mak.gsdjvu + grep -q djvusep ${S}/src/contrib.mak || \ + cat gsdjvu-${GSDJVU_PV}/gsdjvu.mak >> ${S}/src/contrib.mak + fi + + # search path fix + sed -i -e "s:\$\(gsdatadir\)/lib:/usr/share/ghostscript/${PVM}/$(get_libdir):" \ + -e 's:$(gsdir)/fonts:/usr/share/fonts/default/ghostscript/:' \ + -e "s:exdir=.*:exdir=/usr/share/doc/${PF}/examples:" \ + src/Makefile.in || die "sed failed" + sed -i -e "s:docdir=.*:docdir=/usr/share/doc/${PF}/html:" \ + -e "s:GS_DOCDIR=.*:GS_DOCDIR=/usr/share/doc/${PF}/html:" \ + src/Makefile.in src/*.mak || die "sed failed" + + cp /usr/share/automake-1.9/install-sh "${S}" + AT_NOELIBTOOLIZE="yes" eautoreconf + cd ijs + AT_NOELIBTOOLIZE="yes" eautoreconf + elibtoolize +} + +src_compile() { + econf $(use_with X x) \ + $(use_enable gtk) \ + $(use_enable cups) \ + $(use_enable threads) \ + $(use_with xml omni) \ + --with-fontconfig \ + --with-ijs \ + --with-jbig2dec || die "econf failed" + + if use djvu; then + sed -i -e 's!$(DD)bbox.dev!& $(DD)djvumask.dev $(DD)djvusep.dev!g' Makefile + sed -i -e 's:(/\(Resource/[a-zA-Z/]*\)):(\1) findlibfile {pop} {pop &} + ifelse:' lib/gs_res.ps + fi + + emake -j1 so all || die "emake failed" + + cd ijs + econf || die "ijs econf failed" + emake || die "ijs emake failed" +} + +src_install() { + emake install_prefix="${D}" install soinstall || die "emake install failed" + + use djvu && dobin gsdjvu + + rm -fr ${D}/usr/share/doc/${PF}/html/{README,PUBLIC} + dodoc doc/README + use emacs && elisp-site-file-install doc/gsdoc.el + + cd ${S}/ijs + emake DESTDIR="${D}" install || die "emake ijs install failed" +} + +pkg_postinst() { + ewarn "If you are upgrading from ghostscript-7 you need to rebuild" + ewarn "gimp-print. Please run 'revdep-rebuild' to do this." +} |