Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 477054 - dev-libs/weston-1.2.0 has a lot missing, wrong and automagic deps, broken USE flags, fails to build and run
Summary: dev-libs/weston-1.2.0 has a lot missing, wrong and automagic deps, broken USE...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-16 11:55 UTC by Nikoli
Modified: 2013-07-29 14:40 UTC (History)
1 user (show)

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


Attachments
ebuild, works for me (weston-1.2.0.ebuild,2.95 KB, text/plain)
2013-07-16 11:55 UTC, Nikoli
Details
metadata.xml (metadata.xml,1.43 KB, text/xml)
2013-07-16 11:55 UTC, Nikoli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikoli 2013-07-16 11:55:20 UTC
Created attachment 353442 [details]
ebuild, works for me

weston-1.2.0 ebuild in portage is terribly broken:
x11-libs/libdrm is not optional dep
x11-libs/gdk-pixbuf is not used anywhere in sources now
app-text/poppler and dev-libs/glib:2 are used only in clients/view.c, but it is optional and not installed
x11-libs/libXcursor, media-libs/lcms:2, media-libs/libpng, media-libs/libwebp, virtual/jpeg, sys-libs/mtdev, media-libs/glu are automagic deps
sys-libs/pam dep is missing
virtual/pkgconfig dep is missing
with --disable-setuid-install weston-launch does not work for non root users
xwayland-compositor option was renamed to xwayland in configure
build with USE="-clients" fails
gnome-base/librsvg is build time only dep
full gl support needs newer cairo, it also is required for /usr/libexec/weston-screensaver
x11-libs/cairo does not have USE gles2 in portage
media-libs/mesa is twice in ebuild for no good reason
REQUIRED_USE are missing deps for drm, fbdev and wayland-compositor USE
.la files are not removed
Gentoo does not have group weston-launch, "video" is used
USE fbdev and rpi have missing udev and mtdev deps

There are also some other bugs in ebuild.

I fixed most of bugs in x11 overlay, but 3 problems are still not fixed:
systemd is automagic, need to patch configure.ac
we need some USE flag for building and installing clients_programs, now they are built, but not installed.
7 of 8 tests fail.

Please commit attached ebuild and metadata.xml.
Comment 1 Nikoli 2013-07-16 11:55:39 UTC
Created attachment 353444 [details]
metadata.xml
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-07-17 16:53:15 UTC
Please do not conflate several issues in one bug, but file separate bugs for each issue.
Comment 3 Nikoli 2013-07-17 16:58:19 UTC
Do you seriously mean opening 20 bugs for one package? There is fixed ebuild in x11 overlay, it is much better then current ebuild from portage tree, why keep broken ebuild in main repo?
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-07-17 17:02:30 UTC
1 bug for bad or automagic dependencies
1 bug for group changes
1 bug for missing executables
1 bug for build failure
1 bug for runtime failure
1 bug for cosmetic changes (unless trivial)
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-07-29 14:40:25 UTC
Most of the issues are now fixed in 1.2.0-r1
eclass changes require separate discussion and review.