diff options
author | 2006-09-29 20:55:01 +0000 | |
---|---|---|
committer | 2006-09-29 20:55:01 +0000 | |
commit | 9280637bffbf7551a388e903461ddedad4e929e2 (patch) | |
tree | f53fdd0899c954fb074598fc2e4e53749ad1c841 | |
parent | oops... un-stable until mail-client/hap-3.7-r1 is stable (diff) | |
download | gentoo-2-9280637bffbf7551a388e903461ddedad4e929e2.tar.gz gentoo-2-9280637bffbf7551a388e903461ddedad4e929e2.tar.bz2 gentoo-2-9280637bffbf7551a388e903461ddedad4e929e2.zip |
version bump, upstream merged all our patches, we seem to do something right
(Portage version: 2.1.2_pre1-r4)
-rw-r--r-- | app-text/ghostscript-esp/ChangeLog | 8 | ||||
-rw-r--r-- | app-text/ghostscript-esp/files/digest-ghostscript-esp-8.15.3 | 9 | ||||
-rw-r--r-- | app-text/ghostscript-esp/ghostscript-esp-8.15.3.ebuild | 108 |
3 files changed, 124 insertions, 1 deletions
diff --git a/app-text/ghostscript-esp/ChangeLog b/app-text/ghostscript-esp/ChangeLog index 2a24fd11cbc8..d632352bab41 100644 --- a/app-text/ghostscript-esp/ChangeLog +++ b/app-text/ghostscript-esp/ChangeLog @@ -1,6 +1,12 @@ # 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.34 2006/08/12 22:04:33 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript-esp/ChangeLog,v 1.35 2006/09/29 20:55:01 genstef Exp $ + +*ghostscript-esp-8.15.3 (29 Sep 2006) + + 29 Sep 2006; Stefan Schweizer <genstef@gentoo.org> + +ghostscript-esp-8.15.3.ebuild: + version bump, upstream merged all our patches, we seem to do something right 12 Aug 2006; Stefan Schweizer <genstef@gentoo.org> ghostscript-esp-7.07.1-r8.ebuild, ghostscript-esp-7.07.1-r10.ebuild, diff --git a/app-text/ghostscript-esp/files/digest-ghostscript-esp-8.15.3 b/app-text/ghostscript-esp/files/digest-ghostscript-esp-8.15.3 new file mode 100644 index 000000000000..d8d74bd4dcff --- /dev/null +++ b/app-text/ghostscript-esp/files/digest-ghostscript-esp-8.15.3 @@ -0,0 +1,9 @@ +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 diff --git a/app-text/ghostscript-esp/ghostscript-esp-8.15.3.ebuild b/app-text/ghostscript-esp/ghostscript-esp-8.15.3.ebuild new file mode 100644 index 000000000000..525a5ce15b27 --- /dev/null +++ b/app-text/ghostscript-esp/ghostscript-esp-8.15.3.ebuild @@ -0,0 +1,108 @@ +# 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.ebuild,v 1.1 2006/09/29 20:55:01 genstef Exp $ + +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" + +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 ) + 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" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="X cups cjk emacs gtk threads xml" + +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 ) ) + 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} + gtk? ( 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} + + # search path fix + sed -i -e "s:\$\(gsdatadir\)/lib:/usr/share/ghostscript/${PVM}/$(get_libdir):" \ + src/Makefile.in || die "sed failed" + sed -i -e 's:$(gsdir)/fonts:/usr/share/fonts/default/ghostscript/:' \ + src/Makefile.in || die "sed failed" + sed -i -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" + + ln -s src/configure.ac . + ln -s src/Makefile.in . + 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" + 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" + + 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." +} |