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