debian/0000775000000000000000000000000012260714257007176 5ustar debian/rules0000775000000000000000000000055212260713551010254 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/rules/autoreconf.mk common-binary-post-install-arch:: list-missing DEB_DH_MAKESHLIBS_ARGS_libmpcdec6 := -V 'libmpcdec6 (>= 1:0.1~r435)' DEB_CONFIGURE_EXTRA_FLAGS += --enable-mpcchap debian/libmpcdec-dev.install0000664000000000000000000000012611400433437013254 0ustar debian/tmp/usr/include debian/tmp/usr/lib/libmpcdec.so debian/tmp/usr/lib/libmpcdec.a debian/changelog0000664000000000000000000001011112260714257011042 0ustar libmpc (2:0.1~r459-1ubuntu3) trusty; urgency=medium * Drop 99_autoreconf.patch, as we are now autoreconfing through CDBS. -- Logan Rosen Tue, 31 Dec 2013 23:24:59 -0500 libmpc (2:0.1~r459-1ubuntu2) trusty; urgency=medium * Use dh-autoreconf to get new libtool macros for ppc64el. -- Logan Rosen Tue, 31 Dec 2013 23:20:18 -0500 libmpc (2:0.1~r459-1ubuntu1) natty; urgency=low * debian/patches/04_link-order.patch: Link against -lm only after the static libraries that use math functions. Fixes the build failure from --as-needed, which enforces strict order. * debian/patches/99_autoreconf.patch: Regenerate by autoconf -i and removing the cache directory afterwards. -- Stefan Potyra Sun, 12 Dec 2010 02:07:30 +0100 libmpc (2:0.1~r459-1) unstable; urgency=low * New upstream SVN snapshot. * debian/control, debian/compat, debian/source/format, debian/rules: + Update to source format 3.0 (quilt). + Update to debhelper compat level 7. + Update Standards-Version to 3.8.4. * debian/patches/01_am-maintainer-mode.patch: + Enable automake maintainer mode. * debian/patches/03_mpcchap.patch, debian/rules: + Enable mpcchap tool and build it against libcue. * debian/patches/99_autoreconf.patch: + Regenerate autotools files for the above patches. -- Sebastian Dröge Mon, 31 May 2010 16:33:10 +0200 libmpc (2:0.1~r453-1) unstable; urgency=low * New upstream SVN snapshot: + debian/patches/01_no-mpcchap.patch: - Dropped, not necessary anymore. + debian/patches/02_link-libm.patch: - Updated to apply cleanly again. * Upload to unstable. * debian/control: + Updated Standards-Version to 3.8.3. -- Sebastian Dröge Tue, 20 Oct 2009 20:08:39 +0200 libmpc (2:0.1~r444-1) experimental; urgency=low * New upstream SVN snapshot with some minor bugfixes. * debian/control: + Fix indention of the description (Closes: #519962). + Updated Standards-Version to 3.8.2. -- Sebastian Dröge Sat, 11 Jul 2009 12:51:53 +0200 libmpc (2:0.1~r435-2) experimental; urgency=low * Updating epoch and upload to experimental to give maintainers of packages that depend on libmpc-dev again some more time to port their applications to the new API. -- Sebastian Dröge Wed, 11 Mar 2009 06:43:23 +0100 libmpc (1:0.1~r435-1) unstable; urgency=low * New upstream stable release (Closes: #518116): + mpcchap is not built because we don't have libcuefile packaged yet. + debian/patches/02_link-libm.patch: - Updated to apply cleanly again. + debian/control: - Build depend on latest libreplaygain for the new API. * debian/control: + Update Standards-Version to 3.8.0, no additional changes needed. * debian/rules: + Update shlibs for API additions. -- Sebastian Dröge Wed, 04 Mar 2009 10:08:01 +0100 libmpc (1:0.1~r406-1) experimental; urgency=low * New upstream SVN snapshot: + debian/control: - Build depend on new enough libreplaygain-dev. * debian/rules: + Correctly set shlibs version. -- Sebastian Dröge Thu, 22 May 2008 11:14:53 +0200 libmpc (1:0.1~r402-1) experimental; urgency=low * New upstream SVN snapshot: + Adds some missing API to the headers. + Only symbols that are needed are exported. + debian/patches/03_crc32-internal.patch: - Dropped, not necessary anymore. -- Sebastian Dröge Fri, 25 Apr 2008 00:21:14 +0200 libmpc (1:0.1~r394-2) experimental; urgency=low * debian/control: + Wrap control fields. + Update maintainer to pkg-multimedia. * debian/patches/03_crc32-internal.patch: + Rename crc32() to _mpc_crc32() to avoid conflicts with other libraries like zlib for example. -- Sebastian Dröge Sat, 19 Apr 2008 23:11:33 +0200 libmpc (1:0.1~r394-1) experimental; urgency=high * Initial version (Closes: #472203). -- Sebastian Dröge Mon, 07 Apr 2008 12:35:20 +0200 debian/musepack-tools.install0000664000000000000000000000002311400433437013520 0ustar debian/tmp/usr/bin debian/compat0000664000000000000000000000000211400743323010363 0ustar 7 debian/copyright0000664000000000000000000001257411400433437011133 0ustar This package was debianized by Sebastian Dröge on Mon, 07 Apr 2008 12:35:20 +0200. It was downloaded from http://svn.musepack.net/libmpc/ Upstream Authors: The Musepack Development Team, http://www.musepack.net Copyright: For mpcenc/*, libmpcenc/*, libmpcpsy/*, include/mpc/minimax.h, common/fastmath.c: Copyright (C) 1999-2004 Buschmann/Klemm/Piecha/Wolf For mpcdec/*, mpcgain/*, mpcchap/*, mpccut/*, libmpcdec/* mpc2sv8/*, include/mpc/mpc_types.h, include/mpc/streaminfo.h, include/mpc/reader.h, include/mpc/mpcdec.h: Copyright (c) 2005-2008, The Musepack Development Team For common/huffman-bcl.c: Copyright (c) 2003-2006 Marcus Geelnard For common/tags.c, mpcenc/stderr.c: Copyright (C) Frank Klemm 2002. Janne Hyvöinen 2002. All rights reserved. For wavcmp/*: Copyright (C) 2007 Nicolas Botti License: For common/fastmath.c, include/mpc/datatypes.h, include/mpc/minimax.h, include/mpc/mpcmath.h, libmpcenc/*, libmpcpsy/*: 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 library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. For common/huffman-bcl.c: 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. For include/mpc/mpcdec.h, include/mpc/mpc_types.h, include/mpc/reader.h, include/mpc/streaminfo.h libmpcdec/*, mpc2sv8/*, mpccut/*, mpcdec/*, mpcenc/*, mpcgain/*, wavcmp/*: 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. * Neither the name of the The Musepack Development Team nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 COPYRIGHT OWNER OR CONTRIBUTORS 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. For mpcchap/*: 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, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. debian/source/0000775000000000000000000000000011400743307010467 5ustar debian/source/format0000664000000000000000000000001411400743307011675 0ustar 3.0 (quilt) debian/libmpcdec6.install0000664000000000000000000000004211400433437012563 0ustar debian/tmp/usr/lib/libmpcdec.so.* debian/control0000664000000000000000000000541512260713576010611 0ustar Source: libmpc Section: sound Priority: optional XSBC-Original-Maintainer: Debian multimedia packages maintainers Maintainer: Ubuntu Developers Uploaders: Sebastian Dröge , Jorge Salamero Sanz Build-Depends: cdbs (>= 0.4.20), debhelper (>= 7), pkg-config, libreplaygain-dev (>= 1.0~r412), libcue-dev, dh-autoreconf Standards-Version: 3.8.4 Homepage: http://www.musepack.net Package: libmpcdec6 Architecture: any Section: libs Depends: ${shlibs:Depends}, ${misc:Depends} Description: MusePack decoder - library Musepack is an audio compression format with a strong emphasis on high quality. It's not lossless, but it is designed for transparency, so that you won't be able to hear differences between the original wave file and the much smaller MPC file. . It is based on the MPEG-1 Layer-2 / MP2 algorithms, but since 1997 it has rapidly developed and vastly improved and is now at an advanced stage in which it contains heavily optimized and patentless code. Package: libmpcdec-dev Architecture: any Section: libdevel Depends: libmpcdec6 (= ${binary:Version}), ${misc:Depends} Description: MusePack decoder - development files Musepack is an audio compression format with a strong emphasis on high quality. It's not lossless, but it is designed for transparency, so that you won't be able to hear differences between the original wave file and the much smaller MPC file. . It is based on the MPEG-1 Layer-2 / MP2 algorithms, but since 1997 it has rapidly developed and vastly improved and is now at an advanced stage in which it contains heavily optimized and patentless code. . This package contains the header files, static libraries and symbolic links that developers using libreplaygain will need. Package: musepack-tools Architecture: any Section: sound Depends: ${shlibs:Depends}, ${misc:Depends} Description: MusePack commandline utilities Musepack is an audio compression format with a strong emphasis on high quality. It's not lossless, but it is designed for transparency, so that you won't be able to hear differences between the original wave file and the much smaller MPC file. . It is based on the MPEG-1 Layer-2 / MP2 algorithms, but since 1997 it has rapidly developed and vastly improved and is now at an advanced stage in which it contains heavily optimized and patentless code. . This package contains various commandline utilities for MusePack files: - mpcenc (encoder) - mpcdec (decoder) - mpccut (cut MPC files without reencoding) - mpcgain (gain calculation) - mpc2sv8 (conversion to MusePack SV8 from older SV) debian/patches/0000775000000000000000000000000012260714215010617 5ustar debian/patches/03_mpcchap.patch0000664000000000000000000000415711400745035013563 0ustar Index: libmpc-0.1~r459/configure.in =================================================================== --- libmpc-0.1~r459.orig/configure.in 2010-05-31 16:37:55.690454133 +0200 +++ libmpc-0.1~r459/configure.in 2010-05-31 16:37:56.834454007 +0200 @@ -28,6 +28,12 @@ AC_SUBST([EXTRALIBS]) AC_ARG_ENABLE([mpcchap], [AS_HELP_STRING([--enable-mpcchap], [enable building mpcchap])]) +if test "x$enable_mpcchap" = xyes; then + PKG_CHECK_MODULES(LIBCUE, libcue) + AC_SUBST(LIBCUE_CFLAGS) + AC_SUBST(LIBCUE_LIBS) +fi + AM_CONDITIONAL([MPC_CHAP], [test "x$enable_mpcchap" = xyes]) AM_CONDITIONAL([HAVE_VISIBILITY], true) Index: libmpc-0.1~r459/mpcchap/Makefile.am =================================================================== --- libmpc-0.1~r459.orig/mpcchap/Makefile.am 2010-05-31 16:37:54.118445192 +0200 +++ libmpc-0.1~r459/mpcchap/Makefile.am 2010-05-31 16:37:56.834454007 +0200 @@ -4,7 +4,8 @@ common_sources = ../common/tags.c ../common/crc32.c -AM_CPPFLAGS = -I$(top_srcdir)/include +AM_CPPFLAGS = -I$(top_srcdir)/include \ + $(LIBCUE_CFLAGS) if HAVE_VISIBILITY AM_CFLAGS = -fvisibility=hidden @@ -16,4 +17,4 @@ mpcchap_LDADD = $(top_builddir)/libmpcdec/libmpcdec.la \ $(top_builddir)/libmpcenc/libmpcenc.a \ - -lm -lcuefile + -lm $(LIBCUE_LIBS) Index: libmpc-0.1~r459/mpcchap/mpcchap.c =================================================================== --- libmpc-0.1~r459.orig/mpcchap/mpcchap.c 2010-05-31 16:37:54.130447137 +0200 +++ libmpc-0.1~r459/mpcchap/mpcchap.c 2010-05-31 16:39:22.318445340 +0200 @@ -24,7 +24,7 @@ #include -#include +#include // tags.c void Init_Tags ( void ); @@ -153,13 +153,13 @@ mpc_status add_chaps_cue(char * mpc_file, char * chap_file, mpc_demux * demux, mpc_streaminfo * si) { Cd *cd = 0; - int nchap, format = UNKNOWN; + int nchap; struct stat stbuf; FILE * in_file; int chap_pos, end_pos, chap_size, i; char * tmp_buff; - if (0 == (cd = cf_parse(chap_file, &format))) { + if (0 == (cd = cue_parse_file(chap_file))) { fprintf(stderr, "%s: input file error\n", chap_file); return !MPC_STATUS_OK; } debian/patches/02_link-libm.patch0000664000000000000000000000040111400743272014012 0ustar --- a/libmpcdec/Makefile.am.old 2009-10-20 20:11:41.000000000 +0200 +++ b/libmpcdec/Makefile.am 2009-10-20 20:12:02.000000000 +0200 @@ -17,3 +17,4 @@ $(common_sources) libmpcdec_la_LDFLAGS = -no-undefined -version-info 7:0:1 +libmpcdec_la_LIBADD = -lm debian/patches/series0000664000000000000000000000012412260714215012031 0ustar 01_am-maintainer-mode.patch 02_link-libm.patch 03_mpcchap.patch 04_link-order.patch debian/patches/04_link-order.patch0000664000000000000000000000311211501020043014170 0ustar Index: libmpc-0.1~r459/mpc2sv8/Makefile.am =================================================================== --- libmpc-0.1~r459.orig/mpc2sv8/Makefile.am 2010-12-12 02:06:29.610851037 +0100 +++ libmpc-0.1~r459/mpc2sv8/Makefile.am 2010-12-12 02:06:38.080851002 +0100 @@ -11,6 +11,7 @@ METASOURCES = AUTO bin_PROGRAMS = mpc2sv8 mpc2sv8_SOURCES = mpc2sv8.c $(common_sources) -mpc2sv8_LDADD = -lm \ +mpc2sv8_LDADD = \ $(top_builddir)/libmpcdec/libmpcdec.la \ - $(top_builddir)/libmpcenc/libmpcenc.a + $(top_builddir)/libmpcenc/libmpcenc.a \ + -lm Index: libmpc-0.1~r459/mpcdec/Makefile.am =================================================================== --- libmpc-0.1~r459.orig/mpcdec/Makefile.am 2010-12-12 02:05:03.790851001 +0100 +++ libmpc-0.1~r459/mpcdec/Makefile.am 2010-12-12 02:05:11.770851000 +0100 @@ -9,6 +9,7 @@ METASOURCES = AUTO bin_PROGRAMS = mpcdec mpcdec_SOURCES = mpcdec.c -mpcdec_LDADD = -lm \ +mpcdec_LDADD = \ $(top_builddir)/libmpcdec/libmpcdec.la \ - $(top_builddir)/libwavformat/libwavformat.a + $(top_builddir)/libwavformat/libwavformat.a \ + -lm Index: libmpc-0.1~r459/mpcenc/Makefile.am =================================================================== --- libmpc-0.1~r459.orig/mpcenc/Makefile.am 2010-12-12 02:05:38.200851002 +0100 +++ libmpc-0.1~r459/mpcenc/Makefile.am 2010-12-12 02:05:51.660851636 +0100 @@ -22,8 +22,9 @@ $(common_sources) \ mpcenc.h predict.h config.h -mpcenc_LDADD = -lm \ +mpcenc_LDADD = \ $(EXTRALIBS) \ $(top_builddir)/libmpcpsy/libmpcpsy.a \ - $(top_builddir)/libmpcenc/libmpcenc.a + $(top_builddir)/libmpcenc/libmpcenc.a \ + -lm debian/patches/01_am-maintainer-mode.patch0000664000000000000000000000063011400744155015604 0ustar Index: libmpc-0.1~r459/configure.in =================================================================== --- libmpc-0.1~r459.orig/configure.in 2010-05-31 16:32:02.551447078 +0200 +++ libmpc-0.1~r459/configure.in 2010-05-31 16:32:09.578951197 +0200 @@ -4,6 +4,7 @@ AC_CONFIG_SRCDIR([libmpcdec/mpc_reader.c]) AM_CONFIG_HEADER([include/config.h]) AM_INIT_AUTOMAKE +AM_MAINTAINER_MODE AC_LANG_C AC_PROG_CC