Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/packagekit-base/files/, media-libs/cogl/files/, x11-libs/gtk+/files/, ...
Date: Mon, 30 Oct 2017 22:24:39
Message-Id: 1509402269.78ca36b4f62b9bbe20b48dd1bfaee7a2f984e085.monsieurp@gentoo
1 commit: 78ca36b4f62b9bbe20b48dd1bfaee7a2f984e085
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 30 22:22:11 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 30 22:24:29 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78ca36b4
7
8 */*: revert https://github.com/gentoo/gentoo/pull/5828.
9
10 This commit adds back the string of commits from PR 5828.
11
12 ...PackageKitEntropyClient.output-API-update.patch | 26 ++++
13 .../packagekit-base-0.8.15-qtdbus-annotate.patch | 12 ++
14 .../files/packagekit-base-0.8.x-npapi-sdk.patch | 13 ++
15 .../rarian/files/rarian-0.8.1-fix-old-doc.patch | 13 ++
16 .../files/3.24.2-optional.patch | 145 +++++++++++++++++++++
17 .../cogl/files/cogl-1.22.0-initial-output.patch | 46 +++++++
18 media-libs/cogl/files/cogl-1.22.0-wait-flip.patch | 42 ++++++
19 .../libmediaart/files/libmediaart-0.7.0-qt5.patch | 47 +++++++
20 .../files/subtitleeditor-0.52.1-build-fix.patch | 55 ++++++++
21 .../files/ssh-askpass-fullscreen.1 | 79 +++++++++++
22 .../files/gtk+-2.24.27-update-icon-cache.patch | 64 +++++++++
23 11 files changed, 542 insertions(+)
24
25 diff --git a/app-admin/packagekit-base/files/0001-entropy-PackageKitEntropyClient.output-API-update.patch b/app-admin/packagekit-base/files/0001-entropy-PackageKitEntropyClient.output-API-update.patch
26 new file mode 100644
27 index 00000000000..e24faeec9a5
28 --- /dev/null
29 +++ b/app-admin/packagekit-base/files/0001-entropy-PackageKitEntropyClient.output-API-update.patch
30 @@ -0,0 +1,26 @@
31 +From ee2dfacb275e8145c7ae1ba8da86779054adf902 Mon Sep 17 00:00:00 2001
32 +From: Fabio Erculiani <lxnay@×××××××.org>
33 +Date: Fri, 6 Dec 2013 07:40:15 +0100
34 +Subject: [PATCH] entropy: PackageKitEntropyClient.output API update
35 +
36 +---
37 + backends/entropy/entropyBackend.py | 3 ++-
38 + 1 file changed, 2 insertions(+), 1 deletion(-)
39 +
40 +diff --git a/backends/entropy/entropyBackend.py b/backends/entropy/entropyBackend.py
41 +index 57b6c59..bec8ef6 100755
42 +--- a/backends/entropy/entropyBackend.py
43 ++++ b/backends/entropy/entropyBackend.py
44 +@@ -776,7 +776,8 @@ class PackageKitEntropyClient(Client):
45 + def init_singleton(self):
46 + Client.init_singleton(self, url_fetcher = PkUrlFetcher)
47 +
48 +- def output(self, text, header = "", footer = "", back = False,
49 ++ @classmethod
50 ++ def output(cls, text, header = "", footer = "", back = False,
51 + importance = 0, level = "info", count = None, percent = False):
52 + """
53 + Reimplemented from entropy.output.TextInterface.
54 +--
55 +1.8.4.4
56 +
57
58 diff --git a/app-admin/packagekit-base/files/packagekit-base-0.8.15-qtdbus-annotate.patch b/app-admin/packagekit-base/files/packagekit-base-0.8.15-qtdbus-annotate.patch
59 new file mode 100644
60 index 00000000000..69a0fd7e5f4
61 --- /dev/null
62 +++ b/app-admin/packagekit-base/files/packagekit-base-0.8.15-qtdbus-annotate.patch
63 @@ -0,0 +1,12 @@
64 +Index: PackageKit-0.8.12/src/org.freedesktop.PackageKit.xml
65 +===================================================================
66 +--- PackageKit-0.8.12.orig/src/org.freedesktop.PackageKit.xml
67 ++++ PackageKit-0.8.12/src/org.freedesktop.PackageKit.xml
68 +@@ -317,6 +317,7 @@
69 +
70 + <!--*****************************************************************************************-->
71 + <method name="GetPackageHistory">
72 ++ <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariant"/>
73 + <doc:doc>
74 + <doc:description>
75 + <doc:para>
76
77 diff --git a/app-admin/packagekit-base/files/packagekit-base-0.8.x-npapi-sdk.patch b/app-admin/packagekit-base/files/packagekit-base-0.8.x-npapi-sdk.patch
78 new file mode 100644
79 index 00000000000..59b3ab10964
80 --- /dev/null
81 +++ b/app-admin/packagekit-base/files/packagekit-base-0.8.x-npapi-sdk.patch
82 @@ -0,0 +1,13 @@
83 +diff --git a/configure.ac b/configure.ac
84 +index 3e8d301..7ba7f4b 100644
85 +--- a/configure.ac
86 ++++ b/configure.ac
87 +@@ -361,7 +361,7 @@ AC_ARG_ENABLE(browser_plugin, AS_HELP_STRING([--enable-browser-plugin],[Build br
88 + enable_browser_plugin=$enableval,enable_browser_plugin=yes)
89 + if test x$enable_browser_plugin = xyes; then
90 + PKG_CHECK_MODULES(PK_BROWSER_PLUGIN, \
91 +- mozilla-plugin >= 8.0 \
92 ++ npapi-sdk \
93 + gio-unix-2.0 \
94 + nspr >= 4.8 \
95 + cairo \
96
97 diff --git a/app-text/rarian/files/rarian-0.8.1-fix-old-doc.patch b/app-text/rarian/files/rarian-0.8.1-fix-old-doc.patch
98 new file mode 100644
99 index 00000000000..f84f987d8f1
100 --- /dev/null
101 +++ b/app-text/rarian/files/rarian-0.8.1-fix-old-doc.patch
102 @@ -0,0 +1,13 @@
103 +--- util/rarian-sk-preinstall.cpp.old 2008-09-01 20:40:21.000000000 +0200
104 ++++ util/rarian-sk-preinstall.cpp 2010-01-30 11:29:39.000000000 +0100
105 +@@ -96,8 +96,8 @@
106 + }
107 + if (i == 1) {
108 + /* Normal path. Add file:/ to the start */
109 +- new_url = (char *) malloc (sizeof(char) * (strlen (input) + 7));
110 +- sprintf (new_url, "file:/%s", input);
111 ++ new_url = (char *) malloc (sizeof(char) * (strlen (input) + 8));
112 ++ sprintf (new_url, "file://%s", input);
113 + } else {
114 + /* Don't know what to do. Just copy and append file: to it */
115 + new_url = (char *) malloc (sizeof(char) * (strlen(input) + 6));
116
117 diff --git a/gnome-base/gnome-settings-daemon/files/3.24.2-optional.patch b/gnome-base/gnome-settings-daemon/files/3.24.2-optional.patch
118 new file mode 100644
119 index 00000000000..64c47a92e3f
120 --- /dev/null
121 +++ b/gnome-base/gnome-settings-daemon/files/3.24.2-optional.patch
122 @@ -0,0 +1,145 @@
123 +From 22f6a45b665e604f874e82a817d45bb976d8c5ae Mon Sep 17 00:00:00 2001
124 +From: Timo Tambet <ttambet@×××××.com>
125 +Date: Sat, 25 Feb 2017 14:48:19 +0200
126 +Subject: [PATCH 1/1] [PATCH] Make colord and wacom support optional
127 +
128 +---
129 + configure.ac | 56 +++++++++++++++++++++++++++++++----------------
130 + plugins/Makefile.am | 9 ++++++--
131 + plugins/dummy/Makefile.am | 5 ++++-
132 + 3 files changed, 48 insertions(+), 22 deletions(-)
133 +
134 +diff --git a/configure.ac b/configure.ac
135 +index 0d169c8f..792195aa 100644
136 +--- a/configure.ac
137 ++++ b/configure.ac
138 +@@ -158,13 +158,23 @@ PKG_CHECK_MODULES(CLIPBOARD,
139 + gtk+-x11-3.0
140 + x11)
141 +
142 +-PKG_CHECK_MODULES(COLOR,
143 +- colord >= 1.0.2
144 +- gnome-desktop-3.0 >= $GNOME_DESKTOP_REQUIRED_VERSION
145 +- libcanberra-gtk3
146 +- libgeoclue-2.0 >= $GEOCLUE_REQUIRED_VERSION
147 +- lcms2 >= $LCMS_REQUIRED_VERSION
148 +- libnotify)
149 ++AC_ARG_ENABLE([color],
150 ++ AS_HELP_STRING([--disable-color],
151 ++ [turn off color plugin]),
152 ++ [],
153 ++ [enable_color=yes])
154 ++
155 ++AS_IF([test "$enable_color" = "yes"],
156 ++ [PKG_CHECK_MODULES(COLOR,
157 ++ colord >= 1.0.2
158 ++ gnome-desktop-3.0 >= $GNOME_DESKTOP_REQUIRED_VERSION
159 ++ libcanberra-gtk3
160 ++ libgeoclue-2.0 >= $GEOCLUE_REQUIRED_VERSION
161 ++ lcms2 >= $LCMS_REQUIRED_VERSION
162 ++ libnotify)
163 ++ AC_DEFINE(HAVE_COLOR, 1, [Define if color plugin is enabled])
164 ++ ])
165 ++AM_CONDITIONAL(BUILD_COLOR, test "x$enable_color" = "xyes")
166 +
167 + PKG_CHECK_MODULES(DATETIME,
168 + libnotify >= $LIBNOTIFY_REQUIRED_VERSION
169 +@@ -268,23 +278,31 @@ case $host_os in
170 + if test "$host_cpu" = s390 -o "$host_cpu" = s390x; then
171 + have_wacom=no
172 + else
173 +- if test x$enable_gudev != xno; then
174 +- LIBWACOM_PKG="libwacom >= $LIBWACOM_REQUIRED_VERSION"
175 +- PKG_CHECK_MODULES(LIBWACOM, [libwacom >= $LIBWACOM_REQUIRED_VERSION])
176 +- PKG_CHECK_MODULES(WACOM, [gtk+-3.0 pango >= $PANGO_REQUIRED_VERSION])
177 +- PKG_CHECK_MODULES(WACOM_OLED, [gudev-1.0])
178 +- else
179 ++ have_wacom=no
180 ++ AS_IF([test "$enable_gudev" != "no"],
181 ++ [AC_ARG_ENABLE([wacom],
182 ++ AS_HELP_STRING([--disable-wacom],
183 ++ [turn off wacom plugin]),
184 ++ [],
185 ++ [enable_wacom=no]) dnl Default value
186 ++ AS_IF([test "$enable_wacom" = "xyes"],
187 ++ [
188 ++ PKG_CHECK_MODULES(LIBWACOM, [libwacom >= $LIBWACOM_REQUIRED_VERSION])
189 ++ PKG_CHECK_MODULES(WACOM, [gtk+-3.0, pango >= $PANGO_REQUIRED_VERSION])
190 ++ PKG_CHECK_MODULES(WACOM_OLED, [gudev-1.0])
191 ++ have_wacom=yes
192 ++ AC_DEFINE_UNQUOTED(HAVE_WACOM, 1, [Define to 1 if wacom support is available])
193 ++ ])
194 ++ ], [
195 + AC_MSG_ERROR([GUdev is necessary to compile Wacom support])
196 +- fi
197 +- AC_DEFINE_UNQUOTED(HAVE_WACOM, 1, [Define to 1 if wacom support is available])
198 +- have_wacom=yes
199 ++ ])
200 + fi
201 + ;;
202 + *)
203 +- have_wacom=no
204 +- ;;
205 ++ have_wacom=no
206 ++ ;;
207 + esac
208 +-AM_CONDITIONAL(HAVE_WACOM, test x$have_wacom = xyes)
209 ++AM_CONDITIONAL(BUILD_WACOM, test x$have_wacom = xyes)
210 +
211 + dnl ---------------------------------------------------------------------------
212 + dnl - common
213 +diff --git a/plugins/Makefile.am b/plugins/Makefile.am
214 +index 9324b406..ee78d6d0 100644
215 +--- a/plugins/Makefile.am
216 ++++ b/plugins/Makefile.am
217 +@@ -4,7 +4,6 @@ enabled_plugins = \
218 + a11y-keyboard \
219 + a11y-settings \
220 + clipboard \
221 +- color \
222 + datetime \
223 + dummy \
224 + power \
225 +@@ -22,13 +21,19 @@ enabled_plugins = \
226 +
227 + disabled_plugins = $(NULL)
228 +
229 ++if BUILD_COLOR
230 ++enabled_plugins += color
231 ++else
232 ++disabled_plugins += color
233 ++endif
234 ++
235 + if SMARTCARD_SUPPORT
236 + enabled_plugins += smartcard
237 + else
238 + disabled_plugins += smartcard
239 + endif
240 +
241 +-if HAVE_WACOM
242 ++if BUILD_WACOM
243 + enabled_plugins += wacom
244 + else
245 + disabled_plugins += wacom
246 +diff --git a/plugins/dummy/Makefile.am b/plugins/dummy/Makefile.am
247 +index cb5856cf..06ac595a 100644
248 +--- a/plugins/dummy/Makefile.am
249 ++++ b/plugins/dummy/Makefile.am
250 +@@ -22,10 +22,13 @@ gsd_dummy_LDADD = $(DUMMY_LIBS) $(top_builddir)/gnome-settings-daemon/libgsd.la
251 + desktopdir = $(sysconfdir)/xdg/autostart
252 +
253 + desktop_DATA =
254 ++if !BUILD_COLOR
255 ++desktop_DATA += org.gnome.SettingsDaemon.Color.desktop
256 ++endif
257 + if !SMARTCARD_SUPPORT
258 + desktop_DATA += org.gnome.SettingsDaemon.Smartcard.desktop
259 + endif
260 +-if !HAVE_WACOM
261 ++if !BUILD_WACOM
262 + desktop_DATA += org.gnome.SettingsDaemon.Wacom.desktop
263 + endif
264 + if !BUILD_PRINT_NOTIFICATIONS
265 +--
266 +2.11.1
267 +
268
269 diff --git a/media-libs/cogl/files/cogl-1.22.0-initial-output.patch b/media-libs/cogl/files/cogl-1.22.0-initial-output.patch
270 new file mode 100644
271 index 00000000000..d7f9d0ff99f
272 --- /dev/null
273 +++ b/media-libs/cogl/files/cogl-1.22.0-initial-output.patch
274 @@ -0,0 +1,46 @@
275 +From 188752158701e3a406e7fd5850b3eaf9c4798cd7 Mon Sep 17 00:00:00 2001
276 +From: Ray Strode <rstrode@××××××.com>
277 +Date: Fri, 13 Nov 2015 13:35:05 -0500
278 +Subject: winsys-egl-kms: bypass initial output setup if kms fd passed in
279 +
280 +if mutter is handling the output setup, then we shouldn't do it,
281 +too.
282 +
283 +https://bugzilla.gnome.org/show_bug.cgi?id=758073
284 +---
285 + cogl/winsys/cogl-winsys-egl-kms.c | 12 ++++++++----
286 + 1 file changed, 8 insertions(+), 4 deletions(-)
287 +
288 +diff --git a/cogl/winsys/cogl-winsys-egl-kms.c b/cogl/winsys/cogl-winsys-egl-kms.c
289 +index b460907..6d7049d 100644
290 +--- a/cogl/winsys/cogl-winsys-egl-kms.c
291 ++++ b/cogl/winsys/cogl-winsys-egl-kms.c
292 +@@ -663,6 +663,14 @@ _cogl_winsys_egl_display_setup (CoglDisplay *display,
293 + return FALSE;
294 + }
295 +
296 ++ /* Force a full modeset / drmModeSetCrtc on
297 ++ * the first swap buffers call.
298 ++ */
299 ++ kms_display->pending_set_crtc = TRUE;
300 ++
301 ++ if (kms_renderer->opened_fd < 0)
302 ++ return TRUE;
303 ++
304 + output0 = find_output (0,
305 + kms_renderer->fd,
306 + resources,
307 +@@ -736,10 +744,6 @@ _cogl_winsys_egl_display_setup (CoglDisplay *display,
308 + kms_display->width = output0->mode.hdisplay;
309 + kms_display->height = output0->mode.vdisplay;
310 +
311 +- /* We defer setting the crtc modes until the first swap_buffers request of a
312 +- * CoglOnscreen framebuffer. */
313 +- kms_display->pending_set_crtc = TRUE;
314 +-
315 + return TRUE;
316 + }
317 +
318 +--
319 +cgit v0.11.2
320 +
321
322 diff --git a/media-libs/cogl/files/cogl-1.22.0-wait-flip.patch b/media-libs/cogl/files/cogl-1.22.0-wait-flip.patch
323 new file mode 100644
324 index 00000000000..b7c4d99a281
325 --- /dev/null
326 +++ b/media-libs/cogl/files/cogl-1.22.0-wait-flip.patch
327 @@ -0,0 +1,42 @@
328 +From a583492ea2aa3ea8e78c269bd5db3f52f82aa79c Mon Sep 17 00:00:00 2001
329 +From: Ray Strode <rstrode@××××××.com>
330 +Date: Wed, 21 Oct 2015 15:47:01 -0400
331 +Subject: kms-winsys: don't wait for a flip when page flipping fails
332 +
333 +If we get EACCES from drmPageFlip we're not going to get
334 +a flip event and shouldn't wait for one.
335 +
336 +This commit changes the EACCES path to silently ignore the
337 +failed flip request and just clean up the fb.
338 +
339 +https://bugzilla.gnome.org/show_bug.cgi?id=756926
340 +---
341 + cogl/winsys/cogl-winsys-egl-kms.c | 5 +++--
342 + 1 file changed, 3 insertions(+), 2 deletions(-)
343 +
344 +diff --git a/cogl/winsys/cogl-winsys-egl-kms.c b/cogl/winsys/cogl-winsys-egl-kms.c
345 +index 20c325c..b460907 100644
346 +--- a/cogl/winsys/cogl-winsys-egl-kms.c
347 ++++ b/cogl/winsys/cogl-winsys-egl-kms.c
348 +@@ -590,7 +590,7 @@ flip_all_crtcs (CoglDisplay *display, CoglFlipKMS *flip, int fb_id)
349 + for (l = kms_display->crtcs; l; l = l->next)
350 + {
351 + CoglKmsCrtc *crtc = l->data;
352 +- int ret;
353 ++ int ret = 0;
354 +
355 + if (crtc->count == 0 || crtc->ignore)
356 + continue;
357 +@@ -610,7 +610,8 @@ flip_all_crtcs (CoglDisplay *display, CoglFlipKMS *flip, int fb_id)
358 + }
359 + }
360 +
361 +- flip->pending++;
362 ++ if (ret == 0)
363 ++ flip->pending++;
364 + }
365 +
366 + if (kms_renderer->page_flips_not_supported && needs_flip)
367 +--
368 +cgit v0.11.2
369 +
370
371 diff --git a/media-libs/libmediaart/files/libmediaart-0.7.0-qt5.patch b/media-libs/libmediaart/files/libmediaart-0.7.0-qt5.patch
372 new file mode 100644
373 index 00000000000..ecf9de908cf
374 --- /dev/null
375 +++ b/media-libs/libmediaart/files/libmediaart-0.7.0-qt5.patch
376 @@ -0,0 +1,47 @@
377 +Solves automagic selection of Qt version.
378 +
379 +https://bugs.gentoo.org/show_bug.cgi?id=523122
380 +https://bugzilla.gnome.org/show_bug.cgi?id=737174
381 +
382 +diff --git a/configure.ac b/configure.ac
383 +index e9ead09..3ee710a 100644
384 +--- a/configure.ac
385 ++++ b/configure.ac
386 +@@ -206,6 +206,10 @@ AC_ARG_ENABLE(qt,
387 + AS_HELP_STRING([--enable-qt],
388 + [enable Qt support, (MP3 album art) [[default=auto]]]),,
389 + [enable_qt=auto])
390 ++AC_ARG_WITH(qt-version,
391 ++ AS_HELP_STRING([--with-qt-version=major],
392 ++ [Force specific Qt version [[default=auto]]]),,
393 ++ [with_qt_version=auto])
394 +
395 + selected_for_media_art="no (disabled)"
396 +
397 +@@ -218,14 +222,18 @@ if test "x$enable_qt" == "xyes" && test "x$enable_gdkpixbuf" == "xyes"; then
398 + fi
399 +
400 + if test "x$enable_qt" != "xno" && test "x$enable_gdkpixbuf" != "xyes"; then
401 +- PKG_CHECK_MODULES(QT5,
402 +- [Qt5Gui >= $QT5_REQUIRED],
403 +- [have_qt5=yes],
404 +- [have_qt5=no])
405 +- PKG_CHECK_MODULES(QT4,
406 +- [QtGui >= $QT4_REQUIRED],
407 +- [have_qt4=yes],
408 +- [have_qt4=no])
409 ++ if test "x$with_qt_version" == "xauto" || test "x$with_qt_version" == "x5"; then
410 ++ PKG_CHECK_MODULES(QT5,
411 ++ [Qt5Gui >= $QT5_REQUIRED],
412 ++ [have_qt5=yes],
413 ++ [have_qt5=no])
414 ++ fi
415 ++ if test "x$with_qt_version" == "xauto" || test "x$with_qt_version" == "x4"; then
416 ++ PKG_CHECK_MODULES(QT4,
417 ++ [QtGui >= $QT4_REQUIRED],
418 ++ [have_qt4=yes],
419 ++ [have_qt4=no])
420 ++ fi
421 +
422 + if test "x$have_qt5" = "xyes"; then
423 + BACKEND_CFLAGS="$QT5_CFLAGS -fPIC"
424
425 diff --git a/media-video/subtitleeditor/files/subtitleeditor-0.52.1-build-fix.patch b/media-video/subtitleeditor/files/subtitleeditor-0.52.1-build-fix.patch
426 new file mode 100644
427 index 00000000000..9cce5d2d98f
428 --- /dev/null
429 +++ b/media-video/subtitleeditor/files/subtitleeditor-0.52.1-build-fix.patch
430 @@ -0,0 +1,55 @@
431 +Fix build errors with gcc-4.9.3 -std=c++11 (after disabling -ansi)
432 +
433 +https://gna.org/bugs/?23714
434 +
435 +https://bugs.gentoo.org/show_bug.cgi?id=550764
436 +https://bugs.gentoo.org/show_bug.cgi?id=566328
437 +
438 +--- a/src/subtitleview.cc 2015-12-24 01:52:29.322622155 +0100
439 ++++ b/src/subtitleview.cc 2015-12-24 01:52:44.210491213 +0100
440 +@@ -1363,7 +1363,7 @@
441 + {
442 + int num;
443 + std::istringstream ss(event->string);
444 +- bool is_num = ss >> num != 0;
445 ++ bool is_num = static_cast<bool>(ss >> num) != 0;
446 + // Update only if it's different
447 + if(is_num != get_enable_search())
448 + set_enable_search(is_num);
449 +--- a/src/utility.h 2015-12-24 01:49:42.205104858 +0100
450 ++++ b/src/utility.h 2015-12-24 01:50:23.387737071 +0100
451 +@@ -91,7 +91,7 @@
452 + std::istringstream s(src);
453 + // return s >> dest != 0;
454 +
455 +- bool state = s >> dest != 0;
456 ++ bool state = static_cast<bool>(s >> dest) != 0;
457 +
458 + if(!state)
459 + se_debug_message(SE_DEBUG_UTILITY, "string:'%s'failed.", src.c_str());
460 +--- a/plugins/actions/dialoguize/dialoguize.cc 2015-12-24 01:06:24.125428454 +0100
461 ++++ b/plugins/actions/dialoguize/dialoguize.cc 2015-12-24 01:06:42.630277006 +0100
462 +@@ -23,7 +23,7 @@
463 + * along with this program. If not, see <http://www.gnu.org/licenses/>.
464 + */
465 +
466 +-#include <auto_ptr.h>
467 ++#include <memory>
468 + #include "extension/action.h"
469 + #include "i18n.h"
470 + #include "debug.h"
471 +--- a/plugins/actions/documentmanagement/documentmanagement.old 2015-12-24 01:17:13.914730337 +0100
472 ++++ b/plugins/actions/documentmanagement/documentmanagement.cc 2015-12-24 01:17:23.339640430 +0100
473 +@@ -178,9 +178,9 @@
474 +
475 + ui_id = ui->new_merge_id();
476 +
477 +- #define ADD_UI(name) ui->add_ui(ui_id, "/menubar/menu-file/"name, name, name);
478 +- #define ADD_OPEN_UI(name) ui->add_ui(ui_id, "/menubar/menu-file/menu-open/"name, name, name);
479 +- #define ADD_SAVE_UI(name) ui->add_ui(ui_id, "/menubar/menu-file/menu-save/"name, name, name);
480 ++ #define ADD_UI(name) ui->add_ui(ui_id, "/menubar/menu-file/" name, name, name);
481 ++ #define ADD_OPEN_UI(name) ui->add_ui(ui_id, "/menubar/menu-file/menu-open/" name, name, name);
482 ++ #define ADD_SAVE_UI(name) ui->add_ui(ui_id, "/menubar/menu-file/menu-save/" name, name, name);
483 +
484 + ADD_UI("new-document");
485 + ADD_OPEN_UI("open-document");
486
487 diff --git a/net-misc/ssh-askpass-fullscreen/files/ssh-askpass-fullscreen.1 b/net-misc/ssh-askpass-fullscreen/files/ssh-askpass-fullscreen.1
488 new file mode 100644
489 index 00000000000..86f97cde03c
490 --- /dev/null
491 +++ b/net-misc/ssh-askpass-fullscreen/files/ssh-askpass-fullscreen.1
492 @@ -0,0 +1,79 @@
493 +.\" Hey, EMACS: -*- nroff -*-
494 +.\" First parameter, NAME, should be all caps
495 +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
496 +.\" other parameters are allowed: see man(7), man(1)
497 +.TH SSH-ASKPASS-FULLSCREEN 1 "May 8 , 2004"
498 +.\" Please adjust this date whenever revising the manpage.
499 +.\"
500 +.\" Some roff macros, for reference:
501 +.\" .nh disable hyphenation
502 +.\" .hy enable hyphenation
503 +.\" .ad l left justify
504 +.\" .ad b justify to both left and right margins
505 +.\" .nf disable filling
506 +.\" .fi enable filling
507 +.\" .br insert line break
508 +.\" .sp <n> insert n+1 empty lines
509 +.\" for manpage-specific macros, see man(7)
510 +.SH NAME
511 +ssh-askpass-fullscreen \- A simple replacement for ssh-askpass written with gtk2
512 +.SH SYNOPSIS
513 +.B ssh-askpass-fullscreen
514 +
515 +.SH DESCRIPTION
516 +This manual page was written for the Debian distribution
517 +because the original program does not have a manual page.
518 +.PP
519 +
520 +.B gnome-ssh-askpass
521 +is a GNOME-based passphrase dialog for use with OpenSSH. It is
522 +intended to be called by the
523 +.B ssh-add(1)
524 +program and not invoked directly. It allows
525 +.B ssh-add(1)
526 +to obtain a passphrase from a user, even if not connected to a terminal
527 +(assuming that an X display is available). This happens auto-matically
528 +in the case where
529 +.B ssh-add
530 +is invoked from one's
531 +.B ~/.xsession or as one of the GNOME startup programs, for example.
532 +
533 +In order to be called automatically by
534 +.B ssh-add,
535 +.B ssh-askpass-fullscreen
536 +should be installed as /usr/bin/ssh-askpass
537 +
538 +
539 +.\" TeX users may be more comfortable with the \fB<whatever>\fP and
540 +.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
541 +.\" respectively.
542 +\fBssh-askpass-fullscreen\fP is a program that...
543 +.SH ENVIRONMENT VARIABLES
544 +The following environment variables are recognized:
545 +
546 +.TP
547 +.IR "GNOME_SSH_ASKPASS_GRAB_SERVER"
548 + Causes gnome-ssh-askpass to grab the X server before
549 +asking for a passphrase.
550 +
551 +.TP
552 +.IR "GNOME_SSH_ASKPASS_GRAB_POINTER"
553 + Causes gnome-ssh-askpass to grab the mouse pointer will be
554 +grabbed too.
555 +
556 +.PP
557 +These may have some benefit to security if you don't trust your X
558 +server. Keyboard is always grabbed.
559 +
560 +.TP
561 +
562 +.SH SEE ALSO
563 +.BR ssh-add (1),
564 +.BR ssh-askpass (1).
565 +.br
566 +
567 +.SH AUTHOR
568 +This manual page was written by Marco Presi (Zufus) <zufus@××××××.org>,
569 +for the Debian GNU/Linux system (but may be used by others) and it is
570 +based on that for x11-ssh-askpass by Philip Hands and the one for
571 +gnome-ssh-askpass by Colin Watson <cjwatson@××××××.org>
572
573 diff --git a/x11-libs/gtk+/files/gtk+-2.24.27-update-icon-cache.patch b/x11-libs/gtk+/files/gtk+-2.24.27-update-icon-cache.patch
574 new file mode 100644
575 index 00000000000..f88e02e5350
576 --- /dev/null
577 +++ b/x11-libs/gtk+/files/gtk+-2.24.27-update-icon-cache.patch
578 @@ -0,0 +1,64 @@
579 +From 2537d97e4685767ce22834c0dd24d37ba715fb52 Mon Sep 17 00:00:00 2001
580 +From: Gilles Dartiguelongue <eva@g.o>
581 +Date: Sat, 9 May 2015 23:30:58 +0200
582 +Subject: [PATCH] Always use external gtk-update-icon-cache
583 +
584 +---
585 + configure.ac | 8 +++-----
586 + gtk/Makefile.am | 13 ++-----------
587 + 2 files changed, 5 insertions(+), 16 deletions(-)
588 +
589 +diff --git a/configure.ac b/configure.ac
590 +index 2671a3d..fa46004 100644
591 +--- a/configure.ac
592 ++++ b/configure.ac
593 +@@ -913,11 +913,9 @@ dnl Look for a host system's gdk-pixbuf-csource if we are cross-compiling
594 +
595 + AM_CONDITIONAL(CROSS_COMPILING, test $cross_compiling = yes)
596 +
597 +-if test $cross_compiling = yes; then
598 +- AC_PATH_PROG(GTK_UPDATE_ICON_CACHE, gtk-update-icon-cache, no)
599 +- if test x$GTK_UPDATE_ICON_CACHE = xno; then
600 +- REBUILD_PNGS=#
601 +- fi
602 ++AC_PATH_PROG(GTK_UPDATE_ICON_CACHE, gtk-update-icon-cache, no)
603 ++if test x$GTK_UPDATE_ICON_CACHE = xno; then
604 ++ REBUILD_PNGS=#
605 + fi
606 +
607 + AC_PATH_PROG(GDK_PIXBUF_CSOURCE, gdk-pixbuf-csource, no)
608 +diff --git a/gtk/Makefile.am b/gtk/Makefile.am
609 +index 248220d..42e4c23 100644
610 +--- a/gtk/Makefile.am
611 ++++ b/gtk/Makefile.am
612 +@@ -1039,8 +1039,7 @@ endif
613 + # Installed tools
614 + #
615 + bin_PROGRAMS = \
616 +- gtk-query-immodules-2.0 \
617 +- gtk-update-icon-cache
618 ++ gtk-query-immodules-2.0
619 +
620 + bin_SCRIPTS = gtk-builder-convert
621 +
622 +@@ -1390,16 +1389,8 @@ stamp-icons: $(STOCK_ICONS)
623 + ) done \
624 + && touch stamp-icons
625 +
626 +-if CROSS_COMPILING
627 +-gtk_update_icon_cache_program = $(GTK_UPDATE_ICON_CACHE)
628 +-else
629 +-gtk_update_icon_cache_program = \
630 +- ./gtk-update-icon-cache
631 +-endif
632 +-
633 + gtkbuiltincache.h: @REBUILD@ stamp-icons
634 +- $(MAKE) $(AM_MAKEFLAGS) gtk-update-icon-cache$(EXEEXT)
635 +- $(gtk_update_icon_cache_program) --force --ignore-theme-index \
636 ++ $(GTK_UPDATE_ICON_CACHE) --force --ignore-theme-index \
637 + --include-image-data \
638 + --source builtin_icons stock-icons > gtkbuiltincache.h.tmp && \
639 + mv gtkbuiltincache.h.tmp gtkbuiltincache.h
640 +--
641 +2.3.6
642 +