commit:     5070c0688839453a2a5fe0cd29bd7683184e27e9
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 26 08:34:48 2017 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Mon Jun 26 08:35:22 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5070c068

dev-perl/Gtk2: Require jpeg support in gdk-pixbuf for testing

Tests fail without gdk-pixbuf compiled with jpeg support:

=GdkPixbuf-LOG **: gdk_pixbuf_from_pixdata() called on: at t/GdkPixbuf.t line 
185.
GdkPixbuf-LOG **:       Encoding rle at t/GdkPixbuf.t line 185.
GdkPixbuf-LOG **:       Dimensions: 4 x 5 at t/GdkPixbuf.t line 185.
GdkPixbuf-LOG **:       Rowstride: 16, Length: 91 at t/GdkPixbuf.t line 185.
GdkPixbuf-LOG **:       Copy pixels == true at t/GdkPixbuf.t line 185.
Image type 'jpeg' is not supported at t/GdkPixbuf.t line 200.
t/GdkPixbuf.t ...................... Dubious, test returned 255 (wstat 65280, 
0xff00)

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-perl/Gtk2/Gtk2-1.249.920.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-perl/Gtk2/Gtk2-1.249.920.ebuild 
b/dev-perl/Gtk2/Gtk2-1.249.920.ebuild
index 65c6c6f759e..140e7da429c 100644
--- a/dev-perl/Gtk2/Gtk2-1.249.920.ebuild
+++ b/dev-perl/Gtk2/Gtk2-1.249.920.ebuild
@@ -24,6 +24,7 @@ DEPEND="${RDEPEND}
        virtual/perl-ExtUtils-MakeMaker
        >=dev-perl/ExtUtils-Depends-0.300.0
        >=dev-perl/ExtUtils-PkgConfig-1.30.0
+       test? ( x11-libs/gdk-pixbuf[jpeg] )
 "
 
 src_test(){

Reply via email to