diff options
author | Mamoru Komachi <usata@gentoo.org> | 2003-07-15 21:21:40 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2003-07-15 21:21:40 +0000 |
commit | 5d5694f022edc34d01360d81d22fc82cb6872460 (patch) | |
tree | 00aec02d4df4beec1c9de4722f13aca301363534 /app-text/a2ps | |
parent | Added Japanese support and stdout patch (diff) | |
download | gentoo-2-5d5694f022edc34d01360d81d22fc82cb6872460.tar.gz gentoo-2-5d5694f022edc34d01360d81d22fc82cb6872460.tar.bz2 gentoo-2-5d5694f022edc34d01360d81d22fc82cb6872460.zip |
Added Japanese support and stdout patch
Diffstat (limited to 'app-text/a2ps')
-rw-r--r-- | app-text/a2ps/ChangeLog | 10 | ||||
-rw-r--r-- | app-text/a2ps/Manifest | 4 | ||||
-rw-r--r-- | app-text/a2ps/a2ps-4.13b-r5.ebuild | 58 | ||||
-rw-r--r-- | app-text/a2ps/files/a2ps-4.13-stdout.diff | 13 | ||||
-rw-r--r-- | app-text/a2ps/files/digest-a2ps-4.13b-r5 | 2 |
5 files changed, 84 insertions, 3 deletions
diff --git a/app-text/a2ps/ChangeLog b/app-text/a2ps/ChangeLog index 53cd4e9ee5a5..deb02794495e 100644 --- a/app-text/a2ps/ChangeLog +++ b/app-text/a2ps/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for app-text/a2ps # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/a2ps/ChangeLog,v 1.8 2003/05/23 23:18:28 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/a2ps/ChangeLog,v 1.9 2003/07/15 21:21:22 usata Exp $ + +*a2ps-4.13b-r5 (16 Jul 2003) + + 16 Jul 2003; Mamoru KOMACHI <usata@gentoo.org> 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 + <chutz@chubaka.net> in bug 24264 23 May 2003; Aron Griffis <agriffis@gentoo.org> a2ps-4.13b-r4.ebuild: Mark stable on alpha diff --git a/app-text/a2ps/Manifest b/app-text/a2ps/Manifest index af56a65b01e7..da34fd58d867 100644 --- a/app-text/a2ps/Manifest +++ b/app-text/a2ps/Manifest @@ -1,7 +1,7 @@ -MD5 d3d8ccd1e4ca8e25b25446966c7e42a7 ChangeLog 1595 +MD5 69f4094c6cc8a1c65cb4bbd522e2fbee ChangeLog 1592 MD5 41cafffe5074aebaff7c783b1d6b91a8 a2ps-4.13b-r3.ebuild 930 MD5 485dc2bb19375831a53a482c6daba9be a2ps-4.13b-r4.ebuild 1084 -MD5 cac7c01d6c5d57d2c4357954f8074823 a2ps-4.13b-r5.ebuild 1398 +MD5 4efb93fc0beacc9daf76736f4f1a19b3 a2ps-4.13b-r5.ebuild 1494 MD5 98bf324f9bbeef13a3a5f875d2f0198f files/digest-a2ps-4.13b-r3 63 MD5 98bf324f9bbeef13a3a5f875d2f0198f files/digest-a2ps-4.13b-r4 63 MD5 5a02e00e2362711886e28f0d28b299dd files/a2ps-4.13-stdout.diff 462 diff --git a/app-text/a2ps/a2ps-4.13b-r5.ebuild b/app-text/a2ps/a2ps-4.13b-r5.ebuild new file mode 100644 index 000000000000..f963b5c6dabb --- /dev/null +++ b/app-text/a2ps/a2ps-4.13b-r5.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/a2ps/a2ps-4.13b-r5.ebuild,v 1.1 2003/07/15 21:21:29 usata Exp $ + +inherit gnuconfig eutils + +S=${WORKDIR}/${P/b/} +DESCRIPTION="Any to PostScript filter" +SRC_URI="ftp://ftp.enst.fr/pub/unix/a2ps/${P}.tar.gz + cjk? ( http://www.on.cs.keio.ac.jp/~yasu/linux/GNU/a2ps-4.13-ja_nls.patch ) " +PATCHES="${FILESDIR}/a2ps-4.13-stdout.diff" + +if use cjk; then + PATCHES="${PATCHES} ${DISTDIR}/a2ps-4.13-ja_nls.patch" +fi + +HOMEPAGE="http://www-inf.enst.fr/~demaille/a2ps/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc ~alpha" +IUSE="nls tetex cjk" + +DEPEND=">=app-text/ghostscript-6.23 + >=app-text/psutils-1.17 + cjk? ( >=sys-apps/sed-4 ) + tetex? ( >=app-text/tetex-1.0.7 )" +RDEPEND=">=app-text/ghostscript-6.23 + >=app-text/psutils-1.17 + tetex? ( >=app-text/tetex-1.0.7 ) + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} + if use alpha; then + gnuconfig_update || die "gnuconfig_update failed" + fi + cd ${S} + xpatch ${PATCHES} || die +} + +src_compile() { + econf --sysconfdir=/etc/a2ps `use_enable nls` || die "econf failed" + emake || die "emake failed" +} + +src_install() { + dodir /usr/share/emacs/site-lisp + + einstall \ + sysconfdir=${D}/etc/a2ps \ + lispdir=${D}/usr/share/emacs/site-lisp \ + || die "einstall failed" + + use cjk && sed -i -e "s,${D},,g" ${D}/etc/a2ps/a2ps.cfg + + dodoc ANNOUNCE AUTHORS ChangeLog FAQ NEWS README* THANKS TODO +} diff --git a/app-text/a2ps/files/a2ps-4.13-stdout.diff b/app-text/a2ps/files/a2ps-4.13-stdout.diff new file mode 100644 index 000000000000..1e40e618fcbd --- /dev/null +++ b/app-text/a2ps/files/a2ps-4.13-stdout.diff @@ -0,0 +1,13 @@ +--- lib/printers.c.orig Tue Oct 12 00:01:59 1999 ++++ lib/printers.c Wed May 2 11:23:25 2001 +@@ -315,8 +315,8 @@ + res->ppd = NULL; /* Printer's ppd are not read yet */ + + /* Output */ +- /* Default is to send to default printer */ +- res->flag_output_is_printer = true; ++ /* Default is to send to stdout */ ++ res->flag_output_is_printer = false; + res->flag_output_name = NULL; + res->output_is_file = true; + res->output_name = NULL; diff --git a/app-text/a2ps/files/digest-a2ps-4.13b-r5 b/app-text/a2ps/files/digest-a2ps-4.13b-r5 new file mode 100644 index 000000000000..91bf8e85e0f3 --- /dev/null +++ b/app-text/a2ps/files/digest-a2ps-4.13b-r5 @@ -0,0 +1,2 @@ +MD5 0c8e0c31b08c14f7a7198ce967eb3281 a2ps-4.13b.tar.gz 1944289 +MD5 75820c89316d271519e8c5a18c479c1e a2ps-4.13-ja_nls.patch 138290 |