Gentoo Archives: gentoo-commits

From: Alexandre Restovtsev <tetromino@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: gnome-extra/sushi/, gnome-extra/gnome-tweak-tool/, gnome-extra/gnome-packagekit/
Date: Sat, 01 Oct 2011 03:22:38
Message-Id: 5a64b6b1e0cdf08f90efcefb4669789b90e1513a.tetromino@gentoo
1 commit: 5a64b6b1e0cdf08f90efcefb4669789b90e1513a
2 Author: Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
3 AuthorDate: Sat Oct 1 03:07:37 2011 +0000
4 Commit: Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
5 CommitDate: Sat Oct 1 03:13:04 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=5a64b6b1
7
8 temporarily restore some gnome-3.0.x ebuilds
9
10 These should be removed at the end of a transition period (~1 week), as
11 discussed via email.
12
13 ---
14 .../gnome-packagekit/gnome-packagekit-3.0.3.ebuild | 104 ++++++++++++++++++++
15 .../gnome-tweak-tool/gnome-tweak-tool-3.0.5.ebuild | 65 ++++++++++++
16 gnome-extra/sushi/sushi-0.0.1.ebuild | 56 +++++++++++
17 3 files changed, 225 insertions(+), 0 deletions(-)
18
19 diff --git a/gnome-extra/gnome-packagekit/gnome-packagekit-3.0.3.ebuild b/gnome-extra/gnome-packagekit/gnome-packagekit-3.0.3.ebuild
20 new file mode 100644
21 index 0000000..04bc3cf
22 --- /dev/null
23 +++ b/gnome-extra/gnome-packagekit/gnome-packagekit-3.0.3.ebuild
24 @@ -0,0 +1,104 @@
25 +# Copyright 1999-2011 Gentoo Foundation
26 +# Distributed under the terms of the GNU General Public License v2
27 +# $Header: $
28 +
29 +EAPI="3"
30 +GCONF_DEBUG="no"
31 +PYTHON_DEPEND="2"
32 +
33 +inherit eutils gnome2 python virtualx
34 +
35 +DESCRIPTION="PackageKit client for the GNOME desktop"
36 +HOMEPAGE="http://www.packagekit.org/"
37 +
38 +LICENSE="GPL-2"
39 +SLOT="0"
40 +KEYWORDS="~amd64 ~ppc ~x86"
41 +IUSE="doc nls test udev"
42 +
43 +RDEPEND="
44 + >=dev-libs/glib-2.25.9:2
45 + >=x11-libs/gtk+-2.91.0:3
46 + >=x11-libs/libnotify-0.7.0
47 + >=dev-libs/dbus-glib-0.73
48 +
49 + >=app-admin/packagekit-base-0.6.5[udev]
50 + >=app-admin/packagekit-gtk-0.6.5
51 + >=gnome-base/gnome-menus-2.24.1
52 + >=media-libs/libcanberra-0.10[gtk3]
53 + >=sys-apps/dbus-1.1.2
54 + >=sys-power/upower-0.9.0
55 +
56 + media-libs/fontconfig
57 + x11-libs/libX11
58 +
59 + udev? ( >=sys-fs/udev-145[extras] )"
60 +DEPEND="${RDEPEND}
61 + app-text/docbook-sgml-utils
62 + >=app-text/gnome-doc-utils-0.3.2
63 + dev-libs/libxslt
64 + >=dev-util/intltool-0.35
65 + dev-util/pkgconfig
66 + sys-devel/gettext
67 + doc? ( >=dev-util/gtk-doc-1.9 )"
68 +
69 +# Fails, recheck for next release
70 +# (gpk-self-test:9412): GnomePackageKit-WARNING **: Unknown error
71 +# FAILED [failed to get cannot-fetch-sources]
72 +# FAIL: gpk-self-test
73 +RESTRICT="test"
74 +
75 +# NOTES:
76 +# app-text/docbook-sgml-utils required for man pages
77 +# app-text/gnome-doc-utils and dev-libs/libxslt required for gnome help files
78 +# gtk-doc is generating a useless file, don't need it
79 +
80 +# UPSTREAM:
81 +# misuse of CPPFLAGS/CXXFLAGS ?
82 +# see if tests can forget about display (use eclass for that ?)
83 +# intltool and gettext only with +nls
84 +
85 +pkg_setup() {
86 + DOCS="AUTHORS MAINTAINERS NEWS README TODO"
87 + # localstatedir: /var for upstream /var/lib for gentoo
88 + # scrollkeeper and schemas-install: managed by gnome2 eclass
89 + # tests: not working (need DISPLAY)
90 + # gtk-doc: not needed (builded file is useless)
91 +# --enable-libtool-lock
92 +# --disable-dependency-tracking
93 +# --enable-option-checking
94 + G2CONF="${G2CONF}
95 + --localstatedir=/var
96 + --enable-compile-warnings=yes
97 + --enable-iso-c
98 + --disable-scrollkeeper
99 + --disable-schemas-compile
100 + --disable-strict
101 + $(use_enable nls)
102 + $(use_enable test tests)
103 + $(use_enable udev gudev)"
104 + python_set_active_version 2
105 +}
106 +
107 +src_prepare() {
108 + gnome2_src_prepare
109 +
110 + # fix pyc/pyo generation
111 + ln -sfn $(type -P true) py-compile
112 +}
113 +
114 +src_test() {
115 + unset DISPLAY
116 + Xemake check || die "make check failed"
117 +}
118 +
119 +pkg_postinst() {
120 + gnome2_pkg_postinst
121 + python_need_rebuild
122 + python_mod_optimize packagekit
123 +}
124 +
125 +pkg_postrm() {
126 + gnome2_pkg_postrm
127 + python_mod_cleanup packagekit
128 +}
129
130 diff --git a/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.0.5.ebuild b/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.0.5.ebuild
131 new file mode 100644
132 index 0000000..9f10754
133 --- /dev/null
134 +++ b/gnome-extra/gnome-tweak-tool/gnome-tweak-tool-3.0.5.ebuild
135 @@ -0,0 +1,65 @@
136 +# Copyright 1999-2011 Gentoo Foundation
137 +# Distributed under the terms of the GNU General Public License v2
138 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-screensaver/gnome-screensaver-2.30.2.ebuild,v 1.2 2010/11/02 02:33:58 ford_prefect Exp $
139 +
140 +EAPI="3"
141 +GNOME2_LA_PUNT="yes"
142 +GCONF_DEBUG="no"
143 +PYTHON_DEPEND="2:2.6"
144 +SUPPORT_PYTHON_ABIS="1"
145 +RESTRICT_PYTHON_ABIS="2.4 2.5 3.*"
146 +
147 +inherit eutils gnome2-python
148 +
149 +DESCRIPTION="Tool to customize GNOME 3 options"
150 +HOMEPAGE="http://live.gnome.org/GnomeTweakTool"
151 +
152 +LICENSE="GPL-2"
153 +SLOT="0"
154 +IUSE=""
155 +KEYWORDS="~amd64 ~x86"
156 +
157 +COMMON_DEPEND="
158 + >=gnome-base/gsettings-desktop-schemas-2.91.92
159 + >=dev-python/pygobject-2.28.0:2[introspection]
160 + gnome-base/gconf:2"
161 +# g-s-d, gnome-shell etc. needed at runtime for the gsettings schemas
162 +RDEPEND="${COMMON_DEPEND}
163 + gnome-base/gconf:2[introspection]
164 + x11-libs/gtk+:3[introspection]
165 +
166 + >=gnome-base/gnome-settings-daemon-3
167 + gnome-base/gnome-shell
168 + >=gnome-base/nautilus-3
169 + x11-wm/metacity"
170 +DEPEND="${COMMON_DEPEND}
171 + >=dev-util/intltool-0.40.0
172 + >=dev-util/pkgconfig-0.9
173 + >=sys-devel/gettext-0.17"
174 +
175 +pkg_setup() {
176 + DOCS="AUTHORS NEWS README"
177 + G2CONF="${G2CONF} --disable-schemas-compile"
178 + gnome2-python_pkg_setup
179 +}
180 +
181 +src_prepare() {
182 + # Add contents of Gentoo's cursor theme directory to cursor theme list
183 + epatch "${FILESDIR}/${PN}-3.0.4-gentoo-cursor-themes.patch"
184 + gnome2-python_src_prepare
185 +}
186 +
187 +src_install() {
188 + gnome2-python_src_install
189 + python_convert_shebangs 2 "${ED}"/usr/bin/gnome-tweak-tool
190 +}
191 +
192 +pkg_postinst() {
193 + gnome2_pkg_postinst
194 + python_mod_optimize gtweak
195 +}
196 +
197 +pkg_postrm() {
198 + gnome2_pkg_postrm
199 + python_mod_cleanup gtweak
200 +}
201
202 diff --git a/gnome-extra/sushi/sushi-0.0.1.ebuild b/gnome-extra/sushi/sushi-0.0.1.ebuild
203 new file mode 100644
204 index 0000000..d5d4f0b
205 --- /dev/null
206 +++ b/gnome-extra/sushi/sushi-0.0.1.ebuild
207 @@ -0,0 +1,56 @@
208 +# Copyright 1999-2011 Gentoo Foundation
209 +# Distributed under the terms of the GNU General Public License v2
210 +# $Header: $
211 +
212 +EAPI="4"
213 +GCONF_DEBUG="no"
214 +GNOME2_LA_PUNT="yes"
215 +GNOME_TARBALL_SUFFIX="bz2"
216 +
217 +inherit gnome2
218 +if [[ ${PV} = 9999 ]]; then
219 + inherit gnome2-live
220 +fi
221 +
222 +DESCRIPTION="A quick previewer for Nautilus, the GNOME file manager"
223 +HOMEPAGE="http://git.gnome.org/browse/sushi"
224 +
225 +LICENSE="GPL-3"
226 +SLOT="0"
227 +if [[ ${PV} = 9999 ]]; then
228 + KEYWORDS=""
229 +else
230 + KEYWORDS="~amd64 ~x86"
231 +fi
232 +IUSE=""
233 +
234 +# Optional app-office/unoconv support (OOo to pdf)
235 +COMMON_DEPEND=">=dev-libs/glib-2.28.0:2
236 + >=dev-libs/gobject-introspection-0.9.6
237 + >=x11-libs/gdk-pixbuf-2.22.1[introspection]
238 + >=media-libs/clutter-1.6.0:1.0[introspection]
239 + >=x11-libs/gtk+-3.0.0:3[introspection]
240 + >=media-libs/clutter-gtk-0.91.8i:1.0[introspection]
241 + >=app-text/evince-3.0[introspection]
242 + >=dev-libs/gjs-0.7.7
243 +
244 + media-libs/gstreamer:0.10[introspection]
245 + media-libs/gst-plugins-base:0.10[introspection]
246 + media-libs/clutter-gst:1.0[introspection]
247 + media-libs/musicbrainz:3
248 +"
249 +DEPEND="${RDEPEND}
250 + >=dev-util/pkgconfig-0.22
251 + >=dev-util/intltool-0.40
252 + >=sys-devel/gettext-0.17
253 +"
254 +RDEPEND="${COMMON_DEPEND}
255 + >=gnome-base/nautilus-3
256 +"
257 +
258 +pkg_setup() {
259 + G2CONF="${G2CONF}
260 + UNOCONV=$(type -p false)
261 + --disable-static"
262 + DOCS="AUTHORS NEWS README TODO"
263 +}