[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2024-03-14 Thread Sam James
commit: 45df04fa7baa5495efc56af61cd8b4b489859ab0
Author: Sam James  gentoo  org>
AuthorDate: Fri Mar 15 05:30:35 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar 15 05:30:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45df04fa

app-text/a2ps: suppress gnulib FPs

Closes: https://bugs.gentoo.org/900697
Signed-off-by: Sam James  gentoo.org>

 app-text/a2ps/a2ps-4.15.5-r1.ebuild | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.15.5-r1.ebuild 
b/app-text/a2ps/a2ps-4.15.5-r1.ebuild
index 5d7e4b9afb30..4284c506a705 100644
--- a/app-text/a2ps/a2ps-4.15.5-r1.ebuild
+++ b/app-text/a2ps/a2ps-4.15.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -40,6 +40,11 @@ PATCHES=(
"${FILESDIR}"/${PN}-4.15-lpr-wrapper.patch
 )
 
+QA_CONFIG_IMPL_DECL_SKIP=(
+   # gnulib FPs
+   MIN alignof static_assert
+)
+
 src_prepare() {
default
 



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2024-03-14 Thread Sam James
commit: e791f939d47ef68c6cc716408abc090bcce1fdb7
Author: Sam James  gentoo  org>
AuthorDate: Fri Mar 15 05:30:23 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar 15 05:30:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e791f939

app-text/a2ps: add 4.15.6

Signed-off-by: Sam James  gentoo.org>

 app-text/a2ps/Manifest   |  1 +
 app-text/a2ps/a2ps-4.15.6.ebuild | 92 
 2 files changed, 93 insertions(+)

diff --git a/app-text/a2ps/Manifest b/app-text/a2ps/Manifest
index ed6f6d8e0450..1038254cb39a 100644
--- a/app-text/a2ps/Manifest
+++ b/app-text/a2ps/Manifest
@@ -1 +1,2 @@
 DIST a2ps-4.15.5.tar.gz 3571724 BLAKE2B 
7c352b72c537f8519cafb7993595d902e1dfeae49207936c365b0ea3813973c5f5e2bb63a4cffa3c665990d95c8a8e339c87d9eac25fa24e364b8b705bae
 SHA512 
e9953659139a46aed46e190d5485382a9e396ae8bbbe59edb78ab3110e7839a764e3cb6ff94f5f36e6e91fcaf85f6352376e0b4a0e0141f24e098fa334b5015e
+DIST a2ps-4.15.6.tar.gz 3605392 BLAKE2B 
64f79e26ef116836508c94f0e846f2d242fbb551e9324f339dcc2f8c8cedfad0a708bf10a74cb8e45dad14e1390f4adfb8763618b24794b9cdf77202ebfee33f
 SHA512 
23d054a2e58c28460c5e23a1cf3f0f9c27faffc9a99781c42c11cc0693eea5bb8cfe090a97b9bae3d80cfae6b4d5b9a30dfd997a2d70be2d25988c714ad14b44

diff --git a/app-text/a2ps/a2ps-4.15.6.ebuild b/app-text/a2ps/a2ps-4.15.6.ebuild
new file mode 100644
index ..f9ae315b9f23
--- /dev/null
+++ b/app-text/a2ps/a2ps-4.15.6.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools elisp-common
+
+DESCRIPTION="Any to PostScript filter"
+HOMEPAGE="https://www.gnu.org/software/a2ps/;
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="cjk emacs latex nls static-libs vanilla"
+
+# a2ps-lpr-wrapper needs bash
+RDEPEND="
+   app-text/ghostscript-gpl
+   app-text/libpaper:=
+   >=app-text/psutils-1.17
+   app-text/wdiff
+   app-shells/bash:*
+   dev-libs/boehm-gc
+   >=sys-apps/coreutils-6.10-r1
+   emacs? ( >=app-editors/emacs-23.1:* )
+   latex? ( virtual/latex-base )
+   nls? ( virtual/libintl )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   app-alternatives/yacc
+   >=dev-util/gperf-2.7.2
+   nls? ( sys-devel/gettext )
+"
+
+SITEFILE="50${PN}-gentoo.el"
+
+QA_CONFIG_IMPL_DECL_SKIP=(
+   # gnulib FPs
+   MIN alignof static_assert
+)
+
+src_prepare() {
+   default
+
+   use vanilla || eapply "${FILESDIR}"/${PN}-4.15-stdout.patch
+
+   eautoreconf
+}
+
+src_configure() {
+   export LANG=C LC_ALL=C
+
+   econf \
+   --cache-file="${S}"/config.cache \
+   --enable-shared \
+   $(use_enable static-libs static) \
+   --sysconfdir="${EPREFIX}"/etc/a2ps \
+   $(use_enable nls) \
+   COM_netscape=no \
+   COM_acroread=no \
+   $(usev !latex COM_latex=no) \
+   $(usev !emacs EMACS=no)
+}
+
+src_install() {
+   emake \
+   DESTDIR="${D}" \
+   lispdir="${EPREFIX}${SITELISP}"/${PN} \
+   install
+
+   einstalldocs
+
+   newdoc "${ED}"/usr/share/a2ps/README README.a2ps
+   newdoc "${ED}"/usr/share/a2ps/ppd/README README.a2ps.ppd
+   newdoc "${ED}"/usr/share/ogonkify/README README.ogonkify
+
+   rm -f "${ED}"/usr/share/{a2ps,a2ps/ppd,ogonkify}/README || die
+
+   find "${ED}" -name '*.la' -delete || die
+
+   use emacs && elisp-site-file-install "${FILESDIR}"/${SITEFILE}
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+   use emacs && elisp-site-regen
+}



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2023-12-28 Thread Sam James
commit: 1d4c57b1a84cfd028b2e74c418e60a4652559628
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec 28 16:21:20 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 29 00:12:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d4c57b1

app-text/a2ps: drop 4.15.4, 4.15.5

Signed-off-by: Sam James  gentoo.org>

 app-text/a2ps/Manifest   |  1 -
 app-text/a2ps/a2ps-4.15.4.ebuild | 86 
 app-text/a2ps/a2ps-4.15.5.ebuild | 86 
 3 files changed, 173 deletions(-)

diff --git a/app-text/a2ps/Manifest b/app-text/a2ps/Manifest
index a19c0bdc7135..ed6f6d8e0450 100644
--- a/app-text/a2ps/Manifest
+++ b/app-text/a2ps/Manifest
@@ -1,2 +1 @@
-DIST a2ps-4.15.4.tar.gz 3570970 BLAKE2B 
96355c3e656199a6daebc7d311d85f9c124080db8d92e6fdc502bedf06c547e886fed8335f6ce01df04ee23972fb93ccf4c2614294dea63f1bf5eccd95f37a04
 SHA512 
aac3dfed21919682afa688b7315eeea012c5d496aad163b801021ed81d6056362d149745dcf48a99d139909c2ec796ce56bd4e63adb103d746ad89c691ea7779
 DIST a2ps-4.15.5.tar.gz 3571724 BLAKE2B 
7c352b72c537f8519cafb7993595d902e1dfeae49207936c365b0ea3813973c5f5e2bb63a4cffa3c665990d95c8a8e339c87d9eac25fa24e364b8b705bae
 SHA512 
e9953659139a46aed46e190d5485382a9e396ae8bbbe59edb78ab3110e7839a764e3cb6ff94f5f36e6e91fcaf85f6352376e0b4a0e0141f24e098fa334b5015e

diff --git a/app-text/a2ps/a2ps-4.15.4.ebuild b/app-text/a2ps/a2ps-4.15.4.ebuild
deleted file mode 100644
index 50011e568301..
--- a/app-text/a2ps/a2ps-4.15.4.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools elisp-common
-
-DESCRIPTION="Any to PostScript filter"
-HOMEPAGE="https://www.gnu.org/software/a2ps/;
-SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="cjk emacs latex nls static-libs vanilla"
-
-# a2ps-lpr-wrapper needs bash
-RDEPEND="
-   app-text/ghostscript-gpl
-   app-text/libpaper:=
-   >=app-text/psutils-1.17
-   app-text/wdiff
-   app-shells/bash:*
-   dev-libs/boehm-gc
-   >=sys-apps/coreutils-6.10-r1
-   emacs? ( >=app-editors/emacs-23.1:* )
-   latex? ( virtual/latex-base )
-   nls? ( virtual/libintl )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   app-alternatives/yacc
-   >=dev-util/gperf-2.7.2
-   nls? ( sys-devel/gettext )
-"
-
-SITEFILE="50${PN}-gentoo.el"
-
-src_prepare() {
-   default
-
-   use vanilla || eapply "${FILESDIR}"/${PN}-4.15-stdout.patch
-
-   eautoreconf
-}
-
-src_configure() {
-   export LANG=C LC_ALL=C
-
-   econf \
-   --enable-shared \
-   $(use_enable static-libs static) \
-   --sysconfdir="${EPREFIX}"/etc/a2ps \
-   $(use_enable nls) \
-   COM_netscape=no \
-   COM_acroread=no \
-   $(usev !latex COM_latex=no) \
-   $(usev !emacs EMACS=no)
-}
-
-src_install() {
-   emake \
-   DESTDIR="${D}" \
-   lispdir="${EPREFIX}${SITELISP}"/${PN} \
-   install
-
-   newdoc "${ED}"/usr/share/a2ps/README README.a2ps
-   newdoc "${ED}"/usr/share/a2ps/ppd/README README.a2ps.ppd
-   newdoc "${ED}"/usr/share/ogonkify/README README.ogonkify
-
-   rm -f "${ED}"/usr/share/{a2ps,a2ps/ppd,ogonkify}/README || die
-
-   find "${ED}" -name '*.la' -delete || die
-
-   use emacs && elisp-site-file-install "${FILESDIR}"/${SITEFILE}
-
-   dodoc ANNOUNCE AUTHORS ChangeLog FAQ NEWS README* THANKS TODO
-}
-
-pkg_postinst() {
-   use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
-   use emacs && elisp-site-regen
-}

diff --git a/app-text/a2ps/a2ps-4.15.5.ebuild b/app-text/a2ps/a2ps-4.15.5.ebuild
deleted file mode 100644
index 50011e568301..
--- a/app-text/a2ps/a2ps-4.15.5.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools elisp-common
-
-DESCRIPTION="Any to PostScript filter"
-HOMEPAGE="https://www.gnu.org/software/a2ps/;
-SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="cjk emacs latex nls static-libs vanilla"
-
-# a2ps-lpr-wrapper needs bash
-RDEPEND="
-   app-text/ghostscript-gpl
-   app-text/libpaper:=
-   >=app-text/psutils-1.17
-   app-text/wdiff
-   app-shells/bash:*
-   dev-libs/boehm-gc
-   >=sys-apps/coreutils-6.10-r1
-   emacs? ( >=app-editors/emacs-23.1:* )
-   latex? ( virtual/latex-base )
-   nls? ( virtual/libintl )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   app-alternatives/yacc
-   >=dev-util/gperf-2.7.2

[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2023-12-24 Thread Arthur Zamarin
commit: 8ed466f1417dfff3eac56a2928450f7c914542d6
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Dec 24 17:21:04 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Dec 24 17:21:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ed466f1

app-text/a2ps: Stabilize 4.15.5-r1 x86, #920583

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-text/a2ps/a2ps-4.15.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.15.5-r1.ebuild 
b/app-text/a2ps/a2ps-4.15.5-r1.ebuild
index 13fcb90f0d92..5d7e4b9afb30 100644
--- a/app-text/a2ps/a2ps-4.15.5-r1.ebuild
+++ b/app-text/a2ps/a2ps-4.15.5-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="cjk emacs latex nls static-libs vanilla"
 
 # a2ps-lpr-wrapper needs bash



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2023-12-24 Thread Sam James
commit: a27034b08918b2e8d1e83af6e05352cc1525f60b
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 24 15:10:47 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 24 15:10:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a27034b0

app-text/a2ps: Stabilize 4.15.5-r1 ppc, #920583

Signed-off-by: Sam James  gentoo.org>

 app-text/a2ps/a2ps-4.15.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.15.5-r1.ebuild 
b/app-text/a2ps/a2ps-4.15.5-r1.ebuild
index c9a9cc99ae19..13fcb90f0d92 100644
--- a/app-text/a2ps/a2ps-4.15.5-r1.ebuild
+++ b/app-text/a2ps/a2ps-4.15.5-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="cjk emacs latex nls static-libs vanilla"
 
 # a2ps-lpr-wrapper needs bash



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2023-11-18 Thread Sam James
commit: d7ef01ed596877223d476db8f6ee0f64018dac2d
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 18 16:15:43 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 18 16:19:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7ef01ed

app-text/a2ps: use configure cache for subconfigure

Signed-off-by: Sam James  gentoo.org>

 app-text/a2ps/a2ps-4.15.5-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-text/a2ps/a2ps-4.15.5-r1.ebuild 
b/app-text/a2ps/a2ps-4.15.5-r1.ebuild
index cb24c360a855..fffe50e992a6 100644
--- a/app-text/a2ps/a2ps-4.15.5-r1.ebuild
+++ b/app-text/a2ps/a2ps-4.15.5-r1.ebuild
@@ -52,6 +52,7 @@ src_configure() {
export LANG=C LC_ALL=C
 
econf \
+   --cache-file="${S}"/config.cache \
--enable-shared \
$(use_enable static-libs static) \
--sysconfdir="${EPREFIX}"/etc/a2ps \



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2023-09-26 Thread Arthur Zamarin
commit: 99c9e4d61f8b8c965d4978cdc0c0d97ebe5f83ad
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Sep 26 15:23:53 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Sep 26 15:23:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99c9e4d6

app-text/a2ps: Stabilize 4.15.5 arm, #913820

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-text/a2ps/a2ps-4.15.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.15.5.ebuild b/app-text/a2ps/a2ps-4.15.5.ebuild
index 09c537192070..50011e568301 100644
--- a/app-text/a2ps/a2ps-4.15.5.ebuild
+++ b/app-text/a2ps/a2ps-4.15.5.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="cjk emacs latex nls static-libs vanilla"
 
 # a2ps-lpr-wrapper needs bash



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2023-09-21 Thread Sam James
commit: 32ce5e1cefe2df2c1575645b170168228b7beb8e
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Thu Sep 21 19:42:21 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep 21 20:09:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32ce5e1c

app-text/a2ps: stable 4.15.5 for sparc, bug #913820

Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sam James  gentoo.org>

 app-text/a2ps/a2ps-4.15.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.15.5.ebuild b/app-text/a2ps/a2ps-4.15.5.ebuild
index f0aeb28d0abb..9d9fd4c00096 100644
--- a/app-text/a2ps/a2ps-4.15.5.ebuild
+++ b/app-text/a2ps/a2ps-4.15.5.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="cjk emacs latex nls static-libs vanilla"
 
 # a2ps-lpr-wrapper needs bash



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2023-09-07 Thread Sam James
commit: e04ff24f057015e958001f4cde799a299592adc4
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep  7 23:01:58 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep  7 23:01:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e04ff24f

app-text/a2ps: Stabilize 4.15.5 amd64, #913820

Signed-off-by: Sam James  gentoo.org>

 app-text/a2ps/a2ps-4.15.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.15.5.ebuild b/app-text/a2ps/a2ps-4.15.5.ebuild
index 6afb843b8241..240554b8cd7b 100644
--- a/app-text/a2ps/a2ps-4.15.5.ebuild
+++ b/app-text/a2ps/a2ps-4.15.5.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="cjk emacs latex nls static-libs vanilla"
 
 # a2ps-lpr-wrapper needs bash



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2023-09-07 Thread Sam James
commit: 14ea669a4c93db2c0b28530afa8df71cf7a31a73
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep  7 23:01:59 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep  7 23:01:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14ea669a

app-text/a2ps: Stabilize 4.15.5 x86, #913820

Signed-off-by: Sam James  gentoo.org>

 app-text/a2ps/a2ps-4.15.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.15.5.ebuild b/app-text/a2ps/a2ps-4.15.5.ebuild
index 240554b8cd7b..f0aeb28d0abb 100644
--- a/app-text/a2ps/a2ps-4.15.5.ebuild
+++ b/app-text/a2ps/a2ps-4.15.5.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="cjk emacs latex nls static-libs vanilla"
 
 # a2ps-lpr-wrapper needs bash



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2023-09-07 Thread Sam James
commit: 152fdd0cbc7ea6aac6f9f3bdac4fb12eabb3e99b
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep  7 23:01:57 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep  7 23:01:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=152fdd0c

app-text/a2ps: Stabilize 4.15.5 ppc64, #913820

Signed-off-by: Sam James  gentoo.org>

 app-text/a2ps/a2ps-4.15.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.15.5.ebuild b/app-text/a2ps/a2ps-4.15.5.ebuild
index db63721729f2..6afb843b8241 100644
--- a/app-text/a2ps/a2ps-4.15.5.ebuild
+++ b/app-text/a2ps/a2ps-4.15.5.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="cjk emacs latex nls static-libs vanilla"
 
 # a2ps-lpr-wrapper needs bash



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/files/, app-text/a2ps/

2023-09-07 Thread Sam James
commit: 9b9c9302cfda762c144f9b5611ae0384efff079a
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep  7 20:49:56 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep  7 20:50:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b9c9302

app-text/a2ps: fix a2ps-lpr-wrapper

Quoting the bug:
"""
There is an error on a2ps-lpr-wrapper and the file was not printed

If lp is installed, a2ps-lpr-wrapper will use it otherwise it falls back to lpr.
However, the #{lp} variable defines the printer specifier as -P. lpr does not 
take -P, it takes -d.

The specifier needs to differ depending on which backend is being used; -d for 
lp or -P for lpr.
"""

See also the savannah bug (https://savannah.gnu.org/bugs/?64047).

Closes: https://bugs.gentoo.org/913751
Signed-off-by: Sam James  gentoo.org>

 app-text/a2ps/a2ps-4.15.5-r1.ebuild | 90 +
 app-text/a2ps/files/a2ps-4.15-lpr-wrapper.patch | 23 +++
 2 files changed, 113 insertions(+)

diff --git a/app-text/a2ps/a2ps-4.15.5-r1.ebuild 
b/app-text/a2ps/a2ps-4.15.5-r1.ebuild
new file mode 100644
index ..cb24c360a855
--- /dev/null
+++ b/app-text/a2ps/a2ps-4.15.5-r1.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools elisp-common
+
+DESCRIPTION="Any to PostScript filter"
+HOMEPAGE="https://www.gnu.org/software/a2ps/;
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="cjk emacs latex nls static-libs vanilla"
+
+# a2ps-lpr-wrapper needs bash
+RDEPEND="
+   app-text/ghostscript-gpl
+   app-text/libpaper:=
+   >=app-text/psutils-1.17
+   app-text/wdiff
+   app-shells/bash:*
+   dev-libs/boehm-gc
+   >=sys-apps/coreutils-6.10-r1
+   emacs? ( >=app-editors/emacs-23.1:* )
+   latex? ( virtual/latex-base )
+   nls? ( virtual/libintl )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   app-alternatives/yacc
+   >=dev-util/gperf-2.7.2
+   nls? ( sys-devel/gettext )
+"
+
+SITEFILE="50${PN}-gentoo.el"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.15-lpr-wrapper.patch
+)
+
+src_prepare() {
+   default
+
+   use vanilla || eapply "${FILESDIR}"/${PN}-4.15-stdout.patch
+
+   eautoreconf
+}
+
+src_configure() {
+   export LANG=C LC_ALL=C
+
+   econf \
+   --enable-shared \
+   $(use_enable static-libs static) \
+   --sysconfdir="${EPREFIX}"/etc/a2ps \
+   $(use_enable nls) \
+   COM_netscape=no \
+   COM_acroread=no \
+   $(usev !latex COM_latex=no) \
+   $(usev !emacs EMACS=no)
+}
+
+src_install() {
+   emake \
+   DESTDIR="${D}" \
+   lispdir="${EPREFIX}${SITELISP}"/${PN} \
+   install
+
+   newdoc "${ED}"/usr/share/a2ps/README README.a2ps
+   newdoc "${ED}"/usr/share/a2ps/ppd/README README.a2ps.ppd
+   newdoc "${ED}"/usr/share/ogonkify/README README.ogonkify
+
+   rm -f "${ED}"/usr/share/{a2ps,a2ps/ppd,ogonkify}/README || die
+
+   find "${ED}" -name '*.la' -delete || die
+
+   use emacs && elisp-site-file-install "${FILESDIR}"/${SITEFILE}
+
+   dodoc ANNOUNCE AUTHORS ChangeLog FAQ NEWS README* THANKS TODO
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+   use emacs && elisp-site-regen
+}

diff --git a/app-text/a2ps/files/a2ps-4.15-lpr-wrapper.patch 
b/app-text/a2ps/files/a2ps-4.15-lpr-wrapper.patch
new file mode 100644
index ..d7b231c0b929
--- /dev/null
+++ b/app-text/a2ps/files/a2ps-4.15-lpr-wrapper.patch
@@ -0,0 +1,23 @@
+# a2ps-lpr-wrapper exits on bogus parameter-count test
+# https://bugs.gentoo.org/913751
+# https://savannah.gnu.org/bugs/?64047
+--- a/src/a2ps-lpr-wrapper
 b/src/a2ps-lpr-wrapper
+@@ -5,7 +5,7 @@
+ set -e
+
+ usage() {
+-  echo "Usage: $(basename "$0") [-d printer] FILE..." >&2
++  echo "Usage: $(basename "$0") [-d printer] [FILE...]" >&2
+   exit 1
+ }
+
+@@ -17,7 +17,6 @@ while getopts d: flag; do
+   esac
+ done
+ shift $((OPTIND - 1))
+-if [ $# -eq 0 ]; then usage; fi
+
+ # If lp (from CUPS) exists, just use it.
+ if command -pv lp > /dev/null; then
+



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2023-06-23 Thread Sam James
commit: b88d4e453d7bf2b6e5d8f4c27df64197fdcc816c
Author: Sam James  gentoo  org>
AuthorDate: Fri Jun 23 20:22:51 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun 23 20:22:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b88d4e45

app-text/a2ps: add 4.15.5

Signed-off-by: Sam James  gentoo.org>

 app-text/a2ps/Manifest   |  1 +
 app-text/a2ps/a2ps-4.15.5.ebuild | 86 
 2 files changed, 87 insertions(+)

diff --git a/app-text/a2ps/Manifest b/app-text/a2ps/Manifest
index 1b54b26477ac..a19c0bdc7135 100644
--- a/app-text/a2ps/Manifest
+++ b/app-text/a2ps/Manifest
@@ -1 +1,2 @@
 DIST a2ps-4.15.4.tar.gz 3570970 BLAKE2B 
96355c3e656199a6daebc7d311d85f9c124080db8d92e6fdc502bedf06c547e886fed8335f6ce01df04ee23972fb93ccf4c2614294dea63f1bf5eccd95f37a04
 SHA512 
aac3dfed21919682afa688b7315eeea012c5d496aad163b801021ed81d6056362d149745dcf48a99d139909c2ec796ce56bd4e63adb103d746ad89c691ea7779
+DIST a2ps-4.15.5.tar.gz 3571724 BLAKE2B 
7c352b72c537f8519cafb7993595d902e1dfeae49207936c365b0ea3813973c5f5e2bb63a4cffa3c665990d95c8a8e339c87d9eac25fa24e364b8b705bae
 SHA512 
e9953659139a46aed46e190d5485382a9e396ae8bbbe59edb78ab3110e7839a764e3cb6ff94f5f36e6e91fcaf85f6352376e0b4a0e0141f24e098fa334b5015e

diff --git a/app-text/a2ps/a2ps-4.15.5.ebuild b/app-text/a2ps/a2ps-4.15.5.ebuild
new file mode 100644
index ..db63721729f2
--- /dev/null
+++ b/app-text/a2ps/a2ps-4.15.5.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools elisp-common
+
+DESCRIPTION="Any to PostScript filter"
+HOMEPAGE="https://www.gnu.org/software/a2ps/;
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="cjk emacs latex nls static-libs vanilla"
+
+# a2ps-lpr-wrapper needs bash
+RDEPEND="
+   app-text/ghostscript-gpl
+   app-text/libpaper:=
+   >=app-text/psutils-1.17
+   app-text/wdiff
+   app-shells/bash:*
+   dev-libs/boehm-gc
+   >=sys-apps/coreutils-6.10-r1
+   emacs? ( >=app-editors/emacs-23.1:* )
+   latex? ( virtual/latex-base )
+   nls? ( virtual/libintl )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   app-alternatives/yacc
+   >=dev-util/gperf-2.7.2
+   nls? ( sys-devel/gettext )
+"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+   default
+
+   use vanilla || eapply "${FILESDIR}"/${PN}-4.15-stdout.patch
+
+   eautoreconf
+}
+
+src_configure() {
+   export LANG=C LC_ALL=C
+
+   econf \
+   --enable-shared \
+   $(use_enable static-libs static) \
+   --sysconfdir="${EPREFIX}"/etc/a2ps \
+   $(use_enable nls) \
+   COM_netscape=no \
+   COM_acroread=no \
+   $(usev !latex COM_latex=no) \
+   $(usev !emacs EMACS=no)
+}
+
+src_install() {
+   emake \
+   DESTDIR="${D}" \
+   lispdir="${EPREFIX}${SITELISP}"/${PN} \
+   install
+
+   newdoc "${ED}"/usr/share/a2ps/README README.a2ps
+   newdoc "${ED}"/usr/share/a2ps/ppd/README README.a2ps.ppd
+   newdoc "${ED}"/usr/share/ogonkify/README README.ogonkify
+
+   rm -f "${ED}"/usr/share/{a2ps,a2ps/ppd,ogonkify}/README || die
+
+   find "${ED}" -name '*.la' -delete || die
+
+   use emacs && elisp-site-file-install "${FILESDIR}"/${SITEFILE}
+
+   dodoc ANNOUNCE AUTHORS ChangeLog FAQ NEWS README* THANKS TODO
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+   use emacs && elisp-site-regen
+}



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/files/, app-text/a2ps/

2023-06-23 Thread Sam James
commit: 4b62392aa53cf38fd9e61f86de9636000a203cc7
Author: Sam James  gentoo  org>
AuthorDate: Fri Jun 23 20:20:19 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun 23 20:20:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b62392a

app-text/a2ps: drop 4.14-r8, 4.15.2, 4.15.3

Signed-off-by: Sam James  gentoo.org>

 app-text/a2ps/Manifest |   4 -
 app-text/a2ps/a2ps-4.14-r8.ebuild  | 123 -
 app-text/a2ps/a2ps-4.15.2.ebuild   |  86 
 app-text/a2ps/a2ps-4.15.3.ebuild   |  86 
 app-text/a2ps/files/a2ps-4.13-manpage-chmod.patch  |  14 --
 app-text/a2ps/files/a2ps-4.13c-emacs.patch |  13 --
 .../files/a2ps-4.13c-fnmatch-replacement.patch |  45 ---
 app-text/a2ps/files/a2ps-4.13c-locale-gentoo.diff  |  25 
 app-text/a2ps/files/a2ps-4.14-CVE-2001-1593.patch  |  82 ---
 app-text/a2ps/files/a2ps-4.14-CVE-2014-0466.patch  |  32 -
 app-text/a2ps/files/a2ps-4.14-check-mempcpy.patch  |  15 ---
 app-text/a2ps/files/a2ps-4.14-cleanup.patch| 106 ---
 app-text/a2ps/files/a2ps-4.14-configure.ac.patch   |  11 --
 .../a2ps/files/a2ps-4.14-fix-stpcpy-proto.patch|  14 --
 app-text/a2ps/files/a2ps-4.14-function-decl.patch  |  12 --
 app-text/a2ps/files/a2ps-4.14-ja-cleanup.patch | 122 -
 app-text/a2ps/files/a2ps-4.14-psset.patch  |  22 ---
 app-text/a2ps/files/a2ps-4.14-ptrdiff_t.patch  |  16 ---
 app-text/a2ps/files/a2ps-4.14-stdout.patch |  16 ---
 app-text/a2ps/files/a2ps-4.14-texinfo-5.x.patch| 150 -
 .../files/a2ps-4.14-texinfo-6.7-encoding.patch |  40 --
 21 files changed, 1034 deletions(-)

diff --git a/app-text/a2ps/Manifest b/app-text/a2ps/Manifest
index 155d35e15f65..1b54b26477ac 100644
--- a/app-text/a2ps/Manifest
+++ b/app-text/a2ps/Manifest
@@ -1,5 +1 @@
-DIST a2ps-4.14-ja_nls.patch.gz 27576 BLAKE2B 
7300971fb76f6c8d2b0e5ffa519cf6064519a33f24430b9894e43778dff5b78f7cf7e2b9fe1e98fb475f452b39ccc29f88f579bbe1922ac3ef70775a05591b32
 SHA512 
f02f553dd9d9dbd9dfe41ebfe103493000aa4e9de5634c94e7453f73b66d88fea6b0010095913a4a99c7285990a1df1ebcc39da451b2b34f96b0c191112b125f
-DIST a2ps-4.14.tar.gz 2552507 BLAKE2B 
cd15a2b85f54f8bfb92adf9f4cf2c3c29091e528ae8072d0e905c58cc94caf55b76ac3e37891f8a0bc0909a177c5ee434fe5aaab3625a2c14127dabad8b506ed
 SHA512 
fd6ac8ab47d789114c283e8ca508f7f56feabd1a189f4ac772cad9e6be7e3791e210892cfffd04ad1d39efe4b15386b2e61bf4cd56b70ed581c0554f36bfe06f
-DIST a2ps-4.15.2.tar.gz 3600923 BLAKE2B 
37d6dd76578301a629a4171e194cc34836b393ef293193191b2a4e3c5635c154b0d380f921e3862cad64e468108105a669c89e76ec8baa915587f8fff8af8aa9
 SHA512 
637bda87c7e8d59d923428398d0d67066c700e7e37d91cf3408bfe38f3367afdc651a8248984512fbe71e0d1cb07cb4a348816650748e1fbde52625e8e055a70
-DIST a2ps-4.15.3.tar.gz 3601424 BLAKE2B 
6a3a94d8ee2ff6ffabd3b4784b6b69fe1ba91d66b947de57145d952312deeab0d883714b19a5aab69c9cca6818b4c00e6efc69edf0bc3ee0a7ee56ac4c65491b
 SHA512 
41f0590c5f794af767b57bfe2eeea105b73232ea9a9fcf87380d93cb4ccaaf652c69990bcb06d1da5f398f4c7d0ab6d23d9c3f5b6a85c37f36e72dc03e7ddc2a
 DIST a2ps-4.15.4.tar.gz 3570970 BLAKE2B 
96355c3e656199a6daebc7d311d85f9c124080db8d92e6fdc502bedf06c547e886fed8335f6ce01df04ee23972fb93ccf4c2614294dea63f1bf5eccd95f37a04
 SHA512 
aac3dfed21919682afa688b7315eeea012c5d496aad163b801021ed81d6056362d149745dcf48a99d139909c2ec796ce56bd4e63adb103d746ad89c691ea7779

diff --git a/app-text/a2ps/a2ps-4.14-r8.ebuild 
b/app-text/a2ps/a2ps-4.14-r8.ebuild
deleted file mode 100644
index 58a895dd30a3..
--- a/app-text/a2ps/a2ps-4.14-r8.ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools elisp-common flag-o-matic
-
-DESCRIPTION="Any to PostScript filter"
-HOMEPAGE="https://www.gnu.org/software/a2ps/;
-SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
-   cjk? ( mirror://gentoo/${P}-ja_nls.patch.gz )"
-S="${WORKDIR}/${PN}-${PV:0:4}"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="cjk emacs latex nls static-libs vanilla"
-
-RESTRICT="test"
-
-RDEPEND="app-text/ghostscript-gpl
-   app-text/libpaper:=
-   >=app-text/psutils-1.17
-   app-text/wdiff
-   >=sys-apps/coreutils-6.10-r1
-   emacs? ( >=app-editors/emacs-23.1:* )
-   latex? ( virtual/latex-base )
-   nls? ( virtual/libintl )"
-DEPEND="${RDEPEND}"
-BDEPEND=">=dev-util/gperf-2.7.2
-   app-alternatives/yacc
-   nls? ( sys-devel/gettext )"
-
-SITEFILE="50${PN}-gentoo.el"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-4.13c-locale-gentoo.diff
-   "${FILESDIR}"/${PN}-4.13c-fnmatch-replacement.patch
-   "${FILESDIR}"/${P}-psset.patch
-   "${FILESDIR}"/${PN}-4.13c-emacs.patch
-   

[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2023-05-10 Thread Sam James
commit: 67e2fc6e9812b3ff8c0ff050ad3caafdc95e25d6
Author: Sam James  gentoo  org>
AuthorDate: Thu May 11 01:32:20 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 11 01:32:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67e2fc6e

app-text/a2ps: Stabilize 4.15.4 x86, #906097

Signed-off-by: Sam James  gentoo.org>

 app-text/a2ps/a2ps-4.15.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.15.4.ebuild b/app-text/a2ps/a2ps-4.15.4.ebuild
index 5cc15977b1bf..50011e568301 100644
--- a/app-text/a2ps/a2ps-4.15.4.ebuild
+++ b/app-text/a2ps/a2ps-4.15.4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="cjk emacs latex nls static-libs vanilla"
 
 # a2ps-lpr-wrapper needs bash



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2023-05-10 Thread Sam James
commit: 6b2af3ca66241a1a9f1f7c9929aaa51c6106011a
Author: Sam James  gentoo  org>
AuthorDate: Thu May 11 01:32:18 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 11 01:32:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b2af3ca

app-text/a2ps: Stabilize 4.15.4 amd64, #906097

Signed-off-by: Sam James  gentoo.org>

 app-text/a2ps/a2ps-4.15.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.15.4.ebuild b/app-text/a2ps/a2ps-4.15.4.ebuild
index 1d854a8b99d6..5cc15977b1bf 100644
--- a/app-text/a2ps/a2ps-4.15.4.ebuild
+++ b/app-text/a2ps/a2ps-4.15.4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="cjk emacs latex nls static-libs vanilla"
 
 # a2ps-lpr-wrapper needs bash



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2023-05-10 Thread Sam James
commit: f631e42f7a4556a46161eb2d4bf288d1446bc2f9
Author: Sam James  gentoo  org>
AuthorDate: Thu May 11 01:28:50 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 11 01:28:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f631e42f

app-text/a2ps: Stabilize 4.15.4 sparc, #906097

Signed-off-by: Sam James  gentoo.org>

 app-text/a2ps/a2ps-4.15.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.15.4.ebuild b/app-text/a2ps/a2ps-4.15.4.ebuild
index 01699316c150..1d854a8b99d6 100644
--- a/app-text/a2ps/a2ps-4.15.4.ebuild
+++ b/app-text/a2ps/a2ps-4.15.4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="cjk emacs latex nls static-libs vanilla"
 
 # a2ps-lpr-wrapper needs bash



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2023-05-10 Thread Sam James
commit: ffea73c34b14f86f97aad3df647866d172110d30
Author: Sam James  gentoo  org>
AuthorDate: Thu May 11 01:28:48 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 11 01:28:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffea73c3

app-text/a2ps: Stabilize 4.15.4 ppc64, #906097

Signed-off-by: Sam James  gentoo.org>

 app-text/a2ps/a2ps-4.15.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.15.4.ebuild b/app-text/a2ps/a2ps-4.15.4.ebuild
index a1218e94bc0c..01699316c150 100644
--- a/app-text/a2ps/a2ps-4.15.4.ebuild
+++ b/app-text/a2ps/a2ps-4.15.4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="cjk emacs latex nls static-libs vanilla"
 
 # a2ps-lpr-wrapper needs bash



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2023-05-10 Thread Sam James
commit: 2b284c6d6e61dd8934667a20034173518ce86e75
Author: Sam James  gentoo  org>
AuthorDate: Thu May 11 01:28:45 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 11 01:28:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b284c6d

app-text/a2ps: Stabilize 4.15.4 ppc, #906097

Signed-off-by: Sam James  gentoo.org>

 app-text/a2ps/a2ps-4.15.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.15.4.ebuild b/app-text/a2ps/a2ps-4.15.4.ebuild
index db63721729f2..0d84cc3e940d 100644
--- a/app-text/a2ps/a2ps-4.15.4.ebuild
+++ b/app-text/a2ps/a2ps-4.15.4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="cjk emacs latex nls static-libs vanilla"
 
 # a2ps-lpr-wrapper needs bash



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2023-05-10 Thread Sam James
commit: 6f4a70e593f9f0c6d7a5f053c8ead2ed19f7e892
Author: Sam James  gentoo  org>
AuthorDate: Thu May 11 01:28:47 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 11 01:28:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f4a70e5

app-text/a2ps: Stabilize 4.15.4 arm, #906097

Signed-off-by: Sam James  gentoo.org>

 app-text/a2ps/a2ps-4.15.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.15.4.ebuild b/app-text/a2ps/a2ps-4.15.4.ebuild
index 0d84cc3e940d..a1218e94bc0c 100644
--- a/app-text/a2ps/a2ps-4.15.4.ebuild
+++ b/app-text/a2ps/a2ps-4.15.4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="cjk emacs latex nls static-libs vanilla"
 
 # a2ps-lpr-wrapper needs bash



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2023-04-13 Thread Sam James
commit: 308580eee8c250672bb61d489c6a4bce094c1138
Author: Sam James  gentoo  org>
AuthorDate: Thu Apr 13 18:59:24 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Apr 13 18:59:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=308580ee

app-text/a2ps: add 4.15.4

Signed-off-by: Sam James  gentoo.org>

 app-text/a2ps/Manifest   |  1 +
 app-text/a2ps/a2ps-4.15.4.ebuild | 86 
 2 files changed, 87 insertions(+)

diff --git a/app-text/a2ps/Manifest b/app-text/a2ps/Manifest
index c7905bba9e4c..155d35e15f65 100644
--- a/app-text/a2ps/Manifest
+++ b/app-text/a2ps/Manifest
@@ -2,3 +2,4 @@ DIST a2ps-4.14-ja_nls.patch.gz 27576 BLAKE2B 
7300971fb76f6c8d2b0e5ffa519cf606451
 DIST a2ps-4.14.tar.gz 2552507 BLAKE2B 
cd15a2b85f54f8bfb92adf9f4cf2c3c29091e528ae8072d0e905c58cc94caf55b76ac3e37891f8a0bc0909a177c5ee434fe5aaab3625a2c14127dabad8b506ed
 SHA512 
fd6ac8ab47d789114c283e8ca508f7f56feabd1a189f4ac772cad9e6be7e3791e210892cfffd04ad1d39efe4b15386b2e61bf4cd56b70ed581c0554f36bfe06f
 DIST a2ps-4.15.2.tar.gz 3600923 BLAKE2B 
37d6dd76578301a629a4171e194cc34836b393ef293193191b2a4e3c5635c154b0d380f921e3862cad64e468108105a669c89e76ec8baa915587f8fff8af8aa9
 SHA512 
637bda87c7e8d59d923428398d0d67066c700e7e37d91cf3408bfe38f3367afdc651a8248984512fbe71e0d1cb07cb4a348816650748e1fbde52625e8e055a70
 DIST a2ps-4.15.3.tar.gz 3601424 BLAKE2B 
6a3a94d8ee2ff6ffabd3b4784b6b69fe1ba91d66b947de57145d952312deeab0d883714b19a5aab69c9cca6818b4c00e6efc69edf0bc3ee0a7ee56ac4c65491b
 SHA512 
41f0590c5f794af767b57bfe2eeea105b73232ea9a9fcf87380d93cb4ccaaf652c69990bcb06d1da5f398f4c7d0ab6d23d9c3f5b6a85c37f36e72dc03e7ddc2a
+DIST a2ps-4.15.4.tar.gz 3570970 BLAKE2B 
96355c3e656199a6daebc7d311d85f9c124080db8d92e6fdc502bedf06c547e886fed8335f6ce01df04ee23972fb93ccf4c2614294dea63f1bf5eccd95f37a04
 SHA512 
aac3dfed21919682afa688b7315eeea012c5d496aad163b801021ed81d6056362d149745dcf48a99d139909c2ec796ce56bd4e63adb103d746ad89c691ea7779

diff --git a/app-text/a2ps/a2ps-4.15.4.ebuild b/app-text/a2ps/a2ps-4.15.4.ebuild
new file mode 100644
index ..db63721729f2
--- /dev/null
+++ b/app-text/a2ps/a2ps-4.15.4.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools elisp-common
+
+DESCRIPTION="Any to PostScript filter"
+HOMEPAGE="https://www.gnu.org/software/a2ps/;
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="cjk emacs latex nls static-libs vanilla"
+
+# a2ps-lpr-wrapper needs bash
+RDEPEND="
+   app-text/ghostscript-gpl
+   app-text/libpaper:=
+   >=app-text/psutils-1.17
+   app-text/wdiff
+   app-shells/bash:*
+   dev-libs/boehm-gc
+   >=sys-apps/coreutils-6.10-r1
+   emacs? ( >=app-editors/emacs-23.1:* )
+   latex? ( virtual/latex-base )
+   nls? ( virtual/libintl )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   app-alternatives/yacc
+   >=dev-util/gperf-2.7.2
+   nls? ( sys-devel/gettext )
+"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+   default
+
+   use vanilla || eapply "${FILESDIR}"/${PN}-4.15-stdout.patch
+
+   eautoreconf
+}
+
+src_configure() {
+   export LANG=C LC_ALL=C
+
+   econf \
+   --enable-shared \
+   $(use_enable static-libs static) \
+   --sysconfdir="${EPREFIX}"/etc/a2ps \
+   $(use_enable nls) \
+   COM_netscape=no \
+   COM_acroread=no \
+   $(usev !latex COM_latex=no) \
+   $(usev !emacs EMACS=no)
+}
+
+src_install() {
+   emake \
+   DESTDIR="${D}" \
+   lispdir="${EPREFIX}${SITELISP}"/${PN} \
+   install
+
+   newdoc "${ED}"/usr/share/a2ps/README README.a2ps
+   newdoc "${ED}"/usr/share/a2ps/ppd/README README.a2ps.ppd
+   newdoc "${ED}"/usr/share/ogonkify/README README.ogonkify
+
+   rm -f "${ED}"/usr/share/{a2ps,a2ps/ppd,ogonkify}/README || die
+
+   find "${ED}" -name '*.la' -delete || die
+
+   use emacs && elisp-site-file-install "${FILESDIR}"/${SITEFILE}
+
+   dodoc ANNOUNCE AUTHORS ChangeLog FAQ NEWS README* THANKS TODO
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+   use emacs && elisp-site-regen
+}



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2023-03-26 Thread Sam James
commit: 3b36421ee0aa1573730ff8b667eabd246ed28545
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 27 01:05:09 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 27 01:05:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b36421e

app-text/a2ps: add 4.15.3

Signed-off-by: Sam James  gentoo.org>

 app-text/a2ps/Manifest   |  1 +
 app-text/a2ps/a2ps-4.15.3.ebuild | 86 
 2 files changed, 87 insertions(+)

diff --git a/app-text/a2ps/Manifest b/app-text/a2ps/Manifest
index 7957e86901f0..c7905bba9e4c 100644
--- a/app-text/a2ps/Manifest
+++ b/app-text/a2ps/Manifest
@@ -1,3 +1,4 @@
 DIST a2ps-4.14-ja_nls.patch.gz 27576 BLAKE2B 
7300971fb76f6c8d2b0e5ffa519cf6064519a33f24430b9894e43778dff5b78f7cf7e2b9fe1e98fb475f452b39ccc29f88f579bbe1922ac3ef70775a05591b32
 SHA512 
f02f553dd9d9dbd9dfe41ebfe103493000aa4e9de5634c94e7453f73b66d88fea6b0010095913a4a99c7285990a1df1ebcc39da451b2b34f96b0c191112b125f
 DIST a2ps-4.14.tar.gz 2552507 BLAKE2B 
cd15a2b85f54f8bfb92adf9f4cf2c3c29091e528ae8072d0e905c58cc94caf55b76ac3e37891f8a0bc0909a177c5ee434fe5aaab3625a2c14127dabad8b506ed
 SHA512 
fd6ac8ab47d789114c283e8ca508f7f56feabd1a189f4ac772cad9e6be7e3791e210892cfffd04ad1d39efe4b15386b2e61bf4cd56b70ed581c0554f36bfe06f
 DIST a2ps-4.15.2.tar.gz 3600923 BLAKE2B 
37d6dd76578301a629a4171e194cc34836b393ef293193191b2a4e3c5635c154b0d380f921e3862cad64e468108105a669c89e76ec8baa915587f8fff8af8aa9
 SHA512 
637bda87c7e8d59d923428398d0d67066c700e7e37d91cf3408bfe38f3367afdc651a8248984512fbe71e0d1cb07cb4a348816650748e1fbde52625e8e055a70
+DIST a2ps-4.15.3.tar.gz 3601424 BLAKE2B 
6a3a94d8ee2ff6ffabd3b4784b6b69fe1ba91d66b947de57145d952312deeab0d883714b19a5aab69c9cca6818b4c00e6efc69edf0bc3ee0a7ee56ac4c65491b
 SHA512 
41f0590c5f794af767b57bfe2eeea105b73232ea9a9fcf87380d93cb4ccaaf652c69990bcb06d1da5f398f4c7d0ab6d23d9c3f5b6a85c37f36e72dc03e7ddc2a

diff --git a/app-text/a2ps/a2ps-4.15.3.ebuild b/app-text/a2ps/a2ps-4.15.3.ebuild
new file mode 100644
index ..db63721729f2
--- /dev/null
+++ b/app-text/a2ps/a2ps-4.15.3.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools elisp-common
+
+DESCRIPTION="Any to PostScript filter"
+HOMEPAGE="https://www.gnu.org/software/a2ps/;
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="cjk emacs latex nls static-libs vanilla"
+
+# a2ps-lpr-wrapper needs bash
+RDEPEND="
+   app-text/ghostscript-gpl
+   app-text/libpaper:=
+   >=app-text/psutils-1.17
+   app-text/wdiff
+   app-shells/bash:*
+   dev-libs/boehm-gc
+   >=sys-apps/coreutils-6.10-r1
+   emacs? ( >=app-editors/emacs-23.1:* )
+   latex? ( virtual/latex-base )
+   nls? ( virtual/libintl )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   app-alternatives/yacc
+   >=dev-util/gperf-2.7.2
+   nls? ( sys-devel/gettext )
+"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+   default
+
+   use vanilla || eapply "${FILESDIR}"/${PN}-4.15-stdout.patch
+
+   eautoreconf
+}
+
+src_configure() {
+   export LANG=C LC_ALL=C
+
+   econf \
+   --enable-shared \
+   $(use_enable static-libs static) \
+   --sysconfdir="${EPREFIX}"/etc/a2ps \
+   $(use_enable nls) \
+   COM_netscape=no \
+   COM_acroread=no \
+   $(usev !latex COM_latex=no) \
+   $(usev !emacs EMACS=no)
+}
+
+src_install() {
+   emake \
+   DESTDIR="${D}" \
+   lispdir="${EPREFIX}${SITELISP}"/${PN} \
+   install
+
+   newdoc "${ED}"/usr/share/a2ps/README README.a2ps
+   newdoc "${ED}"/usr/share/a2ps/ppd/README README.a2ps.ppd
+   newdoc "${ED}"/usr/share/ogonkify/README README.ogonkify
+
+   rm -f "${ED}"/usr/share/{a2ps,a2ps/ppd,ogonkify}/README || die
+
+   find "${ED}" -name '*.la' -delete || die
+
+   use emacs && elisp-site-file-install "${FILESDIR}"/${SITEFILE}
+
+   dodoc ANNOUNCE AUTHORS ChangeLog FAQ NEWS README* THANKS TODO
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+   use emacs && elisp-site-regen
+}



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2023-03-22 Thread Sam James
commit: 759a99c873d13f47c8bcc685882528b0c3978068
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 22 06:01:02 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 22 06:01:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=759a99c8

app-text/a2ps: drop 4.15.1

Signed-off-by: Sam James  gentoo.org>

 app-text/a2ps/Manifest   |  1 -
 app-text/a2ps/a2ps-4.15.1.ebuild | 86 
 2 files changed, 87 deletions(-)

diff --git a/app-text/a2ps/Manifest b/app-text/a2ps/Manifest
index 3c28c5f929e6..7957e86901f0 100644
--- a/app-text/a2ps/Manifest
+++ b/app-text/a2ps/Manifest
@@ -1,4 +1,3 @@
 DIST a2ps-4.14-ja_nls.patch.gz 27576 BLAKE2B 
7300971fb76f6c8d2b0e5ffa519cf6064519a33f24430b9894e43778dff5b78f7cf7e2b9fe1e98fb475f452b39ccc29f88f579bbe1922ac3ef70775a05591b32
 SHA512 
f02f553dd9d9dbd9dfe41ebfe103493000aa4e9de5634c94e7453f73b66d88fea6b0010095913a4a99c7285990a1df1ebcc39da451b2b34f96b0c191112b125f
 DIST a2ps-4.14.tar.gz 2552507 BLAKE2B 
cd15a2b85f54f8bfb92adf9f4cf2c3c29091e528ae8072d0e905c58cc94caf55b76ac3e37891f8a0bc0909a177c5ee434fe5aaab3625a2c14127dabad8b506ed
 SHA512 
fd6ac8ab47d789114c283e8ca508f7f56feabd1a189f4ac772cad9e6be7e3791e210892cfffd04ad1d39efe4b15386b2e61bf4cd56b70ed581c0554f36bfe06f
-DIST a2ps-4.15.1.tar.gz 3598826 BLAKE2B 
a205f1c5936329eda0768e1494aba62710ce6eccbdfc695f69d65e4c1cf0b84d6f52dd1c1b32b3aa55a037a37f783cb74cf9d2f3b63cffb07beb0bc15fe7303f
 SHA512 
ed58bd03b9390f44b03ae2458bb94655ef0597f11aa89a2d778b14f03fba4d0e0272795d2f968ae304be46d7b862a2f0ce1dc82328d71a02b0293b23ec8b6fa5
 DIST a2ps-4.15.2.tar.gz 3600923 BLAKE2B 
37d6dd76578301a629a4171e194cc34836b393ef293193191b2a4e3c5635c154b0d380f921e3862cad64e468108105a669c89e76ec8baa915587f8fff8af8aa9
 SHA512 
637bda87c7e8d59d923428398d0d67066c700e7e37d91cf3408bfe38f3367afdc651a8248984512fbe71e0d1cb07cb4a348816650748e1fbde52625e8e055a70

diff --git a/app-text/a2ps/a2ps-4.15.1.ebuild b/app-text/a2ps/a2ps-4.15.1.ebuild
deleted file mode 100644
index db63721729f2..
--- a/app-text/a2ps/a2ps-4.15.1.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools elisp-common
-
-DESCRIPTION="Any to PostScript filter"
-HOMEPAGE="https://www.gnu.org/software/a2ps/;
-SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="cjk emacs latex nls static-libs vanilla"
-
-# a2ps-lpr-wrapper needs bash
-RDEPEND="
-   app-text/ghostscript-gpl
-   app-text/libpaper:=
-   >=app-text/psutils-1.17
-   app-text/wdiff
-   app-shells/bash:*
-   dev-libs/boehm-gc
-   >=sys-apps/coreutils-6.10-r1
-   emacs? ( >=app-editors/emacs-23.1:* )
-   latex? ( virtual/latex-base )
-   nls? ( virtual/libintl )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   app-alternatives/yacc
-   >=dev-util/gperf-2.7.2
-   nls? ( sys-devel/gettext )
-"
-
-SITEFILE="50${PN}-gentoo.el"
-
-src_prepare() {
-   default
-
-   use vanilla || eapply "${FILESDIR}"/${PN}-4.15-stdout.patch
-
-   eautoreconf
-}
-
-src_configure() {
-   export LANG=C LC_ALL=C
-
-   econf \
-   --enable-shared \
-   $(use_enable static-libs static) \
-   --sysconfdir="${EPREFIX}"/etc/a2ps \
-   $(use_enable nls) \
-   COM_netscape=no \
-   COM_acroread=no \
-   $(usev !latex COM_latex=no) \
-   $(usev !emacs EMACS=no)
-}
-
-src_install() {
-   emake \
-   DESTDIR="${D}" \
-   lispdir="${EPREFIX}${SITELISP}"/${PN} \
-   install
-
-   newdoc "${ED}"/usr/share/a2ps/README README.a2ps
-   newdoc "${ED}"/usr/share/a2ps/ppd/README README.a2ps.ppd
-   newdoc "${ED}"/usr/share/ogonkify/README README.ogonkify
-
-   rm -f "${ED}"/usr/share/{a2ps,a2ps/ppd,ogonkify}/README || die
-
-   find "${ED}" -name '*.la' -delete || die
-
-   use emacs && elisp-site-file-install "${FILESDIR}"/${SITEFILE}
-
-   dodoc ANNOUNCE AUTHORS ChangeLog FAQ NEWS README* THANKS TODO
-}
-
-pkg_postinst() {
-   use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
-   use emacs && elisp-site-regen
-}



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2023-03-19 Thread Sam James
commit: b5dd614a53d66efe949ecf89960144373c13e827
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar 19 22:06:31 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 19 22:06:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5dd614a

app-text/a2ps: add 4.15.2

Signed-off-by: Sam James  gentoo.org>

 app-text/a2ps/Manifest   |  1 +
 app-text/a2ps/a2ps-4.15.2.ebuild | 86 
 2 files changed, 87 insertions(+)

diff --git a/app-text/a2ps/Manifest b/app-text/a2ps/Manifest
index 51b484c868f4..3c28c5f929e6 100644
--- a/app-text/a2ps/Manifest
+++ b/app-text/a2ps/Manifest
@@ -1,3 +1,4 @@
 DIST a2ps-4.14-ja_nls.patch.gz 27576 BLAKE2B 
7300971fb76f6c8d2b0e5ffa519cf6064519a33f24430b9894e43778dff5b78f7cf7e2b9fe1e98fb475f452b39ccc29f88f579bbe1922ac3ef70775a05591b32
 SHA512 
f02f553dd9d9dbd9dfe41ebfe103493000aa4e9de5634c94e7453f73b66d88fea6b0010095913a4a99c7285990a1df1ebcc39da451b2b34f96b0c191112b125f
 DIST a2ps-4.14.tar.gz 2552507 BLAKE2B 
cd15a2b85f54f8bfb92adf9f4cf2c3c29091e528ae8072d0e905c58cc94caf55b76ac3e37891f8a0bc0909a177c5ee434fe5aaab3625a2c14127dabad8b506ed
 SHA512 
fd6ac8ab47d789114c283e8ca508f7f56feabd1a189f4ac772cad9e6be7e3791e210892cfffd04ad1d39efe4b15386b2e61bf4cd56b70ed581c0554f36bfe06f
 DIST a2ps-4.15.1.tar.gz 3598826 BLAKE2B 
a205f1c5936329eda0768e1494aba62710ce6eccbdfc695f69d65e4c1cf0b84d6f52dd1c1b32b3aa55a037a37f783cb74cf9d2f3b63cffb07beb0bc15fe7303f
 SHA512 
ed58bd03b9390f44b03ae2458bb94655ef0597f11aa89a2d778b14f03fba4d0e0272795d2f968ae304be46d7b862a2f0ce1dc82328d71a02b0293b23ec8b6fa5
+DIST a2ps-4.15.2.tar.gz 3600923 BLAKE2B 
37d6dd76578301a629a4171e194cc34836b393ef293193191b2a4e3c5635c154b0d380f921e3862cad64e468108105a669c89e76ec8baa915587f8fff8af8aa9
 SHA512 
637bda87c7e8d59d923428398d0d67066c700e7e37d91cf3408bfe38f3367afdc651a8248984512fbe71e0d1cb07cb4a348816650748e1fbde52625e8e055a70

diff --git a/app-text/a2ps/a2ps-4.15.2.ebuild b/app-text/a2ps/a2ps-4.15.2.ebuild
new file mode 100644
index ..db63721729f2
--- /dev/null
+++ b/app-text/a2ps/a2ps-4.15.2.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools elisp-common
+
+DESCRIPTION="Any to PostScript filter"
+HOMEPAGE="https://www.gnu.org/software/a2ps/;
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="cjk emacs latex nls static-libs vanilla"
+
+# a2ps-lpr-wrapper needs bash
+RDEPEND="
+   app-text/ghostscript-gpl
+   app-text/libpaper:=
+   >=app-text/psutils-1.17
+   app-text/wdiff
+   app-shells/bash:*
+   dev-libs/boehm-gc
+   >=sys-apps/coreutils-6.10-r1
+   emacs? ( >=app-editors/emacs-23.1:* )
+   latex? ( virtual/latex-base )
+   nls? ( virtual/libintl )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   app-alternatives/yacc
+   >=dev-util/gperf-2.7.2
+   nls? ( sys-devel/gettext )
+"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+   default
+
+   use vanilla || eapply "${FILESDIR}"/${PN}-4.15-stdout.patch
+
+   eautoreconf
+}
+
+src_configure() {
+   export LANG=C LC_ALL=C
+
+   econf \
+   --enable-shared \
+   $(use_enable static-libs static) \
+   --sysconfdir="${EPREFIX}"/etc/a2ps \
+   $(use_enable nls) \
+   COM_netscape=no \
+   COM_acroread=no \
+   $(usev !latex COM_latex=no) \
+   $(usev !emacs EMACS=no)
+}
+
+src_install() {
+   emake \
+   DESTDIR="${D}" \
+   lispdir="${EPREFIX}${SITELISP}"/${PN} \
+   install
+
+   newdoc "${ED}"/usr/share/a2ps/README README.a2ps
+   newdoc "${ED}"/usr/share/a2ps/ppd/README README.a2ps.ppd
+   newdoc "${ED}"/usr/share/ogonkify/README README.ogonkify
+
+   rm -f "${ED}"/usr/share/{a2ps,a2ps/ppd,ogonkify}/README || die
+
+   find "${ED}" -name '*.la' -delete || die
+
+   use emacs && elisp-site-file-install "${FILESDIR}"/${SITEFILE}
+
+   dodoc ANNOUNCE AUTHORS ChangeLog FAQ NEWS README* THANKS TODO
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+   use emacs && elisp-site-regen
+}



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2023-03-13 Thread Sam James
commit: 763a855a07814c28459116c5a6bd9785d779a4e8
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 13 22:10:39 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 13 22:10:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=763a855a

app-text/a2ps: drop 4.15

Short-lived release replaced by 4.15.1.

Signed-off-by: Sam James  gentoo.org>

 app-text/a2ps/Manifest |  1 -
 app-text/a2ps/a2ps-4.15.ebuild | 86 --
 2 files changed, 87 deletions(-)

diff --git a/app-text/a2ps/Manifest b/app-text/a2ps/Manifest
index 666d17ee80e7..51b484c868f4 100644
--- a/app-text/a2ps/Manifest
+++ b/app-text/a2ps/Manifest
@@ -1,4 +1,3 @@
 DIST a2ps-4.14-ja_nls.patch.gz 27576 BLAKE2B 
7300971fb76f6c8d2b0e5ffa519cf6064519a33f24430b9894e43778dff5b78f7cf7e2b9fe1e98fb475f452b39ccc29f88f579bbe1922ac3ef70775a05591b32
 SHA512 
f02f553dd9d9dbd9dfe41ebfe103493000aa4e9de5634c94e7453f73b66d88fea6b0010095913a4a99c7285990a1df1ebcc39da451b2b34f96b0c191112b125f
 DIST a2ps-4.14.tar.gz 2552507 BLAKE2B 
cd15a2b85f54f8bfb92adf9f4cf2c3c29091e528ae8072d0e905c58cc94caf55b76ac3e37891f8a0bc0909a177c5ee434fe5aaab3625a2c14127dabad8b506ed
 SHA512 
fd6ac8ab47d789114c283e8ca508f7f56feabd1a189f4ac772cad9e6be7e3791e210892cfffd04ad1d39efe4b15386b2e61bf4cd56b70ed581c0554f36bfe06f
 DIST a2ps-4.15.1.tar.gz 3598826 BLAKE2B 
a205f1c5936329eda0768e1494aba62710ce6eccbdfc695f69d65e4c1cf0b84d6f52dd1c1b32b3aa55a037a37f783cb74cf9d2f3b63cffb07beb0bc15fe7303f
 SHA512 
ed58bd03b9390f44b03ae2458bb94655ef0597f11aa89a2d778b14f03fba4d0e0272795d2f968ae304be46d7b862a2f0ce1dc82328d71a02b0293b23ec8b6fa5
-DIST a2ps-4.15.tar.gz 3723299 BLAKE2B 
b68c3939ad7af5eeb48c85fe6e36e350ce9d0081181bec4374441a1ed9dea6cf716fd3c30a29c06e987d7c26304f2e21ba9b258bb6ca591a6c68180faca8edd8
 SHA512 
4d88ed4c65c636aa7640e01cf19c259775a810eb91495dc39726554c8ab3b89a105d947c3b357a5b16e5d120b5530587b1838a99829862c9c081b5ae1b354798

diff --git a/app-text/a2ps/a2ps-4.15.ebuild b/app-text/a2ps/a2ps-4.15.ebuild
deleted file mode 100644
index a8e2110dcdd5..
--- a/app-text/a2ps/a2ps-4.15.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools elisp-common
-
-DESCRIPTION="Any to PostScript filter"
-HOMEPAGE="https://www.gnu.org/software/a2ps/;
-SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
-S="${WORKDIR}/${PN}-${PV:0:4}"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="cjk emacs latex nls static-libs vanilla"
-
-# a2ps-lpr-wrapper needs bash
-RDEPEND="
-   app-text/ghostscript-gpl
-   app-text/libpaper:=
-   >=app-text/psutils-1.17
-   app-text/wdiff
-   app-shells/bash:*
-   >=sys-apps/coreutils-6.10-r1
-   emacs? ( >=app-editors/emacs-23.1:* )
-   latex? ( virtual/latex-base )
-   nls? ( virtual/libintl )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   app-alternatives/yacc
-   >=dev-util/gperf-2.7.2
-   nls? ( sys-devel/gettext )
-"
-
-SITEFILE="50${PN}-gentoo.el"
-
-src_prepare() {
-   default
-
-   use vanilla || eapply "${FILESDIR}"/${PN}-4.15-stdout.patch
-
-   eautoreconf
-}
-
-src_configure() {
-   export LANG=C LC_ALL=C
-
-   econf \
-   --enable-shared \
-   $(use_enable static-libs static) \
-   --sysconfdir="${EPREFIX}"/etc/a2ps \
-   $(use_enable nls) \
-   COM_netscape=no \
-   COM_acroread=no \
-   $(usev !latex COM_latex=no) \
-   $(usev !emacs EMACS=no)
-}
-
-src_install() {
-   emake \
-   DESTDIR="${D}" \
-   lispdir="${EPREFIX}${SITELISP}"/${PN} \
-   install
-
-   newdoc "${ED}"/usr/share/a2ps/README README.a2ps
-   newdoc "${ED}"/usr/share/a2ps/ppd/README README.a2ps.ppd
-   newdoc "${ED}"/usr/share/ogonkify/README README.ogonkify
-
-   rm -f "${ED}"/usr/share/{a2ps,a2ps/ppd,ogonkify}/README || die
-
-   find "${ED}" -name '*.la' -delete || die
-
-   use emacs && elisp-site-file-install "${FILESDIR}"/${SITEFILE}
-
-   dodoc ANNOUNCE AUTHORS ChangeLog FAQ NEWS README* THANKS TODO
-}
-
-pkg_postinst() {
-   use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
-   use emacs && elisp-site-regen
-}



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2023-03-13 Thread Sam James
commit: 7e4a5be6b444994aee29fa163ca0ee333107e78a
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 13 22:10:30 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 13 22:10:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e4a5be6

app-text/a2ps: add 4.15.1

Closes: https://bugs.gentoo.org/900743
Signed-off-by: Sam James  gentoo.org>

 app-text/a2ps/Manifest   |  1 +
 app-text/a2ps/a2ps-4.15.1.ebuild | 86 
 2 files changed, 87 insertions(+)

diff --git a/app-text/a2ps/Manifest b/app-text/a2ps/Manifest
index 6c5b905a04ee..666d17ee80e7 100644
--- a/app-text/a2ps/Manifest
+++ b/app-text/a2ps/Manifest
@@ -1,3 +1,4 @@
 DIST a2ps-4.14-ja_nls.patch.gz 27576 BLAKE2B 
7300971fb76f6c8d2b0e5ffa519cf6064519a33f24430b9894e43778dff5b78f7cf7e2b9fe1e98fb475f452b39ccc29f88f579bbe1922ac3ef70775a05591b32
 SHA512 
f02f553dd9d9dbd9dfe41ebfe103493000aa4e9de5634c94e7453f73b66d88fea6b0010095913a4a99c7285990a1df1ebcc39da451b2b34f96b0c191112b125f
 DIST a2ps-4.14.tar.gz 2552507 BLAKE2B 
cd15a2b85f54f8bfb92adf9f4cf2c3c29091e528ae8072d0e905c58cc94caf55b76ac3e37891f8a0bc0909a177c5ee434fe5aaab3625a2c14127dabad8b506ed
 SHA512 
fd6ac8ab47d789114c283e8ca508f7f56feabd1a189f4ac772cad9e6be7e3791e210892cfffd04ad1d39efe4b15386b2e61bf4cd56b70ed581c0554f36bfe06f
+DIST a2ps-4.15.1.tar.gz 3598826 BLAKE2B 
a205f1c5936329eda0768e1494aba62710ce6eccbdfc695f69d65e4c1cf0b84d6f52dd1c1b32b3aa55a037a37f783cb74cf9d2f3b63cffb07beb0bc15fe7303f
 SHA512 
ed58bd03b9390f44b03ae2458bb94655ef0597f11aa89a2d778b14f03fba4d0e0272795d2f968ae304be46d7b862a2f0ce1dc82328d71a02b0293b23ec8b6fa5
 DIST a2ps-4.15.tar.gz 3723299 BLAKE2B 
b68c3939ad7af5eeb48c85fe6e36e350ce9d0081181bec4374441a1ed9dea6cf716fd3c30a29c06e987d7c26304f2e21ba9b258bb6ca591a6c68180faca8edd8
 SHA512 
4d88ed4c65c636aa7640e01cf19c259775a810eb91495dc39726554c8ab3b89a105d947c3b357a5b16e5d120b5530587b1838a99829862c9c081b5ae1b354798

diff --git a/app-text/a2ps/a2ps-4.15.1.ebuild b/app-text/a2ps/a2ps-4.15.1.ebuild
new file mode 100644
index ..db63721729f2
--- /dev/null
+++ b/app-text/a2ps/a2ps-4.15.1.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools elisp-common
+
+DESCRIPTION="Any to PostScript filter"
+HOMEPAGE="https://www.gnu.org/software/a2ps/;
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="cjk emacs latex nls static-libs vanilla"
+
+# a2ps-lpr-wrapper needs bash
+RDEPEND="
+   app-text/ghostscript-gpl
+   app-text/libpaper:=
+   >=app-text/psutils-1.17
+   app-text/wdiff
+   app-shells/bash:*
+   dev-libs/boehm-gc
+   >=sys-apps/coreutils-6.10-r1
+   emacs? ( >=app-editors/emacs-23.1:* )
+   latex? ( virtual/latex-base )
+   nls? ( virtual/libintl )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   app-alternatives/yacc
+   >=dev-util/gperf-2.7.2
+   nls? ( sys-devel/gettext )
+"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+   default
+
+   use vanilla || eapply "${FILESDIR}"/${PN}-4.15-stdout.patch
+
+   eautoreconf
+}
+
+src_configure() {
+   export LANG=C LC_ALL=C
+
+   econf \
+   --enable-shared \
+   $(use_enable static-libs static) \
+   --sysconfdir="${EPREFIX}"/etc/a2ps \
+   $(use_enable nls) \
+   COM_netscape=no \
+   COM_acroread=no \
+   $(usev !latex COM_latex=no) \
+   $(usev !emacs EMACS=no)
+}
+
+src_install() {
+   emake \
+   DESTDIR="${D}" \
+   lispdir="${EPREFIX}${SITELISP}"/${PN} \
+   install
+
+   newdoc "${ED}"/usr/share/a2ps/README README.a2ps
+   newdoc "${ED}"/usr/share/a2ps/ppd/README README.a2ps.ppd
+   newdoc "${ED}"/usr/share/ogonkify/README README.ogonkify
+
+   rm -f "${ED}"/usr/share/{a2ps,a2ps/ppd,ogonkify}/README || die
+
+   find "${ED}" -name '*.la' -delete || die
+
+   use emacs && elisp-site-file-install "${FILESDIR}"/${SITEFILE}
+
+   dodoc ANNOUNCE AUTHORS ChangeLog FAQ NEWS README* THANKS TODO
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+   use emacs && elisp-site-regen
+}



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/, app-text/a2ps/files/

2023-03-10 Thread Sam James
commit: ef4cab9962c42b9572017becdb7bbc73cee1c2c4
Author: Sam James  gentoo  org>
AuthorDate: Fri Mar 10 08:05:41 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar 10 08:07:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef4cab99

app-text/a2ps: add 4.15

Signed-off-by: Sam James  gentoo.org>

 app-text/a2ps/Manifest |  1 +
 app-text/a2ps/a2ps-4.15.ebuild | 86 ++
 app-text/a2ps/files/a2ps-4.14-stdout.patch |  3 +
 ...ps-4.14-stdout.patch => a2ps-4.15-stdout.patch} |  9 ++-
 4 files changed, 96 insertions(+), 3 deletions(-)

diff --git a/app-text/a2ps/Manifest b/app-text/a2ps/Manifest
index a77cfa5fe179..6c5b905a04ee 100644
--- a/app-text/a2ps/Manifest
+++ b/app-text/a2ps/Manifest
@@ -1,2 +1,3 @@
 DIST a2ps-4.14-ja_nls.patch.gz 27576 BLAKE2B 
7300971fb76f6c8d2b0e5ffa519cf6064519a33f24430b9894e43778dff5b78f7cf7e2b9fe1e98fb475f452b39ccc29f88f579bbe1922ac3ef70775a05591b32
 SHA512 
f02f553dd9d9dbd9dfe41ebfe103493000aa4e9de5634c94e7453f73b66d88fea6b0010095913a4a99c7285990a1df1ebcc39da451b2b34f96b0c191112b125f
 DIST a2ps-4.14.tar.gz 2552507 BLAKE2B 
cd15a2b85f54f8bfb92adf9f4cf2c3c29091e528ae8072d0e905c58cc94caf55b76ac3e37891f8a0bc0909a177c5ee434fe5aaab3625a2c14127dabad8b506ed
 SHA512 
fd6ac8ab47d789114c283e8ca508f7f56feabd1a189f4ac772cad9e6be7e3791e210892cfffd04ad1d39efe4b15386b2e61bf4cd56b70ed581c0554f36bfe06f
+DIST a2ps-4.15.tar.gz 3723299 BLAKE2B 
b68c3939ad7af5eeb48c85fe6e36e350ce9d0081181bec4374441a1ed9dea6cf716fd3c30a29c06e987d7c26304f2e21ba9b258bb6ca591a6c68180faca8edd8
 SHA512 
4d88ed4c65c636aa7640e01cf19c259775a810eb91495dc39726554c8ab3b89a105d947c3b357a5b16e5d120b5530587b1838a99829862c9c081b5ae1b354798

diff --git a/app-text/a2ps/a2ps-4.15.ebuild b/app-text/a2ps/a2ps-4.15.ebuild
new file mode 100644
index ..a8e2110dcdd5
--- /dev/null
+++ b/app-text/a2ps/a2ps-4.15.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools elisp-common
+
+DESCRIPTION="Any to PostScript filter"
+HOMEPAGE="https://www.gnu.org/software/a2ps/;
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+S="${WORKDIR}/${PN}-${PV:0:4}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="cjk emacs latex nls static-libs vanilla"
+
+# a2ps-lpr-wrapper needs bash
+RDEPEND="
+   app-text/ghostscript-gpl
+   app-text/libpaper:=
+   >=app-text/psutils-1.17
+   app-text/wdiff
+   app-shells/bash:*
+   >=sys-apps/coreutils-6.10-r1
+   emacs? ( >=app-editors/emacs-23.1:* )
+   latex? ( virtual/latex-base )
+   nls? ( virtual/libintl )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   app-alternatives/yacc
+   >=dev-util/gperf-2.7.2
+   nls? ( sys-devel/gettext )
+"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+   default
+
+   use vanilla || eapply "${FILESDIR}"/${PN}-4.15-stdout.patch
+
+   eautoreconf
+}
+
+src_configure() {
+   export LANG=C LC_ALL=C
+
+   econf \
+   --enable-shared \
+   $(use_enable static-libs static) \
+   --sysconfdir="${EPREFIX}"/etc/a2ps \
+   $(use_enable nls) \
+   COM_netscape=no \
+   COM_acroread=no \
+   $(usev !latex COM_latex=no) \
+   $(usev !emacs EMACS=no)
+}
+
+src_install() {
+   emake \
+   DESTDIR="${D}" \
+   lispdir="${EPREFIX}${SITELISP}"/${PN} \
+   install
+
+   newdoc "${ED}"/usr/share/a2ps/README README.a2ps
+   newdoc "${ED}"/usr/share/a2ps/ppd/README README.a2ps.ppd
+   newdoc "${ED}"/usr/share/ogonkify/README README.ogonkify
+
+   rm -f "${ED}"/usr/share/{a2ps,a2ps/ppd,ogonkify}/README || die
+
+   find "${ED}" -name '*.la' -delete || die
+
+   use emacs && elisp-site-file-install "${FILESDIR}"/${SITEFILE}
+
+   dodoc ANNOUNCE AUTHORS ChangeLog FAQ NEWS README* THANKS TODO
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+   use emacs && elisp-site-regen
+}

