--- opusfile-0.6.orig/debian/changelog +++ opusfile-0.6/debian/changelog @@ -0,0 +1,44 @@ +opusfile (0.6-1) unstable; urgency=medium + + * Fixes for comment handling. + * Fixes header reading for non-Opus streams. + * Fixes for zero size METADATA_BLOCK_PICTURE. + + -- Ron Lee Sat, 04 Oct 2014 10:54:29 +0930 + +opusfile (0.5-1) unstable; urgency=low + + * Much new goodness, too much to list here, see git for details. + * Add a symbols file now that we're back on a tagged release again. + + -- Ron Lee Sat, 11 Jan 2014 07:35:41 +1030 + +opusfile (0.2+20130702-1) unstable; urgency=low + + * Update the package dependencies too. Closes: #707969 (again) + + -- Ron Lee Tue, 02 Jul 2013 16:33:34 +0930 + +opusfile (0.2+20130513-1) unstable; urgency=low + + * Snapshot release for unstable. + * Fixes the pkg-config file to avoid overlinking. Closes: #707969 + * Split the URL handling into a separate library, so that linking with + openssl is only an issue for people who do need that functionality. + The main opusfile library can now be linked with anything again. + Closes: #708008 + + -- Ron Lee Mon, 13 May 2013 21:43:40 +0930 + +opusfile (0.2-1) experimental; urgency=low + + * Initial release. Closes: #692942 + + -- Ron Lee Sat, 17 Nov 2012 21:27:45 +1030 + +opusfile (0.1-1) experimental; urgency=low + + * Initial test package. + + -- Ron Lee Sun, 11 Nov 2012 10:38:53 +1030 + --- opusfile-0.6.orig/debian/compat +++ opusfile-0.6/debian/compat @@ -0,0 +1 @@ +5 --- opusfile-0.6.orig/debian/control +++ opusfile-0.6/debian/control @@ -0,0 +1,59 @@ +Source: opusfile +Section: sound +Priority: optional +Maintainer: Ron Lee +Build-Depends: libopus-dev (>= 1.0.1), libogg-dev (>= 1.3.0), libssl-dev, + pkg-config, debhelper (>= 5) +Build-Depends-Indep: doxygen, graphviz +Standards-Version: 3.9.6.0 +Homepage: http://www.opus-codec.org +Vcs-Git: git://git.debian.org/users/ron/opusfile.git +Vcs-Browser: http://git.debian.org/?p=users/ron/opusfile.git;a=summary + +Package: libopusfile0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends} +Description: High-level API for basic manipulation of Ogg Opus audio streams + libopusfile provides several sets of built-in routines for file and stream + access, and may also use custom stream I/O routines provided by the embedded + environment. There are built-in I/O routines provided for ANSI-compliant + stdio (FILE *), memory buffers, and URLs (including URLs, plus + optionally and URLs). + . + It is implemented as a layer on top of Xiph.Org's reference libogg and + libopus libraries. + . + This package provides the opusfile runtime library. + +Package: libopusfile-dev +Section: libdevel +Architecture: any +Depends: libopusfile0 (= ${binary:Version}), libopus-dev (>= 1.0.1), libogg-dev (>= 1.3.0) +Recommends: libssl-dev +Description: High-level API for basic manipulation of Ogg Opus audio streams + libopusfile provides several sets of built-in routines for file and stream + access, and may also use custom stream I/O routines provided by the embedded + environment. There are built-in I/O routines provided for ANSI-compliant + stdio (FILE *), memory buffers, and URLs (including URLs, plus + optionally and URLs). + . + It is implemented as a layer on top of Xiph.Org's reference libogg and + libopus libraries. + . + This package provides the Opus library headers and development files. + +Package: libopusfile-dbg +Section: debug +Priority: extra +Architecture: any +Depends: libopusfile0 (= ${binary:Version}) +Description: debugging symbols for libopusfile + This package provides the detached debug symbols for libopusfile. + +Package: libopusfile-doc +Section: doc +Architecture: all +Description: libopusfile API documentation + This package contains the developer documentation for libopusfile. + --- opusfile-0.6.orig/debian/copyright +++ opusfile-0.6/debian/copyright @@ -0,0 +1,36 @@ +This package was debianised by Ron on +Sun, 11 Nov 2012 13:07:18 +1030. + +Upstream source was cloned from http://git.opus-codec.org/opusfile.git + + Copyright (c) 1994-2012 Xiph.Org Foundation and contributors + + 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 Xiph.Org Foundation 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 FOUNDATION + 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. + +The Debian packaging is Copyright 2012, Ron and +is licensed under the same terms as opusfile itself. --- opusfile-0.6.orig/debian/libopusfile-dev.install +++ opusfile-0.6/debian/libopusfile-dev.install @@ -0,0 +1,4 @@ +usr/include/* +usr/lib/lib*.a +usr/lib/lib*.so +usr/lib/pkgconfig/*.pc --- opusfile-0.6.orig/debian/libopusfile-doc.doc-base +++ opusfile-0.6/debian/libopusfile-doc.doc-base @@ -0,0 +1,18 @@ +Document: libopusfile +Title: Opusfile library API documentation +Author: Xiph.Org +Abstract: A high-level API for basic manipulation of Ogg Opus audio streams + . + libopusfile provides several sets of built-in routines for file and stream + access, and may also use custom stream I/O routines provided by the embedded + environment. There are built-in I/O routines provided for ANSI-compliant + stdio (FILE *), memory buffers, and URLs (including URLs, plus + optionally and URLs). + . + It is implemented as a layer on top of Xiph.Org's reference libogg and + libopus libraries. +Section: Programming/C + +Format: HTML +Index: /usr/share/doc/libopusfile-doc/html/index.html +Files: /usr/share/doc/libopusfile-doc/html/* --- opusfile-0.6.orig/debian/libopusfile-doc.docs +++ opusfile-0.6/debian/libopusfile-doc.docs @@ -0,0 +1 @@ +debian/tmp/usr/share/doc/opusfile/html --- opusfile-0.6.orig/debian/libopusfile-doc.examples +++ opusfile-0.6/debian/libopusfile-doc.examples @@ -0,0 +1,2 @@ +examples/opusfile_example.c +examples/seeking_example.c --- opusfile-0.6.orig/debian/libopusfile0.install +++ opusfile-0.6/debian/libopusfile0.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* --- opusfile-0.6.orig/debian/libopusfile0.symbols +++ opusfile-0.6/debian/libopusfile0.symbols @@ -0,0 +1,61 @@ +libopusfile.so.0 libopusfile0 #MINVER# + op_bitrate@Base 0.5 + op_bitrate_instant@Base 0.5 + op_channel_count@Base 0.5 + op_current_link@Base 0.5 + op_fdopen@Base 0.5 + op_fopen@Base 0.5 + op_free@Base 0.5 + op_freopen@Base 0.5 + op_head@Base 0.5 + op_link_count@Base 0.5 + op_mem_stream_create@Base 0.5 + op_open_callbacks@Base 0.5 + op_open_file@Base 0.5 + op_open_memory@Base 0.5 + op_pcm_seek@Base 0.5 + op_pcm_tell@Base 0.5 + op_pcm_total@Base 0.5 + op_raw_seek@Base 0.5 + op_raw_tell@Base 0.5 + op_raw_total@Base 0.5 + op_read@Base 0.5 + op_read_float@Base 0.5 + op_read_float_stereo@Base 0.5 + op_read_stereo@Base 0.5 + op_seekable@Base 0.5 + op_serialno@Base 0.5 + op_set_decode_callback@Base 0.5 + op_set_dither_enabled@Base 0.5 + op_set_gain_offset@Base 0.5 + op_tags@Base 0.5 + op_test@Base 0.5 + op_test_callbacks@Base 0.5 + op_test_file@Base 0.5 + op_test_memory@Base 0.5 + op_test_open@Base 0.5 + opus_granule_sample@Base 0.5 + opus_head_parse@Base 0.5 + opus_picture_tag_clear@Base 0.5 + opus_picture_tag_init@Base 0.5 + opus_picture_tag_parse@Base 0.5 + opus_tagcompare@Base 0.5 + opus_tagncompare@Base 0.5 + opus_tags_add@Base 0.5 + opus_tags_add_comment@Base 0.5 + opus_tags_clear@Base 0.5 + opus_tags_copy@Base 0.5 + opus_tags_get_track_gain@Base 0.5 + opus_tags_init@Base 0.5 + opus_tags_parse@Base 0.5 + opus_tags_query@Base 0.5 + opus_tags_query_count@Base 0.5 +libopusurl.so.0 libopusfile0 #MINVER# + op_open_url@Base 0.5 + op_test_url@Base 0.5 + op_url_stream_create@Base 0.5 + op_url_stream_vcreate@Base 0.5 + op_vopen_url@Base 0.5 + op_vtest_url@Base 0.5 + opus_server_info_clear@Base 0.5 + opus_server_info_init@Base 0.5 --- opusfile-0.6.orig/debian/rules +++ opusfile-0.6/debian/rules @@ -0,0 +1,145 @@ +#!/usr/bin/make -f +# Ron Lee 2003 - 2012 + +#export DH_VERBOSE=1 +export DH_OPTIONS + +SHELL = /bin/bash + +NUM_CPUS = $(shell getconf _NPROCESSORS_ONLN 2>/dev/null) +PARALLEL = $(subst parallel=,,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) +NJOBS = -j$(or $(PARALLEL),$(NUM_CPUS),1) + + +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) + + +# -fstack-protector-all is added by the default autoconf tests. +HARD_CPPFLAGS = -D_FORTIFY_SOURCE=2 +HARD_CFLAGS = -Wformat=2 +HARD_LDFLAGS = -Wl,-z,now + +ifneq (,$(filter-out $(DEB_HOST_ARCH), alpha hppa arm)) + HARD_CFLAGS += -fstack-protector --param ssp-buffer-size=4 +endif +ifneq (,$(filter-out $(DEB_HOST_ARCH), ia64 hppa avr32)) + HARD_LDFLAGS += -Wl,-z,relro +endif + +# Keep dpkg-buildpackage the hell out of messing with our compile flags, +# we should trust upstream to know better than it what to use here. +# We explicitly re-add -g and -O2 here, since by explicitly overriding +# these variables, we otherwise disable autoconf adding them by default. +CPPFLAGS = $(HARD_CPPFLAGS) +CFLAGS = $(HARD_CFLAGS) -g -O2 +CXXFLAGS = $(HARD_CFLAGS) -g -O2 +LDFLAGS = $(HARD_LDFLAGS) + + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS = -g -O0 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + + +ifneq (,$(filter $(DEB_HOST_ARCH), arm armel mips mipsel)) + EXTRA_CONFIG_FLAGS = --enable-fixed-point +endif + + + +objdir := objs + + +clean: + dh_testdir + dh_testroot + $(RM) -r $(objdir) + $(RM) *-stamp + dh_clean + + +$(objdir)/config.status: configure + dh_testdir + mkdir -p $(objdir) + cd $(objdir) && ../configure --disable-maintainer-mode \ + --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr \ + $(EXTRA_CONFIG_FLAGS) \ + CPPFLAGS="$(CPPFLAGS)" \ + CFLAGS="$(CFLAGS)" \ + CXXFLAGS="$(CXXFLAGS)" \ + LDFLAGS="$(LDFLAGS)" + +build: build-arch build-indep + +build-arch: build-arch-stamp +build-arch-stamp: $(objdir)/config.status + dh_testdir + $(MAKE) $(NJOBS) -C $(objdir) opusfile + touch $@ + +build-indep: build-indep-stamp +build-indep-stamp: $(objdir)/config.status + dh_testdir + $(MAKE) $(NJOBS) -C $(objdir) docs + touch $@ + + +install: install-arch install-indep + +install-arch: install-arch-stamp +install-arch-stamp: build-arch + dh_testdir + $(MAKE) -C $(objdir) install-opusfile DESTDIR=$(CURDIR)/debian/tmp + touch $@ + +install-indep: install-indep-stamp +install-indep-stamp: build-indep + dh_testdir + $(MAKE) -C $(objdir) install-docs DESTDIR=$(CURDIR)/debian/tmp + touch $@ + + +binary: binary-arch binary-indep + +binary-indep: DH_OPTIONS = -i +binary-indep: install-indep + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples + dh_installchangelogs + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: DH_OPTIONS = -a +binary-arch: install-arch + dh_testdir + dh_testroot + dh_install --sourcedir=debian/tmp + dh_installdocs + dh_installchangelogs + dh_strip --dbg-package=libopusfile-dbg + dh_compress + dh_fixperms + dh_makeshlibs -- -c0 + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + + +.PHONY: clean build build-arch build-indep install install-arch install-indep \ + binary binary-arch binary-indep +