diff options
author | Sam James <sam@gentoo.org> | 2022-09-30 01:48:16 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-09-30 01:49:48 +0100 |
commit | 7a977369d8267432cdc288d93c6ab89aaba3c9f0 (patch) | |
tree | d488dd2097747b7cb613648d20b3a4888769e7dc /media-gfx/pngtools | |
parent | media-gfx/pngtools: add github upstream metadata (diff) | |
download | gentoo-7a977369d8267432cdc288d93c6ab89aaba3c9f0.tar.gz gentoo-7a977369d8267432cdc288d93c6ab89aaba3c9f0.tar.bz2 gentoo-7a977369d8267432cdc288d93c6ab89aaba3c9f0.zip |
media-gfx/pngtools: add 0.4_p20220314
Closes: https://bugs.gentoo.org/712600
Closes: https://bugs.gentoo.org/871246
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-gfx/pngtools')
-rw-r--r-- | media-gfx/pngtools/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/pngtools/files/pngtools-0.4_p20220314-docbook-dtd.patch | 67 | ||||
-rw-r--r-- | media-gfx/pngtools/pngtools-0.4_p20220314.ebuild | 40 |
3 files changed, 108 insertions, 0 deletions
diff --git a/media-gfx/pngtools/Manifest b/media-gfx/pngtools/Manifest index 55cbdd5e9bde..b06c58d53e17 100644 --- a/media-gfx/pngtools/Manifest +++ b/media-gfx/pngtools/Manifest @@ -1 +1,2 @@ +DIST pngtools-0.4_p20220314.tar.gz 651338 BLAKE2B 9df108da4a52c6292c52a08ddc59163d386bc5de4aaaac96a166ba1e5dc38029b4261e80b8a186997d199ecd11b43fe9e46a41b6b25c65595b7baa4eab43376e SHA512 d1812051d4d1e6306805c96f686798e5af0a304ec045dbf02d77ab3f6432bc0f4e0c96c800bbb159d6ca9e83e8ef479c6d4ba742072fa897ec55808061001676 DIST pngtools_0_4.tgz 1312178 BLAKE2B bff4be34b9a14a459cef2fb5cd1b70bb645c1fca8843bffc2a517b7f56e7a40e104b25b887f8bda227da2e12613c6c568b081b38bf70881b291bb5562eaeb6db SHA512 588b954c7c43ba48442ed4b22ad94fcfb456c7fc84a682e9126ca9d1c9b63dbb8f2d64e6e156664f327efbe11bb2ab1ac29d63ebb8a05329ac14200fb29f95a1 diff --git a/media-gfx/pngtools/files/pngtools-0.4_p20220314-docbook-dtd.patch b/media-gfx/pngtools/files/pngtools-0.4_p20220314-docbook-dtd.patch new file mode 100644 index 000000000000..4523c4ac7208 --- /dev/null +++ b/media-gfx/pngtools/files/pngtools-0.4_p20220314-docbook-dtd.patch @@ -0,0 +1,67 @@ +https://sources.debian.org/patches/pngtools/0.5~git20220314.1ccca3a-2/bug1013909.patch/ + +Description: Fix build failure without network access caused by missing local DTD. +Author: Michael Schaller <misch@google.com> +Bug-Debian: https://bugs.debian.org/1013909 +Forwarded: no +Reviewed-By: Mathieu Malaterre <malat@debian.org> +Last-Update: 2022-08-11 + +--- pngtools-0.5~git20220314.1ccca3a.orig/man/docbook/head.sgml ++++ pngtools-0.5~git20220314.1ccca3a/man/docbook/head.sgml +@@ -12,5 +12,4 @@ + (c) Michael Still, 2001 + --> + +-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook SGML V4.4//EN" +- "http://www.oasis-open.org/docbook/sgml/4.4/docbook.dtd"> ++<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.4//EN" []> +--- pngtools-0.5~git20220314.1ccca3a.orig/man/pngchunkdesc.sgml ++++ pngtools-0.5~git20220314.1ccca3a/man/pngchunkdesc.sgml +@@ -12,8 +12,7 @@ + (c) Michael Still, 2001 + --> + +-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook SGML V4.4//EN" +- "http://www.oasis-open.org/docbook/sgml/4.4/docbook.dtd"> ++<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.4//EN" []> + <refentry id="pngchunkdesc"> + <refmeta> + <refentrytitle>pngchunkdesc</refentrytitle> +--- pngtools-0.5~git20220314.1ccca3a.orig/man/pngchunks.sgml ++++ pngtools-0.5~git20220314.1ccca3a/man/pngchunks.sgml +@@ -12,8 +12,7 @@ + (c) Michael Still, 2001 + --> + +-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook SGML V4.4//EN" +- "http://www.oasis-open.org/docbook/sgml/4.4/docbook.dtd"> ++<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.4//EN" []> + <refentry id="pngchunkdesc"> + <refmeta> + <refentrytitle>pngchunks</refentrytitle> +--- pngtools-0.5~git20220314.1ccca3a.orig/man/pngcp.sgml ++++ pngtools-0.5~git20220314.1ccca3a/man/pngcp.sgml +@@ -12,8 +12,7 @@ + (c) Michael Still, 2001 + --> + +-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook SGML V4.4//EN" +- "http://www.oasis-open.org/docbook/sgml/4.4/docbook.dtd"> ++<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.4//EN" []> + <refentry id="pngcp"> + <refmeta> + <refentrytitle>pngcp</refentrytitle> +--- pngtools-0.5~git20220314.1ccca3a.orig/man/pnginfo.sgml ++++ pngtools-0.5~git20220314.1ccca3a/man/pnginfo.sgml +@@ -12,8 +12,7 @@ + (c) Michael Still, 2001 + --> + +-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook SGML V4.4//EN" +- "http://www.oasis-open.org/docbook/sgml/4.4/docbook.dtd"> ++<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.4//EN" []> + <refentry id="pnginfo"> + <refmeta> + <refentrytitle>pnginfo</refentrytitle> + diff --git a/media-gfx/pngtools/pngtools-0.4_p20220314.ebuild b/media-gfx/pngtools/pngtools-0.4_p20220314.ebuild new file mode 100644 index 000000000000..9fe86338be40 --- /dev/null +++ b/media-gfx/pngtools/pngtools-0.4_p20220314.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +MY_COMMIT="1ccca3a0f3f6882661bbafbfb62feb774ca195d1" +DESCRIPTION="A series of tools for the PNG image format" +HOMEPAGE="https://github.com/mikalstill/pngtools" +SRC_URI="https://github.com/mikalstill/pngtools/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/${PN}-${MY_COMMIT} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND="media-libs/libpng:=" +DEPEND="${RDEPEND}" +# https://github.com/mikalstill/pngtools/issues/14 +BDEPEND="app-text/docbook-sgml-utils" + +PATCHES=( + "${FILESDIR}"/${PN}-0.4_p20220314-docbook-dtd.patch +) + +src_prepare() { + default + + eautoreconf +} + +src_install() { + default + + dodoc ABOUT chunks.txt + + docinto examples + dodoc *.png +} |