diff options
author | Kees Cook <kees@debian.org> | 2019-03-10 21:32:47 +0100 |
---|---|---|
committer | Kees Cook <kees@debian.org> | 2019-03-10 21:32:47 +0100 |
commit | 661f9927da2bb041522ae218342f5c8aa8b0d88c (patch) | |
tree | a8a8398a5110b0e23c43fd15389a3028480f58a6 /debian/patches | |
parent | 3adb2fec9ada32a626871fee3ebf9fd513b128ac (diff) | |
parent | caa66850377b57b363cfe758cae31a8cdb0496aa (diff) |
mp3cd (1.27.0-4) unstable; urgency=medium
* debian/control:
- update standards version: priority to "optional"
- update source URL
- raise dh compat to 12
[dgit import unpatched mp3cd 1.27.0-4]
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/fix-readme-url.patch | 16 | ||||
-rw-r--r-- | debian/patches/gstreamer.patch | 29 | ||||
-rw-r--r-- | debian/patches/series | 2 |
3 files changed, 47 insertions, 0 deletions
diff --git a/debian/patches/fix-readme-url.patch b/debian/patches/fix-readme-url.patch new file mode 100644 index 0000000..b5582a0 --- /dev/null +++ b/debian/patches/fix-readme-url.patch @@ -0,0 +1,16 @@ +Description: update the HOWTO URL. +Author: Geoff Simmons <gsimmons@gsimmons.org> + +Index: mp3cd-1.27.0/README +=================================================================== +--- mp3cd-1.27.0.orig/README 2011-11-23 14:17:33.731379826 -0800 ++++ mp3cd-1.27.0/README 2011-11-23 14:17:42.639500799 -0800 +@@ -1,7 +1,7 @@ + + This is the README file for mp3cd, a perl script that implements the + suggested methods outlined in the Linux "MP3 CD Burning mini-HOWTO" +-http://tldp.org/HOWTO/mini/MP3-CD-Burning/ ++http://tldp.org/HOWTO/MP3-CD-Burning/ + + For more information on how to use the script, see the + pod documentation via the command diff --git a/debian/patches/gstreamer.patch b/debian/patches/gstreamer.patch new file mode 100644 index 0000000..b7c545c --- /dev/null +++ b/debian/patches/gstreamer.patch @@ -0,0 +1,29 @@ +Description: handle multiple versions of gstreamer when using gst-launch. +Author: Kees Cook <kees@debian.org> + +Index: mp3cd-1.27.0/scripts/mp3cd +=================================================================== +--- mp3cd-1.27.0.orig/scripts/mp3cd 2011-01-18 08:27:37.408768711 -0800 ++++ mp3cd-1.27.0/scripts/mp3cd 2016-04-15 21:57:54.500419953 -0700 +@@ -496,7 +496,7 @@ + my %PREREQS = ( + 'sox' => 'sox', + 'cdrdao' => 'cdrdao', +- 'gst-launch' => 'gst-launch', ++ 'gst-launch' => 'gst-launch,gst-launch-0.10,gst-launch-1.0', + ); + $PREREQS{'normalize'} = 'normalize,normalize-audio' + if (!defined($skip_stage{'norm'})); +@@ -633,10 +633,10 @@ + { + my ($media, $title, $path) = @_; + my $artist = ""; +- my ($rc, $output) = Backtick("gst-launch -t filesrc location=$media ! decodebin"); ++ my ($rc, $output) = Backtick("$found{'gst-launch'} -t filesrc location=$media ! decodebin"); + die "Could not extract tags: $!\n" if ($rc != 0); + my $tags = 0; +- # Parse gst-launch -t output ++ # Parse gst-launch-1.0 -t output + # FOUND TAG : found by element "qtdemux0". + # title: Just Dance + # artist: Lady GaGa & Colby O'Donis diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..b3f36a5 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +fix-readme-url.patch +gstreamer.patch |