diff --git a/app-text/a2ps/files/a2ps-4.14-stdout.patch 
b/app-text/a2ps/files/a2ps-4.14-stdout.patch
index 6661b0e26f03..5ca7649ad3e7 100644
--- a/app-text/a2ps/files/a2ps-4.14-stdout.patch
+++ b/app-text/a2ps/files/a2ps-4.14-stdout.patch
@@ -1,3 +1,6 @@
+https://bugs.gentoo.org/47691
+https://bugs.gentoo.org/47764
+https://lists.gnu.org/archive/html/bug-a2ps/2001-05/msg0.html
 --- a2ps-4.14/lib/printers.c
 +++ a2ps-4.14/lib/printers.c
 @@ -315,8 +315,8 @@

diff --git a/app-text/a2ps/files/a2ps-4.14-stdout.patch 
b/app-text/a2ps/files/a2ps-4.15-stdout.patch
similarity index 57%
copy from app-text/a2ps/files/a2ps-4.14-stdout.patch
copy to app-text/a2ps/files/a2ps-4.15-stdout.patch
index 6661b0e26f03..2ffb9524 100644
--- 

[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2022-12-25 Thread Ulrich Müller
commit: a57954e1162d125bc48fef2221ceefb22ec1c4e2
Author: Ulrich Müller  gentoo  org>
AuthorDate: Sun Dec 25 22:44:05 2022 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Sun Dec 25 22:44:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a57954e1

app-text/a2ps: drop 4.14-r7

Signed-off-by: Ulrich Müller  gentoo.org>

 app-text/a2ps/a2ps-4.14-r7.ebuild | 144 --
 1 file changed, 144 deletions(-)

diff --git a/app-text/a2ps/a2ps-4.14-r7.ebuild 
b/app-text/a2ps/a2ps-4.14-r7.ebuild
deleted file mode 100644
index f8b03be1e0b0..
--- a/app-text/a2ps/a2ps-4.14-r7.ebuild
+++ /dev/null
@@ -1,144 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit autotools elisp-common flag-o-matic
-
-DESCRIPTION="Any to PostScript filter"
-HOMEPAGE="https://www.gnu.org/software/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 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="cjk emacs latex nls static-libs vanilla"
-
-RESTRICT=test
-
-RDEPEND="app-text/ghostscript-gpl
-   app-text/libpaper:=
-   >=app-text/psutils-1.17
-   app-text/wdiff
-   >=sys-apps/coreutils-6.10-r1
-   emacs? ( >=app-editors/emacs-23.1:* )
-   latex? ( virtual/latex-base )
-   nls? ( virtual/libintl )"
-DEPEND="${RDEPEND}
-   >=dev-util/gperf-2.7.2
-   app-alternatives/yacc
-   nls? ( sys-devel/gettext )"
-
-SITEFILE=50${PN}-gentoo.el
-
-S=${WORKDIR}/${PN}-${PV:0:4}
-
-src_prepare() {
-   default
-
-   eapply "${FILESDIR}"/${PN}-4.13c-locale-gentoo.diff
-   use vanilla || eapply "${FILESDIR}"/${P}-stdout.patch
-   if use cjk; then
-   eapply "${WORKDIR}"/${P}-ja_nls.patch
-   # bug #335803
-   eapply -p0 "${FILESDIR}"/${P}-ja-cleanup.patch
-   else
-   eapply "${FILESDIR}"/${P}-cleanup.patch
-   fi
-
-   # fix fnmatch replacement, bug #134546
-   eapply "${FILESDIR}"/${PN}-4.13c-fnmatch-replacement.patch
-
-   # bug #122026
-   eapply "${FILESDIR}"/${P}-psset.patch
-
-   # fix emacs printing, bug #114627
-   eapply "${FILESDIR}"/a2ps-4.13c-emacs.patch
-
-   # fix chmod error, #167670
-   eapply "${FILESDIR}"/a2ps-4.13-manpage-chmod.patch
-
-   # add configure check for mempcpy, bug 216588
-   eapply "${FILESDIR}"/${P}-check-mempcpy.patch
-
-   # fix compilation error due to invalid stpcpy() prototype, bug 216588
-   eapply "${FILESDIR}"/${P}-fix-stpcpy-proto.patch
-
-   # fix compilation error due to obstack.h issue, bug 269638
-   eapply "${FILESDIR}"/${P}-ptrdiff_t.patch
-
-   # fix compilation error due to texinfo 5.x, bug 482748
-   eapply "${FILESDIR}"/${P}-texinfo-5.x.patch
-
-   # fix CVE-2014-0466, bug 506352
-   eapply "${FILESDIR}"/${P}-CVE-2014-0466.patch
-
-   # fix CVE-2001-1593, bug 507024
-   eapply "${FILESDIR}"/${P}-CVE-2001-1593.patch
-
-   # specify encoding explicitly, bug #695918
-   eapply "${FILESDIR}"/${P}-texinfo-6.7-encoding.patch
-
-   # fix building with sys-devel/automake >= 1.12, bug 420503
-   rm -f {.,ogonkify}/aclocal.m4 || die
-   sed -i \
-   -e '/^AM_C_PROTOTYPES/d' \
-   -e '/^AUTOMAKE_OPTIONS.*ansi2knr/d' \
-   -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \
-   -e 's:AM_PROG_CC_STDC:AC_PROG_CC:' \
-   configure.in {contrib/sample,lib,src}/Makefile.am m4/protos.m4 
|| die
-
-   eautoreconf
-}
-
-src_configure() {
-   append-cppflags -DPROTOTYPES #420503
-
-   local myconf="COM_netscape=no COM_acroread=no"
-
-   use emacs || myconf="${myconf} EMACS=no"
-   use latex || myconf="${myconf} COM_latex=no"
-
-   export LANG=C LC_ALL=C
-
-   econf \
-   --enable-shared \
-   $(use_enable static-libs static) \
-   --sysconfdir="${EPREFIX}"/etc/a2ps \
-   $(use_enable nls) \
-   ${myconf}
-}
-
-src_compile() {
-   # parallel make b0rked
-   emake -j1
-}
-
-src_install() {
-   emake \
-   DESTDIR="${D}" \
-   lispdir="${EPREFIX}${SITELISP}"/${PN} \
-   install
-
-   newdoc "${ED}"/usr/share/a2ps/README README.a2ps
-   newdoc "${ED}"/usr/share/a2ps/ppd/README README.a2ps.ppd
-   newdoc "${ED}"/usr/share/ogonkify/README README.ogonkify
-
-   rm -f "${ED}"/usr/share/{a2ps,a2ps/ppd,ogonkify}/README || die
-
-   find "${ED}" -name '*.la' -delete || die
-
-   if use emacs; then
-   elisp-site-file-install "${FILESDIR}"/${SITEFILE} || die
-   fi
-
-   dodoc ANNOUNCE AUTHORS ChangeLog FAQ NEWS README* THANKS TODO
-}
-
-pkg_postinst() {
-   use emacs && elisp-site-regen
-}
-

[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2022-11-25 Thread Arthur Zamarin
commit: 1870fb9967d35693a007ff2f7d406b098551ffde
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Nov 25 10:42:07 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Nov 25 10:42:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1870fb99

app-text/a2ps: Stabilize 4.14-r8 sparc, #882325

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-text/a2ps/a2ps-4.14-r8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.14-r8.ebuild 
b/app-text/a2ps/a2ps-4.14-r8.ebuild
index 023fd9226403..84a95ffe975e 100644
--- a/app-text/a2ps/a2ps-4.14-r8.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r8.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}/${PN}-${PV:0:4}"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="cjk emacs latex nls static-libs vanilla"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2022-11-23 Thread Jakov Smolić
commit: ad84ba5feb76bbc6cde32d26a3771cfc182c96d5
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Nov 23 14:12:36 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Nov 23 14:12:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad84ba5f

app-text/a2ps: Stabilize 4.14-r8 x86, #882325

Signed-off-by: Jakov Smolić  gentoo.org>

 app-text/a2ps/a2ps-4.14-r8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.14-r8.ebuild 
b/app-text/a2ps/a2ps-4.14-r8.ebuild
index 6db6238b1d72..023fd9226403 100644
--- a/app-text/a2ps/a2ps-4.14-r8.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r8.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}/${PN}-${PV:0:4}"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="cjk emacs latex nls static-libs vanilla"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2022-11-23 Thread Jakov Smolić
commit: 2c0a5e046595b8614a21943e5d746a9258ba8410
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Nov 23 13:56:59 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Nov 23 13:56:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c0a5e04

