summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/01_set_usr_lib.patch39
-rw-r--r--debian/patches/03_change_default_browser.patch19
-rw-r--r--debian/patches/series2
3 files changed, 60 insertions, 0 deletions
diff --git a/debian/patches/01_set_usr_lib.patch b/debian/patches/01_set_usr_lib.patch
new file mode 100644
index 0000000..bb76363
--- /dev/null
+++ b/debian/patches/01_set_usr_lib.patch
@@ -0,0 +1,39 @@
+Description: change directory-structure
+Author: Jörg Frings-Fürst <debian@jff-webhosting.net>
+Forwarded: not-needed
+Last-Update: 2014-07-06
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: trunk/bin/gcstar
+===================================================================
+--- trunk.orig/bin/gcstar 2012-01-24 05:13:14.000000000 +0100
++++ trunk/bin/gcstar 2014-07-06 12:49:07.395235464 +0200
+@@ -44,9 +44,9 @@
+ use POSIX qw(locale_h);
+
+ $ENV{GCS_BIN_DIR} = $RealBin;
+-($ENV{GCS_LIB_DIR} = $ENV{GCS_BIN_DIR}) =~ s/bin\/?$/lib\/gcstar/;
++($ENV{GCS_LIB_DIR} = $ENV{GCS_BIN_DIR}) =~ s/bin\/?$/share\/gcstar\/lib/;
+ ($ENV{GCS_SHARE_DIR} = $ENV{GCS_BIN_DIR}) =~ s/bin\/?$/share\/gcstar/;
+-use lib File::Spec->canonpath("$RealBin/../lib/gcstar");
++use lib File::Spec->canonpath("$RealBin/../share/gcstar/lib");
+ if (exists $ENV{PAR_TEMP})
+ {
+ unshift @INC, "$RealBin/../lib/gcstar";
+Index: trunk/install
+===================================================================
+--- trunk.orig/install 2011-07-17 14:22:58.000000000 +0200
++++ trunk/install 2014-07-06 12:53:49.517946204 +0200
+@@ -255,9 +255,9 @@
+ chmod 0755, $baseDir.'/bin/'.$binName;
+
+ #Copying lib
+- verbosePrint $lang{InstallCopyDirectory}, $baseDir.'/lib/gcstar';
+- recursiveCopy('lib/gcstar', $baseDir.'/lib/gcstar');
+-
++ verbosePrint $lang{InstallCopyDirectory}, $baseDir.'/share/gcstar/lib';
++ recursiveCopy('lib/gcstar', $baseDir.'/share/gcstar/lib');
++
+ #Copying share
+ verbosePrint $lang{InstallCopyDirectory}, $baseDir.'/share/gcstar';
+ recursiveCopy('share/gcstar', $baseDir.'/share/gcstar');
diff --git a/debian/patches/03_change_default_browser.patch b/debian/patches/03_change_default_browser.patch
new file mode 100644
index 0000000..facd20f
--- /dev/null
+++ b/debian/patches/03_change_default_browser.patch
@@ -0,0 +1,19 @@
+Description: change options/browser
+Author: Jörg Frings-Fürst <debian@jff-webhosting.net>
+Forwarded: not-needed
+Last-Update: 2014-07-06
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: trunk/lib/gcstar/GCOptions.pm
+===================================================================
+--- trunk.orig/lib/gcstar/GCOptions.pm 2012-01-25 06:24:36.000000000 +0100
++++ trunk/lib/gcstar/GCOptions.pm 2014-07-06 12:39:12.332643339 +0200
+@@ -127,7 +127,7 @@
+ autosave => 1,
+ noautoload => 0,
+ programs => "system",
+- browser => "firefox",
++ browser => "x-www-browser",
+ player => "mplayer",
+ audio => "xmms",
+ imageEditor => "gimp",
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..fb2a3fe
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+01_set_usr_lib.patch
+03_change_default_browser.patch