ChangeLog

# 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.83 2008/06/02 21:59:57 ulm Exp $

02 Jun 2008; Ulrich Mueller a2ps-4.13c-r6.ebuild:
Fix compile issues, bug 216588.

12 May 2008; Jeroen Roovers a2ps-4.14.ebuild:
Marked ~hppa (bug #221791).

12 May 2008; Markus Rothe a2ps-4.14.ebuild:
Added ~ppc64; bug #221791

12 May 2008; Christian Faulhammer a2ps-4.14.ebuild:
move from USE=tetex to USE=latex and change virtual/tetex to
virtual/latex-base; clean up the applied patches; quote some variables; add
app-text/wdiff as RDEPEND, reported in bug 218796 by Matthias Wieding-Drewes
; dropped KEYWORDS for arm, sh, s390, ppc64 and
hppa

29 Apr 2008; Raúl Porcel a2ps-4.13c-r6.ebuild:
ia64 stable wrt #212050

26 Apr 2008; nixnut a2ps-4.13c-r6.ebuild:
Stable on ppc wrt bug 212050

19 Apr 2008; Markus Rothe a2ps-4.13c-r6.ebuild:
Stable on ppc64; bug #212050

19 Apr 2008; Ulrich Mueller a2ps-4.14.ebuild:
LICENSE is GPL-3 now.

18 Apr 2008; a2ps-4.13c-r2.ebuild:
Drop to ~mips due to unstable deps

18 Apr 2008; Markus Meier a2ps-4.13c-r6.ebuild:
amd64/x86 stable, bug #212050

17 Apr 2008; Ulrich Mueller
+files/a2ps-4.14-check-mempcpy.patch,
+files/a2ps-4.14-fix-stpcpy-proto.patch, a2ps-4.14.ebuild:
Fix compile issues, bug 216588. Thanks to Colin Bennett .

17 Apr 2008; Jeroen Roovers a2ps-4.13c-r6.ebuild:
Stable for HPPA (bug #212050).

17 Apr 2008; Tobias Klausmann a2ps-4.13c-r6.ebuild:
Stable on alpha, bug #212050

17 Apr 2008; Ferris McCormick a2ps-4.13c-r6.ebuild:
Sparc stable --- Bug #212050 --- works as always.

09 Apr 2008; Ulrich Mueller a2ps-4.14.ebuild:
Suppress test for Netscape browser in configure, bug 202569. Thanks to
Martin von Gagern for the bug fix.

*a2ps-4.14 (06 Apr 2008)

06 Apr 2008; Stefan Schweizer +a2ps-4.14.ebuild:
Version bump many thanks to AngelKnight in bug 205799

25 Jan 2008; Fabian Groffen a2ps-4.13c-r5.ebuild:
Dropped ppc-macos keyword, see you in prefix

23 Jan 2008; Doug Klima a2ps-4.13c-r5.ebuild,
a2ps-4.13c-r6.ebuild:
sys-apps/coreutils-6.10-r1 and higher now provides /bin/mktemp

*a2ps-4.13c-r6 (22 Jan 2008)

22 Jan 2008; Ulrich Mueller +files/50a2ps-gentoo.el,
+a2ps-4.13c-r6.ebuild:
Fix Emacs support, bug 202331.

24 May 2007; Steve Dibb a2ps-4.13c-r5.ebuild:
Fix mktemp deps for x86-fbsd

07 Apr 2007; Stefan Schweizer a2ps-4.13c-r5.ebuild:
RDEPEND on needed mktemp thanks to Paul DiSciascio
in bug 172358

19 Feb 2007; +files/a2ps-4.13-manpage-chmod.patch,
a2ps-4.13c-r5.ebuild:
Fix chmod thanks to Adrian Frith in bug 167670

26 Jan 2007; Bryan Østergaard a2ps-4.13c-r5.ebuild:
Stable on Alpha.

15 Jan 2007; Steve Dibb a2ps-4.13c-r5.ebuild:
amd64 stable, bug 145048

05 Jan 2007; Diego Pettenò a2ps-4.13c-r2.ebuild:
Remove gnuconfig_update usage, leave it to econf.

04 Jan 2007; Diego Pettenò a2ps-4.13c-r5.ebuild:
Don't use gnuconfig_update anymore.

13 Dec 2006; Stefan Schweizer a2ps-4.13c-r5.ebuild:
Fix depedn thanks jakub and Jürgen Pierau in bug
156487

06 Dec 2006; Lars Weiler a2ps-4.13c-r5.ebuild:
Stable on ppc; bug #145048.

06 Dec 2006; Lars Weiler a2ps-4.13c-r5.ebuild:
Stable on ppc; bug #145048.

02 Dec 2006; Tiziano Müller a2ps-4.13c-r5.ebuild:
~x86-fbsd keyword added

30 Nov 2006; Markus Rothe a2ps-4.13c-r5.ebuild:
Stable on ppc64; bug #145048

27 Nov 2006; Gustavo Zacarias a2ps-4.13c-r5.ebuild:
Stable on sparc wrt #145048

27 Nov 2006; Christian Faulhammer a2ps-4.13c-r5.ebuild:
stable x86, bug #145048

21 Nov 2006; Jeroen Roovers a2ps-4.13c-r5.ebuild:
Stable for HPPA, despite the 4 failed tests.

18 Nov 2006; Stefan Schweizer -a2ps-4.13c-r3.ebuild,
-a2ps-4.13c-r4.ebuild, a2ps-4.13c-r5.ebuild:
remove old, addpredict to fix bug 145048

01 Sep 2006; Kevin F. Quinn a2ps-4.13c-r5.ebuild:
Remove RESTRICT=test - the "stdarg" patch fixes this and is in from -r3
onwards (bug #118655, and fwiw #145897) - see change below on 30 Aug 2005

27 Jun 2006; Stefan Schweizer
+files/a2ps-4.13-fixcachecheck.patch, a2ps-4.13c-r5.ebuild:
Fix cachecheck to make it work with autoconf-2.60, thanks to flameeyes, bug
138161

*a2ps-4.13c-r5 (01 Jun 2006)

01 Jun 2006; Stefan Schweizer
+files/a2ps-4.13c-emacs.patch, +files/a2ps-4.13c-psset.patch,
+a2ps-4.13c-r5.ebuild:
New revision including fixes from bug 126403, bug 114627 and RESTRICT=test
for bug 118655

30 May 2006;
+files/a2ps-4.13c-fnmatch-replacement.patch, a2ps-4.13c-r4.ebuild:
Added patch that allows to compile on systems with broken fnmatch function
(like with uClibc). Fixes bug #134546.

17 Feb 2006; Marcelo Goes a2ps-4.13c-r2.ebuild,
a2ps-4.13c-r3.ebuild, a2ps-4.13c-r4.ebuild:
Remove gettext from RDEPEND. Fixes bug 123116. Thanks to Diego Petteno
.

*a2ps-4.13c-r4 (07 Feb 2006)

07 Feb 2006; Stefan Schweizer +a2ps-4.13c-r4.ebuild:
Fix duplex printing thanks to Christian Mandel in
bug #122026

16 Sep 2005; Fabian Groffen a2ps-4.13c-r3.ebuild:
Marking ~ppc-macos (bug #105878)

*a2ps-4.13c-r3 (30 Aug 2005)

30 Aug 2005; Luis Medinas
+files/a2ps-4.13c-stdarg.patch, +a2ps-4.13c-r3.ebuild:
Added a new patch to fix build on AMD64 thanks to Holger Thon
. Clean up the ebuild

07 Jun 2005; Jan Brinkmann :
Fixed digest. Thanks to swegeners autorepoman.

07 Jun 2005; Heinrich Wendel
+files/a2ps-4.13-acroread.patch, a2ps-4.13c-r2.ebuild:
fix sandbox violation, bug #79012

22 Feb 2005; Rob Holland a2ps-4.13c-r2.ebuild:
fix typo

21 Feb 2005; Heinrich Wendel -a2ps-4.13c-r1.ebuild,
a2ps-4.13c-r2.ebuild:
also builds with bison; fix compilation on non posix locale

04 Jan 2005; Sven Wegener :
Added missing digest entries.

*a2ps-4.13c-r2 (03 Jan 2005)

03 Jan 2005; Heinrich Wendel
-files/a2ps-4.13-autoconf-gentoo.diff, +files/a2ps-4.13c-fixps.patch,
+files/a2ps-4.13c-psmandup.diff, -a2ps-4.13b-r5.ebuild,
-a2ps-4.13b-r6.ebuild, +a2ps-4.13c-r2.ebuild, -a2ps-4.13c.ebuild:
security bump; bug #75784

29 Dec 2004; Daniel Goller a2ps-4.13c-r1.ebuild:
Fixing what needs fixing, libtoolize --copy --force

*a2ps-4.13b-r6 (28 Aug 2004)

28 Aug 2004; Mamoru KOMACHI
+files/a2ps-4.13-select-freebsd.patch, +a2ps-4.13b-r6.ebuild,
+a2ps-4.13c-r1.ebuild:
Security fix: bug #61500. Thanks to vorlon
and Sune Kloppenborg Jeppesen .

05 Aug 2004; Mamoru KOMACHI -a2ps-4.13b-r4.ebuild,
a2ps-4.13b-r5.ebuild, a2ps-4.13c.ebuild:
Added vanilla USE flag. This keeps you from applying stdout patch, which
changes default a2ps behaviour. See bug #47764 and #47691.

23 Jul 2004; Aron Griffis a2ps-4.13c.ebuild:
Run gnuconfig_update regardless of arch

17 Jul 2004; Tom Gall a2ps-4.13c.ebuild:
stable on ppc64 bug #55806

28 Jun 2004; Ciaran McCreesh a2ps-4.13c.ebuild:
Stable on mips

07 May 2004; Ciaran McCreesh a2ps-4.13c.ebuild:
Stable on sparc, #50392

08 May 2004; Mamoru KOMACHI a2ps-4.13c.ebuild,
metadata.xml:
Stable on x86 and alpha. Added cjk as secondary maintaining herd
(and resigned myself from maintainer's position)

27 Apr 2004; Mike Frysinger +files/4.13c-gcc34.patch,
a2ps-4.13c.ebuild:
Add gcc-3.4 patch #47667 by Tamran Lengyel

07 Mar 2004; Bret Curtis a2ps-4.13c.ebuild:
Added ~mips to KEYWORDS.

14 Jan 2004; Mamoru KOMACHI a2ps-4.13b-r5.ebuild:
Farewell to xpatch

09 Dec 2003; Heinrich Wendel a2ps-4.13b-r4.ebuild,
a2ps-4.13b-r5.ebuild, a2ps-4.13c.ebuild:
changed app-text/ghostscript to virtual/ghostscript

*a2ps-4.13c (27 Sep 2003)

16 Nov 203; Guy Martin a2ps-4.13c.ebuild :
Marked stable on hppa.

29 Sep 2003; Mamoru KOMACHI a2ps-4.13c.ebuild:
Use make instead of emake. Changed -alpha keyword to ~alpha.

27 Sep 2003; Mamoru KOMACHI a2ps-4.13c.ebuild,
files/a2ps-4.13c-locale-gentoo.diff:
Fixed compilation failure when USE="-nls", closing Bug #29732

27 Sep 2003; Mamoru KOMACHI a2ps-4.13c.ebuild:
Version bumped(CVS snapshot).

*a2ps-4.13b-r5 (16 Jul 2003)

06 Nov 2003; Mamoru KOMACHI a2ps-4.13b-r5.ebuild,
a2ps-4.13c.ebuild:
Force "yacc" instead of "bison -y". Closing bug #29691.

31 Oct 2003; Mamoru KOMACHI
files/a2ps-4.13-autoconf-gentoo.diff:
Updated autoconf patch, see #32163

30 Oct 2003; Mamoru KOMACHI a2ps-4.13b-r5.ebuild,
files/a2ps-4.13-autoconf-gentoo.diff:
Modified a patch to fix undefined macros

27 Sep 2003; Mamoru KOMACHI a2ps-4.13b-r4.ebuild,
a2ps-4.13b-r5.ebuild:
Added gperf to DEPEND. Thanks to Shawn Leas for
reporting the Bug #29647

16 Sep 2003; Mamoru KOMACHI a2ps-4.13b-r5.ebuild,
files/a2ps-4.13-autoconf-gentoo.diff:
Added a patch to kill AC_CONFIG_FILES warning. See Bug #28804

13 Sep 2003; Mamoru KOMACHI a2ps-4.13b-r4.ebuild,
a2ps-4.13b-r5.ebuild:
Added --includedir=/usr/include so that it doesn't climb up 2.6 includes.
Suggested by Chuck Brewer in Bug #28570

12 Aug 2003; Mamoru KOMACHI a2ps-4.13b-r5.ebuild:
Stop running autoconf

29 Jul 2003; lanius@gentoo.org a2ps-4.13b-r5.ebuild:
stable bump

16 Jul 2003; Mamoru KOMACHI a2ps-4.13b-r5.ebuild,
files/a2ps-4.13-stdout.diff:
Added Japanese support and a patch which makes a2ps print
to stdout by default. Ebuild provied by Georgi Georgiev
in bug 24264

23 May 2003; Aron Griffis a2ps-4.13b-r4.ebuild:
Mark stable on alpha

06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords

*a2ps-4.13b-r4 (14 May 2002)

06 Aug 2002; Mark Guertin :
Added ppc to keywords

14 May 2002; Jon Nelson a2ps-4.13b-r4.ebuild :
Brought ebuild in compliance with latest lintool.
Fixed bug in make install (Closes Bug 2492)

*a2ps-4.13b-r3 (12 Apr 2002)

12 Apr 2002; Seemant Kulleen a2ps-4.13b-r3.ebuild :

Changed the tex flag to tetex instead. Also, cleaned up the ebuild a little.


*a2ps-4.13b-r3 (1 Feb 2002)

1 Feb 2002; G.Bevin ChangeLog :

Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AUX 4.13c-gcc34.patch 348 RMD160 c516143bb1528b70c3abd836abdf530eb60fd0bf SHA1 2904d6dc351347984ad85181c497c2f6f2f21e5c SHA256 0e4ab84eed2dc0b73a5c393f16dea4687d4cc1d649186c2d2e8ccb7585f96159
AUX 50a2ps-gentoo.el 253 RMD160 4e98bec1dd60efb072e7cf7b6e6e3f58d53a4ead SHA1 210038d9f7e39a14fa8639aa02cb7c81945883b1 SHA256 3d114d11eca3eb4f96e656d188e90082432a1206f39fd471d72c0d4e392d7615
AUX a2ps-4.13-fixcachecheck.patch 444 RMD160 6a26c535b9af9be96d5a2ac32689b19daacc83f9 SHA1 64dadd08f018a65e380fd798157ce04af3a8f6b2 SHA256 d7f37d72ed46d73e26261c3473c738174ef8156f8a1dd9355850fcaa9befd622
AUX a2ps-4.13-manpage-chmod.patch 461 RMD160 248e2a40119eb50558093a725e89644ac4730291 SHA1 2bb3d0a2ef2f3ff9262723e35c742a80ab0235ce SHA256 032c4698c1dabb1a72978b9aefef7a8895098fb5a7e46e81d861fedfef3b11ab
AUX a2ps-4.13-select-freebsd.patch 1582 RMD160 3046e537c2447788ada3ce69ae51dac7b3ef0376 SHA1 390bb987b19dba341dbdd05635b917379881d862 SHA256 1ef965e835524b4d45dbe98038817d48ebb0c152d7c2c62c1e3d29f85bb0e2ae
AUX a2ps-4.13-stdout.diff 462 RMD160 88b8723f90f4993495f084a3ce475f575fca99c5 SHA1 b5096ae375c7da3436df957d91accedb5aeca972 SHA256 bde80a714f5de1221ec828cf0f33859561510190e97b08f4ba62ab41ad26fc74
AUX a2ps-4.13c-emacs.patch 442 RMD160 fbc853f8e0adb1637f0556e5ff4cb94b16f9a899 SHA1 94e35a6ad9268161bec22a56d4cfb696d635994a SHA256 943739a788db47f10942477754f42c8c9b22cdaad4463bea4103c31a330de76a
AUX a2ps-4.13c-fixps.patch 549 RMD160 b97b413747ddcb415e3de2a75e1e723bc817b076 SHA1 dd66cf062839d68966a6b719714d78d8702c5462 SHA256 ac32464a1a9bb2f4f557a3567a94928e4d8cbdd20ebaee0e1811f076d7e7456e
AUX a2ps-4.13c-fnmatch-replacement.patch 1500 RMD160 b52b361e3cd532b714b112b7625dfe1a02d090da SHA1 8783952d3410d8d59ed953e1db45e2ef1a0b8f65 SHA256 5d1b8a8791fa2a36c23f43ef153a724cce1f8eec8fb92ab886f52fae7f8f3be3
AUX a2ps-4.13c-locale-gentoo.diff 981 RMD160 f7366bf6eba344e88c9e7179ddda3fdb9b1f24e4 SHA1 06acfe8ab91e39bdacbe23a71b27a291ef40eaed SHA256 2878415235a2d23231e4295fba1adf0435ddcc539394f7ebe49cf23fdf76ec29
AUX a2ps-4.13c-psmandup.diff 569 RMD160 8c9436d9b72a1a2e78f8325c53e1e36bc29e2fbe SHA1 8407ed69c5f787db3149825a1f60fd5ae5a8d434 SHA256 2e64be23e030ed0f08b243f0513800336d06739fc7e347a09c130958531b85cd
AUX a2ps-4.13c-psset.patch 469 RMD160 f7b62d2408bacf0e8715b81445269749f95bef6a SHA1 d3e2c1cdb7c46fc42203344776ed9f6a2e7cfff5 SHA256 0ddb899c48c897fc333e73702f9dc666be4cbd6215da6db860784fb503500b68
AUX a2ps-4.13c-stdarg.patch 1505 RMD160 5e46f07ec9d37ab53262f9611397f19bf3bd0b6e SHA1 c215dae65c8e14fceaa31917e4a596800211c3e7 SHA256 9e7e630386b694b90b0bc6454bedc7c102d46b8bb6a6246eabd37e8b6d639c68
AUX a2ps-4.14-check-mempcpy.patch 514 RMD160 b61b89124a6f8e810ee2ace6a042d0e8981cb7c2 SHA1 6aed29c1399e79f3914b408059610f9e7c0fc38e SHA256 7ec2164888d1621a8406d431ed3accd137ec8f92e0ca885175bc1c17010519a1
AUX a2ps-4.14-fix-stpcpy-proto.patch 436 RMD160 4bb4768497ddde06486a0c22842010145660c97d SHA1 58fa90134f1027e3f05aeb08212cbcc10f420738 SHA256 3707120fbbbd8306f01fec785c18b9fa2eee02ec689cde5ad251a9337af6573e
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 1987 RMD160 548712574431f0023b032fd4ff199a7a83fe7760 SHA1 a0233c322332a7918d4ace0d7dc473839176b5fb SHA256 e69b549d71da7a630607d73ad47c7b669223433b956a419e38b5f3233404252f
EBUILD a2ps-4.13c-r5.ebuild 3043 RMD160 b24ce20ea767f7b71cbeb38e7ac50d27daa71a8b SHA1 d8288d61a452709201d7a98d4ca21b7645542c3c SHA256 0da707f72719e90531d682f9c3d7fd4b1785fc51b7bafee4a05477a821b26149
EBUILD a2ps-4.13c-r6.ebuild 3590 RMD160 0e074cbc94a83aa9844ad3a4acc8751b9e462e2d SHA1 1bd0a65128fe66a5a468b19eb5dfb0565ce5ed38 SHA256 6407e9dbce91d6c17f47c6da17fc0e5b4680d910065fe46c0431771cbf3bd9f6
EBUILD a2ps-4.14.ebuild 2973 RMD160 cef49d17df08705169acec04ca5337661d00e4f3 SHA1 71a8d395fe1fec7a20f6e99fe781fdfacd6aeb12 SHA256 14c526c6c25f155faa59afb47a7f944838c682fa4dceb8ff907add44a24fcac3
MISC ChangeLog 12236 RMD160 94be3e8adcdb13598a369bc34984ac7852f0ee2f SHA1 f0ff75ae5a72be06bd71571e2fad3c20e9919932 SHA256 4c02c122023842393d1ab2f400191846fb9d0b265735be36d3ee23cfdda693ce
MISC metadata.xml 178 RMD160 1823829273be97b95b286540a3439d152281baf1 SHA1 e0647c54037d344aabf04d0ce6bb79d133bfcc18 SHA256 70722a9097b3b57eb4b153054cc852b0938c47120de0fdfd233cac6b209b412a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkhEbYYACgkQOeoy/oIi7uzohgCfceW7JppqC7hdNVfxx9VsGkWT
lW4AoNi+l+3kYW3v+KCCbf8GwJfBbLqC
=wetI
-----END PGP SIGNATURE-----

a2ps-4.13c-r2.ebuild

# 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.13c-r2.ebuild,v 1.9 2008/04/19 02:47:49 ricmm Exp $

inherit eutils

S=${WORKDIR}/${PN}-${PV:0:4}
DESCRIPTION="Any to PostScript filter"
HOMEPAGE="http://www.inf.enst.fr/~demaille/a2ps/"
SRC_URI="mirror://gentoo/${P}.tar.gz
cjk? ( http://dev.gentoo.org/~usata/distfiles/${P}-ja_nls.patch.gz ) "

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86"
IUSE="nls tetex cjk vanilla"

DEPEND=">=sys-devel/automake-1.6
>=sys-devel/autoconf-2.57
>=dev-util/gperf-2.7.2
|| ( >=dev-util/yacc-1.9.1 sys-devel/bison )
virtual/ghostscript
>=app-text/psutils-1.17
tetex? ( virtual/tetex )
nls? ( sys-devel/gettext )"
RDEPEND="virtual/ghostscript
>=app-text/psutils-1.17
tetex? ( virtual/tetex )
nls? ( virtual/libintl )"

src_unpack() {
unpack ${P}.tar.gz
cd ${S}

epatch ${FILESDIR}/a2ps-4.13-select-freebsd.patch
epatch ${FILESDIR}/${P}-locale-gentoo.diff
use vanilla || epatch ${FILESDIR}/a2ps-4.13-stdout.diff
epatch ${FILESDIR}/${PV}-gcc34.patch
use cjk && epatch ${DISTDIR}/${P}-ja_nls.patch.gz

# improve tempfile handling
epatch ${FILESDIR}/${P}-fixps.patch
epatch ${FILESDIR}/${P}-psmandup.diff

# fix sandbox violation, bug #79012
sed -i -e 's:$acroread -helpall:acroread4 -helpall:' configure configure.in

libtoolize --copy --force || die "libtoolize failed"
}

src_compile() {

#export YACC=yacc
econf --sysconfdir=/etc/a2ps \
--includedir=/usr/include \
`use_enable nls` || die "econf failed"

export LANG=C

# sometimes emake doesn't work
make || die "make failed"
}

src_install() {
dodir /usr/share/emacs/site-lisp

einstall \
sysconfdir=${D}/etc/a2ps \
includedir=${D}/usr/include \
lispdir=${D}/usr/share/emacs/site-lisp \
|| die "einstall failed"

dosed /etc/a2ps/a2ps.cfg

dodoc ANNOUNCE AUTHORS ChangeLog FAQ NEWS README* THANKS TODO
}

a2ps-4.13c-r5.ebuild

# 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.13c-r5.ebuild,v 1.20 2008/01/25 19:32:00 grobian Exp $

WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"

inherit eutils autotools

S=${WORKDIR}/${PN}-${PV:0:4}
DESCRIPTION="Any to PostScript filter"
HOMEPAGE="http://www.inf.enst.fr/~demaille/a2ps/"
SRC_URI="mirror://gentoo/${P}.tar.gz
cjk? ( http://dev.gentoo.org/~usata/distfiles/${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="nls tetex cjk 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
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
tetex? ( virtual/tetex )
nls? ( virtual/libintl )"

src_unpack() {
unpack ${P}.tar.gz
cd ${S}

epatch ${FILESDIR}/${PN}-4.13-select-freebsd.patch
epatch ${FILESDIR}/${P}-locale-gentoo.diff
epatch ${FILESDIR}/${PN}-4.13c-stdarg.patch
use vanilla || epatch ${FILESDIR}/${PN}-4.13-stdout.diff
epatch ${FILESDIR}/${PV}-gcc34.patch
use cjk && epatch ${DISTDIR}/${P}-ja_nls.patch.gz

# improve tempfile handling
epatch ${FILESDIR}/${P}-fixps.patch
epatch ${FILESDIR}/${P}-psmandup.diff

# fix fnmatch replacement, bug #134546
epatch ${FILESDIR}/${P}-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
epatch ${FILESDIR}/a2ps-4.13c-psset.patch

# fix >=autoconf-2.60, bug 138161
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 \
`use_enable nls` || die "econf failed"

export LANG=C

# sometimes emake doesn't work
make || die "make failed"
}

src_install() {
dodir /usr/share/emacs/site-lisp

einstall \
sysconfdir=${D}/etc/a2ps \
includedir=${D}/usr/include \
lispdir=${D}/usr/share/emacs/site-lisp \
|| die "einstall failed"

dosed /etc/a2ps/a2ps.cfg

# bug #122026
sed -i "s:^countdictstack: \0:" ${D}/usr/bin/psset || die "sed failed"

dodoc ANNOUNCE AUTHORS ChangeLog FAQ NEWS README* THANKS TODO
}

a2ps-4.13c-r6.ebuild

# 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.13c-r6.ebuild,v 1.10 2008/06/02 21:59:57 ulm 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://gentoo/${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}"

epatch "${FILESDIR}/${PN}-4.13-select-freebsd.patch"
epatch "${FILESDIR}/${P}-locale-gentoo.diff"
epatch "${FILESDIR}/${PN}-4.13c-stdarg.patch"
use vanilla || epatch "${FILESDIR}/${PN}-4.13-stdout.diff"
epatch "${FILESDIR}/${PV}-gcc34.patch"
use cjk && epatch "${DISTDIR}/${P}-ja_nls.patch.gz"

# improve tempfile handling
epatch "${FILESDIR}/${P}-fixps.patch"
epatch "${FILESDIR}/${P}-psmandup.diff"

# fix fnmatch replacement, bug #134546
epatch "${FILESDIR}/${P}-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
epatch "${FILESDIR}/a2ps-4.13c-psset.patch"

# fix >=autoconf-2.60, bug 138161
epatch "${FILESDIR}/a2ps-4.13-fixcachecheck.patch"

# fix chmod error, #167670
epatch "${FILESDIR}/a2ps-4.13-manpage-chmod.patch"

# add configure check for mempcpy, bug 216588
epatch "${FILESDIR}/a2ps-4.14-check-mempcpy.patch"

# fix compilation error due to invalid stpcpy() prototype, bug 216588
epatch "${FILESDIR}/a2ps-4.14-fix-stpcpy-proto.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
}

a2ps-4.14.ebuild

# 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.7 2008/05/12 15:05:17 jer 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-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="cjk emacs nls latex 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 )
latex? ( virtual/latex-base )
nls? ( sys-devel/gettext )"
RDEPEND="virtual/ghostscript
app-text/wdiff
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 )
latex? ( virtual/latex-base )
nls? ( virtual/libintl )"

SITEFILE=50${PN}-gentoo.el

src_unpack() {
unpack ${P}.tar.gz
cd "${S}"

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"
use cjk && epatch "${DISTDIR}/${P}-ja_nls.patch.gz"

# 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 chmod error, #167670
epatch "${FILESDIR}/a2ps-4.13-manpage-chmod.patch"

# add configure check for mempcpy, bug 216588
epatch "${FILESDIR}/${P}-check-mempcpy.patch"

# fix compilation error due to invalid stpcpy() prototype, bug 216588
epatch "${FILESDIR}/${P}-fix-stpcpy-proto.patch"

AT_M4DIR="m4" eautoreconf || die "eautoreconf failed"
}

src_compile() {
#export YACC=yacc
export COM_netscape=no
use latex || COM_latex=no
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
}

files

metadata.xml




printing
cjk