[SCM] jack-capture/master: Add patch to make jack_capture_gui work fine.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Mon Dec 6 01:10:28 UTC 2010


The following commit has been merged in the master branch:
commit c65bdb3ba4f82a6a63376f2bbdc57383048bfb42
Author: Alessio Treglia <alessio at debian.org>
Date:   Mon Dec 6 02:08:55 2010 +0100

    Add patch to make jack_capture_gui work fine.

diff --git a/debian/patches/03-replace_xdialog.patch b/debian/patches/03-replace_xdialog.patch
new file mode 100644
index 0000000..e9ce947
--- /dev/null
+++ b/debian/patches/03-replace_xdialog.patch
@@ -0,0 +1,34 @@
+Description: Replace Xdialog with gdialog as xdialog is no longer available.
+Author: Alessio Treglia <alessio at debian.org>
+Forwarded: no
+---
+ jack_capture_gui |   10 +++++-----
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+--- jack-capture.orig/jack_capture_gui
++++ jack-capture/jack_capture_gui
+@@ -18,19 +18,19 @@
+ 
+ OPTIONS=$@
+ 
+-if [ ! `which Xdialog` ] ; then 
+-    echo "Xdialog needed";
++if [ ! `which gdialog` ] ; then
++    echo "gdialog needed";
+     exit;
+ fi
+ 
+ while true
+ do
+-  Xdialog --stdout --yesno "PRESS YES TO START REC"  10 40
++  gdialog --stdout --yesno "PRESS YES TO START REC"  10 40
+   case "$?" in
+-    0) jack_capture $OPTIONS | Xdialog --stdout --msgbox " RECORDING IN PROGRESS\n PRESS OK TO STOP REC " 10 40
++    0) jack_capture $OPTIONS | gdialog --stdout --msgbox " RECORDING IN PROGRESS\n PRESS OK TO STOP REC " 10 40
+        echo "Recording stopped"
+     ;;
+-    1) Xdialog --msgbox "Ok no recording started" 10 40
++    1) gdialog --msgbox "Ok no recording started" 10 40
+        exit;
+     ;;
+   esac
diff --git a/debian/patches/series b/debian/patches/series
index cbdbb00..0fcb607 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 01-makefile-prefix.patch
 02-makefile-compile-option.patch
+03-replace_xdialog.patch

-- 
jack-capture packaging



More information about the pkg-multimedia-commits mailing list