app-text/a2ps: Stabilize 4.14-r8 amd64, #882325

Signed-off-by: Jakov Smolić  gentoo.org>

 app-text/a2ps/a2ps-4.14-r8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.14-r8.ebuild 
b/app-text/a2ps/a2ps-4.14-r8.ebuild
index f99cb9cdc64a..6db6238b1d72 100644
--- a/app-text/a2ps/a2ps-4.14-r8.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r8.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}/${PN}-${PV:0:4}"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="cjk emacs latex nls static-libs vanilla"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2022-11-20 Thread Sam James
commit: 5c35fbe7792ab0d7e5b64dcf22bd2abc614f2445
Author: Sam James  gentoo  org>
AuthorDate: Mon Nov 21 00:47:18 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Nov 21 00:47:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c35fbe7

app-text/a2ps: Stabilize 4.14-r8 ppc64, #882325

Signed-off-by: Sam James  gentoo.org>

 app-text/a2ps/a2ps-4.14-r8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.14-r8.ebuild 
b/app-text/a2ps/a2ps-4.14-r8.ebuild
index 7faaf359f716..f99cb9cdc64a 100644
--- a/app-text/a2ps/a2ps-4.14-r8.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r8.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}/${PN}-${PV:0:4}"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="cjk emacs latex nls static-libs vanilla"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2022-11-20 Thread Sam James
commit: 8ca6d93196c0c346b6e183be0a4a0aad12f694c6
Author: Sam James  gentoo  org>
AuthorDate: Mon Nov 21 00:47:17 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Nov 21 00:47:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ca6d931

app-text/a2ps: Stabilize 4.14-r8 arm, #882325

Signed-off-by: Sam James  gentoo.org>

 app-text/a2ps/a2ps-4.14-r8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.14-r8.ebuild 
b/app-text/a2ps/a2ps-4.14-r8.ebuild
index 12c541774ed3..7faaf359f716 100644
--- a/app-text/a2ps/a2ps-4.14-r8.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r8.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}/${PN}-${PV:0:4}"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha ~amd64 arm ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="cjk emacs latex nls static-libs vanilla"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2022-11-20 Thread Sam James
commit: fc70ad7902f1a7974d0ea2170de44055d75840ac
Author: Sam James  gentoo  org>
AuthorDate: Sun Nov 20 23:42:49 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Nov 20 23:42:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc70ad79

app-text/a2ps: Stabilize 4.14-r8 ppc, #882325

Signed-off-by: Sam James  gentoo.org>

 app-text/a2ps/a2ps-4.14-r8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.14-r8.ebuild 
b/app-text/a2ps/a2ps-4.14-r8.ebuild
index ede532a155af..12c541774ed3 100644
--- a/app-text/a2ps/a2ps-4.14-r8.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r8.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}/${PN}-${PV:0:4}"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="cjk emacs latex nls static-libs vanilla"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/, app-text/a2ps/files/

