summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2008-04-06 11:40:00 +0000
committerStefan Schweizer <genstef@gentoo.org>2008-04-06 11:40:00 +0000
commitd81389cc662df68dcc44761c4dd44853643888fa (patch)
treed895678646b5e87ea75c068fa89e7ea59d0d8657
parentKeyword ~amd64 wrt #210761, builds and installs correctly and works based on ... (diff)
downloadhistorical-d81389cc662df68dcc44761c4dd44853643888fa.tar.gz
historical-d81389cc662df68dcc44761c4dd44853643888fa.tar.bz2
historical-d81389cc662df68dcc44761c4dd44853643888fa.zip
Version bump many thanks to AngelKnight <lance@jound.net> in bug 205799
Package-Manager: portage-2.1.4.4
-rw-r--r--app-text/a2ps/ChangeLog7
-rw-r--r--app-text/a2ps/Manifest5
-rw-r--r--app-text/a2ps/a2ps-4.14.ebuild126
3 files changed, 136 insertions, 2 deletions
diff --git a/app-text/a2ps/ChangeLog b/app-text/a2ps/ChangeLog
index 62d015d3a3c1..4720ec76e56b 100644
--- a/app-text/a2ps/ChangeLog
+++ b/app-text/a2ps/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/a2ps
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/a2ps/ChangeLog,v 1.67 2008/01/25 19:32:00 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/a2ps/ChangeLog,v 1.68 2008/04/06 11:40:00 genstef Exp $
+
+*a2ps-4.14 (06 Apr 2008)
+
+ 06 Apr 2008; Stefan Schweizer <genstef@gentoo.org> +a2ps-4.14.ebuild:
+ Version bump many thanks to AngelKnight <lance@jound.net> in bug 205799
25 Jan 2008; Fabian Groffen <grobian@gentoo.org> a2ps-4.13c-r5.ebuild:
Dropped ppc-macos keyword, see you in prefix
diff --git a/app-text/a2ps/Manifest b/app-text/a2ps/Manifest
index ceb53d8a6e18..d3cfcd1907ca 100644
--- a/app-text/a2ps/Manifest
+++ b/app-text/a2ps/Manifest
@@ -13,8 +13,11 @@ AUX a2ps-4.13c-psset.patch 469 RMD160 f7b62d2408bacf0e8715b81445269749f95bef6a S
AUX a2ps-4.13c-stdarg.patch 1505 RMD160 5e46f07ec9d37ab53262f9611397f19bf3bd0b6e SHA1 c215dae65c8e14fceaa31917e4a596800211c3e7 SHA256 9e7e630386b694b90b0bc6454bedc7c102d46b8bb6a6246eabd37e8b6d639c68
DIST a2ps-4.13c-ja_nls.patch.gz 38189 RMD160 932f430064f77d65768d2d1701ea650ae1103bb0 SHA1 7eeb2c85697b5eff13701b7b600e4a959b12f134 SHA256 8bc15ae152205b184a609777ac29430780eadacba2fd90bfa1fe318e43bd781f
DIST a2ps-4.13c.tar.gz 2395885 RMD160 d6464e88236a4efa8377e37e29e548411cd9c863 SHA1 f32f8476578a97049a5a75216ad6eda9f902dbc2 SHA256 dfdd509ef79040fb300b2709a8fc54d9562f3ce141184958e3c2303cb3cf4890
+DIST a2ps-4.14-ja_nls.patch.gz 27576 RMD160 0e67be153e5bd87cbba2c615bc4ea76e72a800cb SHA1 fc939288580a1fcc1c3596ec4e77b049eab5d357 SHA256 90b2a4caf680f04ac8c325a4bc7434edf038ef7059003179b7fa65a5bafdecdc
+DIST a2ps-4.14.tar.gz 2552507 RMD160 a5105d6256a809483e099519325979aaaff7219e SHA1 365abbbe4b7128bf70dad16d06e23c5701874852 SHA256 f3ae8d3d4564a41b6e2a21f237d2f2b104f48108591e8b83497500182a3ab3a4
EBUILD a2ps-4.13c-r2.ebuild 1990 RMD160 10b16e03d203e46ff99e5b510d08e7254633bdbf SHA1 bc4b5a7602e1f64634bef86e1a45581c4ce5577c SHA256 37b53f5af4180ee5231e35e81b6f4297543b534bab5476c9c38e1a98250f87ef
EBUILD a2ps-4.13c-r5.ebuild 3043 RMD160 b24ce20ea767f7b71cbeb38e7ac50d27daa71a8b SHA1 d8288d61a452709201d7a98d4ca21b7645542c3c SHA256 0da707f72719e90531d682f9c3d7fd4b1785fc51b7bafee4a05477a821b26149
EBUILD a2ps-4.13c-r6.ebuild 3373 RMD160 1d29edb9ec37e3e808de462e93990c8bda035e5c SHA1 ec98fd0d7c009271b1cdee4df5e344f7dbc47ade SHA256 00616c274738786f422b76ae759894bfcb4ee80ac29874c6758e37613c9482b5
-MISC ChangeLog 10041 RMD160 cea14b08920a584c6ff146b3d4d7f121665b1f36 SHA1 652dbe41aad08eb1f4f908548f966c23ff28d7df SHA256 adb82b64ba33975bebcd464eb1d530b4cb73c5c92ee5205825e64ff0fae7e02b
+EBUILD a2ps-4.14.ebuild 3524 RMD160 6b4e0410c41ab4fa29c28b2ad1b70f6f7072c3a8 SHA1 e5b1d4642ff8f5d32e6653c76e52604449df9723 SHA256 7ded98a7ac2f272290cfacfe140643f757470799ba671012cb56904d1f0f35b1
+MISC ChangeLog 10214 RMD160 decac1606e73ce32388c233eb38de91c428989bd SHA1 84efc79130763f360af1335c35c14c68f825d88a SHA256 98d05acd5ffdace49675ec0eee80bfe522ccf32b362e17081ac52bc8c461199d
MISC metadata.xml 178 RMD160 1823829273be97b95b286540a3439d152281baf1 SHA1 e0647c54037d344aabf04d0ce6bb79d133bfcc18 SHA256 70722a9097b3b57eb4b153054cc852b0938c47120de0fdfd233cac6b209b412a
diff --git a/app-text/a2ps/a2ps-4.14.ebuild b/app-text/a2ps/a2ps-4.14.ebuild
new file mode 100644
index 000000000000..fccc969a2c36
--- /dev/null
+++ b/app-text/a2ps/a2ps-4.14.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/a2ps/a2ps-4.14.ebuild,v 1.1 2008/04/06 11:40:00 genstef Exp $
+
+WANT_AUTOCONF="latest"
+WANT_AUTOMAKE="latest"
+
+inherit eutils autotools elisp-common
+
+S=${WORKDIR}/${PN}-${PV:0:4}
+DESCRIPTION="Any to PostScript filter"
+HOMEPAGE="http://www.inf.enst.fr/~demaille/a2ps/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
+ cjk? ( mirror://gentoo/${P}-ja_nls.patch.gz )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="cjk emacs nls tetex vanilla userland_BSD userland_GNU"
+
+DEPEND=">=dev-util/gperf-2.7.2
+ || ( >=dev-util/yacc-1.9.1 sys-devel/bison )
+ virtual/ghostscript
+ >=app-text/psutils-1.17
+ emacs? ( virtual/emacs )
+ tetex? ( virtual/tetex )
+ nls? ( sys-devel/gettext )"
+RDEPEND="virtual/ghostscript
+ userland_GNU? ( || ( >=sys-apps/coreutils-6.10-r1 sys-apps/mktemp ) )
+ userland_BSD? ( sys-freebsd/freebsd-ubin )
+ >=app-text/psutils-1.17
+ emacs? ( virtual/emacs )
+ tetex? ( virtual/tetex )
+ nls? ( virtual/libintl )"
+
+SITEFILE=50${PN}-gentoo.el
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ cd "${S}"
+
+ # applied by upstream
+ #epatch "${FILESDIR}/${PN}-4.13-select-freebsd.patch"
+ epatch "${FILESDIR}/${PN}-4.13c-locale-gentoo.diff"
+ # this will break
+ #epatch "${FILESDIR}/${PN}-4.13c-stdarg.patch"
+ use vanilla || epatch "${FILESDIR}/${PN}-4.13-stdout.diff"
+ # applied by upstream
+ #epatch "${FILESDIR}/${PV}-gcc34.patch"
+ use cjk && epatch "${DISTDIR}/${P}-ja_nls.patch.gz"
+
+ # improve tempfile handling
+ # applied by upstream
+ #epatch "${FILESDIR}/${P}-fixps.patch"
+ #epatch "${FILESDIR}/${P}-psmandup.diff"
+
+ # fix fnmatch replacement, bug #134546
+ epatch "${FILESDIR}/${PN}-4.13c-fnmatch-replacement.patch"
+
+ # fix sandbox violation, bug #79012
+ sed -i -e 's:$acroread -helpall:acroread4 -helpall:' configure configure.in
+
+ # fix emacs printing, bug #114627
+ epatch "${FILESDIR}/a2ps-4.13c-emacs.patch"
+
+ # fix psset with sed-4.1, bug #126403
+ # applied by upstream
+ #epatch "${FILESDIR}/a2ps-4.13c-psset.patch"
+
+ # fix >=autoconf-2.60, bug 138161
+ # this will break
+ #epatch "${FILESDIR}/a2ps-4.13-fixcachecheck.patch"
+
+ # fix chmod error, #167670
+ epatch "${FILESDIR}/a2ps-4.13-manpage-chmod.patch"
+
+ AT_M4DIR="m4" eautoreconf || die "eautoreconf failed"
+}
+
+src_compile() {
+ addpredict /usr/$(get_libdir)/mozilla-firefox/components/xpti.dat
+ addpredict /usr/$(get_libdir)/mozilla-firefox/components/xpti.dat.tmp
+ addpredict /usr/$(get_libdir)/mozilla-firefox/components/compreg.dat.tmp
+
+ addpredict /usr/$(get_libdir)/mozilla/components/xpti.dat
+ addpredict /usr/$(get_libdir)/mozilla/components/xpti.dat.tmp
+
+ #export YACC=yacc
+ econf --sysconfdir=/etc/a2ps \
+ --includedir=/usr/include \
+ $(useq emacs || echo EMACS=no) \
+ $(use_enable nls) || die "econf failed"
+
+ export LANG=C
+
+ # sometimes emake doesn't work
+ make || die "make failed"
+}
+
+src_install() {
+ einstall \
+ sysconfdir=${D}/etc/a2ps \
+ includedir=${D}/usr/include \
+ lispdir="${D}${SITELISP}/${PN}" \
+ || die "einstall failed"
+
+ dosed /etc/a2ps/a2ps.cfg
+
+ # bug #122026
+ sed -i "s:^countdictstack: \0:" "${D}"/usr/bin/psset || die "sed failed"
+
+ if use emacs; then
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
+ || die "elisp-site-file-install failed"
+ fi
+
+ dodoc ANNOUNCE AUTHORS ChangeLog FAQ NEWS README* THANKS TODO
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}