debian/0000775000000000000000000000000012255722417007177 5ustar debian/source/0000775000000000000000000000000011730460460010471 5ustar debian/source/lintian-overrides0000664000000000000000000000020711730460460014051 0ustar # Only Build-Depends on debhelper (>= 8.1.3) is needed, so ignore this. lame source: package-needs-versioned-debhelper-build-depends 9 debian/source/format0000664000000000000000000000001411561043364011701 0ustar 3.0 (quilt) debian/copyright0000664000000000000000000001723111730460460011130 0ustar Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174&view=markup Upstream-Name: LAME Upstream-Contact: lame-dev@lists.sourceforge.net Source: http://lame.sourceforge.net/ Files: * Copyright: © 1998, Michael Cheng © 1999-2001, Mark Taylor © 1999-2002, Albert L. Faber © 1999-2005, Takehiro Tominaga © 1999-2007, The LAME Project © 2000-2005, Alexander Leidinger © 2000-2005, Elecard Ltd. © 2000-2005, Gabriel Bouvigne © 2000-2005, Marie Orlova © 2000-2005, Peter Gubanov © 2000-2005, Vitaly Ivanov © 2000-2008, Gabriel Bouvigne © 2000-2008, Robert Hegemann © 2000, Don Melton © 2000, Frank Klemm © 2001-2002, Naoki Shibata © 2001, John Dahlstrom © 2001, Jonathan Dee © 2001, Ralf Kempkens © 2002, Per Bolmstedt © 2003, Olcios License: LGPL-2+ Files: ACM/* libmp3lame/gain_analysis.c libmp3lame/gain_analysis.h Copyright: © 2001, David Robinson © 2001, Glen Sawyer © 2002, Steve Lhomme © 2003, Gabriel Bouvigne © 2003, Milan Cutka License: LGPL-2.1+ Files: ACM/tinyxml/* Copyright: © 2000-2002, Lee Thomason (www.grinninglizard.com) License: zlib/libpng This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. . Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: . 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. . 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. . 3. This notice may not be removed or altered from any source distribution. Files: ACM/ADbg/* Copyright: © 2001, Steve Lhomme License: BSD (3 clause) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . - The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: libmp3lame/i386/* Copyright: © 1999, Keiichi SAKAI © 1999, shigeo © 1999, URURI License: LGPL-2+ Comment: Though the license information is not explicitly given, these files are from an open source MP3 encoder named gogo-no-coda, which is based off of LAME. The gogo-no-coda developers (the developers mentioned above) have released their work under LGPL-2. A copy of the source code to gogo-no-coda can be downloaded from http://homepage2.nifty.com/kei-i/petit/petit313.tgz (as of 07-26-2011). Files: libmp3lame/fft.c Copyright: © 1988-1993, Ron Mayer © 1999-2000, Takehiro Tominaga License: GPL-1+ Comment: No version of the GPL is explicitly given. Files: debian/* Copyright: © 2005-2009, Fabian Greffrath © 2009-2011, Andres Mejia License: LGPL-2+ Files: misc/auenc Copyright: © 1999, Gerhard Wesp License: GPL-1+ Comment: No version of the GPL is explicitly given. License: GPL-1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1 of the License, or (at your option) any later version. . This program 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 General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License version 1 can be found in `/usr/share/common-licenses/GPL-1'. License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program 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 General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. License: LGPL-2+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This library 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 Library General Public License for more details. . You should have received a copy of the GNU Library General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU Library General Public License can be found in `/usr/share/common-licenses/LGPL-2'. License: LGPL-2.1+ This library 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.1 of the License, or (at your option) any later version. . This library 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 program. If not, see . . On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. debian/lame-get-orig-source0000775000000000000000000000432411730460672013056 0ustar #!/bin/sh set -e # Script used to generate the orig source tarball for lame. LAME_UPSTREAM_VERSION="3.99.5" LAME_DOWNLOAD_URL="http://downloads.sourceforge.net/project/lame/lame/3.99/lame-${LAME_UPSTREAM_VERSION}.tar.gz" LAME_VERSION="${LAME_UPSTREAM_VERSION}+repack1" LAME_TARBALL_CHECKSUM="24346b4158e4af3bd9f2e194bb23eb473c75fb7377011523353196b19b9a23ff" # Download and verify lame upstream tarball test -f "lame-${LAME_UPSTREAM_VERSION}.tar.gz" || wget -c "${LAME_DOWNLOAD_URL}" COMPUTED_CHECKSUM=`sha256sum "lame-${LAME_UPSTREAM_VERSION}.tar.gz" | cut -d ' ' -f 1` if [ $LAME_TARBALL_CHECKSUM != $COMPUTED_CHECKSUM ] ; then echo "Checksum verification failed. Checksum was $COMPUTED_CHECKSUM Expected checksum $LAME_TARBALL_CHECKSUM." exit 1 else echo "Checksum verified. Checksum is $COMPUTED_CHECKSUM." fi tar -xzf "lame-${LAME_UPSTREAM_VERSION}.tar.gz" rm -rf "lame-${LAME_VERSION}" mv "lame-${LAME_UPSTREAM_VERSION}" "lame-${LAME_VERSION}" cd "lame-${LAME_VERSION}" # Modify build system to remove debian directory and include GTK-1 autoconf # directives. rm -rf "debian/" patch -p1 <"../$(dirname $0)/patches/debian-as-extra-dist.patch" patch -p1 <"../$(dirname $0)/patches/gtk1-ac-directives.patch" autoreconf -vif cd .. # Remove temp files and other cruft from source tarball # The find command snippet here was taken from debhelper's dh_clean command # with some modification to delete more unneeded files. echo "Removing temp files and other cruft from source tarball" find lame-${LAME_VERSION} \( \( -type f -a \ \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \ -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \ -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \ -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \ -o -name config.status -o -name config.cache -o -name config.log \ \) -exec rm -f "{}" \; \) -o \ \( -type d -a -name autom4te.cache -prune -exec rm -rf "{}" \; \) \) rm -rf lame-${LAME_VERSION}/.git rm -f lame-${LAME_VERSION}/.gitignore # Remove empty directories echo "Removing empty directories" find lame-${LAME_VERSION} -type d -empty -delete rm -f "lame_${LAME_VERSION}.orig.tar.gz" tar --exclude-vcs -czf "lame_${LAME_VERSION}.orig.tar.gz" \ "lame-${LAME_VERSION}/" debian/changelog0000664000000000000000000002032712255721571011055 0ustar lame (3.99.5+repack1-3ubuntu1) trusty; urgency=medium * Use dh-autoreconf for better new port coverage. * Patch out remaining ansi2knr. -- Dimitri John Ledkov Mon, 23 Dec 2013 02:38:01 +0000 lame (3.99.5+repack1-3) unstable; urgency=low * Handle case on setting CFLAGS for systems where dpkg-dev (<< 1.15.7) -- Andres Mejia Sat, 17 Mar 2012 13:41:03 -0400 lame (3.99.5+repack1-2) unstable; urgency=low * Allow dev package to be multiarch installable. -- Andres Mejia Fri, 16 Mar 2012 17:41:15 -0400 lame (3.99.5+repack1-1) unstable; urgency=low * New upstream release. * Refresh patches. Remove patches applied upstream. * Bump Standards-Version to 3.9.3. -- Andres Mejia Thu, 15 Mar 2012 17:51:42 -0400 lame (3.99.4+repack1-1) unstable; urgency=low * New upstream release. * Refresh patches. * Use CFLAGS from dpkg-buildflags, but don't pass -g or -O2. * Fix up lintian warning about commas in Files section of copyright file. -- Andres Mejia Sun, 29 Jan 2012 11:00:04 -0500 lame (3.99.3+repack1-1) unstable; urgency=low * Update copyright. * Refresh all patches, remove patches applied upstreamed. * Update README.source. * Remove commas from Files section in copyright file. -- Andres Mejia Sun, 11 Dec 2011 11:29:01 -0500 lame (3.98.4+repack2-6) unstable; urgency=low * Add missing 'Multi-Arch: same' field. -- Andres Mejia Sat, 13 Aug 2011 19:17:13 -0400 lame (3.98.4+repack2-5) unstable; urgency=low [ Andres Mejia ] * Include fix for alpha builds. alpha builds need include guards in config.h. * Implement multiarch support. [ Reinhard Tartler ] * Unbreak compilation with gcc 4.4 -- Andres Mejia Sat, 13 Aug 2011 15:44:26 -0400 lame (3.98.4+repack2-4) unstable; urgency=low * Fix compiler warning on machines not i386 or amd64. -- Andres Mejia Mon, 01 Aug 2011 22:52:40 -0400 lame (3.98.4+repack2-3) unstable; urgency=low * normalize fields in debian/control with 'wrap-and-sort(1)' -- Reinhard Tartler Sat, 30 Jul 2011 12:53:07 +0200 lame (3.98.4+repack2-2) unstable; urgency=low * Fix parallel builds on i386. -- Andres Mejia Fri, 29 Jul 2011 15:43:25 -0400 lame (3.98.4+repack2-1) unstable; urgency=low * Update debian/copyright to reflect replacement of portableio code from upstream. * Update README.source to mention change of portableio code. -- Andres Mejia Thu, 28 Jul 2011 19:14:03 -0400 lame (3.98.4+repack1-1) unstable; urgency=low [ Andres Mejia ] * Disable use of sndfile, breaks KDE apps relying on kio_audiocd slave for CD ripping. * Fix warning on 64 bit machines on use of size_t. * Support parallel builds. * Bump to Standards-Version 3.9.2. * Fix Vcs-Browser entry. * Don't use quilt when source format 3.0 (quilt) is being used. * Fixup build system. Don't patch generated files directly. Needed to disable GTK support so lame would build. * Enable full experimental optimizations. NOTE: The only extra optimizations that are really enabled are -O3, -fomit-frame-pointer, and -ffast-math. -fschedule-insns2 is on by default in -O2, -fbranch-count-reg is on by default in any mode, and -fforce-addr looks to be a noop now. This is with using GCC 4.6.*. * Modifiy override_dh_clean target to check if quilt is installed, and use it to unapply patches during cleaning. * Use patch to apply autoreconf changes. * Fix description-synopsis-starts-with-article lintian warnings. * Add DM-Upload-Allowed: yes. * Update to my @debian.org email. * Add script that can regenerate repacked tarball. * Build system changes are made before the tarball is generated. * Remove patches for which the build system is updated for the repacking. * No longer require the need to copy autotool files. * Update debian/copyright. This includes changes for the removal of the problematic exclusions to the LGPL and helpful comments about some of the files. This needed an update to latest DEP-5 spec. * Use dpkg-source unapply-patches option to unapply patches. * Add in changes to output of license information from upstream. * Update debian/README.source. This includes information what is changed from the original upstream source tarball. * Update debian/watch to mangle some common version info from the Debian version. [ Fabian Greffrath ] * Remove duplicate patches/05-armel-no-finite-math-only.diff. * Update my e-mail address. * Fix dh usage. * Build with libsndfile. * debian/patches/06-sndfile-stdin.patch: New patch from Gentoo to support reading from stdin with sndfile. * Do not install the libtool .la file in the -dev package. * Do not provide the liblame0 package anymore. -- Andres Mejia Tue, 26 Jul 2011 21:48:51 -0400 lame (3.98.4-1) unstable; urgency=low * Upload to unstable. Closes: #90091 -- Reinhard Tartler Sat, 31 Jul 2010 21:12:27 -0400 lame (3.98.4-0ubuntu1) maverick; urgency=low * New upstream Release * Switch to source Format 3.0 (quilt) * Remove debian/patches/03-buffer-too-small.patch, merged upstream * Refreshed patches * Tighten build depends on debhelper und quilt * Bump standards version * Remove outdated config.guess and config.sub during build -- Reinhard Tartler Fri, 30 Jul 2010 09:34:43 -0400 lame (3.98.2+debian-1) unstable; urgency=low * Prepare upload for Debian. * Fix Maintainer field and add myself as uploader. * Bump Standards-Version to 3.8.4. * Set the default debian branch to master for master branch. * Add versioned dependency on quilt. * Add versioned dependency on debhelper for use of debhelper overrides. * Add README.source for use of quilt. -- Andres Mejia Sat, 08 May 2010 02:25:18 -0400 lame (3.98.2+debian-0ubuntu3) lucid; urgency=low * debian/control: libmp3lame0 Conflicts+Replaces+Provides liblame0 (LP: #469676) -- Daniel T Chen Tue, 24 Nov 2009 19:24:31 -0500 lame (3.98.2+debian-0ubuntu2) karmic; urgency=low [ Fabian Greffrath ] * Prefer my d-u.o address for "official" packages. * Ported from debhelper (>= 7.2) to cdbs. * Remove redundant DEB_DH_INSTALL_SOURCEDIR. [ Reinhard Tartler ] * update debian/changelog [ Fabian Greffrath ] * Revert "update config.guess and config.sub with more recent versions" * debian/copyright: Vastly improved. * cosmetic cleanup * Bumped Standards-Version to 3.8.2. * Update debian/copyright. * Really update debian/changelog. [ Reinhard Tartler ] * patches taken from the marillat package: - fix the ffmpeg 'buffer too small' bug. LP: #401406 - disable executable stack - buggy optimization for single-precision floats when -ffinite-math-only * reconvert to dh7 -- Reinhard Tartler Thu, 22 Oct 2009 22:35:30 +0200 lame (3.98.2+debian-0ubuntu1) karmic; urgency=low * New upstream version * Import the package prepared by Fabian Greffrath in the pkg-multimedia repository. * This replaces the former marillat packaging completely. * target karmic. -- Reinhard Tartler Tue, 09 Jun 2009 22:14:50 +0200 lame (3.98.2+debian-1) unstable; urgency=low [ Fabian Greffrath ] * Prefer my d-u.o address for "official" packages. * Ported from debhelper (>= 7.2) to cdbs. * Remove redundant DEB_DH_INSTALL_SOURCEDIR. [ Reinhard Tartler ] * New upstream version * Import the package prepared by Fabian Greffrath in the pkg-multimedia repository. * This replaces the former marillat packaging completely. * update config.guess and config.sub with more recent versions * update maintainer field * prefer multiline fields in debian/control * fix typo in description of libmp3lame-dev -- Reinhard Tartler Thu, 25 Jun 2009 09:55:01 +0200 lame (3.98.2+debian-0fab1) unstable; urgency=low * Initial release. * Rebuilt upstream tarball without debian/ directory. * Linked frontend against shared libraries. -- Fabian Greffrath Mon, 01 Jun 2009 00:00:00 +0200 debian/lame-doc.install0000664000000000000000000000005411561043364012243 0ustar usr/share/doc/lame/* usr/share/doc/lame-doc debian/libmp3lame-dev.install0000664000000000000000000000005111730460460013356 0ustar usr/include usr/lib/*/*.a usr/lib/*/*.so debian/gbp.conf0000664000000000000000000000022411561043364010610 0ustar [DEFAULT] upstream-branch = upstream debian-branch = master upstream-tag = upstream/%(version)s debian-tag = debian/%(version)s pristine-tar = True debian/lame-doc.doc-base0000664000000000000000000000027511561043364012257 0ustar Document: lame-doc Title: LAME documentation Author: The LAME Project Section: Sound Format: HTML Index: /usr/share/doc/lame-doc/html/index.html Files: /usr/share/doc/lame-doc/html/*.html debian/lame.install0000664000000000000000000000002611561043364011477 0ustar usr/bin usr/share/man debian/control0000664000000000000000000000474212255722301010601 0ustar Source: lame Section: sound Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian multimedia packages maintainers Uploaders: Fabian Greffrath , Reinhard Tartler , Andres Mejia Build-Depends: debhelper (>= 8.1.3), dh-autoreconf, pkg-config, libncurses5-dev, nasm [i386] Standards-Version: 3.9.3 DM-Upload-Allowed: yes Homepage: http://lame.sourceforge.net/ Vcs-Git: git://git.debian.org/git/pkg-multimedia/lame.git Vcs-Browser: http://git.debian.org/?p=pkg-multimedia/lame.git Package: lame Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: MP3 encoding library (frontend) LAME (LAME Ain't an MP3 Encoder) is a research project for learning about and improving MP3 encoding technology. LAME includes an MP3 encoding library, a simple frontend application, and other tools for sound analysis, as well as convenience tools. . This package contains the frontend. Package: lame-doc Section: doc Architecture: all Depends: ${misc:Depends} Description: MP3 encoding library (documentation) LAME (LAME Ain't an MP3 Encoder) is a research project for learning about and improving MP3 encoding technology. LAME includes an MP3 encoding library, a simple frontend application, and other tools for sound analysis, as well as convenience tools. . This package contains the documentation. Package: libmp3lame0 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends} Conflicts: liblame0 Replaces: liblame0 Description: MP3 encoding library LAME (LAME Ain't an MP3 Encoder) is a research project for learning about and improving MP3 encoding technology. LAME includes an MP3 encoding library, a simple frontend application, and other tools for sound analysis, as well as convenience tools. . This package contains the shared library. Package: libmp3lame-dev Section: libdevel Multi-Arch: same Architecture: any Depends: libmp3lame0 (= ${binary:Version}), ${misc:Depends} Description: MP3 encoding library (development) LAME (LAME Ain't an MP3 Encoder) is a research project for learning about and improving MP3 encoding technology. LAME includes an MP3 encoding library, a simple frontend application, and other tools for sound analysis, as well as convenience tools. . This package contains the development files. debian/libmp3lame0.install0000664000000000000000000000002111730460460012657 0ustar usr/lib/*/*.so.* debian/rules0000775000000000000000000000103312255720765010260 0ustar #!/usr/bin/make -f CFLAGS = $(shell dpkg-buildflags --get CFLAGS 2>/dev/null | sed -e 's/-g\|-O2//g') ifeq (,$(CFLAGS)) # Handle case for versions of Debian/Ubuntu that have dpkg-dev (<< 1.15.7). CFLAGS = -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security endif %: dh $@ --parallel --with autoreconf override_dh_auto_configure: dh_auto_configure -- \ --disable-debug \ --disable-rpath \ --enable-dynamic-frontends \ --enable-expopt=full \ --enable-nasm \ --with-fileio=lame debian/watch0000664000000000000000000000021111730460460010214 0ustar version=3 opts=dversionmangle=s/[-.+~]?(cvs|svn|git|snapshot|pre|hg|repack)(.*)$//i,pasv \ http://sf.net/lame/lame-(\d\.[\.\w]+).tar\.gz debian/patches/0000775000000000000000000000000012255721742010626 5ustar debian/patches/debian-as-extra-dist.patch0000664000000000000000000000304211730461141015542 0ustar Description: Include debian as extra directory instead of directory part of subdirectories used in build. Origin: http://anonscm.debian.org/gitweb/?p=pkg-multimedia/lame.git;a=tree;f=debian/patches --- a/Makefile.am +++ b/Makefile.am @@ -4,7 +4,7 @@ .PHONY: test -SUBDIRS = mpglib libmp3lame frontend Dll debian doc include misc dshow ACM \ +SUBDIRS = mpglib libmp3lame frontend Dll doc include misc dshow ACM \ mac macosx vc_solution CLEANFILES = testcase.new.mp3 @@ -22,6 +22,7 @@ STYLEGUIDE \ USAGE \ configMS.h \ + debian \ lame.bat \ lame.spec.in \ lame.spec \ --- a/configure.in +++ b/configure.in @@ -1152,6 +1152,6 @@ AC_SUBST(CONFIG_DEFS) -AC_CONFIG_FILES([Makefile libmp3lame/Makefile libmp3lame/i386/Makefile libmp3lame/vector/Makefile frontend/Makefile mpglib/Makefile doc/Makefile doc/html/Makefile doc/man/Makefile include/Makefile Dll/Makefile misc/Makefile debian/Makefile dshow/Makefile ACM/Makefile ACM/ADbg/Makefile ACM/ddk/Makefile ACM/tinyxml/Makefile lame.spec mac/Makefile macosx/Makefile macosx/English.lproj/Makefile macosx/LAME.xcodeproj/Makefile vc_solution/Makefile]) +AC_CONFIG_FILES([Makefile libmp3lame/Makefile libmp3lame/i386/Makefile libmp3lame/vector/Makefile frontend/Makefile mpglib/Makefile doc/Makefile doc/html/Makefile doc/man/Makefile include/Makefile Dll/Makefile misc/Makefile dshow/Makefile ACM/Makefile ACM/ADbg/Makefile ACM/ddk/Makefile ACM/tinyxml/Makefile lame.spec mac/Makefile macosx/Makefile macosx/English.lproj/Makefile macosx/LAME.xcodeproj/Makefile vc_solution/Makefile]) AC_OUTPUT debian/patches/ansi2knr2devnull.patch0000664000000000000000000000202212255721742015046 0ustar Description: Patch out remaining ansi2knr. Author: Dimitri John Ledkov --- a/configure.in +++ b/configure.in @@ -78,7 +78,6 @@ fi dnl more automake stuff -AM_C_PROTOTYPES AC_CHECK_HEADER(dmalloc.h) if test "${ac_cv_header_dmalloc_h}" = "yes"; then --- a/doc/man/Makefile.am +++ b/doc/man/Makefile.am @@ -1,6 +1,6 @@ ## $Id: Makefile.am,v 1.1 2000/10/22 11:39:44 aleidinger Exp $ -AUTOMAKE_OPTIONS = foreign ansi2knr +AUTOMAKE_OPTIONS = foreign man_MANS = lame.1 EXTRA_DIST = ${man_MANS} --- a/libmp3lame/i386/Makefile.am +++ b/libmp3lame/i386/Makefile.am @@ -1,6 +1,6 @@ ## $Id: Makefile.am,v 1.26 2011/04/04 09:42:34 aleidinger Exp $ -AUTOMAKE_OPTIONS = foreign $(top_srcdir)/ansi2knr +AUTOMAKE_OPTIONS = foreign DEFS = @DEFS@ @CONFIG_DEFS@ --- a/doc/html/Makefile.am +++ b/doc/html/Makefile.am @@ -1,6 +1,6 @@ ## $Id: Makefile.am,v 1.7 2010/09/30 20:58:40 jaz001 Exp $ -AUTOMAKE_OPTIONS = foreign ansi2knr +AUTOMAKE_OPTIONS = foreign docdir = $(datadir)/doc pkgdocdir = $(docdir)/$(PACKAGE) debian/patches/unbreak-ftbfs-gcc4.4.patch0000664000000000000000000000437711730460460015365 0ustar Description: Unbreak compilation with gcc 4.4 This patch is only necessary before gcc 4.5, such as gcc 4.4 in debian/squeeze. Actually, this is a workaround in config.h for a workaround in the autoconf generated configure script, which comments out every #undef CPP statement. This is actually documented in the autoconf manual, like here: http://www.gnu.org/s/hello/manual/autoconf/Header-Templates.html Author: Reinhard Tartler --- a/config.h.in +++ b/config.h.in @@ -56,12 +56,14 @@ /* add ieee754_float32_t type */ #undef HAVE_IEEE754_FLOAT32_T #ifndef HAVE_IEEE754_FLOAT32_T +#define HAVE_IEEE754_FLOAT32_T typedef float ieee754_float32_t; #endif /* add ieee754_float64_t type */ #undef HAVE_IEEE754_FLOAT64_T #ifndef HAVE_IEEE754_FLOAT64_T +#define HAVE_IEEE754_FLOAT64_T typedef double ieee754_float64_t; #endif @@ -71,6 +73,7 @@ /* add ieee854_float80_t type */ #undef HAVE_IEEE854_FLOAT80_T #ifndef HAVE_IEEE854_FLOAT80_T +#define HAVE_IEEE854_FLOAT80_T typedef long double ieee854_float80_t; #endif --- a/configure.in +++ b/configure.in @@ -147,6 +147,7 @@ [/* add uint8_t type */ #undef HAVE_UINT8_T #ifndef HAVE_UINT8_T +#define HAVE_UINT8_T typedef unsigned char uint8_t; #endif]) @@ -154,6 +155,7 @@ [/* add int8_t type */ #undef HAVE_INT8_T #ifndef HAVE_INT8_T +#define HAVE_INT8_T typedef char int8_t; #endif]) @@ -161,6 +163,7 @@ [/* add uint16_t type */ #undef HAVE_UINT16_T #ifndef HAVE_UINT16_T +#define HAVE_UINT16_T typedef unsigned short uint16_t; #endif]) @@ -168,6 +171,7 @@ [/* add int16_t type */ #undef HAVE_INT16_T #ifndef HAVE_INT16_T +#define HAVE_INT16_T typedef short int16_t; #endif]) @@ -275,6 +279,7 @@ [/* add ieee854_float80_t type */ #undef HAVE_IEEE854_FLOAT80_T #ifndef HAVE_IEEE854_FLOAT80_T +#define HAVE_IEEE854_FLOAT80_T typedef long double ieee854_float80_t; #endif]) @@ -287,6 +292,7 @@ [/* add ieee754_float64_t type */ #undef HAVE_IEEE754_FLOAT64_T #ifndef HAVE_IEEE754_FLOAT64_T +#define HAVE_IEEE754_FLOAT64_T typedef double ieee754_float64_t; #endif]) @@ -294,6 +300,7 @@ [/* add ieee754_float32_t type */ #undef HAVE_IEEE754_FLOAT32_T #ifndef HAVE_IEEE754_FLOAT32_T +#define HAVE_IEEE754_FLOAT32_T typedef float ieee754_float32_t; #endif]) debian/patches/gtk1-ac-directives.patch0000664000000000000000000002112511730460460015230 0ustar Description: Include GTK-1 autoconf directives in build system. Origin: http://anonscm.debian.org/gitweb/?p=pkg-multimedia/lame.git;a=tree;f=debian/patches --- a/acinclude.m4 +++ b/acinclude.m4 @@ -85,4 +85,197 @@ [AC_MSG_WARN(can't check for IEEE854 compliant 80 bit floats)] )])]) # alex_IEEE854_FLOAT80 +# Configure paths for GTK+ +# Owen Taylor 97-11-3 +dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]]) +dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS +dnl +AC_DEFUN([AM_PATH_GTK], +[dnl +dnl Get the cflags and libraries from the gtk-config script +dnl +AC_ARG_WITH(gtk-prefix,[ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)], + gtk_config_prefix="$withval", gtk_config_prefix="") +AC_ARG_WITH(gtk-exec-prefix,[ --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)], + gtk_config_exec_prefix="$withval", gtk_config_exec_prefix="") +AC_ARG_ENABLE(gtktest, [ --disable-gtktest Do not try to compile and run a test GTK program], + , enable_gtktest=yes) + + for module in . $4 + do + case "$module" in + gthread) + gtk_config_args="$gtk_config_args gthread" + ;; + esac + done + + if test x$gtk_config_exec_prefix != x ; then + gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix" + if test x${GTK_CONFIG+set} != xset ; then + GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config + fi + fi + if test x$gtk_config_prefix != x ; then + gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix" + if test x${GTK_CONFIG+set} != xset ; then + GTK_CONFIG=$gtk_config_prefix/bin/gtk-config + fi + fi + + AC_PATH_PROG(GTK_CONFIG, gtk-config, no) + min_gtk_version=ifelse([$1], ,0.99.7,$1) + AC_MSG_CHECKING(for GTK - version >= $min_gtk_version) + no_gtk="" + if test "$GTK_CONFIG" = "no" ; then + no_gtk=yes + else + GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags` + GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs` + gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` + gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` + gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \ + sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` + if test "x$enable_gtktest" = "xyes" ; then + ac_save_CFLAGS="$CFLAGS" + ac_save_LIBS="$LIBS" + CFLAGS="$CFLAGS $GTK_CFLAGS" + LIBS="$GTK_LIBS $LIBS" +dnl +dnl Now check if the installed GTK is sufficiently new. (Also sanity +dnl checks the results of gtk-config to some extent +dnl + rm -f conf.gtktest + AC_TRY_RUN([ +#include +#include +#include + +int +main () +{ + int major, minor, micro; + char *tmp_version; + + system ("touch conf.gtktest"); + + /* HP/UX 9 (%@#!) writes to sscanf strings */ + tmp_version = g_strdup("$min_gtk_version"); + if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { + printf("%s, bad version string\n", "$min_gtk_version"); + exit(1); + } + + if ((gtk_major_version != $gtk_config_major_version) || + (gtk_minor_version != $gtk_config_minor_version) || + (gtk_micro_version != $gtk_config_micro_version)) + { + printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", + $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version, + gtk_major_version, gtk_minor_version, gtk_micro_version); + printf ("*** was found! If gtk-config was correct, then it is best\n"); + printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n"); + printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); + printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); + printf("*** required on your system.\n"); + printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n"); + printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n"); + printf("*** before re-running configure\n"); + } +#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION) + else if ((gtk_major_version != GTK_MAJOR_VERSION) || + (gtk_minor_version != GTK_MINOR_VERSION) || + (gtk_micro_version != GTK_MICRO_VERSION)) + { + printf("*** GTK+ header files (version %d.%d.%d) do not match\n", + GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION); + printf("*** library (version %d.%d.%d)\n", + gtk_major_version, gtk_minor_version, gtk_micro_version); + } +#endif /* defined (GTK_MAJOR_VERSION) ... */ + else + { + if ((gtk_major_version > major) || + ((gtk_major_version == major) && (gtk_minor_version > minor)) || + ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))) + { + return 0; + } + else + { + printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n", + gtk_major_version, gtk_minor_version, gtk_micro_version); + printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n", + major, minor, micro); + printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n"); + printf("***\n"); + printf("*** If you have already installed a sufficiently new version, this error\n"); + printf("*** probably means that the wrong copy of the gtk-config shell script is\n"); + printf("*** being found. The easiest way to fix this is to remove the old version\n"); + printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n"); + printf("*** correct copy of gtk-config. (In this case, you will have to\n"); + printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); + printf("*** so that the correct libraries are found at run-time))\n"); + } + } + return 1; +} +],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + if test "x$no_gtk" = x ; then + AC_MSG_RESULT(yes) + ifelse([$2], , :, [$2]) + else + AC_MSG_RESULT(no) + if test "$GTK_CONFIG" = "no" ; then + echo "*** The gtk-config script installed by GTK could not be found" + echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in" + echo "*** your path, or set the GTK_CONFIG environment variable to the" + echo "*** full path to gtk-config." + else + if test -f conf.gtktest ; then + : + else + echo "*** Could not run GTK test program, checking why..." + CFLAGS="$CFLAGS $GTK_CFLAGS" + LIBS="$LIBS $GTK_LIBS" + AC_TRY_LINK([ +#include +#include +], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ], + [ echo "*** The test program compiled, but did not run. This usually means" + echo "*** that the run-time linker is not finding GTK or finding the wrong" + echo "*** version of GTK. If it is not finding GTK, you'll need to set your" + echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" + echo "*** to the installed location Also, make sure you have run ldconfig if that" + echo "*** is required on your system" + echo "***" + echo "*** If you have an old version installed, it is best to remove it, although" + echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" + echo "***" + echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that" + echo "*** came with the system with the command" + echo "***" + echo "*** rpm --erase --nodeps gtk gtk-devel" ], + [ echo "*** The test program failed to compile or link. See the file config.log for the" + echo "*** exact error that occured. This usually means GTK was incorrectly installed" + echo "*** or that you have moved GTK since it was installed. In the latter case, you" + echo "*** may want to edit the gtk-config script: $GTK_CONFIG" ]) + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + fi + GTK_CFLAGS="" + GTK_LIBS="" + ifelse([$3], , :, [$3]) + fi + AC_SUBST(GTK_CFLAGS) + AC_SUBST(GTK_LIBS) + rm -f conf.gtktest +]) debian/patches/07-field-width-fix.patch0000664000000000000000000000211111730460460015044 0ustar Description: Fix warning on 64 bit machines. Explicitely set variables as unsigned ints. Origin: http://git.debian.org/?p=pkg-multimedia/lame.git;a=blob;f=debian/patches/07-field-width-fix.patch Forwarded: commit:1.282 Applied-Upstream: commit:1.282 --- a/frontend/parse.c +++ b/frontend/parse.c @@ -372,11 +372,11 @@ const char *b = get_lame_os_bitness(); const char *v = get_lame_version(); const char *u = get_lame_url(); - const size_t lenb = strlen(b); - const size_t lenv = strlen(v); - const size_t lenu = strlen(u); - const size_t lw = 80; /* line width of terminal in characters */ - const size_t sw = 16; /* static width of text */ + const unsigned int lenb = strlen(b); + const unsigned int lenv = strlen(v); + const unsigned int lenu = strlen(u); + const unsigned int lw = 80; /* line width of terminal in characters */ + const unsigned int sw = 16; /* static width of text */ if (lw >= lenb + lenv + lenu + sw || lw < lenu + 2) /* text fits in 80 chars per line, or line even too small for url */ debian/patches/parallel-builds-fix.patch0000664000000000000000000000371211730460460015504 0ustar Description: Fix race condition causing build failures on i386. Origin: http://git.debian.org/?p=pkg-multimedia/lame.git;a=blob;f=debian/patches/parallel-builds-fix.patch --- a/libmp3lame/i386/Makefile.am +++ b/libmp3lame/i386/Makefile.am @@ -15,6 +15,7 @@ if HAVE_NASM noinst_LTLIBRARIES = liblameasmroutines.la liblameasmroutines_la_SOURCES = $(nasm_sources) +liblameasmroutines_la_DEPENDENCIES = $(nasm_sources:.nas.lo) am_liblameasmroutines_la_OBJECTS = \ choose_table$U.lo \ cpu_feat$U.lo \ @@ -53,11 +54,10 @@ $(NASM) $(NASMFLAGS) $< -o $@ -l $@.lst .nas.lo: $< nasm.h - mkdir -p .libs $(ECHO) '# Generated by ltmain.sh - GNU libtool 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)' >$@ - $(ECHO) "pic_object='.libs/$*.o'" >>$@ - $(ECHO) "non_pic_object='.libs/$*.o'" >>$@ - $(NASM) $(NASMFLAGS) $< -o .libs/$*.o -l $@.lst + $(ECHO) "pic_object='$*.o'" >>$@ + $(ECHO) "non_pic_object='$*.o'" >>$@ + $(NASM) $(NASMFLAGS) $< -o $*.o -l $@.lst COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) --- a/libmp3lame/i386/Makefile.in +++ b/libmp3lame/i386/Makefile.in @@ -218,6 +218,7 @@ @HAVE_NASM_TRUE@noinst_LTLIBRARIES = liblameasmroutines.la @HAVE_NASM_TRUE@liblameasmroutines_la_SOURCES = $(nasm_sources) +@HAVE_NASM_TRUE@liblameasmroutines_la_DEPENDENCIES = $(nasm_sources:.nas.lo) @HAVE_NASM_TRUE@am_liblameasmroutines_la_OBJECTS = \ @HAVE_NASM_TRUE@ choose_table$U.lo \ @HAVE_NASM_TRUE@ cpu_feat$U.lo \ @@ -526,11 +527,10 @@ $(NASM) $(NASMFLAGS) $< -o $@ -l $@.lst .nas.lo: $< nasm.h - mkdir -p .libs $(ECHO) '# Generated by ltmain.sh - GNU libtool 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)' >$@ - $(ECHO) "pic_object='.libs/$*.o'" >>$@ - $(ECHO) "non_pic_object='.libs/$*.o'" >>$@ - $(NASM) $(NASMFLAGS) $< -o .libs/$*.o -l $@.lst + $(ECHO) "pic_object='$*.o'" >>$@ + $(ECHO) "non_pic_object='$*.o'" >>$@ + $(NASM) $(NASMFLAGS) $< -o $*.o -l $@.lst #$(OBJECTS): libtool #libtool: $(LIBTOOL_DEPS) debian/patches/series0000664000000000000000000000014512255721607012043 0ustar 07-field-width-fix.patch parallel-builds-fix.patch unbreak-ftbfs-gcc4.4.patch ansi2knr2devnull.patch debian/README.source0000664000000000000000000000057111730460460011353 0ustar This package is regenerated from the upstream tarball. The changes made to the original upstream source are as follows. * Removal of upstream's "debian" directory. * Inclusion of GTK-1 autoconf directives. * Regeneration of build system using autoreconf. All these changes can be automatically done using the "lame-get-orig-source" script included in the "debian" directory. debian/compat0000664000000000000000000000000211730460460010367 0ustar 9