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

2024-02-29 Thread Sam James
commit: efd1a1f09c5c37ee32ea6e1185a0d10305097ff6
Author: Eli Schwartz  gmail  com>
AuthorDate: Thu Feb 29 22:29:27 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 29 23:57:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efd1a1f0

app-text/pspdftool: mark LTO-unsafe, mark strict-aliasing unsafe

The software is:
- dead upstream since 2015
- maintainer-needed in gentoo
- no reverse dependencies
- unstable-only
- a walking strict-aliasing problem

It's not getting fixed any time soon, and there's nowhere to report
its issues, so just filter out the most dangerous flags and pray nothing
explodes.

Closes: https://bugs.gentoo.org/855023
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 app-text/pspdftool/pspdftool-0.03.ebuild | 10 --
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/app-text/pspdftool/pspdftool-0.03.ebuild 
b/app-text/pspdftool/pspdftool-0.03.ebuild
index 5dff5b9d0d33..97d533be413d 100644
--- a/app-text/pspdftool/pspdftool-0.03.ebuild
+++ b/app-text/pspdftool/pspdftool-0.03.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit autotools
+inherit autotools flag-o-matic
 
 DESCRIPTION="Tool for prepress preparation of PDF and PostScript documents"
 HOMEPAGE="https://sourceforge.net/projects/pspdftool";
@@ -24,6 +24,12 @@ src_prepare() {
 }
 
 src_configure() {
+   # -Werror=strict-aliasing; do not trust for LTO-safety either.
+   # https://bugs.gentoo.org/855023
+   # Upstream is dead for nearly a decade. Not forwarded.
+   append-flags -fno-strict-aliasing
+   filter-lto
+
econf $(use_with zlib)
 }
 



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

2020-01-21 Thread David Seifert
commit: eec1da300c7e113173e68d09ca02f6a18c439d28
Author: David Seifert  gentoo  org>
AuthorDate: Tue Jan 21 21:50:56 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Jan 21 21:50:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eec1da30

app-text/pspdftool: Port to EAPI 7

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: David Seifert  gentoo.org>

 app-text/pspdftool/pspdftool-0.03.ebuild | 26 ++
 1 file changed, 10 insertions(+), 16 deletions(-)

diff --git a/app-text/pspdftool/pspdftool-0.03.ebuild 
b/app-text/pspdftool/pspdftool-0.03.ebuild
index 5b6cbb7e2ec..5dff5b9d0d3 100644
--- a/app-text/pspdftool/pspdftool-0.03.ebuild
+++ b/app-text/pspdftool/pspdftool-0.03.ebuild
@@ -1,31 +1,25 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=7
 
-ESVN_REPO_URI="https://svn.code.sf.net/p/pspdftool/code/trunk";
-ESVN_PROJECT="pspdftool"
-
-[[ "${PV}" == "" ]] && EXTRA_ECLASS="subversion"
-inherit autotools ${EXTRA_ECLASS}
-unset EXTRA_ECLASS
+inherit autotools
 
 DESCRIPTION="Tool for prepress preparation of PDF and PostScript documents"
 HOMEPAGE="https://sourceforge.net/projects/pspdftool";
-[[ "${PV}" == "" ]] || SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-# Don't move KEYWORDS on the previous line or ekeyword won't work # 399061
-[[ "${PV}" == "" ]] || \
-KEYWORDS="~amd64 ~x86"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 
 LICENSE="GPL-2"
 SLOT="0"
+KEYWORDS="~amd64 ~x86"
 IUSE="zlib"
 
-DEPEND="zlib? ( sys-libs/zlib ) "
-RDEPEND="${DEPEND}"
+RDEPEND="zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}"
 
 src_prepare() {
+   default
+   mv configure.{in,ac} || die
eautoreconf
 }
 
@@ -35,5 +29,5 @@ src_configure() {
 
 src_install() {
default
-   rm -rf "${ED}"/usr/share/doc/${PN}*
+   rm -rf "${ED}"/usr/share/doc/${PN}* || die
 }



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

2020-01-21 Thread David Seifert
commit: fc3102162c3dfde79c376a10a674be8262c066a0
Author: David Seifert  gentoo  org>
AuthorDate: Tue Jan 21 21:50:55 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Jan 21 21:50:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc310216

app-text/pspdftool: Remove live ebuild

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: David Seifert  gentoo.org>

 app-text/pspdftool/pspdftool-.ebuild | 37 
 1 file changed, 37 deletions(-)

diff --git a/app-text/pspdftool/pspdftool-.ebuild 
b/app-text/pspdftool/pspdftool-.ebuild
deleted file mode 100644
index 96932275aac..000
--- a/app-text/pspdftool/pspdftool-.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-ESVN_REPO_URI="https://svn.code.sf.net/p/pspdftool/code/trunk";
-ESVN_PROJECT="pspdftool"
-
-[[ "${PV}" == "" ]] && EXTRA_ECLASS="subversion"
-inherit autotools ${EXTRA_ECLASS}
-unset EXTRA_ECLASS
-
-DESCRIPTION="Tool for prepress preparation of PDF and PostScript documents"
-HOMEPAGE="https://sourceforge.net/projects/pspdftool";
-[[ "${PV}" == "" ]] || SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-[[ "${PV}" == "" ]] || \
-KEYWORDS="~amd64 ~x86"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="zlib"
-
-DEPEND="zlib? ( sys-libs/zlib ) "
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-   eautoreconf
-}
-
-src_configure() {
-   econf $(use_with zlib)
-}
-
-src_install() {
-   default
-   rm -rf "${ED}"/usr/share/doc/${PN}*
-}



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

2018-03-10 Thread Pacho Ramos
commit: f137f6b0af81319d8a5115df9dd2f0f4bff9f253
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Mar 10 13:11:06 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Mar 10 13:20:30 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f137f6b0

app-text/pspdftool: Update maintainer due to bug #357919

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-text/pspdftool/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/app-text/pspdftool/metadata.xml b/app-text/pspdftool/metadata.xml
index 07d5444f00d..fadc3f11108 100644
--- a/app-text/pspdftool/metadata.xml
+++ b/app-text/pspdftool/metadata.xml
@@ -1,10 +1,6 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-   mi...@gentoo.org
-   Michal Hrušecký
-   

 Pspdftool is a tool for preprinting preparation of documents. It supports 
PostScript and PDF files and allows users do several transformations (for 
example rotation, scale, miror ...) and pages selections.