From 27815a0560b0cb38f3ac397ebde5dd1e344195c2 Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Tue, 2 Jul 2013 12:13:19 +0200 Subject: [PATCH] use external help browser directly if help browser plug-in isn't built --- gimp-2.8.6-external-help-browser.patch | 12 ++++++++++++ gimp.spec | 10 ++++++++++ 2 files changed, 22 insertions(+) create mode 100644 gimp-2.8.6-external-help-browser.patch diff --git a/gimp-2.8.6-external-help-browser.patch b/gimp-2.8.6-external-help-browser.patch new file mode 100644 index 0000000..57a1c98 --- /dev/null +++ b/gimp-2.8.6-external-help-browser.patch @@ -0,0 +1,12 @@ +diff -up gimp-2.8.6/etc/gimprc.external-help-browser gimp-2.8.6/etc/gimprc +--- gimp-2.8.6/etc/gimprc.external-help-browser 2013-07-02 12:04:11.011774506 +0200 ++++ gimp-2.8.6/etc/gimprc 2013-07-02 12:04:25.408824028 +0200 +@@ -671,7 +671,7 @@ + # Sets the browser used by the help system. Possible values are gimp and + # web-browser. + # +-# (help-browser gimp) ++(help-browser web-browser) + + # When enabled, the online user manual will be used by the help system. + # Otherwise the locally installed copy is used. Possible values are yes and diff --git a/gimp.spec b/gimp.spec index 3afc3b6..b2e8895 100644 --- a/gimp.spec +++ b/gimp.spec @@ -206,6 +206,9 @@ Patch0: gimp-%{version}%{dashprerel}-git%{gitrev}.patch.bz2 # Fedora specific. Patch1: gimp-2.8.2-cm-system-monitor-profile-by-default.patch +# use external help browser directly if help browser plug-in is not built +Patch100: gimp-2.8.6-external-help-browser.patch + %description GIMP (GNU Image Manipulation Program) is a powerful image composition and editing program, which can be extremely useful for creating logos and other @@ -293,6 +296,10 @@ EOF %patch1 -p1 -b .cm-system-monitor-profile-by-default +%if ! %{with helpbrowser} +%patch100 -p1 -b .external-help-browser +%endif + %build %if %{with hardening} # Use hardening compiler/linker flags because gimp is likely to deal with files @@ -596,6 +603,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %endif %changelog +* Tue Jul 02 2013 Nils Philippsen +- use external help browser directly if help browser plug-in isn't built + * Sun Jun 23 2013 Nils Philippsen - 2:2.8.6-1 - version 2.8.6