Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 611710 - x11-libs/gtk+-3 missing use depend on media-libs/libepoxy-1.4.1[X(+)]
Summary: x11-libs/gtk+-3 missing use depend on media-libs/libepoxy-1.4.1[X(+)]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-04 14:49 UTC by Albert W. Hopkins
Modified: 2017-03-05 17:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Albert W. Hopkins 2017-03-04 14:49:41 UTC
libepoxy-1.4.1 adds a new "X" USE flag.  Without it gtk+ (media-libs/libepoxy-1.4.1) will not build (cannot find "epoxy/glx.h"). 

Also when gtk+ is already installed and you upgrade libepoxy to 1.4.1 without the X use flag then gtk apps will not launch because of missing symbols.
Comment 1 Mart Raudsepp gentoo-dev 2017-03-05 15:51:59 UTC
This actually had to be libepoxy[X(+)?] (note the '?'), glx.h is only included in the gdk X backend

commit 8f5fa722ae8c53074fa4b2c210febca68b4fb429
Author: Mart Raudsepp <leio@gentoo.org>
Date:   Sun Mar 5 17:33:51 2017 +0200

    x11-libs/gtk+: bump to 3.22.9 and apply various fixes
    
    * Stop inheriting eutils - epatch isn't used with EAPI-6 and einstalldocs
    comes from EAPI-6 itself as well
    * Remove cairo[svg] comment as it is a required dep since long ago after
    the bug was filed upstream - it is needed by file print backend (print to
    file), which is not optional
    * Adapt to libepoxy changes that made epoxy/glx.h and related source code
    optional and put it behind a USE flag, bug #611710
    * Remove unnecessary libXrender dependency (though cairo[X] will still
    pull it in), bug #611032
    * Remove -O3 to -O2 replacement and strip-flags; apparently people have
    been doing that with success, so lets give it a chance after issues that
    happened with -O3 over 10 years ago
    * Install select docs instead of the default ones, which include an
    uninteresting README.win32, README.in source file that for some reason
    is shipped in tarball, README.commits that is interesting for git usage
    instructions only, and a useless ChangeLog that isn't properly generated
    anymore. The DOCS array is declared locally in multilib_src_install_all,
    because gnome2_src_install calls "default" which calls einstalldocs too,
    which would fail if the DOCS is given in global scope and it sees it, as
    the docs won't be found in multilib WORKDIR.
    
    Gentoo-bug: 611032
    Gentoo-bug: 611710
Comment 2 Mart Raudsepp gentoo-dev 2017-03-05 17:21:33 UTC
commit f7a8562b9c4ac3dd3653bcb4905e6a488f515cd9
Author: Mart Raudsepp <leio@gentoo.org>
Date:   Sun Mar 5 19:12:30 2017 +0200

    x11-libs/gtk+: Adjust libepoxy X USE deps for all gtk+:3
    
    The libepoxy version adding IUSE=X is slated for fast stabling, so
    guard us against this in the stable 3.20 version as well.
    
    Gentoo-bug: 611710
    Package-Manager: Portage-2.3.3, Repoman-2.3.1