use external help browser directly if help browser plug-in isn't built

This commit is contained in:
Nils Philippsen 2013-07-02 12:13:19 +02:00
parent 798a22c52d
commit 27815a0560
2 changed files with 22 additions and 0 deletions

View File

@ -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

View File

@ -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 <nils@redhat.com>
- use external help browser directly if help browser plug-in isn't built
* Sun Jun 23 2013 Nils Philippsen <nils@redhat.com> - 2:2.8.6-1
- version 2.8.6