From 0c80ffd3caee224555f8b394b6b2c05b2752f440 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 15 Sep 2022 17:13:11 +0100 Subject: gentoo auto-resync : 15:09:2022 - 17:13:11 --- app-text/a2ps/Manifest | 2 +- app-text/a2ps/a2ps-4.14-r6.ebuild | 144 -------------------------------------- app-text/a2ps/a2ps-4.14-r7.ebuild | 144 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 145 insertions(+), 145 deletions(-) delete mode 100644 app-text/a2ps/a2ps-4.14-r6.ebuild create mode 100644 app-text/a2ps/a2ps-4.14-r7.ebuild (limited to 'app-text/a2ps') diff --git a/app-text/a2ps/Manifest b/app-text/a2ps/Manifest index 16ed7edfb01d..7c1252bbe866 100644 --- a/app-text/a2ps/Manifest +++ b/app-text/a2ps/Manifest @@ -16,5 +16,5 @@ AUX a2ps-4.14-texinfo-5.x.patch 5996 BLAKE2B 720a408c88c848fbe9b6ece319a8eb05a10 AUX a2ps-4.14-texinfo-6.7-encoding.patch 1372 BLAKE2B 3eb51e4c83e60f7073c4957963dfe92931fa63eee1410e615171f1f823e21702032ae7dca9ae397851e0620df40a09c8e09bbb0ff12e2843b3c7aa511adda8ec SHA512 31d77113c5a727cc2aa72bc31a6e961cfc5d5871c40aa1f59f3edbadaa06ba55cb35bf6cf9b142276c83ac0a69fa49df9eb157d732fe44dc392f7dac7e014db4 DIST a2ps-4.14-ja_nls.patch.gz 27576 BLAKE2B 7300971fb76f6c8d2b0e5ffa519cf6064519a33f24430b9894e43778dff5b78f7cf7e2b9fe1e98fb475f452b39ccc29f88f579bbe1922ac3ef70775a05591b32 SHA512 f02f553dd9d9dbd9dfe41ebfe103493000aa4e9de5634c94e7453f73b66d88fea6b0010095913a4a99c7285990a1df1ebcc39da451b2b34f96b0c191112b125f DIST a2ps-4.14.tar.gz 2552507 BLAKE2B cd15a2b85f54f8bfb92adf9f4cf2c3c29091e528ae8072d0e905c58cc94caf55b76ac3e37891f8a0bc0909a177c5ee434fe5aaab3625a2c14127dabad8b506ed SHA512 fd6ac8ab47d789114c283e8ca508f7f56feabd1a189f4ac772cad9e6be7e3791e210892cfffd04ad1d39efe4b15386b2e61bf4cd56b70ed581c0554f36bfe06f -EBUILD a2ps-4.14-r6.ebuild 3606 BLAKE2B 26a2e9a35853ca9689ad83d3ed651b616fccba709995254d4643219334be9226a53a396c393941bb628510bcdf10c328f8b39e6ed2c41c8d6e4487a3c38221d7 SHA512 451fc1c89756690ab854f6c0b3dcdd9cc55063013fccd6fff00bae867bbdb9576d53b6286e91a2feee4fcb449e2e85efedb4d6ccbd9f6a8518d760163b31b284 +EBUILD a2ps-4.14-r7.ebuild 3608 BLAKE2B 4cd8a24759e611dbb1cc213ebc8587154f844300a15d134b51bc26acc3e8baf26f624fe60b75d35c40f99813a32a6b5e3bf2f2ecf09ac405a192f8748b6b0901 SHA512 98130fdec528347fca365d35df2a455b8fb2986ffb22648cda7ae09d12c6a4c7a22ef1dbe500bdacdb3e9b6751d7d92a8e5d5a7eca423dfe3d789a2eb8d58314 MISC metadata.xml 347 BLAKE2B 252d70af1bcfb8685137113cd50913be3154245eeac5cad0d719283c87b81af57a48268df9659968f98b4b1e77be16bf4b1af45cc69fd12c8cdbbe8432d4cb49 SHA512 dde37464c0674ff27febf9293b3ea71272d307ae3a61c7a243f8a61ec4283b004cb5496d121aa25dc143f0664bdb212b294dd471c7c10daa9f2f3f0fe5cdc319 diff --git a/app-text/a2ps/a2ps-4.14-r6.ebuild b/app-text/a2ps/a2ps-4.14-r6.ebuild deleted file mode 100644 index 614a0ba87c55..000000000000 --- a/app-text/a2ps/a2ps-4.14-r6.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 - 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 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 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 -} - -pkg_postrm() { - use emacs && elisp-site-regen -} diff --git a/app-text/a2ps/a2ps-4.14-r7.ebuild b/app-text/a2ps/a2ps-4.14-r7.ebuild new file mode 100644 index 000000000000..5beff0baee31 --- /dev/null +++ b/app-text/a2ps/a2ps-4.14-r7.ebuild @@ -0,0 +1,144 @@ +# 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 + 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 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 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 +} + +pkg_postrm() { + use emacs && elisp-site-regen +} -- cgit v1.2.3