Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 210428 - x11-wm/compiz-0.7.2 version bump
Summary: x11-wm/compiz-0.7.2 version bump
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Low enhancement (vote)
Assignee: Hanno Böck
URL: http://xorg.freedesktop.org/archive/i...
Whiteboard:
Keywords:
: 211571 211633 212779 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-02-17 02:36 UTC by Randall Wald
Modified: 2008-04-07 20:05 UTC (History)
15 users (show)

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


Attachments
Proposed ebuild; DOES NOT WORK (see comment) (compiz-0.7.0.ebuild,1.65 KB, text/plain)
2008-02-17 03:34 UTC, Randall Wald
Details
Copy of compiz-0.6.2-CVE-2007-3920.patch (compiz-0.7.0-CVE-2007-3920.patch,1019 bytes, patch)
2008-02-17 03:35 UTC, Randall Wald
Details | Diff
Fixes dependency on "x11-xcb" to just require "xcb" (compiz-0.7.0-configure.patch,271 bytes, patch)
2008-02-17 03:35 UTC, Randall Wald
Details | Diff
Fixes include of "X11/Xlib-xcb.h" to "xcb/xcb.h" (compiz-0.7.0-compiz-core.patch,342 bytes, patch)
2008-02-17 03:37 UTC, Randall Wald
Details | Diff
Proposed ebuild w/ KDE4 USE flag (compiz-0.7.0.ebuild,1.68 KB, text/plain)
2008-02-19 03:53 UTC, Randall Wald
Details
compizconfig-python-0.7.2.ebuild (compizconfig-python-0.7.2.ebuild,614 bytes, text/plain)
2008-03-12 23:08 UTC, Randall Wald
Details
compiz-bcop-0.7.2.ebuild (compiz-bcop-0.7.2.ebuild,574 bytes, text/plain)
2008-03-12 23:08 UTC, Randall Wald
Details
compizconfig-backend-gconf-0.7.2.ebuild (compizconfig-backend-gconf-0.7.2.ebuild,630 bytes, text/plain)
2008-03-12 23:09 UTC, Randall Wald
Details
compizconfig-backend-kconfig-0.7.2.ebuild (compizconfig-backend-kconfig-0.7.2.ebuild,565 bytes, text/plain)
2008-03-12 23:09 UTC, Randall Wald
Details
libcompizconfig-0.7.2.ebuild (libcompizconfig-0.7.2.ebuild,598 bytes, text/plain)
2008-03-12 23:10 UTC, Randall Wald
Details
compiz-fusion-plugins-extra-0.7.2.ebuild (compiz-fusion-plugins-extra-0.7.2.ebuild,646 bytes, text/plain)
2008-03-12 23:10 UTC, Randall Wald
Details
compiz-fusion-plugins-main-0.7.2.ebuild (compiz-fusion-plugins-main-0.7.2.ebuild,863 bytes, text/plain)
2008-03-12 23:11 UTC, Randall Wald
Details
compiz-fusion-plugins-unsupported-0.7.2.ebuild (compiz-fusion-plugins-unsupported-0.7.2.ebuild,634 bytes, text/plain)
2008-03-12 23:11 UTC, Randall Wald
Details
compiz-0.7.2.ebuild (compiz-0.7.2.ebuild,1.66 KB, text/plain)
2008-03-12 23:12 UTC, Randall Wald
Details
compiz-fusion-0.7.2.ebuild (compiz-fusion-0.7.2.ebuild,844 bytes, text/plain)
2008-03-12 23:12 UTC, Randall Wald
Details
ccsm-0.7.2.ebuild (ccsm-0.7.2.ebuild,638 bytes, text/plain)
2008-03-12 23:13 UTC, Randall Wald
Details
emerald-0.7.2.ebuild (emerald-0.7.2.ebuild,591 bytes, text/plain)
2008-03-12 23:13 UTC, Randall Wald
Details
tarball of all ebuilds for compiz-fusion 0.7.2 (compiz-overlay-0.7.2.tar.bz2,5.19 KB, application/octet-stream)
2008-03-18 01:11 UTC, Aron
Details
Backported patch from git to eliminate dependency on x11-libs/libX11 being bulit with xcb (compiz-0.7.2-disable-libx11-xcb-support.patch,1.83 KB, patch)
2008-03-20 18:16 UTC, John W Eckhart
Details | Diff
Updated ebuild to include xcb use tests and ability to build without xcb (compiz-0.7.2.ebuild,2.11 KB, text/plain)
2008-03-20 18:17 UTC, John W Eckhart
Details
Patch to fix emerald alt + tab crash (unrefd.patch,4.69 KB, patch)
2008-04-03 02:28 UTC, colchao
Details | Diff
Uses urefd.patch; read ebuild to learn where to put it. (emerald-0.7.4.ebuild,859 bytes, text/plain)
2008-04-04 05:47 UTC, Randall Wald
Details
this contains both the 0.7.2 and 0.7.4 series of packages (compiz-overlay.tar.gz,8.51 KB, text/plain)
2008-04-06 00:19 UTC, Sandy
Details
compiz-overlay.tar.gz from sandy with minor bugfix and all digests included (compiz-overlay.tar.gz,13.98 KB, application/x-tar)
2008-04-06 12:21 UTC, Thomas Ilnseher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Randall Wald 2008-02-17 02:36:29 UTC
compiz-0.7.0 was released a week ago according to the timestamps in http://xorg.freedesktop.org/archive/individual/app/ ; could a new ebuild be released?
Comment 1 Randall Wald 2008-02-17 03:34:22 UTC
Created attachment 143712 [details]
Proposed ebuild; DOES NOT WORK (see comment)