2022-10-20 Thread Ulrich Müller
commit: f347d04d56baa226e8798a9a094a68d42c8b6149
Author: Ulrich Müller  gentoo  org>
AuthorDate: Thu Oct 20 14:54:19 2022 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Thu Oct 20 15:04:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f347d04d

app-text/a2ps: Some housekeeping of patches

In the long term, these should be moved to a tarball and out of the
Gentoo repository.

Signed-off-by: Ulrich Müller  gentoo.org>

 app-text/a2ps/a2ps-4.14-r7.ebuild  |  4 +-
 app-text/a2ps/a2ps-4.14-r8.ebuild  | 59 +++---
 app-text/a2ps/files/a2ps-4.13-manpage-chmod.patch  |  4 +-
 app-text/a2ps/files/a2ps-4.13c-emacs.patch |  3 ++
 .../files/a2ps-4.13c-fnmatch-replacement.patch |  4 +-
 app-text/a2ps/files/a2ps-4.14-check-mempcpy.patch  |  3 ++
 .../a2ps/files/a2ps-4.14-fix-stpcpy-proto.patch| 15 +++---
 app-text/a2ps/files/a2ps-4.14-psset.patch  |  3 +-
 app-text/a2ps/files/a2ps-4.14-ptrdiff_t.patch  |  4 +-
 ...2ps-4.13-stdout.diff => a2ps-4.14-stdout.patch} |  8 +--
 app-text/a2ps/files/a2ps-4.14-texinfo-5.x.patch|  3 ++
 11 files changed, 50 insertions(+), 60 deletions(-)

