debian/0000755000000000000000000000000011737531725007201 5ustar debian/gbp.conf0000644000000000000000000000053611737531705010622 0ustar [DEFAULT] # Use pristine-tar pristine-tar = True # Automatically GPG sign tags: sign-tags = True [git-dch] # include 7 digits of the commit id in the changelog entry id-length = 7 # Parse metatags from commit messages meta = True [git-import-orig] # Use a custom commit message for upstream imports. import-msg = New upstream release %(version)s. debian/rules0000755000000000000000000000147611737531705010267 0ustar #!/usr/bin/make -f # -*- makefile -*- # Use debhelper default for all targets (but some are overridden below). %: dh $@ export VERBOSE=1 # Enable all hardening options, since we potentiallyl handle untrusted # data. Debhelper takes care of calling dpkg-buildflags and exporting # all the build flags in the environment automatically. export DEB_BUILD_MAINT_OPTIONS = hardening=+all # Upstream uses make mrproper, which dh_auto_clean doesn't recognize. override_dh_auto_clean: $(MAKE) mrproper # Remove our config file generated in the configure step rm -f Makefile.local override_dh_auto_configure: # Default is to install to /usr/local echo "prefix=/usr" >> Makefile.local # These will be installed by debhelper echo "DO_NOT_INSTALL_CHANGELOG=1" >> Makefile.local echo "DO_NOT_INSTALL_LICENSE=1" >> Makefile.local debian/watch0000644000000000000000000000037211737531705010232 0ustar # See uscan(1) for format # Compulsory line, this is a version 3 file version=3 options=downloadurlmangle=s/\/([\d\.]*)\/index.html$/\/$1\/catcodec-$1-source.tar.gz/ \ http://master.binaries.openttd.org/extra/catcodec/ \ (\d+(?:\.\d+)*)/index.html debian/changelog0000644000000000000000000000170611737531705011055 0ustar catcodec (1.0.5-1) unstable; urgency=low * [008d309] New upstream release 1.0.5. (Closes: #667128) * [45b02cc] Bump Standards-Version to 3.9.3, no changes required. * [c02cca6] Enable verbose builds. * [8066b72] Raise the debhelper compat level to 9. * [c16b293] Enable all hardening options. * [1fd7580] Add pass-cppflags.patch to make all hardening work. * [8c3bd7a] Update copyright file to use the new copyright-format-1.0. * [6f710c1] Add fix-clean-rev-cpp.patch to fix make clean. -- Matthijs Kooijman Fri, 06 Apr 2012 11:13:18 +0200 catcodec (1.0.4-1) unstable; urgency=low * [482c4b7] New upstream release 1.0.4. * [0ceaa00] Bump Standards-Version to 3.9.2, no changed required. -- Matthijs Kooijman Thu, 04 Aug 2011 21:39:48 +0200 catcodec (1.0.0-1) unstable; urgency=low * Initial release (Closes: #568411) -- Matthijs Kooijman Thu, 04 Feb 2010 17:14:26 +0100 debian/compat0000644000000000000000000000000211737531705010375 0ustar 9 debian/source/0000755000000000000000000000000011737531705010477 5ustar debian/source/format0000644000000000000000000000001411737531705011705 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000201011737531705011123 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: catcodec Upstream-Contact: Remko Bijker Source: http://www.openttd.org/download-catcodec Files: * Copyright: © 2009-2012 Remko Bijker License: GPL-2.0+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. . 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 General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; 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 version 2 can be found in `/usr/share/common-licenses/GPL-2'. debian/patches/0000755000000000000000000000000011737531705010626 5ustar debian/patches/series0000644000000000000000000000005411737531705012042 0ustar pass-cppflags.patch fix-clean-rev-cpp.patch debian/patches/fix-clean-rev-cpp.patch0000644000000000000000000000047211737531705015072 0ustar Author: Matthijs Kooijman Description: Fix make clean by removing the right rev.cpp --- a/Makefile +++ b/Makefile @@ -59,7 +59,7 @@ clean: @echo '[CLEAN]' - $(Q)rm -f $(CATCODEC) rev.cpp version.cache + $(Q)rm -f $(CATCODEC) src/rev.cpp version.cache $(Q)rm -rf objs mrproper: clean debian/patches/pass-cppflags.patch0000644000000000000000000000066411737531705014420 0ustar Author: Matthijs Kooijman Description: Pass CPPFLAGS (C preprocessor flags) from the environment to the C++ compiler. This allows all hardening options to be enabled. --- a/Makefile +++ b/Makefile @@ -45,7 +45,7 @@ objs/%.o: src/%.cpp $(Q)mkdir -p objs @echo '[CPP] $@' - $(Q)$(CXX) $(CXXFLAGS) -c -o $@ $< + $(Q)$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $< $(CATCODEC): $(OBJS:%=objs/%) @echo '[LINK] $@' debian/control0000644000000000000000000000131111737531705010576 0ustar Source: catcodec Section: devel Priority: extra Maintainer: Matthijs Kooijman Uploaders: Jordi Mallach DM-Upload-Allowed: yes Build-Depends: debhelper (>= 9) Standards-Version: 3.9.3 Vcs-Browser: http://git.debian.org/?p=collab-maint/catcodec.git Vcs-Git: git://git.debian.org/collab-maint/catcodec.git Homepage: http://www.openttd.org/download-catcodec Package: catcodec Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: tool to decode/encode the sample catalogue for OpenTTD catcodec decodes and encodes sample catalogues for OpenTTD. These sample catalogues are not much more than some meta-data (description and file name) and raw PCM data.