From a54950dcfd5e1e6f9751af3035dfe47ed2efa831 Mon Sep 17 00:00:00 2001 From: grimmlin Date: Mon, 28 Jun 2010 14:30:55 +0000 Subject: [PATCH] e17: added ecomp, ecomorph and added a local extramenu ebuild --- x11-plugins/ecomorph/Manifest | 1 + x11-plugins/ecomorph/ecomorph-9999.ebuild | 83 +++++++++++++++++++++ x11-plugins/ecomp/Manifest | 1 + x11-plugins/ecomp/ecomp-9999.ebuild | 57 ++++++++++++++ x11-plugins/extramenu/Manifest | 1 + x11-plugins/extramenu/extramenu-9999.ebuild | 15 ++++ 6 files changed, 158 insertions(+) create mode 100644 x11-plugins/ecomorph/Manifest create mode 100644 x11-plugins/ecomorph/ecomorph-9999.ebuild create mode 100644 x11-plugins/ecomp/Manifest create mode 100644 x11-plugins/ecomp/ecomp-9999.ebuild create mode 100644 x11-plugins/extramenu/Manifest create mode 100644 x11-plugins/extramenu/extramenu-9999.ebuild diff --git a/x11-plugins/ecomorph/Manifest b/x11-plugins/ecomorph/Manifest new file mode 100644 index 000000000..2df6f5001 --- /dev/null +++ b/x11-plugins/ecomorph/Manifest @@ -0,0 +1 @@ +EBUILD ecomorph-9999.ebuild 2043 RMD160 a72b5804d970c078fb7d428fa000c6d75fd42e5a SHA1 e5fa4a1c93541e3d9bad77dff5cf6ace3e162b71 SHA256 a909c504aa54cd42873f09918588812bf26882771c6ed472ffbf6910a9e91f14 diff --git a/x11-plugins/ecomorph/ecomorph-9999.ebuild b/x11-plugins/ecomorph/ecomorph-9999.ebuild new file mode 100644 index 000000000..5efdad80c --- /dev/null +++ b/x11-plugins/ecomorph/ecomorph-9999.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: x11-plugins/ecomorph-9999 $ + +EAPI="2" +EGIT_REPO_URI="git://github.com/jeffdameth/ecomorph.git" +inherit git libtool flag-o-matic + +DESCRIPTION="Ecomorph is a compositing manager for e17" +HOMEPAGE="http://code.google.com/p/itask-module/wiki/Stuff +http://web.enlightenment.org/" + +LICENSE="BSD" +SLOT="0" +IUSE="-patches" + +DEPEND=">=x11-wm/enlightenment-9999 + dev-libs/libxml2 + dev-libs/libxslt + dev-util/intltool + gnome-base/librsvg + media-libs/mesa + sys-apps/dbus + sys-devel/libtool + x11-proto/xproto" +RDEPEND="${DEPEND} + sys-apps/pciutils + x11-apps/mesa-progs + x11-apps/xdpyinfo + x11-apps/xvinfo" + +src_unpack() { + git_src_unpack +} + +src_prepare() { + cd "$S"/scripts + if use patches; then + # The following line allows you to pass arguments to + # enlightenment_start.sh + sed -i -e '/^enlightenment_start/s/$/ "\$@"/' enlightenment_start.sh + sed -i -e 's:\$(lspci:\$(/usr/sbin/lspci:' ecomp.sh + fi + # Fix sandbox violation + #epatch "${FILESDIR}/Makefile.patch" +} + +src_configure() { + # Try getting rid of segfaults and some non-functionalities + filter-ldflags "-Wl,--as-needed" + filter-ldflags "-Wl,-O1" + + if [[ ! -e configure ]] ; then + env \ + PATH="${T}:${PATH}" \ + NOCONFIGURE=yes \ + USER=blah \ + ./autogen.sh \ + || die "autogen failed" + # symlinked files will cause sandbox violation + local x + for x in config.{guess,sub} ; do + [[ ! -L ${x} ]] && continue + rm -f ${x} + touch ${x} + done + else + eautoreconf + fi + epunt_cxx + elibtoolize + econf ${MY_ECONF} || die "econf failed" +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die + find "${D}" '(' -name CVS -o -name .svn -o -name .git ')' -type d -exec rm -rf '{}' \; 2>/dev/null + dodoc AUTHORS ChangeLog NEWS README +} diff --git a/x11-plugins/ecomp/Manifest b/x11-plugins/ecomp/Manifest new file mode 100644 index 000000000..f1c246f5f --- /dev/null +++ b/x11-plugins/ecomp/Manifest @@ -0,0 +1 @@ +EBUILD ecomp-9999.ebuild 1471 RMD160 15537d6a58e021cb60beda846e8cb610b1e8c0a1 SHA1 b7da62f9b25a71cad29c1b48d97827dcc61150f6 SHA256 5bd60571d435079eb01a898ab0c280a0cafe9d1c0596f46f85c8b9606dbc7759 diff --git a/x11-plugins/ecomp/ecomp-9999.ebuild b/x11-plugins/ecomp/ecomp-9999.ebuild new file mode 100644 index 000000000..b6f7bd7b3 --- /dev/null +++ b/x11-plugins/ecomp/ecomp-9999.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EGIT_REPO_URI="git://github.com/jeffdameth/ecomp.git" +inherit git libtool flag-o-matic + +DESCRIPTION="e17 window manager with compiz" +HOMEPAGE="http://code.google.com/p/itask-module/wiki/Stuff +http://web.enlightenment.org/" + +LICENSE="BSD" +SLOT="0" +IUSE="local pam nls doc" + +RDEPEND="x11-plugins/ecomorph" + +DEPEND="${RDEPEND} + x11-proto/xproto + sys-devel/libtool" + +src_unpack() { + git_src_unpack +} + +src_compile() { + # We need to filter the --as-needed LDFLAG since it breaks ecomp on runtime + filter-ldflags "-Wl,--as-needed" + filter-ldflags "-Wl,-O1" + env \ + PATH="${T}:${PATH}" \ + NOCONFIGURE=yes \ + USER=blah \ + ./autogen.sh \ + || die "autogen failed" + # symlinked files will cause sandbox violation + local x + for x in config.{guess,sub} ; do + [[ ! -L ${x} ]] && continue + rm -f ${x} + touch ${x} + done + use local && MY_ECONF="$MY_ECONF --prefix=/usr/local" + epunt_cxx + elibtoolize + econf ${MY_ECONF} || die "econf failed" + emake || die "emake failed" + use doc && [[ -x ./gendoc ]] && { ./gendoc || die "gendoc failed" ; } +} + + +src_install() { + emake install DESTDIR="${D}" || die + find "${D}" '(' -name CVS -o -name .svn -o -name .git ')' -type d -exec rm -rf '{}' \; 2>/dev/null + dodoc AUTHORS ChangeLog NEWS README TODO + use doc && [[ -d doc ]] && dohtml -r doc/* +} diff --git a/x11-plugins/extramenu/Manifest b/x11-plugins/extramenu/Manifest new file mode 100644 index 000000000..8553e726d --- /dev/null +++ b/x11-plugins/extramenu/Manifest @@ -0,0 +1 @@ +EBUILD extramenu-9999.ebuild 410 RMD160 0018e0588d8db2df60dcf65546214b452fd015ef SHA1 1ff454a2e5d0ccd956db13c564ce7e26b2c4438f SHA256 877ba091e699bcf311134d5f998f9e4da04cb4d51610e7319bd3c21633157d13 diff --git a/x11-plugins/extramenu/extramenu-9999.ebuild b/x11-plugins/extramenu/extramenu-9999.ebuild new file mode 100644 index 000000000..9f5afbf75 --- /dev/null +++ b/x11-plugins/extramenu/extramenu-9999.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +ESVN_SERVER="http://e17mods.googlecode.com/svn/trunk" +ESVN_SUB_PROJECT="MODULES" +inherit enlightenment + +DESCRIPTION="E17 module to add extra menus to the main menu" +HOMEPAGE="http://code.google.com/p/e17mods/wiki/ExtraMenu" + +LICENSE="GPL-2" + +DEPEND="x11-wm/enlightenment + media-libs/edje"