[gentoo-commits] repo/gentoo:master commit in: media-gfx/metapixel/
commit: 50342ec2b72e5bc4723897b1977a26a83096bda0 Author: Arthur Zamarin gentoo org> AuthorDate: Tue Apr 9 17:42:21 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Tue Apr 9 17:42:21 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50342ec2 media-gfx/metapixel: drop 1.0.2-r1, EAPI6-- Bug: https://bugs.gentoo.org/925608 Signed-off-by: Arthur Zamarin gentoo.org> media-gfx/metapixel/metapixel-1.0.2-r1.ebuild | 44 --- 1 file changed, 44 deletions(-) diff --git a/media-gfx/metapixel/metapixel-1.0.2-r1.ebuild b/media-gfx/metapixel/metapixel-1.0.2-r1.ebuild deleted file mode 100644 index ecea7810b980.. --- a/media-gfx/metapixel/metapixel-1.0.2-r1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit toolchain-funcs - -DESCRIPTION="a program for generating photomosaics" -HOMEPAGE="https://www.complang.tuwien.ac.at/schani/metapixel; -SRC_URI="https://www.complang.tuwien.ac.at/schani/${PN}/files/${P}.tar.gz; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -RDEPEND=" - dev-lang/perl - >=media-libs/giflib-5:0= - >=media-libs/libpng-1.4:0= - virtual/jpeg:0 -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-libpng15.patch - "${FILESDIR}"/${P}-giflib5.patch -) - -src_prepare() { - default - - sed -i -e 's:/usr/X11R6:/usr:g' Makefile || die - sed -i -e 's:ar:$(AR):' rwimg/Makefile || die -} - -src_compile() { - emake AR="$(tc-getAR)" CC="$(tc-getCC)" OPTIMIZE="${CFLAGS}" LDOPTS="${LDFLAGS}" -} - -src_install() { - dobin ${PN}{,-prepare,-imagesize,-sizesort} - doman ${PN}.1 - dodoc NEWS README -}
[gentoo-commits] repo/gentoo:master commit in: media-gfx/metapixel/
commit: e6f7f49829881f223e55d39a217d78fcbc936257 Author: Arthur Zamarin gentoo org> AuthorDate: Tue Apr 9 17:41:28 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Tue Apr 9 17:41:28 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6f7f498 media-gfx/metapixel: Stabilize 1.0.2-r2 x86, #925608 Signed-off-by: Arthur Zamarin gentoo.org> media-gfx/metapixel/metapixel-1.0.2-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/metapixel/metapixel-1.0.2-r2.ebuild b/media-gfx/metapixel/metapixel-1.0.2-r2.ebuild index a3a30c0d6311..049c3369617b 100644 --- a/media-gfx/metapixel/metapixel-1.0.2-r2.ebuild +++ b/media-gfx/metapixel/metapixel-1.0.2-r2.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://www.complang.tuwien.ac.at/schani/${PN}/files/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" RDEPEND=" dev-lang/perl
[gentoo-commits] repo/gentoo:master commit in: media-gfx/metapixel/
commit: 68cd86d9ff4bed7233f19a4d09e599db9f7084f4 Author: Arthur Zamarin gentoo org> AuthorDate: Tue Apr 9 17:41:27 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Tue Apr 9 17:41:27 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68cd86d9 media-gfx/metapixel: Stabilize 1.0.2-r2 amd64, #925608 Signed-off-by: Arthur Zamarin gentoo.org> media-gfx/metapixel/metapixel-1.0.2-r2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-gfx/metapixel/metapixel-1.0.2-r2.ebuild b/media-gfx/metapixel/metapixel-1.0.2-r2.ebuild index 97ea64edc098..a3a30c0d6311 100644 --- a/media-gfx/metapixel/metapixel-1.0.2-r2.ebuild +++ b/media-gfx/metapixel/metapixel-1.0.2-r2.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 @@ -10,7 +10,7 @@ SRC_URI="https://www.complang.tuwien.ac.at/schani/${PN}/files/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" RDEPEND=" dev-lang/perl
[gentoo-commits] repo/gentoo:master commit in: media-gfx/metapixel/files/, media-gfx/metapixel/
commit: 80952b50674915d288f1a16db40f3be354550d2f Author: Brahmajit Das gmail com> AuthorDate: Sat Sep 23 18:05:37 2023 + Commit: Viorel Munteanu gentoo org> CommitDate: Mon Dec 25 10:00:02 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80952b50 media-gfx/metapixel: Fix call to undeclared function getpid and update EAPI 6 -> 8 Closes: https://bugs.gentoo.org/896224 Signed-off-by: Brahmajit Das gmail.com> Closes: https://github.com/gentoo/gentoo/pull/32963 Signed-off-by: Viorel Munteanu gentoo.org> .../files/metapixel-1.0.2-clang16-build-fix.patch | 12 ++ media-gfx/metapixel/metapixel-1.0.2-r2.ebuild | 44 ++ 2 files changed, 56 insertions(+) diff --git a/media-gfx/metapixel/files/metapixel-1.0.2-clang16-build-fix.patch b/media-gfx/metapixel/files/metapixel-1.0.2-clang16-build-fix.patch new file mode 100644 index ..0ddc05175484 --- /dev/null +++ b/media-gfx/metapixel/files/metapixel-1.0.2-clang16-build-fix.patch @@ -0,0 +1,12 @@ +Bug: https://bugs.gentoo.org/896224 +--- a/getopt.c b/getopt.c +@@ -39,6 +39,8 @@ + #endif + + #include ++#include ++#include + + /* Comment out all this code if we are using the GNU C Library, and are not +actually compiling the library itself. This code is part of the GNU C diff --git a/media-gfx/metapixel/metapixel-1.0.2-r2.ebuild b/media-gfx/metapixel/metapixel-1.0.2-r2.ebuild new file mode 100644 index ..97ea64edc098 --- /dev/null +++ b/media-gfx/metapixel/metapixel-1.0.2-r2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit toolchain-funcs + +DESCRIPTION="a program for generating photomosaics" +HOMEPAGE="https://www.complang.tuwien.ac.at/schani/metapixel/; +SRC_URI="https://www.complang.tuwien.ac.at/schani/${PN}/files/${P}.tar.gz; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-lang/perl + >=media-libs/giflib-5:0= + >=media-libs/libpng-1.4:0= + media-libs/libjpeg-turbo:= +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-libpng15.patch + "${FILESDIR}"/${P}-giflib5.patch + "${FILESDIR}"/${P}-clang16-build-fix.patch +) + +src_prepare() { + default + + sed -i -e 's:/usr/X11R6:/usr:g' Makefile || die + sed -i -e 's:ar:$(AR):' rwimg/Makefile || die +} + +src_compile() { + emake AR="$(tc-getAR)" CC="$(tc-getCC)" OPTIMIZE="${CFLAGS}" LDOPTS="${LDFLAGS}" +} + +src_install() { + dobin ${PN}{,-prepare,-imagesize,-sizesort} + doman ${PN}.1 + dodoc NEWS README +}
[gentoo-commits] repo/gentoo:master commit in: media-gfx/metapixel/
commit: 8ccc6b23b5c3bb1bd6d9279fb5cab380eca2d87c Author: Michael Mair-Keimberger gmail com> AuthorDate: Thu Jun 7 20:22:03 2018 + Commit: Aaron Bauman gentoo org> CommitDate: Sat Jun 9 14:05:50 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ccc6b23 media-gfx/metapixel: use HTTPs media-gfx/metapixel/metapixel-1.0.2-r1.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/media-gfx/metapixel/metapixel-1.0.2-r1.ebuild b/media-gfx/metapixel/metapixel-1.0.2-r1.ebuild index ac2b134a26c..ecea7810b98 100644 --- a/media-gfx/metapixel/metapixel-1.0.2-r1.ebuild +++ b/media-gfx/metapixel/metapixel-1.0.2-r1.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 inherit toolchain-funcs DESCRIPTION="a program for generating photomosaics" -HOMEPAGE="http://www.complang.tuwien.ac.at/schani/metapixel; -SRC_URI="http://www.complang.tuwien.ac.at/schani/${PN}/files/${P}.tar.gz; +HOMEPAGE="https://www.complang.tuwien.ac.at/schani/metapixel; +SRC_URI="https://www.complang.tuwien.ac.at/schani/${PN}/files/${P}.tar.gz; LICENSE="GPL-2" SLOT="0"
[gentoo-commits] repo/gentoo:master commit in: media-gfx/metapixel/
commit: 471d2fa0870254bcc6557cef8f429d85cc512e71 Author: Michael Mair-Keimberger gmail com> AuthorDate: Wed Feb 7 18:46:36 2018 + Commit: Amy Liffey gentoo org> CommitDate: Wed Feb 7 21:32:40 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=471d2fa0 media-gfx/metapixel: remove old 1.0.2 Closes: https://github.com/gentoo/gentoo/pull/7114 media-gfx/metapixel/metapixel-1.0.2.ebuild | 37 -- 1 file changed, 37 deletions(-) diff --git a/media-gfx/metapixel/metapixel-1.0.2.ebuild b/media-gfx/metapixel/metapixel-1.0.2.ebuild deleted file mode 100644 index 3f70113b862..000 --- a/media-gfx/metapixel/metapixel-1.0.2.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 -inherit eutils toolchain-funcs - -DESCRIPTION="a program for generating photomosaics" -HOMEPAGE="http://www.complang.tuwien.ac.at/schani/metapixel; -SRC_URI="http://www.complang.tuwien.ac.at/schani/${PN}/files/${P}.tar.gz; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -RDEPEND="dev-lang/perl - media-libs/giflib - >=media-libs/libpng-1.4 - virtual/jpeg" -DEPEND="${RDEPEND}" - -src_prepare() { - epatch "${FILESDIR}"/${P}-libpng15.patch - - sed -i -e 's:/usr/X11R6:/usr:g' Makefile || die - sed -i -e 's:ar:$(AR):' rwimg/Makefile || die -} - -src_compile() { - emake AR="$(tc-getAR)" CC="$(tc-getCC)" OPTIMIZE="${CFLAGS}" LDOPTS="${LDFLAGS}" -} - -src_install() { - dobin ${PN}{,-prepare,-imagesize,-sizesort} - doman ${PN}.1 - dodoc NEWS README -}
[gentoo-commits] repo/gentoo:master commit in: media-gfx/metapixel/
commit: fc66b14b07bd0f971c73dbde4eb59debe1bafa2a Author: Michael Palimaka gentoo org> AuthorDate: Sun Nov 20 13:43:18 2016 + Commit: Michael Palimaka gentoo org> CommitDate: Sun Nov 20 13:43:29 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc66b14b media-gfx/metapixel: amd64/x86 stable Gentoo-bug: 571934 Package-Manager: portage-2.3.2 media-gfx/metapixel/metapixel-1.0.2-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/metapixel/metapixel-1.0.2-r1.ebuild b/media-gfx/metapixel/metapixel-1.0.2-r1.ebuild index 43e9ad5..edde724 100644 --- a/media-gfx/metapixel/metapixel-1.0.2-r1.ebuild +++ b/media-gfx/metapixel/metapixel-1.0.2-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://www.complang.tuwien.ac.at/schani/${PN}/files/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: media-gfx/metapixel/files/, media-gfx/metapixel/
commit: ba61a592f0b27107872484bfbf58d0a7204e37a8 Author: Pacho Ramos gentoo org> AuthorDate: Sun Oct 16 08:39:49 2016 + Commit: Pacho Ramos gentoo org> CommitDate: Sun Oct 16 08:49:56 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba61a592 media-gfx/metapixel: Fix giflib-5 building (#571934) Package-Manager: portage-2.3.1 .../metapixel/files/metapixel-1.0.2-giflib5.patch | 21 ++ .../metapixel/files/metapixel-1.0.2-libpng15.patch | 4 +- media-gfx/metapixel/metapixel-1.0.2-r1.ebuild | 45 ++ 3 files changed, 68 insertions(+), 2 deletions(-) diff --git a/media-gfx/metapixel/files/metapixel-1.0.2-giflib5.patch b/media-gfx/metapixel/files/metapixel-1.0.2-giflib5.patch new file mode 100644 index ..b543dc4 --- /dev/null +++ b/media-gfx/metapixel/files/metapixel-1.0.2-giflib5.patch @@ -0,0 +1,21 @@ +diff -u metapixel-1.0.2/debian/changelog metapixel-1.0.2/debian/changelog +--- metapixel-1.0.2.orig/rwimg/rwgif.c metapixel-1.0.2/rwimg/rwgif.c +@@ -54,7 +54,7 @@ + + assert(data != 0); + +-data->file = DGifOpenFileName(filename); ++data->file = DGifOpenFileName(filename, NULL); + + assert(data->file !=0); + +@@ -137,7 +137,7 @@ + } + free(buffer); + +-assert(DGifCloseFile(data->file) == GIF_OK); ++assert(DGifCloseFile(data->file, NULL) == GIF_OK); + + return data; + } diff --git a/media-gfx/metapixel/files/metapixel-1.0.2-libpng15.patch b/media-gfx/metapixel/files/metapixel-1.0.2-libpng15.patch index 988437d..f766fb1 100644 --- a/media-gfx/metapixel/files/metapixel-1.0.2-libpng15.patch +++ b/media-gfx/metapixel/files/metapixel-1.0.2-libpng15.patch @@ -1,5 +1,5 @@ rwimg/rwpng.c -+++ rwimg/rwpng.c +--- a/rwimg/rwpng.c b/rwimg/rwpng.c @@ -42,6 +42,7 @@ open_png_file_reading (const char *filename, int *width, int *height) { diff --git a/media-gfx/metapixel/metapixel-1.0.2-r1.ebuild b/media-gfx/metapixel/metapixel-1.0.2-r1.ebuild new file mode 100644 index ..43e9ad5 --- /dev/null +++ b/media-gfx/metapixel/metapixel-1.0.2-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit toolchain-funcs + +DESCRIPTION="a program for generating photomosaics" +HOMEPAGE="http://www.complang.tuwien.ac.at/schani/metapixel; +SRC_URI="http://www.complang.tuwien.ac.at/schani/${PN}/files/${P}.tar.gz; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + dev-lang/perl + >=media-libs/giflib-5:0= + >=media-libs/libpng-1.4:0= + virtual/jpeg:0 +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-libpng15.patch + "${FILESDIR}"/${P}-giflib5.patch +) + +src_prepare() { + default + + sed -i -e 's:/usr/X11R6:/usr:g' Makefile || die + sed -i -e 's:ar:$(AR):' rwimg/Makefile || die +} + +src_compile() { + emake AR="$(tc-getAR)" CC="$(tc-getCC)" OPTIMIZE="${CFLAGS}" LDOPTS="${LDFLAGS}" +} + +src_install() { + dobin ${PN}{,-prepare,-imagesize,-sizesort} + doman ${PN}.1 + dodoc NEWS README +}