Having played around with creating a 0.7.0 ebuild, apparently the new version relies on x11-libs/libxcb in ways I don't entirely understand. I've attached a proposed ebuild and a couple of patches, but this still doesn't build due to a dependency on the XResource "XGetXCBConnection". I'm not sure how one would go about fixing this.
Comment 2 Randall Wald 2008-02-17 03:35:17 UTC
Created attachment 143713 [details, diff]
Copy of compiz-0.6.2-CVE-2007-3920.patch
Comment 3 Randall Wald 2008-02-17 03:35:58 UTC
Created attachment 143715 [details, diff]
Fixes dependency on "x11-xcb" to just require "xcb"
Comment 4 Randall Wald 2008-02-17 03:37:41 UTC
Created attachment 143716 [details, diff]
Fixes include of "X11/Xlib-xcb.h" to "xcb/xcb.h"
Comment 5 Liu DongMiao 2008-02-19 01:37:34 UTC
Now compiz supports kde4, so I think the ebuild should add a new USE=kde4, and compiz-fusion should add a new USE=kde4 too. But does x11-libs/qt-dbus:4 needs? i dont know...
Comment 6 Randall Wald 2008-02-19 03:49:25 UTC
Liu, there currently doesn't exist a kde4 USE flag, or at least none I can find listed in http://www.gentoo.org/dyn/use-index.xml or http://gentoo-portage.com/USE. Do you want a new USE flag which, when disabled, throws the "--disable-kde4" flag to the configure script? I guess that'd be easy enough to add...
Comment 7 Randall Wald 2008-02-19 03:53:15 UTC
Created attachment 143934 [details]
Proposed ebuild w/ KDE4 USE flag

Same as previous ebuild, with KDE4 USE flag added. Still doesn't work, for the same reason as before.
Comment 8 Liu DongMiao 2008-02-19 08:09:29 UTC
Xlib-xcb.h if part of libX11, but need USE=xcb.. so compiz-0.7.0-configure.patch and compiz-0.7.0-compiz-core.patch are unneccesary.

and does we need xcb?
maybe we should add a patch to disable xcb..
here has a one: http://gitweb.opencompositing.org/?p=users/3v1n0/compiz-patches;a=summary

so i think should add a more USE=xcb
Comment 9 Randall Wald 2008-02-19 10:31:13 UTC
You're absolutely right, Liu; recompiling libX11 resolves these dependencies properly, as well as the lingering XGetXCBConnection problem I noted in my first comment. This does reveal, however, that the API for the ccp plugin which compiz-0.7.0 expects differs from that which is found in libcompizconfig-0.6.0. At least, I ran into ccp-related problems when running my new compiz-0.7.0, and this forum thread makes me think it's an API issue related to libcompizconfig: http://lists.freedesktop.org/archives/compiz/2007-November/002817.html . Since there's no "release" version of libcompizconfig later than 0.6.0, just the git sources, I'm almost tempted to resolve this bug as LATER; anyone else have thoughts on this move?
Comment 10 Liu DongMiao 2008-02-19 11:26:20 UTC
libcompizconfig depends compiz...do you run revdep-rebuild?
i think when you rebuild compiz, you should rebuild everything depend compiz, at least run revdep-rebuild...

i have a rather low-end computer, so i wont try. just rebuild everything depends compiz...thats my suggestion.
Comment 11 Randall Wald 2008-02-19 11:54:37 UTC
revdep-rebuild doesn't catch anything, but just oneshotting libcompizconfig somewhat confirms my fears: it won't build against compiz-0.7.0. This may not be soluble without a new libcompizconfig package.
Comment 12 Liu DongMiao 2008-02-19 12:00:49 UTC
(In reply to comment #11)
> revdep-rebuild doesn't catch anything, but just oneshotting libcompizconfig
> somewhat confirms my fears: it won't build against compiz-0.7.0. This may not
> be soluble without a new libcompizconfig package.
> 

hoho...doesnt catch anything but rebuild libcompizconfig...
gentoo always says please rebuild everything depends xxx, dont forget it.
and as you said, this question cant be resolved, so you can close this bug. 
but other distro can run compiz 0.7! 
Comment 13 Randall Wald 2008-02-19 12:04:45 UTC
By "doesn't catch anything," I mean that using my ebuild and then running "revdep-rebuild rebuild" doesn't show any programs which need to be rebuilt. I'd need to manually find reverse dependencies for compiz and rebuild them. Sure, I probably should have done that as soon as I saw ccp issues, but it wasn't a completely obvious step. Anyway, I'll mark this as LATER now.
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2008-02-26 22:14:01 UTC
*** Bug 211571 has been marked as a duplicate of this bug. ***
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2008-02-27 14:58:31 UTC
*** Bug 211633 has been marked as a duplicate of this bug. ***
Comment 16 Jakub Moc (RETIRED) gentoo-dev 2008-02-27 14:58:58 UTC
Reopen since the duplicates are annoying like hell.
Comment 17 Jakub Moc (RETIRED) gentoo-dev 2008-03-09 08:10:40 UTC
*** Bug 212779 has been marked as a duplicate of this bug. ***
Comment 18 Randall Wald 2008-03-09 09:32:14 UTC
Hmm, now that a complete release version of compiz-fusion 0.7.2 has come out (at http://releases.compiz-fusion.org/0.7.2/ ), I'd bet this could actually be put through. Someone want to try and throw together some ebuilds? I'll try to do it in a day or two if no one else does.
Comment 19 Richard Cox 2008-03-09 13:44:12 UTC
"Reopen since the duplicates are annoying like hell."

Sorry, I considered compiz-fusion and compiz 2 different package sets that just happened to share some core components.  That's why I opened a seperate bug.  Anyway, thanks for taking care of duping that.
Comment 20 Richard Cox 2008-03-09 13:49:16 UTC
As a stopgap until it's officially in portage, I just renamed the 0.6.0 ebuilds (changing any dep names in each ebuild internally) dropped the ebuilds in my local overlay and it compiled perfectly (though compiz now requires that X11 be built with the XCB use flag).  I've been running it for the past 24 hours and it's rock solid thus far.  BTW, emerald is MUCH more stable now.
Comment 21 Randall Wald 2008-03-09 22:19:39 UTC
Seconding the "mv'ing the old ebuilds and modifying dependencies" idea; I've had major problems with compiz leaking memory when idle, so if this helps, I'll post in that bug too.
Comment 22 Richard Cox 2008-03-10 01:41:23 UTC
(In reply to comment #17)
> *** Bug 212779 has been marked as a duplicate of this bug. ***
> 
Now that you've duped this, are you going to add this to portage anytime soon?  x86 is very stable and requires minimal effort (just rename ebuilds and add a USE flag).  Just curious, since compiz 0.7.2 came out weeks ago and we've seen nothing yet.  Do you need some extra manpower to get this in place?  I'll help.
Comment 23 Thomas Beutin 2008-03-12 14:37:48 UTC
(In reply to comment #22)
> Do you need some extra manpower to get this in place?  I'll help.
Maybe it helps when you attach Your *-0.7.2-ebuilds?

Comment 24 Randall Wald 2008-03-12 23:06:24 UTC
OK, I'll post mine, but frankly it's probably easier for you guys to do what I did, rather than download my versions: copy all of the relevant packages into appropriate subdirectories of /usr/local/portage, rename the newest ebuild to -0.7.2.ebuild, modify the -0.7.2.ebuild to make all relevant dependencies need version 0.7.2, delete any other ebuilds, and digest.
Comment 25 Randall Wald 2008-03-12 23:08:03 UTC
Created attachment 145947 [details]
compizconfig-python-0.7.2.ebuild
Comment 26 Randall Wald 2008-03-12 23:08:37 UTC
Created attachment 145948 [details]
compiz-bcop-0.7.2.ebuild
Comment 27 Randall Wald 2008-03-12 23:09:11 UTC
Created attachment 145950 [details]
compizconfig-backend-gconf-0.7.2.ebuild
Comment 28 Randall Wald 2008-03-12 23:09:41 UTC
Created attachment 145951 [details]
compizconfig-backend-kconfig-0.7.2.ebuild
Comment 29 Randall Wald 2008-03-12 23:10:08 UTC
Created attachment 145953 [details]
libcompizconfig-0.7.2.ebuild
Comment 30 Randall Wald 2008-03-12 23:10:36 UTC
Created attachment 145955 [details]
compiz-fusion-plugins-extra-0.7.2.ebuild
Comment 31 Randall Wald 2008-03-12 23:11:06 UTC
Created attachment 145956 [details]
compiz-fusion-plugins-main-0.7.2.ebuild
Comment 32 Randall Wald 2008-03-12 23:11:27 UTC
Created attachment 145957 [details]
compiz-fusion-plugins-unsupported-0.7.2.ebuild
Comment 33 Randall Wald 2008-03-12 23:12:06 UTC
Created attachment 145958 [details]
compiz-0.7.2.ebuild
Comment 34 Randall Wald 2008-03-12 23:12:31 UTC
Created attachment 145960 [details]
compiz-fusion-0.7.2.ebuild
Comment 35 Randall Wald 2008-03-12 23:13:01 UTC
Created attachment 145962 [details]
ccsm-0.7.2.ebuild
Comment 36 Randall Wald 2008-03-12 23:13:28 UTC
Created attachment 145963 [details]
emerald-0.7.2.ebuild
Comment 37 gestahl 2008-03-14 17:13:07 UTC
(In reply to comment #36)
> Created an attachment (id=145963) [edit]
> emerald-0.7.2.ebuild
> 

Hey guys, just a quick note: I had to manually merge the bcop package before the plugins-extra ebuild would compile correctly.  Probably need to change the dependency settings.
Comment 38 Randall Wald 2008-03-14 20:55:58 UTC
compiz-plugins-extra only depends on compiz-plugins-main, not on >=compiz-plugins-main-0.7.2; this is in line with the original ebuilds (compiz-plugins-extra-0.6.2 also only requires compiz-plugins-main). Perhaps I should have changed that; whoever actually puts these into portage should think about this.
Comment 39 anonymous 2008-03-16 00:58:57 UTC
Hi,

I think the dependency
>=x11-themes/emerald-themes-0.5.2
should be removed from compiz-fusion-0.7.2.ebuild
Comment 40 Randall Wald 2008-03-16 02:27:53 UTC
Anonymous, you'd prefer that compiz-fusion only depend on x11-themes/emerald-themes, not any particular version thereof? Could be; I'm not proposing these as actual ebuilds, necessarily, only providing them so that others may upgrade to 0.7.2 before it's actually put into Portage.

Speaking of which, I've been using these ebuilds for about a week now, and they seem pretty stable; they haven't fixed my memory leaking problems, but they certainly didn't bring any new ones (so far that I've found.)
Comment 41 Aron 2008-03-16 03:16:57 UTC
(In reply to comment #40)
> Anonymous, you'd prefer that compiz-fusion only depend on
> x11-themes/emerald-themes, not any particular version thereof? Could be; I'm
> not proposing these as actual ebuilds, necessarily, only providing them so that
> others may upgrade to 0.7.2 before it's actually put into Portage.
> 
> Speaking of which, I've been using these ebuilds for about a week now, and they
> seem pretty stable; they haven't fixed my memory leaking problems, but they
> certainly didn't bring any new ones (so far that I've found.)
> 
Is emerald a true dependency (build-time or run-time) for Compiz (Fusion)?  I haven't used emerald in quite a while, instead using kwin for window decorations.  If emerald isn't a true dependency, just lumped in there as a compositing window  decorator, maybe it could be a USE flag (enabled by default) so those of us not using emerald don't even need to pull it in.
Comment 42 Charles Christie 2008-03-16 13:25:38 UTC
compiz-0.7.2 ebuild fails to compile, even with the patches:

No package 'x11-xcb' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables COMPIZ_CFLAGS
and COMPIZ_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Comment 43 Charles Christie 2008-03-16 13:31:25 UTC
(In reply to comment #42)
> compiz-0.7.2 ebuild fails to compile, even with the patches:
> 
> No package 'x11-xcb' found
> 
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
> 
> Alternatively, you may set the environment variables COMPIZ_CFLAGS
> and COMPIZ_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
> 

I read too quickly for my own good and forgot to enable the xcb useflag for libx11. Oops. And Comment #8 says that the patches config and compiz-core in the compiz 0.7.2 ebuild are unnecessary; if that's so, someone needs to remove them from the ebuild.
Comment 44 Randall Wald 2008-03-16 17:17:54 UTC
(In reply to comment #43)
> I read too quickly for my own good and forgot to enable the xcb useflag for
> libx11. Oops. And Comment #8 says that the patches config and compiz-core in
> the compiz 0.7.2 ebuild are unnecessary; if that's so, someone needs to remove
> them from the ebuild.
> 

Yea, I obsoleted those patches when I uploaded my copy of compiz-0.7.2.ebuild. Sorry if that was unclear.
Comment 45 Aron 2008-03-18 01:11:05 UTC
Created attachment 146442 [details]
tarball of all ebuilds for compiz-fusion 0.7.2

All of the ebuilds for compiz-fusion 0.7.2.  They're already digested, just extract them and add to PORTDIR_OVERLAY.

I'm uploading this since it doesn't look like we'll see these in Portage anytime soon.  It'll be easier for the lazy people. ;-)
Comment 46 slim.one 2008-03-19 13:48:21 UTC
> Yea, I obsoleted those patches when I uploaded my copy of compiz-0.7.2.ebuild.
> Sorry if that was unclear.
> 

There seems to be a specific problem with nvidia-drivers...
http://forums.gentoo.org/viewtopic-t-673340.html?sid=712d8f6aa1ffc79a21992c635cb8949f
eselect opengl set xorg-x11, emerge compiz and resetting oGL to nvidia works fine.
Comment 47 John W Eckhart 2008-03-20 18:16:33 UTC
Created attachment 146670 [details, diff]
Backported patch from git to eliminate dependency on x11-libs/libX11 being bulit with xcb

Backported patch from git to eliminate dependency on x11-libs/libX11 being bulit with xcb (since it's not actually used by compiz)
Comment 48 John W Eckhart 2008-03-20 18:17:42 UTC
Created attachment 146672 [details]
Updated ebuild to include xcb use tests and ability to build without xcb

Updated ebuild to include xcb use tests and ability to build without xcb
Comment 49 Randall Wald 2008-03-24 07:11:14 UTC
By the way, this should probably go without saying, but I screwed it up and so might someone else: If you swap out your current compiz-0.7.2 ebuild for the new, xcb-less one and rebuild your system without xcb, make sure to revdep-rebuild and also re-emerge libcompizconfig, otherwise everything breaks.

Unrelated: How goes the process of getting this incorporated into Portage?
Comment 50 colchao 2008-04-03 02:28:13 UTC
Created attachment 148159 [details, diff]
Patch to fix emerald alt + tab crash

This patch should be applied to emerald , to fix the alt+tab crash. It was taken from ubuntu hardy.
Comment 51 Anton Bolshakov 2008-04-04 04:46:26 UTC
http://lists.freedesktop.org/archives/compiz/2008-April/003074.html
A new compiz release 0.7.4 is now available from:

http://xorg.freedesktop.org/archive/individual/app/compiz-0.7.4.tar.gz

Can we make it to the portage eventually?
Comment 52 Randall Wald 2008-04-04 05:47:36 UTC
Created attachment 148565 [details]
Uses urefd.patch; read ebuild to learn where to put it.

Here's a emerald-0.7.4.ebuild I've written; it applies the above unrefd.patch (actually, a modified version of that with "0.7.2" replaced with "0.7.4"). I'm pretty sure I messed up the configure flags, though, so I'd like someone to take a look at it.
Comment 53 Sandy 2008-04-06 00:17:54 UTC
(In reply to comment #52)

> Here's a emerald-0.7.4.ebuild I've written; it applies the above unrefd.patch
> (actually, a modified version of that with "0.7.2" replaced with "0.7.4"). I'm
> pretty sure I messed up the configure flags, though, so I'd like someone to
> take a look at it.

I just had a look at the emerald-0.7.4 source tree. It seems to me that the urefd.patch has already been applied. So no need for this in the ebuild anymore.
Actually I saw that compiz-0.7.4 was released.
I used your work on 0.7.2 and applied the trivial changes to all compiz related ebuilds.
I append a compiz-overlay.tar.gz. It contains both the 0.7.2 and the 0.7.4 series of packages.


Comment 54 Sandy 2008-04-06 00:19:21 UTC
Created attachment 148805 [details]
this contains both the 0.7.2 and 0.7.4 series of packages
Comment 55 Thomas Ilnseher 2008-04-06 12:17:53 UTC
Hi Sandy,

Thanks for the Overlay.

A small bug flipped (in ccsm-0.7.4):

DEPEND="dev-python/compizconfig-python-0.7.4
	>=dev-python/pygtk-2.10"

This should read:
DEPEND="=dev-python/compizconfig-python-0.7.4
	>=dev-python/pygtk-2.10"

Added a corrected attachment (including all digests ;) ).



Comment 56 Thomas Ilnseher 2008-04-06 12:21:22 UTC
Created attachment 148848 [details]
compiz-overlay.tar.gz from sandy with minor bugfix and all digests included

This is actually sandy's overlay with a small bugfix and all digests included.
Comment 57 Carsten Lohrke (RETIRED) gentoo-dev 2008-04-07 20:05:28 UTC
Closing in favor of bug 216621.