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