[Pkg-ocaml-maint-commits] [SCM] liquidsoap packaging branch, master, updated. debian/0.9.1-1-6-g04ea43f

Romain Beauxis toots at rastageeks.org
Fri Oct 30 22:12:21 UTC 2009


The following commit has been merged in the master branch:
commit 04ea43fa50e599916131827c6cd956cc09a44099
Author: Romain Beauxis <toots at rastageeks.org>
Date:   Fri Oct 30 17:15:48 2009 -0500

    Add patch to use mp3gain and vorbisgain in quiet mode..

diff --git a/debian/changelog b/debian/changelog
index b76eabb..cb5eb0c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,9 @@ liquidsoap (0.9.2-1) unstable; urgency=low
   * Versioned ocaml build dependencies.
   * Add ocaml.mk support with new automatic dependency
     tracking.
+  * Added patch to drop portaudio in in() definition
+  * Added patch to switch mp3gain and vorbisgain to
+    quiet mode.
 
  -- Romain Beauxis <toots at rastageeks.org>  Fri, 30 Oct 2009 12:18:05 -0500
 
diff --git a/debian/patches/replay_gain_quiet_mode.patch b/debian/patches/replay_gain_quiet_mode.patch
new file mode 100644
index 0000000..8ac5284
--- /dev/null
+++ b/debian/patches/replay_gain_quiet_mode.patch
@@ -0,0 +1,22 @@
+Index: liquidsoap/scripts/extract-replaygain
+===================================================================
+--- liquidsoap.orig/scripts/extract-replaygain	2009-10-30 17:04:31.000000000 -0500
++++ liquidsoap/scripts/extract-replaygain	2009-10-30 17:04:41.000000000 -0500
+@@ -15,7 +15,7 @@
+ 
+   if (`which mp3gain`) {
+ 
+-    my $out = `nice -n 20 mp3gain "$file" 2> /dev/null` ;
++    my $out = `nice -n 20 mp3gain -q "$file" 2> /dev/null` ;
+     $out =~ /Recommended "Track" dB change: (.*)$/m || die ;
+     print "$1 dB\n" ;
+ 
+@@ -29,7 +29,7 @@
+ 
+   if ((`which vorbisgain`) && (`which ogginfo`)) {
+ 
+-    system("nice -n 20 vorbisgain -f \"$file\" 2>/dev/null >/dev/null") ;
++    system("nice -n 20 vorbisgain -q -f \"$file\" 2>/dev/null >/dev/null") ;
+     my $info = `ogginfo "$file"` ;
+     $info =~ /REPLAYGAIN_TRACK_GAIN=(.*) dB/ || die ;
+     print "$1 dB\n" ;
diff --git a/debian/patches/series b/debian/patches/series
index 88dd262..e8c7537 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 move_portaudio_low_in_in.patch
+replay_gain_quiet_mode.patch

-- 
liquidsoap packaging



More information about the Pkg-ocaml-maint-commits mailing list