debian/0000775000000000000000000000000012261264050007166 5ustar debian/source/0000775000000000000000000000000012165653603010477 5ustar debian/source/format0000664000000000000000000000001412165653603011705 0ustar 3.0 (quilt) debian/source/include-binaries0000664000000000000000000000004012165653603013631 0ustar debian/upstream-signing-key.pgp debian/copyright0000664000000000000000000000641412165653603011137 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: mupen64plus-video-z64 Upstream-Contact: Jon 'wahrhaft' Ring Source: http://bitbucket.org/wahrhaft/mupen64plus-video-z64/ Files: * Copyright: 2009, Jon 'wahrhaft' Ring License: GPL-2+ Files: src/* Copyright: 2007, ziggy License: GPL-2+ Files: src/osal_* Copyright: 2009, Richard 'Richard42' Goedeken License: GPL-2+ Files: src/queue.h Copyright: 1991-1993, The Regents of the University of California License: BSD-3-clause Files: projects/unix/Makefile Copyright: 2007-2008, Jesse 'DarkJezter' Dean 2007-2008, Scott 'Tillin9' Knauert 2007-2009, Richard 'Richard42' Goedeken 2010, Jon 'wahrhaft' Ring License: GPL-2+ Files: debian/* Copyright: 2009-2012, Sven Eckelmann 2009-2012, Tobias Loose License: GPL-2+ 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. 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: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. 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. 3. Neither the name of the University 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 REGENTS 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 REGENTS 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. debian/changelog0000664000000000000000000004366412261264050011055 0ustar mupen64plus-video-z64 (2.0.0-1build1) trusty; urgency=medium * No change rebuild against glew 1.10. -- Dimitri John Ledkov Thu, 02 Jan 2014 13:22:48 +0000 mupen64plus-video-z64 (2.0.0-1) unstable; urgency=low * New Upstream Version * Upload to unstable * debian/control: - Build-Depend on debhelper 9.20130604 for support of parameters when detecting targets in dh_auto_* * debian/rules: - Work around new debhelper 9.20130624 dh_auto_{clean,test} behavior which is causing a FTBFS by adding an explicit override_dh_auto_{clean,test} rule * debian/patches: - Remove upstream merged sdl2_compat.patch * debian/watch: - Verify new upstream versions using GPG key E05E608A04EF22F7596B -- Sven Eckelmann Sat, 06 Jul 2013 01:32:13 +0200 mupen64plus-video-z64 (1.99.5+24+f331e66fc630-2) experimental; urgency=low * debian/rules: - Switch from SDL 1.2 to SDL 2.0 * debian/control: - Depend on libsdl2-dev instead of libsdl1.2-dev - Add Break for pre-SDL2 libmupen64plus2 * debian/patches: - Add sdl2_compat.patch, Add missing name when creating thread with SDL2 -- Sven Eckelmann Sun, 23 Jun 2013 13:26:39 +0200 mupen64plus-video-z64 (1.99.5+24+f331e66fc630-1) experimental; urgency=low * New Upstream Snapshot from f331e66fc630f5a83f0be01fdb2ed87a1c433ccb * Enable link-time optimization in debian/rules similar to upstream * debian/control: - Depend on mupen64plus-vidext-abi-3 - Depend on mupen64plus-gfx-abi-2.2 - Depend on mupen64plus-dev >= 1.99.5+207+cbb5cbe2d4fc -- Sven Eckelmann Wed, 05 Jun 2013 13:26:59 +0200 mupen64plus-video-z64 (1.99.5+18+7c782be6fc7c-1) experimental; urgency=low * New upstream snapshot from revision 7c782be6fc7c59ce333dcaa040e128e1dea478c7 * Disable extra debug code in release builds with -DNDEBUG in debian/rules * debian/patches: - Rebase printf_fixup.patch on top of 1.99.5+18+7c782be6fc7c -- Sven Eckelmann Fri, 08 Feb 2013 10:16:50 +0100 mupen64plus-video-z64 (1.99.5+4+ee66eddb472a-1) experimental; urgency=low * New upstream snapshot from revision ee66eddb472a3dcfa5558df95352bf9c78d1aa29 * Remove obsolete DM-Upload-Allowed in debian/control -- Sven Eckelmann Sun, 02 Dec 2012 22:34:28 +0100 mupen64plus-video-z64 (1.99.5-2) unstable; urgency=low * Upload to unstable * Remove obsolete DM-Upload-Allowed in debian/control * Disable extra debug code in release builds with -DNDEBUG in debian/rules -- Sven Eckelmann Sun, 05 May 2013 14:29:38 +0200 mupen64plus-video-z64 (1.99.5-1) experimental; urgency=low * New Upstream Version * Upgraded to policy 3.9.4, no changes required * debian/patches: - Remove upstream merged gcc_lto.patch, mixed_signedness.patch and uninitialized_restorefbid.patch -- Sven Eckelmann Wed, 10 Oct 2012 22:00:39 +0200 mupen64plus-video-z64 (1.99.4+30+daa3f1b2fe76-3) unstable; urgency=low * debian/patches: - Add gcc_lto.patch, Enable support for link-time optimization - Add uninitialized_restorefbid.patch, Workaround wrong gcc warning about uninitialized variable - Add mixed_signedness.patch, Fix mixing of signedness -- Sven Eckelmann Sat, 09 Jun 2012 01:39:27 +0200 mupen64plus-video-z64 (1.99.4+30+daa3f1b2fe76-2) unstable; urgency=low [ Simon Ruderich ] * Let debhelper set the buildflags implicitly -- Sven Eckelmann Mon, 28 May 2012 00:24:25 +0200 mupen64plus-video-z64 (1.99.4+30+daa3f1b2fe76-1) unstable; urgency=low * New upstream snapshot from revision daa3f1b2fe768e35694e572f4ba74325e7480547 * Update copyright years in debian/copyright * Enable all hardening flags in debian/rules * Upgraded to policy 3.9.3, no changes required * Upgrade debhelper compat to v9 * Use buildflags.mk to set security flags in debian/rules * Switch from libglew1.6-dev to libglew-dev -- Sven Eckelmann Sat, 17 Mar 2012 20:43:30 +0100 mupen64plus-video-z64 (1.99.4+29+901fe271524a-1) experimental; urgency=low * New upstream snapshot from revision 901fe271524a2ba372f66552eb17af31316b8083 * debian/patches: - Rebase printf_fixup.patch against 1.99.4+29+901fe271524a -- Sven Eckelmann Sat, 12 Nov 2011 21:50:14 +0100 mupen64plus-video-z64 (1.99.4+24+81f51799ae45-1) experimental; urgency=low * New upstream snapshot from revision 81f51799ae4560b8a3b644ba992d0ddd747464ac * debian/control: - Depend on mupen64plus-*-abi-2 - Build-Depend on libmupen64plus-dev >= 1.99.4+77+8bb0e6b3ae3a-1 * Don't mix implicit and explicit rules to prevent FTBFS with make 3.82 * debian/patches: - Remove upstream merged patch rewrite_makefile.patch - Rebase printf_fixup.patch against 1.99.4+24+81f51799ae45 * Add debian/get-orig-source.sh for snapshots -- Sven Eckelmann Mon, 29 Aug 2011 17:07:17 +0200 mupen64plus-video-z64 (1.99.4-4) unstable; urgency=low * debian/control: - Add virtual package libsdl-dev as alternative build dependency * Don't mix implicit and explicit rules to prevent FTBFS with make 3.82 * Remove hardening-includes which are now integrated in dpkg- buildflags * Use debian packaging manual URL as format identifier in debian/copyright -- Sven Eckelmann Mon, 31 Oct 2011 12:50:51 +0100 mupen64plus-video-z64 (1.99.4-3) unstable; urgency=low * Upload to unstable * debian/control: - Build against libglew1.6 - Depend on pkg-config for new Makefile * debian/rules: - Mark all targets as phony - Force PIC using Makefile option - Remove unintended optimization flags * debian/patches: - Remove obsolete default-optimisations.patch - Add rewrite_makefile.patch, Rewrite Makefile to fix flags and linking -- Sven Eckelmann Sun, 24 Jul 2011 14:24:52 +0200 mupen64plus-video-z64 (1.99.4-2) experimental; urgency=low * Upgraded to policy 3.9.2, no changes required * Update Vcs-* fields to new anonscm.debian.org URLs in debian/control * Add multiarch support -- Sven Eckelmann Sat, 11 Jun 2011 16:54:33 +0200 mupen64plus-video-z64 (1.99.4-1) experimental; urgency=low * New Upstream Version * Updated my maintainer e-mail address * Split source package to match upstreams modular release packages * debian/copyright: - Update to DEP5 revision 164 - Update copyright years * debian/patches: - Add printf_fixup.patch, Correct usage of printf format strings - Rebase default-optimisations.patch against 1.99.4 - Remove upstream merged patches: as-needed.patch, correct_fpr32_mapping.patch, correct_security_printf.patch, debian-archs.patch, dejavu-font.patch, destdir.patch, dont-install-unneeded.patch, fix-7z-subfolder.patch, fix-desktop-file.patch, fix_r0_override.patch, fix_readpng.patch, ftbfs-debugger.patch, ftbfs-dynarec.patch, ftbfs-glibc210.patch, ftbfs-gvariant-type-conflicts.patch, ftbfs-kfreebsd.patch, glide64_hurd.patch, glide64-noasm.patch, gtk-open-filter.patch, interpreter_x86_fldcw.patch, jttl_fix_romclosed.patch, link_gdk.patch, load_aidacrate.patch, load_vistatus.patch, noexecstack.patch, optional_signinfo.patch, osd-pause-crash.patch, path_max.patch, pie_support.patch, plugin-searchpath.patch, remove-gln64.patch, remove-nondfsg-icons.patch, resume_on_start.patch, rice-ati-symbols.patch, rice-crash-vendorstring.patch, rice_fog.patch, rice_nodebug.patch, rice-screenflickering.patch, rice-texturepack-crash.patch, rsp_hle_bigendian.patch, rsp_ucode2_reset.patch, static-binutils-libs.patch, system-libbz2.patch, system-liblzma.patch, system-libpng.patch, system-zlib.patch, version-string.patch, xdg-basedir.patch -- Sven Eckelmann Sat, 22 Jan 2011 11:05:28 +0100 mupen64plus (1.5+dfsg1-14) experimental; urgency=low * Upgraded to policy 3.9.1, no changes required * Upgrade debhelper compat to v8 * debian/rules: - set *FLAGS using dpkg-buildflags in debian/rules to work like dpkg-buildpackage when called directly - Use hardening-includes for CFLAGS and LDFLAGS hardened builds - Use externally provided LDFLAGS - Disable support for debugger due to missing pic/pie support of libopcodes.a * debian/patches: - Add correct_security_printf.patch, Correct possible printf format string vulnerability - Add pie_support.patch, Add support for PIE/PIC -- Sven Eckelmann Thu, 23 Sep 2010 13:52:32 +0200 mupen64plus (1.5+dfsg1-13) unstable; urgency=low * debian/patches: - Add path_max.patch, Add dummy PATH_MAX on systems without it (Closes: #588066) - Add optional_signinfo.patch, Only use siginfo subsystem if system offers it (Closes: #588066) - Add glide64_hurd.patch, Define GNU/Hurd as UNIX system for glide64 (Closes: #588066) -- Sven Eckelmann Mon, 12 Jul 2010 23:20:02 +0200 mupen64plus (1.5+dfsg1-12) unstable; urgency=low * Use googlecode.debian.net instead of complex own filters for debian/watch * Upgraded to policy 3.9.0, no changes required * Build only on i386/amd64 because upstream doesn't to support more * debian/patches: - Add link_gdk.patch, Link directly against gdk-2.0 instead indirectly through gtk+-2.0 -- Sven Eckelmann Mon, 28 Jun 2010 21:31:48 +0200 mupen64plus (1.5+dfsg1-11) unstable; urgency=low * debian/patches: - Rename ftbfs-gvariant-type-conflicts.path to ftbfs-gvariant-type-conflicts.patch - Add rice-ati-symbols.patch, Allow to load rice on systems with missing opengl extensions -- Sven Eckelmann Sun, 23 May 2010 11:55:23 +0200 mupen64plus (1.5+dfsg1-10) unstable; urgency=low [ Sven Eckelmann ] * debian/patches: - Add rsp_ucode2_reset.patch, Reset status of specific ucode2 hacks after starting again - Add rsp_hle_bigendian.patch, Fix wrong high level emulation of rsp on big endian systems - Add rice-crash-vendorstring.patch, Don't crash on long OpenGL vendor string (Closes: #580480, LP: #575968) [ Piotr Ożarowski ] * DMUA flag set to yes -- Sven Eckelmann Thu, 06 May 2010 11:34:46 +0200 mupen64plus (1.5+dfsg1-9) unstable; urgency=low * debian/patches: - Add ftbfs-gvariant-type-conflicts.path, Fix FTBFS due to glib's gvariant.h type definitions (Closes: #577329) - Add dont-install-unneeded.patch, Don't install files which aren't used by us * debian/rules: - Enable parallel builds using dh's --parallel - Inform about missing installed files using dh's --list-missing - Share options between dh_auto_build and dh_auto_install * debian/control: - Depend on debhelper 7.4.10 for --parallel and --list-missing -- Sven Eckelmann Sun, 11 Apr 2010 12:23:04 +0200 mupen64plus (1.5+dfsg1-8) unstable; urgency=low * debian/patches: - Add rice_fog.patch, Reduce flickering when enabling fog in rice - Update fix_readpng.patch, Fix FTBFS with libpng14 and remove coding style only changes * Convert to 3.0 (quilt) source format * Remove outdated README.source * debian/control: - Remove shlibs:Depends for binary packages without shared libs dependencies - Remove unneeded build dependency to quilt - Upgraded to policy 3.8.4, no changes required * Correct spelling errors found by lintian * debian/copyright: Update copyright years * Check all files ever published on the download page in debian/watch -- Sven Eckelmann Mon, 15 Mar 2010 16:22:03 +0100 mupen64plus (1.5+dfsg1-7) unstable; urgency=low * debian/patches: - Correct minor dep3 patch tagging format problems - Update correct_fpr32_mapping.patch, prevent corruption of upper registers in a register pair due to sign extension - Add system-liblzma.patch, use liblzma from debian instead of buildin (Closes: #543552) * debian/control: - Depend on liblzma-dev for lzma and xz support -- Sven Eckelmann Mon, 19 Oct 2009 12:38:26 +0200 mupen64plus (1.5+dfsg1-6) unstable; urgency=low * debian/patches: - Add Origin information to patches - Update fix_readpng.patch, Backport actual commit from upstream - Update ftbfs-glibc210.patch, Backport actual commit from upstream - Update noexecstack.patch, Backport actual commit from upstream - Update jttl_fix_romclosed.patch, Backport actual commit from upstream - Add correct_fpr32_mapping.patch, Correct emulation of shared 32 bit wide and 64 bit wide FPR in MIPS I and MIPS III mode - Remove load-fpr-location.patch which is replaced by correct_fpr32_mapping.patch - Add load_aidacrate.patch, Set aiDacrate during savestate load to fix slowdowns after savestate load - Add load_vistatus.patch, Set video width and status during savestate load - Add fix_r0_override.patch, Don't allow to override r0 register - Add resume_on_start.patch, Resume when pressing on start when in pause mode to prevent corruption - Add osd-pause-crash.patch, Fix OSD crash after pause-stop-start-pause of emulator -- Sven Eckelmann Thu, 08 Oct 2009 13:29:25 +0200 mupen64plus (1.5+dfsg1-5) unstable; urgency=low * debian/patches: - Change to dep3 patch tagging guidelines - Remove number before patches as order is given by debian/patches/series - Add gtk-open-filter.patch, Show files with .n64 and .v64 extension in filtered open file dialog (Closes: #546046) - Add noexecstack.patch, Don't enable executable stack by default (Closes: #547644) - Add fix_readpng.patch, Fix crash when loading png due to reordering optimizer - Add jttl_fix_romclosed.patch, Stop audio processing thread before freeing buffers to fix segfault during stop of emulation - Add rice_nodebug.patch, Don't enable excessive debug functionality in rice_video - Add interpreter_x86_fldcw.patch, Correctly set floating point control word - Add load-fpr-location.patch, Set register bank location when loading savestate -- Sven Eckelmann Mon, 28 Sep 2009 15:23:17 +0200 mupen64plus (1.5+dfsg1-4) unstable; urgency=low * debian/patches; - Update 119-debian-archs.patch, Correct detection of armel cpu endianness (Closes: #545463) - Add 120-ftbfs-glibc210, Fix FTBFS using g++-4.4 and glibc 2.10 due to missing const keywords (Closes: #545462) - Add 121-version-string.patch, remove misleading "-development" in version string - Add 122-default-optimisations.patch, Don't override optimisations set by debian build environment -- Sven Eckelmann Tue, 08 Sep 2009 22:17:00 +0200 mupen64plus (1.5+dfsg1-3) unstable; urgency=low * debian/rules: - Set host architecture to support build of i386 running on x86_64 kernel (Closes: #544670) - Don't set NO_ASM parameter anymore as it is handled by 119-debian-archs.patch * debian/patches: - Add 119-debian-archs.patch, Define wordsize and endianness of architectures supported by debian (Closes: #544673) - Update 118-ftbfs-debugger.patch, define dummy functions to decompile recompiled code on non-x86 architectures (Closes: #544662) -- Sven Eckelmann Wed, 02 Sep 2009 23:18:11 +0200 mupen64plus (1.5+dfsg1-2) unstable; urgency=low * debian/patches - Add 114-fix-7z-subfolder.patch, fix crash in romcache when reading 7zip archive with subfolders - Add 115-xdg-basedir.patch, Use "XDG Base Directory" compliant directories for files for each user (Closes: #544428) - Add 116-ftbfs-dynarec.patch, Don't try to compile dynarec on architectures without support (Closes: #544548) - Add 117-ftbfs-kfreebsd.patch, Don't stop compilation due to unknown OS kFreeBSD (Closes: #544550) - Add 118-ftbfs-debugger.patch, Define CHECK_MEM for non-x86 systems to prevent FTBFS due to dynarec checks (Closes: #544549) * debian/control: - Depend on libxdg-basedir-dev and pkg-config to support xdg-basedir specification * debian/rules: - Disable assembler optimized parts on unsupported architectures * Add README.source with information about patch management * Add NEWS.Debian with information about migration of old data and configuration to new xdg compliant directories -- Sven Eckelmann Tue, 01 Sep 2009 20:40:30 +0200 mupen64plus (1.5+dfsg1-1) unstable; urgency=low * Initial release (Closes: #513322) * debian/patches: - Add 100-fix-desktop-file.patch, fix desktop file - Add 101-destdir.patch, fix usage of DESTDIR in install target - Add 102-plugin-searchpath.patch, add search path for plugins - Add 103-dejavu-font.patch, use font from ttf-dejavu-core package - Add 104-as-needed.patch, allow --as-needed to reduce number of linked libraries - Add 105-system-libpng.patch, use libpng from debian instead of buildin - Add 106-system-zlib.patch, use zlib from debian instead of buildin - Add 107-system-libbz2.patch, use libbz2 from debian instead of buildin - Add 108-remove-gln64.patch, don't try to build glN64 removed from dfsg tar - Add 109-remove-nondfsg-icons.patch, don't include non-dfsg icons which are removed from dfsg tarball - Add 110-glide64-noasm.patch, don't use x86-asm on non-x86 plattforms in glide64 - Add 111-rice-texturepack-crash.patch, Fix crash when loading textures from texturepacks with rice_video - Add 112-rice-screenflickering.patch, Reduce screenflickering in some games when using rice_video - Add 113-static-binutils-libs.patch, Link static against binutils libraries with unstable abi -- Sven Eckelmann Mon, 17 Aug 2009 10:18:49 +0200 debian/gbp.conf0000664000000000000000000000005712165653603010620 0ustar [DEFAULT] pristine-tar = True sign-tags = True debian/control0000664000000000000000000000404312261264050010572 0ustar Source: mupen64plus-video-z64 Section: games Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Tobias Loose Uploaders: Sven Eckelmann Standards-Version: 3.9.4 Homepage: http://code.google.com/p/mupen64plus/ Vcs-Git: git://anonscm.debian.org/collab-maint/mupen64plus-video-z64.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/mupen64plus-video-z64.git Build-Depends: debhelper (>= 9.20130604), dpkg-dev (>= 1.16.1.1), libgl1-mesa-dev | libgl-dev, libglew-dev, libmupen64plus-dev (>= 2.0), libsdl2-dev, pkg-config, Package: mupen64plus-video-z64 Architecture: any-i386 any-amd64 Multi-Arch: same Pre-Depends: ${misc:Pre-Depends}, Depends: ${misc:Depends}, ${shlibs:Depends}, mupen64plus-config-abi-2.2, mupen64plus-gfx-abi-2.2, mupen64plus-rsp-z64, mupen64plus-vidext-abi-3, Provides: mupen64plus-video, Breaks: libmupen64plus2 (<< 2.0), Description: low-level rdp emulation for mupen64plus N64 Reality Drawing Processor emulation which can be used with a low-level rsp emulation plugin like mupen64plus-rsp-z64. It can emulate even unknown or uncommon microcodes, but cannot benefit from faster implementation for the host cpu. . A fast processor and graphics hardware which supports vertex and fragment shader is needed for this plugin. Package: mupen64plus-video-z64-dbg Section: debug Priority: extra Architecture: any-i386 any-amd64 Multi-Arch: same Pre-Depends: ${misc:Pre-Depends}, Depends: ${misc:Depends}, mupen64plus-video-z64 (= ${binary:Version}), Description: low-level rdp emulation for mupen64plus debug symbols package N64 Reality Drawing Processor emulation which can be used with a low-level rsp emulation plugin like mupen64plus-rsp-z64. It can emulate even unknown or uncommon microcodes, but cannot benefit from faster implementation for the host cpu. . A fast processor and graphics hardware which supports vertex and fragment shader is needed for this plugin. . This package contains the debug files. debian/mupen64plus-video-z64.install0000664000000000000000000000002712165653603014515 0ustar usr/lib/*/mupen64plus/ debian/rules0000775000000000000000000000270612165653603010264 0ustar #!/usr/bin/make -f # -*- makefile -*- export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie export DEB_CFLAGS_MAINT_APPEND=-flto export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) DEB_HOST_GNU_CPU ?= $(shell dpkg-architecture -qDEB_HOST_GNU_CPU) DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) MAKEOPTIONS = V=1 UNAME='$(DEB_HOST_ARCH_OS)' HOST_CPU='$(DEB_HOST_GNU_CPU)' APIDIR=/usr/include/mupen64plus/ DEBUG=1 PREFIX=/usr/ LIBDIR="/usr/lib/$(DEB_HOST_MULTIARCH)" PIC=1 OPTFLAGS="-DNDEBUG" SDL_CONFIG=sdl2-config DBG_PACKAGE=$(shell dpkg-parsechangelog|grep '^Source: '|sed 's/^Source:\s*//')-dbg binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep: dh $@ --sourcedirectory="projects/unix" --parallel --list-missing get-orig-source: $(CURDIR)/debian/get-orig-source.sh override_dh_auto_test: # otherwise dh_auto_test fails with debhelper 9.20130624 override_dh_auto_clean: dh_auto_clean -- $(MAKEOPTIONS) override_dh_auto_build: dh_auto_build -- all $(MAKEOPTIONS) override_dh_auto_install: dh_auto_install -- $(MAKEOPTIONS) override_dh_strip: dh_strip -a --dbg-package="$(DBG_PACKAGE)" .PHONY: binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep \ get-orig-source override_dh_auto_clean override_dh_auto_test override_dh_auto_build override_dh_auto_install override_dh_strip debian/watch0000664000000000000000000000030112165653603010222 0ustar version=3 opts="pgpsigurlmangle=s/$/.asc/" \ http://bitbucket.org/wahrhaft/mupen64plus-video-z64/downloads/ \ /wahrhaft/mupen64plus-video-z64/downloads/mupen64plus-video-z64-src-(.*).tar.gz debian/get-orig-source.sh0000775000000000000000000000146112165653603012553 0ustar #! /bin/sh set -e if [ -z "$DIR" ]; then DIR=mupen64plus-video-z64 fi if [ -z "$OWNER" ]; then OWNER=wahrhaft fi # try to download source package if [ "$1" != "snapshot" ]; then uscan --verbose --force-download else MODULE="${OWNER}/${DIR}" TMP="`mktemp -t -d`" hg clone --noupdate "http://bitbucket.org/${MODULE}" "${TMP}" REV="`hg --repository "${TMP}" log -r tip --template '{latesttag}+{latesttagdistance}+{node|short}\n'`" LONGREV="`hg --repository "${TMP}" log -r tip --template '{node}\n'`" TARNAME="${DIR}_${REV}.orig.tar" echo "${LONGREV}" EXCLUDE="--exclude ${TMP}/.hgtags --exclude ${TMP}/.hg_archival.txt --exclude ${TMP}/.hgignore" hg --repository "${TMP}" archive --no-decode --type tar --prefix "${DIR}-${REV}/" ${EXCLUDE} -r tip "${TARNAME}" gzip -n -f "${TARNAME}" rm -rf "${TMP}" fi debian/patches/0000775000000000000000000000000012165653603010626 5ustar debian/patches/printf_fixup.patch0000664000000000000000000000275212165653603014372 0ustar Description: Add printf-format attribute The compiler needs to get more information for function declaration to help to find printf specific format attacks. Forwarded: not-needed Author: Sven Eckelmann --- diff --git a/src/rdp.h b/src/rdp.h index 606ffd0d372917a91e7cab0b9f7caff4c78aca28..9979e3e5666cd8d5a7050b49277df4066a9ee3f2 100644 --- a/src/rdp.h +++ b/src/rdp.h @@ -247,7 +247,7 @@ int rdp_dasm(uint32_t * rdp_cmd_data, int rdp_cmd_cur, int length, char *buffer) void rdp_process_list(void); int rdp_store_list(void); -void rdp_log(m64p_msg_level level, const char *msg, ...); +void rdp_log(m64p_msg_level level, const char *msg, ...) __attribute__ ((format (printf, 2, 3))); #ifdef RDP_DEBUG @@ -258,6 +258,7 @@ extern int rdp_dump; #define DUMP if (!rdp_dump) ; else LOG +static void LOG(const char * s, ...) __attribute__ ((format (printf, 1, 2))); static void LOG(const char * s, ...) { va_list ap; diff --git a/src/rgl_debugger.cpp b/src/rgl_debugger.cpp index 740be9e0c3d3f8361f8a133cbbabbd06cca3d440..ddae02caea5873a014d4acbb03f3ed6525792b91 100644 --- a/src/rgl_debugger.cpp +++ b/src/rgl_debugger.cpp @@ -174,8 +174,8 @@ void gglPrint(int x, int y, const char * text) //printf("%s\n", text); } - -void gglPrintf(int x, int y, const char * s, ...) +static void gglPrintf(int x, int y, const char * s, ...) __attribute__ ((format (printf, 1, 2))); +static void gglPrintf(int x, int y, const char * s, ...) { char buf[1024]; va_list ap; debian/patches/series0000664000000000000000000000002312165653603012036 0ustar printf_fixup.patch debian/upstream-signing-key.pgp0000664000000000000000000000215712165653603013776 0ustar  QERbfUY#O>BŚ͕y |\$ĮjGrjw<ⵋCoהimQ? WJT)Qu{'EI*E|# m*Nfʝ<:꨺b lW/wLxXN.ՠR=E\wjHzǛ!o?x6ݥzɉj} A()V(TkyڷW c}. O5c2..+,6VDW]N3/I37 ؄Q^*Bh  3Д|({s]R mmnўoίc3x5R߄ޕV)jQ)_ت> [/vX(oH~xm'uA1.l$y ˧x/B:67cLweʫ\7Y& ]탔s@N4w%2ve@'>Jon Ring 9#QE   `"Ykpyw'P3>t;uA`&QO9߲AKH 3ޅ弤@)V+6박ySiuek$8hJNa*ÊAy7LĞإփUUQXNkgeTG~.U)ax=`wy,wjIB^KH45U=RxHJ|I1 #ts4g$巰L\|n]$p;m9e_p U]NfP@Sj(Ux@*`Ȗ|+ qؗBI-ej H ;e}sK3 :y*$jbpyN@`EiW6 g =͏ԡS 'N0~2>+;/q{ȶ"CX;debian/compat0000664000000000000000000000000212165653603010375 0ustar 9