public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/pngtools/
@ 2019-12-13 15:07 David Seifert
  0 siblings, 0 replies; 5+ messages in thread
From: David Seifert @ 2019-12-13 15:07 UTC (permalink / raw
  To: gentoo-commits

commit:     bb16b60fe5fe0a4ae2d0bf225b16634b1c5755f7
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 13 15:07:19 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Dec 13 15:07:19 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb16b60f

media-gfx/pngtools: Port to EAPI 7

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 media-gfx/pngtools/pngtools-0.4-r2.ebuild | 33 +++++++++++++++++--------------
 1 file changed, 18 insertions(+), 15 deletions(-)

diff --git a/media-gfx/pngtools/pngtools-0.4-r2.ebuild b/media-gfx/pngtools/pngtools-0.4-r2.ebuild
index b561e2cde5e..18ba166788a 100644
--- a/media-gfx/pngtools/pngtools-0.4-r2.ebuild
+++ b/media-gfx/pngtools/pngtools-0.4-r2.ebuild
@@ -1,34 +1,37 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
-inherit autotools eutils
+EAPI=7
 
-MY_PV=${PV/./_}
+inherit autotools
 
 DESCRIPTION="A series of tools for the PNG image format"
 HOMEPAGE="http://www.stillhq.com/pngtools/"
-SRC_URI="http://www.stillhq.com/pngtools/source/pngtools_${MY_PV}.tgz"
+SRC_URI="http://www.stillhq.com/pngtools/source/pngtools_${PV/./_}.tgz"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 ppc x86"
-IUSE=""
 
-RDEPEND=">=media-libs/libpng-1.4:0"
+RDEPEND="media-libs/libpng:="
 DEPEND="${RDEPEND}"
 
-src_prepare() {
-	epatch "${FILESDIR}"/${PN}-0.3-implicit-declarations.patch
-	epatch "${FILESDIR}"/${P}-libpng14.patch
-	epatch "${FILESDIR}"/${P}-libpng15-fixes.patch
+PATCHES=(
+	"${FILESDIR}"/${PN}-0.3-implicit-declarations.patch
+	"${FILESDIR}"/${P}-libpng14.patch
+	"${FILESDIR}"/${P}-libpng15-fixes.patch
+)
 
+src_prepare() {
+	default
+	mv configure.{in,ac} || die
 	eautoreconf
 }
 
 src_install() {
-	emake DESTDIR="${D}" install
-	dodoc ABOUT AUTHORS ChangeLog NEWS README chunks.txt
-	insinto /usr/share/doc/${PF}/examples
-	doins *.png
+	default
+	dodoc ABOUT chunks.txt
+
+	docinto examples
+	dodoc *.png
 }


^ permalink raw reply related	[flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/pngtools/
@ 2022-09-30  0:58 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2022-09-30  0:58 UTC (permalink / raw
  To: gentoo-commits

commit:     17f04ce2c7e6bfd6d71ce08e263f1b4edbc8b55e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 30 00:39:53 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 30 00:39:53 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17f04ce2

media-gfx/pngtools: add github upstream metadata

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-gfx/pngtools/metadata.xml | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/media-gfx/pngtools/metadata.xml b/media-gfx/pngtools/metadata.xml
index aaab041e8885..c8df55eac61d 100644
--- a/media-gfx/pngtools/metadata.xml
+++ b/media-gfx/pngtools/metadata.xml
@@ -1,7 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<maintainer type="person">
-  <email>robbat2@gentoo.org</email>
-</maintainer>
+	<maintainer type="person">
+		<email>robbat2@gentoo.org</email>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">mikalstill/pngtools</remote-id>
+	</upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/pngtools/
@ 2022-10-25 17:55 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2022-10-25 17:55 UTC (permalink / raw
  To: gentoo-commits

commit:     8374f7e21cabda39af4796e4c7dd0b2bbbcf8cbb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 25 17:54:36 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 25 17:54:36 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8374f7e2

media-gfx/pngtools: Stabilize 0.4_p20220314 amd64, #873559

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-gfx/pngtools/pngtools-0.4_p20220314.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/pngtools/pngtools-0.4_p20220314.ebuild b/media-gfx/pngtools/pngtools-0.4_p20220314.ebuild
index 68eea465975b..8889ed8a1a47 100644
--- a/media-gfx/pngtools/pngtools-0.4_p20220314.ebuild
+++ b/media-gfx/pngtools/pngtools-0.4_p20220314.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}"/${PN}-${MY_COMMIT}
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc x86"
+KEYWORDS="amd64 ~ppc x86"
 
 RDEPEND="media-libs/libpng:="
 DEPEND="${RDEPEND}"


^ permalink raw reply related	[flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/pngtools/
@ 2022-10-27  7:40 Agostino Sarubbo
  0 siblings, 0 replies; 5+ messages in thread
From: Agostino Sarubbo @ 2022-10-27  7:40 UTC (permalink / raw
  To: gentoo-commits

commit:     343dfdaabf1b2cbfdcd84d9ef27dbc324f95320a
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 27 07:40:29 2022 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Oct 27 07:40:29 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=343dfdaa

media-gfx/pngtools: Stabilize 0.4_p20220314 ppc, #873559

Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 media-gfx/pngtools/pngtools-0.4_p20220314.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/pngtools/pngtools-0.4_p20220314.ebuild b/media-gfx/pngtools/pngtools-0.4_p20220314.ebuild
index 8889ed8a1a47..0e411a64e826 100644
--- a/media-gfx/pngtools/pngtools-0.4_p20220314.ebuild
+++ b/media-gfx/pngtools/pngtools-0.4_p20220314.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}"/${PN}-${MY_COMMIT}
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
+KEYWORDS="amd64 ppc x86"
 
 RDEPEND="media-libs/libpng:="
 DEPEND="${RDEPEND}"


^ permalink raw reply related	[flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/pngtools/
@ 2024-03-05  4:48 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2024-03-05  4:48 UTC (permalink / raw
  To: gentoo-commits

commit:     9a68e7e37fbe30af4d48e279af7a6b2558c6fbdc
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Mon Mar  4 23:52:36 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar  5 04:46:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a68e7e3

media-gfx/pngtools: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/875371
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-gfx/pngtools/pngtools-0.4_p20220314.ebuild | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/media-gfx/pngtools/pngtools-0.4_p20220314.ebuild b/media-gfx/pngtools/pngtools-0.4_p20220314.ebuild
index 0e411a64e826..67bd84dbf9e8 100644
--- a/media-gfx/pngtools/pngtools-0.4_p20220314.ebuild
+++ b/media-gfx/pngtools/pngtools-0.4_p20220314.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit autotools
+inherit autotools flag-o-matic
 
 MY_COMMIT="1ccca3a0f3f6882661bbafbfb62feb774ca195d1"
 DESCRIPTION="A series of tools for the PNG image format"
@@ -30,6 +30,15 @@ src_prepare() {
 	eautoreconf
 }
 
+src_configure() {
+	# -Werror=lto-type-mismatch
+	# https://bugs.gentoo.org/875371
+	# https://github.com/mikalstill/pngtools/issues/21
+	filter-lto
+
+	default
+}
+
 src_install() {
 	default
 


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-03-05  4:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-13 15:07 [gentoo-commits] repo/gentoo:master commit in: media-gfx/pngtools/ David Seifert
  -- strict thread matches above, loose matches on Subject: below --
2022-09-30  0:58 Sam James
2022-10-25 17:55 Sam James
2022-10-27  7:40 Agostino Sarubbo
2024-03-05  4:48 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox