Merge lp:~kroq-gar78/ubuntu/quantal/vorbis-tools/vorbistagedit-fixes into lp:ubuntu/quantal/vorbis-tools

Proposed by Aditya V
Status: Merged
Merged at revision: 11
Proposed branch: lp:~kroq-gar78/ubuntu/quantal/vorbis-tools/vorbistagedit-fixes
Merge into: lp:ubuntu/quantal/vorbis-tools
Diff against target: 83 lines (+26/-6)
3 files modified
debian/changelog (+10/-0)
debian/extra/vorbistagedit (+11/-3)
debian/extra/vorbistagedit.1 (+5/-3)
To merge this branch: bzr merge lp:~kroq-gar78/ubuntu/quantal/vorbis-tools/vorbistagedit-fixes
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+108463@code.launchpad.net

Description of the change

This merge request will fix three bugs in 'vorbistagedit': 1. allow support for .oga, .ogv, .ogx, and .spx files, 2. make '-v' option show version (as it says in --help), and 3. show usage and exit with code 1 if no arguments given

To post a comment you must log in.
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, is there any chance you could sent those changes back to upstream and Debian? They don't seem Ubuntu specific

Revision history for this message
Sebastien Bacher (seb128) wrote :

hey, do you think you could send that work to Debian as well?

Revision history for this message
Aditya V (kroq-gar78) wrote :

Ok, I'll forward it

Revision history for this message
Stéphane Graber (stgraber) wrote :

I merged your branch and uploaded it but as mentioned before, these changes really belong in Debian so I'd at like to see bugs opened on their BTS for these: http://bugs.debian.org/cgi-bin/pkgreport.cgi?repeatmerged=no&src=vorbis-tools

The rational for applying the changes in Ubuntu anyway is that the Debian maintainer doesn't seem too reactive (last upload in 2010) and we're already carrying a delta, but I'd like to see that delta gona with the next Debian upload.

I added a Debian task to all of your bugs. Please forward the patches to the Debian BTS, then link the LP bugs with the Debian BTS.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2012-03-15 17:46:57 +0000
+++ debian/changelog 2012-06-02 17:50:24 +0000
@@ -1,3 +1,13 @@
1vorbis-tools (1.4.0-1ubuntu3) quantal; urgency=low
2
3 * debian/extra/vorbistagedit:
4 - allow support for .oga, .ogv, .ogx, and .spx files (LP: #313529)
5 - make '-v' option show version (LP: #1005273)
6 - show usage and exit with code 1 if no arguments given (LP: #1005278)
7 * debian/extra/vorbistagedit: add information about OGG extensions
8
9 -- Aditya Vaidya <kroq.gar78@gmail.com> Sun, 27 May 2012 15:45:45 -0500
10
1vorbis-tools (1.4.0-1ubuntu2) precise; urgency=low11vorbis-tools (1.4.0-1ubuntu2) precise; urgency=low
212
3 * debian/patches/fix_xiph_url.diff:13 * debian/patches/fix_xiph_url.diff:
414
=== modified file 'debian/extra/vorbistagedit'
--- debian/extra/vorbistagedit 2010-04-05 14:05:24 +0000
+++ debian/extra/vorbistagedit 2012-06-02 17:50:24 +0000
@@ -19,12 +19,19 @@
19usage() {19usage() {
20 versioninfo20 versioninfo
21 echo21 echo
22 echo Usage: $ME file1.ogg [file2.ogg [file3.ogg ...]] >&222 echo Usage: $ME file1 [file2 [file3 ...]] >&2
23 echo23 echo .oga, .ogg, .ogv, .ogx, and .spx are the >&2
24 echo supported file extensions >&2
25 echo
24 echo If no filenames are given, the list of filenames >&226 echo If no filenames are given, the list of filenames >&2
25 echo is read from stdin, one per line. >&227 echo is read from stdin, one per line. >&2
26}28}
2729
30if [ $# -eq 0 ]; then
31 usage
32 exit 1
33fi
34
28for opt in $(getopt -n $ME -l version,help -o Vh? -- $@); do35for opt in $(getopt -n $ME -l version,help -o Vh? -- $@); do
29 case $opt in36 case $opt in
30 --version|-V)37 --version|-V)
@@ -36,6 +43,7 @@
36 --) :;;43 --) :;;
37 -*)44 -*)
38 echo "E: $ME: invalid argument: $opt" >&245 echo "E: $ME: invalid argument: $opt" >&2
46 usage
39 exit 1;;47 exit 1;;
40 *) :;;48 *) :;;
41 esac49 esac
@@ -76,7 +84,7 @@
7684
77for i in "$@"; do85for i in "$@"; do
78 case "$i" in86 case "$i" in
79 *.ogg)87 *.ogg|*.oga|*.ogv|*.ogx|*.spx)
80 if [ ! -r "$i" ]; then88 if [ ! -r "$i" ]; then
81 echo "E: $ME: unreadable file: $i" >&289 echo "E: $ME: unreadable file: $i" >&2
82 exit 290 exit 2
8391
=== modified file 'debian/extra/vorbistagedit.1'
--- debian/extra/vorbistagedit.1 2007-06-06 19:01:31 +0000
+++ debian/extra/vorbistagedit.1 2012-06-02 17:50:24 +0000
@@ -5,8 +5,8 @@
55
6.SH "SYNOPSIS"6.SH "SYNOPSIS"
7.B vorbistagedit7.B vorbistagedit
8.I file1.ogg 8.I file1
9.BI [ \|file2.ogg \ \|[ \|file3.ogg\ ... \|] \| ]9.BI [ \|file2 \ \|[ \|file3\ ... \|] \| ]
10.PP10.PP
11.B vorbistagedit11.B vorbistagedit
12.BR [ \|--version | \-V | \-v\| ]12.BR [ \|--version | \-V | \-v\| ]
@@ -23,7 +23,9 @@
23allows batch editing of vorbis comments with an editor.\ If more than one OGG23allows batch editing of vorbis comments with an editor.\ If more than one OGG
24Vorbis file is specified,24Vorbis file is specified,
25.B vorbistagedit25.B vorbistagedit
26opens a unique editor for all files given. 26opens a unique editor for all files given. The supported file extensions for
27.B vorbistagedit
28are .oga, .ogg, .ogv, .ogx, and .spx.
2729
2830
2931

Subscribers

People subscribed via source and target branches

to all changes: