summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-12-28 12:35:16 +0100
committerDavid Seifert <soap@gentoo.org>2017-12-28 13:03:11 +0100
commitc210c56f95a0ee9f892d8c76ea9bba35416b8e33 (patch)
tree3bf20e9d1143ca3d9d353d0a158cafd107e4f25c /app-cdr/dvdshrink/files/dvdshrink-2.6.1_p10-fix-paths.patch
parentapp-cdr/daa2iso: Port to EAPI 6 (diff)
downloadgentoo-c210c56f95a0ee9f892d8c76ea9bba35416b8e33.tar.gz
gentoo-c210c56f95a0ee9f892d8c76ea9bba35416b8e33.tar.bz2
gentoo-c210c56f95a0ee9f892d8c76ea9bba35416b8e33.zip
app-cdr/dvdshrink: Port to EAPI 6
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-cdr/dvdshrink/files/dvdshrink-2.6.1_p10-fix-paths.patch')
-rw-r--r--app-cdr/dvdshrink/files/dvdshrink-2.6.1_p10-fix-paths.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/app-cdr/dvdshrink/files/dvdshrink-2.6.1_p10-fix-paths.patch b/app-cdr/dvdshrink/files/dvdshrink-2.6.1_p10-fix-paths.patch
new file mode 100644
index 000000000000..8acbb70073e0
--- /dev/null
+++ b/app-cdr/dvdshrink/files/dvdshrink-2.6.1_p10-fix-paths.patch
@@ -0,0 +1,22 @@
+--- a/usr/bin/dvdsfunctions
++++ b/usr/bin/dvdsfunctions
+@@ -1933,7 +1933,7 @@
+ if ! ((`ps -C xdvdshrink.pl > /dev/null 2>&1`)); then GUI=1; fi
+ SAVEISO=0 # Save an ISO along with the burn(s)
+
+- APPDIR=/usr/share/applications/dvdshrink
++ APPDIR=/usr/share/dvdshrink
+ }
+
+ # Build a minimal but usable XML file for 'dvdauthor'
+--- a/usr/bin/xdvdshrink.pl
++++ b/usr/bin/xdvdshrink.pl
+@@ -22,7 +22,7 @@
+
+ my $login = getlogin || getpwuid($<); # Userid of current user
+ my $homedir = "/home/" . $login; # Home dir of current user
+-my $app_dir = "/usr/share/applications/dvdshrink";
++my $app_dir = "/usr/share/dvdshrink";
+ my $false = 0; # A 'false'
+ my $true = 1; # A 'true'
+ my $srunning = 0; # Is the bash script running