summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@gentoo.org>2011-03-20 21:27:05 +0000
committerNirbheek Chauhan <nirbheek@gentoo.org>2011-03-20 21:27:05 +0000
commit9e0eca6ddca0424edac5e130c5a3f7d6d844a89f (patch)
treee5139f0339fa4b17ba5ef68259b7accc80f52cd3 /x11-wm
parentdrop unused use_multilib func (diff)
downloadhistorical-9e0eca6ddca0424edac5e130c5a3f7d6d844a89f.tar.gz
historical-9e0eca6ddca0424edac5e130c5a3f7d6d844a89f.tar.bz2
historical-9e0eca6ddca0424edac5e130c5a3f7d6d844a89f.zip
Fix slot-deps on gtk+ and other libs, remove old
Package-Manager: portage-2.1.9.42/cvs/Linux x86_64
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/compiz/ChangeLog10
-rw-r--r--x11-wm/compiz/Manifest23
-rw-r--r--x11-wm/compiz/compiz-0.8.4-r1.ebuild150
-rw-r--r--x11-wm/compiz/compiz-0.8.4-r2.ebuild154
-rw-r--r--x11-wm/compiz/compiz-0.8.4-r3.ebuild157
-rw-r--r--x11-wm/compiz/compiz-0.8.4.ebuild146
-rw-r--r--x11-wm/compiz/compiz-0.8.6-r1.ebuild159
-rw-r--r--x11-wm/compiz/compiz-0.8.6-r2.ebuild162
-rw-r--r--x11-wm/compiz/compiz-0.8.6-r3.ebuild8
-rw-r--r--x11-wm/compiz/compiz-0.8.6.ebuild145
10 files changed, 14 insertions, 1100 deletions
diff --git a/x11-wm/compiz/ChangeLog b/x11-wm/compiz/ChangeLog
index 21d2e60623bc..ed1bfe59d360 100644
--- a/x11-wm/compiz/ChangeLog
+++ b/x11-wm/compiz/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-wm/compiz
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/compiz/ChangeLog,v 1.60 2010/12/06 22:15:27 ikelos Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/compiz/ChangeLog,v 1.61 2011/03/20 21:27:05 nirbheek Exp $
+
+ 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:
diff --git a/x11-wm/compiz/Manifest b/x11-wm/compiz/Manifest
index e049092701ab..8a301443586b 100644
--- a/x11-wm/compiz/Manifest
+++ b/x11-wm/compiz/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX 0.3.6/compiz-start 1122 RMD160 6e2e0db666a9fd7648e894d9f778dcb1c59bb6c0 SHA1 f710dcfbd6274ff7bed3f264d284a4dcecb27254 SHA256 04a944e8e39ef1a6226b350027a5865bb56b45230aa59eae9574cd6c75529fa4
AUX compiz-0.6.2-CVE-2007-3920.patch 1019 RMD160 024316c8213df5c68ceb39c404da4227cdfbf21f SHA1 adf6c10f0fa3de040704cd208d09d93b402667b8 SHA256 63b7dd520b4659f8124e3122ffeb0577c07d90539211f8383037eef744c0e5ee
AUX compiz-0.7.8-framesvg.patch 3119 RMD160 315aeb6b97db26af1bc48a2fb66228b402a07823 SHA1 5706c35119691c7b466e4c3b6dc39dd5a463cddf SHA256 9d323dd2ff10848d3c2cac93b00b67cca878f77942443a96f16b82c649535a21
@@ -16,23 +13,7 @@ AUX compiz-0.8.6-r2-fontcorruption.patch 676 RMD160 0e6da6560eed5ac90f9cbe2fb824
AUX compiz-manager 9835 RMD160 0c579ebd41c22b4f33edb2d2d5b1e41ac30720ac SHA1 ff39aa8abf43e42895aec6696c3659773f927fd2 SHA256 e387ff9f01b84c572f31643316ed2ce2eacd11a92488e745ebcfd659945c6f1d
AUX compiz-no-gconf.patch 630 RMD160 32b6990dff7baf7f3cb04f728ab04d1523f29c46 SHA1 ad1c0a38dcb83c4768031f0b87db4748b2c24b92 SHA256 87467fbe5d4e0d0bb8952f2d5b74d21046d92d49772543aeda137266e055aa67
AUX compiz.desktop 273 RMD160 704f0e631cd41d810af323b5fabbbf7eac5a943b SHA1 e244587cc28613ab92568846754e91bb193f0e85 SHA256 28a5459148c7733cdd82e3ecc1f584231d2619c7305b8bf71060db331bf081fb
-DIST compiz-0.8.4.tar.bz2 1131583 RMD160 3ba6606e75f8d4acda669cf633f1eb1dffd8c512 SHA1 be7911abb8a695423d7e83e5803217985837ee0e SHA256 b02bf0d2ad3ddf5dbf82ff3eb3174f3f9336bde1c5dffd44cfc007fb7e2fe924
-DIST compiz-0.8.4.tar.gz 1755741 RMD160 176bfa04b8ee3ee3c5b7e6f3c27c88d16c54ac63 SHA1 244ac823818209e44944d74df42d8986ec31d9dd SHA256 22b1f06a458f8eefc9ef511f78a55887fcd456e0fe5bb7574eefcf624146ecf6
DIST compiz-0.8.6.tar.bz2 1162334 RMD160 7a5476a21143e29ac2e35465c49e8a52b629a864 SHA1 8d5998cb18418283cbd367f126a65dde4062ad00 SHA256 c4df69b59b5660a37462de9ff0212af024ccf9c8038651bfda3557c955ab4f8c
-EBUILD compiz-0.8.4-r1.ebuild 3683 RMD160 0195b920d3332aebfa3b5be762df442fe12ddcd4 SHA1 32da4cb0c5b8a10543a6e025ccb18fca55ac23fb SHA256 4cec1ec355d76c3e1aab402e0ffb8a4a32beea8049161e69caa760ef8e87141a
-EBUILD compiz-0.8.4-r2.ebuild 3824 RMD160 431354059c6aa462b2afbc683749772d5a43e981 SHA1 29b9b9df7fadc00b985f5652c9dc5251c3d01d61 SHA256 f55e095dff08f71639dd863bfcd83a9c9a799567dddbd50e667f8a55bbeddb7c
-EBUILD compiz-0.8.4-r3.ebuild 3909 RMD160 66624346403d67ee19b7203e15d48c08ecebaeca SHA1 493ba8af11529ee58ec130ab3deaefef64e5e999 SHA256 d9a0c17c3ba24fdc16e8fa255875f88b028fc71df2a1b702dc927685c4f4409a
-EBUILD compiz-0.8.4.ebuild 3543 RMD160 efd0f760bbc0b516995c8df8e985b609ce2f9de7 SHA1 d89b8c28366c9abd7725a0f34381e89a322fa0d1 SHA256 e6151f8664640155c52d51ab765f3d14f3ea533473fcda20ecf56e35efec6d11
-EBUILD compiz-0.8.6-r1.ebuild 3839 RMD160 5a8adfded87f3b20da77976fb92c1de7eb297111 SHA1 1810b127a44526251be25664c918bb9671a5fa56 SHA256 37d7e0c4603b0c05783e323c055ee1315b345cd7a9d2d15c13c33f2b0cec0c31
-EBUILD compiz-0.8.6-r2.ebuild 3916 RMD160 a2487bb8e06bd204bd2afd568935e5f55e7581d1 SHA1 44213025a9f02d04a9d7a97019b9bced8c8c9dd2 SHA256 83b664ea6c242cb190a100ee251cbe0df5d6bb01096fe85c2da3aa311585a82c
-EBUILD compiz-0.8.6-r3.ebuild 3977 RMD160 abe712e9f1c2ff06d6880701c74af4552d17e58b SHA1 2e015a610790604118badf42484696f8b70adea1 SHA256 1b343b80d773573818025c83597885841460097041a7e136fd2ee91e0e4be8b5
-EBUILD compiz-0.8.6.ebuild 3459 RMD160 b8a83d268e20ba682a2599cb9e539da2ef76d9ae SHA1 27447d0921989b641113e681e30a6ee02b778333 SHA256 2fc89308de08d7a31c07a398b1b896ea4d90f5144eb32e822b2260ed946218a7
-MISC ChangeLog 11697 RMD160 6742eaafe1f8b5be07ea207cfdfe31b6913f12df SHA1 6fbefc24c61671a5d7e057fb225b48dc35289e08 SHA256 9b970678b63f6fbec30e1106c8a87d230ea3e12f7cf96510a26dda347d7e14dc
+EBUILD compiz-0.8.6-r3.ebuild 3983 RMD160 543e71d4ead065311d9074a76372356d41f5a50f SHA1 e2a920977ed52989c40b4f71065599feb4c8c96f SHA256 fa5a3bac3e48b2759b877773732985878f34f6d8ddb310cabca8450eb7e54707
+MISC ChangeLog 12004 RMD160 5ff3757952619f3e44ce868d947920dca4ee087c SHA1 21c14f05cc128d24e0c7f5666eb75d494129b1f4 SHA256 67d02a2a8736f0dc35f8c95764e0331bc3d136e12394868aa910b54c32a36d8a
MISC metadata.xml 633 RMD160 26a7c6887013f704c45bd0e6856e4c23fe14b0f8 SHA1 2552399215492619aa9d754e593c7c6b770a33a8 SHA256 d35fbc8d178e601ff147c3e38b963f9f6dd7acdd5f853bf5182ef29edf3240ce
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
-
-iEYEARECAAYFAkz9YIQACgkQu7rWomwgFXp91gCfa07lFqGigADfhsRi1mzWPUzT
-mX8AnRjLPnMzMq1O/MHYAIIs2XmCCJ0p
-=UPBc
------END PGP SIGNATURE-----
diff --git a/x11-wm/compiz/compiz-0.8.4-r1.ebuild b/x11-wm/compiz/compiz-0.8.4-r1.ebuild
deleted file mode 100644
index 778ba81def46..000000000000
--- a/x11-wm/compiz/compiz-0.8.4-r1.ebuild
+++ /dev/null
@@ -1,150 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/compiz/compiz-0.8.4-r1.ebuild,v 1.3 2010/09/21 07:42:49 scarabeus Exp $
-
-EAPI="2"
-
-inherit autotools eutils gnome2-utils
-
-DESCRIPTION="3D composite and windowmanager"
-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 gtk kde +svg"
-
-DEPEND="
- dev-libs/glib:2
- dev-libs/libxml2
- dev-libs/libxslt
- media-libs/libpng
- >=media-libs/mesa-6.5.1-r1
- >=x11-base/xorg-server-1.1.1-r1
- || ( <x11-libs/libX11-1.3.99.901[xcb] >=x11-libs/libX11-1.3.99.901 )
- 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
- cairo? (
- x11-libs/cairo[X]
- )
- dbus? ( >=sys-apps/dbus-1.0 )
- fuse? ( sys-fs/fuse )
- gnome? (
- >=gnome-base/gnome-control-center-2.16.1:2
- gnome-base/gnome-desktop
- gnome-base/gconf:2
- )
- gtk? (
- >=x11-libs/gtk+-2.8.0:2
- >=x11-libs/libwnck-2.18.3
- x11-libs/pango
- )
- kde? (
- || (
- >=kde-base/kwin-4.2.0
- kde-base/kwin:live
- )
- )
- svg? (
- >=gnome-base/librsvg-2.14.0:2
- >=x11-libs/cairo-1.0
- )
-"
-
-RDEPEND="${DEPEND}
- x11-apps/mesa-progs
- x11-apps/xvinfo"
-
-DEPEND="${DEPEND}
- dev-util/pkgconfig
- x11-proto/damageproto
- x11-proto/xineramaproto"
-
-src_prepare() {
-
- echo "gtk/gnome/compiz-wm.desktop.in" >> "${S}/po/POTFILES.skip"
- echo "metadata/core.xml.in" >> "${S}/po/POTFILES.skip"
-
- # Missing gconf flags, fix bug #282807
- epatch "${FILESDIR}"/${PN}-0.8.2-gtk-gnome-missing-gconf-flags.patch
-
- # 2 bugfixes, per bug #302308
- epatch "${FILESDIR}"/${P}-crash-on-opening-windows.patch
- epatch "${FILESDIR}"/${P}-place-plugin.patch
-
- if ! use gnome; then
- epatch "${FILESDIR}"/${PN}-no-gconf.patch
- fi
- eautoreconf
-}
-
-src_configure() {
- econf --disable-dependency-tracking \
- --disable-gnome-keybindings \
- --enable-librsvg \
- --with-default-plugins \
- $(use_enable cairo annotate) \
- $(use_enable dbus) \
- $(use_enable dbus dbus-glib) \
- $(use_enable fuse) \
- $(use_enable gnome) \
- $(use_enable gnome gconf) \
- $(use_enable gnome metacity) \
- $(use_enable gtk) \
- $(use_enable kde kde4) \
- --disable-kde
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- # Install compiz-manager
- dobin "${FILESDIR}/compiz-manager" || die "dobin failed"
-
- # Add the full-path to lspci
- sed -i "s#lspci#/usr/sbin/lspci#" "${D}/usr/bin/compiz-manager" || die "sed 1 failed"
-
- # Fix the hardcoded lib paths
- sed -i "s#/lib/#/$(get_libdir)/#g" "${D}/usr/bin/compiz-manager" || die "sed 2 failed"
-
- # Create gentoo's config file
- dodir /etc/xdg/compiz || die "dodir failed"
-
- 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
-
- dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed"
-
- insinto "/usr/share/applications"
- doins "${FILESDIR}/compiz.desktop" || die "Failed to install compiz.desktop"
-}
-
-pkg_preinst() {
- use gnome && gnome2_gconf_savelist
-}
-
-pkg_postinst() {
- use gnome && 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/compiz-0.8.4-r2.ebuild b/x11-wm/compiz/compiz-0.8.4-r2.ebuild
deleted file mode 100644
index ab7f50642b2b..000000000000
--- a/x11-wm/compiz/compiz-0.8.4-r2.ebuild
+++ /dev/null
@@ -1,154 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/compiz/compiz-0.8.4-r2.ebuild,v 1.4 2010/09/21 07:42:49 scarabeus Exp $
-
-EAPI="2"
-
-inherit autotools eutils gnome2-utils
-
-DESCRIPTION="3D composite and windowmanager"
-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 gtk kde +svg"
-
-DEPEND="
- dev-libs/glib:2
- dev-libs/libxml2
- dev-libs/libxslt
- media-libs/libpng
- >=media-libs/mesa-6.5.1-r1
- >=x11-base/xorg-server-1.1.1-r1
- || ( <x11-libs/libX11-1.3.99.901[xcb] >=x11-libs/libX11-1.3.99.901 )
- 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
- cairo? (
- x11-libs/cairo[X]
- )
- dbus? ( >=sys-apps/dbus-1.0 )
- fuse? ( sys-fs/fuse )
- gnome? (
- >=gnome-base/gnome-control-center-2.16.1:2
- gnome-base/gnome-desktop
- gnome-base/gconf:2
- )
- gtk? (
- >=x11-libs/gtk+-2.8.0:2
- >=x11-libs/libwnck-2.18.3
- x11-libs/pango
- )
- kde? (
- || (
- >=kde-base/kwin-4.2.0
- kde-base/kwin:live
- )
- )
- svg? (
- >=gnome-base/librsvg-2.14.0:2
- >=x11-libs/cairo-1.0
- )
-"
-
-RDEPEND="${DEPEND}
- x11-apps/mesa-progs
- x11-apps/xvinfo"
-
-DEPEND="${DEPEND}
- dev-util/pkgconfig
- x11-proto/damageproto
- x11-proto/xineramaproto"
-
-src_prepare() {
-
- echo "gtk/gnome/compiz-wm.desktop.in" >> "${S}/po/POTFILES.skip"
- echo "metadata/core.xml.in" >> "${S}/po/POTFILES.skip"
-
- # Missing gconf flags, fix bug #282807
- epatch "${FILESDIR}"/${PN}-0.8.2-gtk-gnome-missing-gconf-flags.patch
-
- # 3 bugfixes, per bug #302308
- epatch "${FILESDIR}"/${P}-crash-on-opening-windows.patch
- epatch "${FILESDIR}"/${P}-place-plugin.patch
- epatch "${FILESDIR}"/${P}-window-region-calculation.patch
-
- epatch "${FILESDIR}/${P}-libpng14.patch"
- epatch "${FILESDIR}/${P}-kde44.patch"
-
- if ! use gnome; then
- epatch "${FILESDIR}"/${PN}-no-gconf.patch
- fi
- eautoreconf
-}
-
-src_configure() {
- econf --disable-dependency-tracking \
- --disable-gnome-keybindings \
- --enable-librsvg \
- --with-default-plugins \
- $(use_enable cairo annotate) \
- $(use_enable dbus) \
- $(use_enable dbus dbus-glib) \
- $(use_enable fuse) \
- $(use_enable gnome) \
- $(use_enable gnome gconf) \
- $(use_enable gnome metacity) \
- $(use_enable gtk) \
- $(use_enable kde kde4) \
- --disable-kde
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- # Install compiz-manager
- dobin "${FILESDIR}/compiz-manager" || die "dobin failed"
-
- # Add the full-path to lspci
- sed -i "s#lspci#/usr/sbin/lspci#" "${D}/usr/bin/compiz-manager" || die "sed 1 failed"
-
- # Fix the hardcoded lib paths
- sed -i "s#/lib/#/$(get_libdir)/#g" "${D}/usr/bin/compiz-manager" || die "sed 2 failed"
-
- # Create gentoo's config file
- dodir /etc/xdg/compiz || die "dodir failed"
-
- 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
-
- dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed"
-
- insinto "/usr/share/applications"
- doins "${FILESDIR}/compiz.desktop" || die "Failed to install compiz.desktop"
-}
-
-pkg_preinst() {
- use gnome && gnome2_gconf_savelist
-}
-
-pkg_postinst() {
- use gnome && 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/compiz-0.8.4-r3.ebuild b/x11-wm/compiz/compiz-0.8.4-r3.ebuild
deleted file mode 100644
index d847197e7141..000000000000
--- a/x11-wm/compiz/compiz-0.8.4-r3.ebuild
+++ /dev/null
@@ -1,157 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/compiz/compiz-0.8.4-r3.ebuild,v 1.3 2010/09/21 07:42:49 scarabeus Exp $
-
-EAPI="2"
-
-inherit autotools eutils gnome2-utils
-
-DESCRIPTION="3D composite and windowmanager"
-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 gtk kde +svg"
-
-DEPEND="
- dev-libs/glib:2
- dev-libs/libxml2
- dev-libs/libxslt
- media-libs/libpng
- >=media-libs/mesa-6.5.1-r1
- >=x11-base/xorg-server-1.1.1-r1
- || ( <x11-libs/libX11-1.3.99.901[xcb] >=x11-libs/libX11-1.3.99.901 )
- 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
- cairo? (
- x11-libs/cairo[X]
- )
- dbus? ( >=sys-apps/dbus-1.0 )
- fuse? ( sys-fs/fuse )
- gnome? (
- >=gnome-base/gnome-control-center-2.16.1:2
- gnome-base/gnome-desktop
- gnome-base/gconf:2
- )
- gtk? (
- >=x11-libs/gtk+-2.8.0:2
- >=x11-libs/libwnck-2.18.3
- x11-libs/pango
- )
- kde? (
- || (
- >=kde-base/kwin-4.2.0
- kde-base/kwin:live
- )
- )
- svg? (
- >=gnome-base/librsvg-2.14.0:2
- >=x11-libs/cairo-1.0
- )
-"
-
-RDEPEND="${DEPEND}
- x11-apps/mesa-progs
- x11-apps/xvinfo"
-
-DEPEND="${DEPEND}
- dev-util/pkgconfig
- x11-proto/damageproto
- x11-proto/xineramaproto"
-
-src_prepare() {
-
- echo "gtk/gnome/compiz-wm.desktop.in" >> "${S}/po/POTFILES.skip"
- echo "metadata/core.xml.in" >> "${S}/po/POTFILES.skip"
-
- # Missing gconf flags, fix bug #282807
- epatch "${FILESDIR}"/${PN}-0.8.2-gtk-gnome-missing-gconf-flags.patch
-
- # 3 bugfixes, per bug #302308
- epatch "${FILESDIR}"/${P}-crash-on-opening-windows.patch
- epatch "${FILESDIR}"/${P}-place-plugin.patch
- epatch "${FILESDIR}"/${P}-window-region-calculation.patch
-
- epatch "${FILESDIR}/${P}-libpng14.patch"
- epatch "${FILESDIR}/${P}-kde44.patch"
-
- # Fixing GTK symbol - bug 311743.
- epatch "${FILESDIR}/${P}-gtk+-2.20-build.patch"
-
- if ! use gnome; then
- epatch "${FILESDIR}"/${PN}-no-gconf.patch
- fi
- eautoreconf
-}
-
-src_configure() {
- econf --disable-dependency-tracking \
- --disable-gnome-keybindings \
- --enable-librsvg \
- --with-default-plugins \
- $(use_enable cairo annotate) \
- $(use_enable dbus) \
- $(use_enable dbus dbus-glib) \
- $(use_enable fuse) \
- $(use_enable gnome) \
- $(use_enable gnome gconf) \
- $(use_enable gnome metacity) \
- $(use_enable gtk) \
- $(use_enable kde kde4) \
- --disable-kde
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- # Install compiz-manager
- dobin "${FILESDIR}/compiz-manager" || die "dobin failed"
-
- # Add the full-path to lspci
- sed -i "s#lspci#/usr/sbin/lspci#" "${D}/usr/bin/compiz-manager" || die "sed 1 failed"
-
- # Fix the hardcoded lib paths
- sed -i "s#/lib/#/$(get_libdir)/#g" "${D}/usr/bin/compiz-manager" || die "sed 2 failed"
-
- # Create gentoo's config file
- dodir /etc/xdg/compiz || die "dodir failed"
-
- 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
-
- dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed"
-
- insinto "/usr/share/applications"
- doins "${FILESDIR}/compiz.desktop" || die "Failed to install compiz.desktop"
-}
-
-pkg_preinst() {
- use gnome && gnome2_gconf_savelist
-}
-
-pkg_postinst() {
- use gnome && 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/compiz-0.8.4.ebuild b/x11-wm/compiz/compiz-0.8.4.ebuild
deleted file mode 100644
index dbfa6c5f5fca..000000000000
--- a/x11-wm/compiz/compiz-0.8.4.ebuild
+++ /dev/null
@@ -1,146 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/compiz/compiz-0.8.4.ebuild,v 1.4 2010/09/21 07:42:49 scarabeus Exp $
-
-EAPI="2"
-
-inherit autotools eutils gnome2-utils
-
-DESCRIPTION="3D composite and windowmanager"
-HOMEPAGE="http://www.compiz.org/"
-SRC_URI="http://releases.compiz.org/${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2 LGPL-2.1 MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="+cairo dbus fuse gnome gtk kde +svg"
-
-DEPEND="
- dev-libs/glib:2
- dev-libs/libxml2
- dev-libs/libxslt
- media-libs/libpng
- >=media-libs/mesa-6.5.1-r1
- >=x11-base/xorg-server-1.1.1-r1
- || ( <x11-libs/libX11-1.3.99.901[xcb] >=x11-libs/libX11-1.3.99.901 )
- 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
- cairo? (
- x11-libs/cairo[X]
- )
- dbus? ( >=sys-apps/dbus-1.0 )
- fuse? ( sys-fs/fuse )
- gnome? (
- >=gnome-base/gnome-control-center-2.16.1:2
- gnome-base/gnome-desktop
- gnome-base/gconf:2
- )
- gtk? (
- >=x11-libs/gtk+-2.8.0:2
- >=x11-libs/libwnck-2.18.3
- x11-libs/pango
- )
- kde? (
- || (
- >=kde-base/kwin-4.2.0
- kde-base/kwin:live
- )
- )
- svg? (
- >=gnome-base/librsvg-2.14.0:2
- >=x11-libs/cairo-1.0
- )
-"
-
-RDEPEND="${DEPEND}
- x11-apps/mesa-progs
- x11-apps/xvinfo"
-
-DEPEND="${DEPEND}
- dev-util/pkgconfig
- x11-proto/damageproto
- x11-proto/xineramaproto"
-
-src_prepare() {
-
- echo "gtk/gnome/compiz-wm.desktop.in" >> "${S}/po/POTFILES.skip"
- echo "metadata/core.xml.in" >> "${S}/po/POTFILES.skip"
-
- # Missing gconf flags, fix bug #282807
- epatch "${FILESDIR}"/${PN}-0.8.2-gtk-gnome-missing-gconf-flags.patch
-
- if ! use gnome; then
- epatch "${FILESDIR}"/${PN}-no-gconf.patch
- fi
- eautoreconf
-}
-
-src_configure() {
- econf --disable-dependency-tracking \
- --disable-gnome-keybindings \
- --enable-librsvg \
- --with-default-plugins \
- $(use_enable cairo annotate) \
- $(use_enable dbus) \
- $(use_enable dbus dbus-glib) \
- $(use_enable fuse) \
- $(use_enable gnome) \
- $(use_enable gnome gconf) \
- $(use_enable gnome metacity) \
- $(use_enable gtk) \
- $(use_enable kde kde4) \
- --disable-kde
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- # Install compiz-manager
- dobin "${FILESDIR}/compiz-manager" || die "dobin failed"
-
- # Add the full-path to lspci
- sed -i "s#lspci#/usr/sbin/lspci#" "${D}/usr/bin/compiz-manager" || die "sed 1 failed"
-
- # Fix the hardcoded lib paths
- sed -i "s#/lib/#/$(get_libdir)/#g" "${D}/usr/bin/compiz-manager" || die "sed 2 failed"
-
- # Create gentoo's config file
- dodir /etc/xdg/compiz || die "dodir failed"
-
- 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
-
- dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed"
-
- insinto "/usr/share/applications"
- doins "${FILESDIR}/compiz.desktop" || die "Failed to install compiz.desktop"
-}
-
-pkg_preinst() {
- use gnome && gnome2_gconf_savelist
-}
-
-pkg_postinst() {
- use gnome && 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/compiz-0.8.6-r1.ebuild b/x11-wm/compiz/compiz-0.8.6-r1.ebuild
deleted file mode 100644
index c346daafb3b9..000000000000
--- a/x11-wm/compiz/compiz-0.8.6-r1.ebuild
+++ /dev/null
@@ -1,159 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/compiz/compiz-0.8.6-r1.ebuild,v 1.4 2010/11/02 02:54:24 ford_prefect Exp $
-
-EAPI="2"
-
-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
- >=media-libs/mesa-6.5.1-r1
- >=x11-base/xorg-server-1.1.1-r1
- || ( <x11-libs/libX11-1.3.99.901[xcb] >=x11-libs/libX11-1.3.99.901 )
- 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
- cairo? (
- x11-libs/cairo[X]
- )
- dbus? ( >=sys-apps/dbus-1.0 )
- 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
- x11-libs/pango
- )
- kde? (
- || (
- >=kde-base/kwin-4.2.0
- kde-base/kwin:live
- )
- )
- svg? (
- >=gnome-base/librsvg-2.14.0:2
- >=x11-libs/cairo-1.0
- )
-"
-
-DEPEND="${COMMONDEPEND}
- dev-util/pkgconfig
- x11-proto/damageproto
- x11-proto/xineramaproto
-"
-
-RDEPEND="${COMMONDEPEND}
- x11-apps/mesa-progs
- x11-apps/xvinfo
-"
-
-src_prepare() {
-
- echo "gtk/gnome/compiz-wm.desktop.in" >> "${S}/po/POTFILES.skip"
- echo "metadata/core.xml.in" >> "${S}/po/POTFILES.skip"
-
- if ! use gnome || ! use gconf; then
- epatch "${FILESDIR}"/${PN}-no-gconf.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 --disable-dependency-tracking \
- --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() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- find "${D}" -name '*.la' -delete || die
-
- # Install compiz-manager
- dobin "${FILESDIR}/compiz-manager" || die "dobin failed"
-
- # Add the full-path to lspci
- sed -i "s#lspci#/usr/sbin/lspci#" "${D}/usr/bin/compiz-manager" || die "sed 1 failed"
-
- # Fix the hardcoded lib paths
- sed -i "s#/lib/#/$(get_libdir)/#g" "${D}/usr/bin/compiz-manager" || die "sed 2 failed"
-
- # Create gentoo's config file
- dodir /etc/xdg/compiz || die "dodir failed"
-
- 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
-
- dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed"
-
- insinto "/usr/share/applications"
- doins "${FILESDIR}/compiz.desktop" || die "Failed to install 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/compiz-0.8.6-r2.ebuild b/x11-wm/compiz/compiz-0.8.6-r2.ebuild
deleted file mode 100644
index 152656e01e85..000000000000
--- a/x11-wm/compiz/compiz-0.8.6-r2.ebuild
+++ /dev/null
@@ -1,162 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/compiz/compiz-0.8.6-r2.ebuild,v 1.1 2010/11/11 09:14:56 xmw Exp $
-
-EAPI="2"
-
-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
- >=media-libs/mesa-6.5.1-r1
- >=x11-base/xorg-server-1.1.1-r1
- || ( <x11-libs/libX11-1.3.99.901[xcb] >=x11-libs/libX11-1.3.99.901 )
- 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
- cairo? (
- x11-libs/cairo[X]
- )
- dbus? ( >=sys-apps/dbus-1.0 )
- 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
- x11-libs/pango
- )
- kde? (
- || (
- >=kde-base/kwin-4.2.0
- kde-base/kwin:live
- )
- )
- svg? (
- >=gnome-base/librsvg-2.14.0:2
- >=x11-libs/cairo-1.0
- )
-"
-
-DEPEND="${COMMONDEPEND}
- dev-util/pkgconfig
- x11-proto/damageproto
- x11-proto/xineramaproto
-"
-
-RDEPEND="${COMMONDEPEND}
- x11-apps/mesa-progs
- x11-apps/xvinfo
-"
-
-src_prepare() {
-
- echo "gtk/gnome/compiz-wm.desktop.in" >> "${S}/po/POTFILES.skip"
- echo "metadata/core.xml.in" >> "${S}/po/POTFILES.skip"
-
- # fix cont corruption, bug #343861
- epatch "${FILESDIR}"/${PF}-fontcorruption.patch
-
- if ! use gnome || ! use gconf; then
- epatch "${FILESDIR}"/${PN}-no-gconf.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 --disable-dependency-tracking \
- --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() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- find "${D}" -name '*.la' -delete || die
-
- # Install compiz-manager
- dobin "${FILESDIR}/compiz-manager" || die "dobin failed"
-
- # Add the full-path to lspci
- sed -i "s#lspci#/usr/sbin/lspci#" "${D}/usr/bin/compiz-manager" || die "sed 1 failed"
-
- # Fix the hardcoded lib paths
- sed -i "s#/lib/#/$(get_libdir)/#g" "${D}/usr/bin/compiz-manager" || die "sed 2 failed"
-
- # Create gentoo's config file
- dodir /etc/xdg/compiz || die "dodir failed"
-
- 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
-
- dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed"
-
- insinto "/usr/share/applications"
- doins "${FILESDIR}/compiz.desktop" || die "Failed to install 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/compiz-0.8.6-r3.ebuild b/x11-wm/compiz/compiz-0.8.6-r3.ebuild
index 2aebb41f472c..d83480c999b4 100644
--- a/x11-wm/compiz/compiz-0.8.6-r3.ebuild
+++ b/x11-wm/compiz/compiz-0.8.6-r3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/compiz/compiz-0.8.6-r3.ebuild,v 1.1 2010/12/04 19:09:18 ikelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/compiz/compiz-0.8.6-r3.ebuild,v 1.2 2011/03/20 21:27:05 nirbheek Exp $
EAPI="2"
@@ -17,7 +17,7 @@ IUSE="+cairo dbus fuse gnome gconf gtk kde +svg"
COMMONDEPEND="
dev-libs/glib:2
- dev-libs/libxml2
+ dev-libs/libxml2:2
dev-libs/libxslt
media-libs/libpng
>=media-libs/mesa-6.5.1-r1
@@ -44,7 +44,7 @@ COMMONDEPEND="
)
gtk? (
>=x11-libs/gtk+-2.8.0:2
- >=x11-libs/libwnck-2.18.3
+ >=x11-libs/libwnck-2.18.3:1
x11-libs/pango
)
kde? (
diff --git a/x11-wm/compiz/compiz-0.8.6.ebuild b/x11-wm/compiz/compiz-0.8.6.ebuild
deleted file mode 100644
index 7161a2535b2b..000000000000
--- a/x11-wm/compiz/compiz-0.8.6.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/compiz/compiz-0.8.6.ebuild,v 1.4 2010/09/21 07:42:49 scarabeus Exp $
-
-EAPI="2"
-
-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 gtk kde +svg"
-
-COMMONDEPEND="
- dev-libs/glib:2
- dev-libs/libxml2
- dev-libs/libxslt
- media-libs/libpng
- >=media-libs/mesa-6.5.1-r1
- >=x11-base/xorg-server-1.1.1-r1
- || ( <x11-libs/libX11-1.3.99.901[xcb] >=x11-libs/libX11-1.3.99.901 )
- 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
- cairo? (
- x11-libs/cairo[X]
- )
- dbus? ( >=sys-apps/dbus-1.0 )
- fuse? ( sys-fs/fuse )
- gnome? (
- >=gnome-base/gnome-control-center-2.16.1:2
- gnome-base/gnome-desktop
- gnome-base/gconf:2
- )
- gtk? (
- >=x11-libs/gtk+-2.8.0:2
- >=x11-libs/libwnck-2.18.3
- x11-libs/pango
- )
- kde? (
- || (
- >=kde-base/kwin-4.2.0
- kde-base/kwin:live
- )
- )
- svg? (
- >=gnome-base/librsvg-2.14.0:2
- >=x11-libs/cairo-1.0
- )
-"
-
-DEPEND="${COMMONDEPEND}
- dev-util/pkgconfig
- x11-proto/damageproto
- x11-proto/xineramaproto
-"
-
-RDEPEND="${COMMONDEPEND}
- x11-apps/mesa-progs
- x11-apps/xvinfo
-"
-
-src_prepare() {
-
- echo "gtk/gnome/compiz-wm.desktop.in" >> "${S}/po/POTFILES.skip"
- echo "metadata/core.xml.in" >> "${S}/po/POTFILES.skip"
-
- if ! use gnome; then
- epatch "${FILESDIR}"/${PN}-no-gconf.patch
- fi
- eautoreconf
-}
-
-src_configure() {
- econf --disable-dependency-tracking \
- --disable-gnome-keybindings \
- --enable-librsvg \
- --with-default-plugins \
- $(use_enable cairo annotate) \
- $(use_enable dbus) \
- $(use_enable dbus dbus-glib) \
- $(use_enable fuse) \
- $(use_enable gnome) \
- $(use_enable gnome gconf) \
- $(use_enable gnome metacity) \
- $(use_enable gtk) \
- $(use_enable kde kde4) \
- --disable-kde
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- # Install compiz-manager
- dobin "${FILESDIR}/compiz-manager" || die "dobin failed"
-
- # Add the full-path to lspci
- sed -i "s#lspci#/usr/sbin/lspci#" "${D}/usr/bin/compiz-manager" || die "sed 1 failed"
-
- # Fix the hardcoded lib paths
- sed -i "s#/lib/#/$(get_libdir)/#g" "${D}/usr/bin/compiz-manager" || die "sed 2 failed"
-
- # Create gentoo's config file
- dodir /etc/xdg/compiz || die "dodir failed"
-
- 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
-
- dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed"
-
- insinto "/usr/share/applications"
- doins "${FILESDIR}/compiz.desktop" || die "Failed to install compiz.desktop"
-}
-
-pkg_preinst() {
- use gnome && gnome2_gconf_savelist
-}
-
-pkg_postinst() {
- use gnome && 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
-}