--- mp3gain-1.4.5.orig/mp3gain.c +++ mp3gain-1.4.5/mp3gain.c @@ -44,6 +44,9 @@ * So have fun dissecting. */ +/* stf: make -t the default + -T restores old behaviour */ + #include #include #include @@ -118,7 +121,7 @@ int writeself = 0; int QuietMode = 0; -int UsingTemp = 0; +int UsingTemp = 1; int NowWriting = 0; double lastfreq = -1.0; @@ -996,7 +999,7 @@ deleteFile(outfilename); passError( MP3GAIN_UNSPECIFED_ERROR, 3, "Not enough temp space on disk to modify ", filename, - "\nEither free some space, or do not use \"temp file\" option\n"); + "\nEither free some space, or switch off \"temp file\" option with -T\n"); return M3G_ERR_NOT_ENOUGH_TMP_SPACE; } else { @@ -1187,7 +1190,7 @@ fprintf(stderr," --use %c? or %ch for a full list of options\n",SWITCH_CHAR,SWITCH_CHAR); fclose(stdout); fclose(stderr); - exit(0); + exit(1); } @@ -1215,8 +1218,9 @@ fprintf(stderr,"\t%cd - modify suggested dB gain by floating-point n\n",SWITCH_CHAR); fprintf(stderr,"\t%cc - ignore clipping warning when applying gain\n",SWITCH_CHAR); fprintf(stderr,"\t%co - output is a database-friendly tab-delimited list\n",SWITCH_CHAR); - fprintf(stderr,"\t%ct - mp3gain writes modified mp3 to temp file, then deletes original\n",SWITCH_CHAR); - fprintf(stderr,"\t instead of modifying bytes in original file\n"); + fprintf(stderr,"\t%ct - mp3gain writes modified mp3 to temp file, then deletes original \n",SWITCH_CHAR); + fprintf(stderr,"\t instead of modifying bytes in original file (default)\n"); + fprintf(stderr,"\t%cT - mp3gain directly modifies mp3 file (opposite of %ct)\n",SWITCH_CHAR,SWITCH_CHAR); fprintf(stderr,"\t%cq - Quiet mode: no status messages\n",SWITCH_CHAR); fprintf(stderr,"\t%cp - Preserve original file timestamp\n",SWITCH_CHAR); fprintf(stderr,"\t%cx - Only find max. amplitude of mp3\n",SWITCH_CHAR); @@ -1420,7 +1424,7 @@ whichChannel = atoi(argv[i+1]); i++; fileStart++; - directGainVal = atoi(argv[i+2]); + directGainVal = atoi(argv[i+1]); i++; fileStart++; } @@ -1506,10 +1510,13 @@ break; case 't': - case 'T': UsingTemp = !0; break; + case 'T': + UsingTemp = 0; + break; + case 'u': case 'U': undoChanges = !0; @@ -1541,7 +1548,7 @@ fileok = (int *)malloc(sizeof(int) * argc); /* now stored in tagInfo--- maxgain = malloc(sizeof(unsigned char) * argc); */ /* now stored in tagInfo--- mingain = malloc(sizeof(unsigned char) * argc); */ - tagInfo = (struct MP3GainTagInfo *)malloc(sizeof(struct MP3GainTagInfo) * argc); + tagInfo = (struct MP3GainTagInfo *)calloc(argc, sizeof(struct MP3GainTagInfo)); fileTags = (struct FileTagsStruct *)malloc(sizeof(struct FileTagsStruct) * argc); if (databaseFormat) { @@ -1659,6 +1666,8 @@ } for (mainloop = fileStart; mainloop < argc; mainloop++) { + memset(&mp, 0, sizeof(mp)); + // if the entire Album requires some kind of recalculation, then each track needs it tagInfo[mainloop].recalc |= albumRecalc; @@ -1973,7 +1982,7 @@ fprintf(stderr,"Error analyzing %s. This mp3 has some very corrupt data.\n",curfilename); fclose(stdout); fclose(stderr); - exit(0); + exit(1); } #endif #endif @@ -2332,7 +2341,10 @@ fclose(stdout); fclose(stderr); - exit(gSuccess); + if (gSuccess) + return 0; + else + return 1; } #endif /* asWIN32DLL */ --- mp3gain-1.4.5.orig/Makefile +++ mp3gain-1.4.5/Makefile @@ -8,8 +8,10 @@ CFLAGS= -Wall -O3 -DHAVE_MEMCPY +MAN_PATH=$(DESTDIR)/usr/share/man/man1 + ifneq ($(OSTYPE),beos) -INSTALL_PATH= /usr/local/bin +INSTALL_PATH= $(DESTDIR)/usr/bin else INSTALL_PATH= $(HOME)/config/bin endif @@ -27,7 +29,15 @@ mpglibDBL/decode_i386.o mpglibDBL/interface.o \ mpglibDBL/layer3.o mpglibDBL/tabinit.o -all: mp3gain +all: mp3gain mp3gain.1.gz + +# when reenabling this, don't forget build-depends docbook-to-man +# +#mp3gain.1: mp3gain.sgml +# docbook-to-man $< > $@ + +mp3gain.1.gz: mp3gain.1 + gzip -c -9 $< > $@ mp3gain: $(OBJS) $(CC) -o mp3gain $(OBJS) $(LIBS) @@ -36,10 +46,13 @@ endif install: + chown root:root mp3gain mp3gain.1.gz cp -p mp3gain "$(INSTALL_PATH)" + cp -p mp3gain.1.gz "$(MAN_PATH)" ifeq ($(OSTYPE),beos) mimeset -f "$(INSTALL_PATH)/mp3gain" endif clean: - -rm -rf mp3gain *.o mpglibDBL/*.o + -rm -rf mp3gain mp3gain.1.gz *.o mpglibDBL/*.o + --- mp3gain-1.4.5.orig/gain_analysis.c +++ mp3gain-1.4.5/gain_analysis.c @@ -111,7 +111,7 @@ #define MAX_dB 120. // Table entries for 0...MAX_dB (normal max. values are 70...80 dB) #define MAX_ORDER (BUTTER_ORDER > YULE_ORDER ? BUTTER_ORDER : YULE_ORDER) -#define MAX_SAMPLES_PER_WINDOW (size_t) (MAX_SAMP_FREQ * RMS_WINDOW_TIME) // max. Samples per Time slice +#define MAX_SAMPLES_PER_WINDOW (size_t) (MAX_SAMP_FREQ * RMS_WINDOW_TIME + 1) // max. Samples per Time slice #define PINK_REF 64.82 //298640883795 // calibration value Float_t linprebuf [MAX_ORDER * 2]; --- mp3gain-1.4.5.orig/mpglibDBL/interface.c +++ mp3gain-1.4.5/mpglibDBL/interface.c @@ -137,7 +137,7 @@ fprintf(stderr,"Fatal error! tried to read past mp buffer\n"); fclose(stdout); fclose(stderr); - exit(0); + exit(EXIT_FAILURE); } pos = mp->tail->pos; } --- mp3gain-1.4.5.orig/mpglibDBL/common.c +++ mp3gain-1.4.5/mpglibDBL/common.c @@ -160,7 +160,7 @@ fprintf(stderr,"Stream error\n"); fclose(stdout); fclose(stderr); - exit(0); + exit(EXIT_FAILURE); } if(fr->mpeg25) { fr->sampling_frequency = 6 + ((newhead>>10)&0x3); --- mp3gain-1.4.5.orig/mp3gain.1 +++ mp3gain-1.4.5/mp3gain.1 @@ -0,0 +1,222 @@ +.\" $Header: /aolnet/dev/src/CVS/sgml/docbook-to-man/cmd/docbook-to-man.sh,v 1.1.1.1 1998/11/13 21:31:59 db3l Exp $ +.\" +.\" transcript compatibility for postscript use. +.\" +.\" synopsis: .P! +.\" +.de P! +.fl +\!!1 setgray +.fl +\\&.\" +.fl +\!!0 setgray +.fl \" force out current output buffer +\!!save /psv exch def currentpoint translate 0 0 moveto +\!!/showpage{}def +.fl \" prolog +.sy sed -e 's/^/!/' \\$1\" bring in postscript file +\!!psv restore +. +.de pF +.ie \\*(f1 .ds f1 \\n(.f +.el .ie \\*(f2 .ds f2 \\n(.f +.el .ie \\*(f3 .ds f3 \\n(.f +.el .ie \\*(f4 .ds f4 \\n(.f +.el .tm ? font overflow +.ft \\$1 +.. +.de fP +.ie !\\*(f4 \{\ +. ft \\*(f4 +. ds f4\" +' br \} +.el .ie !\\*(f3 \{\ +. ft \\*(f3 +. ds f3\" +' br \} +.el .ie !\\*(f2 \{\ +. ft \\*(f2 +. ds f2\" +' br \} +.el .ie !\\*(f1 \{\ +. ft \\*(f1 +. ds f1\" +' br \} +.el .tm ? font underflow +.. +.ds f1\" +.ds f2\" +.ds f3\" +.ds f4\" +'\" t +.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n +.TH "MP3GAIN" "1" +.SH "NAME" +mp3gain \(em lossless mp3 normalizer +.SH "SYNOPSIS" +.PP +\fBmp3gain\fR [\fBoptions\fP] [\fIinfile\fR] [\fB\fIinfile 2\fR ...\fP] +.SH "DESCRIPTION" +.PP +This manual page documents briefly the +\fBmp3gain\fR command. +.PP +This manual page was written for the \fBDebian\fP distribution +because the original program does not have a manual page. + +.PP +\fBmp3gain\fR analyzes and adjusts mp3 files +so that they have the same volume. +.PP +\fBmp3gain\fR does not just do peak normalization, +as many normalizers do. Instead, it does some statistical analysis to +determine how loud the file actually sounds to the human ear. Also, the +changes \fBmp3gain\fR makes are completely lossless. There +is no quality lost in the change because the program adjusts the mp3 file +directly, without decoding and re-encoding. Also, this works with all mp3 +players, i.e. no support for a special tag or something similar is +required. +.PP +The method mp3gain uses to determine the desired volume +is described at +\fIwww.replaygain.org (link to URL http://www.replaygain.org/) \fR. +See also \fB/usr/share/doc/README.method\fP . +.SH "OPTIONS" +.IP "\fB-?\fP \fB-h\fP " 10 +Show summary of options. +.IP "\fB-g \fIi\fR\fP " 10 +apply gain \fIi\fR to mp3 without +doing any analysis +.IP "\fB-l 0 \fIi\fR\fP " 10 +apply gain \fIi\fR to channel 0 +(left channel) of mp3 +without doing any analysis (ONLY works for STEREO mp3s, +not Joint Stereo mp3s) +.IP "\fB-l 1 \fIi\fR\fP " 10 +apply gain \fIi\fR to channel 1 +(right channel) of mp3 +without doing any analysis (ONLY works for STEREO mp3s, +not Joint Stereo mp3s) +.IP "\fB-r\fP " 10 +apply Track gain automatically (all files set to equal loudness) +.IP "\fB-k\fP " 10 +automatically lower Track gain to not clip audio +.IP "\fB-a\fP " 10 +apply Album gain automatically (files are all from the same +album: a single gain change is applied to all files, so +their loudness relative to each other remains unchanged, +but the average album loudness is normalized) +.IP "\fB-m \fIi\fR\fP " 10 +modify suggested MP3 gain by integer \fIi\fR +.IP "\fB-d \fIn\fR\fP " 10 +modify suggested dB gain by floating-point +\fIn\fR +.IP "\fB-c\fP " 10 +ignore clipping warning when applying gain +.IP "\fB-o\fP " 10 +output is a database-friendly tab-delimited list +.IP "\fB-t\fP " 10 +mp3gain writes modified mp3 to temp file, then deletes original +instead of modifying bytes in original file (This is the default in +Debian) +.IP "\fB-T\fP " 10 +mp3gain modifys bytes in original file instead of +writing to temp file. +.IP "\fB-q\fP " 10 +Quiet mode: no status messages +.IP "\fB-p\fP " 10 +Preserve original file timestamp +.IP "\fB-x\fP " 10 +Only find max. amplitude of mp3 +.IP "\fB-f\fP " 10 +Force \fBmp3gain\fR to assume input file +is an MPEG 2 Layer III file +(i.e. don't check for mis-named Layer I or Layer II files) +.IP "\fB-s c\fP " 10 +only check stored tag info (no other processing) +.IP "\fB-s d\fP " 10 +delete stored tag info (no other processing) +.IP "\fB-s s\fP " 10 +skip (ignore) stored tag info (do not read or write tags) +.IP "\fB-s r\fP " 10 +force re-calculation (do not read tag info) +.IP "\fB-u\fP " 10 +undo changes made by mp3gain (based on stored tag info) +.IP "\fB-w\fP " 10 +"wrap" gain change if gain+change > 255 or gain+change < 0 +(see below or use \fB-? wrap\fP switch for a complete +explanation) +.IP "\fB-v\fP " 10 +Show version of program. +.PP +If you specify \fB-r\fP and \fB-a\fP, +only the second one will work. +.PP +If you do not specify \fB-c\fP, the program will +stop and ask before +applying gain change to a file that might clip +.SS "The WRAP option" +.PP +Here's the problem: +The "global gain" field that mp3gain adjusts is an 8-bit unsigned integer, so +the possible values are 0 to 255. + +.PP +MOST mp3 files (in fact, ALL the mp3 files I've examined so far) don't go +over 230. So there's plenty of headroom on top-- you can increase the gain +by 37dB (multiplying the amplitude by 76) without a problem. + +.PP +The problem is at the bottom of the range. Some encoders create frames with +0 as the global gain for silent frames. +What happens when you _lower_ the global gain by 1? +Well, in the past, mp3gain always simply wrapped the result up to 255. +That way, if you lowered the gain by any amount and then raised it by the +same amount, the mp3 would always be _exactly_ the same. + +.PP +There are a few encoders out there, unfortunately, that create 0-gain frames +with other audio data in the frame. +As long as the global gain is 0, you'll never hear the data. +But if you lower the gain on such a file, the global gain is suddenly _huge_. +If you play this modified file, there might be a brief, very loud blip. + +.PP +So now the default behavior of mp3gain is to _not_ wrap gain changes. +In other words, + +.IP " 1." 6 +If the gain change would make a frame's global gain drop below 0, +then the global gain is set to 0. + +.IP " 2." 6 +If the gain change would make a frame's global gain grow above 255, +then the global gain is set to 255. + +.IP " 3." 6 + +If a frame's global gain field is already 0, it is not changed, even if +the gain change is a positive number. + +.PP +To use the original "wrapping" behavior, use the \fB-w\fP switch. + +.SH "SEE ALSO" +.PP +The homepage of mp3gain is located at +\fIhttp://mp3gain.sourceforge.net/ (link to URL http://mp3gain.sourceforge.net/) \fR . + +.SH "AUTHOR" +.PP +This manual page was written by Stefan Fritsch sf@sfritsch.de for +the \fBDebian\fP system (but may be used by others). Permission is +granted to copy, distribute and/or modify this document under +the terms of the GNU Lesser General Public License, Version 2.1 or +any later version published by the Free Software Foundation. + +.PP +On Debian systems, the complete text of the GNU Lesser General Public +License can be found in /usr/share/common-licenses/LGPL. + +.\" created by instant / docbook-to-man, Sun 07 Nov 2004, 22:10 --- mp3gain-1.4.5.orig/mp3gain.sgml +++ mp3gain-1.4.5/mp3gain.sgml @@ -0,0 +1,408 @@ + manpage.1'. You may view + the manual page with: `docbook-to-man manpage.sgml | nroff -man | + less'. A typical entry in a Makefile or Makefile.am is: + +manpage.1: manpage.sgml + docbook-to-man $< > $@ + + + The docbook-to-man binary is found in the docbook-to-man package. + Please remember that if you create the nroff version in one of the + debian/rules file targets (such as build), you will need to include + docbook-to-man in your Build-Depends control field. + + --> + + + STEFAN"> + FRITSCH"> + + February 4, 2004"> + + 1"> + sf@sfritsch.de"> + + MP3GAIN"> + + Debian"> + GNU"> + LGPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2004 + Glen Sawyer and &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + lossless mp3 normalizer + + + + &dhpackage; + + + + infile + + + + + + + DESCRIPTION + + This manual page documents briefly the + &dhpackage; + command. + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + + + &dhpackage; analyzes and adjusts mp3 files + so that they have the same volume. + + &dhpackage; does not just do peak normalization, + as many normalizers do. Instead, it does some statistical analysis to + determine how loud the file actually sounds to the human ear. Also, the + changes &dhpackage; makes are completely lossless. There + is no quality lost in the change because the program adjusts the mp3 file + directly, without decoding and re-encoding. Also, this works with all mp3 + players, i.e. no support for a special tag or something similar is + required. + + The method mp3gain uses to determine the desired volume + is described at + www.replaygain.org. + See also /usr/share/doc/README.method . + + + + + + + OPTIONS + + + + + + + + + Show summary of options. + + + + + + + + apply gain i to mp3 without + doing any analysis + + + + + + + + apply gain i to channel 0 + (left channel) of mp3 + without doing any analysis (ONLY works for STEREO mp3s, + not Joint Stereo mp3s) + + + + + + + + apply gain i to channel 1 + (right channel) of mp3 + without doing any analysis (ONLY works for STEREO mp3s, + not Joint Stereo mp3s) + + + + + + + + apply Track gain automatically (all files set to equal loudness) + + + + + + + + automatically lower Track gain to not clip audio + + + + + + + + apply Album gain automatically (files are all from the same + album: a single gain change is applied to all files, so + their loudness relative to each other remains unchanged, + but the average album loudness is normalized) + + + + + + + + modify suggested MP3 gain by integer i + + + + + + + + modify suggested dB gain by floating-point + n + + + + + + + + ignore clipping warning when applying gain + + + + + + + + output is a database-friendly tab-delimited list + + + + + + + + mp3gain writes modified mp3 to temp file, then deletes original + instead of modifying bytes in original file (This is the default in + Debian) + + + + + + + + mp3gain modifys bytes in original file instead of + writing to temp file. + + + + + + + + Quiet mode: no status messages + + + + + + + + Preserve original file timestamp + + + + + + + + Only find max. amplitude of mp3 + + + + + + + + Force mp3gain to assume input file + is an MPEG 2 Layer III file + (i.e. don't check for mis-named Layer I or Layer II files) + + + + + + + + only check stored tag info (no other processing) + + + + + + + + delete stored tag info (no other processing) + + + + + + + + skip (ignore) stored tag info (do not read or write tags) + + + + + + + + force re-calculation (do not read tag info) + + + + + + + + undo changes made by mp3gain (based on stored tag info) + + + + + + + + "wrap" gain change if gain+change > 255 or gain+change < 0 + (see below or use switch for a complete + explanation) + + + + + + + + Show version of program. + + + + If you specify and , + only the second one will work. + If you do not specify , the program will + stop and ask before + applying gain change to a file that might clip + The WRAP option + Here's the problem: + The "global gain" field that mp3gain adjusts is an 8-bit unsigned integer, so + the possible values are 0 to 255. + + MOST mp3 files (in fact, ALL the mp3 files I've examined so far) don't go + over 230. So there's plenty of headroom on top-- you can increase the gain + by 37dB (multiplying the amplitude by 76) without a problem. + + The problem is at the bottom of the range. Some encoders create frames with + 0 as the global gain for silent frames. + What happens when you _lower_ the global gain by 1? + Well, in the past, mp3gain always simply wrapped the result up to 255. + That way, if you lowered the gain by any amount and then raised it by the + same amount, the mp3 would always be _exactly_ the same. + + There are a few encoders out there, unfortunately, that create 0-gain frames + with other audio data in the frame. + As long as the global gain is 0, you'll never hear the data. + But if you lower the gain on such a file, the global gain is suddenly _huge_. + If you play this modified file, there might be a brief, very loud blip. + + So now the default behavior of mp3gain is to _not_ wrap gain changes. + In other words, + + + If the gain change would make a frame's global gain drop below 0, + then the global gain is set to 0. + + If the gain change would make a frame's global gain grow above 255, + then the global gain is set to 255. + + If a frame's global gain field is already 0, it is not changed, even if + the gain change is a positive number. + + + + To use the original "wrapping" behavior, use the switch. + + + + + SEE ALSO + + The homepage of mp3gain is located at + http://mp3gain.sourceforge.net/ . + + + + AUTHOR + + This manual page was written by &dhusername; &dhemail; for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; Lesser General Public License, Version 2.1 or + any later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU Lesser General Public + License can be found in /usr/share/common-licenses/LGPL. + + + +
+ + + + --- mp3gain-1.4.5.orig/README.method +++ mp3gain-1.4.5/README.method @@ -0,0 +1,23 @@ +Q: What dB value does mp3gain normalize to? How does this compare with +normalize-audio? + +A: mp3gain and normalize-audio use different methods to determine the +perceived volume of a file, so the numbers are not comparable. As I understand +it, normalize-audio applies a smoothing filter and then sets the maximum to +-12dBFS. mp3gain sorts the volume and then uses the value at 95% (i.e. 5% of +the file are louder, 95% are quieter). This value is set to -20dBFS. I have +tried a few files and found the difference in the recomended values to vary +between 3dB and 6dB. + +The method mp3gain uses to determine the perceived volume is described at +http://www.replaygain.org/. + + + + +Q: Why are the files not exactly at the same volume? + +A: Since mp3gain changes the global gain value in every mp3 frame, it can only +use 1.5dB steps for adjusting the volume. It will however write replaygain +values to tags with finer accuracy than these 1.5dB steps. + --- mp3gain-1.4.5.orig/debian/dirs +++ mp3gain-1.4.5/debian/dirs @@ -0,0 +1,3 @@ +usr/bin +usr/share/man/man1 + --- mp3gain-1.4.5.orig/debian/mp3gain.docs +++ mp3gain-1.4.5/debian/mp3gain.docs @@ -0,0 +1 @@ +README.method --- mp3gain-1.4.5.orig/debian/control +++ mp3gain-1.4.5/debian/control @@ -0,0 +1,18 @@ +Source: mp3gain +Section: sound +Priority: optional +Maintainer: Stefan Fritsch +Build-Depends: debhelper (>= 4.0.0) +Standards-Version: 3.6.1.0 + +Package: mp3gain +Architecture: any +Depends: ${shlibs:Depends} +Description: Lossless mp3 normalizer with statistical analysis + MP3Gain analyzes and adjusts mp3 files so that they have the same volume. + MP3Gain does not just do peak normalization, as many normalizers do. Instead, + it does some statistical analysis to determine how loud the file actually + sounds to the human ear. Also, the changes MP3Gain makes are completely + lossless. There is no quality lost in the change because the program adjusts + the mp3 file directly, without decoding and re-encoding. Also, this works + with all mp3 players, i.e. no support for a special tag is required. --- mp3gain-1.4.5.orig/debian/rules +++ mp3gain-1.4.5/debian/rules @@ -0,0 +1,69 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + + + +build: build-stamp + +build-stamp: + dh_testdir + + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + -$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) install DESTDIR=$(CURDIR)/debian/mp3gain + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- mp3gain-1.4.5.orig/debian/watch +++ mp3gain-1.4.5/debian/watch @@ -0,0 +1,2 @@ +version=2 +ftp://ftp.sf.net/pub/sourceforge/m/mp/mp3gain/mp3gain-([\d\._]+)-src.zip 1_4_3 --- mp3gain-1.4.5.orig/debian/changelog +++ mp3gain-1.4.5/debian/changelog @@ -0,0 +1,32 @@ +mp3gain (1.4.5-1ubuntu1) hoary; urgency=low + + * Sync with Debian, apply patches from 1.4.6-1 fixing segfault on + 48 kHz files. + + -- Daniel T Chen Tue, 5 Apr 2005 19:22:42 -0400 + +mp3gain (1.4.5-1) unstable; urgency=low + + * New upstream release + * Add note about method. Closes: #269759 + + -- Stefan Fritsch Fri, 5 Nov 2004 19:37:22 +0100 + +mp3gain (1.4.3-2) unstable; urgency=low + + * Add watch file. + * Make -t the default since it is faster on ReiserFS. + * Closes: #264596: mp3gain does exit(1) upon success + (thanks to Roderick Schertler) + * Change maintainer email + + -- Stefan Fritsch Tue, 10 Aug 2004 11:24:43 +0200 + +mp3gain (1.4.3-1) unstable; urgency=low + + * Fixed copyright information. + * Initial Upload sponsored by Joachim Breitner; Closes: #241748: ITP + + -- Stefan Fritsch Thu, 15 Apr 2004 23:12:05 +0200 + + --- mp3gain-1.4.5.orig/debian/compat +++ mp3gain-1.4.5/debian/compat @@ -0,0 +1 @@ +4 --- mp3gain-1.4.5.orig/debian/README.Debian +++ mp3gain-1.4.5/debian/README.Debian @@ -0,0 +1,4 @@ +On ReiserFS (as of kernel 2.4.26 and 2.6.7), writing to a temp file +(-t option) seems to be a lot faster than modifying the original +file directly. Therefore, -t is now the default in Debian. The +original behaviour can be restored with -T. --- mp3gain-1.4.5.orig/debian/copyright +++ mp3gain-1.4.5/debian/copyright @@ -0,0 +1,43 @@ +This package was debianized by Stefan Fritsch on +Wed, 4 Feb 2004 21:33:28 +0100. + +Current maintainer email address is sf@sfritsch.de. + +It was downloaded from http://mp3gain.sourceforge.net/download.php + +Upstream Author: "Glen Sawyer" + +Copyright: 2001-2004 Glen Sawyer + 2002 John Zitterkopf + 2001 David Robinson + 2000 Mark Taylor + 2000 Don Melton + 1999 Takehiro TOMINAGA + 1999, 2000 Albert L. Faber + 1995,1996,1997 by Michael Hipp + Stefan Partheymüller + Artur Polaczynski + Frank Klemm + Mark Armbrust + +Concept and filter values by David Robinson + + + + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. +