summaryrefslogtreecommitdiff
path: root/media-gfx
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/Manifest.gzbin37655 -> 37653 bytes
-rw-r--r--media-gfx/imageworsener/Manifest3
-rw-r--r--media-gfx/imageworsener/files/imageworsener-1.3.5-runtest-exit-code.patch24
-rw-r--r--media-gfx/imageworsener/imageworsener-1.3.5.ebuild6
4 files changed, 30 insertions, 3 deletions
diff --git a/media-gfx/Manifest.gz b/media-gfx/Manifest.gz
index e20812e26bec..c5615ad79f25 100644
--- a/media-gfx/Manifest.gz
+++ b/media-gfx/Manifest.gz
Binary files differ
diff --git a/media-gfx/imageworsener/Manifest b/media-gfx/imageworsener/Manifest
index ec5284c077b8..6c5e8e8361f3 100644
--- a/media-gfx/imageworsener/Manifest
+++ b/media-gfx/imageworsener/Manifest
@@ -1,7 +1,8 @@
+AUX imageworsener-1.3.5-runtest-exit-code.patch 721 BLAKE2B 1b8514937989846ab68361321c45d6d6162ad3fd0bcef4b3b6f85401cc0ad22cd7c4c06ac1b9de502424372fdf65ff3da9ff1e7f6de98eee0813af40849902e7 SHA512 ecc45dce50d8aa8aec7aef61c0b994d36ed0bc7a68a8f50881c1ea2fed49d67acb941ba6f2bcdd66b7b76351ddc7bc658d8c6b213c796ad133fb5f9b718b5d82
DIST imageworsener-1.3.3.tar.gz 662243 BLAKE2B 6b34dc111c5b2dcc25fdc717b7ec8d4268ca1b67c31cca58b5e1983643f1e3b78543a3bdba24b3692a05cb83a887bfcf0e7b09307535994d280056a0047c8b0d SHA512 ebe8a31819cf665d8d8d7e789d873de03206e74e100ea99b2d8dc6ac2590025ff0058066daeb17ebfaa6cf49222e33c8a9efa83f39f5e2b9b49d27a3ee1b027f
DIST imageworsener-1.3.4.tar.gz 665740 BLAKE2B 81e94230871e62dce77e63af7e958058145b1d858380eb9fb2b951c82154d8971eb4ee0a3257f72c519b0b007a23d70c4add70dfdc7e3b77c0f486bfb8c2aed1 SHA512 840cc779496e8279605e94797e27ac60196cf2178b55c8c454e6fab2c64733c057cb51decd7cf99b61dd5d8aef9bb93c397f5f07347b600ad5f996d72300dc3c
DIST imageworsener-1.3.5.tar.gz 674034 BLAKE2B 5070da9536539afed1c4636dfd91816bb5c31e8eed871a55111c3c1008c745e9d09b95ec32dcf157e5fd05e67b74757fd4b019892b5935f94b9542cd61728f7c SHA512 8fa0a73639914b03708ff12830e1185ae74759af3d64db7502dd2a14db1f2102bb9d5c61e079dab2d0f24746420abc815ced14d530915bcbe80ac5e507246594
EBUILD imageworsener-1.3.3.ebuild 1020 BLAKE2B 9e803a9cf5e7a8a0dbd5d1d1893bbbdf2a6f1b125189f8e70581578a5b1f9027430d6b6639ad2bec23fd5905488faee8745ac56bd9af4b7f8405e231eccf44db SHA512 cbc506da52e68000672a05c5c9125a7c1467fe13b9b1fb3b91a7510afb180ba8266c6ec4c7c51ce8025f64fd9ff40fab2f1fdeb0193d5183d18123086db197c9
EBUILD imageworsener-1.3.4.ebuild 1064 BLAKE2B 6d50e09f20a24f83afed212d45f98542029f56c954ccef8d8072dd410f0bf540951264a545e9b1f4c51dd2b60b00b3c21c8e219567b19c4666cf7b8b2099b099 SHA512 0d9791968430b2ba887cbabfbb7c771d03b75ed0ccf4cd4c416a0f0724963629bb235719992d3df2543bb60fc5b770c4f3818a49bc9a273bcb438a3cdec81fa9
-EBUILD imageworsener-1.3.5.ebuild 1074 BLAKE2B 397f32fab1a40362a3beec7971d78f2dbeb11439d1e1fefad2e7eb09abadcb665241a45ff8008c37fd4bccebcdc41a3ae3c3489aa9a315c63a4361cec129341b SHA512 af4d89cea1a2d78d6a55122485c9187220b7ee626a155b2e9bcaca6a5772c80385a14acad2c165397b08cdd5f0e969b29e2d4c52677a4ab0803e2ce6ad637e4e
+EBUILD imageworsener-1.3.5.ebuild 1133 BLAKE2B 177fac0d48cb51443f3e0fdd5ea7aacc4791f275902249383f96e21c1a320a0e45ef01b02f79ebb278ce4c7c12da5296d815b44d14d3fc90956ba0a90f9266e2 SHA512 9ba27e64538072dda2d30bfddfdeb957886a9bf518d1122621340d15ba2d79a8cb0039ff35b6ea42cb07fe769eca0ffaf7d47e0c2e84755a16f13d311271f04b
MISC metadata.xml 246 BLAKE2B 81f69e16d39185fd06f17860f040ff11b50eb1fe6e8355e79341a5b14089167f6656624ccb39dcfb5ffc345e2a12df2da1fb7c5505c1e67e2d5f2fbf4ada714e SHA512 cea0c9d27e0766567271e84ae64d50de67aa0df36302462d8503485b663ac05a6ab0ddd3a5a7d1e35fd014d56be2245a39259071f3a4f0810ec9d54185282a46
diff --git a/media-gfx/imageworsener/files/imageworsener-1.3.5-runtest-exit-code.patch b/media-gfx/imageworsener/files/imageworsener-1.3.5-runtest-exit-code.patch
new file mode 100644
index 000000000000..8c62638a1e28
--- /dev/null
+++ b/media-gfx/imageworsener/files/imageworsener-1.3.5-runtest-exit-code.patch
@@ -0,0 +1,24 @@
+https://bugs.gentoo.org/916906
+https://github.com/jsummers/imageworsener/issues/47
+https://github.com/jsummers/imageworsener/pull/46
+
+From 91c7c79d86f55920193d17a7b87631b14ac7779f Mon Sep 17 00:00:00 2001
+From: matoro <matoro@users.noreply.github.com>
+Date: Mon, 15 Jan 2024 22:26:45 -0500
+Subject: [PATCH] Pass diff exit code up to shell for test suite
+
+Right now, test failures are not getting detected because the runtests
+script does not pass up a failing exit code from diff.
+---
+ tests/runtest | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/tests/runtest b/tests/runtest
+index 6db7b6c..3f534dc 100755
+--- a/tests/runtest
++++ b/tests/runtest
+@@ -334,3 +334,4 @@ then
+ echo "All tests passed."
+ fi
+
++exit $RET
diff --git a/media-gfx/imageworsener/imageworsener-1.3.5.ebuild b/media-gfx/imageworsener/imageworsener-1.3.5.ebuild
index 022b3e345100..ea228bb0d1fe 100644
--- a/media-gfx/imageworsener/imageworsener-1.3.5.ebuild
+++ b/media-gfx/imageworsener/imageworsener-1.3.5.ebuild
@@ -22,7 +22,9 @@ DEPEND="png? ( media-libs/libpng:0 )
RDEPEND="${DEPEND}"
REQUIRED_USE="test? ( jpeg png webp zlib )"
-RESTRICT="!test? ( test )"
+RESTRICT="test"
+
+PATCHES=( "${FILESDIR}/${PN}-1.3.5-runtest-exit-code.patch" )
src_configure() {
local switch=''
@@ -44,5 +46,5 @@ src_install() {
src_test() {
cd "${S}"/tests || die
- ./runtest "${S}"/${MY_PN}
+ ./runtest "${S}"/${MY_PN} || die
}