diff options
26 files changed, 1914 insertions, 0 deletions
diff --git a/x11-plugins/compiz-plugins-extra/ChangeLog b/x11-plugins/compiz-plugins-extra/ChangeLog new file mode 100644 index 00000000..cd668724 --- /dev/null +++ b/x11-plugins/compiz-plugins-extra/ChangeLog @@ -0,0 +1,112 @@ +# ChangeLog for x11-plugins/compiz-plugins-extra +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/compiz-plugins-extra/ChangeLog,v 1.21 2012/09/25 14:35:30 pinkbyte Exp $ + + 25 Sep 2012; Sergey Popov <pinkbyte@gentoo.org> + -compiz-plugins-extra-0.8.6-r1.ebuild, + -files/compiz-plugins-extra-0.8.6-libnotify.patch: + Drop old + + 16 Aug 2012; Maxim Koltsov <maksbotan@gentoo.org> + +files/compiz-plugins-extra-0.8.8-libnotify.patch, + compiz-plugins-extra-0.8.8.ebuild: + Add correct libnotify patch for 0.8.8 + +*compiz-plugins-extra-0.8.8 (10 Aug 2012) + + 10 Aug 2012; Maxim Koltsov <maksbotan@gentoo.org> + +compiz-plugins-extra-0.8.8.ebuild: + Bump to 0.8.8, bug 429988. Thanks to Pinkbyte + + 05 May 2012; Jeff Horelick <jdhore@gentoo.org> + compiz-plugins-extra-0.8.6-r1.ebuild: + dev-util/pkgconfig -> virtual/pkgconfig + + 25 Apr 2012; Justin Lecher <jlec@gentoo.org> + compiz-plugins-extra-0.8.6-r1.ebuild: + Drop unnessecary die + + 21 Mar 2011; Nirbheek Chauhan <nirbheek@gentoo.org> + -compiz-plugins-extra-0.8.4-r1.ebuild, + compiz-plugins-extra-0.8.6-r1.ebuild: + Remove old, fix library slot-deps + + 28 Feb 2011; Samuli Suominen <ssuominen@gentoo.org> + compiz-plugins-extra-0.8.6-r1.ebuild, + files/compiz-plugins-extra-0.8.6-libnotify.patch: + Fix building with x11-libs/libnotify >= 0.7 wrt #354761 by Diego Elio + Pettenò. + + 26 Feb 2011; Kevin McCarthy <signals@gentoo.org> + compiz-plugins-extra-0.8.4-r1.ebuild, compiz-plugins-extra-0.8.6-r1.ebuild: + Updated depends from media-libs/jpeg to virtual/jpeg + + 13 Feb 2011; Diego E. Pettenò <flameeyes@gentoo.org> + -compiz-plugins-extra-0.8.4.ebuild, compiz-plugins-extra-0.8.4-r1.ebuild, + -compiz-plugins-extra-0.8.6.ebuild, compiz-plugins-extra-0.8.6-r1.ebuild, + +files/compiz-plugins-extra-0.8.6-libnotify.patch: + Resolve automagic dependencies over libnotify: force it on 0.8.4-r1, and + patch 0.8.6-r1 to respect a libnotify USE flag instead. Drop old version. + +*compiz-plugins-extra-0.8.6-r1 (04 Sep 2010) + + 04 Sep 2010; Diego E. Pettenò <flameeyes@gentoo.org> + +compiz-plugins-extra-0.8.6-r1.ebuild, metadata.xml: + Rename gnome USE flag to gconf (like x11-wm/compiz); disable static libs + and remove .la files (ibid.). + +*compiz-plugins-extra-0.8.6 (03 Apr 2010) + + 03 Apr 2010; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + +compiz-plugins-extra-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. + + 23 Dec 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + compiz-plugins-extra-0.8.4.ebuild, compiz-plugins-extra-0.8.4-r1.ebuild: + Dropped block for old package name now that I've finally set the pkg move. + + 20 Dec 2009; Romain Perier <mrpouet@gentoo.org> + -compiz-plugins-extra-0.8.2.ebuild: + Clean up old version + +*compiz-plugins-extra-0.8.4-r1 (01 Nov 2009) + + 01 Nov 2009; Romain Perier <mrpouet@gentoo.org> + +compiz-plugins-extra-0.8.4-r1.ebuild: + Fix two QA , replace $(use_enable gnome gconf) by $(use_enable gnome + schemas). Add inheritance from gnome2-utils.eclass in order to install + gconf schemas correctly. New revision. Many thanks to scarab. + +*compiz-plugins-extra-0.8.4 (15 Oct 2009) + + 15 Oct 2009; Romain Perier <mrpouet@gentoo.org> + +compiz-plugins-extra-0.8.4.ebuild: + Version bump. + + 27 Aug 2009; Mike Auty <ikelos@gentoo.org> + compiz-plugins-extra-0.8.2.ebuild: + Removing glitz dependency on cairo, fixes bug 273939. + + 25 Apr 2009; Brent Baude <ranger@gentoo.org> + compiz-plugins-extra-0.8.2.ebuild: + Marking compiz-plugins-extra-0.8.2 ~ppc for bug 246804 + + 25 Apr 2009; Brent Baude <ranger@gentoo.org> + compiz-plugins-extra-0.8.2.ebuild: + Marking compiz-plugins-extra-0.8.2 ~ppc64 for bug 246804 + + 04 Apr 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + +files/compiz-plugins-extra-no-gconf.patch: + Trying to add the patch again. + + 03 Apr 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + +files/compiz-plugins-extra-no-gconf.patch: + Added missing patch. + +*compiz-plugins-extra-0.8.2 (03 Apr 2009) + + 03 Apr 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + +metadata.xml, +compiz-plugins-extra-0.8.2.ebuild: + Bumped compiz to the 0.8.2 release. diff --git a/x11-plugins/compiz-plugins-extra/Manifest b/x11-plugins/compiz-plugins-extra/Manifest new file mode 100644 index 00000000..918ac9b7 --- /dev/null +++ b/x11-plugins/compiz-plugins-extra/Manifest @@ -0,0 +1,6 @@ +AUX compiz-plugins-extra-0.8.8-libnotify.patch 1088 SHA256 ec375cff8e922a0d3389f1cbb4309e305d02e3b608e128be471c637147b36d04 SHA512 26bb4d5f9d0f82ac1aa0c5cecdf2643f35e99a79c3c1fa758ecfda514007129c64c632479b24ad4d777db874e9430581bb1ee02bb7ff36a8cd38a275e98854de WHIRLPOOL 38f013128b226cf27d189b53555711376fa4f5f4428ef756eaf280e1f130ae8a5effcb22e828a98be518b952f0bd608a41c67a64bb4b96031c11de648e8c7672 +AUX compiz-plugins-extra-no-gconf.patch 585 SHA256 0567850b07c3973f1b4bfd5c36a1e240a57e45a1714b63637ecec577febfc13f SHA512 71ea3c642bae33789e530c9007bd9a7f94c4ace17dd378bb84b034bac6a049249f8783cb78c4b06c0602a8b1d5cc01825bf67a5babbe314d8620958bbf074d63 WHIRLPOOL 713c2cefbf0f962cf449ae6914524296255751ecfe7e692ccaead3cf1f0ac2f9c55a11057e1e6b2cd19726d9d0f9918137df9f89f7b688faf090378801177595 +DIST compiz-plugins-extra-0.8.8.tar.bz2 2689953 SHA256 bdce203098c62370b01b87741b04d3d9bc37e918789acce07120c4f081d5bbe3 SHA512 de72d688648e5426e8967cc88d9439d19c0bc57dcd4de7c5a78fbf2e1dcec85f5f69c89e6affa06f8df1534dad4b347041d023ea9eeabb034df485825815ca22 WHIRLPOOL 13934f28685384bf2ee64e987352b24c848981a69e54503e2931b1446380e74bb8396e3b792c0cac9cc869277cb0ecbf4af4b9a5da8cf6017b26f12d73171f2a +EBUILD compiz-plugins-extra-0.8.8.ebuild 1374 SHA256 ae1c51fdb61fde95615e57b587da65b71fd83fa8a0e7079e8dbffa078a9591a8 SHA512 3894b6b95a996af492944dcfd3f36d99fd94464d2486373461ee536a74c68e99929cbef9b81c6429797343f249a1cec2b205e55ae71d94a524099d6a0729b60d WHIRLPOOL 4a50786c8ffb76e5187f8a40dc884a6204bb10dcf6bbb758cab59f4b023c51413b8008ca6eed62386945855785f79e8664846551befd54988f8ab35831f2dd24 +MISC ChangeLog 4324 SHA256 5482a8d00b3c74dc8ce406bd38d395c2ddbde1e2079c4d0203b40ba56f8c6ac0 SHA512 83f7181b176d1c6937ddaacb5e50ac652f5eeebd89cfb1d1ccf22c87d3eeb2b564d44e726340d256d723e38dc16d75a361ac6a21de0e234ba2de5e605795194d WHIRLPOOL 1535fd951d2b5040918f3de5c5e6f3674f8383babd23af8f9d5a8c68c4e1d15bd15a88537717fc456cbb2cb43c2a83470f69df22451ceaf5c3b6fa3de1c4cd84 +MISC metadata.xml 635 SHA256 e2023c254ee05395db536f19d88d1735ddcec97e260a50a5db717249e0f3ba93 SHA512 28df4668d104b1a5a4a87e691624c70da3d93f993d60b87178b7b8d313f0df24f273d4cdf29d5a9fe2b26fb9eab4d480b3810b844a5218d90de538d120e36134 WHIRLPOOL b87c0f4f682712819bcd10088531c638edc1a0b1762cf4deed6c20b24036fa58e523e6aad5e6d7ed728cff8fcf1754578f393d0f47a85ecec86e9450e4a090c3 diff --git a/x11-plugins/compiz-plugins-extra/compiz-plugins-extra-0.8.8.ebuild b/x11-plugins/compiz-plugins-extra/compiz-plugins-extra-0.8.8.ebuild new file mode 100644 index 00000000..d2972fac --- /dev/null +++ b/x11-plugins/compiz-plugins-extra/compiz-plugins-extra-0.8.8.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/compiz-plugins-extra/compiz-plugins-extra-0.8.8.ebuild,v 1.2 2012/08/16 19:17:15 maksbotan Exp $ + +EAPI="4" + +inherit autotools eutils gnome2-utils + +DESCRIPTION="Compiz Fusion Window Decorator Extra Plugins" +HOMEPAGE="http://www.compiz.org/" +SRC_URI="http://releases.compiz.org/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="gconf libnotify" + +RDEPEND=" + >=gnome-base/librsvg-2.14.0:2 + virtual/jpeg:0 + >=x11-libs/compiz-bcop-${PV} + >=x11-plugins/compiz-plugins-main-${PV} + >=x11-wm/compiz-${PV}[gconf?] + libnotify? ( x11-libs/libnotify ) +" + +DEPEND="${RDEPEND} + >=dev-util/intltool-0.35 + virtual/pkgconfig + >=sys-devel/gettext-0.15 + x11-libs/cairo + gconf? ( gnome-base/gconf:2 ) +" + +DOCS="AUTHORS ChangeLog INSTALL NEWS README TODO" + +src_prepare() { + if ! use gconf; then + epatch "${FILESDIR}"/${PN}-no-gconf.patch + fi + epatch "${FILESDIR}/${P}-libnotify.patch" + + eautoreconf +} + +src_configure() { + econf \ + --enable-fast-install \ + --disable-static \ + $(use_enable gconf schemas) \ + $(use_with libnotify notifications) +} + +src_install() { + default + prune_libtool_files +} + +pkg_preinst() { + use gconf && gnome2_gconf_savelist +} + +pkg_postinst() { + use gconf && gnome2_gconf_install +} diff --git a/x11-plugins/compiz-plugins-extra/files/compiz-plugins-extra-0.8.8-libnotify.patch b/x11-plugins/compiz-plugins-extra/files/compiz-plugins-extra-0.8.8-libnotify.patch new file mode 100644 index 00000000..9287d706 --- /dev/null +++ b/x11-plugins/compiz-plugins-extra/files/compiz-plugins-extra-0.8.8-libnotify.patch @@ -0,0 +1,19 @@ +--- configure.ac 2011-04-21 15:51:08.000000000 +0400 ++++ configure.ac 2012-08-16 21:37:46.894173595 +0400 +@@ -136,7 +136,15 @@ + PKG_CHECK_MODULES(COMPIZMOUSEPOLL, compiz-mousepoll, [have_compiz_mousepoll=yes], [have_compiz_mousepoll=no]) + AM_CONDITIONAL(SHOWMOUSE_PLUGIN, test "x$have_compiz_mousepoll" = "xyes") + +-PKG_CHECK_MODULES(LIBNOTIFY, libnotify gtk+-2.0, [have_libnotify=yes], [have_libnotify=no]) ++AC_ARG_ENABLE(notifications, AS_HELP_STRING([--enable-notifications], [Build notification plugin]), [enable_notifications=$enableval], [enable_notification=auto]) ++if test "$enable_notification" = auto; then ++ PKG_CHECK_MODULES(LIBNOTIFY, libnotify gtk+-2.0, [have_libnotify=yes], [have_libnotify=no]) ++fi ++if test "$enable_notification" = yes; then ++ PKG_CHECK_MODULES(LIBNOTIFY, libnotify gtk+-2.0, [have_libnotify=yes], AC_MSG_ERROR([Libnotify is not installed])) ++else ++ have_libnotify=no ++fi + AM_CONDITIONAL(NOTIFICATION_PLUGIN, test "x$have_libnotify" = "xyes") + if test "$have_libnotify" = yes; then + AC_DEFINE(USE_NOTIFICATION, 1, [Build notification plugin]) diff --git a/x11-plugins/compiz-plugins-extra/files/compiz-plugins-extra-no-gconf.patch b/x11-plugins/compiz-plugins-extra/files/compiz-plugins-extra-no-gconf.patch new file mode 100644 index 00000000..49bf16be --- /dev/null +++ b/x11-plugins/compiz-plugins-extra/files/compiz-plugins-extra-no-gconf.patch @@ -0,0 +1,21 @@ + configure.ac | 5 ++--- + 1 files changed, 2 insertions(+), 3 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 0a3d7c1..6f8356d 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -150,11 +150,10 @@ if test x"$use_schemas" = x"yes"; then + fi + xsltdir=`$PKG_CONFIG --variable=xsltdir compiz-gconf` + AC_SUBST(xsltdir) ++else ++ AM_CONDITIONAL(GCONF_SCHEMAS_INSTALL, test "x$use_gconf" = "xyes") + fi + +-AM_GCONF_SOURCE_2 +- +- + AM_CONDITIONAL(USE_SCHEMAS, test "x$use_schemas" = "xyes") + if test "$use_schemas" = yes; then + AC_DEFINE(USE_SCHEMAS, 1, [Build gconf schemas]) diff --git a/x11-plugins/compiz-plugins-extra/metadata.xml b/x11-plugins/compiz-plugins-extra/metadata.xml new file mode 100644 index 00000000..907c4917 --- /dev/null +++ b/x11-plugins/compiz-plugins-extra/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-effects</herd> +<longdescription lang="en"> +>Package with several compiz-fusion plugins: +addhelper, bench, crashhandler, cubecaps, cubereflex, extrawm, fadedesktop, firepaint, gears, +goto-viewport, group, mblur, reflex, scalefilter, showdesktop, splash, trailfocus, widget. +</longdescription> + <use> + <flag name="gconf"> + Install GConf schemas for the plugins, needed when using the GConf-based + configuration backend in <pkg>x11-wm/compiz</pkg>. + </flag> + </use> +</pkgmetadata> + diff --git a/x11-plugins/compiz-plugins-main/ChangeLog b/x11-plugins/compiz-plugins-main/ChangeLog new file mode 100644 index 00000000..d2a33292 --- /dev/null +++ b/x11-plugins/compiz-plugins-main/ChangeLog @@ -0,0 +1,123 @@ +# ChangeLog for x11-plugins/compiz-plugins-main +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/compiz-plugins-main/ChangeLog,v 1.23 2012/10/09 19:28:28 pinkbyte Exp $ + + 09 Oct 2012; Sergey Popov <pinkbyte@gentoo.org> + compiz-plugins-main-0.8.8.ebuild: + Add missing virtual/glu dependency wrt bug #437656. Thanks to Anatoly for + discovering this issue + + 25 Sep 2012; Sergey Popov <pinkbyte@gentoo.org> + -files/compiz-plugins-main-0.8.4-put-plugin.patch, + -compiz-plugins-main-0.8.6-r1.ebuild: + Drop old + + 31 Aug 2012; Sergey Popov <pinkbyte@gentoo.org> metadata.xml: + Remove myself and proxy maintainer from maintainers + + 30 Aug 2012; Sergey Popov <pinkbyte@gentoo.org> + compiz-plugins-main-0.8.8.ebuild: + disable-dependency-tracking is unneeded for EAPI 4 + + 30 Aug 2012; Sergey Popov <pinkbyte@gentoo.org> + compiz-plugins-main-0.8.8.ebuild: + Use prune_libtool_files instead of simple 'find ... -delete' + +*compiz-plugins-main-0.8.8 (13 Jun 2012) + + 13 Jun 2012; Naohiro Aota <naota@gentoo.org> + +compiz-plugins-main-0.8.8.ebuild, metadata.xml: + Version bump. #416025. Assign Sergey Popov as a proxy maintainer. + + 05 May 2012; Jeff Horelick <jdhore@gentoo.org> + compiz-plugins-main-0.8.6-r1.ebuild: + dev-util/pkgconfig -> virtual/pkgconfig + + 25 Apr 2012; Justin Lecher <jlec@gentoo.org> + compiz-plugins-main-0.8.6-r1.ebuild: + Drop unnessecary die + + 21 Mar 2011; Nirbheek Chauhan <nirbheek@gentoo.org> + -compiz-plugins-main-0.8.4.ebuild, -compiz-plugins-main-0.8.4-r1.ebuild, + -compiz-plugins-main-0.8.6.ebuild, compiz-plugins-main-0.8.6-r1.ebuild: + Fix slot-deps on gtk+ and other libs, remove old + + 26 Feb 2011; Kevin McCarthy <signals@gentoo.org> + compiz-plugins-main-0.8.4.ebuild, compiz-plugins-main-0.8.4-r1.ebuild, + compiz-plugins-main-0.8.6.ebuild, compiz-plugins-main-0.8.6-r1.ebuild: + Updated depends from media-libs/jpeg to virtual/jpeg + + 04 Sep 2010; Diego E. Pettenò <flameeyes@gentoo.org> + compiz-plugins-main-0.8.6-r1.ebuild: + Update the ebuild to follow the -extra ebuild as well. + +*compiz-plugins-main-0.8.6-r1 (04 Sep 2010) + + 04 Sep 2010; Diego E. Pettenò <flameeyes@gentoo.org> + +compiz-plugins-main-0.8.6-r1.ebuild, metadata.xml: + Rename gnome USE flag to gconf (like x11-wm/compiz); disable static libs + and remove .la files (ibid.). + +*compiz-plugins-main-0.8.6 (03 Apr 2010) + + 03 Apr 2010; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + +compiz-plugins-main-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. + +*compiz-plugins-main-0.8.4-r1 (31 Jan 2010) + + 31 Jan 2010; Romain Perier <mrpouet@gentoo.org> + +compiz-plugins-main-0.8.4-r1.ebuild, + +files/compiz-plugins-main-0.8.4-put-plugin.patch: + Handle windows that have server border set properly (put plugin), + per bug #302308. Many thanks to Denilson. + + 23 Dec 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + compiz-plugins-main-0.8.4.ebuild: + Dropped block for old package name now that I've finally set the pkg move. + + 20 Dec 2009; Romain Perier <mrpouet@gentoo.org> + -compiz-plugins-main-0.8.2-r1.ebuild, + -files/compiz-plugins-main-0.8.2-xdamage-race.patch: + Clean up old version + +*compiz-plugins-main-0.8.4 (15 Oct 2009) + + 15 Oct 2009; Romain Perier <mrpouet@gentoo.org> + +compiz-plugins-main-0.8.4.ebuild: + Version bump. + +*compiz-plugins-main-0.8.2-r1 (28 Aug 2009) + + 28 Aug 2009; Romain Perier <mrpouet@gentoo.org> + -compiz-plugins-main-0.8.2.ebuild, + +compiz-plugins-main-0.8.2-r1.ebuild: + Fix bug #265223, replace $(use_enable gnome gconf) by $(use_enable gnome + schemas) without it gconf schemas were not installed, Add inheritance from + gnome2-utils.eclass to use gnome2_gconf_* functions. Drop old revision. + + 25 Apr 2009; Brent Baude <ranger@gentoo.org> + compiz-plugins-main-0.8.2.ebuild: + Marking compiz-plugins-main-0.8.2 ~ppc for bug 246804 + + 25 Apr 2009; Brent Baude <ranger@gentoo.org> + compiz-plugins-main-0.8.2.ebuild: + Marking compiz-plugins-main-0.8.2 ~ppc64 for bug 246804 + + 03 Apr 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + +files/compiz-plugins-main-0.8.2-xdamage-race.patch, + +files/compiz-plugins-main-no-gconf.patch: + Added another patch. + + 03 Apr 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + +files/compiz-plugins-main-0.8.2-xdamage-race.patch: + Added missing patch. + +*compiz-plugins-main-0.8.2 (03 Apr 2009) + + 03 Apr 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + +metadata.xml, +compiz-plugins-main-0.8.2.ebuild: + Bumped compiz to the 0.8.2 release. + diff --git a/x11-plugins/compiz-plugins-main/Manifest b/x11-plugins/compiz-plugins-main/Manifest new file mode 100644 index 00000000..cbf6518a --- /dev/null +++ b/x11-plugins/compiz-plugins-main/Manifest @@ -0,0 +1,5 @@ +AUX compiz-plugins-main-no-gconf.patch 586 SHA256 bc13b648e2198dd3611ba4f4734540903a740570a2c181dc666dd1e66f13e1da SHA512 bcfa935550cef196fea909bcf33a9e8cdae020288408deec56c09f64b912dc23cd080a689e3dda0cc89fbbfb71a1c3d6b5756866db926bc45470bf908e379e3a WHIRLPOOL f506185982c77173517de522baa21ab95cda059fb4e21f24b35373f4f40c3c2d381194effe19871f170c32178274c2568c988610a3c9a16a27503f013c0602e7 +DIST compiz-plugins-main-0.8.8.tar.bz2 1230627 SHA256 c79278b5369660d6274661a2c196f1cb016ef2b5d34e30bd18dbaeb241bee248 +EBUILD compiz-plugins-main-0.8.8.ebuild 1209 SHA256 4dec33bf1f7070350859177c36b2b684648de80ffd5a578877e02d25a41e706f SHA512 0601584fbc8f6e8ba1b446adec60a75c0edfd03eb26b7be561277e5950877be8ab2a3d75ef628de29dc4e5e9d31cbd9bc635fc0a7ac120bf64c67dc3f10d6bcb WHIRLPOOL 2f3564e14ac9abed75271b0d5fbc5f4103b50dfb39a8cc9f08acf271d4756622fca4ca35dc5d653532cb6cce004a4c33444f9ca0d9201d1b44c7efab43df4551 +MISC ChangeLog 4695 SHA256 63ddad7d12d5c2f6ed7636739c0f676af8b49931d683e52ab5f1533b59247c73 SHA512 757a7f580cac63406a97b9f20a21a9a0e7980e03a33fc9bb33699c4c4309d82fc9ec1030f217df4ea307547cb6cc1e35ab8cd0a6b76e9af8eba62f95639be132 WHIRLPOOL b218e1b0ee8db1882b742504a73aa27df27c6f36b527050a1b9060b83ba73dcd28840c229b1684d6ab1ee34d33682899a02b58e951398ec9938493292abc5328 +MISC metadata.xml 612 SHA256 70c3031e9483ffa40727107ea5272d67501f24a44d2e7040356572490c4e34a6 SHA512 51c5650dedb2ffab579710922e1363f242488de3743d138722da00cfb97d7674fb1c887d7bcb56b02fc923a08d8961f1fd4026553a7cc5b8f8d9b323bffbdba9 WHIRLPOOL bc1cbc1d67c8fe682a17f62499bcc21a8c91dd69f3cad6f81c1c8c619f449ec8f3ab5b452d73d456eccca418e501cdd581590e2f9b4c0360c57900bbf97dd2ad diff --git a/x11-plugins/compiz-plugins-main/compiz-plugins-main-0.8.8.ebuild b/x11-plugins/compiz-plugins-main/compiz-plugins-main-0.8.8.ebuild new file mode 100644 index 00000000..406a6a5d --- /dev/null +++ b/x11-plugins/compiz-plugins-main/compiz-plugins-main-0.8.8.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/compiz-plugins-main/compiz-plugins-main-0.8.8.ebuild,v 1.4 2012/10/09 19:28:28 pinkbyte Exp $ + +EAPI="4" + +inherit autotools eutils gnome2-utils + +DESCRIPTION="Compiz Fusion Window Decorator Plugins" +HOMEPAGE="http://www.compiz.org/" +SRC_URI="http://releases.compiz.org/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="gconf" + +RDEPEND=" + >=gnome-base/librsvg-2.14.0:2 + x11-libs/cairo + >=x11-libs/compiz-bcop-${PV} + >=x11-wm/compiz-${PV}[gconf?] + virtual/jpeg:0 + virtual/glu +" + +DEPEND="${RDEPEND} + >=dev-util/intltool-0.35 + virtual/pkgconfig + >=sys-devel/gettext-0.15 + gconf? ( gnome-base/gconf:2 ) +" + +DOCS="AUTHORS ChangeLog INSTALL NEWS README TODO" + +src_prepare() { + if ! use gconf; then + epatch "${FILESDIR}"/${PN}-no-gconf.patch + eautoreconf + fi +} + +src_configure() { + econf \ + --enable-fast-install \ + --disable-static \ + $(use_enable gconf schemas) +} + +src_install() { + default + prune_libtool_files +} + +pkg_preinst() { + use gconf && gnome2_gconf_savelist +} + +pkg_postinst() { + use gconf && gnome2_gconf_install +} diff --git a/x11-plugins/compiz-plugins-main/files/compiz-plugins-main-no-gconf.patch b/x11-plugins/compiz-plugins-main/files/compiz-plugins-main-no-gconf.patch new file mode 100644 index 00000000..63222a5f --- /dev/null +++ b/x11-plugins/compiz-plugins-main/files/compiz-plugins-main-no-gconf.patch @@ -0,0 +1,22 @@ + configure.ac | 5 ++--- + 1 files changed, 2 insertions(+), 3 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 297a8cf..290e92b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -171,11 +171,10 @@ + if test x"$use_schemas" = x"yes"; then + fi + xsltdir=`$PKG_CONFIG --variable=xsltdir compiz-gconf` + AC_SUBST(xsltdir) ++else ++ AM_CONDITIONAL(GCONF_SCHEMAS_INSTALL, test "x$use_gconf" = "xyes") + fi + +-AM_GCONF_SOURCE_2 +- +- + AM_CONDITIONAL(USE_SCHEMAS, test "x$use_schemas" = "xyes") + if test "$use_schemas" = yes; then + AC_DEFINE(USE_SCHEMAS, 1, [Build gconf schemas]) diff --git a/x11-plugins/compiz-plugins-main/metadata.xml b/x11-plugins/compiz-plugins-main/metadata.xml new file mode 100644 index 00000000..f80d46d0 --- /dev/null +++ b/x11-plugins/compiz-plugins-main/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-effects</herd> +<longdescription lang="en"> +Package with the base compiz-fusion plugins: +animation, colourfilter, expo, ezoom, jpeg, neg, opacify, put, resizeinfo, ring, +scaleaddon, shift, snap, text, thumbnail, vpswitch,, wall, winrules, workarounds. +</longdescription> + <use> + <flag name="gconf"> + Install GConf schemas for the plugins, needed when using the GConf-based + configuration backend in <pkg>x11-wm/compiz</pkg>. + </flag> + </use> +</pkgmetadata> diff --git a/x11-plugins/compiz-plugins-unsupported/ChangeLog b/x11-plugins/compiz-plugins-unsupported/ChangeLog new file mode 100644 index 00000000..2d4132bd --- /dev/null +++ b/x11-plugins/compiz-plugins-unsupported/ChangeLog @@ -0,0 +1,76 @@ +# ChangeLog for x11-plugins/compiz-plugins-unsupported +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/compiz-plugins-unsupported/ChangeLog,v 1.15 2012/09/25 14:35:30 pinkbyte Exp $ + + 25 Sep 2012; Sergey Popov <pinkbyte@gentoo.org> + -compiz-plugins-unsupported-0.8.4-r1.ebuild: + Drop old + + 30 Aug 2012; Sergey Popov <pinkbyte@gentoo.org> metadata.xml: + Remove myself and proxy maintainer from maintainers + + 30 Aug 2012; Sergey Popov <pinkbyte@gentoo.org> + compiz-plugins-unsupported-0.8.8.ebuild: + Bump EAPI to 4, add DOCS variable + +*compiz-plugins-unsupported-0.8.8 (07 May 2012) + + 07 May 2012; Naohiro Aota <naota@gentoo.org> + +compiz-plugins-unsupported-0.8.8.ebuild, metadata.xml: + Version bump. Assign Pinkbyte as maintainer. + + 05 May 2012; Jeff Horelick <jdhore@gentoo.org> + compiz-plugins-unsupported-0.8.4-r1.ebuild: + dev-util/pkgconfig -> virtual/pkgconfig + + 21 Mar 2011; Nirbheek Chauhan <nirbheek@gentoo.org> + -compiz-plugins-unsupported-0.8.4.ebuild, + compiz-plugins-unsupported-0.8.4-r1.ebuild: + Fix slot-deps on gtk+ and other libs, remove old + + 26 Feb 2011; Kevin McCarthy <signals@gentoo.org> + compiz-plugins-unsupported-0.8.4.ebuild, + compiz-plugins-unsupported-0.8.4-r1.ebuild: + Updated depends from media-libs/jpeg to virtual/jpeg + +*compiz-plugins-unsupported-0.8.4-r1 (03 Apr 2010) + + 03 Apr 2010; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + +compiz-plugins-unsupported-0.8.4-r1.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. + + 23 Dec 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + compiz-plugins-unsupported-0.8.4.ebuild: + Dropped block for old package name now that I've finally set the pkg move. + + 20 Dec 2009; Romain Perier <mrpouet@gentoo.org> + -compiz-plugins-unsupported-0.8.2.ebuild: + Clean up old version + +*compiz-plugins-unsupported-0.8.4 (15 Oct 2009) + + 15 Oct 2009; Romain Perier <mrpouet@gentoo.org> + +compiz-plugins-unsupported-0.8.4.ebuild: + Version bump. + + 25 Apr 2009; Brent Baude <ranger@gentoo.org> + compiz-plugins-unsupported-0.8.2.ebuild: + Marking compiz-plugins-unsupported-0.8.2 ~ppc for bug 246804 + + 25 Apr 2009; Brent Baude <ranger@gentoo.org> + compiz-plugins-unsupported-0.8.2.ebuild: + Marking compiz-plugins-unsupported-0.8.2 ~ppc64 for bug 246804 + + 07 Apr 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + compiz-plugins-unsupported-0.8.2.ebuild: + Added missing depend on compiz-plugins-main - thanks to Simon Kohlmeyer. + Fixes bug 264905. + +*compiz-plugins-unsupported-0.8.2 (03 Apr 2009) + + 03 Apr 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + +metadata.xml, +compiz-plugins-unsupported-0.8.2.ebuild: + Bumped compiz to the 0.8.2 release. + diff --git a/x11-plugins/compiz-plugins-unsupported/Manifest b/x11-plugins/compiz-plugins-unsupported/Manifest new file mode 100644 index 00000000..da240e42 --- /dev/null +++ b/x11-plugins/compiz-plugins-unsupported/Manifest @@ -0,0 +1,4 @@ +DIST compiz-plugins-unsupported-0.8.8.tar.bz2 1155793 SHA256 0b2ed265eda34dd60e1155280cb944bef07499f5f8178fc2498c243b2809481e SHA512 5e2f305873c3e9a9994334006d186d3353afbf37f082f364c3d309bb11f693de319047cfb65121bf1a1293d48eaedde767907ecaad8026689226c067671b8852 WHIRLPOOL b95758f3f0ccfb4b3f27c28f9f72c6a1c4fc1b7fc7ef9da9ed79b154476df4331fc129e6fce86d0a62c1a0cc56212af3f58aa1c669b239d80f88ed92245f6de6 +EBUILD compiz-plugins-unsupported-0.8.8.ebuild 830 SHA256 9cf324a77bcbf6502f38c7dc32afa633699384cf31d39ed0f9de048d5d8bd56a SHA512 8771104b85a8719f47262aff1f9573ba208fbbc6dc7157270f256df3b7d89b317f6fb9eb6b4c965834592cf9cbd97f25140e7cbf277ac1c8b2523ce1399d9490 WHIRLPOOL 4c19383e7e39603d4bcbc933cd92818c8ef75118d906ef70f0cfa8e7834b85d70d6289c9088efd0a9a89936b54303e52d104645087f4be11b73f093fc4f89a66 +MISC ChangeLog 2874 SHA256 dca2cc3013c509e3cb26739f807b385505d165b71a482002405cb44e6727c43b SHA512 4c81917981dcd199c3f3656b594ed8d2b49632c31474a7ab2b6cd3a6b82cabb61d6907d275f055e6f8f179062792190a43e0ef57a8c2ba60d417157690236e79 WHIRLPOOL 2b37fe870d34e60f0d350077eb779b85d5d5c6aed26292ef39bada28a1c3f0d2f16416453b543ccd81e0fad56058112a77bf50f8520b3ecb23163a8b527a5943 +MISC metadata.xml 290 SHA256 fbd40c429a5d587e82739a30fd70d63fb8e954a7c25fa4565443f73004579cdb SHA512 3a8061593649e80fb95bd6342ac26ac41243b5ec8b9ad5eef56be8299ffaefa7f2beac1a2cf9f70b3d89d01ca7672d442dc018c3492e59375764a58ac047cf1e WHIRLPOOL de3e065ea26fdfa9158457d0083cc82a5a6c6c486800b9237c537a6372a3f40aaebcf2c5e43e4367b41c5ac1719c8d89c9b260158b348f14029a13ae16a8866d diff --git a/x11-plugins/compiz-plugins-unsupported/compiz-plugins-unsupported-0.8.8.ebuild b/x11-plugins/compiz-plugins-unsupported/compiz-plugins-unsupported-0.8.8.ebuild new file mode 100644 index 00000000..502f6206 --- /dev/null +++ b/x11-plugins/compiz-plugins-unsupported/compiz-plugins-unsupported-0.8.8.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/compiz-plugins-unsupported/compiz-plugins-unsupported-0.8.8.ebuild,v 1.2 2012/08/30 16:19:41 pinkbyte Exp $ + +EAPI="4" + +DESCRIPTION="Compiz Fusion Window Decorator Unsupported Plugins" +HOMEPAGE="http://www.compiz.org/" +SRC_URI="http://releases.compiz.org/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +RDEPEND=" + >=gnome-base/librsvg-2.14.0:2 + virtual/jpeg:0 + >=x11-libs/compiz-bcop-${PV} + >=x11-plugins/compiz-plugins-main-${PV} + >=x11-wm/compiz-${PV} +" + +DEPEND="${RDEPEND} + >=dev-util/intltool-0.35 + virtual/pkgconfig + >=sys-devel/gettext-0.15 + x11-libs/cairo +" + +RESTRICT="mirror" + +DOCS="AUTHORS ChangeLog INSTALL NEWS README TODO" diff --git a/x11-plugins/compiz-plugins-unsupported/metadata.xml b/x11-plugins/compiz-plugins-unsupported/metadata.xml new file mode 100644 index 00000000..74d7b952 --- /dev/null +++ b/x11-plugins/compiz-plugins-unsupported/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>desktop-effects</herd> +<longdescription lang="en"> +Package with several compiz-fusion plugins: +fakeargb, mswitch, snow, tile. +</longdescription> +</pkgmetadata> 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> |