add compiz and apropriate ebuilds with package.unmask file
This commit is contained in:
4
x11-wm/emerald/Manifest
Normal file
4
x11-wm/emerald/Manifest
Normal file
@ -0,0 +1,4 @@
|
||||
AUX emerald-0.8.4-gtk+-2.20-build.patch 1194 RMD160 f87d90db0341b77937b1c32521752bf0420974f8 SHA1 849f7aadb60dc702260e9900330cd5bc2a5a3242 SHA256 c196b2720ffa2996992e02b62d02f67c0f7f9dd7301fc6ceb26a1b1c81d5bcec
|
||||
AUX emerald-0.8.4-pkgconfig-pollution.patch 353 RMD160 bf3505f23e43b853524f0a12016a8b06762e7420 SHA1 7efec914dfe6b8bfe53386ce5d96d58a95eab9c7 SHA256 bd4540b8ed94d5b7ba747a0285244564bae9d84cdba7a0fda3e2962d57e82224
|
||||
DIST emerald-0.8.4.tar.bz2 525316 RMD160 de04228414419141c3df0e7f32a062cc6dfabcda SHA1 408bef6ba7822bd933448f16dc43bbd3d801d9c9 SHA256 7ed5009a739219c61c26176f738ba5264e93557f353fdf9fc480c73fe8b05e26
|
||||
EBUILD emerald-0.8.4-r9999.ebuild 1322 RMD160 f718ced3d777ca6b3231b0edb4d1ff096fc645cc SHA1 16273fa1655d00c00913c89c4e3bf262821d4a9c SHA256 a20184ca2c985845718f2269da5ffd577ed8b18310dd885e19e201cdf6aadd79
|
56
x11-wm/emerald/emerald-0.8.4-r9999.ebuild
Normal file
56
x11-wm/emerald/emerald-0.8.4-r9999.ebuild
Normal file
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/x11-wm/emerald/emerald-0.8.4-r2.ebuild,v 1.4 2011/09/14 20:47:24 ssuominen Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils
|
||||
|
||||
THEMES_RELEASE=0.5.2
|
||||
|
||||
DESCRIPTION="Emerald Window Decorator"
|
||||
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=""
|
||||
|
||||
PDEPEND="~x11-themes/emerald-themes-${THEMES_RELEASE}"
|
||||
|
||||
RDEPEND="
|
||||
>=x11-libs/gtk+-2.8.0:2
|
||||
>=x11-libs/libwnck-2.14.2:1
|
||||
>=x11-wm/compiz-${PV}
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/intltool-0.35
|
||||
>=dev-util/pkgconfig-0.19
|
||||
>=sys-devel/gettext-0.15
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# Fix pkg-config file pollution wrt #380197
|
||||
epatch "${FILESDIR}"/${P}-pkgconfig-pollution.patch
|
||||
# Fixing GTK symbol - bug 308791.
|
||||
epatch "${FILESDIR}/${P}-gtk+-2.20-build.patch"
|
||||
# fix build with gtk+-2.22 - bug 341143
|
||||
sed -i -e '/#define G[DT]K_DISABLE_DEPRECATED/s:^://:' \
|
||||
include/emerald.h || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-dependency-tracking \
|
||||
--disable-static \
|
||||
--enable-fast-install \
|
||||
--disable-mime-update || die "econf failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
33
x11-wm/emerald/files/emerald-0.8.4-gtk+-2.20-build.patch
Normal file
33
x11-wm/emerald/files/emerald-0.8.4-gtk+-2.20-build.patch
Normal file
@ -0,0 +1,33 @@
|
||||
diff -urN emerald-0.8.4/libengine/themer.c emerald-0.8.4.new/libengine/themer.c
|
||||
--- emerald-0.8.4/libengine/themer.c 2009-10-13 20:56:23.000000000 -0400
|
||||
+++ emerald-0.8.4.new/libengine/themer.c 2010-03-10 01:20:03.046827674 -0500
|
||||
@@ -461,7 +461,7 @@
|
||||
}
|
||||
gdouble get_float(SettingItem * item)
|
||||
{
|
||||
- if(!strcmp(GTK_OBJECT_TYPE_NAME(item->widget),"GtkSpinButton")) {
|
||||
+ if(!strcmp(G_OBJECT_TYPE_NAME(item->widget),"GtkSpinButton")) {
|
||||
return gtk_spin_button_get_value((GtkSpinButton *)item->widget);
|
||||
}
|
||||
else {
|
||||
@@ -647,7 +647,7 @@
|
||||
}
|
||||
void set_float(SettingItem * item, gdouble f)
|
||||
{
|
||||
- if(!strcmp(GTK_OBJECT_TYPE_NAME(item->widget),"GtkSpinButton")) {
|
||||
+ if(!strcmp(G_OBJECT_TYPE_NAME(item->widget),"GtkSpinButton")) {
|
||||
gtk_spin_button_set_value((GtkSpinButton *)item->widget, f);
|
||||
}
|
||||
else {
|
||||
--- emerald-0.8.4/src/main.c.old 2010-03-29 19:49:30.420710030 -0700
|
||||
+++ emerald-0.8.4/src/main.c 2010-03-29 19:52:33.654024944 -0700
|
||||
@@ -3757,7 +3757,7 @@
|
||||
|
||||
static void hide_tooltip(void)
|
||||
{
|
||||
- if (GTK_WIDGET_VISIBLE(tip_window))
|
||||
+ if (gtk_widget_get_visible(tip_window))
|
||||
g_get_current_time(&tooltip_last_popdown);
|
||||
|
||||
gtk_widget_hide(tip_window);
|
||||
|
12
x11-wm/emerald/files/emerald-0.8.4-pkgconfig-pollution.patch
Normal file
12
x11-wm/emerald/files/emerald-0.8.4-pkgconfig-pollution.patch
Normal file
@ -0,0 +1,12 @@
|
||||
--- libengine/emeraldengine.pc.in
|
||||
+++ libengine/emeraldengine.pc.in
|
||||
@@ -7,6 +7,7 @@
|
||||
Description: Library for Emerald Engines
|
||||
Version: @VERSION@
|
||||
|
||||
-Requires: @EMERALD_REQUIRES@
|
||||
-Libs: @EMERALD_LIBS@
|
||||
+Requires.private: @EMERALD_REQUIRES@
|
||||
+Libs: -L${libdir} -lemeraldengine
|
||||
+Libs.private: @EMERALD_LIBS@
|
||||
Cflags: @EMERALD_CFLAGS@ -I${includedir}/emerald
|
Reference in New Issue
Block a user