Gentoo Archives: gentoo-commits

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