diff options
author | Naohiro Aota <naota@gentoo.org> | 2012-04-09 11:48:46 +0000 |
---|---|---|
committer | Naohiro Aota <naota@gentoo.org> | 2012-04-09 11:48:46 +0000 |
commit | cf7980cbfef61fcbe2e48434760b4ed0c29039ee (patch) | |
tree | ebad36706a3018feeb2be0208ffa35e11f0c3fb0 /x11-wm | |
parent | [sys-apps/gptfdisk] version bump per bug #410751 and add missing deps per bug... (diff) | |
download | gentoo-2-cf7980cbfef61fcbe2e48434760b4ed0c29039ee.tar.gz gentoo-2-cf7980cbfef61fcbe2e48434760b4ed0c29039ee.tar.bz2 gentoo-2-cf7980cbfef61fcbe2e48434760b4ed0c29039ee.zip |
Bump to 0.8.8; Assign new maintainer. Bug #363321
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/compiz/ChangeLog | 10 | ||||
-rw-r--r-- | x11-wm/compiz/compiz-0.8.8.ebuild | 164 | ||||
-rw-r--r-- | x11-wm/compiz/files/compiz-kde-4.8.patch | 17 | ||||
-rw-r--r-- | x11-wm/compiz/metadata.xml | 11 |
4 files changed, 199 insertions, 3 deletions
diff --git a/x11-wm/compiz/ChangeLog b/x11-wm/compiz/ChangeLog index 9c4c19a120c5..afba7a9cbd2f 100644 --- a/x11-wm/compiz/ChangeLog +++ b/x11-wm/compiz/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-wm/compiz -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/compiz/ChangeLog,v 1.62 2011/11/11 22:54:51 ssuominen Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/compiz/ChangeLog,v 1.63 2012/04/09 11:48:46 naota Exp $ + +*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 diff --git a/x11-wm/compiz/compiz-0.8.8.ebuild b/x11-wm/compiz/compiz-0.8.8.ebuild new file mode 100644 index 000000000000..a39855577de2 --- /dev/null +++ b/x11-wm/compiz/compiz-0.8.8.ebuild @@ -0,0 +1,164 @@ +# Copyright 1999-2012 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.ebuild,v 1.1 2012/04/09 11:48:46 naota 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:2 + 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.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 + 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:1 + 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 + # patch for KDE 4.8. Picked up from stuff overlay + if use kde; then + has_version ">=kde-base/kwin-4.8" && epatch "${FILESDIR}"/${PN}-kde-4.8.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/files/compiz-kde-4.8.patch b/x11-wm/compiz/files/compiz-kde-4.8.patch new file mode 100644 index 000000000000..f31751ba517d --- /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/metadata.xml b/x11-wm/compiz/metadata.xml index da65f877f7a0..1437ec938524 100644 --- a/x11-wm/compiz/metadata.xml +++ b/x11-wm/compiz/metadata.xml @@ -11,7 +11,16 @@ used. </flag> </use> - + <maintainer> + <email>pinkbyte@mail.ru</email> + <name>Pinkbyte</name> + <description>Maintainer. Assign bugs to him</description> + </maintainer> + <maintainer> + <email>naota@gentoo.org</email> + <name>Naohiro Aota</name> + <description>Proxy maintainer. CC him on bugs</description> + </maintainer> <herd>desktop-effects</herd> <longdescription> compiz is a compositing window manager that uses 3D graphics acceleration via OpenGL. |