summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/compiz-fusion/ChangeLog16
-rw-r--r--x11-wm/compiz-fusion/Manifest4
-rw-r--r--x11-wm/compiz-fusion/compiz-fusion-0.5.2.ebuild26
-rw-r--r--x11-wm/compiz-fusion/compiz-fusion-9999.ebuild28
-rw-r--r--x11-wm/compiz-fusion/metadata.xml16
-rw-r--r--x11-wm/compiz/ChangeLog29
-rw-r--r--x11-wm/compiz/Manifest9
-rw-r--r--x11-wm/compiz/compiz-0.5.2.ebuild67
-rw-r--r--x11-wm/compiz/compiz-0.5.4.ebuild75
-rw-r--r--x11-wm/compiz/compiz-9999.ebuild80
-rw-r--r--x11-wm/compiz/files/compiz-no-gconf.patch9
-rwxr-xr-xx11-wm/compiz/files/compiz-start41
-rw-r--r--x11-wm/compiz/metadata.xml16
-rw-r--r--x11-wm/emerald/ChangeLog50
-rw-r--r--x11-wm/emerald/Manifest5
-rw-r--r--x11-wm/emerald/emerald-0.5.2.ebuild47
-rw-r--r--x11-wm/emerald/emerald-9999.ebuild49
-rw-r--r--x11-wm/emerald/metadata.xml16
18 files changed, 583 insertions, 0 deletions
diff --git a/x11-wm/compiz-fusion/ChangeLog b/x11-wm/compiz-fusion/ChangeLog
new file mode 100644
index 0000000..52a07cf
--- /dev/null
+++ b/x11-wm/compiz-fusion/ChangeLog
@@ -0,0 +1,16 @@
+# ChangeLog for x11-wm/compiz-fusion
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 21 Aug 2007; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+ metadata.xml:
+ Updated metadata.xml
+
+ 20 Aug 2007; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+ +metadata.xml:
+ Added metadata.xml
+
+ 19 Aug 2007; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+ compiz-fusion-9999.ebuild:
+ Update to allow compiz-0.5.2 or compiz-9999 as deps.
+
diff --git a/x11-wm/compiz-fusion/Manifest b/x11-wm/compiz-fusion/Manifest
new file mode 100644
index 0000000..0e673d1
--- /dev/null
+++ b/x11-wm/compiz-fusion/Manifest
@@ -0,0 +1,4 @@
+EBUILD compiz-fusion-0.5.2.ebuild 749 RMD160 356403b4b8d35ffc8d1140fd3e4160dc3d8ea11e SHA1 21cc00d234d986c2eedeec24787642f01f919d9c SHA256 7ce93cfc6284be9934bd1abffc94837700cc3c264102c2fbcd841462fd2cbe74
+EBUILD compiz-fusion-9999.ebuild 802 RMD160 a23168506ece8b971b43ebd5232b22f1f9d6004d SHA1 b368d6261904314c638cffaa760e6721b5d74257 SHA256 dbb7725b85a64e06423f132745d16e51abd16db13d05411369ab4aa669e29d49
+MISC ChangeLog 486 RMD160 6cf2cb4914c48384642c4d3ee2731880b8fe4b48 SHA1 61ac9084bb45021e9da77a07f5fdfbb48d7abe27 SHA256 23846235312cd9d10306ec21a1e93ac7811336c4a39cf96bd2975dc5984ba3cd
+MISC metadata.xml 482 RMD160 c18fa7ac8c111e3f450a54914ac070297620349b SHA1 8e6f6f1ea419b1f2889bbc534e0734ab95599d8c SHA256 12815333bb41cedf7f8a6ecf2ff989e16f64f66ddf0ec688aa8a7518d942f73c
diff --git a/x11-wm/compiz-fusion/compiz-fusion-0.5.2.ebuild b/x11-wm/compiz-fusion/compiz-fusion-0.5.2.ebuild
new file mode 100644
index 0000000..a47b5bd
--- /dev/null
+++ b/x11-wm/compiz-fusion/compiz-fusion-0.5.2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+DESCRIPTION="Compiz Fusion (meta)"
+HOMEPAGE="http://opencompositing.org"
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gnome kde"
+
+RDEPEND="~x11-wm/compiz-${PV}
+ ~x11-plugins/compiz-fusion-plugins-main-${PV}
+ ~x11-plugins/compiz-fusion-plugins-extra-${PV}
+ ~x11-wm/emerald-${PV}
+ ~x11-apps/ccsm-${PV}
+ gnome? ( ~x11-libs/compizconfig-backend-gconf-${PV} )
+ kde? ( ~x11-libs/compizconfig-backend-kconfig-${PV} )"
+
+pkg_postinst() {
+ ewarn "DO NOT report bugs to Gentoo's bugzilla"
+ einfo "Please report all bugs at http://forums.gentoo-xeffects.org/"
+ einfo "Thank you on behalf of the Gentoo Xeffects team"
+}
diff --git a/x11-wm/compiz-fusion/compiz-fusion-9999.ebuild b/x11-wm/compiz-fusion/compiz-fusion-9999.ebuild
new file mode 100644
index 0000000..08b4abc
--- /dev/null
+++ b/x11-wm/compiz-fusion/compiz-fusion-9999.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+COMPIZ_RELEASE="0.5.2"
+
+DESCRIPTION="Compiz Fusion (meta)"
+HOMEPAGE="http://opencompositing.org"
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="gnome kde"
+
+RDEPEND="|| ( ~x11-wm/compiz-${PV} =x11-wm/compiz-${COMPIZ_RELEASE} )
+ ~x11-plugins/compiz-fusion-plugins-main-${PV}
+ ~x11-plugins/compiz-fusion-plugins-extra-${PV}
+ ~x11-wm/emerald-${PV}
+ ~x11-apps/ccsm-${PV}
+ gnome? ( ~x11-libs/compizconfig-backend-gconf-${PV} )
+ kde? ( ~x11-libs/compizconfig-backend-kconfig-${PV} )"
+
+pkg_postinst() {
+ ewarn "DO NOT report bugs to Gentoo's bugzilla"
+ einfo "Please report all bugs at http://forums.gentoo-xeffects.org/"
+ einfo "Thank you on behalf of the Gentoo Xeffects team"
+}
diff --git a/x11-wm/compiz-fusion/metadata.xml b/x11-wm/compiz-fusion/metadata.xml
new file mode 100644
index 0000000..aa36812
--- /dev/null
+++ b/x11-wm/compiz-fusion/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>no-herd</herd>
+<maintainer>
+<email>jmbsvicetto@gentoo.org</email>
+<name>Jorge Manuel B. S. Vicetto</name>
+</maintainer>
+<maintainer>
+<email>nesl247@gmail.com</email>
+<name>Alex Heck</name>
+</maintainer>
+<longdescription>compiz-fusion is a community-driven project
+that is aimed at extending the compiz window manager.
+</longdescription>
+</pkgmetadata>
diff --git a/x11-wm/compiz/ChangeLog b/x11-wm/compiz/ChangeLog
new file mode 100644
index 0000000..f7b4e04
--- /dev/null
+++ b/x11-wm/compiz/ChangeLog
@@ -0,0 +1,29 @@
+# ChangeLog for x11-wm/compiz
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 21 Aug 2007; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+ metadata.xml:
+ Updated metadata.xml
+
+ 20 Aug 2007; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+ compiz-0.5.2.ebuild, +compiz-0.5.4.ebuild:
+ Added ebuild for compiz-0.5.4. As it depends on xcb, it has empty keywords.
+ Updated SRC_URI for the compiz packages.
+
+ 20 Aug 2007; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+ +metadata.xml:
+ Added metadata.xml
+
+ 23 Jun 2007; Alex Heck <nesl247@gmail.com> compiz-9999.ebuild:
+ x11-wm/compiz: Added damageproto as a dep, thanks mikem
+
+ 06 May 2007; Alex Heck <nesl247@gmail.com> compiz-9999.ebuild:
+ x11-wm/compiz: Cleanup ebuild
+
+ 01 May 2007; Alex Heck <nesl247@gmail.com> compiz-9999.ebuild:
+ x11-wm/compiz: Fix up the live ebuild
+
+ 17 Apr 2007; Alex Heck <nesl247@gmail.com> +compiz-9999.ebuild:
+ Initial import
+
diff --git a/x11-wm/compiz/Manifest b/x11-wm/compiz/Manifest
new file mode 100644
index 0000000..d657572
--- /dev/null
+++ b/x11-wm/compiz/Manifest
@@ -0,0 +1,9 @@
+AUX compiz-no-gconf.patch 362 RMD160 1f0a8a8b2ba3fb2e7e508dc0298ca0caa8ab4af3 SHA1 5e715c08864fdd2f4851fa0e69317f3fc188bfa5 SHA256 5b06426e2622181a731af1472127eccacb497126b41ba27b2ff20378d69a21a5
+AUX compiz-start 1122 RMD160 6e2e0db666a9fd7648e894d9f778dcb1c59bb6c0 SHA1 f710dcfbd6274ff7bed3f264d284a4dcecb27254 SHA256 04a944e8e39ef1a6226b350027a5865bb56b45230aa59eae9574cd6c75529fa4
+DIST compiz-0.5.2.tar.gz 1778046 RMD160 9b307090af4717796e092095e7c293350292e30b SHA1 0d0a4a39bfbe0ada770d9206b7a1b6b443c53c29 SHA256 e1cc3f3bd144d32d0ebd1e505a7ea7727fb0246f36e5fcea53b808e27adf197c
+DIST compiz-0.5.4.tar.gz 1791937 RMD160 fe02758e1743d18e4b52dde695c0d57e22b1f943 SHA1 761e5ac96426cab48588d14960e84971ad103372 SHA256 adefa81ca462080f89ebcedd37bed22efe1afce3849c731e6ab523a16e138ef4
+EBUILD compiz-0.5.2.ebuild 1772 RMD160 7752a56957def9c39482429092ad7ad303b82a33 SHA1 1e27ca74c360f0b2a5c3aa98d70fe15675730033 SHA256 fc85733703d12ac99cb91054301ed5fa1331802737df987050930408d3c2a8c9
+EBUILD compiz-0.5.4.ebuild 1980 RMD160 39ed2007c3e482b1f58d61f90e24125843823dff SHA1 3e80dcfde1cbcc939b8ace105368f7c6953ff005 SHA256 825651878ae52c52993a645bf5dfc0d683b31a440e46ef43cad6abc4078f763a
+EBUILD compiz-9999.ebuild 2052 RMD160 78d3b702750547b9f110ec8fbeb908e3fd732ea4 SHA1 3330ad4efdc9e8fa1c6dff51a1c55a129bdf1fc5 SHA256 cdab36aacb0b937a743b7f367f58648f9bb1b4b2e4da72d9bbf0fb0c4c6df0df
+MISC ChangeLog 973 RMD160 fe2ef2e0aa8868625d9e412f3b0cd8d45eaf6938 SHA1 8f6057df64fee05f8966e34e35c8166ea92b097c SHA256 a1a1b89002f13b295cae05c2680bd9dfc9ef0c3634eea91b9810509917b3c2e5
+MISC metadata.xml 470 RMD160 c1d5267c753359f5587eca93688e24b6eb84ca8f SHA1 71fc4cb5c08499a1e7efa374ffe8217da8663d74 SHA256 9fd6c1f993233a1ea9edabb1a065a3187e9f30bac2ea2f7ec798ac03ae5fdb01
diff --git a/x11-wm/compiz/compiz-0.5.2.ebuild b/x11-wm/compiz/compiz-0.5.2.ebuild
new file mode 100644
index 0000000..51988a1
--- /dev/null
+++ b/x11-wm/compiz/compiz-0.5.2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/compiz/compiz-0.5.0.ebuild,v 1.1 2007/04/24 01:51:02 hanno Exp $
+
+inherit autotools
+
+DESCRIPTION="3D composite- and windowmanager"
+HOMEPAGE="http://www.compiz.org/"
+SRC_URI="http://xorg.freedesktop.org/archive/individual/app/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dbus fuse gnome gtk kde svg"
+RESTRICT="mirror"
+
+DEPEND=">=media-libs/mesa-6.5.1-r1
+ >=media-libs/glitz-0.5.6
+ >=x11-base/xorg-server-1.1.1-r1
+ x11-libs/libXdamage
+ x11-libs/libXrandr
+ x11-libs/libXcomposite
+ x11-libs/libXinerama
+ x11-proto/damageproto
+ media-libs/libpng
+ >=x11-libs/gtk+-2.0
+ x11-libs/startup-notification
+ gnome-base/gconf
+ gnome? ( >=x11-libs/libwnck-2.16.1
+ >=gnome-base/control-center-2.16.1 )
+ svg? ( gnome-base/librsvg )
+ dbus? ( >=sys-apps/dbus-1.0 )
+ kde? (
+ || ( kde-base/kdebase kde-base/kwin )
+ dev-libs/dbus-qt3-old )
+ fuse? ( sys-fs/fuse )"
+
+RDEPEND="${DEPEND}
+ x11-apps/mesa-progs"
+
+src_compile() {
+ cd "${S}"
+
+ eautoreconf || die "eautoreconf failed"
+ intltoolize --copy --force || die "intltoolize failed"
+ glib-gettextize --copy --force || die "glib-gettextize failed"
+
+ econf \
+ --with-default-plugins \
+ $(use_enable gtk) \
+ $(use_enable gnome gconf) \
+ $(use_enable gnome) \
+ $(use_enable gnome metacity) \
+ $(use_enable kde) \
+ $(use_enable svg librsvg) \
+ $(use_enable dbus) \
+ $(use_enable dbus dbus-glib) \
+ $(use_enable fuse) || die
+
+ emake || die "make failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dobin "${FILESDIR}/compiz-start" || die "dobin failed"
+ dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed"
+}
diff --git a/x11-wm/compiz/compiz-0.5.4.ebuild b/x11-wm/compiz/compiz-0.5.4.ebuild
new file mode 100644
index 0000000..0f9d5b8
--- /dev/null
+++ b/x11-wm/compiz/compiz-0.5.4.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/compiz/compiz-0.5.0.ebuild,v 1.1 2007/04/24 01:51:02 hanno Exp $
+
+inherit autotools
+
+DESCRIPTION="3D composite- and windowmanager"
+HOMEPAGE="http://www.compiz.org/"
+SRC_URI="http://xorg.freedesktop.org/archive/individual/app/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1 MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE="dbus fuse gnome gtk kde svg"
+RESTRICT="mirror"
+
+DEPEND=">=media-libs/mesa-6.5.1-r1
+ >=media-libs/glitz-0.5.6
+ >=x11-base/xorg-server-1.1.1-r1
+ x11-libs/libXdamage
+ x11-libs/libXrandr
+ x11-libs/libXcomposite
+ x11-libs/libXinerama
+ x11-proto/damageproto
+ media-libs/libpng
+ >=x11-libs/gtk+-2.0
+ x11-libs/startup-notification
+ gnome-base/gconf
+ gnome? ( >=x11-libs/libwnck-2.16.1
+ >=gnome-base/control-center-2.16.1 )
+ svg? ( gnome-base/librsvg )
+ dbus? ( >=sys-apps/dbus-1.0 )
+ kde? (
+ || ( kde-base/kdebase kde-base/kwin )
+ dev-libs/dbus-qt3-old )
+ fuse? ( sys-fs/fuse )"
+
+RDEPEND="${DEPEND}
+ x11-apps/mesa-progs"
+
+pkg_setup() {
+ if ! built_with_use "x11-libs/libX11" "xcb" ; then
+ eerror "Compiz now requires libX11 to be built with xcb."
+ eerror "Please build libX11 with USE=\"xcb\""
+ die "Build libX11 with USE=\"xcb\""
+ fi
+}
+
+src_compile() {
+ cd "${S}"
+
+ eautoreconf || die "eautoreconf failed"
+ intltoolize --copy --force || die "intltoolize failed"
+ glib-gettextize --copy --force || die "glib-gettextize failed"
+
+ econf \
+ --with-default-plugins \
+ $(use_enable gtk) \
+ $(use_enable gnome gconf) \
+ $(use_enable gnome) \
+ $(use_enable gnome metacity) \
+ $(use_enable kde) \
+ $(use_enable svg librsvg) \
+ $(use_enable dbus) \
+ $(use_enable dbus dbus-glib) \
+ $(use_enable fuse) || die
+
+ emake || die "make failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dobin "${FILESDIR}/compiz-start" || die "dobin failed"
+ dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed"
+}
diff --git a/x11-wm/compiz/compiz-9999.ebuild b/x11-wm/compiz/compiz-9999.ebuild
new file mode 100644
index 0000000..bae71bf
--- /dev/null
+++ b/x11-wm/compiz/compiz-9999.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/compiz/compiz-0.5.0.ebuild,v 1.1 2007/04/24 01:51:02 hanno Exp $
+
+inherit autotools git
+
+EGIT_REPO_URI="git://anongit.freedesktop.org/git/xorg/app/compiz"
+
+DESCRIPTION="3D composite- and windowmanager"
+HOMEPAGE="http://www.compiz.org/"
+SRC_URI=""
+
+LICENSE="GPL-2 LGPL-2.1 MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE="dbus gnome kde svg fuse gtk"
+
+DEPEND=">=media-libs/mesa-6.5.1-r1
+ >=media-libs/glitz-0.5.6
+ >=x11-base/xorg-server-1.1.1-r1
+ x11-libs/libXdamage
+ x11-libs/libXrandr
+ x11-libs/libXcomposite
+ x11-libs/libXinerama
+ x11-proto/damageproto
+ media-libs/libpng
+ x11-libs/libxcb
+ >=x11-libs/gtk+-2.0
+ x11-libs/startup-notification
+ gnome-base/gconf
+ gnome? ( >=x11-libs/libwnck-2.16.1
+ >=gnome-base/control-center-2.16.1 )
+ svg? ( gnome-base/librsvg )
+ dbus? ( >=sys-apps/dbus-1.0 )
+ kde? (
+ || ( kde-base/kdebase kde-base/kwin )
+ dev-libs/dbus-qt3-old )
+ fuse? ( sys-fs/fuse )"
+
+RDEPEND="${DEPEND}
+ x11-apps/mesa-progs"
+
+pkg_setup() {
+ if ! built_with_use "x11-libs/libX11" "xcb" ; then
+ eerror "Compiz now requires libX11 to be built with xcb."
+ eerror "Please build libX11 with USE=\"xcb\""
+ die "Build libX11 with USE=\"xcb\""
+ fi
+}
+
+src_compile() {
+ cd "${S}"
+
+ eautoreconf || die "eautoreconf failed"
+ intltoolize --copy --force || die "intltoolize failed"
+ glib-gettextize --copy --force || die "glib-gettextize failed"
+
+ # Temporarily removed $(use_enable gnome)
+ # It breaks building
+
+ econf \
+ --with-default-plugins \
+ $(use_enable gtk) \
+ $(use_enable gnome gconf) \
+ $(use_enable gnome) \
+ $(use_enable gnome metacity) \
+ $(use_enable kde) \
+ $(use_enable svg librsvg) \
+ $(use_enable dbus) \
+ $(use_enable dbus dbus-glib) \
+ $(use_enable fuse) || die
+
+ make || die "make failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dobin "${FILESDIR}/compiz-start" || die "dobin failed"
+ dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed"
+}
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 0000000..4ccf712
--- /dev/null
+++ b/x11-wm/compiz/files/compiz-no-gconf.patch
@@ -0,0 +1,9 @@
+--- configure.ac 2007-06-17 13:04:46.000000000 -0400
++++ configure.ac 2007-06-18 01:45:41.000000000 -0400
+@@ -152,6 +152,8 @@
+ 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
diff --git a/x11-wm/compiz/files/compiz-start b/x11-wm/compiz/files/compiz-start
new file mode 100755
index 0000000..161068b
--- /dev/null
+++ b/x11-wm/compiz/files/compiz-start
@@ -0,0 +1,41 @@
+# compiz-start script
+#
+# hacky autodetection of neccessary options for XGL/AIGLX/NVIDIA
+#
+# Hanno Boeck, http://www.hboeck.de/
+#
+# Licensed under the same conditions as compiz itself (MIT or GPL)
+
+if [ ! -x /usr/bin/glxinfo ]; then
+ echo "glxinfo not found, please install mesa-progs."
+ exit -1
+fi
+
+GLX_WITH_DIRECT=`glxinfo|grep -c GLX_EXT_texture_from_pixmap`
+GLX_WITH_INDIRECT=`LIBGL_ALWAYS_INDIRECT=1 glxinfo|grep -c GLX_EXT_texture_from_pixmap`
+GLX_RENDER=`glxinfo|grep -c "OpenGL renderer string: Mesa GLX Indirect"`
+
+
+COMPIZ_OPTIONS="--replace"
+
+if [ $GLX_WITH_DIRECT -eq 3 ]; then
+ if [ $GLX_RENDER -eq 0 ]; then
+ echo NVIDA detected
+ export __GL_YIELD="NOTHING"
+ else
+ echo XGL detected
+ fi
+elif [ $GLX_WITH_INDIRECT -eq 3 ]; then
+ echo AIGLX detected
+ export LIBGL_ALWAYS_INDIRECT=1
+fi
+
+if [ ! -z $KDE_FULL_SESSION ] && [ -x /usr/bin/kde-window-decorator ]; then
+ echo Using KDE decorator
+ kde-window-decorator --replace &
+else
+ echo Using GTK decorator
+ gtk-window-decorator --replace &
+fi
+
+compiz $COMPIZ_OPTIONS gconf move resize minimize place decoration wobbly fade cube rotate scale switcher zoom dbus
diff --git a/x11-wm/compiz/metadata.xml b/x11-wm/compiz/metadata.xml
new file mode 100644
index 0000000..1d4e416
--- /dev/null
+++ b/x11-wm/compiz/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>no-herd</herd>
+<maintainer>
+<email>jmbsvicetto@gentoo.org</email>
+<name>Jorge Manuel B. S. Vicetto</name>
+</maintainer>
+<maintainer>
+<email>nesl247@gmail.com</email>
+<name>Alex Heck</name>
+</maintainer>
+<longdescription>compiz is a compositing window manager that uses
+3D graphics acceleration via OpenGL.
+</longdescription>
+</pkgmetadata>
diff --git a/x11-wm/emerald/ChangeLog b/x11-wm/emerald/ChangeLog
new file mode 100644
index 0000000..060e3e3
--- /dev/null
+++ b/x11-wm/emerald/ChangeLog
@@ -0,0 +1,50 @@
+# ChangeLog for x11-wm/emerald
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 21 Aug 2007; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+ metadata.xml:
+ Updated metadata.xml
+
+ 20 Aug 2007; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+ metadata.xml:
+ Added my details to metadata.xml
+
+ 19 Aug 2007; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+ emerald-9999.ebuild:
+ Update to allow compiz-0.5.2 or compiz-9999 as deps.
+
+ 17 Mar 2007; Alex Heck <nesl247@gmail.com> emerald-9999.ebuild:
+ Switch to git per upstream
+
+ 17 Mar 2007; Alex Heck <nesl247@gmail.com> +emerald-0.2.1.ebuild:
+ Version bump - license fixes, nothing new
+
+ 15 Mar 2007; Alex Heck <nesl247@gmail.com> +emerald-0.2.0.ebuild:
+ Version bump - 0.2.0
+
+ 24 Feb 2007; Alex Heck <nesl247@gmail.com> -emerald-0.1.9999.1.ebuild,
+ emerald-0.1.9999.2.ebuild, emerald-9999.ebuild:
+ Updated deps to include build stuff like pkgconfig, gettext, intltool
+
+ 17 Feb 2007; Alex Heck <nesl247@gmail.com> emerald-9999.ebuild:
+ Fix for new svn url
+
+ 13 Feb 2007; Alex Heck <nesl247@gmail.com> +emerald-0.1.9999.2.ebuild:
+ Version bump
+
+ 12 Feb 2007; Alex Heck <nesl247@gmail.com> -emerald-0.1.99.2.ebuild:
+ Version cleanup
+
+ 28 Jan 2007; Alex Heck <nesl247@gmail.com> +metadata.xml:
+ Add missing metadata.xml
+
+ 25 Jan 2007; Alex Heck <nesl247@gmail.com> +emerald-0.1.99.2.ebuild:
+ Version bump
+
+ 20 Dec 2006; Alex Heck <nesl247@gmail.com> -emerald-0.1.3.ebuild:
+ 0.1.3 in portage
+
+ 12 Nov 2006; Alex Heck <nesl247@gmail.com> emerald-9999.ebuild:
+ Make emerald dep on 9999 only
+
diff --git a/x11-wm/emerald/Manifest b/x11-wm/emerald/Manifest
new file mode 100644
index 0000000..e954c20
--- /dev/null
+++ b/x11-wm/emerald/Manifest
@@ -0,0 +1,5 @@
+DIST emerald-0.5.2.tar.bz2 521776 RMD160 31449885afa9b1b667d1df24c3408be478080b1a SHA1 deefc2e92ea8581588e74194fbb2727a83ef9c64 SHA256 540cf76f70f8a08c19e5407d9e686d7a90fc2f8d3fa44be716a5fd8337ff6fd9
+EBUILD emerald-0.5.2.ebuild 1101 RMD160 921554ce911eacf58b51b89a47181677462aa70a SHA1 dbb0723414f7e3121e125f857cb64ba23b8c17ff SHA256 b87e2a2b04fbf6f742ed833faafa26b1309ed9319434aad9eb01354d2eb72c46
+EBUILD emerald-9999.ebuild 1169 RMD160 2d6dd1d71bc7044a4f663d4447529e72c617769d SHA1 9fa7b0a03c909c8d2177ed9b9c38b76409e8fde1 SHA256 17aaa455d7196200bc65ac675dbad6e713d8d12ffe2684af262a17f2324390ad
+MISC ChangeLog 1614 RMD160 eec31ba09415267940d6605d478ac2fa0aac984d SHA1 ca03b1a563d75b133389bb4c2b4b0a556c407a54 SHA256 f05d3a25da26c9fbacc532d2409b61eb6b782024f0bf73671defa97892606cab
+MISC metadata.xml 476 RMD160 755c7088dd07baf9c77c0c9352d11fa8dc641977 SHA1 c2cb13a4f7541440ae9fde8131185b388967c6d3 SHA256 1a4933f2b7cd2a18b858cc509f2aa326c7adf7826c6e956a9da1b67ea9435438
diff --git a/x11-wm/emerald/emerald-0.5.2.ebuild b/x11-wm/emerald/emerald-0.5.2.ebuild
new file mode 100644
index 0000000..6c17669
--- /dev/null
+++ b/x11-wm/emerald/emerald-0.5.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit autotools
+
+DESCRIPTION="Emerald Window Decorator"
+HOMEPAGE="http://opencompositing.org"
+SRC_URI="http://releases.compiz-fusion.org/${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="mirror"
+
+PDEPEND="~x11-themes/emerald-themes-${PV}"
+
+RDEPEND=">=x11-libs/gtk+-2.8.0
+ >=x11-libs/libwnck-2.14.2
+ ~x11-wm/compiz-${PV}"
+
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.19
+ >=sys-devel/gettext-0.15
+ >=dev-util/intltool-0.35"
+
+S="${WORKDIR}/${P}"
+
+src_compile() {
+ eautoreconf || die "eautoreconf failed"
+ glib-gettextize --copy --force || die
+ intltoolize --automake --copy --force || die
+
+ econf --disable-mime-update || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+}
+
+pkg_postinst() {
+ ewarn "DO NOT report bugs to Gentoo's bugzilla"
+ einfo "Please report all bugs at http://forums.gentoo-xeffects.org/"
+ einfo "Thank you on behalf of the Gentoo Xeffects team"
+}
diff --git a/x11-wm/emerald/emerald-9999.ebuild b/x11-wm/emerald/emerald-9999.ebuild
new file mode 100644
index 0000000..7beb380
--- /dev/null
+++ b/x11-wm/emerald/emerald-9999.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit git autotools
+
+EGIT_REPO_URI="git://anongit.opencompositing.org/fusion/decorators/${PN}"
+COMPIZ_RELEASE="0.5.2"
+
+DESCRIPTION="Emerald Window Decorator (git)"
+HOMEPAGE="http://opencompositing.org"
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+PDEPEND="~x11-themes/emerald-themes-${PV}"
+
+RDEPEND=">=x11-libs/gtk+-2.8.0
+ >=x11-libs/libwnck-2.14.2
+ || ( ~x11-wm/compiz-${PV} =x11-wm/compiz-${COMPIZ_RELEASE} )"
+
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.19
+ >=sys-devel/gettext-0.15
+ >=dev-util/intltool-0.35"
+
+S="${WORKDIR}/${PN}"
+
+src_compile() {
+ eautoreconf || die "eautoreconf failed"
+ glib-gettextize --copy --force || die
+ intltoolize --automake --copy --force || die
+
+ econf --disable-mime-update || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+}
+
+pkg_postinst() {
+ ewarn "DO NOT report bugs to Gentoo's bugzilla"
+ einfo "Please report all bugs at http://forums.gentoo-xeffects.org/"
+ einfo "Thank you on behalf of the Gentoo Xeffects team"
+}
diff --git a/x11-wm/emerald/metadata.xml b/x11-wm/emerald/metadata.xml
new file mode 100644
index 0000000..ea0b536
--- /dev/null
+++ b/x11-wm/emerald/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>no-herd</herd>
+<maintainer>
+<email>jmbsvicetto@gentoo.org</email>
+<name>Jorge Manuel B. S. Vicetto</name>
+</maintainer>
+<maintainer>
+<email>nesl247@gmail.com</email>
+<name>Alex Heck</name>
+</maintainer>
+<longdescription lang="en">Emerald is a 3D window decorator for compositing
+ window managers such as compiz.
+</longdescription>
+</pkgmetadata>