]> git.pld-linux.org Git - packages/gcstar.git/blob - system-xdgopen.patch
- drop obsolete and outdated manual inclusion of rpm macros
[packages/gcstar.git] / system-xdgopen.patch
1 --- gcstar/lib/gcstar/GCGraphicComponents/GCBaseWidgets.pm.orig 2014-03-15 17:26:06.830000477 +0000
2 +++ gcstar/lib/gcstar/GCGraphicComponents/GCBaseWidgets.pm      2014-03-15 17:27:56.726696494 +0000
3 @@ -2792,7 +2792,7 @@ BEGIN {
4              my $command;
5              $command = ($^O =~ /win32/i) ? ''
6                       : ($^O =~ /macos/i) ? '/usr/bin/open'
7 -                     :                     $ENV{GCS_SHARE_DIR}.'/helpers/xdg-open';
8 +                     : '/usr/bin/xdg-open';
9  
10              # Not sure if this is correct, haven't tested with Windows:
11              if ($^O =~ /win32/i)
12 --- gcstar/lib/gcstar/GCMainWindow.pm.orig      2014-03-15 17:25:54.859997614 +0000
13 +++ gcstar/lib/gcstar/GCMainWindow.pm   2014-03-15 17:26:49.373334969 +0000
14 @@ -2648,7 +2648,7 @@ use Gtk2;
15              {
16                  $command = ($^O =~ /win32/i) ? ''
17                           : ($^O =~ /macos/i) ? '/usr/bin/open'
18 -                         :                     $ENV{GCS_SHARE_DIR}.'/helpers/xdg-open';
19 +                         : '/usr/bin/xdg-open';
20              }
21  
22              if ($file && ($format ne 'url'))
This page took 0.055258 seconds and 3 git commands to generate.