[csound] Use xdg-open as help browser again.

Ville Skyttä scop at fedoraproject.org
Sat Jan 25 10:22:48 UTC 2014


commit 8d31790d1d692d27855c9c6d7d004adad59436c3
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sat Jan 25 12:22:07 2014 +0200

    Use xdg-open as help browser again.
    
    - Drop no longer applicable docdir adjustment from specfile (#993711).

 csound-5.19.01-xdg-open.patch |   12 ++++++++++++
 csound.spec                   |    7 +++++--
 2 files changed, 17 insertions(+), 2 deletions(-)
---
diff --git a/csound-5.19.01-xdg-open.patch b/csound-5.19.01-xdg-open.patch
new file mode 100644
index 0000000..1e33444
--- /dev/null
+++ b/csound-5.19.01-xdg-open.patch
@@ -0,0 +1,12 @@
+diff -up Csound5.19.01/frontends/fltk_gui/CsoundGlobalSettings.cpp~ Csound5.19.01/frontends/fltk_gui/CsoundGlobalSettings.cpp
+--- Csound5.19.01/frontends/fltk_gui/CsoundGlobalSettings.cpp~	2013-01-07 14:49:35.000000000 +0200
++++ Csound5.19.01/frontends/fltk_gui/CsoundGlobalSettings.cpp	2014-01-25 11:24:54.363214530 +0200
+@@ -25,7 +25,7 @@ CsoundGlobalSettings::CsoundGlobalSettin
+     textEditorProgram = "cseditor";
+     soundEditorProgram = "audacity";
+     soundPlayerProgram = "aplay";
+-    helpBrowserProgram = "firefox";
++    helpBrowserProgram = "xdg-open";
+ #elif defined(WIN32)
+     textEditorProgram = "cseditor";
+     soundEditorProgram = "audacity";
diff --git a/csound.spec b/csound.spec
index 72b1976..91e93e4 100644
--- a/csound.spec
+++ b/csound.spec
@@ -15,7 +15,7 @@
 Summary:       A sound synthesis language and library
 Name:          csound
 Version:       5.19.01
-Release:       1%{?dist}
+Release:       2%{?dist}
 URL:           http://csound.sourceforge.net/
 License:       LGPLv2+
 Group:         Applications/Multimedia
@@ -47,6 +47,7 @@ Patch3: csound-5.19.0-default-opcodedir.patch
 Patch4: csound-5.19.0-rtalsa-fix.patch
 Patch5: csound-5.13.0-fix-locale-install.patch
 Patch6: csound-5.19.0-default-pulse.patch
+Patch7: csound-5.19.01-xdg-open.patch
 
 %description
 Csound is a sound and music synthesis system, providing facilities for
@@ -193,6 +194,7 @@ Canonical Reference Manual for Csound.
 %patch4 -p1 -b .rtalsa
 %patch5 -p1 -b .fix-locale-install
 %patch6 -p1 -b .default-pulse
+%patch7 -p1 -b .xdg-open
 
 mkdir manual
 (cd manual; unzip -q %{SOURCE2})
@@ -426,7 +428,8 @@ fi
 %doc examples/*
 
 %changelog
-* Sat Jan 25 2014 Ville Skyttä <ville.skytta at iki.fi>
+* Sat Jan 25 2014 Ville Skyttä <ville.skytta at iki.fi> - 5.19.01-2
+- Use xdg-open as help browser again.
 - Drop no longer applicable docdir adjustment from specfile (#993711).
 
 * Wed Aug  7 2013 Peter Robinson <pbrobinson at fedoraproject.org> 5.19.01-1


More information about the scm-commits mailing list