Gentoo Archives: gentoo-commits

From: Alexandre Restovtsev <tetromino@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:gnome-next commit in: games-board/aisleriot/files/, games-board/aisleriot/
Date: Thu, 29 Sep 2011 08:26:18
Message-Id: 38a2145805940e738d2b6886cbf26913985b5003.tetromino@gentoo
1 commit: 38a2145805940e738d2b6886cbf26913985b5003
2 Author: Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
3 AuthorDate: Thu Sep 29 06:31:35 2011 +0000
4 Commit: Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
5 CommitDate: Thu Sep 29 06:46:02 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=38a21458
7
8 games-board/aisleriot: 3.1.1 → 3.2.0
9
10 Bump. Now uses yelp-tools to build documentation. Drop the artworkextra
11 USE flag since it has no real effect (card themes were moved from
12 gnome-games-extra-data to aisleriot, and aisleriot always installs all
13 of them).
14
15 ---
16 ...sleriot-3.1.1.ebuild => aisleriot-3.2.0.ebuild} | 46 ++++++++-----------
17 ...isleriot-3.1.1.ebuild => aisleriot-9999.ebuild} | 46 ++++++++-----------
18 .../files/aisleriot-3.1.1-help-directory.patch | 28 ------------
19 3 files changed, 38 insertions(+), 82 deletions(-)
20
21 diff --git a/games-board/aisleriot/aisleriot-3.1.1.ebuild b/games-board/aisleriot/aisleriot-3.2.0.ebuild
22 similarity index 60%
23 copy from games-board/aisleriot/aisleriot-3.1.1.ebuild
24 copy to games-board/aisleriot/aisleriot-3.2.0.ebuild
25 index 476e6b1..f44a9f3 100644
26 --- a/games-board/aisleriot/aisleriot-3.1.1.ebuild
27 +++ b/games-board/aisleriot/aisleriot-3.2.0.ebuild
28 @@ -8,14 +8,21 @@ GNOME_TARBALL_SUFFIX="xz"
29 # make sure games is inherited first so that the gnome2
30 # functions will be called if they are not overridden
31 inherit eutils games gnome2
32 +if [[ ${PV} = 9999 ]]; then
33 + inherit gnome2-live
34 +fi
35
36 DESCRIPTION="A collection of solitaire card games for GNOME"
37 HOMEPAGE="http://live.gnome.org/Aisleriot"
38
39 -LICENSE="GPL-3 FDL-1.1"
40 +LICENSE="GPL-3 LGPL-3 FDL-1.1"
41 SLOT="0"
42 -KEYWORDS="~amd64 ~x86"
43 -IUSE="artworkextra gnome sound"
44 +if [[ ${PV} = 9999 ]]; then
45 + KEYWORDS=""
46 +else
47 + KEYWORDS="~amd64 ~x86"
48 +fi
49 +IUSE="gnome sound"
50
51 # FIXME: quartz support?
52 COMMON_DEPEND=">=dev-libs/glib-2.26.0:2
53 @@ -30,14 +37,15 @@ COMMON_DEPEND=">=dev-libs/glib-2.26.0:2
54 sound? ( >=media-libs/libcanberra-0.26[gtk3] )"
55 # aisleriot was split off from gnome-games
56 RDEPEND="${COMMON_DEPEND}
57 - artworkextra? ( >=gnome-extra/gnome-games-extra-data-3.0.0 )
58 !!<gnome-extra/gnome-games-3.1.1[aisleriot]"
59 DEPEND="${COMMON_DEPEND}
60 - >=app-text/gnome-doc-utils-0.10
61 >=dev-util/intltool-0.40.4
62 >=dev-util/pkgconfig-0.15
63 sys-apps/lsb-release
64 - >=sys-devel/gettext-0.12"
65 + >=sys-devel/gettext-0.12
66 + gnome? (
67 + app-text/docbook-xml-dtd:4.3
68 + >=app-text/yelp-tools-3.1.1 )"
69
70 pkg_setup() {
71 DOCS="AUTHORS ChangeLog TODO"
72 @@ -48,36 +56,20 @@ pkg_setup() {
73 G2CONF="${G2CONF} --with-platform=gtk-only --with-help-method=library"
74 fi
75
76 - if use artworkextra; then
77 - G2CONF="${G2CONF} --with-card-theme-formats=all
78 - --with-kde-card-theme-path=${EPREFIX}usr/share/apps/carddecks
79 - --with-pysol-card-theme-path=${EPREFIX}${GAMES_DATADIR}/pysolfc"
80 - else
81 - G2CONF="${G2CONF} --with-card-theme-formats=default"
82 - fi
83 -
84 - # Disable clutter per upstream recommendation in configure.ac
85 G2CONF="${G2CONF}
86 --with-gtk=3.0
87 - --without-clutter
88 --with-smclient
89 --with-guile=1.8
90 $(use_enable sound)
91 --disable-schemas-compile
92 - --disable-maintainer-mode"
93 + --with-card-theme-formats=all
94 + --with-kde-card-theme-path=${EPREFIX}usr/share/apps/carddecks
95 + --with-pysol-card-theme-path=${EPREFIX}${GAMES_DATADIR}/pysolfc"
96 }
97
98 -src_prepare() {
99 - gnome2_src_prepare
100 -
101 - # https://bugzilla.gnome.org/show_bug.cgi?id=656967
102 - epatch "${FILESDIR}/${P}-help-directory.patch"
103 -}
104 pkg_postinst() {
105 gnome2_pkg_postinst
106
107 - if use artworkextra; then
108 - elog "Aisleriot can use additional card themes from games-board/pysolfc"
109 - elog "and kde-base/libkdegames."
110 - fi
111 + elog "Aisleriot can use additional card themes from games-board/pysolfc"
112 + elog "and kde-base/libkdegames."
113 }
114
115 diff --git a/games-board/aisleriot/aisleriot-3.1.1.ebuild b/games-board/aisleriot/aisleriot-9999.ebuild
116 similarity index 60%
117 rename from games-board/aisleriot/aisleriot-3.1.1.ebuild
118 rename to games-board/aisleriot/aisleriot-9999.ebuild
119 index 476e6b1..f44a9f3 100644
120 --- a/games-board/aisleriot/aisleriot-3.1.1.ebuild
121 +++ b/games-board/aisleriot/aisleriot-9999.ebuild
122 @@ -8,14 +8,21 @@ GNOME_TARBALL_SUFFIX="xz"
123 # make sure games is inherited first so that the gnome2
124 # functions will be called if they are not overridden
125 inherit eutils games gnome2
126 +if [[ ${PV} = 9999 ]]; then
127 + inherit gnome2-live
128 +fi
129
130 DESCRIPTION="A collection of solitaire card games for GNOME"
131 HOMEPAGE="http://live.gnome.org/Aisleriot"
132
133 -LICENSE="GPL-3 FDL-1.1"
134 +LICENSE="GPL-3 LGPL-3 FDL-1.1"
135 SLOT="0"
136 -KEYWORDS="~amd64 ~x86"
137 -IUSE="artworkextra gnome sound"
138 +if [[ ${PV} = 9999 ]]; then
139 + KEYWORDS=""
140 +else
141 + KEYWORDS="~amd64 ~x86"
142 +fi
143 +IUSE="gnome sound"
144
145 # FIXME: quartz support?
146 COMMON_DEPEND=">=dev-libs/glib-2.26.0:2
147 @@ -30,14 +37,15 @@ COMMON_DEPEND=">=dev-libs/glib-2.26.0:2
148 sound? ( >=media-libs/libcanberra-0.26[gtk3] )"
149 # aisleriot was split off from gnome-games
150 RDEPEND="${COMMON_DEPEND}
151 - artworkextra? ( >=gnome-extra/gnome-games-extra-data-3.0.0 )
152 !!<gnome-extra/gnome-games-3.1.1[aisleriot]"
153 DEPEND="${COMMON_DEPEND}
154 - >=app-text/gnome-doc-utils-0.10
155 >=dev-util/intltool-0.40.4
156 >=dev-util/pkgconfig-0.15
157 sys-apps/lsb-release
158 - >=sys-devel/gettext-0.12"
159 + >=sys-devel/gettext-0.12
160 + gnome? (
161 + app-text/docbook-xml-dtd:4.3
162 + >=app-text/yelp-tools-3.1.1 )"
163
164 pkg_setup() {
165 DOCS="AUTHORS ChangeLog TODO"
166 @@ -48,36 +56,20 @@ pkg_setup() {
167 G2CONF="${G2CONF} --with-platform=gtk-only --with-help-method=library"
168 fi
169
170 - if use artworkextra; then
171 - G2CONF="${G2CONF} --with-card-theme-formats=all
172 - --with-kde-card-theme-path=${EPREFIX}usr/share/apps/carddecks
173 - --with-pysol-card-theme-path=${EPREFIX}${GAMES_DATADIR}/pysolfc"
174 - else
175 - G2CONF="${G2CONF} --with-card-theme-formats=default"
176 - fi
177 -
178 - # Disable clutter per upstream recommendation in configure.ac
179 G2CONF="${G2CONF}
180 --with-gtk=3.0
181 - --without-clutter
182 --with-smclient
183 --with-guile=1.8
184 $(use_enable sound)
185 --disable-schemas-compile
186 - --disable-maintainer-mode"
187 + --with-card-theme-formats=all
188 + --with-kde-card-theme-path=${EPREFIX}usr/share/apps/carddecks
189 + --with-pysol-card-theme-path=${EPREFIX}${GAMES_DATADIR}/pysolfc"
190 }
191
192 -src_prepare() {
193 - gnome2_src_prepare
194 -
195 - # https://bugzilla.gnome.org/show_bug.cgi?id=656967
196 - epatch "${FILESDIR}/${P}-help-directory.patch"
197 -}
198 pkg_postinst() {
199 gnome2_pkg_postinst
200
201 - if use artworkextra; then
202 - elog "Aisleriot can use additional card themes from games-board/pysolfc"
203 - elog "and kde-base/libkdegames."
204 - fi
205 + elog "Aisleriot can use additional card themes from games-board/pysolfc"
206 + elog "and kde-base/libkdegames."
207 }
208
209 diff --git a/games-board/aisleriot/files/aisleriot-3.1.1-help-directory.patch b/games-board/aisleriot/files/aisleriot-3.1.1-help-directory.patch
210 deleted file mode 100644
211 index e77871b..0000000
212 --- a/games-board/aisleriot/files/aisleriot-3.1.1-help-directory.patch
213 +++ /dev/null
214 @@ -1,28 +0,0 @@
215 -From 8c5e36910e958444565cee177427059a0c37e3d3 Mon Sep 17 00:00:00 2001
216 -From: Alexandre Rostovtsev <tetromino@×××××.com>
217 -Date: Sat, 20 Aug 2011 13:38:55 -0400
218 -Subject: [PATCH] s/AR_RUNTIME_GAME_HELP_DIRECTORY/AR_RUNTIME_HELP_DIRECTORY/
219 -
220 -Use the correct name for the help directory.
221 -
222 -Addresses https://bugzilla.gnome.org/show_bug.cgi?id=656967
223 ----
224 - src/lib/ar-help.c | 2 +-
225 - 1 files changed, 1 insertions(+), 1 deletions(-)
226 -
227 -diff --git a/src/lib/ar-help.c b/src/lib/ar-help.c
228 -index 3be709e..deb53e1 100644
229 ---- a/src/lib/ar-help.c
230 -+++ b/src/lib/ar-help.c
231 -@@ -72,7 +72,7 @@ ar_help_display_full (GtkWidget *window,
232 - guint i;
233 -
234 - langs = g_get_language_names ();
235 -- help_dir = ar_runtime_get_directory (AR_RUNTIME_GAME_HELP_DIRECTORY);
236 -+ help_dir = ar_runtime_get_directory (AR_RUNTIME_HELP_DIRECTORY);
237 -
238 - help_uri = NULL;
239 - for (i = 0; langs[i] != NULL; ++i) {
240 ---
241 -1.7.6
242 -