Package: crip
Version: 3.7-3
Severity: important
Tags: patch

newer flac versions (1.1.3 and newer, according to
http://flac.sourceforge.net/changelog.html#flac_1_1_3) no longer support
the metaflac --import-vc-from option, and need --import-tags-from. The
attached patch fixes this, and makes the Depends: on flac versionned to
avoid problems with older versions that don't support the new syntax yet
(it is supported since 1.1.1)

Frank


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages crip depends on:
ii  cdparanoia            3.10+debian~pre0-6 audio extraction tool for sampling
ii  flac                  1.2.1-1            Free Lossless Audio Codec - comman
ii  libcddb-get-perl      2.23-2             read the CDDB entry for an audio C
ii  perl                  5.8.8-12           Larry Wall's Practical Extraction 
ii  sox                   14.0.0-5           Swiss army knife of sound processi
ii  vorbis-tools          1.1.1-15           several Ogg Vorbis tools
ii  vorbisgain            0.36-3             add Replay Gain volume tags to Ogg

crip recommends no packages.

-- no debconf information
diff -urN crip-3.7/debian/patches/00list crip-3.7.new/debian/patches/00list
--- crip-3.7/debian/patches/00list      2007-12-25 12:30:40.000000000 +0100
+++ crip-3.7.new/debian/patches/00list  2007-12-25 12:29:51.000000000 +0100
@@ -1,3 +1,4 @@
 10sensible_editor.dpatch
 20missing_option.dpatch
 30dont_overwrite_files.dpatch
+40metaflac_syntax_changes.dpatch
diff -urN crip-3.7/debian/patches/40metaflac_syntax_changes.dpatch 
crip-3.7.new/debian/patches/40metaflac_syntax_changes.dpatch
--- crip-3.7/debian/patches/40metaflac_syntax_changes.dpatch    1970-01-01 
01:00:00.000000000 +0100
+++ crip-3.7.new/debian/patches/40metaflac_syntax_changes.dpatch        
2007-12-25 12:29:17.000000000 +0100
@@ -0,0 +1,37 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 40metaflac_syntax_changes.dpatch by Frank Gevaerts <[EMAIL PROTECTED]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Metaflac command line syntax changes
+
[EMAIL PROTECTED]@
+
+diff -ur crip-3.7/crip crip-3.7.fg/crip
+--- crip-3.7/crip      2007-12-25 12:26:00.000000000 +0100
++++ crip-3.7.fg/crip   2007-12-25 12:26:32.000000000 +0100
+@@ -2105,11 +2105,11 @@
+                       if ($flacflags =~ m/--ogg/i) {
+                               print "Tagging $oname[$listnum][$index].ogg:\n";
+                               $out=`cat -- $name[$listnum][$index].tag`;  
print $out, "\n";
+-                              `metaflac 
--import-vc-from=$name[$listnum][$index].tag $name[$listnum][$index].ogg`;
++                              `metaflac 
--import-tags-from=$name[$listnum][$index].tag $name[$listnum][$index].ogg`;
+                       } else {
+                               print "Tagging 
$oname[$listnum][$index].flac:\n";
+                               $out=`cat -- $name[$listnum][$index].tag`;  
print $out, "\n";
+-                              `metaflac 
--import-vc-from=$name[$listnum][$index].tag $name[$listnum][$index].flac`;
++                              `metaflac 
--import-tags-from=$name[$listnum][$index].tag $name[$listnum][$index].flac`;
+                       }
+               }
+ 
+diff -ur crip-3.7/debian/control crip-3.7.fg/debian/control
+--- crip-3.7/debian/control    2007-12-25 12:25:04.000000000 +0100
++++ crip-3.7.fg/debian/control 2007-12-25 12:26:35.000000000 +0100
+@@ -7,7 +7,7 @@
+ 
+ Package: crip
+ Architecture: all
+-Depends: ${perl:Depends}, cdparanoia, libcddb-get-perl, vorbis-tools, 
vorbisgain, flac, sox
++Depends: ${perl:Depends}, cdparanoia, libcddb-get-perl, vorbis-tools, 
vorbisgain, flac (>= 1.1.1), sox
+ Description: terminal-based ripper/encoder/tagger tool
+  crip creates Ogg Vorbis/FLAC/MP3 files under UNIX/Linux. It is 
+  well-suited for anyone (especially the perfectionist) who seeks to

Reply via email to