1 |
mrpouet 10/01/31 16:49:45 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: compiz-0.8.4-r1.ebuild |
5 |
Log: |
6 |
Fix crash on opening windows, and placement mode. Replace URI per a bziped tarball, per bug #302308. Many thanks to Denilson. |
7 |
(Portage version: 2.2_rc62/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.50 x11-wm/compiz/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/compiz/ChangeLog?rev=1.50&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/compiz/ChangeLog?rev=1.50&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/compiz/ChangeLog?r1=1.49&r2=1.50 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-wm/compiz/ChangeLog,v |
19 |
retrieving revision 1.49 |
20 |
retrieving revision 1.50 |
21 |
diff -u -r1.49 -r1.50 |
22 |
--- ChangeLog 20 Dec 2009 15:20:25 -0000 1.49 |
23 |
+++ ChangeLog 31 Jan 2010 16:49:44 -0000 1.50 |
24 |
@@ -1,6 +1,14 @@ |
25 |
# ChangeLog for x11-wm/compiz |
26 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/compiz/ChangeLog,v 1.49 2009/12/20 15:20:25 mrpouet Exp $ |
28 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/compiz/ChangeLog,v 1.50 2010/01/31 16:49:44 mrpouet Exp $ |
30 |
+ |
31 |
+*compiz-0.8.4-r1 (31 Jan 2010) |
32 |
+ |
33 |
+ 31 Jan 2010; Romain Perier <mrpouet@g.o> +compiz-0.8.4-r1.ebuild, |
34 |
+ +files/compiz-0.8.4-crash-on-opening-windows.patch, |
35 |
+ +files/compiz-0.8.4-place-plugin.patch: |
36 |
+ Fix crash on opening windows, and placement mode. Replace URI per a bziped |
37 |
+ tarball, per bug #302308. Many thanks to Denilson. |
38 |
|
39 |
20 Dec 2009; Romain Perier <mrpouet@g.o> -compiz-0.8.2.ebuild: |
40 |
Clean up old version |
41 |
|
42 |
|
43 |
|
44 |
1.1 x11-wm/compiz/compiz-0.8.4-r1.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/compiz/compiz-0.8.4-r1.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/compiz/compiz-0.8.4-r1.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: compiz-0.8.4-r1.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2010 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/x11-wm/compiz/compiz-0.8.4-r1.ebuild,v 1.1 2010/01/31 16:49:44 mrpouet Exp $ |
54 |
|
55 |
EAPI="2" |
56 |
|
57 |
inherit autotools eutils gnome2-utils |
58 |
|
59 |
DESCRIPTION="3D composite and windowmanager" |
60 |
HOMEPAGE="http://www.compiz.org/" |
61 |
SRC_URI="http://releases.compiz.org/${PV}/${P}.tar.bz2" |
62 |
|
63 |
LICENSE="GPL-2 LGPL-2.1 MIT" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
66 |
IUSE="+cairo dbus fuse gnome gtk kde +svg" |
67 |
|
68 |
DEPEND=" |
69 |
dev-libs/glib:2 |
70 |
dev-libs/libxml2 |
71 |
dev-libs/libxslt |
72 |
media-libs/libpng |
73 |
>=media-libs/mesa-6.5.1-r1 |
74 |
>=x11-base/xorg-server-1.1.1-r1 |
75 |
x11-libs/libX11[xcb] |
76 |
x11-libs/libxcb |
77 |
x11-libs/libXcomposite |
78 |
x11-libs/libXdamage |
79 |
x11-libs/libXinerama |
80 |
x11-libs/libXrandr |
81 |
x11-libs/libICE |
82 |
x11-libs/libSM |
83 |
>=x11-libs/libXrender-0.8.4 |
84 |
>=x11-libs/startup-notification-0.7 |
85 |
cairo? ( |
86 |
x11-libs/cairo[X] |
87 |
) |
88 |
dbus? ( >=sys-apps/dbus-1.0 ) |
89 |
fuse? ( sys-fs/fuse ) |
90 |
gnome? ( |
91 |
>=gnome-base/gnome-control-center-2.16.1:2 |
92 |
gnome-base/gnome-desktop |
93 |
gnome-base/gconf:2 |
94 |
) |
95 |
gtk? ( |
96 |
>=x11-libs/gtk+-2.8.0:2 |
97 |
>=x11-libs/libwnck-2.18.3 |
98 |
x11-libs/pango |
99 |
) |
100 |
kde? ( |
101 |
|| ( |
102 |
>=kde-base/kwin-4.2.0 |
103 |
kde-base/kwin:live |
104 |
) |
105 |
) |
106 |
svg? ( |
107 |
>=gnome-base/librsvg-2.14.0:2 |
108 |
>=x11-libs/cairo-1.0 |
109 |
) |
110 |
" |
111 |
|
112 |
RDEPEND="${DEPEND} |
113 |
x11-apps/mesa-progs |
114 |
x11-apps/xvinfo" |
115 |
|
116 |
DEPEND="${DEPEND} |
117 |
dev-util/pkgconfig |
118 |
x11-proto/damageproto |
119 |
x11-proto/xineramaproto" |
120 |
|
121 |
src_prepare() { |
122 |
|
123 |
echo "gtk/gnome/compiz-wm.desktop.in" >> "${S}/po/POTFILES.skip" |
124 |
echo "metadata/core.xml.in" >> "${S}/po/POTFILES.skip" |
125 |
|
126 |
# Missing gconf flags, fix bug #282807 |
127 |
epatch "${FILESDIR}"/${PN}-0.8.2-gtk-gnome-missing-gconf-flags.patch |
128 |
|
129 |
# 2 bugfixes, per bug #302308 |
130 |
epatch "${FILESDIR}"/${P}-crash-on-opening-windows.patch |
131 |
epatch "${FILESDIR}"/${P}-place-plugin.patch |
132 |
|
133 |
if ! use gnome; then |
134 |
epatch "${FILESDIR}"/${PN}-no-gconf.patch |
135 |
fi |
136 |
eautoreconf |
137 |
} |
138 |
|
139 |
src_configure() { |
140 |
econf --disable-dependency-tracking \ |
141 |
--disable-gnome-keybindings \ |
142 |
--enable-librsvg \ |
143 |
--with-default-plugins \ |
144 |
$(use_enable cairo annotate) \ |
145 |
$(use_enable dbus) \ |
146 |
$(use_enable dbus dbus-glib) \ |
147 |
$(use_enable fuse) \ |
148 |
$(use_enable gnome) \ |
149 |
$(use_enable gnome gconf) \ |
150 |
$(use_enable gnome metacity) \ |
151 |
$(use_enable gtk) \ |
152 |
$(use_enable kde kde4) \ |
153 |
--disable-kde |
154 |
} |
155 |
|
156 |
src_install() { |
157 |
emake DESTDIR="${D}" install || die "emake install failed" |
158 |
|
159 |
# Install compiz-manager |
160 |
dobin "${FILESDIR}/compiz-manager" || die "dobin failed" |
161 |
|
162 |
# Add the full-path to lspci |
163 |
sed -i "s#lspci#/usr/sbin/lspci#" "${D}/usr/bin/compiz-manager" || die "sed 1 failed" |
164 |
|
165 |
# Fix the hardcoded lib paths |
166 |
sed -i "s#/lib/#/$(get_libdir)/#g" "${D}/usr/bin/compiz-manager" || die "sed 2 failed" |
167 |
|
168 |
# Create gentoo's config file |
169 |
dodir /etc/xdg/compiz || die "dodir failed" |
170 |
|
171 |
cat <<- EOF > "${D}/etc/xdg/compiz/compiz-manager" |
172 |
COMPIZ_BIN_PATH="/usr/bin/" |
173 |
PLUGIN_PATH="/usr/$(get_libdir)/compiz/" |
174 |
LIBGL_NVIDIA="/usr/$(get_libdir)/opengl/xorg-x11/lib/libGL.so.1.2" |
175 |
LIBGL_FGLRX="/usr/$(get_libdir)/opengl/xorg-x11/lib/libGL.so.1.2" |
176 |
KWIN="$(type -p kwin)" |
177 |
METACITY="$(type -p metacity)" |
178 |
SKIP_CHECKS="yes" |
179 |
EOF |
180 |
|
181 |
dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed" |
182 |
|
183 |
insinto "/usr/share/applications" |
184 |
doins "${FILESDIR}/compiz.desktop" || die "Failed to install compiz.desktop" |
185 |
} |
186 |
|
187 |
pkg_preinst() { |
188 |
use gnome && gnome2_gconf_savelist |
189 |
} |
190 |
|
191 |
pkg_postinst() { |
192 |
use gnome && gnome2_gconf_install |
193 |
|
194 |
ewarn "If you update to x11-wm/metacity-2.24 after you install ${P}," |
195 |
ewarn "gtk-window-decorator will crash until you reinstall ${PN} again." |
196 |
} |
197 |
|
198 |
pkg_prerm() { |
199 |
use gnome && gnome2_gconf_uninstall |
200 |
} |