public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/gegl/, media-libs/gegl/files/
Date: Thu, 25 Jun 2020 08:08:21 +0000 (UTC)	[thread overview]
Message-ID: <1593072461.794418cf941905fc957501a1e7a3bd9e954f86a6.juippis@gentoo> (raw)

commit:     794418cf941905fc957501a1e7a3bd9e954f86a6
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Mon May 25 00:02:17 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Jun 25 08:07:41 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=794418cf

media-libs/gegl: 0.3.34, drop failed tests using gegl-video, vp8

1.
The 'gegl-video' executable is built only 'with-gexiv2' option enabled.
Enabling of 'gexiv2' option on test phase allows
to built 'gegl-video' executable and then this part passed.

As mentioned in gegl-0.3.34.ebuild (as mentioned by previous maintainer):
"mrg is not in tree and gexiv2 support only has effect
when mrg support is enabled".

But as this option is disabled for build without USE="test"
(or FEATURES="test") and therefore isn't used in provided package
I see no reason to fix compilation instead of disabling this part of test.

2.
The second error seems due to hardware doesn't support vp8 hardware encoding.
AFAIK the vp8 hardware support is presented for intel since Broadwell
(2014 year) and I didn't find if it's support by AMD CPUs or for other ARCHs.
So this part of test is disabled here too.

Closes: https://bugs.gentoo.org/631930
Bug: https://bugs.gentoo.org/686202

Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 .../gegl/files/gegl-0.3.34-failing-tests.patch     | 27 ++++++++++++++++++++++
 media-libs/gegl/gegl-0.3.34-r1.ebuild              |  1 +
 2 files changed, 28 insertions(+)

diff --git a/media-libs/gegl/files/gegl-0.3.34-failing-tests.patch b/media-libs/gegl/files/gegl-0.3.34-failing-tests.patch
new file mode 100644
index 00000000000..c388ac556e9
--- /dev/null
+++ b/media-libs/gegl/files/gegl-0.3.34-failing-tests.patch
@@ -0,0 +1,27 @@
+diff -Naur a/tests/ff-load-save/Makefile.am b/tests/ff-load-save/Makefile.am
+--- a/tests/ff-load-save/Makefile.am	2017-09-21 22:11:00.000000000 +0300
++++ b/tests/ff-load-save/Makefile.am	2020-03-07 16:33:21.000000000 +0300
+@@ -6,13 +6,7 @@
+ 
+ EXTRA_DIST = $(TESTS)
+ 
+-check: vids images
+-
+-images: 
+-	for a in *.avi *.mp4 *.ogv ;do \
+-            GEGL_PATH=$(top_builddir)/operations $(top_builddir)/examples/gegl-video \
+-            $$a -s 74 -e 74 -of $$a- ;\
+-        done
++check: vids
+ 
+ vids: $(TESTS) $(top_builddir)/examples/frame-counter
+ 	GEGL_PATH=$(top_builddir)/operations $(top_builddir)/examples/frame-counter \
+@@ -27,8 +21,6 @@
+            --video-codec mpeg4 --fps 12 --video-bit-rate 128 128kb-12fps.mp4
+ 	GEGL_PATH=$(top_builddir)/operations $(top_builddir)/examples/frame-counter \
+            --video-codec mpeg4 --fps 100 --video-bit-rate 128 128kb-100fps.mp4
+-	GEGL_PATH=$(top_builddir)/operations $(top_builddir)/examples/frame-counter \
+-           --fps 28 --video-bit-rate 512 512kb-28fps.ogv
+ 
+ clean-local:
+ 	rm -f *.png *.avi *.ogv *.mp4 *.webm

diff --git a/media-libs/gegl/gegl-0.3.34-r1.ebuild b/media-libs/gegl/gegl-0.3.34-r1.ebuild
index 9a69225a627..bd05c114d0d 100644
--- a/media-libs/gegl/gegl-0.3.34-r1.ebuild
+++ b/media-libs/gegl/gegl-0.3.34-r1.ebuild
@@ -74,6 +74,7 @@ pkg_setup() {
 
 PATCHES=(
 	"${FILESDIR}"/${PN}-0.3.12-failing-tests.patch
+	"${FILESDIR}"/${PN}-0.3.34-failing-tests.patch       # bug 631930, 686202
 	"${FILESDIR}"/${PN}-0.4.0-ffmpeg-4-0-compat-1.patch  # bug 654172
 	"${FILESDIR}"/${PN}-0.4.0-ffmpeg-4-0-compat-2.patch  # bug 654172
 )


             reply	other threads:[~2020-06-25  8:08 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-25  8:08 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-14  0:43 [gentoo-commits] repo/gentoo:master commit in: media-libs/gegl/, media-libs/gegl/files/ Sam James
2022-12-21 23:52 Sam James
2022-03-15  4:20 John Helmert III
2021-06-09 21:34 Sam James
2021-06-09 21:34 Sam James
2020-08-22 16:07 Andreas Sturmlechner
2019-10-28 12:54 Sebastian Pipping
2019-10-27 23:02 Sebastian Pipping
2019-03-09 18:22 Sebastian Pipping
2018-05-13 17:30 Sebastian Pipping
2018-01-10 22:42 Sebastian Pipping
2018-01-10 22:08 Sebastian Pipping
2017-12-04 20:30 Sebastian Pipping
2017-05-20 22:23 Sebastian Pipping
2017-04-01 22:25 Sebastian Pipping
2017-01-09 21:11 Sebastian Pipping
2015-12-05 16:41 Justin Lecher
2015-12-05  9:05 Jeroen Roovers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1593072461.794418cf941905fc957501a1e7a3bd9e954f86a6.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox