Gentoo Archives: gentoo-commits

From: Alexandre Restovtsev <tetromino@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:gnome-next commit in: x11-libs/libcryptui/, x11-libs/libcryptui/files/
Date: Wed, 28 Sep 2011 00:44:33
Message-Id: 943f9f37098ec3e2ab26097e427c4e9c4eb50e57.tetromino@gentoo
1 commit: 943f9f37098ec3e2ab26097e427c4e9c4eb50e57
2 Author: Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
3 AuthorDate: Wed Sep 28 00:27:46 2011 +0000
4 Commit: Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
5 CommitDate: Wed Sep 28 00:27:46 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=943f9f37
7
8 x11-libs/libcryptui: 3.1.4 → 3.2.0
9
10 Bump. Now uses gsettings instead of gconf. Patch was applied upstream.
11
12 ---
13 ...libcryptui-3.1.4-seahorse-file-collisions.patch | 182 --------------------
14 ...ryptui-3.1.4.ebuild => libcryptui-3.2.0.ebuild} | 10 +-
15 x11-libs/libcryptui/libcryptui-9999.ebuild | 4 +-
16 3 files changed, 2 insertions(+), 194 deletions(-)
17
18 diff --git a/x11-libs/libcryptui/files/libcryptui-3.1.4-seahorse-file-collisions.patch b/x11-libs/libcryptui/files/libcryptui-3.1.4-seahorse-file-collisions.patch
19 deleted file mode 100644
20 index bf15598..0000000
21 --- a/x11-libs/libcryptui/files/libcryptui-3.1.4-seahorse-file-collisions.patch
22 +++ /dev/null
23 @@ -1,182 +0,0 @@
24 -From af96725589fabe41b348c6f5473122b7b0771184 Mon Sep 17 00:00:00 2001
25 -From: Alexandre Rostovtsev <tetromino@×××××.com>
26 -Date: Tue, 26 Jul 2011 02:42:22 +0000
27 -Subject: Prevent file collisions between libcryptui and seahorse (#655291)
28 -
29 -To prevent file collisions between seahorse and libcryptui:
30 -* install pixmaps in /usr/share/pixmaps/cryptui (and set pixmapsdir
31 - to the correct value, so daemon/seahorse-gtkstock.c can actually
32 - load them);
33 -* install ui files in /usr/share/cryptui/ui;
34 -* rename seahorse.schemas to cryptui.schemas;
35 -* use "cryptui" as the gettext translation domain.
36 -
37 -Addresses Gnome bug #655291.
38 ----
39 -diff --git a/configure.ac b/configure.ac
40 -index 200be7f..2c0e121 100644
41 ---- a/configure.ac
42 -+++ b/configure.ac
43 -@@ -325,7 +325,7 @@ dnl *******************
44 - dnl ***** gettext *****
45 - dnl *******************
46 -
47 --GETTEXT_PACKAGE=seahorse
48 -+GETTEXT_PACKAGE=cryptui
49 - AC_SUBST(GETTEXT_PACKAGE)
50 - AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Name of the gettext domain.])
51 -
52 -diff --git a/daemon/Makefile.am b/daemon/Makefile.am
53 -index 08ff418..d214559 100644
54 ---- a/daemon/Makefile.am
55 -+++ b/daemon/Makefile.am
56 -@@ -1,7 +1,7 @@
57 -
58 - localedir = $(datadir)/locale
59 --pixmapsdir = $(datadir)/pixmaps/
60 --uidir = $(datadir)/seahorse/ui/
61 -+pixmapsdir = $(datadir)/pixmaps/cryptui/
62 -+uidir = $(datadir)/cryptui/ui/
63 -
64 - INCLUDES = -I$(top_builddir) \
65 - -I$(top_srcdir) \
66 -diff --git a/data/Makefile.am b/data/Makefile.am
67 -index d343d5f..d6e2d44 100644
68 ---- a/data/Makefile.am
69 -+++ b/data/Makefile.am
70 -@@ -1,7 +1,7 @@
71 - @INTLTOOL_SCHEMAS_RULE@
72 -
73 - schemasdir = $(GCONF_SCHEMA_FILE_DIR)
74 --schemas_in_files = seahorse.schemas.in
75 -+schemas_in_files = cryptui.schemas.in
76 - schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
77 -
78 - if GCONF_SCHEMAS_INSTALL
79 -diff --git a/data/seahorse.schemas.in b/data/cryptui.schemas.in
80 -index 95ca661..d90cbd1 100644
81 ---- a/data/seahorse.schemas.in
82 -+++ b/data/cryptui.schemas.in
83 -@@ -8,7 +8,7 @@
84 - <default>FALSE</default>
85 - <locale name="C">
86 - <short>Enable DNS-SD sharing</short>
87 -- <long>Enables DNS-SD (Apple Bonjour) sharing of keys. seahorse-daemon
88 -+ <long>Enables DNS-SD (Apple Bonjour) sharing of keys. seahorse-daemon
89 - must be running and must be built with HKP and DNS-SD support.</long>
90 - </locale>
91 - </schema>
92 -@@ -115,8 +115,8 @@
93 - <locale name="C">
94 - <short>The column to sort the seahorse keys by</short>
95 - <long>Specify the column to sort the seahorse key manager main
96 -- window by. Columns are: 'name', 'id', 'validity', 'expires',
97 -- 'trust', and 'type'. Put a '-' in front of the column name to
98 -+ window by. Columns are: 'name', 'id', 'validity', 'expires',
99 -+ 'trust', and 'type'. Put a '-' in front of the column name to
100 - sort in descending order.</long>
101 - </locale>
102 - </schema>
103 -@@ -128,8 +128,8 @@
104 - <default>name</default>
105 - <locale name="C">
106 - <short>The column to sort the recipients by</short>
107 -- <long>Specify the column to sort the recipients window by.
108 -- Columns are: 'name' and 'id'. Put a '-' in front of the
109 -+ <long>Specify the column to sort the recipients window by.
110 -+ Columns are: 'name' and 'id'. Put a '-' in front of the
111 - column name to sort in descending order.</long>
112 - </locale>
113 - </schema>
114 -@@ -143,7 +143,7 @@
115 - <locale name="C">
116 - <short>PGP Key servers</short>
117 - <long>A list of key server URIs to search for remote PGP keys.
118 -- In later versions a display name can be included, by appending a
119 -+ In later versions a display name can be included, by appending a
120 - space and then the name.</long>
121 - </locale>
122 - </schema>
123 -@@ -155,7 +155,7 @@
124 - <default>false</default>
125 - <locale name="C">
126 - <short>Auto Retrieve Keys</short>
127 -- <long>Whether or not keys should be automatically retrieved from key
128 -+ <long>Whether or not keys should be automatically retrieved from key
129 - servers.</long>
130 - </locale>
131 - </schema>
132 -@@ -193,19 +193,19 @@
133 - <short>Last key server search pattern</short>
134 - <long>The last search pattern searched for against a key server.</long>
135 - </locale>
136 -- </schema>
137 -+ </schema>
138 - <schema>
139 - <key>/schemas/desktop/pgp/keyservers/search_keyservers</key>
140 - <applyto>/desktop/pgp/keyservers/search_keyservers</applyto>
141 -- <owner>seahorse</owner>
142 -+ <owner>seahorse</owner>
143 - <type>list</type>
144 - <list_type>string</list_type>
145 -- <default>[]</default>
146 -- <locale name="C">
147 -+ <default>[]</default>
148 -+ <locale name="C">
149 - <short>Last key servers used</short>
150 -- <long>The last key server a search was performed against
151 -- or empty for all key servers.</long>
152 -- </locale>
153 -+ <long>The last key server a search was performed against
154 -+ or empty for all key servers.</long>
155 -+ </locale>
156 - </schema>
157 - </schemalist>
158 - </gconfschemafile>
159 -diff --git a/pixmaps/22x22/Makefile.am b/pixmaps/22x22/Makefile.am
160 -index 60922ce..7fda357 100644
161 ---- a/pixmaps/22x22/Makefile.am
162 -+++ b/pixmaps/22x22/Makefile.am
163 -@@ -1,5 +1,5 @@
164 -
165 --icon22dir = $(datadir)/pixmaps/seahorse/22x22/
166 -+icon22dir = $(datadir)/pixmaps/cryptui/22x22/
167 - icon22_DATA = seahorse-key.png \
168 - seahorse-key-personal.png \
169 - seahorse-key-ssh.png \
170 -diff --git a/pixmaps/48x48/Makefile.am b/pixmaps/48x48/Makefile.am
171 -index a91f86f..c908b1e 100644
172 ---- a/pixmaps/48x48/Makefile.am
173 -+++ b/pixmaps/48x48/Makefile.am
174 -@@ -1,5 +1,5 @@
175 -
176 --icon48dir = $(datadir)/pixmaps/seahorse/48x48/
177 -+icon48dir = $(datadir)/pixmaps/cryptui/48x48/
178 - icon48_DATA = seahorse-key.png \
179 - seahorse-key-personal.png \
180 - seahorse-key-ssh.png \
181 -diff --git a/pixmaps/scalable/Makefile.am b/pixmaps/scalable/Makefile.am
182 -index e43463b..27c0d44 100644
183 ---- a/pixmaps/scalable/Makefile.am
184 -+++ b/pixmaps/scalable/Makefile.am
185 -@@ -1,4 +1,4 @@
186 --iconsvgdir = $(datadir)/pixmaps/seahorse/scalable/
187 -+iconsvgdir = $(datadir)/pixmaps/cryptui/scalable/
188 - iconsvg_DATA = seahorse-key.svg \
189 - seahorse-key-personal.svg \
190 - seahorse-key-ssh.svg \
191 -diff --git a/po/POTFILES.in b/po/POTFILES.in
192 -index 95c1137..7e2db04 100644
193 ---- a/po/POTFILES.in
194 -+++ b/po/POTFILES.in
195 -@@ -25,7 +25,7 @@ daemon/seahorse-unknown-source.c
196 - daemon/seahorse-util.c
197 - daemon/seahorse-validity.c
198 - daemon/seahorse-widget.c
199 --data/seahorse.schemas.in
200 -+data/cryptui.schemas.in
201 - libcryptui/cryptui.c
202 - libcryptui/cryptui-key-chooser.c
203 - libcryptui/cryptui-key-list.c
204 ---
205 -cgit v0.9
206
207 diff --git a/x11-libs/libcryptui/libcryptui-3.1.4.ebuild b/x11-libs/libcryptui/libcryptui-3.2.0.ebuild
208 similarity index 81%
209 rename from x11-libs/libcryptui/libcryptui-3.1.4.ebuild
210 rename to x11-libs/libcryptui/libcryptui-3.2.0.ebuild
211 index d921938..67fcc3c 100644
212 --- a/x11-libs/libcryptui/libcryptui-3.1.4.ebuild
213 +++ b/x11-libs/libcryptui/libcryptui-3.2.0.ebuild
214 @@ -6,7 +6,7 @@ EAPI="4"
215 GCONF_DEBUG="yes"
216 GNOME2_LA_PUNT="yes"
217
218 -inherit autotools eutils gnome2
219 +inherit gnome2
220 if [[ ${PV} = 9999 ]]; then
221 inherit gnome2-live
222 fi
223 @@ -25,7 +25,6 @@ fi
224
225 # Pull in libnotify-0.7 because it's controlled via an automagic ifdef
226 COMMON_DEPEND="
227 - >=gnome-base/gconf-2:2
228 >=dev-libs/glib-2.10:2
229 >=x11-libs/gtk+-2.90.0:3[introspection?]
230 >=dev-libs/dbus-glib-0.72
231 @@ -41,7 +40,6 @@ COMMON_DEPEND="
232 "
233 DEPEND="${COMMON_DEPEND}
234 sys-devel/gettext
235 - >=app-text/gnome-doc-utils-0.3.2
236 >=app-text/scrollkeeper-0.3
237 >=dev-util/pkgconfig-0.20
238 >=dev-util/intltool-0.35
239 @@ -70,11 +68,5 @@ src_prepare() {
240 -e 's/-Werror//' \
241 -i configure.ac configure || die "sed failed"
242
243 - # Prevent file collisions with app-crypt/seahorse, will be in next release
244 - # https://bugzilla.gnome.org/show_bug.cgi?id=655291
245 - epatch "${FILESDIR}/${P}-seahorse-file-collisions.patch"
246 - mv data/seahorse.schemas.in data/cryptui.schemas.in || die "mv failed"
247 - [[ ${PV} = 9999 ]] || eautoreconf
248 -
249 gnome2_src_prepare
250 }
251
252 diff --git a/x11-libs/libcryptui/libcryptui-9999.ebuild b/x11-libs/libcryptui/libcryptui-9999.ebuild
253 index 478d042..67fcc3c 100644
254 --- a/x11-libs/libcryptui/libcryptui-9999.ebuild
255 +++ b/x11-libs/libcryptui/libcryptui-9999.ebuild
256 @@ -6,7 +6,7 @@ EAPI="4"
257 GCONF_DEBUG="yes"
258 GNOME2_LA_PUNT="yes"
259
260 -inherit autotools eutils gnome2
261 +inherit gnome2
262 if [[ ${PV} = 9999 ]]; then
263 inherit gnome2-live
264 fi
265 @@ -25,7 +25,6 @@ fi
266
267 # Pull in libnotify-0.7 because it's controlled via an automagic ifdef
268 COMMON_DEPEND="
269 - >=gnome-base/gconf-2:2
270 >=dev-libs/glib-2.10:2
271 >=x11-libs/gtk+-2.90.0:3[introspection?]
272 >=dev-libs/dbus-glib-0.72
273 @@ -41,7 +40,6 @@ COMMON_DEPEND="
274 "
275 DEPEND="${COMMON_DEPEND}
276 sys-devel/gettext
277 - >=app-text/gnome-doc-utils-0.3.2
278 >=app-text/scrollkeeper-0.3
279 >=dev-util/pkgconfig-0.20
280 >=dev-util/intltool-0.35