Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 404477 - New Ebuild: x11-misc/unagi-0.3 Unagi Compositing Manager
Summary: New Ebuild: x11-misc/unagi-0.3 Unagi Compositing Manager
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2012-02-19 06:15 UTC by Jess Haas
Modified: 2012-02-22 05:09 UTC (History)
1 user (show)

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


Attachments
unagi-0.3.ebuild (unagi-0.3.ebuild,578 bytes, text/plain)
2012-02-19 06:16 UTC, Jess Haas
Details
unagi-0.3.ebuild (unagi-0.3.ebuild,1.03 KB, text/plain)
2012-02-19 14:39 UTC, Richard Grenville
Details
unagi-0.3.ebuild (unagi-0.3.ebuild,1.14 KB, text/plain)
2012-02-21 05:20 UTC, Richard Grenville
Details
unagi-0.3-configure-issue.patch (unagi-0.3-configure-issue.patch,921 bytes, patch)
2012-02-21 05:23 UTC, Richard Grenville
Details | Diff
unagi-9999.ebuild (unagi-9999.ebuild,1.06 KB, text/plain)
2012-02-22 05:09 UTC, Richard Grenville
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jess Haas 2012-02-19 06:15:59 UTC
Attached is an ebuild for Unagi Compositing Manager. This is a simple small and modern compositing manager.
Comment 1 Jess Haas 2012-02-19 06:16:43 UTC
Created attachment 302469 [details]
unagi-0.3.ebuild
Comment 2 Richard Grenville 2012-02-19 14:39:34 UTC
Created attachment 302499 [details]
unagi-0.3.ebuild

Slightly revised ebuild. With corrected dependencies, HTML doc generation with doc USE flag, and a debug USE flag.

It looks very promising but I could not get it working under fvwm. :S
Comment 3 Jess Haas 2012-02-20 16:33:21 UTC
New ebuild works well. Unagi is working well for me so far using awesome windowmanager which is what the author says that it has been extensively tested with. What will it take to get this into portage?

-Jess
Comment 4 Jess Haas 2012-02-21 01:26:49 UTC
Actually spoke too soon. Seems to be a bug in the configure script. With the new ebuild it builds with debug messages on even when the debug use flag is disabled.  Seems that specifying --disable-debug actually enables debug messages while specifying no option does not. 

Commenting out $(use_enable debug) in the ebuild causes it to not build with debug messages but a real fix is going to require a patch to the configure script.

~Jess
Comment 5 Richard Grenville 2012-02-21 05:20:58 UTC
Created attachment 302663 [details]
unagi-0.3.ebuild

Yes, there is a bug in configure.ac. The author did not quite understand autotools and made a common mistake when using AC_ARG_ENABLE.

If you interested in the details, please search for "The most common mistake for this macro" in this page:
http://www.flameeyes.eu/autotools-mythbuster/autoconf/arguments.html

Here's an ebuild which patches configure.ac and regenerates configure.ac. Note it adds another dependency. The patch will be attached later.

Actually there's indeed an uglier workaround of not sending "--disable-debug" at all, as you pointed out, but let's use the beautiful (and complicated) one firstly. :-)

I will report this bug to upstream soon.
Comment 6 Richard Grenville 2012-02-21 05:23:42 UTC
Created attachment 302665 [details, diff]
unagi-0.3-configure-issue.patch
Comment 7 Richard Grenville 2012-02-22 05:09:14 UTC
Created attachment 302771 [details]
unagi-9999.ebuild

A 9999 ebuild, in case anybody needs it. The developer fixed the configure.ac bug in git repo, so no more patch needed.