Merge lp:~e7appew/ubuntu/wily/audio-convert/nmu into lp:ubuntu/wily/audio-convert

Proposed by Carlos Maddela
Status: Needs review
Proposed branch: lp:~e7appew/ubuntu/wily/audio-convert/nmu
Merge into: lp:ubuntu/wily/audio-convert
Diff against target: 776 lines (+397/-228)
16 files modified
audio-convert (+1/-1)
debian/changelog (+11/-0)
debian/compat (+1/-1)
debian/control (+8/-6)
debian/copyright (+33/-27)
debian/nautilus-script-audio-convert.install (+2/-0)
debian/patches/01_fix_unicode.patch (+98/-109)
debian/patches/02_fix_monkey_audio_detection.patch (+28/-0)
debian/patches/03_fix_musepack_conv.patch (+53/-0)
debian/patches/04_fix_id3_transfer.patch (+122/-0)
debian/patches/series (+4/-0)
debian/postinst (+0/-38)
debian/prerm (+0/-37)
debian/rules (+34/-8)
debian/source/format (+1/-0)
debian/watch (+1/-1)
To merge this branch: bzr merge lp:~e7appew/ubuntu/wily/audio-convert/nmu
Reviewer Review Type Date Requested Status
Marc Deslauriers Needs Fixing
Review via email: mp+286759@code.launchpad.net

Description of the change

* Bumped Standards Version to 3.9.6.
* Refreshed unicode patch to remove mojibake.
* Fix MusePack conversion (Closes LP: #545544).
* Fix transfer of ID3 tags (Closes LP: #180451).
* Bump suggested packages to recommended (Closes LP: #460749).

To post a comment you must log in.
Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

The merge proposal looks good, but please make the following changes so it can be uploaded to the development release (yakkety):

- Change version to 0.3.1.1-0ubuntu7 and target to yakkety
- Remove "Non-maintainer upload." line from changelog (Ubuntu has no maintainers)

Once that's done, please test build it, I couldn't get it to build in yakkety, it failed with the following error:

dh_install: Cannot find (any matches for) "=>" (tried in "." and "debian/tmp")
dh_install: missing files, aborting

Thanks!

review: Needs Fixing
9. By Carlos Maddela

Bumped Standards Version to 3.9.8.

10. By Carlos Maddela

Refreshed unicode patch to remove mojibake.

11. By Carlos Maddela

Fix MusePack conversion (Closes LP: #545544).

Revision history for this message
Carlos Maddela (e7appew) wrote :

I have updated the changes as you have requested. I wasn't able to
reproduce the build error that you got, but I've made sure that it
builds in both xenial and yakkety.

On 31/05/16 22:43, Marc Deslauriers wrote:
> Review: Needs Fixing
>
> The merge proposal looks good, but please make the following changes so it can be uploaded to the development release (yakkety):
>
> - Change version to 0.3.1.1-0ubuntu7 and target to yakkety
> - Remove "Non-maintainer upload." line from changelog (Ubuntu has no maintainers)
>
> Once that's done, please test build it, I couldn't get it to build in yakkety, it failed with the following error:
>
> dh_install: Cannot find (any matches for) "=>" (tried in "." and "debian/tmp")
> dh_install: missing files, aborting
>
> Thanks!

12. By Carlos Maddela

Fix transfer of ID3 tags (Closes LP: #180451).

13. By Carlos Maddela

Bump suggested packages to recommended (Closes LP: #460749).

14. By Carlos Maddela

Updated upstream URLs.

15. By Carlos Maddela

Release 0.3.1.1-0ubuntu7

Revision history for this message
Carlos Maddela (e7appew) wrote :

I was able to reproduce this build error in another project I've been
working on. The reason it occurs is that
debian/nautilus-script-audio-convert.install needs to be executable. I
have updated that file as executable in my local git repo, so I don't
understand why it hasn't propagated up to Launchpad. Perhaps there is a
bug in git-remote-bzr.

On 31/05/16 22:43, Marc Deslauriers wrote:
> Review: Needs Fixing
>
> The merge proposal looks good, but please make the following changes so it can be uploaded to the development release (yakkety):
>
> - Change version to 0.3.1.1-0ubuntu7 and target to yakkety
> - Remove "Non-maintainer upload." line from changelog (Ubuntu has no maintainers)
>
> Once that's done, please test build it, I couldn't get it to build in yakkety, it failed with the following error:
>
> dh_install: Cannot find (any matches for) "=>" (tried in "." and "debian/tmp")
> dh_install: missing files, aborting
>
> Thanks!

Unmerged revisions

15. By Carlos Maddela

Release 0.3.1.1-0ubuntu7

14. By Carlos Maddela

Updated upstream URLs.

13. By Carlos Maddela

Bump suggested packages to recommended (Closes LP: #460749).

12. By Carlos Maddela

Fix transfer of ID3 tags (Closes LP: #180451).

11. By Carlos Maddela

Fix MusePack conversion (Closes LP: #545544).

10. By Carlos Maddela

Refreshed unicode patch to remove mojibake.

9. By Carlos Maddela

Bumped Standards Version to 3.9.8.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'audio-convert'
--- audio-convert 2007-04-09 21:25:41 +0000
+++ audio-convert 2016-05-31 23:18:55 +0000
@@ -437,7 +437,7 @@
437437
438is_mac()438is_mac()
439{439{
440 file -b "$1" | grep 'Monkey' && echo $1 | grep -i '\.ape$'440 file -b "$1" | grep 'data' && echo $1 | grep -i '\.ape$'
441}441}
442442
443is_aac()443is_aac()
444444
=== modified file 'debian/changelog'
--- debian/changelog 2012-09-24 07:43:22 +0000
+++ debian/changelog 2016-05-31 23:18:55 +0000
@@ -1,3 +1,14 @@
1audio-convert (0.3.1.1-0ubuntu7) yakkety; urgency=low
2
3 * Bumped Standards Version to 3.9.8.
4 * Refreshed unicode patch to remove mojibake.
5 * Fix MusePack conversion (Closes LP: #545544).
6 * Fix transfer of ID3 tags (Closes LP: #180451).
7 * Bump suggested packages to recommended (Closes LP: #460749).
8 * Updated upstream URLs.
9
10 -- Carlos Maddela <e7appew@gmail.com> Wed, 01 Jun 2016 07:37:43 +1000
11
1audio-convert (0.3.1.1-0ubuntu6) quantal; urgency=low12audio-convert (0.3.1.1-0ubuntu6) quantal; urgency=low
213
3 * debian/control: Added ${misc:Depends} and Homepage field 14 * debian/control: Added ${misc:Depends} and Homepage field
415
=== modified file 'debian/compat'
--- debian/compat 2005-12-18 20:23:28 +0000
+++ debian/compat 2016-05-31 23:18:55 +0000
@@ -1,1 +1,1 @@
1519
22
=== modified file 'debian/control'
--- debian/control 2012-09-24 07:43:22 +0000
+++ debian/control 2016-05-31 23:18:55 +0000
@@ -2,16 +2,18 @@
2Section: sound2Section: sound
3Priority: optional3Priority: optional
4Maintainer: Lukas Fittl <lfittl@ubuntu.com>4Maintainer: Lukas Fittl <lfittl@ubuntu.com>
5Build-Depends: debhelper (>= 5), cdbs5Build-Depends: debhelper (>= 9), dh-exec
6Standards-Version: 3.7.36Standards-Version: 3.9.8
7Homepage: http://freecode.com/projects/audio-convert7Homepage: https://savannah.nongnu.org/projects/audio-convert
88
9Package: nautilus-script-audio-convert9Package: nautilus-script-audio-convert
10Section: sound10Section: sound
11Architecture: all11Architecture: all
12Depends: ${misc:Depends}, nautilus-scripts-manager, file, zenity, gawk | mawk12Depends: ${misc:Depends}, nautilus-scripts-manager, file, zenity, gawk | mawk,
13Suggests: lame, vorbis-tools, flac, faac, faad, mplayer | mplayer-nogui13 id3v2
14Description: A nautilus audio converter script14Recommends: lame, vorbis-tools, flac, faac, faad, mplayer | mplayer-nogui,
15 musepack-tools
16Description: Nautilus audio converter script
15 audio convert is a script that converts between WAV, Ogg, MP3, MPC, FLAC, APE,17 audio convert is a script that converts between WAV, Ogg, MP3, MPC, FLAC, APE,
16 AAC, and WMA files. It has an easy-to-use interface that makes it possible to18 AAC, and WMA files. It has an easy-to-use interface that makes it possible to
17 fill in the tags for a few formats, copy the tags from input files into the19 fill in the tags for a few formats, copy the tags from input files into the
1820
=== modified file 'debian/copyright'
--- debian/copyright 2007-12-17 12:48:54 +0000
+++ debian/copyright 2016-05-31 23:18:55 +0000
@@ -1,27 +1,33 @@
1This package was debianized by Lukas Fittl <lfittl@ixios-software.com> on1Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2Sun, 18 Dec 2005 20:23:28 +01002Upstream-Name: audio-convert
33Source: https://savannah.nongnu.org/projects/audio-convert
4It was downloaded from http://freshmeat.net/projects/audio-convert4
55Files: *
6Upstream Author: thetroublemaker <thetroublemaker@inventati.org>6Copyright: 2005 thetroublemaker <thetroublemaker@inventati.org>
77 2005 linfasoft
8Copyright: Copyright (C) 2005 linfasoft8License: GPL-2+
99
10License:10Files: debian/*
1111Copyright: 2005-2007 Lukas Fittl <lfittl@ubuntu.com>
12 This package is free software; you can redistribute it and/or modify12 2007 Emmet Hikory <persia@ubuntu.com>
13 it under the terms of the GNU General Public License as published by13 2010 Brian Murray <brian@ubuntu.com>
14 the Free Software Foundation; either version 2 of the License, or14 2012 Benjamin Kerensa <bkerensa@ubuntu.com>
15 (at your option) any later version.15 2016 Carlos Maddela <e7appew@gmail.com>
1616License: GPL-2+
17 This package is distributed in the hope that it will be useful,17
18 but WITHOUT ANY WARRANTY; without even the implied warranty of18License: GPL-2+
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the19 This package is free software; you can redistribute it and/or modify
20 GNU General Public License for more details.20 it under the terms of the GNU General Public License as published by
2121 the Free Software Foundation; either version 2 of the License, or
22 You should have received a copy of the GNU General Public License22 (at your option) any later version.
23 along with this package; if not, write to the Free Software Foundation,23 .
24 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.24 This package is distributed in the hope that it will be useful,
2525 but WITHOUT ANY WARRANTY; without even the implied warranty of
26On Debian systems, the complete text of the GNU General26 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27Public License can be found in `/usr/share/common-licenses/GPL'.27 GNU General Public License for more details.
28 .
29 You should have received a copy of the GNU General Public License
30 along with this program. If not, see <https://www.gnu.org/licenses/>
31 .
32 On Debian systems, the complete text of the GNU General
33 Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
2834
=== added file 'debian/nautilus-script-audio-convert.install'
--- debian/nautilus-script-audio-convert.install 1970-01-01 00:00:00 +0000
+++ debian/nautilus-script-audio-convert.install 2016-05-31 23:18:55 +0000
@@ -0,0 +1,2 @@
1#!/usr/bin/dh-exec
2audio-convert => /usr/share/nautilus-scripts/ConvertAudioFile
03
=== modified file 'debian/patches/01_fix_unicode.patch'
--- debian/patches/01_fix_unicode.patch 2006-05-10 01:33:25 +0000
+++ debian/patches/01_fix_unicode.patch 2016-05-31 23:18:55 +0000
@@ -1,16 +1,82 @@
1diff -Naur audio-convert-0.3.1.1.orig/audio-convert audio-convert-0.3.1.1/audio-convert1From: Lukas Fittl <lfittl@ubuntu.com>
2--- audio-convert-0.3.1.1.orig/audio-convert 2005-11-12 00:50:42.000000000 +01002Date: Sun, 21 Feb 2016 18:48:06 +1100
3+++ audio-convert-0.3.1.1/audio-convert 2006-05-10 01:24:03.000000000 +02003Subject: Fix unicode
4@@ -74,7 +74,7 @@4
5 options="choose from the followin' options:"5Description: Fix unicode
6 options_conflict="options one and two conflict. please unselect one of them"6Author: Lukas Fittl <lfittl@ubuntu.com>
7 case $LANG in7Origin: vendor, https://launchpadlibrarian.net/2549375/fix_42841.patch
8- ######## Français ########8Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/audio-convert/+bug/42841
9+ ######## Français ########9Last-Update: 2016-02-21
10 fr* )10---
11 title="audio convert "$version""11This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
12 pleasesel="Merci de selectionner au moins un fichier."12---
13@@ -102,13 +102,13 @@13 ChangeLog | 4 +--
14 README.ES | 14 +++++------
15 audio-convert | 78 +++++++++++++++++++++++++++++------------------------------
16 3 files changed, 48 insertions(+), 48 deletions(-)
17
18diff --git a/ChangeLog b/ChangeLog
19index 1c32341..b635e62 100644
20--- a/ChangeLog
21+++ b/ChangeLog
22@@ -9,7 +9,7 @@
23
24 2005-11-06 thetroublemaker <thetroublemaker@inventati.org>
25
26- * fixed the 'é' bug in 'ask_track' in french translation
27+ * fixed the 'é' bug in 'ask_track' in french translation
28 and in 'recur' in portuguese translation
29 * modified 'mp3_parse_fields' function for efficiency
30 * added the program title to the completed message
31@@ -26,7 +26,7 @@
32
33 * fixed a bug in the french translation which prevented
34 quality from bein' asked, which of course prevented
35- pretty much every other step. replaced 'é' with 'e'
36+ pretty much every other step. replaced 'é' with 'e'
37
38 2005-11-03 thetroublemaker <thetroublemaker@inventati.org>
39
40diff --git a/README.ES b/README.ES
41index 0e5307a..4bfbf30 100644
42--- a/README.ES
43+++ b/README.ES
44@@ -1,7 +1,7 @@
45 11/07/2005 (MM/DD/YY Spanish way :) )
46
47-=== Introducción ===
48-Documentación del "audio convert script" en castellano.
49+=== Introducción ===
50+Documentación del "audio convert script" en castellano.
51
52 === Como utilizar el "script" ===
53
54@@ -10,14 +10,14 @@ Documentaci
55
56 * Para instalarlo como un "script" de Rox,
57
58- * Para utilizarlo como un bash "script" se requiere estar en X y tener zenity instalado, simplemente entra: "audio-convert path/to/archivo..." y especifica tantos archivos como quieras, estos serán procesados uno por uno al igual que sucede cuando seleccionas múltiples archivos en nautilus o Rox.
59+ * Para utilizarlo como un bash "script" se requiere estar en X y tener zenity instalado, simplemente entra: "audio-convert path/to/archivo..." y especifica tantos archivos como quieras, estos serán procesados uno por uno al igual que sucede cuando seleccionas múltiples archivos en nautilus o Rox.
60
61-=== Explicación de algunos valores ===
62+=== Explicación de algunos valores ===
63
64- * La elección de calidad para mp3, ogg, y mpc se entiende claramente y no necesita mayor explicación. Estas están en orden ascendente, el primer parámetro tiene la calidad mas baja posible, mientras que el último tiene la calidad mas alta; el valor sugerido esta casi siempre cercano a la de mejor calidad.
65+ * La elección de calidad para mp3, ogg, y mpc se entiende claramente y no necesita mayor explicación. Estas están en orden ascendente, el primer parámetro tiene la calidad mas baja posible, mientras que el último tiene la calidad mas alta; el valor sugerido esta casi siempre cercano a la de mejor calidad.
66
67- * En cuanto a los formatos flac y ape, tal vez sea necesario explicar un poco, estos están en orden ascendente al igual que los anteriores. La elección de calidad en estos casos se refiere a la calidad con la cual son comprimidos, mientras más alta la calidad que se elija, mayor serán comprimidos; generalmente elegir la mayor calidad posible es la mejor opción, pero ten en cuenta que demorará más tiempo en comprimirlos.
68+ * En cuanto a los formatos flac y ape, tal vez sea necesario explicar un poco, estos están en orden ascendente al igual que los anteriores. La elección de calidad en estos casos se refiere a la calidad con la cual son comprimidos, mientras más alta la calidad que se elija, mayor serán comprimidos; generalmente elegir la mayor calidad posible es la mejor opción, pero ten en cuenta que demorará más tiempo en comprimirlos.
69
70 === EOF ===
71 Sugerencias, bugs y comentarios a: http://savannah.nongnu.org/projects/audio-convert/ o por email: <thetroublemaker@inventati.org>
72-Nota: Debes mandarlos en ingles! :)
73\ No newline at end of file
74+Nota: Debes mandarlos en ingles! :)
75diff --git a/audio-convert b/audio-convert
76index e83cc0e..d86c4e6 100755
77--- a/audio-convert
78+++ b/audio-convert
79@@ -102,13 +102,13 @@ case $LANG in
14 choix="formato di conversione:"80 choix="formato di conversione:"
15 warning="attenzione"81 warning="attenzione"
16 proceed="esiste! sovrascrivo?"82 proceed="esiste! sovrascrivo?"
@@ -26,7 +92,7 @@
26 ask_compression="scegli il livello di compressione:"92 ask_compression="scegli il livello di compressione:"
27 confirmation="vuoi convertire"93 confirmation="vuoi convertire"
28 decoding="sto decodificando il file:"94 decoding="sto decodificando il file:"
29@@ -125,17 +125,17 @@95@@ -125,17 +125,17 @@ case $LANG in
30 title="audio convert "$version""96 title="audio convert "$version""
31 pleasesel="por favor, selecione pelo menos um arquivo."97 pleasesel="por favor, selecione pelo menos um arquivo."
32 noselec=""$title" converter arquivos de audio. "$pleasesel""98 noselec=""$title" converter arquivos de audio. "$pleasesel""
@@ -51,7 +117,7 @@
51 decoding="decodificando arquivo:";;117 decoding="decodificando arquivo:";;
52 ######## dutch ########118 ######## dutch ########
53 nl* )119 nl* )
54@@ -163,47 +163,47 @@120@@ -163,47 +163,47 @@ case $LANG in
55 ######## german ########121 ######## german ########
56 de* )122 de* )
57 title="Audio konvertier Skript "$version""123 title="Audio konvertier Skript "$version""
@@ -115,126 +181,49 @@
115 no_codec="No tenrs el codec correcto para descodificar el elijido archivo. Falta:"181 no_codec="No tenrs el codec correcto para descodificar el elijido archivo. Falta:"
116 not_supported="Format no es soportado";;182 not_supported="Format no es soportado";;
117 ######## polish ########183 ######## polish ########
118@@ -212,24 +212,24 @@184@@ -213,23 +213,23 @@ case $LANG in
119 pleasesel="wybierz co najmniej jeden plik."
120 noselec="konwersja pliku "$title". "$pleasesel""185 noselec="konwersja pliku "$title". "$pleasesel""
121 choix="rozszerzenie pliku wynikowego:"186 choix="rozszerzenie pliku wynikowego:"
122- warning="ostrzeżenie"187 warning="ostrzeżenie"
123- proceed="już istnieje. zastÄ~EpiÄ~G ?"188- proceed="już istnieje. zastÄ~EpiÄ~G ?"
124- recur=""$title" nie można konwertowaÄ~G katalogów. "$pleasesel""189- recur=""$title" nie można konwertowaÄ~G katalogów. "$pleasesel""
125+ warning="ostrzeÅŒenie"190+ proceed="już istnieje. zastąpić ?"
126+ proceed="juÅŒ istnieje. zastÄ~EpiÄ~G ?"191+ recur=""$title" nie można konwertować katalogów. "$pleasesel""
127+ recur=""$title" nie moÅŒna konwertowaÄ~G katalogów. "$pleasesel""
128 conversion="konwersja pliku:"192 conversion="konwersja pliku:"
129- ask_artist="podaj nazwÄ~Y wykonawcy:"193- ask_artist="podaj nazwÄ~Y wykonawcy:"
130- ask_album="podaj nazwÄ~Y albumu:"194- ask_album="podaj nazwÄ~Y albumu:"
131- ask_song="podaj nazwÄ~Y utworu:"195- ask_song="podaj nazwÄ~Y utworu:"
132- ask_track="podaj numer Å~[cieżki:"196- ask_track="podaj numer Å~[cieżki:"
133- ask_quality="wybierz wymagany poziom jakoÃ…~[ci:"197- ask_quality="wybierz wymagany poziom jakoÃ…~[ci:"
134+ ask_artist="podaj nazwÄ~Y wykonawcy:"198+ ask_artist="podaj nazwę wykonawcy:"
135+ ask_album="podaj nazwÄ~Y albumu:"199+ ask_album="podaj nazwę albumu:"
136+ ask_song="podaj nazwÄ~Y utworu:"200+ ask_song="podaj nazwę utworu:"
137+ ask_track="podaj numer Å~[cieÅŒki:"201+ ask_track="podaj numer ścieżki:"
138+ ask_quality="wybierz wymagany poziom jakoÅ~[ci:"202+ ask_quality="wybierz wymagany poziom jakości:"
139 ask_compression="wybierz wymagany poziom kompresji:"203 ask_compression="wybierz wymagany poziom kompresji:"
140- confirmation="chcesz użyÄ~G konwersji"204- confirmation="chcesz użyÄ~G konwersji"
141+ confirmation="chcesz uÅŒyÄ~G konwersji"205+ confirmation="chcesz użyć konwersji"
142 decoding="dekodowany plik:"206 decoding="dekodowany plik:"
143- ask_fields="chcesz umieÅ~[ciÄ~G tagi ?"207- ask_fields="chcesz umieÅ~[ciÄ~G tagi ?"
144- ask_confirmation_question="chcesz używaÄ~G potwierdzenia przed każdÄ~E konwersjÄ~E ?"208- ask_confirmation_question="chcesz używaÄ~G potwierdzenia przed każdÄ~E konwersjÄ~E ?"
145+ ask_fields="chcesz umieÅ~[ciÄ~G tagi ?"209+ ask_fields="chcesz umieścić tagi ?"
146+ ask_confirmation_question="chcesz uÅŒywaÄ~G potwierdzenia przed kaÅŒdÄ~E konwersjÄ~E ?"210+ ask_confirmation_question="chcesz używać potwierdzenia przed każdą konwersją ?"
147 no_codec="nie posiadasz odpowiedniego kodeka dla wykonania wymaganej operacji. missin' codec:"211 no_codec="nie posiadasz odpowiedniego kodeka dla wykonania wymaganej operacji. missin' codec:"
148- not_supported="brak obsÃ…~Bugi wskazanego formatu"212- not_supported="brak obsÃ…~Bugi wskazanego formatu"
149- completed="konwersjÄ~Y zakoÅ~Dczono. Pa, pa!"213- completed="konwersjÄ~Y zakoÅ~Dczono. Pa, pa!"
150- ask_to_pass="chcesz eksportowaÄ~G metatagi do innych plików?"214- ask_to_pass="chcesz eksportowaÄ~G metatagi do innych plików?"
151+ not_supported="brak obsÅ~Bugi wskazanego formatu"215+ not_supported="brak obsługi wskazanego formatu"
152+ completed="konwersjÄ~Y zakoÅ~Dczono. Pa, pa!"216+ completed="konwersję zakończono. Pa, pa!"
153+ ask_to_pass="chcesz eksportowaÄ~G metatagi do innych plików?"217+ ask_to_pass="chcesz eksportować metatagi do innych plików?"
154 esac218 esac
155 219
156 #################################################220 #################################################
157@@ -1172,7 +1172,7 @@221@@ -1309,7 +1309,7 @@ file_number=$#
158
159 #################################################
160 # PROGRAMME
161-#### Pas de fichiers sélectionné ###
162+#### Pas de fichiers sélectionné ###
163 if [ $# -eq 0 ]; then
164 zenity --error --title="$warning" --text="$noselec"
165 exit 1
166@@ -1279,8 +1279,8 @@
167 then # formats to convert to
168 depformat="$depformat wav"
169 fi
170-######## Fenêtre principale ########
171-while [ ! "$formatout" ] # Réafficher la fenêtre tant que l'utilisateur n'a pas fait de choix
172+######## Fenêtre principale ########
173+while [ ! "$formatout" ] # Réafficher la fenêtre tant que l'utilisateur n'a pas fait de choix
174 do
175
176
177@@ -1309,7 +1309,7 @@
178 #echo "# $conversion $in_file"222 #echo "# $conversion $in_file"
179 i=`echo $i | sed 's/"//g'`223 i=`echo $i | sed 's/"//g'`
180 while `true`; do224 while `true`; do
181- ########## Le fichier de sortie existe déjÃ| , l'écraser ? ##########225- ########## Le fichier de sortie existe déjÃ| , l'écraser ? ##########
182+ ########## Le fichier de sortie existe déjÃ| , l'écraser ? ##########226+ ########## Le fichier de sortie existe déjà , l'écraser ? ##########
183 if ls "$out_file" | grep -v "^ls"227 if ls "$out_file" | grep -v "^ls"
184 then228 then
185 if !(`gdialog --title "$warning" --yesno "$out_file $proceed" 200 100`)229 if !(`gdialog --title "$warning" --yesno "$out_file $proceed" 200 100`)
186diff -Naur audio-convert-0.3.1.1.orig/ChangeLog audio-convert-0.3.1.1/ChangeLog
187--- audio-convert-0.3.1.1.orig/ChangeLog 2005-11-12 00:50:42.000000000 +0100
188+++ audio-convert-0.3.1.1/ChangeLog 2006-05-10 01:24:59.000000000 +0200
189@@ -9,7 +9,7 @@
190
191 2005-11-06 thetroublemaker <thetroublemaker@inventati.org>
192
193- * fixed the 'é' bug in 'ask_track' in french translation
194+ * fixed the 'é' bug in 'ask_track' in french translation
195 and in 'recur' in portuguese translation
196 * modified 'mp3_parse_fields' function for efficiency
197 * added the program title to the completed message
198@@ -26,7 +26,7 @@
199
200 * fixed a bug in the french translation which prevented
201 quality from bein' asked, which of course prevented
202- pretty much every other step. replaced 'é' with 'e'
203+ pretty much every other step. replaced 'é' with 'e'
204
205 2005-11-03 thetroublemaker <thetroublemaker@inventati.org>
206
207diff -Naur audio-convert-0.3.1.1.orig/README.ES audio-convert-0.3.1.1/README.ES
208--- audio-convert-0.3.1.1.orig/README.ES 2005-11-12 00:50:42.000000000 +0100
209+++ audio-convert-0.3.1.1/README.ES 2006-05-10 01:24:46.000000000 +0200
210@@ -1,7 +1,7 @@
211 11/07/2005 (MM/DD/YY Spanish way :) )
212
213-=== Introducción ===
214-Documentación del "audio convert script" en castellano.
215+=== Introducción ===
216+Documentación del "audio convert script" en castellano.
217
218 === Como utilizar el "script" ===
219
220@@ -10,14 +10,14 @@
221
222 * Para instalarlo como un "script" de Rox,
223
224- * Para utilizarlo como un bash "script" se requiere estar en X y tener zenity instalado, simplemente entra: "audio-convert path/to/archivo..." y especifica tantos archivos como quieras, estos serán procesados uno por uno al igual que sucede cuando seleccionas múltiples archivos en nautilus o Rox.
225+ * Para utilizarlo como un bash "script" se requiere estar en X y tener zenity instalado, simplemente entra: "audio-convert path/to/archivo..." y especifica tantos archivos como quieras, estos serán procesados uno por uno al igual que sucede cuando seleccionas múltiples archivos en nautilus o Rox.
226
227-=== Explicación de algunos valores ===
228+=== Explicación de algunos valores ===
229
230- * La elección de calidad para mp3, ogg, y mpc se entiende claramente y no necesita mayor explicación. Estas están en orden ascendente, el primer parámetro tiene la calidad mas baja posible, mientras que el último tiene la calidad mas alta; el valor sugerido esta casi siempre cercano a la de mejor calidad.
231+ * La elección de calidad para mp3, ogg, y mpc se entiende claramente y no necesita mayor explicación. Estas están en orden ascendente, el primer parámetro tiene la calidad mas baja posible, mientras que el último tiene la calidad mas alta; el valor sugerido esta casi siempre cercano a la de mejor calidad.
232
233- * En cuanto a los formatos flac y ape, tal vez sea necesario explicar un poco, estos están en orden ascendente al igual que los anteriores. La elección de calidad en estos casos se refiere a la calidad con la cual son comprimidos, mientras más alta la calidad que se elija, mayor serán comprimidos; generalmente elegir la mayor calidad posible es la mejor opción, pero ten en cuenta que demorará más tiempo en comprimirlos.
234+ * En cuanto a los formatos flac y ape, tal vez sea necesario explicar un poco, estos están en orden ascendente al igual que los anteriores. La elección de calidad en estos casos se refiere a la calidad con la cual son comprimidos, mientras más alta la calidad que se elija, mayor serán comprimidos; generalmente elegir la mayor calidad posible es la mejor opción, pero ten en cuenta que demorará más tiempo en comprimirlos.
235
236 === EOF ===
237 Sugerencias, bugs y comentarios a: http://savannah.nongnu.org/projects/audio-convert/ o por email: <thetroublemaker@inventati.org>
238-Nota: Debes mandarlos en ingles! :)
239\ No newline at end of file
240+Nota: Debes mandarlos en ingles! :)
241230
=== added file 'debian/patches/02_fix_monkey_audio_detection.patch'
--- debian/patches/02_fix_monkey_audio_detection.patch 1970-01-01 00:00:00 +0000
+++ debian/patches/02_fix_monkey_audio_detection.patch 2016-05-31 23:18:55 +0000
@@ -0,0 +1,28 @@
1From: Carlos Maddela <e7appew@gmail.com>
2Date: Sun, 21 Feb 2016 18:24:23 +1100
3Subject: Fix monkey audio file detection
4
5Description: Fix monkey audio file detection
6Author: Sebastian Stark (kybercran)
7Origin: vendor, https://launchpadlibrarian.net/7101413/ConvertAudioFile.diff
8Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/audio-convert/+bug/99957
9Last-Update: 2016-02-21
10---
11This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
12---
13 audio-convert | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/audio-convert b/audio-convert
17index db4b883..6f47e40 100755
18--- a/audio-convert
19+++ b/audio-convert
20@@ -437,7 +437,7 @@ is_flac()
21
22 is_mac()
23 {
24- file -b "$1" | grep 'data' && echo $1 | grep -i '\.ape$'
25+ file -b "$1" | grep 'Monkey' && echo $1 | grep -i '\.ape$'
26 }
27
28 is_aac()
029
=== added file 'debian/patches/03_fix_musepack_conv.patch'
--- debian/patches/03_fix_musepack_conv.patch 1970-01-01 00:00:00 +0000
+++ debian/patches/03_fix_musepack_conv.patch 2016-05-31 23:18:55 +0000
@@ -0,0 +1,53 @@
1From: Carlos Maddela <e7appew@gmail.com>
2Date: Sun, 21 Feb 2016 19:44:11 +1100
3Subject: Fix MusePack conversion
4
5Description: Fix MusePack conversion
6Author: Carlos Maddela <e7appew@gmail.com>
7Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/audio-convert/+bug/545544
8Last-Update: 2016-02-21
9---
10This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
11---
12 audio-convert | 8 ++++----
13 1 file changed, 4 insertions(+), 4 deletions(-)
14
15diff --git a/audio-convert b/audio-convert
16index 1cb11bc..c8c299a 100755
17--- a/audio-convert
18+++ b/audio-convert
19@@ -473,7 +473,7 @@ ogg_encode ()
20
21 mpc_encode ()
22 {
23- mppenc --$quality "$2" "$3" 2>&1 | awk -vRS='\r' '!/^$/{if (NR>5) print $1; fflush();}' | zenity --progress --title="$title" --text="$conversion $1" --auto-close
24+ mpcenc --$quality "$2" "$3" 2>&1 | awk -vRS='\r' '!/^$/{if (NR>5) print $1; fflush();}' | zenity --progress --title="$title" --text="$conversion $1" --auto-close
25 }
26
27 flac_encode ()
28@@ -512,7 +512,7 @@ ogg_decode ()
29 mpc_decode ()
30 {
31 temp_file=`echo "$1" | sed 's/\.\w*$/'.wav'/'`
32- mppdec "$1" "$temp_file" 2>&1 | awk -vRS='\r' -F'[ (]+' '!/s/{gsub(/(%)/," ");if(NR>5)print $5; fflush();}' | zenity --progress --title="$title" --text="$2 $1" --auto-close
33+ mpcdec "$1" "$temp_file" 2>&1 | awk -vRS='\r' -F'[ (]+' '!/s/{gsub(/(%)/," ");if(NR>5)print $5; fflush();}' | zenity --progress --title="$title" --text="$2 $1" --auto-close
34 }
35
36 flac_decode ()
37@@ -1211,14 +1211,14 @@ else # if we don't have vorbis-tools, check if the file to convert is an ogg
38 exit 1
39 fi
40 fi
41-if which mppenc 2>/dev/null
42+if which mpcenc 2>/dev/null
43 then
44 if !(is_mpc "$1") # if we have musepack-tools, and the file to convert is not
45 then # an mpc, add mpc to the list of formats to convert to
46 depformat="$depformat mpc"
47 fi
48 fi
49-if !(which mppdec 2>/dev/null)
50+if !(which mpcdec 2>/dev/null)
51 then # if we don't have musepack-tools, check if the file to convert is an mpc
52 if (is_mpc "$1")
53 then
054
=== added file 'debian/patches/04_fix_id3_transfer.patch'
--- debian/patches/04_fix_id3_transfer.patch 1970-01-01 00:00:00 +0000
+++ debian/patches/04_fix_id3_transfer.patch 2016-05-31 23:18:55 +0000
@@ -0,0 +1,122 @@
1From: Carlos Maddela <e7appew@gmail.com>
2Date: Mon, 22 Feb 2016 04:38:52 +1100
3Subject: Fix transfer of ID3 tags
4
5Description: Fix transfer of ID3 tags
6 Use id3v2 instead of id3info/id3tag since it properly handles character
7 encoding.
8Author: Carlos Maddela <e7appew@gmail.com>
9Origin: vendor
10Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/audio-convert/+bug/180451
11Last-Update: 2016-02-22
12---
13This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
14---
15 audio-convert | 28 ++++++++++++++--------------
16 1 file changed, 14 insertions(+), 14 deletions(-)
17
18diff --git a/audio-convert b/audio-convert
19index c8c299a..dfa3b27 100755
20--- a/audio-convert
21+++ b/audio-convert
22@@ -33,7 +33,7 @@
23 # mplayer -- if you want to decode wma files
24 # lame
25 # vorbis tools
26-# id3tag
27+# id3v2
28 # musepack-tools
29 # flac
30 # mac
31@@ -304,10 +304,10 @@ get_metatags ()
32 {
33 if (is_mp3 "$1")
34 then
35- artist_name=`id3info "$1" | awk '/TPE1/ { print substr($0, match($0, /:/) + 2 ) }'`
36- album_name=`id3info "$1" | awk '/TALB/ { print substr($0, match($0, /:/) + 2 ) }'`
37- song_name=`id3info "$1" | awk '/TIT2/ { print substr($0, match($0, /:/) + 2 ) }'`
38- track_number=`id3info "$1" | awk '/TRCK/ { print substr($0, match($0, /:/) + 2 ) }'`
39+ artist_name=`id3v2 -l "$1" | awk '/TPE1/ { print substr($0, match($0, /:/) + 2 ) }'`
40+ album_name=`id3v2 -l "$1" | awk '/TALB/ { print substr($0, match($0, /:/) + 2 ) }'`
41+ song_name=`id3v2 -l "$1" | awk '/TIT2/ { print substr($0, match($0, /:/) + 2 ) }'`
42+ track_number=`id3v2 -l "$1" | awk '/TRCK/ { print substr($0, match($0, /:/) + 2 ) }'`
43 fi
44 if (is_ogg "$1")
45 then
46@@ -344,11 +344,11 @@ mp3_parse_fields ()
47 fi
48 if [ "$song_name" ]
49 then
50- mp3_fields=("${mp3_fields[@]}" -s"$song_name")
51+ mp3_fields=("${mp3_fields[@]}" -t"$song_name")
52 fi
53 if [ "$track_number" ]
54 then
55- mp3_fields=("${mp3_fields[@]}" -t"$track_number")
56+ mp3_fields=("${mp3_fields[@]}" -T"$track_number")
57 fi
58 }
59
60@@ -716,7 +716,7 @@ caf () # fonction "convert audio file"
61 if [ $pass_metatags -eq 0 ] || [ $fields -eq 0 ]
62 then
63 mp3_parse_fields
64- id3tag "${mp3_fields[@]}" "$2"
65+ id3v2 "${mp3_fields[@]}" "$2"
66 fi
67 rm -f "$temp_file"
68 break
69@@ -781,7 +781,7 @@ caf () # fonction "convert audio file"
70 then
71 get_field_names "$1"
72 mp3_parse_fields
73- id3tag "${mp3_fields[@]}" "$2"
74+ id3v2 "${mp3_fields[@]}" "$2"
75 break
76 fi
77 mpc_decode "$1" "$decoding"
78@@ -853,7 +853,7 @@ caf () # fonction "convert audio file"
79 if [ $pass_metatags -eq 0 ] || [ $fields -eq 0 ]
80 then
81 mp3_parse_fields
82- id3tag "${mp3_fields[@]}" "$2"
83+ id3v2 "${mp3_fields[@]}" "$2"
84 fi
85 rm -f "$temp_file"
86 break
87@@ -917,7 +917,7 @@ caf () # fonction "convert audio file"
88 then
89 get_field_names "$1"
90 mp3_parse_fields
91- id3tag "${mp3_fields[@]}" "$2"
92+ id3v2 "${mp3_fields[@]}" "$2"
93 break
94 fi
95 mac_decode "$1" "$decoding"
96@@ -989,7 +989,7 @@ caf () # fonction "convert audio file"
97 if [ $pass_metatags -eq 0 ] || [ $fields -eq 0 ]
98 then
99 mp3_parse_fields
100- id3tag "${mp3_fields[@]}" "$2"
101+ id3v2 "${mp3_fields[@]}" "$2"
102 fi
103 rm -f "$temp_file"
104 break
105@@ -1053,7 +1053,7 @@ caf () # fonction "convert audio file"
106 then
107 get_field_names "$1"
108 mp3_parse_fields
109- id3tag "${mp3_fields[@]}" "$2"
110+ id3v2 "${mp3_fields[@]}" "$2"
111 break
112 fi
113 break
114@@ -1106,7 +1106,7 @@ caf () # fonction "convert audio file"
115 then
116 get_field_names "$1"
117 mp3_parse_fields
118- id3tag "${mp3_fields[@]}" "$2"
119+ id3v2 "${mp3_fields[@]}" "$2"
120 break
121 fi
122 rm -f "$temp_file"
0123
=== added file 'debian/patches/series'
--- debian/patches/series 1970-01-01 00:00:00 +0000
+++ debian/patches/series 2016-05-31 23:18:55 +0000
@@ -0,0 +1,4 @@
101_fix_unicode.patch
202_fix_monkey_audio_detection.patch
303_fix_musepack_conv.patch
404_fix_id3_transfer.patch
05
=== removed file 'debian/postinst'
--- debian/postinst 2010-04-07 14:45:33 +0000
+++ debian/postinst 1970-01-01 00:00:00 +0000
@@ -1,38 +0,0 @@
1#!/bin/sh
2# postinst script for audio-convert
3#
4# see: dh_installdeb(1)
5
6set -e
7
8# summary of how this script can be called:
9# * <postinst> `configure' <most-recently-configured-version>
10# * <old-postinst> `abort-upgrade' <new version>
11# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
12# <new-version>
13# * <postinst> `abort-remove'
14# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
15# <failed-install-package> <version> `removing'
16# <conflicting-package> <version>
17# for details, see http://www.debian.org/doc/debian-policy/ or
18# the debian-policy package
19
20
21case "$1" in
22 configure|abort-upgrade|abort-remove|abort-deconfigure)
23 ;;
24
25 *)
26 echo "postinst called with unknown argument \`$1'" >&2
27 exit 1
28 ;;
29esac
30
31# dh_installdeb will replace this with shell code automatically
32# generated by other debhelper scripts.
33
34#DEBHELPER#
35
36exit 0
37
38
390
=== removed file 'debian/prerm'
--- debian/prerm 2010-04-07 14:45:33 +0000
+++ debian/prerm 1970-01-01 00:00:00 +0000
@@ -1,37 +0,0 @@
1#!/bin/sh
2# prerm script for #PACKAGE#
3#
4# see: dh_installdeb(1)
5
6set -e
7
8# summary of how this script can be called:
9# * <prerm> `remove'
10# * <old-prerm> `upgrade' <new-version>
11# * <new-prerm> `failed-upgrade' <old-version>
12# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
13# * <deconfigured's-prerm> `deconfigure' `in-favour'
14# <package-being-installed> <version> `removing'
15# <conflicting-package> <version>
16# for details, see http://www.debian.org/doc/debian-policy/ or
17# the debian-policy package
18
19
20case "$1" in
21 remove|upgrade|deconfigure|failed-upgrade)
22 ;;
23
24 *)
25 echo "prerm called with unknown argument \`$1'" >&2
26 exit 1
27 ;;
28esac
29
30# dh_installdeb will replace this with shell code automatically
31# generated by other debhelper scripts.
32
33#DEBHELPER#
34
35exit 0
36
37
380
=== modified file 'debian/rules'
--- debian/rules 2007-12-17 12:48:54 +0000
+++ debian/rules 2016-05-31 23:18:55 +0000
@@ -1,9 +1,35 @@
1#!/usr/bin/make -f1#!/usr/bin/make -f
22# See debhelper(7) (uncomment to enable)
3include /usr/share/cdbs/1/rules/debhelper.mk3# output every command that modifies files on the build system.
4include /usr/share/cdbs/1/rules/simple-patchsys.mk4#export DH_VERBOSE = 1
55
6DEB_INSTALL_CHANGELOGS_ALL := ChangeLog6# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
77DPKG_EXPORT_BUILDFLAGS = 1
8install/nautilus-script-audio-convert::8include /usr/share/dpkg/default.mk
9 install -D -T audio-convert "debian/nautilus-script-audio-convert/usr/share/nautilus-scripts/ConvertAudioFile"9
10# see FEATURE AREAS in dpkg-buildflags(1)
11#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
12
13# see ENVIRONMENT in dpkg-buildflags(1)
14# package maintainers to append CFLAGS
15#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
16# package maintainers to append LDFLAGS
17#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
18
19
20# main packaging script based on dh7 syntax
21%:
22 dh $@
23
24override_dh_installchangelogs:
25 dh_installchangelogs ChangeLog
26
27# dh_make generated override targets
28# This is example for Cmake (See https://bugs.debian.org/641051 )
29#override_dh_auto_configure:
30# dh_auto_configure -- \
31# -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
32
33
34
35
1036
=== added directory 'debian/source'
=== added file 'debian/source/format'
--- debian/source/format 1970-01-01 00:00:00 +0000
+++ debian/source/format 2016-05-31 23:18:55 +0000
@@ -0,0 +1,1 @@
13.0 (quilt)
02
=== modified file 'debian/watch'
--- debian/watch 2007-12-17 12:48:54 +0000
+++ debian/watch 2016-05-31 23:18:55 +0000
@@ -1,2 +1,2 @@
1version=31version=3
2http://freshmeat.net/projects/audio-convert (?:.*/)?audio-convert-?_?([\d+\.]+|\d+)\.tar.* debian uupdate2http://download.savannah.gnu.org/releases/audio-convert (?:.*/)?audio-convert-?_?([\d+\.]+|\d+)\.tar.* debian uupdate

Subscribers

People subscribed via source and target branches