summaryrefslogtreecommitdiff
path: root/x11-wm/compiz
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/compiz')
-rw-r--r--x11-wm/compiz/ChangeLog411
-rw-r--r--x11-wm/compiz/Manifest32
-rw-r--r--x11-wm/compiz/compiz-0.8.8-r3.ebuild168
-rw-r--r--x11-wm/compiz/files/compiz-gcc-4.7.patch38
-rw-r--r--x11-wm/compiz/files/compiz-kde-4.10.patch30
-rw-r--r--x11-wm/compiz/files/compiz-kde-4.8.patch17
-rw-r--r--x11-wm/compiz/files/compiz-kde-4.9.patch196
-rw-r--r--x11-wm/compiz/files/compiz-manager384
-rw-r--r--x11-wm/compiz/files/compiz-no-gconf.patch20
-rw-r--r--x11-wm/compiz/files/compiz.desktop11
-rw-r--r--x11-wm/compiz/metadata.xml18
11 files changed, 1325 insertions, 0 deletions
diff --git a/x11-wm/compiz/ChangeLog b/x11-wm/compiz/ChangeLog
new file mode 100644
index 00000000..442790a7
--- /dev/null
+++ b/x11-wm/compiz/ChangeLog
@@ -0,0 +1,411 @@
+# ChangeLog for x11-wm/compiz
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/compiz/ChangeLog,v 1.82 2014/12/17 18:37:14 kensington Exp $
+
+ 17 Dec 2014; Michael Palimaka <kensington@gentoo.org> compiz-0.8.8-r3.ebuild:
+ Remove bogus dependency.
+
+ 05 Jun 2013; Sergey Popov <pinkbyte@gentoo.org> -compiz-0.8.8-r2.ebuild:
+ Drop old revision
+
+*compiz-0.8.8-r3 (09 Apr 2013)
+
+ 09 Apr 2013; Sergey Popov <pinkbyte@gentoo.org> -compiz-0.8.8-r1.ebuild,
+ +compiz-0.8.8-r3.ebuild:
+ Revbump to add subslot operator for media-libs/libpng, drop old revision
+
+*compiz-0.8.8-r2 (10 Feb 2013)
+
+ 10 Feb 2013; Sergey Popov <pinkbyte@gentoo.org> +compiz-0.8.8-r2.ebuild,
+ +files/compiz-kde-4.10.patch:
+ Revision bump: EAPI 5, add KDE 4.10 support, patch from stuff overlay
+
+ 10 Feb 2013; Sergey Popov <pinkbyte@gentoo.org> files/compiz.desktop:
+ Remove deprecated key from desktop file
+
+ 11 Oct 2012; Sergey Popov <pinkbyte@gentoo.org> compiz-0.8.8-r1.ebuild:
+ Add missing virtual/glu dependency wrt bug #437922
+
+ 25 Sep 2012; Sergey Popov <pinkbyte@gentoo.org> -compiz-0.8.6-r3.ebuild,
+ -files/compiz-0.8.6-gdk-display-deprecated.patch,
+ -files/compiz-0.8.6-r2-fontcorruption.patch:
+ Drop old compiz version
+
+ 12 Sep 2012; Sergey Popov <pinkbyte@gentoo.org> files/compiz-gcc-4.7.patch:
+ Updated version of gcc 4.7 compatibility patch
+
+ 12 Sep 2012; Sergey Popov <pinkbyte@gentoo.org> compiz-0.8.8-r1.ebuild,
+ +files/compiz-gcc-4.7.patch:
+ Add patch for compatibility with gcc 4.7 or higher, wrt bug #433870. Thanks
+ to Christian for discovering this issue and megabaks - for providing solution
+ to it
+
+*compiz-0.8.8-r1 (12 Sep 2012)
+
+ 12 Sep 2012; Sergey Popov <pinkbyte@gentoo.org> -compiz-0.8.8.ebuild,
+ +compiz-0.8.8-r1.ebuild:
+ Revision bump, add missing run-time dependencies, needed for compiz-manager
+ script
+
+ 12 Sep 2012; Sergey Popov <pinkbyte@gentoo.org> compiz-0.8.8.ebuild:
+ Add missing dependency on dev-libs/dbus-glib when building compiz with dbus
+ USE-flag
+
+ 11 Sep 2012; Sergey Popov <pinkbyte@gentoo.org>
+ -files/compiz-0.6.2-CVE-2007-3920.patch, -files/compiz-0.7.8-framesvg.patch,
+ -files/compiz-0.8.2-gtk-gnome-missing-gconf-flags.patch,
+ -files/compiz-0.8.4-crash-on-opening-windows.patch,
+ -files/compiz-0.8.4-gtk+-2.20-build.patch, -files/compiz-0.8.4-kde44.patch,
+ -files/compiz-0.8.4-libpng14.patch, -files/compiz-0.8.4-place-plugin.patch,
+ -files/compiz-0.8.4-window-region-calculation.patch:
+ Remove unneeded files
+
+ 11 Sep 2012; Sergey Popov <pinkbyte@gentoo.org> -files/0.3.6/compiz-start:
+ Remove old script
+
+ 11 Sep 2012; Sergey Popov <pinkbyte@gentoo.org> compiz-0.8.8.ebuild,
+ +files/compiz-kde-4.9.patch:
+ Add compatibility patch for KDE 4.9
+
+ 31 Aug 2012; Sergey Popov <pinkbyte@gentoo.org> metadata.xml:
+ Remove myself and proxy maintainer from maintainers
+
+ 31 Jul 2012; Naohiro Aota <naota@gentoo.org> compiz-0.8.6-r3.ebuild,
+ compiz-0.8.8.ebuild:
+ Remove warning about AddARGBGLXVisuals. #427608
+
+ 23 Jul 2012; Naohiro Aota <naota@gentoo.org> compiz-0.8.6-r3.ebuild,
+ compiz-0.8.8.ebuild, metadata.xml:
+ Add notifcation to use AddARGBGLXVisuals options with nvidia-drivers. #427608;
+ Update maintainer mail addres.
+
+ 18 Jun 2012; Samuli Suominen <ssuominen@gentoo.org> compiz-0.8.8.ebuild:
+ Update to EAPI4 and prune_libtool_files.
+
+ 04 May 2012; Jeff Horelick <jdhore@gentoo.org> compiz-0.8.6-r3.ebuild,
+ compiz-0.8.8.ebuild:
+ dev-util/pkgconfig -> virtual/pkgconfig
+
+*compiz-0.8.8 (09 Apr 2012)
+
+ 09 Apr 2012; Naohiro Aota <naota@gentoo.org> +compiz-0.8.8.ebuild,
+ +files/compiz-kde-4.8.patch, metadata.xml:
+ Bump to 0.8.8; Assign new maintainer. Bug #363321
+
+ 11 Nov 2011; Samuli Suominen <ssuominen@gentoo.org> compiz-0.8.6-r3.ebuild:
+ Remove support for DBUS wrt #365121
+
+ 20 Mar 2011; Nirbheek Chauhan <nirbheek@gentoo.org> -compiz-0.8.4.ebuild,
+ -compiz-0.8.4-r1.ebuild, -compiz-0.8.4-r2.ebuild, -compiz-0.8.4-r3.ebuild,
+ -compiz-0.8.6.ebuild, -compiz-0.8.6-r1.ebuild, -compiz-0.8.6-r2.ebuild,
+ compiz-0.8.6-r3.ebuild:
+ Fix slot-deps on gtk+ and other libs, remove old
+
+ 06 Dec 2010; Mike Auty <ikelos@gentoo.org>
+ files/compiz-0.8.6-gdk-display-deprecated.patch:
+ Fix gdk-display-deprecation patch to allow compilation under amd64.
+
+*compiz-0.8.6-r3 (04 Dec 2010)
+
+ 04 Dec 2010; Mike Auty <ikelos@gentoo.org> +compiz-0.8.6-r3.ebuild,
+ +files/compiz-0.8.6-gdk-display-deprecated.patch:
+ Add in patch to fix deprecated use of gdk-display (bug 344293).
+
+*compiz-0.8.6-r2 (11 Nov 2010)
+
+ 11 Nov 2010; Michael Weber <xmw@gentoo.org> +compiz-0.8.6-r2.ebuild,
+ +files/compiz-0.8.6-r2-fontcorruption.patch:
+ Add fontcorruption.patch, thanks to Manuel Danisch
+ <oeffentlicheszeug@googlemail.com> for his report (bug #343861).
+
+ 02 Nov 2010; Arun Raghavan <ford_prefect@gentoo.org>
+ compiz-0.8.6-r1.ebuild:
+ Clarify gnome-desktop dep as being slot 2
+
+ 21 Sep 2010; Tomáš Chvátal <scarabeus@gentoo.org> compiz-0.8.4.ebuild,
+ compiz-0.8.4-r1.ebuild, compiz-0.8.4-r2.ebuild, compiz-0.8.4-r3.ebuild,
+ compiz-0.8.6.ebuild, compiz-0.8.6-r1.ebuild:
+ Update the dep on libX11 this time using proper version.
+
+ 09 Sep 2010; Tomáš Chvátal <scarabeus@gentoo.org> compiz-0.8.4.ebuild,
+ compiz-0.8.4-r1.ebuild, compiz-0.8.4-r2.ebuild, compiz-0.8.4-r3.ebuild,
+ compiz-0.8.6.ebuild, compiz-0.8.6-r1.ebuild:
+ Update deps on libX11[xcb].
+
+*compiz-0.8.6-r1 (04 Sep 2010)
+
+ 04 Sep 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+ +compiz-0.8.6-r1.ebuild, metadata.xml:
+ Helping out a bit: disable static libraries (they are not linked against,
+ are most plugins) and .la files (same reasoning); add a gconf USE flag
+ because even if you want GNOME integration you might not want to pay the
+ GConf toll (lots of schemas) and rather prefer flat files. Wire the svg
+ USE flag to librsvg.
+
+*compiz-0.8.6 (03 Apr 2010)
+*compiz-0.8.4-r3 (03 Apr 2010)
+
+ 03 Apr 2010; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+ +compiz-0.8.4-r3.ebuild, +files/compiz-0.8.4-gtk+-2.20-build.patch,
+ +compiz-0.8.6.ebuild:
+ Replaced compiz ~ deps with >= deps to support the new compiz-0.8.6
+ release and to avoid future dep issues.
+ Did a revbump to avoid issues with installed packages.
+ Added a patch to enable emerald to build with gtk+-2.20. Fixes bug 311743
+ - thanks to Guillaume ZITTA <gentoo@zitta.fr>.
+
+ 20 Feb 2010; Hanno Boeck <hanno@gentoo.org> compiz-0.8.4-r2.ebuild,
+ +files/compiz-0.8.4-kde44.patch, +files/compiz-0.8.4-libpng14.patch:
+ Compilation fixes for KDE 4.4 and libpng 1.4.
+
+*compiz-0.8.4-r2 (02 Feb 2010)
+
+ 02 Feb 2010; Romain Perier <mrpouet@gentoo.org> +compiz-0.8.4-r2.ebuild,
+ +files/compiz-0.8.4-window-region-calculation.patch:
+ Fix window region calculation for windows that have border width set,
+ patch imported from upstream, per bug #302308.
+
+*compiz-0.8.4-r1 (31 Jan 2010)
+
+ 31 Jan 2010; Romain Perier <mrpouet@gentoo.org> +compiz-0.8.4-r1.ebuild,
+ +files/compiz-0.8.4-crash-on-opening-windows.patch,
+ +files/compiz-0.8.4-place-plugin.patch:
+ Fix crash on opening windows, and placement mode. Replace URI per a bziped
+ tarball, per bug #302308. Many thanks to Denilson.
+
+ 20 Dec 2009; Romain Perier <mrpouet@gentoo.org> -compiz-0.8.2.ebuild:
+ Clean up old version
+
+ 12 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org> +compiz-0.8.2.ebuild:
+ Revert wrongly removed ebuild
+
+ 11 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org>
+ -compiz-0.8.2-r3.ebuild:
+ Drop no-longer required ebuild.
+
+ 25 Oct 2009; Samuli Suominen <ssuominen@gentoo.org>
+ compiz-0.8.2-r3.ebuild, compiz-0.8.4.ebuild, metadata.xml:
+ Remove KDE3 support.
+
+*compiz-0.8.4 (15 Oct 2009)
+
+ 15 Oct 2009; Romain Perier <mrpouet@gentoo.org>
+ +compiz-0.8.4.ebuild, files/compiz-manager:
+ Version bump. Many bugfixes, 2 new plugins, Ported KDE4 window decorator
+ to KDE 4.3. Fix bug #286431 thanks to Evert.
+
+*compiz-0.8.2-r3 (29 Aug 2009)
+
+ 29 Aug 2009; Romain Perier <mrpouet@gentoo.org>
+ -compiz-0.6.2-r1.ebuild, -compiz-0.8.2.ebuild, -compiz-0.8.2-r1.ebuild,
+ -compiz-0.8.2-r2.ebuild, +compiz-0.8.2-r3.ebuild,
+ +files/compiz-0.8.2-gtk-gnome-missing-gconf-flags.patch, files/compiz-manager,
+ metadata.xml:
+ Fix libGL.so.1.2 path in compiz-manager (bug #274762), update KDE4
+ dependencies (bug #277016), fix missing gconf flags in gnome plugin (bug
+ #282807), fix QA warnings, Drop old revisions.
+
+*compiz-0.8.2-r2 (12 Jun 2009)
+
+ 12 Jun 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+ +compiz-0.8.2-r2.ebuild:
+ Dropped the "bogus" glitz dep. Fixes bug 272968 - thanks to Christophe
+ Saout <christophe@saout.de>.
+
+ 26 Apr 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+ compiz-0.8.2-r1:
+ Added missing call to gnome2_gconf_savelist. Thanks to Pacho Ramos
+ <pacho@condmat1.ciencias.uniovi.es> - fixes bug 258238.
+
+*compiz-0.8.2-r1 (26 Apr 2009)
+
+ 26 Apr 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+ +files/compiz.desktop, +compiz-0.8.2-r1.ebuild:
+ Added fix for tests. Thanks to Pacho Ramos
+ <pacho@condmat1.ciencias.uniovi.es> for initial report and Brent Baude
+ <ranger@gentoo.org> for recalling me about it again - fixes bug 265226.
+ Install compiz.desktop file. Thanks to Philip Allison <sane@not.co.uk> for
+ the file and Nirbheek Chauhan <nirbheek@gentoo.org> for the check from the
+ gnome team - fixes bug 254166.
+
+ 25 Apr 2009; Brent Baude <ranger@gentoo.org> compiz-0.8.2.ebuild:
+ Marking compiz-0.8.2 ~ppc for bug 246804
+
+ 25 Apr 2009; Brent Baude <ranger@gentoo.org> compiz-0.8.2.ebuild:
+ Marking compiz-0.8.2 ~ppc64 for bug 246804
+
+*compiz-0.8.2 (03 Apr 2009)
+
+ 03 Apr 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+ +compiz-0.8.2.ebuild:
+ Bumped compiz to the 0.8.2 release.
+
+ 19 Feb 2009; Alexey Shvetsov <alexxy@gentoo.org> -compiz-0.7.8.ebuild:
+ Drop compiz-0.7.8 since it doesnt support kde 4.2
+
+*compiz-0.7.8-r2 (31 Dec 2008)
+
+ 31 Dec 2008; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+ files/compiz-manager, compiz-0.7.8.ebuild, +compiz-0.7.8-r2.ebuild:
+ Fixed the hardcoded /lib path in compiz-manager. Fixes bug #253246.
+
+ 03 Dec 2008; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+ compiz-0.7.8-r1.ebuild:
+ It's ${P} and not ${PN} we need.
+
+*compiz-0.7.8-r1 (02 Dec 2008)
+
+ 02 Dec 2008; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+ +files/compiz-0.7.8-framesvg.patch, compiz-0.7.8.ebuild,
+ +compiz-0.7.8-r1.ebuild:
+ Reviewed compiz-0.7.8 KDE4 deps as it only works with kwin:4.1 at the
+ moment. Added compiz-0.7.8-r1 with a dep on kwin:4.2 / kwin:live that
+ applies a patch for compiz to build.
+
+ 27 Nov 2008; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+ ChangeLog:
+ Removed the executable bit from compiz-start - dobin ensures the file is
+ installed as executable.
+
+ 15 Nov 2008; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+ compiz-0.7.8.ebuild:
+ Removed the mirror restriction that was used for the overlay.
+
+ 03 Nov 2008; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+ compiz-0.7.8.ebuild:
+ Added a warning that it's required to rebuild compiz after updating
+ metacity to 2.24 or gtk-window-decorator will crash.
+
+ 01 Nov 2008; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+ +files/compiz-manager:
+ Added the missing compiz-manager file.
+
+ 31 Oct 2008; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+ +files/compiz-no-gconf.patch:
+ Added missing patch to compiz.
+
+*compiz-0.7.8 (27 Oct 2008)
+
+ 27 Oct 2008; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+ metadata.xml, +compiz-0.7.8.ebuild:
+ Added compiz-0.7.8 to the tree
+
+ 29 Aug 2008; Diego Pettenò <flameeyes@gentoo.org> compiz-0.6.2-r1.ebuild:
+ Add some missing build-time dependencies (closes bug #204863), disable
+ fuse plugin, until a new version with an USE flag is provided, avoid
+ automagic dep (closes bug #212120).
+
+ 25 Jul 2008; Carsten Lohrke <carlo@gentoo.org> compiz-0.6.2-r1.ebuild:
+ Wrong split/monolithic dependency order, missing slot dependency.
+
+ 05 Jun 2008; Rémi Cardona <remi@gentoo.org> compiz-0.5.0.ebuild,
+ compiz-0.5.2.ebuild, compiz-0.6.2.ebuild, compiz-0.6.2-r1.ebuild:
+ pkgmove to gnome-base/gnome-control-center
+
+ 27 Feb 2008; Doug Klima <cardoe@gentoo.org> compiz-0.6.2-r1.ebuild:
+ fix quoting and add dbus-glib to depend. bug #202436
+
+ 26 Nov 2007; Markus Rothe <corsair@gentoo.org> compiz-0.6.2-r1.ebuild:
+ Added ~ppc64
+
+*compiz-0.6.2-r1 (06 Nov 2007)
+
+ 06 Nov 2007; Hanno Boeck <hanno@gentoo.org>
+ +files/compiz-0.6.2-CVE-2007-3920.patch, +compiz-0.6.2-r1.ebuild:
+ Security fix for CVE-2007-3920.
+
+ 31 Oct 2007; Hanno Boeck <hanno@gentoo.org> compiz-0.6.2.ebuild:
+ Lower libwnck-dep again.
+
+*compiz-0.6.2 (18 Oct 2007)
+
+ 18 Oct 2007; Hanno Boeck <hanno@gentoo.org> +compiz-0.6.2.ebuild:
+ Version bump.
+
+ 19 Aug 2007; Hanno Boeck <hanno@gentoo.org> compiz-0.5.2.ebuild:
+ Switch kde-dependencies, so kdebase is preferred before kwin.
+
+ 17 Aug 2007; Hanno Boeck <hanno@gentoo.org> compiz-0.5.2.ebuild:
+ Add libwnck-dep.
+
+*compiz-0.5.2 (13 Aug 2007)
+
+ 13 Aug 2007; Hanno Boeck <hanno@gentoo.org> +compiz-0.5.2.ebuild:
+ Version bump.
+
+ 03 May 2007; Hanno Boeck <hanno@gentoo.org> files/compiz-start,
+ compiz-0.5.0.ebuild:
+ Fix some minor issues (gconf schema installation, more deps).
+
+*compiz-0.5.0 (24 Apr 2007)
+
+ 24 Apr 2007; Hanno Boeck <hanno@gentoo.org> +compiz-0.5.0.ebuild:
+ Version bump.
+
+ 10 Mar 2007; Hanno Boeck <hanno@gentoo.org> files/compiz-start:
+ Fix typo.
+
+ 28 Jan 2007; Hanno Boeck <hanno@gentoo.org> compiz-0.3.6.ebuild:
+ Fix dep issues, dbus is always required if kde-decorator is built.
+
+ 20 Jan 2007; Hanno Boeck <hanno@gentoo.org> compiz-0.3.6.ebuild:
+ Fix a bunch of smaller issues, mostly depend-related, don't install
+ old/broken compiz-aiglx/xgl/nvidia-scripts any more, please use and test
+ compiz-start instead.
+
+*compiz-0.3.6 (06 Jan 2007)
+
+ 06 Jan 2007; Hanno Boeck <hanno@gentoo.org> +files/0.3.6/compiz-start,
+ +compiz-0.3.6.ebuild:
+ Version bump, now with kde-decorator.
+
+ 29 Nov 2006; Hanno Boeck <hanno@gentoo.org> +files/compiz-start,
+ compiz-0.3.4.ebuild:
+ Add generic compiz start script.
+
+ 26 Nov 2006; Hanno Boeck <hanno@gentoo.org> compiz-0.3.4.ebuild:
+ Add dependency to libXinerama.
+
+*compiz-0.3.4 (22 Nov 2006)
+
+ 22 Nov 2006; Hanno Boeck <hanno@gentoo.org> +compiz-0.3.4.ebuild:
+ Version bump.
+
+*compiz-0.3.2 (01 Nov 2006)
+
+ 01 Nov 2006; Hanno Boeck <hanno@gentoo.org> +compiz-0.3.2.ebuild:
+ Version bump.
+
+ 18 Oct 2006; Olivier Crête <tester@gentoo.org> compiz-0.2.0.ebuild:
+ Use gnome2 eclass to install schemas properly, bug #150535
+
+*compiz-0.2.0 (03 Oct 2006)
+
+ 03 Oct 2006; Hanno Boeck <hanno@gentoo.org> +compiz-0.2.0.ebuild:
+ Add first release version.
+
+*compiz-0.0.13_pre20060928 (28 Sep 2006)
+
+ 28 Sep 2006; Hanno Boeck <hanno@gentoo.org> files/compiz-aiglx,
+ +files/compiz-nvidia, +files/compiz-xgl,
+ +compiz-0.0.13_pre20060928.ebuild:
+ Version bump, new scripts for xgl and nvidia, misc fixes.
+
+ 21 Sep 2006; Hanno Boeck <hanno@gentoo.org>
+ compiz-0.0.13_pre20060921.ebuild:
+ Re-add gnome-deps, seems it's not possible at the moment to have less
+ dependencies.
+
+*compiz-0.0.13_pre20060921 (21 Sep 2006)
+
+ 21 Sep 2006; Hanno Boeck <hanno@gentoo.org> files/compiz-aiglx,
+ +compiz-0.0.13_pre20060921.ebuild:
+ Version bump, cleaned up dependencies.
+
+*compiz-0.0.13_pre20060916 (16 Sep 2006)
+
+ 16 Sep 2006; Hanno Boeck <hanno@gentoo.org>
+ +files/03-composite-cube-logo.patch, +files/04-fbconfig-depth-fix.patch,
+ +files/06-glfinish.patch, +files/07-cow.patch, +files/compiz-aiglx,
+ +compiz-0.0.13_pre20060916.ebuild:
+ Initial commit of compiz.
diff --git a/x11-wm/compiz/Manifest b/x11-wm/compiz/Manifest
new file mode 100644
index 00000000..24ee4f4a
--- /dev/null
+++ b/x11-wm/compiz/Manifest
@@ -0,0 +1,32 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX compiz-gcc-4.7.patch 999 SHA256 0824c0d32d32dfc8c57fa1afbfc81060e64bdcc4ec016f3ccb751a1956f6325a SHA512 e08563d928578ad74faa29168b3c3442cc0ab4e908ff4f430a7e23bcb2057e3da10f9742e8abbdaad9df6f56a039134e8a32f73ae214e240065d6d4ddd3a92bf WHIRLPOOL b79f08787a9f7d3dc46dc1f2c6645f40965c750122027e39679d783afb0c23bd300ee731bfb45858d6392c69a21b61eb326eb29315e0e4ac0d2655edb7d69f18
+AUX compiz-kde-4.10.patch 956 SHA256 b76acc7d3195f931aa11d7f8ea301a3c1cac738d383195b5355ae2bc155a77f2 SHA512 6ed694c33f5f12e3c29b75338b7c1610bf7f2925e6c464e35489244e8be1673d7df194ac6018f536276f29353c2dad3ec80f392bd47f40744bb0af517043bcf2 WHIRLPOOL 7d2d5709e00edb6cda6b6527acd4df360c3ac7f286302edf1880e243d711b114b6768c582dcd25f56bab6846cb470530d5ecdf139557d23bfd4d541c94d98976
+AUX compiz-kde-4.8.patch 755 SHA256 4feb22c82d21c9d870d669498badf95c01f735a85f8a5f4d63b4877b6f74df65 SHA512 fccbe0afc6e7c651912dc0e271f3745e96f5562da210934d79f00820e3b94d8340ee62707a840e042d287eba920ff556c36a39032815549d86676cd53e1cbbcc WHIRLPOOL 0d0f015463dfccfec237ce97a781868c6a76a3ab96caa8c5ed656ea0504e425a7490c8289bf56a63c2c2f9cde6bf580c1b56a6a663b3086e9a25a85ff955b48b
+AUX compiz-kde-4.9.patch 4975 SHA256 0d984c6af504a9d3b532cc9e50534a329f914a5c949e10a54f39c56da856c09b SHA512 ef448bf43cba07ddd925405f8502af3d24692a911431696c9b454b97bc67523f39c1321a95dbf216bd5369a439dfc91e7b953be4a9340393254750515cf9097e WHIRLPOOL 15d6dd43de19a28f6428fcc1be080f922a087d5d0c50b57236bc555af199401e042a029526bf3f3b2c3b8d488cd16fd8704920875ef4fe5cd415266cf9bb2e44
+AUX compiz-manager 9835 SHA256 e387ff9f01b84c572f31643316ed2ce2eacd11a92488e745ebcfd659945c6f1d SHA512 5cf4c1023754128c456d48db257a308461de0cbd9ebd427a4c281ada0b77659013723362959ae39fa31f24de36929fdfe6ea96d9788cba568f35d2dc86bc263a WHIRLPOOL 0afb3b62a0e29b9608d2eaf640f7704ffa91a3ea7ea7fc0d7cba5761a04c4a1928007e285344e401030230de506b92cbbbdbe4436eda4ebd44848ebfcad95c97
+AUX compiz-no-gconf.patch 630 SHA256 87467fbe5d4e0d0bb8952f2d5b74d21046d92d49772543aeda137266e055aa67 SHA512 3c3789852db56be06d553dcdddb68c94e68b9290c74e5a9e642f266d1688c18eb4ce01b6835f267c84d3a213ec61266159d5891b10d80cb79e17bc9683163bf9 WHIRLPOOL 7341780992eed62a36bfa8be0e8f22c4f54ecda555f8af87ea76f585f4fcbcb76f31bb79269a01ff5c5eabe7d6796a233d7efa8baf35720a09085f53af3b1da6
+AUX compiz.desktop 258 SHA256 6b3e76f62623ef4d533d25fb714467157827a4ba051d41e1730848266c573f8b SHA512 ab9084fe8d44a9a053e84483774d9db2b1b8def4fbb16ca9c74af18271ec0f7d3d7dbe607fa7e0687bbe6f6d9ef8ee17701e1a88c15adea822f45450f4ebb291 WHIRLPOOL b11117ece42467e06313a73f666c1e1ea2877313d5df1c9f3735a386da453f9d10bc83d4832ea491ac099aa94b1d757d2e8d1a733b9e22df56ce63c8cc48f02e
+DIST compiz-0.8.8.tar.bz2 1123892 SHA256 3ba555b0d6d536850a227d37d6ebc5cd5b15ee5bad83d7956529a27b870977e3 SHA512 6e3bad018835fdbc1b0e5ecb51a46a77a6531d46d77ee3ae4169273632ea9a6839c78300b18e2198c41698517efa65ded75387785b0c5bbbb6da41498451b644 WHIRLPOOL fa1d9b5e443d45a4615201a85a74dd025066620339ebac58b4fd5c71c19db731009c013ceee93f0345b46c413211424bc4c813d48e07d6cea874024a2b562ba2
+EBUILD compiz-0.8.8-r3.ebuild 4097 SHA256 526d7784006213a26373fa388f8d517a13027e95fe3696409a6c3401b8ef61ab SHA512 33f2e941cb7b4b085b44a95af2c4614439215c4e433a07d6a8b7a252ad7f2c984284884998441570fb7bf77c7a29798549c51a6ac2507c8d6ebd70ef53e46a46 WHIRLPOOL 0fd7daa81d2c14c14b10caad641e98f343677ad493e56954935aa272a87e45bf78b8e4f8cac7b8ff8a6428949cb74abc7ecd9577753e759b5699f2eae4d84ce5
+MISC ChangeLog 15630 SHA256 b298afe2fd4fc44994d5d9bec51162be9b44076842508c8efbd98a8fb300deec SHA512 699981cfe9a9e459d64a8be26e6454c0405cec6f2031c62a717dbbb3ace6fd6e78090f3c5b74ef8ae8f4c0a0962e47e7292a591315d5acbf379cbcbad397f66b WHIRLPOOL 20107127f819ab3825900813fb482d38b4c204d222743cdfa65bd272d122e6cdaccd2b97a29433ca5f2239b507ba23473ebe0f6b5a7e1284a6febbbd40cf95e2
+MISC metadata.xml 632 SHA256 a0dce016c36d51c1fe13822ed59ba3aef9b8a22fecdb2d3f5360b824ee890bb1 SHA512 46e6acb05014ec6cb5b77b6ff5ae31adff93ded582ad7ca22e90ce16c00f6ce7009fe72e603af83d0e6d5604f177e8eb175cdac2703d715c065e5df2834740a7 WHIRLPOOL 9499ba8dba186cc869cbc34cb7c964655c870318eaa28ca0d7ddef8b473e199edeea48f90f3394ff39334af6b8924f46dae4fa1a43ff9a75d54b0358cea88a2e
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0
+
+iQJiBAEBCABMBQJUkc1qRRSAAAAAABQAKGlzc3Vlci1mcHJAbm90YXRpb25zOTc5
+MTY5NkQ3RDM3NkRBN0U5QjZGMTUwMDZCMUYzOERDQTQ1QTFFQwAKCRAGsfONykWh
+7EjHEAC3bK56VSsuRf0gW/Z5dxDuahKL4leIFdHyLNUX6R1eiwtUtsKOCbEb0GNO
++0HwG+KWroU4PssiGEvxgx3+XMtRY8dPDX2wgMZDiyfguKGuPurV4oxJWwy02SZs
+3OYqF+shQVnAsD8V/zU7Ab77kaRRxE8AK4XpHuCoh4YhoOqHSvp0eIeR2Vtpi5SD
+XXKpoqAoTPs+Bo6dgs9r1D+n48Fl23X9FwwXhUNgyVQQ61pTNxJQ5PrZ2lOXYMrh
+H4uki6hKTh+XwfPgxIVw/yYY5d9h2fE/EndTK9RCisfWZ09TvcQJHAgLTbZbAdVd
+atOVuqNSPoqQB4ma4+EJK1WnSgd5JjQkhu9vakhheq1zAsyrMIiMSqej7cFncYRR
+O1urDLJAMW8q9AVN+XtcE8B59FKVs1tTRAYKkIA8kNYJeWtm9ksfItc4MKhihx3X
+NqmtDWsShSiVi7O8uvYq/1MgBJ76Y4rRJiA5gmapu/R1uaOon/mA4YXkG0ovzzdF
+ee3Z+aAgC0m1y5OMMoK8nWG3jWdNcwHtRJ95AihZwaLKNwpFLBZGO1VcAG/MNYV+
+p+hmwOa2KmtS0LYqYe98rYcQIf0yHrpoH+CwfR6q4tSbKV/e58RgJNO3WI3WbiwL
+5eqN2IELP/Sc/wO4EgK8WpFyHAt74DHflVqIOvzklg8uk/7qpg==
+=T9X1
+-----END PGP SIGNATURE-----
diff --git a/x11-wm/compiz/compiz-0.8.8-r3.ebuild b/x11-wm/compiz/compiz-0.8.8-r3.ebuild
new file mode 100644
index 00000000..75029e8f
--- /dev/null
+++ b/x11-wm/compiz/compiz-0.8.8-r3.ebuild
@@ -0,0 +1,168 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/compiz/compiz-0.8.8-r3.ebuild,v 1.2 2014/12/17 18:37:14 kensington Exp $
+
+EAPI=5
+
+inherit autotools eutils gnome2-utils
+
+DESCRIPTION="OpenGL window and compositing manager"
+HOMEPAGE="http://www.compiz.org/"
+SRC_URI="http://releases.compiz.org/${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2.1 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="+cairo dbus fuse gnome gconf gtk kde +svg"
+
+COMMONDEPEND="
+ >=dev-libs/glib-2
+ dev-libs/libxml2
+ dev-libs/libxslt
+ media-libs/libpng:0=
+ >=media-libs/mesa-6.5.1-r1
+ >=x11-base/xorg-server-1.1.1-r1
+ >=x11-libs/libX11-1.4
+ x11-libs/libxcb
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXinerama
+ x11-libs/libXrandr
+ x11-libs/libICE
+ x11-libs/libSM
+ >=x11-libs/libXrender-0.8.4
+ >=x11-libs/startup-notification-0.7
+ virtual/glu
+ cairo? (
+ x11-libs/cairo[X]
+ )
+ dbus? (
+ >=sys-apps/dbus-1.0
+ dev-libs/dbus-glib
+ )
+ fuse? ( sys-fs/fuse )
+ gnome? (
+ >=gnome-base/gnome-control-center-2.16.1:2
+ gnome-base/gnome-desktop:2
+ gconf? ( gnome-base/gconf:2 )
+ )
+ gtk? (
+ >=x11-libs/gtk+-2.8.0:2
+ >=x11-libs/libwnck-2.18.3:1
+ x11-libs/pango
+ )
+ kde? ( >=kde-base/kwin-4.2.0 )
+ svg? (
+ >=gnome-base/librsvg-2.14.0:2
+ >=x11-libs/cairo-1.0
+ )
+"
+
+DEPEND="${COMMONDEPEND}
+ virtual/pkgconfig
+ x11-proto/damageproto
+ x11-proto/xineramaproto
+"
+
+RDEPEND="${COMMONDEPEND}
+ x11-apps/mesa-progs
+ x11-apps/xdpyinfo
+ x11-apps/xset
+ x11-apps/xvinfo
+"
+
+DOCS=( AUTHORS ChangeLog NEWS README TODO )
+
+src_prepare() {
+ echo gtk/gnome/compiz-wm.desktop.in >> po/POTFILES.skip
+ echo metadata/core.xml.in >> po/POTFILES.skip
+
+ # Patch for compatibility with gcc 4.7
+ epatch "${FILESDIR}"/${PN}-gcc-4.7.patch
+
+ if ! use gnome || ! use gconf; then
+ epatch "${FILESDIR}"/${PN}-no-gconf.patch
+ fi
+ if use kde; then
+ # patch for KDE 4.8 compatibility. Picked up from stuff overlay
+ has_version ">=kde-base/kwin-4.8" && epatch "${FILESDIR}"/${PN}-kde-4.8.patch
+ # patch for KDE 4.9 compatibility. Picked up from http://cgit.compiz.org
+ has_version ">=kde-base/kwin-4.9" && epatch "${FILESDIR}"/${PN}-kde-4.9.patch
+ # patch for KDE 4.10 compatibility. Picked up from stuff overlay
+ has_version ">=kde-base/kwin-4.10" && epatch "${FILESDIR}"/${PN}-kde-4.10.patch
+ fi
+ eautoreconf
+}
+
+src_configure() {
+ local myconf
+
+ # We make gconf optional by itself, but only if gnome is also
+ # enabled, otherwise we simply disable it.
+ if use gnome; then
+ myconf="${myconf} $(use_enable gconf)"
+ else
+ myconf="${myconf} --disable-gconf"
+ fi
+
+ econf \
+ --enable-fast-install \
+ --disable-static \
+ --disable-gnome-keybindings \
+ --with-default-plugins \
+ $(use_enable svg librsvg) \
+ $(use_enable cairo annotate) \
+ $(use_enable dbus) \
+ $(use_enable dbus dbus-glib) \
+ $(use_enable fuse) \
+ $(use_enable gnome) \
+ $(use_enable gnome metacity) \
+ $(use_enable gtk) \
+ $(use_enable kde kde4) \
+ --disable-kde \
+ ${myconf}
+}
+
+src_install() {
+ default
+ prune_libtool_files --all
+
+ # Install compiz-manager
+ dobin "${FILESDIR}"/compiz-manager
+
+ # Add the full-path to lspci
+ sed -i "s#lspci#/usr/sbin/lspci#" "${D}/usr/bin/compiz-manager" || die
+
+ # Fix the hardcoded lib paths
+ sed -i "s#/lib/#/$(get_libdir)/#g" "${D}/usr/bin/compiz-manager" || die
+
+ # Create gentoo's config file
+ dodir /etc/xdg/compiz
+
+ cat <<- EOF > "${D}/etc/xdg/compiz/compiz-manager"
+ COMPIZ_BIN_PATH="/usr/bin/"
+ PLUGIN_PATH="/usr/$(get_libdir)/compiz/"
+ LIBGL_NVIDIA="/usr/$(get_libdir)/opengl/xorg-x11/lib/libGL.so.1.2"
+ LIBGL_FGLRX="/usr/$(get_libdir)/opengl/xorg-x11/lib/libGL.so.1.2"
+ KWIN="$(type -p kwin)"
+ METACITY="$(type -p metacity)"
+ SKIP_CHECKS="yes"
+ EOF
+
+ domenu "${FILESDIR}"/compiz.desktop
+}
+
+pkg_preinst() {
+ use gnome && use gconf && gnome2_gconf_savelist
+}
+
+pkg_postinst() {
+ use gnome && use gconf && gnome2_gconf_install
+
+ ewarn "If you update to x11-wm/metacity-2.24 after you install ${P},"
+ ewarn "gtk-window-decorator will crash until you reinstall ${PN} again."
+}
+
+pkg_prerm() {
+ use gnome && gnome2_gconf_uninstall
+}
diff --git a/x11-wm/compiz/files/compiz-gcc-4.7.patch b/x11-wm/compiz/files/compiz-gcc-4.7.patch
new file mode 100644
index 00000000..28315bae
--- /dev/null
+++ b/x11-wm/compiz/files/compiz-gcc-4.7.patch
@@ -0,0 +1,38 @@
+--- kde/window-decorator-kde4/window.cpp 2010-05-21 11:18:14.000000000 +0000
++++ kde/window-decorator-kde4/window.cpp 2012-09-12 18:05:00.000000000 +0000
+@@ -59,6 +59,9 @@
+
+ #include "paintredirector.h"
+
++// header for gcc-4.7 compatibility
++#include "unistd.h"
++
+ KWD::Window::Window (WId parentId,
+ WId clientId,
+ WId frame,
+--- configure.ac.orig 2012-09-12 23:39:54.093812000 +0400
++++ configure.ac 2012-09-12 23:40:37.253686000 +0400
+@@ -72,11 +72,6 @@
+ *) CFLAGS="$CFLAGS -Wnested-externs" ;;
+ esac
+
+- case " $CFLAGS " in
+- *[[\ \ ]]-D_FORTIFY_SOURCE=2[[\ \ ]]*) ;;
+- *) CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2" ;;
+- esac
+-
+ if test "x$enable_ansi" = "xyes"; then
+ case " $CFLAGS " in
+ *[[\ \ ]]-ansi[[\ \ ]]*) ;;
+@@ -95,11 +90,6 @@
+ *[[\ \ ]]-Wall[[\ \ ]]*) ;;
+ *) CXXFLAGS="$CXXFLAGS -Wall" ;;
+ esac
+-
+- case " $CXXFLAGS " in
+- *[[\ \ ]]-D_FORTIFY_SOURCE=2[[\ \ ]]*) ;;
+- *) CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2" ;;
+- esac
+ fi
+
+ AC_C_BIGENDIAN
diff --git a/x11-wm/compiz/files/compiz-kde-4.10.patch b/x11-wm/compiz/files/compiz-kde-4.10.patch
new file mode 100644
index 00000000..a30d54b9
--- /dev/null
+++ b/x11-wm/compiz/files/compiz-kde-4.10.patch
@@ -0,0 +1,30 @@
+--- kde/window-decorator-kde4/window.cpp 2012-11-14 10:17:09 +0000
++++ kde/window-decorator-kde4/window.cpp 2012-11-23 06:43:18 +0000
+@@ -554,6 +554,15 @@
+ showWindowMenu (pos.bottomLeft ());
+ }
+
++void KWD::Window::showApplicationMenu (const QPoint &p)
++{
++}
++
++bool KWD::Window::menuAvailable () const
++{
++ return false;
++}
++
+ KWD::Options::MouseCommand
+ KWD::Window::buttonToCommand (Qt::MouseButtons button)
+ {
+
+--- kde/window-decorator-kde4/window.h 2012-09-03 07:19:30 +0000
++++ kde/window-decorator-kde4/window.h 2012-11-23 06:43:18 +0000
+@@ -92,6 +92,8 @@
+ virtual void processMousePressEvent (QMouseEvent *);
+ virtual void showWindowMenu (const QRect &);
+ virtual void showWindowMenu (const QPoint &);
++ virtual void showApplicationMenu (const QPoint &);
++ virtual bool menuAvailable () const;
+ virtual void performWindowOperation (WindowOperation);
+ virtual void setMask (const QRegion &, int);
+ virtual bool isPreview (void) const;
diff --git a/x11-wm/compiz/files/compiz-kde-4.8.patch b/x11-wm/compiz/files/compiz-kde-4.8.patch
new file mode 100644
index 00000000..f31751ba
--- /dev/null
+++ b/x11-wm/compiz/files/compiz-kde-4.8.patch
@@ -0,0 +1,17 @@
+diff -ur compiz-0.8.8-orig//kde/window-decorator-kde4/window.cpp compiz-0.8.8//kde/window-decorator-kde4/window.cpp
+--- compiz-0.8.8-orig//kde/window-decorator-kde4/window.cpp 2010-05-21 14:18:14.000000000 +0300
++++ compiz-0.8.8//kde/window-decorator-kde4/window.cpp 2012-01-27 21:21:39.000000000 +0200
+@@ -986,10 +986,10 @@
+ {
+ Atom atom = Atoms::compizWindowBlurDecor;
+ QRegion topQRegion, bottomQRegion, leftQRegion, rightQRegion;
+- Region topRegion = NULL;
+- Region bottomRegion = NULL;
+- Region leftRegion = NULL;
+- Region rightRegion = NULL;
++ ::Region topRegion = NULL;
++ ::Region bottomRegion = NULL;
++ ::Region leftRegion = NULL;
++ ::Region rightRegion = NULL;
+ int size = 0;
+ int w, h;
diff --git a/x11-wm/compiz/files/compiz-kde-4.9.patch b/x11-wm/compiz/files/compiz-kde-4.9.patch
new file mode 100644
index 00000000..7b56da95
--- /dev/null
+++ b/x11-wm/compiz/files/compiz-kde-4.9.patch
@@ -0,0 +1,196 @@
+From 3c6f698c12f455661807c4115feaa73007fc33d1 Mon Sep 17 00:00:00 2001
+From: Dennis Kasprzyk <onestone@compiz.org>
+Date: Mon, 06 Aug 2012 18:23:17 +0000
+Subject: KDE 4.9 support.
+
+Little modification for compatibility with KDE 4.8 patch was added by Sergey Popov
+
+---
+diff --git a/kde/window-decorator-kde4/window.cpp b/kde/window-decorator-kde4/window.cpp
+index a65f99f..78d1a47 100644
+--- a/kde/window-decorator-kde4/window.cpp
++++ b/kde/window-decorator-kde4/window.cpp
+@@ -768,6 +768,22 @@ KWD::Window::transparentRect () const
+ return QRect ();
+ }
+
++KDecorationDefines::WindowOperation
++KWD::Window::buttonToWindowOperation(Qt::MouseButtons button)
++{
++ Options::MouseCommand com = buttonToCommand (button);
++
++ if (com == Options::MouseOperationsMenu)
++ return KDecorationDefines::OperationsOp;
++
++ return KDecorationDefines::NoOp;
++}
++
++
++#endif
++
++#if KDE_IS_VERSION(4,3,90) && !KDE_IS_VERSION(4, 8, 80)
++
+ bool
+ KWD::Window::isClientGroupActive ()
+ {
+@@ -837,19 +853,82 @@ KWD::Window::displayClientMenu (int index, const QPoint& pos)
+ showWindowMenu (pos);
+ }
+
+-KDecorationDefines::WindowOperation
+-KWD::Window::buttonToWindowOperation(Qt::MouseButtons button)
++#endif
++
++#if KDE_IS_VERSION(4,8,80)
++QString
++KWD::Window::caption(int idx) const
+ {
+- Options::MouseCommand com = buttonToCommand (button);
++ return mName;
++}
+
+- if (com == Options::MouseOperationsMenu)
+- return KDecorationDefines::OperationsOp;
++void
++KWD::Window::closeTab(long id)
++{
++ closeWindow ();
++}
+
+- return KDecorationDefines::NoOp;
++void
++KWD::Window::closeTabGroup()
++{
++ closeWindow ();
++}
++
++long
++KWD::Window::currentTabId() const
++{
++ return (long) mClientId;
++}
++
++QIcon
++KWD::Window::icon(int idx) const
++{
++ QIcon icon (mIcon);
++ icon.addPixmap (mMiniIcon);
++ return icon;
++}
++
++void
++KWD::Window::setCurrentTab(long id)
++{
++}
++
++void
++KWD::Window::showWindowMenu(const QPoint& pos, long id)
++{
++ showWindowMenu (pos);
++}
++
++void
++KWD::Window::tab_A_before_B(long A, long B)
++{
++}
++
++void
++KWD::Window::tab_A_behind_B(long A, long B)
++{
++}
++
++int
++KWD::Window::tabCount() const
++{
++ return 1;
++}
++
++long
++KWD::Window::tabId(int idx) const
++{
++ return (long) mClientId;
++}
++
++void
++KWD::Window::untab(long id, const QRect& newGeom)
++{
+ }
+
+ #endif
+
++
+ void
+ KWD::Window::createDecoration (void)
+ {
+@@ -987,14 +1066,14 @@ KWD::Window::updateBlurProperty (int topOffset,
+ int leftOffset,
+ int rightOffset)
+ {
+- Atom atom = Atoms::compizWindowBlurDecor;
+- QRegion topQRegion, bottomQRegion, leftQRegion, rightQRegion;
+- ::Region topRegion = NULL;
+- ::Region bottomRegion = NULL;
+- ::Region leftRegion = NULL;
+- ::Region rightRegion = NULL;
+- int size = 0;
+- int w, h;
++ Atom atom = Atoms::compizWindowBlurDecor;
++ QRegion topQRegion, bottomQRegion, leftQRegion, rightQRegion;
++ _XRegion *topRegion = NULL;
++ _XRegion *bottomRegion = NULL;
++ _XRegion *leftRegion = NULL;
++ _XRegion *rightRegion = NULL;
++ int size = 0;
++ int w, h;
+
+ w = mGeometry.width () + mBorder.left + mBorder.right;
+ h = mGeometry.height () + mBorder.top + mBorder.bottom;
+diff --git a/kde/window-decorator-kde4/window.h b/kde/window-decorator-kde4/window.h
+index c2b274b..1ddfbd1 100644
+--- a/kde/window-decorator-kde4/window.h
++++ b/kde/window-decorator-kde4/window.h
+@@ -114,7 +114,10 @@ class Window: public QObject, public KDecorationBridgeUnstable {
+ virtual bool compositingActive () const;
+ #if KDE_IS_VERSION(4,3,90)
+ virtual QRect transparentRect () const;
+-
++ virtual WindowOperation
++ buttonToWindowOperation(Qt::MouseButtons button);
++#endif
++#if KDE_IS_VERSION(4,3,90) && !KDE_IS_VERSION(4, 8, 80)
+ virtual bool isClientGroupActive ();
+ virtual QList<ClientGroupItem> clientGroupItems () const;
+ virtual long itemId (int index);
+@@ -126,10 +129,27 @@ class Window: public QObject, public KDecorationBridgeUnstable {
+ virtual void closeClientGroupItem (int index);
+ virtual void closeAllInClientGroup ();
+ virtual void displayClientMenu (int index, const QPoint& pos);
+-
+- virtual WindowOperation
+- buttonToWindowOperation(Qt::MouseButtons button);
++
++#endif
++#if KDE_IS_VERSION(4,8,80)
++ using KDecorationBridge::caption;
++ virtual QString caption(int idx) const;
++ virtual void closeTab(long id);
++ virtual void closeTabGroup();
++ virtual long currentTabId() const;
++ using KDecorationBridge::icon;
++ virtual QIcon icon(int idx) const;
++ virtual void setCurrentTab(long id);
++ using KDecorationBridge::showWindowMenu;
++ virtual void showWindowMenu(const QPoint& pos, long id);
++ virtual void tab_A_before_B(long A, long B);
++ virtual void tab_A_behind_B(long A, long B);
++ virtual int tabCount() const;
++ virtual long tabId(int idx) const;
++ virtual void untab(long id, const QRect& newGeom);
+ #endif
++
++
+ virtual bool eventFilter (QObject* o, QEvent* e);
+
+ void handleActiveChange (void);
+--
+cgit v0.8.3.1-30-gff3a
diff --git a/x11-wm/compiz/files/compiz-manager b/x11-wm/compiz/files/compiz-manager
new file mode 100644
index 00000000..74d45da2
--- /dev/null
+++ b/x11-wm/compiz/files/compiz-manager
@@ -0,0 +1,384 @@
+#!/bin/sh
+# Compiz Manager wrapper script
+#
+# Copyright (c) 2007 Kristian Lyngstøl <kristian@bohemians.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+#
+#
+# Contributions by: Treviño (3v1n0) <trevi55@gmail.com>, Ubuntu Packages
+#
+# Much of this code is based on Beryl code, also licensed under the GPL.
+# This script will detect what options we need to pass to compiz to get it
+# started, and start a default plugin and possibly window decorator.
+#
+
+
+COMPIZ_BIN_PATH="/usr/bin/" # For window decorators and compiz
+PLUGIN_PATH="/usr/lib/compiz/"
+GLXINFO="/usr/bin/glxinfo"
+KWIN="/usr/bin/kwin"
+METACITY="/usr/bin/metacity"
+COMPIZ_NAME="compiz" # Final name for compiz (compiz.real)
+
+# For Xgl LD_PRELOAD
+LIBGL_NVIDIA="/usr/lib/nvidia/libGL.so.1.2.xlibmesa"
+LIBGL_FGLRX="/usr/lib/fglrx/libGL.so.1.2.xlibmesa"
+
+# Minimum amount of memory (in kilo bytes) that nVidia cards need
+# to be allowed to start
+# Set to 262144 to require 256MB
+NVIDIA_MEMORY="65536" # 64MB
+NVIDIA_SETTINGS="nvidia-settings" # Assume it's in the path by default
+
+# For detecting what driver is in use, the + is for one or more /'s
+XORG_DRIVER_PATH="/usr/lib/xorg/modules/drivers/+"
+
+FALLBACKWM="${METACITY}"
+FALLBACKWM_OPTIONS="--replace $@"
+
+# Driver whitelist
+WHITELIST="nvidia intel ati radeon i810"
+
+# blacklist based on the pci ids
+# See http://wiki.compiz-fusion.org/Hardware/Blacklist for details
+T=" 1002:5954 1002:5854 1002:5955" # ati rs480
+T="$T 1002:4153" # ATI Rv350
+T="$T 8086:2982 8086:2992 8086:29a2 8086:2a02 8086:2a12" # intel 965
+BLACKLIST_PCIIDS="$T"
+unset T
+
+COMPIZ_OPTIONS="--ignore-desktop-hints --replace"
+COMPIZ_PLUGINS=""
+ENV=""
+
+# Use emerald by default if it exist
+USE_EMERALD="yes"
+
+# No indirect by default
+INDIRECT="no"
+
+# Default X.org log if xset q doesn't reveal it
+XORG_DEFAULT_LOG="/var/log/Xorg.0.log"
+
+# Set to yes to enable verbose
+VERBOSE="yes"
+
+# Echos the arguments if verbose
+verbose()
+{
+ if [ "x$VERBOSE" = "xyes" ]; then
+ printf "$*"
+ fi
+}
+
+# abort script and run fallback windowmanager
+abort_with_fallback_wm()
+{
+ if [ "x$SKIP_CHECKS" = "xyes" ]; then
+ verbose "SKIP_CHECKS is yes, so continuing despite problems.\n"
+ return 0;
+ fi
+
+ verbose "aborting and using fallback: $FALLBACKWM \n"
+
+ if [ -x $FALLBACKWM ]; then
+ exec $FALLBACKWM $FALLBACKWM_OPTIONS
+ else
+ printf "no $FALLBACKWM found, exiting\n"
+ exit 1
+ fi
+}
+
+# Check for non power of two texture support
+check_npot_texture()
+{
+ verbose "Checking for non power of two support: "
+ if glxinfo 2> /dev/null | egrep -q '(GL_ARB_texture_non_power_of_two|GL_NV_texture_rectangle|GL_EXT_texture_rectangle|GL_ARB_texture_rectangle)' ; then
+ verbose "present. \n";
+ return 0;
+ else
+ verbose "Not present. \n"
+ return 1;
+ fi
+
+}
+
+# Check for presence of FBConfig
+check_fbconfig()
+{
+ verbose "Checking for FBConfig: "
+ if [ "$INDIRECT" = "yes" ]; then
+ $GLXINFO -i | grep -q GLX.*fbconfig
+ FB=$?
+ else
+ $GLXINFO | grep -q GLX.*fbconfig
+ FB=$?
+ fi
+
+ if [ $FB = "0" ]; then
+ unset FB
+ verbose "present. \n"
+ return 0;
+ else
+ unset FB
+ verbose "not present. \n"
+ return 1;
+ fi
+}
+
+
+# Check for TFP
+check_tfp()
+{
+ verbose "Checking for texture_from_pixmap: "
+ if [ $($GLXINFO 2>/dev/null | grep GLX_EXT_texture_from_pixmap -c) -gt 2 ] ; then
+ verbose "present. \n"
+ return 0;
+ else
+ verbose "not present. \n"
+ if [ "$INDIRECT" = "yes" ]; then
+ unset LIBGL_ALWAYS_INDIRECT
+ INDIRECT="no"
+ return 1;
+ else
+ verbose "Trying again with indirect rendering:\n";
+ INDIRECT="yes"
+ export LIBGL_ALWAYS_INDIRECT=1
+ check_tfp;
+ return $?
+ fi
+ fi
+}
+
+# Check wether the composite extension is present
+check_composite()
+{
+ verbose "Checking for Composite extension: "
+ if xdpyinfo -queryExtensions | grep -q Composite ; then
+ verbose "present. \n";
+ return 0;
+ else
+ verbose "not present. \n";
+ return 1;
+ fi
+}
+
+# Detects if Xgl is running
+check_xgl()
+{
+ verbose "Checking for Xgl: "
+ if xvinfo | grep -q Xgl ; then
+ verbose "present. \n"
+ return 0;
+ else
+ verbose "not present. \n"
+ return 1;
+ fi
+}
+
+# Check if the nVidia card has enough video ram to make sense
+check_nvidia_memory()
+{
+ MEM=$(${NVIDIA_SETTINGS} -q VideoRam | egrep Attribute\ \'VideoRam\'\ .*: | cut -d: -f3 | sed 's/[^0-9]//g')
+ if [ $MEM -lt $NVIDIA_MEMORY ]; then
+ verbose "Less than ${NVIDIA_MEMORY}kb of memory and nVidia";
+ return 1;
+ fi
+ return 0;
+}
+
+# Check for existence if NV-GLX
+check_nvidia()
+{
+ if [ ! -z $NVIDIA_INTERNAL_TEST ]; then
+ return $NVIDIA_INTERNAL_TEST;
+ fi
+ verbose "Checking for nVidia: "
+ if xdpyinfo | grep -q NV-GLX ; then
+ verbose "present. \n"
+ NVIDIA_INTERNAL_TEST=0
+ return 0;
+ else
+ verbose "not present. \n"
+ NVIDIA_INTERNAL_TEST=1
+ return 1;
+ fi
+}
+
+# Check if the max texture size is large enough compared to the resolution
+check_texture_size()
+{
+ TEXTURE_LIMIT=$(glxinfo -l | grep -m1 GL_MAX_TEXTURE_SIZE | sed 's/.*=[^0-9]//g')
+ RESOLUTION=$(xdpyinfo | grep -i dimensions: | sed 's/[^0-9]*pixels.*(.*).*//' | sed 's/[^0-9x]*//')
+ VRES=$(echo $RESOLUTION | sed 's/.*x//')
+ HRES=$(echo $RESOLUTION | sed 's/x.*//')
+ verbose "Comparing resolution ($RESOLUTION) to maximum 3D texture size ($TEXTURE_LIMIT): ";
+ if [ $VRES -gt $TEXTURE_LIMIT ] || [ $HRES -gt $TEXTURE_LIMIT ]; then
+ verbose "Failed.\n"
+ return 1;
+ fi
+ verbose "Passed.\n"
+ return 0
+}
+
+# check driver whitelist
+running_under_whitelisted_driver()
+{
+ LOG=$(xset q|grep "Log file"|awk '{print $3}')
+ if [ "$LOG" = "" ]; then
+ verbose "xset q doesn't reveal the location of the log file. Using fallback $XORG_DEFAULT_LOG \n"
+ LOG=$XORG_DEFAULT_LOG;
+ fi
+ if [ -z "$LOG" ];then
+ verbose "AIEEEEH, no Log file found \n"
+ verbose "$(xset q) \n"
+ return 0
+ fi
+ for DRV in ${WHITELIST}; do
+ if egrep -q "Loading ${XORG_DRIVER_PATH}${DRV}_drv\.so" $LOG &&
+ ! egrep -q "Unloading ${XORG_DRIVER_PATH}${DRV}_drv\.so" $LOG;
+ then
+ return 0
+ fi
+ done
+ verbose "No whitelisted driver found\n"
+ return 1
+}
+
+# check pciid blacklist
+have_blacklisted_pciid()
+{
+ OUTPUT=$(lspci -n)
+ for ID in ${BLACKLIST_PCIIDS}; do
+ if echo "$OUTPUT" | egrep -q "$ID"; then
+ verbose "Blacklisted PCIID '$ID' found \n"
+ return 0
+ fi
+ done
+ OUTPUT=$(lspci -vn | grep -i VGA)
+ verbose "Detected PCI ID for VGA: $OUTPUT\n"
+ return 1
+}
+
+build_env()
+{
+ if check_nvidia; then
+ ENV="__GL_YIELD=NOTHING "
+ fi
+ if [ "$INDIRECT" = "yes" ]; then
+ ENV="$ENV LIBGL_ALWAYS_INDIRECT=1 "
+ fi
+ if check_xgl; then
+ if [ -f ${LIBGL_NVIDIA} ]; then
+ ENV="$ENV LD_PRELOAD=${LIBGL_NVIDIA}"
+ verbose "Enabling Xgl with nVidia drivers...\n"
+ fi
+ if [ -f ${LIBGL_FGLRX} ]; then
+ ENV="$ENV LD_PRELOAD=${LIBGL_FGLRX}"
+ verbose "Enabling Xgl with fglrx ATi drivers...\n"
+ fi
+ fi
+
+ ENV="$ENV FROM_WRAPPER=yes"
+
+ if [ -n "$ENV" ]; then
+ export $ENV
+ fi
+}
+
+build_args()
+{
+ if [ $INDIRECT = "yes" ]; then
+ COMPIZ_OPTIONS="$COMPIZ_OPTIONS --indirect-rendering "
+ fi
+ if check_nvidia; then
+ COMPIZ_OPTIONS="$COMPIZ_OPTIONS --loose-binding"
+ fi
+}
+
+####################
+# Execution begins here.
+
+# Read configuration from XDG paths
+if [ -z "$XDG_CONFIG_DIRS" ]; then
+ test -f /etc/xdg/compiz/compiz-manager && . /etc/xdg/compiz/compiz-manager
+else
+ test -f $XDG_CONFIG_DIRS/compiz/compiz-manager && . $XDG_CONFIG_DIRS/compiz/compiz-manager
+fi
+
+if [ -z "$XDG_CONFIG_HOME" ]; then
+ test -f $HOME/.config/compiz/compiz-manager && . $HOME/.config/compiz/compiz-manager
+else
+ test -f $XDG_CONFIG_HOME/compiz/compiz-manager && . $XDG_CONFIG_HOME/compiz/compiz-manager
+fi
+
+# Don't use compiz when running the failsafe session
+if [ "x$GNOME_DESKTOP_SESSION_ID" = "xFailsafe" ]; then
+ abort_with_fallback_wm
+fi
+
+if [ "x$LIBGL_ALWAYS_INDIRECT" = "x1" ]; then
+ INDIRECT="yes";
+fi
+
+# if we run under Xgl, we can skip some tests here
+if ! check_xgl; then
+ # if vesa or vga are in use, do not even try glxinfo (LP#119341)
+ if ! running_under_whitelisted_driver || have_blacklisted_pciid; then
+ abort_with_fallback_wm
+ fi
+ # check if we have the required bits to run compiz and if not,
+ # fallback
+ if ! check_tfp || ! check_npot_texture || ! check_composite || ! check_texture_size; then
+ abort_with_fallback_wm
+ fi
+
+ if check_nvidia && ! check_nvidia_memory; then
+ abort_with_fallback_wm
+ fi
+
+ if ! check_fbconfig; then
+ abort_with_fallback_wm
+ fi
+fi
+
+# load the ccp plugin if present and fallback to plain gconf if not
+if [ -f ${PLUGIN_PATH}libccp.so ]; then
+ COMPIZ_PLUGINS="$COMPIZ_PLUGINS ccp"
+elif [ -f ${PLUGIN_PATH}libgconf.so ]; then
+ COMPIZ_PLUGINS="$COMPIZ_PLUGINS glib gconf"
+fi
+
+# get environment
+build_env
+build_args
+
+# start the gtk-window-decorator if present
+if [ -x ${COMPIZ_BIN_PATH}emerald ] && [ "$USE_EMERALD" = "yes" ]; then
+ verbose "Starting emerald\n"
+ ${COMPIZ_BIN_PATH}emerald --replace &
+elif [ -x ${COMPIZ_BIN_PATH}gtk-window-decorator ] && [ -n "$GNOME_DESKTOP_SESSION_ID" ]; then
+ verbose "Starting gtk-window-decorator\n"
+ ${COMPIZ_BIN_PATH}gtk-window-decorator --replace &
+elif [ -x ${COMPIZ_BIN_PATH}kde-window-decorator ] && [ -n "$KDE_FULL_SESSION" ]; then
+ verbose "Starting kde-window-decorator\n"
+ ${COMPIZ_BIN_PATH}kde-window-decorator --replace &
+ FALLBACKWM="${KWIN}"
+fi
+
+${COMPIZ_BIN_PATH}${COMPIZ_NAME} $COMPIZ_OPTIONS "$@" $COMPIZ_PLUGINS || exec $FALLBACKWM $FALLBACKWM_OPTIONS
+
diff --git a/x11-wm/compiz/files/compiz-no-gconf.patch b/x11-wm/compiz/files/compiz-no-gconf.patch
new file mode 100644
index 00000000..d43e84de
--- /dev/null
+++ b/x11-wm/compiz/files/compiz-no-gconf.patch
@@ -0,0 +1,20 @@
+ configure.ac | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 7b09153..9c22ea0 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -192,10 +192,10 @@ if test "x$use_gconf" = "xyes"; then
+ if test x"$GCONFTOOL" = xno; then
+ AC_MSG_ERROR([gconftool-2 executable not found in your path - should be installed with GConf])
+ fi
++else
++ AM_CONDITIONAL(GCONF_SCHEMAS_INSTALL, test "x$use_gconf" = "xyes")
+ fi
+
+-AM_GCONF_SOURCE_2
+-
+ AM_CONDITIONAL(USE_GCONF, test "x$use_gconf" = "xyes")
+ if test "$use_gconf" = yes; then
+ AC_DEFINE(USE_GCONF, 1, [Build gconf plugin])
diff --git a/x11-wm/compiz/files/compiz.desktop b/x11-wm/compiz/files/compiz.desktop
new file mode 100644
index 00000000..22cf642b
--- /dev/null
+++ b/x11-wm/compiz/files/compiz.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Type=Application
+Name=Compiz
+Name[en_GB]=Compiz
+Exec=compiz ccp
+NoDisplay=true
+# name we put on the WM spec check window
+X-GNOME-WMName=Compiz
+X-GNOME-Autostart-Phase=WindowManager
+X-GNOME-Provides=windowmanager
+X-GNOME-Autostart-Notify=true
diff --git a/x11-wm/compiz/metadata.xml b/x11-wm/compiz/metadata.xml
new file mode 100644
index 00000000..bf856f7d
--- /dev/null
+++ b/x11-wm/compiz/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <use>
+ <flag name="fuse">
+ Enables support for the filesystem in userspace plugin through <pkg>sys-fs/fuse</pkg>.
+ </flag>
+ <flag name="gconf">
+ Enable the GConf-based configuration backend; it is not required
+ to work with GNOME, and might actually be faster if it's not
+ used.
+ </flag>
+ </use>
+ <herd>desktop-effects</herd>
+ <longdescription>
+ compiz is a compositing window manager that uses 3D graphics acceleration via OpenGL.
+ </longdescription>
+</pkgmetadata>