diff --git a/app-text/a2ps/a2ps-4.14-r7.ebuild 
b/app-text/a2ps/a2ps-4.14-r7.ebuild
index 5beff0baee31..786c6a6aa41d 100644
--- a/app-text/a2ps/a2ps-4.14-r7.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r7.ebuild
@@ -37,7 +37,7 @@ src_prepare() {
default
 
eapply "${FILESDIR}"/${PN}-4.13c-locale-gentoo.diff
-   use vanilla || eapply -p0 "${FILESDIR}"/${PN}-4.13-stdout.diff
+   use vanilla || eapply "${FILESDIR}"/${P}-stdout.patch
if use cjk; then
eapply "${WORKDIR}"/${P}-ja_nls.patch
# bug #335803
@@ -62,7 +62,7 @@ src_prepare() {
eapply "${FILESDIR}"/${P}-check-mempcpy.patch
 
# fix compilation error due to invalid stpcpy() prototype, bug 216588
-   eapply -p0 "${FILESDIR}"/${P}-fix-stpcpy-proto.patch
+   eapply "${FILESDIR}"/${P}-fix-stpcpy-proto.patch
 
# fix compilation error due to obstack.h issue, bug 269638
eapply "${FILESDIR}"/${P}-ptrdiff_t.patch

diff --git a/app-text/a2ps/a2ps-4.14-r8.ebuild 
b/app-text/a2ps/a2ps-4.14-r8.ebuild
index 3424f0792726..ede532a155af 100644
--- a/app-text/a2ps/a2ps-4.14-r8.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r8.ebuild
@@ -33,11 +33,27 @@ BDEPEND=">=dev-util/gperf-2.7.2
 
 SITEFILE="50${PN}-gentoo.el"
 
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.13c-locale-gentoo.diff
+   "${FILESDIR}"/${PN}-4.13c-fnmatch-replacement.patch
+   "${FILESDIR}"/${P}-psset.patch
+   "${FILESDIR}"/${PN}-4.13c-emacs.patch
+   "${FILESDIR}"/${PN}-4.13-manpage-chmod.patch
+   "${FILESDIR}"/${P}-check-mempcpy.patch
+   "${FILESDIR}"/${P}-fix-stpcpy-proto.patch
+   "${FILESDIR}"/${P}-ptrdiff_t.patch
+   "${FILESDIR}"/${P}-texinfo-5.x.patch
+   "${FILESDIR}"/${P}-CVE-2014-0466.patch
+   "${FILESDIR}"/${P}-CVE-2001-1593.patch
+   "${FILESDIR}"/${P}-texinfo-6.7-encoding.patch
+   "${FILESDIR}"/${P}-function-decl.patch
+   "${FILESDIR}"/${P}-configure.ac.patch
+)
+
 src_prepare() {
default
 
-   eapply "${FILESDIR}"/${PN}-4.13c-locale-gentoo.diff
-   use vanilla || eapply -p0 "${FILESDIR}"/${PN}-4.13-stdout.diff
+   use vanilla || eapply "${FILESDIR}"/${P}-stdout.patch
if use cjk; then
eapply "${WORKDIR}"/${P}-ja_nls.patch
# bug #335803
@@ -46,45 +62,6 @@ src_prepare() {
eapply "${FILESDIR}"/${P}-cleanup.patch
fi
 
-   # fix fnmatch replacement, bug #134546
-   eapply "${FILESDIR}"/${PN}-4.13c-fnmatch-replacement.patch
-
-   # bug #122026
-   eapply "${FILESDIR}"/${P}-psset.patch
-
-   # fix emacs printing, bug #114627
-   eapply "${FILESDIR}"/a2ps-4.13c-emacs.patch
-
-   # fix chmod error, #167670
-   eapply "${FILESDIR}"/a2ps-4.13-manpage-chmod.patch
-
-   # add configure check for mempcpy, bug 216588
-   eapply "${FILESDIR}"/${P}-check-mempcpy.patch
-
-   # fix compilation error due to invalid stpcpy() prototype, bug 216588
-   eapply -p0 "${FILESDIR}"/${P}-fix-stpcpy-proto.patch
-
-   # fix compilation error due to obstack.h issue, bug 269638
-   eapply "${FILESDIR}"/${P}-ptrdiff_t.patch
-
-   # fix compilation error due to texinfo 5.x, bug 482748
-   eapply "${FILESDIR}"/${P}-texinfo-5.x.patch
-
-   # fix CVE-2014-0466, bug 506352
-   eapply "${FILESDIR}"/${P}-CVE-2014-0466.patch
-
-   # fix CVE-2001-1593, bug 507024
-   eapply "${FILESDIR}"/${P}-CVE-2001-1593.patch
-
-   # specify encoding explicitly, bug #695918
-   eapply "${FILESDIR}"/${P}-texinfo-6.7-encoding.patch
-
-   # fix function declaration, bug 870763
-   eapply "${FILESDIR}"/${P}-function-decl.patch
-
-   # update reference in man/Makefile.maint
-   eapply "${FILESDIR}"/${P}-configure.ac.patch
-
# fix building 

[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/, app-text/a2ps/files/

2022-10-20 Thread Ulrich Müller
commit: a9b0b249a1ed19e6f3570d39353e9f783b5e861c
Author: Ulrich Müller  gentoo  org>
AuthorDate: Thu Oct 20 08:56:38 2022 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Thu Oct 20 09:01:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9b0b249

app-text/a2ps: Fix function declaration

Update to EAPI 8. Specify LICENSE more precisely.

Closes: https://bugs.gentoo.org/870763
Signed-off-by: Ulrich Müller  gentoo.org>

 app-text/a2ps/a2ps-4.14-r8.ebuild | 146 ++
 app-text/a2ps/files/a2ps-4.14-configure.ac.patch  |  11 ++
 app-text/a2ps/files/a2ps-4.14-function-decl.patch |  12 ++
 3 files changed, 169 insertions(+)

diff --git a/app-text/a2ps/a2ps-4.14-r8.ebuild 
b/app-text/a2ps/a2ps-4.14-r8.ebuild
new file mode 100644
index ..3424f0792726
--- /dev/null
+++ b/app-text/a2ps/a2ps-4.14-r8.ebuild
@@ -0,0 +1,146 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools elisp-common flag-o-matic
+
+DESCRIPTION="Any to PostScript filter"
+HOMEPAGE="https://www.gnu.org/software/a2ps/;
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
+   cjk? ( mirror://gentoo/${P}-ja_nls.patch.gz )"
+S="${WORKDIR}/${PN}-${PV:0:4}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="cjk emacs latex nls static-libs vanilla"
+
+RESTRICT="test"
+
+RDEPEND="app-text/ghostscript-gpl
+   app-text/libpaper:=
+   >=app-text/psutils-1.17
+   app-text/wdiff
+   >=sys-apps/coreutils-6.10-r1
+   emacs? ( >=app-editors/emacs-23.1:* )
+   latex? ( virtual/latex-base )
+   nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}"
+BDEPEND=">=dev-util/gperf-2.7.2
+   virtual/yacc
+   nls? ( sys-devel/gettext )"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+   default
+
+   eapply "${FILESDIR}"/${PN}-4.13c-locale-gentoo.diff
+   use vanilla || eapply -p0 "${FILESDIR}"/${PN}-4.13-stdout.diff
+   if use cjk; then
+   eapply "${WORKDIR}"/${P}-ja_nls.patch
+   # bug #335803
+   eapply -p0 "${FILESDIR}"/${P}-ja-cleanup.patch
+   else
+   eapply "${FILESDIR}"/${P}-cleanup.patch
+   fi
+
+   # fix fnmatch replacement, bug #134546
+   eapply "${FILESDIR}"/${PN}-4.13c-fnmatch-replacement.patch
+
+   # bug #122026
+   eapply "${FILESDIR}"/${P}-psset.patch
+
+   # fix emacs printing, bug #114627
+   eapply "${FILESDIR}"/a2ps-4.13c-emacs.patch
+
+   # fix chmod error, #167670
+   eapply "${FILESDIR}"/a2ps-4.13-manpage-chmod.patch
+
+   # add configure check for mempcpy, bug 216588
+   eapply "${FILESDIR}"/${P}-check-mempcpy.patch
+
+   # fix compilation error due to invalid stpcpy() prototype, bug 216588
+   eapply -p0 "${FILESDIR}"/${P}-fix-stpcpy-proto.patch
+
+   # fix compilation error due to obstack.h issue, bug 269638
+   eapply "${FILESDIR}"/${P}-ptrdiff_t.patch
+
+   # fix compilation error due to texinfo 5.x, bug 482748
+   eapply "${FILESDIR}"/${P}-texinfo-5.x.patch
+
+   # fix CVE-2014-0466, bug 506352
+   eapply "${FILESDIR}"/${P}-CVE-2014-0466.patch
+
+   # fix CVE-2001-1593, bug 507024
+   eapply "${FILESDIR}"/${P}-CVE-2001-1593.patch
+
+   # specify encoding explicitly, bug #695918
+   eapply "${FILESDIR}"/${P}-texinfo-6.7-encoding.patch
+
+   # fix function declaration, bug 870763
+   eapply "${FILESDIR}"/${P}-function-decl.patch
+
+   # update reference in man/Makefile.maint
+   eapply "${FILESDIR}"/${P}-configure.ac.patch
+
+   # fix building with sys-devel/automake >= 1.12, bug 420503
+   rm -f {.,ogonkify}/aclocal.m4 || die
+   sed -i \
+   -e '/^AM_C_PROTOTYPES/d' \
+   -e '/^AUTOMAKE_OPTIONS.*ansi2knr/d' \
+   -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \
+   -e 's:AM_PROG_CC_STDC:AC_PROG_CC:' \
+   configure.in {contrib/sample,lib,src}/Makefile.am m4/protos.m4 
|| die
+
+   eautoreconf
+}
+
+src_configure() {
+   append-cppflags -DPROTOTYPES #420503
+
+   export LANG=C LC_ALL=C
+
+   econf \
+   --enable-shared \
+   $(use_enable static-libs static) \
+   --sysconfdir="${EPREFIX}"/etc/a2ps \
+   $(use_enable nls) \
+   COM_netscape=no \
+   COM_acroread=no \
+   $(usev !latex COM_latex=no) \
+   $(usev !emacs EMACS=no)
+}
+
+src_compile() {
+   # parallel make b0rked
+   emake -j1
+}
+
+src_install() {
+   emake \
+   DESTDIR="${D}" \
+   lispdir="${EPREFIX}${SITELISP}"/${PN} \
+   install
+
+   newdoc "${ED}"/usr/share/a2ps/README README.a2ps
+   newdoc "${ED}"/usr/share/a2ps/ppd/README README.a2ps.ppd
+   newdoc 

[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2022-09-15 Thread Sam James
commit: c021c1b2dee2368e38e57003beefc83321f9a043
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep 15 13:17:43 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep 15 13:17:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c021c1b2

app-text/a2ps: add libpaper slot dep

ABI broke.

Signed-off-by: Sam James  gentoo.org>

 app-text/a2ps/{a2ps-4.14-r6.ebuild => a2ps-4.14-r7.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.14-r6.ebuild 
b/app-text/a2ps/a2ps-4.14-r7.ebuild
similarity index 99%
rename from app-text/a2ps/a2ps-4.14-r6.ebuild
rename to app-text/a2ps/a2ps-4.14-r7.ebuild
index 614a0ba87c55..5beff0baee31 100644
--- a/app-text/a2ps/a2ps-4.14-r6.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r7.ebuild
@@ -17,7 +17,7 @@ IUSE="cjk emacs latex nls static-libs vanilla"
 RESTRICT=test
 
 RDEPEND="app-text/ghostscript-gpl
-   app-text/libpaper
+   app-text/libpaper:=
>=app-text/psutils-1.17
app-text/wdiff
>=sys-apps/coreutils-6.10-r1



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2020-04-05 Thread Sergei Trofimovich
commit: 181306f3ba6ab01d62025888d6bb64de2ede8c3c
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sun Apr  5 08:45:45 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Apr  5 10:06:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=181306f3

app-text/a2ps: drop to ~hppa

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 app-text/a2ps/a2ps-4.14-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.14-r6.ebuild 
b/app-text/a2ps/a2ps-4.14-r6.ebuild
index 75d2763c73c..c8da672d4e7 100644
--- a/app-text/a2ps/a2ps-4.14-r6.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r6.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="cjk emacs latex nls static-libs userland_BSD userland_GNU vanilla"
 
 RESTRICT=test



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/files/, app-text/a2ps/

2019-12-08 Thread Sergei Trofimovich
commit: c03caf215cbcaf69693134351df44be1f32104e5
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Dec  8 18:05:05 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Dec  8 18:07:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c03caf21

app-text/a2ps: fix build against texinfo-6.7, bug #695918

Reported-by: Toralf Förster
Fixed-by: Neil Bothwick
Closes: https://bugs.gentoo.org/695918
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich  gentoo.org>

 app-text/a2ps/a2ps-4.14-r6.ebuild  |  5 ++-
 .../files/a2ps-4.14-texinfo-6.7-encoding.patch | 40 ++
 2 files changed, 44 insertions(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.14-r6.ebuild 
b/app-text/a2ps/a2ps-4.14-r6.ebuild
index 272fed2bb5c..389c9f7e13d 100644
--- a/app-text/a2ps/a2ps-4.14-r6.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -77,6 +77,9 @@ src_prepare() {
# fix CVE-2001-1593, bug 507024
eapply "${FILESDIR}"/${P}-CVE-2001-1593.patch
 
+   # specify encoding explicitly, bug #695918
+   eapply "${FILESDIR}"/${P}-texinfo-6.7-encoding.patch
+
# fix building with sys-devel/automake >= 1.12, bug 420503
rm -f {.,ogonkify}/aclocal.m4 || die
sed -i \

diff --git a/app-text/a2ps/files/a2ps-4.14-texinfo-6.7-encoding.patch 
b/app-text/a2ps/files/a2ps-4.14-texinfo-6.7-encoding.patch
new file mode 100644
index 000..df2a60f395c
--- /dev/null
+++ b/app-text/a2ps/files/a2ps-4.14-texinfo-6.7-encoding.patch
@@ -0,0 +1,40 @@
+https://bugs.gentoo.org/695918
+
+The patchs fixes build failure against texinfo-6.7+:
+```
+Malformed UTF-8 character: \xcb\xeb (unexpected non-continuation byte 0xeb, 
immediately after start byte 0xcb;
+need 2 bytes, got 1) in pattern match (m//) at 
/usr/share/texinfo/Texinfo/ParserNonXS.pm line 3364.
+Malformed UTF-8 character (fatal) at /usr/share/texinfo/Texinfo/ParserNonXS.pm 
line 3364.
+make[2]: *** [Makefile:472: a2ps.info] Error 25
+```
+
+Fixed-by: Neil Bothwick
+--- a/doc/a2ps.texi~   2019-11-24 18:51:07.0 +
 a/doc/a2ps.texi2019-11-24 18:56:30.390438433 +
+@@ -1,5 +1,6 @@
+ \input texinfo @c -*- texinfo -*-
+ @c %**start of header
++@documentencoding ISO-8859-1
+ @setfilename a2ps.info
+ @settitle General Purpose PostScript Generating Utility
+ @c @setchapternewpage odd
+
+--- a/doc/regex.texi~  2002-03-04 18:46:24.0 +
 a/doc/regex.texi   2019-11-24 18:56:42.861052598 +
+@@ -1,5 +1,6 @@
+ \input texinfo
+ @c %**start of header
++@documentencoding ISO-8859-1
+ @setfilename regex.info
+ @settitle Regex
+ @c %**end of header
+
+--- a/ogonkify/doc/ogonkify.texi~  2007-12-29 02:09:38.0 +
 a/ogonkify/doc/ogonkify.texi   2019-11-24 18:57:03.173424149 +
+@@ -1,5 +1,6 @@
+ \input texinfo   @c -*-texinfo-*-
+ @c %**start of header
++@documentencoding ISO-8859-1
+ @setfilename ogonkify.info
+ @settitle Ogonkify
+ @setchapternewpage off



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2019-12-08 Thread Sergei Trofimovich
commit: 6cac5dec3bda38e042788756bb22cc76590f13c0
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Dec  8 18:07:36 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Dec  8 18:07:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cac5dec

app-text/a2ps: drop sys-freebsd/freebsd-ubin missing dependency

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich  gentoo.org>

 app-text/a2ps/a2ps-4.14-r6.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/app-text/a2ps/a2ps-4.14-r6.ebuild 
b/app-text/a2ps/a2ps-4.14-r6.ebuild
index 389c9f7e13d..33b91a41bf4 100644
--- a/app-text/a2ps/a2ps-4.14-r6.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r6.ebuild
@@ -23,8 +23,7 @@ RDEPEND="app-text/ghostscript-gpl
emacs? ( virtual/emacs )
latex? ( virtual/latex-base )
nls? ( virtual/libintl )
-   userland_GNU? ( >=sys-apps/coreutils-6.10-r1 )
-   userland_BSD? ( sys-freebsd/freebsd-ubin )"
+   userland_GNU? ( >=sys-apps/coreutils-6.10-r1 )"
 DEPEND="${RDEPEND}
>=dev-util/gperf-2.7.2
virtual/yacc



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2018-01-06 Thread Ulrich Müller
commit: 95a3df1f3fafdb8e2a7968583c11cb4f720d2c8d
Author: Ulrich Müller  gentoo  org>
AuthorDate: Sat Jan  6 18:06:57 2018 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Sat Jan  6 18:09:11 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95a3df1f

app-text/a2ps: Revert from linguas_ja to cjk USE flag.

The ebuild applies patches depending on the flag setting. However,
these are intrusive, as they change defaults in other locales too
(e.g., "tex" is changed to "ptex" in texi2dvia2ps). Therefore this
patching should neither depend on LINGUAS, nor on L10N, nor be done
unconditionally.

For now, change it to be conditional on the cjk flag, which was the
solution already used in a previous version of the ebuild.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-text/a2ps/a2ps-4.14-r6.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/app-text/a2ps/a2ps-4.14-r6.ebuild 
b/app-text/a2ps/a2ps-4.14-r6.ebuild
index 0094fa4318f..8d73b88d066 100644
--- a/app-text/a2ps/a2ps-4.14-r6.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -7,12 +7,12 @@ inherit autotools elisp-common flag-o-matic
 DESCRIPTION="Any to PostScript filter"
 HOMEPAGE="https://www.gnu.org/software/a2ps/;
 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
-   linguas_ja? ( mirror://gentoo/${P}-ja_nls.patch.gz )"
+   cjk? ( mirror://gentoo/${P}-ja_nls.patch.gz )"
 
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-IUSE="emacs latex linguas_ja nls static-libs userland_BSD userland_GNU vanilla"
+IUSE="cjk emacs latex nls static-libs userland_BSD userland_GNU vanilla"
 
 RESTRICT=test
 
@@ -39,7 +39,7 @@ src_prepare() {
 
eapply "${FILESDIR}"/${PN}-4.13c-locale-gentoo.diff
use vanilla || eapply -p0 "${FILESDIR}"/${PN}-4.13-stdout.diff
-   if use linguas_ja; then
+   if use cjk; then
eapply "${WORKDIR}"/${P}-ja_nls.patch
# bug #335803
eapply -p0 "${FILESDIR}"/${P}-ja-cleanup.patch



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2017-02-19 Thread Andreas Hüttel
commit: 3b694ede628790ee469b2830a55325abae32ed65
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sun Feb 19 18:36:31 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Sun Feb 19 18:36:43 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b694ede

app-text/a2ps: Remove old

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-text/a2ps/a2ps-4.14-r5.ebuild | 140 --
 1 file changed, 140 deletions(-)

diff --git a/app-text/a2ps/a2ps-4.14-r5.ebuild 
b/app-text/a2ps/a2ps-4.14-r5.ebuild
deleted file mode 100644
index 130fd51337..00
--- a/app-text/a2ps/a2ps-4.14-r5.ebuild
+++ /dev/null
@@ -1,140 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-inherit autotools elisp-common flag-o-matic
-
-DESCRIPTION="Any to PostScript filter"
-HOMEPAGE="https://www.gnu.org/software/a2ps/;
-SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
-   linguas_ja? ( mirror://gentoo/${P}-ja_nls.patch.gz )"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-IUSE="emacs latex linguas_ja nls static-libs userland_BSD userland_GNU vanilla"
-
-RESTRICT=test
-
-RDEPEND="app-text/ghostscript-gpl
-   app-text/libpaper
-   >=app-text/psutils-1.17
-   app-text/wdiff
-   emacs? ( virtual/emacs )
-   latex? ( virtual/latex-base )
-   nls? ( virtual/libintl )
-   userland_GNU? ( >=sys-apps/coreutils-6.10-r1 )
-   userland_BSD? ( sys-freebsd/freebsd-ubin )"
-DEPEND="${RDEPEND}
-   >=dev-util/gperf-2.7.2
-   virtual/yacc
-   nls? ( sys-devel/gettext )"
-
-SITEFILE=50${PN}-gentoo.el
-
-S=${WORKDIR}/${PN}-${PV:0:4}
-
-src_prepare() {
-   default
-
-   eapply "${FILESDIR}"/${PN}-4.13c-locale-gentoo.diff
-   use vanilla || eapply -p0 "${FILESDIR}"/${PN}-4.13-stdout.diff
-   if use linguas_ja; then
-   eapply "${WORKDIR}"/${P}-ja_nls.patch
-   # bug #335803
-   eapply -p0 "${FILESDIR}"/${P}-ja-cleanup.patch
-   else
-   eapply "${FILESDIR}"/${P}-cleanup.patch
-   fi
-
-   # fix fnmatch replacement, bug #134546
-   eapply "${FILESDIR}"/${PN}-4.13c-fnmatch-replacement.patch
-
-   # bug #122026
-   eapply "${FILESDIR}"/${P}-psset.patch
-
-   # fix emacs printing, bug #114627
-   eapply "${FILESDIR}"/a2ps-4.13c-emacs.patch
-
-   # fix chmod error, #167670
-   eapply "${FILESDIR}"/a2ps-4.13-manpage-chmod.patch
-
-   # add configure check for mempcpy, bug 216588
-   eapply "${FILESDIR}"/${P}-check-mempcpy.patch
-
-   # fix compilation error due to invalid stpcpy() prototype, bug 216588
-   eapply -p0 "${FILESDIR}"/${P}-fix-stpcpy-proto.patch
-
-   # fix compilation error due to obstack.h issue, bug 269638
-   eapply "${FILESDIR}"/${P}-ptrdiff_t.patch
-
-   # fix compilation error due to texinfo 5.x, bug 482748
-   eapply "${FILESDIR}"/${P}-texinfo-5.x.patch
-
-   # fix CVE-2014-0466, bug 506352
-   eapply "${FILESDIR}"/${P}-CVE-2014-0466.patch
-
-   # fix building with sys-devel/automake >= 1.12, bug 420503
-   rm -f {.,ogonkify}/aclocal.m4 || die
-   sed -i \
-   -e '/^AM_C_PROTOTYPES/d' \
-   -e '/^AUTOMAKE_OPTIONS.*ansi2knr/d' \
-   -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \
-   -e 's:AM_PROG_CC_STDC:AC_PROG_CC:' \
-   configure.in {contrib/sample,lib,src}/Makefile.am m4/protos.m4 
|| die
-
-   eautoreconf
-}
-
-src_configure() {
-   append-cppflags -DPROTOTYPES #420503
-
-   local myconf="COM_netscape=no COM_acroread=no"
-
-   use emacs || myconf="${myconf} EMACS=no"
-   use latex || myconf="${myconf} COM_latex=no"
-
-   export LANG=C LC_ALL=C
-
-   econf \
-   --enable-shared \
-   $(use_enable static-libs static) \
-   --sysconfdir="${EPREFIX}"/etc/a2ps \
-   $(use_enable nls) \
-   ${myconf}
-}
-
-src_compile() {
-   # parallel make b0rked
-   emake -j1
-}
-
-src_install() {
-   emake \
-   DESTDIR="${D}" \
-   lispdir="${EPREFIX}${SITELISP}"/${PN} \
-   install
-
-   newdoc "${ED}"/usr/share/a2ps/README README.a2ps
-   newdoc "${ED}"/usr/share/a2ps/ppd/README README.a2ps.ppd
-   newdoc "${ED}"/usr/share/ogonkify/README README.ogonkify
-
-   rm -f "${ED}"/usr/share/{a2ps,a2ps/ppd,ogonkify}/README || die
-
-   prune_libtool_files
-
-   if use emacs; then
-   elisp-site-file-install "${FILESDIR}"/${SITEFILE} || die
-   fi
-
-   dodoc ANNOUNCE AUTHORS ChangeLog FAQ NEWS README* THANKS TODO
-}
-
-pkg_postinst() {
-   use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
-   use emacs && elisp-site-regen
-}



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2017-02-05 Thread Markus Meier
commit: ab8058326863f70e4d178deecbdd66d405324090
Author: Markus Meier  gentoo  org>
AuthorDate: Sun Feb  5 16:54:26 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Sun Feb  5 16:54:26 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab805832

app-text/a2ps: arm stable, bug #507024

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="arm"

 app-text/a2ps/a2ps-4.14-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.14-r6.ebuild 
b/app-text/a2ps/a2ps-4.14-r6.ebuild
index c7ae18d..7a0005c 100644
--- a/app-text/a2ps/a2ps-4.14-r6.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r6.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="emacs latex linguas_ja nls static-libs userland_BSD userland_GNU vanilla"
 
 RESTRICT=test



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2017-01-26 Thread Agostino Sarubbo
commit: ecde02effc669c5f35f29074d1feee77746b2e1c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jan 26 15:27:34 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jan 26 15:27:34 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecde02ef

app-text/a2ps: ia64 stable wrt bug #507024

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-text/a2ps/a2ps-4.14-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.14-r6.ebuild 
b/app-text/a2ps/a2ps-4.14-r6.ebuild
index af51950..4f03fd7 100644
--- a/app-text/a2ps/a2ps-4.14-r6.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r6.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="emacs latex linguas_ja nls static-libs userland_BSD userland_GNU vanilla"
 
 RESTRICT=test



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2017-01-26 Thread Agostino Sarubbo
commit: db11dbed74856c3ff9c94e1d1f2715b9572a471a
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jan 26 11:00:02 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jan 26 11:00:42 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db11dbed

app-text/a2ps: ppc stable wrt bug #507024

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-text/a2ps/a2ps-4.14-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.14-r6.ebuild 
b/app-text/a2ps/a2ps-4.14-r6.ebuild
index 875da69..af51950 100644
--- a/app-text/a2ps/a2ps-4.14-r6.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r6.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="emacs latex linguas_ja nls static-libs userland_BSD userland_GNU vanilla"
 
 RESTRICT=test



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2017-01-25 Thread Tobias Klausmann
commit: d7aebab4983139be5b28da0ed7a7f832d3c7488f
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Wed Jan 25 18:26:57 2017 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Wed Jan 25 19:20:56 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7aebab4

app-text/a2ps-4.14-r6: stable on alpha

Gentoo-Bug: 507024

 app-text/a2ps/a2ps-4.14-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.14-r6.ebuild 
b/app-text/a2ps/a2ps-4.14-r6.ebuild
index f5c911b..9240abc 100644
--- a/app-text/a2ps/a2ps-4.14-r6.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r6.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="emacs latex linguas_ja nls static-libs userland_BSD userland_GNU vanilla"
 
 RESTRICT=test



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2017-01-24 Thread Agostino Sarubbo
commit: 5109e28ae2a25fe0c82f32b20b5f692349b61c3e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jan 24 10:56:28 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jan 24 10:56:28 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5109e28a

app-text/a2ps: x86 stable wrt bug #507024

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-text/a2ps/a2ps-4.14-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.14-r6.ebuild 
b/app-text/a2ps/a2ps-4.14-r6.ebuild
index 66b1af3..f5c911b 100644
--- a/app-text/a2ps/a2ps-4.14-r6.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r6.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="emacs latex linguas_ja nls static-libs userland_BSD userland_GNU vanilla"
 
 RESTRICT=test



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2017-01-24 Thread Agostino Sarubbo
commit: da3b1b41faaad48b6e7a6a8a1d81f7d5e54c3fe1
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jan 24 09:05:36 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jan 24 09:05:36 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da3b1b41

app-text/a2ps: amd64 stable wrt bug #507024

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-text/a2ps/a2ps-4.14-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.14-r6.ebuild 
b/app-text/a2ps/a2ps-4.14-r6.ebuild
index 156d5d9..66b1af3 100644
--- a/app-text/a2ps/a2ps-4.14-r6.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r6.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="emacs latex linguas_ja nls static-libs userland_BSD userland_GNU vanilla"
 
 RESTRICT=test



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2017-01-23 Thread Jeroen Roovers
commit: a50f1e60e64e31474c9141afdd61f455147b7974
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Jan 24 05:21:41 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Jan 24 05:21:41 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a50f1e60

app-text/a2ps: Stable for HPPA PPC64 (bug #507024).

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --ignore-arches

 app-text/a2ps/a2ps-4.14-r6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.14-r6.ebuild 
b/app-text/a2ps/a2ps-4.14-r6.ebuild
index 7845a5a..156d5d9 100644
--- a/app-text/a2ps/a2ps-4.14-r6.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r6.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="emacs latex linguas_ja nls static-libs userland_BSD userland_GNU vanilla"
 
 RESTRICT=test



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2017-01-23 Thread Matthias Maier
commit: 1802efb0b659c231f5e3c7c9e275603e6ae3c585
Author: Matthias Maier  gentoo  org>
AuthorDate: Tue Jan 24 03:06:31 2017 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Tue Jan 24 03:06:31 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1802efb0

app-text/a2ps: drop vulnerable, bug #507024

Package-Manager: Portage-2.3.0, Repoman-2.3.1

 app-text/a2ps/a2ps-4.14-r3.ebuild | 134 -
 app-text/a2ps/a2ps-4.14-r4.ebuild | 137 --
 2 files changed, 271 deletions(-)

diff --git a/app-text/a2ps/a2ps-4.14-r3.ebuild 
b/app-text/a2ps/a2ps-4.14-r3.ebuild
deleted file mode 100644
index a0a1ead..
--- a/app-text/a2ps/a2ps-4.14-r3.ebuild
+++ /dev/null
@@ -1,134 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-inherit autotools elisp-common eutils flag-o-matic
-
-DESCRIPTION="Any to PostScript filter"
-HOMEPAGE="https://www.gnu.org/software/a2ps/;
-SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
-   linguas_ja? ( mirror://gentoo/${P}-ja_nls.patch.gz )"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-IUSE="emacs latex linguas_ja nls static-libs userland_BSD userland_GNU vanilla"
-
-RESTRICT=test
-
-RDEPEND="app-text/ghostscript-gpl
-   app-text/libpaper
-   >=app-text/psutils-1.17
-   app-text/wdiff
-   emacs? ( virtual/emacs )
-   latex? ( virtual/latex-base )
-   nls? ( virtual/libintl )
-   userland_GNU? ( >=sys-apps/coreutils-6.10-r1 )
-   userland_BSD? ( sys-freebsd/freebsd-ubin )"
-DEPEND="${RDEPEND}
-   >=dev-util/gperf-2.7.2
-   virtual/yacc
-   nls? ( sys-devel/gettext )"
-
-SITEFILE=50${PN}-gentoo.el
-
-S=${WORKDIR}/${PN}-${PV:0:4}
-
-src_prepare() {
-   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
-   if use linguas_ja; then
-   epatch "${DISTDIR}"/${P}-ja_nls.patch.gz
-   # bug #335803
-   epatch "${FILESDIR}"/${P}-ja-cleanup.patch
-   else
-   epatch "${FILESDIR}"/${P}-cleanup.patch
-   fi
-
-   # fix fnmatch replacement, bug #134546
-   epatch "${FILESDIR}"/${PN}-4.13c-fnmatch-replacement.patch
-
-   # bug #122026
-   epatch "${FILESDIR}"/${P}-psset.patch
-
-   # 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
-
-   # fix compilation error due to obstack.h issue, bug 269638
-   epatch "${FILESDIR}"/${P}-ptrdiff_t.patch
-
-   # fix building with sys-devel/automake >= 1.12, bug 420503
-   rm -f {.,ogonkify}/aclocal.m4
-   sed -i \
-   -e '/^AM_C_PROTOTYPES/d' \
-   -e '/^AUTOMAKE_OPTIONS.*ansi2knr/d' \
-   -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \
-   -e 's:AM_PROG_CC_STDC:AC_PROG_CC:' \
-   configure.in {contrib/sample,lib,src}/Makefile.am m4/protos.m4 
|| die
-
-   eautoreconf
-}
-
-src_configure() {
-   append-cppflags -DPROTOTYPES #420503
-
-   local myconf="COM_netscape=no COM_acroread=no"
-
-   use emacs || myconf="${myconf} EMACS=no"
-   use latex || myconf="${myconf} COM_latex=no"
-
-   export LANG=C LC_ALL=C
-
-   econf \
-   --enable-shared \
-   $(use_enable static-libs static) \
-   --sysconfdir="${EPREFIX}"/etc/a2ps \
-   $(use_enable nls) \
-   ${myconf}
-}
-
-src_compile() {
-   # parallel make b0rked
-   emake -j1
-}
-
-src_install() {
-   emake \
-   DESTDIR="${D}" \
-   lispdir="${EPREFIX}${SITELISP}"/${PN} \
-   install
-
-   newdoc "${ED}"/usr/share/a2ps/README README.a2ps
-   newdoc "${ED}"/usr/share/a2ps/ppd/README README.a2ps.ppd
-   newdoc "${ED}"/usr/share/ogonkify/README README.ogonkify
-
-   rm -f "${ED}"/usr/share/{a2ps,a2ps/ppd,ogonkify}/README
-
-   prune_libtool_files
-
-   if use emacs; then
-   elisp-site-file-install "${FILESDIR}"/${SITEFILE} || die
-   fi
-
-   dodoc ANNOUNCE AUTHORS ChangeLog FAQ NEWS README* THANKS TODO
-}
-
-pkg_postinst() {
-   use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
-   use emacs && elisp-site-regen
-}

diff --git a/app-text/a2ps/a2ps-4.14-r4.ebuild 
b/app-text/a2ps/a2ps-4.14-r4.ebuild
deleted file mode 

[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/files/, app-text/a2ps/

2017-01-23 Thread Matthias Maier
commit: d78cf9b0a31ec3209bdc43b2dcabe0606ff6af13
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sat Jan 21 16:28:53 2017 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Tue Jan 24 03:05:14 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d78cf9b0

app-text/a2ps: Add patch for CVE-2001-1593 (bug #507024)

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Signed-off-by: Matthias Maier  gentoo.org>

 app-text/a2ps/a2ps-4.14-r6.ebuild | 143 ++
 app-text/a2ps/files/a2ps-4.14-CVE-2001-1593.patch |  82 +
 2 files changed, 225 insertions(+)

diff --git a/app-text/a2ps/a2ps-4.14-r6.ebuild 
b/app-text/a2ps/a2ps-4.14-r6.ebuild
new file mode 100644
index ..7845a5a
--- /dev/null
+++ b/app-text/a2ps/a2ps-4.14-r6.ebuild
@@ -0,0 +1,143 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools elisp-common flag-o-matic
+
+DESCRIPTION="Any to PostScript filter"
+HOMEPAGE="https://www.gnu.org/software/a2ps/;
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
+   linguas_ja? ( mirror://gentoo/${P}-ja_nls.patch.gz )"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="emacs latex linguas_ja nls static-libs userland_BSD userland_GNU vanilla"
+
+RESTRICT=test
+
+RDEPEND="app-text/ghostscript-gpl
+   app-text/libpaper
+   >=app-text/psutils-1.17
+   app-text/wdiff
+   emacs? ( virtual/emacs )
+   latex? ( virtual/latex-base )
+   nls? ( virtual/libintl )
+   userland_GNU? ( >=sys-apps/coreutils-6.10-r1 )
+   userland_BSD? ( sys-freebsd/freebsd-ubin )"
+DEPEND="${RDEPEND}
+   >=dev-util/gperf-2.7.2
+   virtual/yacc
+   nls? ( sys-devel/gettext )"
+
+SITEFILE=50${PN}-gentoo.el
+
+S=${WORKDIR}/${PN}-${PV:0:4}
+
+src_prepare() {
+   default
+
+   eapply "${FILESDIR}"/${PN}-4.13c-locale-gentoo.diff
+   use vanilla || eapply -p0 "${FILESDIR}"/${PN}-4.13-stdout.diff
+   if use linguas_ja; then
+   eapply "${WORKDIR}"/${P}-ja_nls.patch
+   # bug #335803
+   eapply -p0 "${FILESDIR}"/${P}-ja-cleanup.patch
+   else
+   eapply "${FILESDIR}"/${P}-cleanup.patch
+   fi
+
+   # fix fnmatch replacement, bug #134546
+   eapply "${FILESDIR}"/${PN}-4.13c-fnmatch-replacement.patch
+
+   # bug #122026
+   eapply "${FILESDIR}"/${P}-psset.patch
+
+   # fix emacs printing, bug #114627
+   eapply "${FILESDIR}"/a2ps-4.13c-emacs.patch
+
+   # fix chmod error, #167670
+   eapply "${FILESDIR}"/a2ps-4.13-manpage-chmod.patch
+
+   # add configure check for mempcpy, bug 216588
+   eapply "${FILESDIR}"/${P}-check-mempcpy.patch
+
+   # fix compilation error due to invalid stpcpy() prototype, bug 216588
+   eapply -p0 "${FILESDIR}"/${P}-fix-stpcpy-proto.patch
+
+   # fix compilation error due to obstack.h issue, bug 269638
+   eapply "${FILESDIR}"/${P}-ptrdiff_t.patch
+
+   # fix compilation error due to texinfo 5.x, bug 482748
+   eapply "${FILESDIR}"/${P}-texinfo-5.x.patch
+
+   # fix CVE-2014-0466, bug 506352
+   eapply "${FILESDIR}"/${P}-CVE-2014-0466.patch
+
+   # fix CVE-2001-1593, bug 507024
+   eapply "${FILESDIR}"/${P}-CVE-2001-1593.patch
+
+   # fix building with sys-devel/automake >= 1.12, bug 420503
+   rm -f {.,ogonkify}/aclocal.m4 || die
+   sed -i \
+   -e '/^AM_C_PROTOTYPES/d' \
+   -e '/^AUTOMAKE_OPTIONS.*ansi2knr/d' \
+   -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \
+   -e 's:AM_PROG_CC_STDC:AC_PROG_CC:' \
+   configure.in {contrib/sample,lib,src}/Makefile.am m4/protos.m4 
|| die
+
+   eautoreconf
+}
+
+src_configure() {
+   append-cppflags -DPROTOTYPES #420503
+
+   local myconf="COM_netscape=no COM_acroread=no"
+
+   use emacs || myconf="${myconf} EMACS=no"
+   use latex || myconf="${myconf} COM_latex=no"
+
+   export LANG=C LC_ALL=C
+
+   econf \
+   --enable-shared \
+   $(use_enable static-libs static) \
+   --sysconfdir="${EPREFIX}"/etc/a2ps \
+   $(use_enable nls) \
+   ${myconf}
+}
+
+src_compile() {
+   # parallel make b0rked
+   emake -j1
+}
+
+src_install() {
+   emake \
+   DESTDIR="${D}" \
+   lispdir="${EPREFIX}${SITELISP}"/${PN} \
+   install
+
+   newdoc "${ED}"/usr/share/a2ps/README README.a2ps
+   newdoc "${ED}"/usr/share/a2ps/ppd/README README.a2ps.ppd
+   newdoc "${ED}"/usr/share/ogonkify/README README.ogonkify
+
+   rm -f "${ED}"/usr/share/{a2ps,a2ps/ppd,ogonkify}/README || die
+
+   prune_libtool_files
+
+   if use emacs; then
+   elisp-site-file-install 

[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2017-01-19 Thread Jeroen Roovers
commit: 4b5db112068c339899df7b8879f1e553b4ef5bee
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Jan 20 05:33:07 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Jan 20 05:33:07 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b5db112

app-text/a2ps: Stable for HPPA (bug #506352).

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --ignore-arches

 app-text/a2ps/a2ps-4.14-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.14-r5.ebuild 
b/app-text/a2ps/a2ps-4.14-r5.ebuild
index 1f24461..d426435 100644
--- a/app-text/a2ps/a2ps-4.14-r5.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r5.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="emacs latex linguas_ja nls static-libs userland_BSD userland_GNU vanilla"
 
 RESTRICT=test



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2017-01-15 Thread Agostino Sarubbo
commit: 25c96eb3b52aaa74c7e15330a9f234cc0a859a76
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jan 15 15:47:27 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jan 15 15:50:01 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25c96eb3

app-text/a2ps: ppc stable wrt bug #506352

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-text/a2ps/a2ps-4.14-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.14-r5.ebuild 
b/app-text/a2ps/a2ps-4.14-r5.ebuild
index 253f5c7..64873a0 100644
--- a/app-text/a2ps/a2ps-4.14-r5.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r5.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="alpha amd64 arm ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh sparc x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="emacs latex linguas_ja nls static-libs userland_BSD userland_GNU vanilla"
 
 RESTRICT=test



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2017-01-08 Thread Markus Meier
commit: 2aeef61244c91c64b705448c364baa55382572f9
Author: Markus Meier  gentoo  org>
AuthorDate: Sun Jan  8 18:25:59 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Sun Jan  8 18:25:59 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2aeef612

app-text/a2ps: arm stable, bug #506352

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="arm"

 app-text/a2ps/a2ps-4.14-r5.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-text/a2ps/a2ps-4.14-r5.ebuild 
b/app-text/a2ps/a2ps-4.14-r5.ebuild
index 6724fa8..abef7a7 100644
--- a/app-text/a2ps/a2ps-4.14-r5.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="alpha amd64 arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="emacs latex linguas_ja nls static-libs userland_BSD userland_GNU vanilla"
 
 RESTRICT=test



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2016-12-02 Thread Tobias Klausmann
commit: 240f2a5e902ad5512e3f427d6d6e4fc1b25249df
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Fri Dec  2 14:20:49 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Fri Dec  2 14:20:49 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=240f2a5e

app-text/a2ps-4.14-r5: stable on alpha

Gentoo-Bug: 506352

 app-text/a2ps/a2ps-4.14-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.14-r5.ebuild 
b/app-text/a2ps/a2ps-4.14-r5.ebuild
index 3a5acf4..6724fa8 100644
--- a/app-text/a2ps/a2ps-4.14-r5.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r5.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="emacs latex linguas_ja nls static-libs userland_BSD userland_GNU vanilla"
 
 RESTRICT=test



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2016-12-01 Thread Agostino Sarubbo
commit: 8029f103cdc3c8f6453e9642069fc232bf5219c3
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Dec  1 12:53:06 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Dec  1 12:53:06 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8029f103

app-text/a2ps: x86 stable wrt bug #506352

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-text/a2ps/a2ps-4.14-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.14-r5.ebuild 
b/app-text/a2ps/a2ps-4.14-r5.ebuild
index a7c9c6f..3a5acf4 100644
--- a/app-text/a2ps/a2ps-4.14-r5.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r5.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="emacs latex linguas_ja nls static-libs userland_BSD userland_GNU vanilla"
 
 RESTRICT=test



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2016-12-01 Thread Agostino Sarubbo
commit: 31eafd4014aa9e2efc2dbdab14ba3d9b0fc33fb8
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Dec  1 12:50:17 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Dec  1 12:50:52 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31eafd40

app-text/a2ps: amd64 stable wrt bug #506352

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-text/a2ps/a2ps-4.14-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/a2ps/a2ps-4.14-r5.ebuild 
b/app-text/a2ps/a2ps-4.14-r5.ebuild
index ffa0284..a7c9c6f 100644
--- a/app-text/a2ps/a2ps-4.14-r5.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r5.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="emacs latex linguas_ja nls static-libs userland_BSD userland_GNU vanilla"
 
 RESTRICT=test



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/, app-text/a2ps/files/

2016-11-26 Thread Aaron Bauman
commit: 4a1d1e520fccdcff5c0ab5e69dfaf6df5abd0ff9
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Nov 23 18:11:51 2016 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sun Nov 27 07:14:01 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a1d1e52

app-text/a2ps: Security revbump to fix CVE-2014-0466 (bug #506352)

Patch for CVE-2014-0466 taken from Debian [Link 1].

Link 1: 
https://sources.debian.net/src/a2ps/1:4.14-1.1%2Bdeb7u1/debian/patches/10_CVE-2014-0466.dpatch/
Gentoo-Bug: https://bugs.gentoo.org/506352

Package-Manager: portage-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/2898

Signed-off-by: Aaron Bauman  gentoo.org>

 app-text/a2ps/a2ps-4.14-r5.ebuild | 140 ++
 app-text/a2ps/files/a2ps-4.14-CVE-2014-0466.patch |  32 +
 2 files changed, 172 insertions(+)

diff --git a/app-text/a2ps/a2ps-4.14-r5.ebuild 
b/app-text/a2ps/a2ps-4.14-r5.ebuild
new file mode 100644
index ..bba3f52
--- /dev/null
+++ b/app-text/a2ps/a2ps-4.14-r5.ebuild
@@ -0,0 +1,140 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools elisp-common flag-o-matic
+
+DESCRIPTION="Any to PostScript filter"
+HOMEPAGE="http://www.inf.enst.fr/~demaille/a2ps/;
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
+   linguas_ja? ( mirror://gentoo/${P}-ja_nls.patch.gz )"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="emacs latex linguas_ja nls static-libs userland_BSD userland_GNU vanilla"
+
+RESTRICT=test
+
+RDEPEND="app-text/ghostscript-gpl
+   app-text/libpaper
+   >=app-text/psutils-1.17
+   app-text/wdiff
+   emacs? ( virtual/emacs )
+   latex? ( virtual/latex-base )
+   nls? ( virtual/libintl )
+   userland_GNU? ( >=sys-apps/coreutils-6.10-r1 )
+   userland_BSD? ( sys-freebsd/freebsd-ubin )"
+DEPEND="${RDEPEND}
+   >=dev-util/gperf-2.7.2
+   virtual/yacc
+   nls? ( sys-devel/gettext )"
+
+SITEFILE=50${PN}-gentoo.el
+
+S=${WORKDIR}/${PN}-${PV:0:4}
+
+src_prepare() {
+   default
+
+   eapply "${FILESDIR}"/${PN}-4.13c-locale-gentoo.diff
+   use vanilla || eapply -p0 "${FILESDIR}"/${PN}-4.13-stdout.diff
+   if use linguas_ja; then
+   eapply "${WORKDIR}"/${P}-ja_nls.patch
+   # bug #335803
+   eapply -p0 "${FILESDIR}"/${P}-ja-cleanup.patch
+   else
+   eapply "${FILESDIR}"/${P}-cleanup.patch
+   fi
+
+   # fix fnmatch replacement, bug #134546
+   eapply "${FILESDIR}"/${PN}-4.13c-fnmatch-replacement.patch
+
+   # bug #122026
+   eapply "${FILESDIR}"/${P}-psset.patch
+
+   # fix emacs printing, bug #114627
+   eapply "${FILESDIR}"/a2ps-4.13c-emacs.patch
+
+   # fix chmod error, #167670
+   eapply "${FILESDIR}"/a2ps-4.13-manpage-chmod.patch
+
+   # add configure check for mempcpy, bug 216588
+   eapply "${FILESDIR}"/${P}-check-mempcpy.patch
+
+   # fix compilation error due to invalid stpcpy() prototype, bug 216588
+   eapply -p0 "${FILESDIR}"/${P}-fix-stpcpy-proto.patch
+
+   # fix compilation error due to obstack.h issue, bug 269638
+   eapply "${FILESDIR}"/${P}-ptrdiff_t.patch
+
+   # fix compilation error due to texinfo 5.x, bug 482748
+   eapply "${FILESDIR}"/${P}-texinfo-5.x.patch
+
+   # fix CVE-2014-0466, bug 506352
+   eapply "${FILESDIR}"/${P}-CVE-2014-0466.patch
+
+   # fix building with sys-devel/automake >= 1.12, bug 420503
+   rm -f {.,ogonkify}/aclocal.m4 || die
+   sed -i \
+   -e '/^AM_C_PROTOTYPES/d' \
+   -e '/^AUTOMAKE_OPTIONS.*ansi2knr/d' \
+   -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \
+   -e 's:AM_PROG_CC_STDC:AC_PROG_CC:' \
+   configure.in {contrib/sample,lib,src}/Makefile.am m4/protos.m4 
|| die
+
+   eautoreconf
+}
+
+src_configure() {
+   append-cppflags -DPROTOTYPES #420503
+
+   local myconf="COM_netscape=no COM_acroread=no"
+
+   use emacs || myconf="${myconf} EMACS=no"
+   use latex || myconf="${myconf} COM_latex=no"
+
+   export LANG=C LC_ALL=C
+
+   econf \
+   --enable-shared \
+   $(use_enable static-libs static) \
+   --sysconfdir="${EPREFIX}"/etc/a2ps \
+   $(use_enable nls) \
+   ${myconf}
+}
+
+src_compile() {
+   # parallel make b0rked
+   emake -j1
+}
+
+src_install() {
+   emake \
+   DESTDIR="${D}" \
+   lispdir="${EPREFIX}${SITELISP}"/${PN} \
+   install
+
+   newdoc "${ED}"/usr/share/a2ps/README README.a2ps
+   newdoc "${ED}"/usr/share/a2ps/ppd/README README.a2ps.ppd
+   newdoc "${ED}"/usr/share/ogonkify/README README.ogonkify
+
+   rm -f 

[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/

2016-11-26 Thread Aaron Bauman
commit: edce3b7b397ecc630c72124e0d8ae599510f19a5
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Nov 23 18:12:04 2016 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sun Nov 27 07:14:01 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edce3b7b

app-text/a2ps: Update HOMEPAGE

Gentoo-Bug: https://bugs.gentoo.org/600598

Package-Manager: portage-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/2898

Signed-off-by: Aaron Bauman  gentoo.org>

 app-text/a2ps/a2ps-4.14-r3.ebuild | 4 ++--
 app-text/a2ps/a2ps-4.14-r4.ebuild | 2 +-
 app-text/a2ps/a2ps-4.14-r5.ebuild | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/app-text/a2ps/a2ps-4.14-r3.ebuild 
b/app-text/a2ps/a2ps-4.14-r3.ebuild
index ce3185b..a0a1ead 100644
--- a/app-text/a2ps/a2ps-4.14-r3.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -6,7 +6,7 @@ EAPI=4
 inherit autotools elisp-common eutils flag-o-matic
 
 DESCRIPTION="Any to PostScript filter"
-HOMEPAGE="http://www.inf.enst.fr/~demaille/a2ps/;
+HOMEPAGE="https://www.gnu.org/software/a2ps/;
 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
linguas_ja? ( mirror://gentoo/${P}-ja_nls.patch.gz )"
 

diff --git a/app-text/a2ps/a2ps-4.14-r4.ebuild 
b/app-text/a2ps/a2ps-4.14-r4.ebuild
index 9be05f9..eed2007 100644
--- a/app-text/a2ps/a2ps-4.14-r4.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r4.ebuild
@@ -6,7 +6,7 @@ EAPI=6
 inherit autotools elisp-common flag-o-matic
 
 DESCRIPTION="Any to PostScript filter"
-HOMEPAGE="http://www.inf.enst.fr/~demaille/a2ps/;
+HOMEPAGE="https://www.gnu.org/software/a2ps/;
 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
linguas_ja? ( mirror://gentoo/${P}-ja_nls.patch.gz )"
 

diff --git a/app-text/a2ps/a2ps-4.14-r5.ebuild 
b/app-text/a2ps/a2ps-4.14-r5.ebuild
index bba3f52..ffa0284 100644
--- a/app-text/a2ps/a2ps-4.14-r5.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r5.ebuild
@@ -6,7 +6,7 @@ EAPI=6
 inherit autotools elisp-common flag-o-matic
 
 DESCRIPTION="Any to PostScript filter"
-HOMEPAGE="http://www.inf.enst.fr/~demaille/a2ps/;
+HOMEPAGE="https://www.gnu.org/software/a2ps/;
 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
linguas_ja? ( mirror://gentoo/${P}-ja_nls.patch.gz )"
 



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/files/

2016-07-17 Thread Patrice Clement
commit: 036360fdf57be20d9506c18ab5b19ce2947a0536
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Fri Jul 15 18:51:44 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sun Jul 17 13:23:24 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=036360fd

app-text/a2ps: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/1903

Signed-off-by: Patrice Clement  gentoo.org>

 app-text/a2ps/files/a2ps-4.13c-psset.patch | 11 ---
 1 file changed, 11 deletions(-)

diff --git a/app-text/a2ps/files/a2ps-4.13c-psset.patch 
b/app-text/a2ps/files/a2ps-4.13c-psset.patch
deleted file mode 100644
index f8fd449..000
--- a/app-text/a2ps/files/a2ps-4.13c-psset.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 a2ps-4.13/contrib/psset.in.orig2006-03-16 12:30:48.0 +0100
-+++ a2ps-4.13/contrib/psset.in 2006-03-16 12:28:14.0 +0100
-@@ -241,7 +241,7 @@
- # spaces with a `\' too...
- pspagedevicelen=`echo "$pspagedevice" | wc -l`
- pspagedevice=`echo "$pspagedevice" | \
-- sed -e "$pspagedevicelen!s/\$/\\/;s/^/\\/"`
-+ sed -e "$pspagedevicelen!s/\$/\\/;s/^ /\\/"`
-
- case $at in
-   0) # Insert last in the Setup, so that we win over other requests.



[gentoo-commits] repo/gentoo:master commit in: app-text/a2ps/, app-text/a2ps/files/

2016-05-17 Thread Andrew Savchenko
commit: 0ac6de8a5a1fbd7d085b38c2d802c9c62f8d8897
Author: Andrew Savchenko  gentoo  org>
AuthorDate: Tue May 17 18:30:20 2016 +
Commit: Andrew Savchenko  gentoo  org>
CommitDate: Tue May 17 18:30:32 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ac6de8a

app-text/a2ps: fix bug 482748

Fix build with >=texinfo-5.2 and LINGUAS="ja"

Package-Manager: portage-2.3.0_rc1
Signed-off-by: Andrew Savchenko  gentoo.org>

 app-text/a2ps/a2ps-4.14-r4.ebuild   | 137 ++
 app-text/a2ps/files/a2ps-4.14-texinfo-5.x.patch | 147 
 2 files changed, 284 insertions(+)

diff --git a/app-text/a2ps/a2ps-4.14-r4.ebuild 
b/app-text/a2ps/a2ps-4.14-r4.ebuild
new file mode 100644
index 000..9be05f9
--- /dev/null
+++ b/app-text/a2ps/a2ps-4.14-r4.ebuild
@@ -0,0 +1,137 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools elisp-common flag-o-matic
+
+DESCRIPTION="Any to PostScript filter"
+HOMEPAGE="http://www.inf.enst.fr/~demaille/a2ps/;
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
+   linguas_ja? ( mirror://gentoo/${P}-ja_nls.patch.gz )"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="emacs latex linguas_ja nls static-libs userland_BSD userland_GNU vanilla"
+
+RESTRICT=test
+
+RDEPEND="app-text/ghostscript-gpl
+   app-text/libpaper
+   >=app-text/psutils-1.17
+   app-text/wdiff
+   emacs? ( virtual/emacs )
+   latex? ( virtual/latex-base )
+   nls? ( virtual/libintl )
+   userland_GNU? ( >=sys-apps/coreutils-6.10-r1 )
+   userland_BSD? ( sys-freebsd/freebsd-ubin )"
+DEPEND="${RDEPEND}
+   >=dev-util/gperf-2.7.2
+   virtual/yacc
+   nls? ( sys-devel/gettext )"
+
+SITEFILE=50${PN}-gentoo.el
+
+S=${WORKDIR}/${PN}-${PV:0:4}
+
+src_prepare() {
+   default
+
+   eapply "${FILESDIR}"/${PN}-4.13c-locale-gentoo.diff
+   use vanilla || eapply -p0 "${FILESDIR}"/${PN}-4.13-stdout.diff
+   if use linguas_ja; then
+   eapply "${WORKDIR}"/${P}-ja_nls.patch
+   # bug #335803
+   eapply -p0 "${FILESDIR}"/${P}-ja-cleanup.patch
+   else
+   eapply "${FILESDIR}"/${P}-cleanup.patch
+   fi
+
+   # fix fnmatch replacement, bug #134546
+   eapply "${FILESDIR}"/${PN}-4.13c-fnmatch-replacement.patch
+
+   # bug #122026
+   eapply "${FILESDIR}"/${P}-psset.patch
+
+   # fix emacs printing, bug #114627
+   eapply "${FILESDIR}"/a2ps-4.13c-emacs.patch
+
+   # fix chmod error, #167670
+   eapply "${FILESDIR}"/a2ps-4.13-manpage-chmod.patch
+
+   # add configure check for mempcpy, bug 216588
+   eapply "${FILESDIR}"/${P}-check-mempcpy.patch
+
+   # fix compilation error due to invalid stpcpy() prototype, bug 216588
+   eapply -p0 "${FILESDIR}"/${P}-fix-stpcpy-proto.patch
+
+   # fix compilation error due to obstack.h issue, bug 269638
+   eapply "${FILESDIR}"/${P}-ptrdiff_t.patch
+
+   # fix compilation error due to texinfo 5.x, bug 482748
+   eapply "${FILESDIR}"/${P}-texinfo-5.x.patch
+
+   # fix building with sys-devel/automake >= 1.12, bug 420503
+   rm -f {.,ogonkify}/aclocal.m4 || die
+   sed -i \
+   -e '/^AM_C_PROTOTYPES/d' \
+   -e '/^AUTOMAKE_OPTIONS.*ansi2knr/d' \
+   -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \
+   -e 's:AM_PROG_CC_STDC:AC_PROG_CC:' \
+   configure.in {contrib/sample,lib,src}/Makefile.am m4/protos.m4 
|| die
+
+   eautoreconf
+}
+
+src_configure() {
+   append-cppflags -DPROTOTYPES #420503
+
+   local myconf="COM_netscape=no COM_acroread=no"
+
+   use emacs || myconf="${myconf} EMACS=no"
+   use latex || myconf="${myconf} COM_latex=no"
+
+   export LANG=C LC_ALL=C
+
+   econf \
+   --enable-shared \
+   $(use_enable static-libs static) \
+   --sysconfdir="${EPREFIX}"/etc/a2ps \
+   $(use_enable nls) \
+   ${myconf}
+}
+
+src_compile() {
+   # parallel make b0rked
+   emake -j1
+}
+
+src_install() {
+   emake \
+   DESTDIR="${D}" \
+   lispdir="${EPREFIX}${SITELISP}"/${PN} \
+   install
+
+   newdoc "${ED}"/usr/share/a2ps/README README.a2ps
+   newdoc "${ED}"/usr/share/a2ps/ppd/README README.a2ps.ppd
+   newdoc "${ED}"/usr/share/ogonkify/README README.ogonkify
+
+   rm -f "${ED}"/usr/share/{a2ps,a2ps/ppd,ogonkify}/README || die
+
+   prune_libtool_files
+
+   if use emacs; then
+   elisp-site-file-install "${FILESDIR}"/${SITEFILE} || die
+   fi
+
+   dodoc ANNOUNCE AUTHORS ChangeLog FAQ NEWS README* THANKS TODO
+}
+
+pkg_postinst() {
+   use emacs && elisp-site-regen
+}
+