debian/0000755000000000000000000000000012165654250007174 5ustar debian/get-orig-source.sh0000755000000000000000000000146512165653570012560 0ustar #! /bin/sh set -e if [ -z "$DIR" ]; then DIR=mupen64plus-video-glide64 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/rules0000755000000000000000000000275712165653570010273 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" SHAREDIR="/usr/share/games/mupen64plus/" 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/gbp.conf0000644000000000000000000000005712165653570010621 0ustar [DEFAULT] pristine-tar = True sign-tags = True debian/changelog0000644000000000000000000004363112165653570011061 0ustar mupen64plus-video-glide64 (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/watch: - Verify new upstream versions using GPG key E05E608A04EF22F7596B -- Sven Eckelmann Sat, 06 Jul 2013 01:32:03 +0200 mupen64plus-video-glide64 (1.99.5+23+ecd597fb6dcf-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 -- Sven Eckelmann Sun, 23 Jun 2013 13:25:52 +0200 mupen64plus-video-glide64 (1.99.5+23+ecd597fb6dcf-1) experimental; urgency=low * New Upstream Snapshot from ecd597fb6dcf8340f44832d3a28ea1716782375b * Enable link-time optimization in debian/rules similar to upstream * debian/patches: - Rebase printf_fixup.patch on top of 1.99.5+23+ecd597fb6dcf * 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:31 +0200 mupen64plus-video-glide64 (1.99.5+17+bfe79cebbe67-1) experimental; urgency=low * New upstream snapshot from revision bfe79cebbe67cd6dd09bb78dfefce052deea4cd2 * Disable extra debug code in release builds with -DNDEBUG in debian/rules * debian/patches: - Rebase printf_fixup.patch on top of 1.99.5+17+bfe79cebbe67 -- Sven Eckelmann Fri, 08 Feb 2013 10:16:27 +0100 mupen64plus-video-glide64 (1.99.5+2+c2c2d8f0161b-1) experimental; urgency=low * New upstream snapshot from revision c2c2d8f0161b830a4adb3371d99e6179d7c4b227 * Remove obsolete DM-Upload-Allowed in debian/control -- Sven Eckelmann Sun, 02 Dec 2012 22:34:14 +0100 mupen64plus-video-glide64 (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:51:21 +0200 mupen64plus-video-glide64 (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 -- Sven Eckelmann Wed, 10 Oct 2012 21:52:07 +0200 mupen64plus-video-glide64 (1.99.4+37+a1c35b79de0d-3) unstable; urgency=low * debian/patches: - Add gcc_lto.patch, Enable support for link-time optimization -- Sven Eckelmann Sat, 09 Jun 2012 01:25:27 +0200 mupen64plus-video-glide64 (1.99.4+37+a1c35b79de0d-2) unstable; urgency=low [ Simon Ruderich ] * Let debhelper set the buildflags implicitly [ Sven Eckelmann ] * Install architecture independent files into /usr/share/games/mupen64plus -- Sven Eckelmann Tue, 15 May 2012 23:39:20 +0200 mupen64plus-video-glide64 (1.99.4+37+a1c35b79de0d-1) unstable; urgency=low * New upstream snapshot from revision a1c35b79de0d75c76aac92711ea8a82471c89580 * 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 * debian/patches: - Rebase printf_fixup.patch against 1.99.5 * Use buildflags.mk to set security flags in debian/rules -- Sven Eckelmann Sat, 17 Mar 2012 20:18:37 +0100 mupen64plus-video-glide64 (1.99.4+34+84c051341841-1) experimental; urgency=low * New upstream snapshot from revision 84c051341841912c0965aaf0f81b8d107e0f7be6 * debian/patches: - Rebase printf_fixup.patch against 1.99.4+34+84c051341841 -- Sven Eckelmann Sat, 12 Nov 2011 21:49:42 +0100 mupen64plus-video-glide64 (1.99.4+28+34f0fa1700f5-1) experimental; urgency=low * New upstream snapshot from revision 34f0fa1700f5b64ded4b84640384b8f74e4417ec * 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: - Remore upstream merged patches: default_settings.patch, portable_mm_store_ps.patch, rewrite_makefile.patch - Rebase printf_fixup.patch against 1.99.4+28+34f0fa1700f5 * Add debian/get-orig-source.sh for snapshots -- Sven Eckelmann Mon, 29 Aug 2011 17:06:50 +0200 mupen64plus-video-glide64 (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:26 +0100 mupen64plus-video-glide64 (1.99.4-3) unstable; urgency=low * Upload to unstable * 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 - Add default_settings.patch, Load default settings in the PluginStartup function so they are available before a game runs - Add portable_mm_store_ps.patch, Use more portable _mm_store_ps instead of GCC specific __builtin_ia32_shufps * Depend on pkg-config in debian/control for new Makefile -- Sven Eckelmann Sun, 24 Jul 2011 14:24:37 +0200 mupen64plus-video-glide64 (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:53:58 +0200 mupen64plus-video-glide64 (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/mupen64plus-video-glide64.install0000644000000000000000000000006412165653570015332 0ustar usr/lib/*/mupen64plus/ usr/share/games/mupen64plus/ debian/upstream-signing-key.pgp0000644000000000000000000000215712165653570013777 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/source/0000755000000000000000000000000012165653570010500 5ustar debian/source/include-binaries0000644000000000000000000000004012165653570013632 0ustar debian/upstream-signing-key.pgp debian/source/format0000644000000000000000000000001412165653570011706 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000031512165653570010230 0ustar version=3 opts="pgpsigurlmangle=s/$/.asc/" \ http://bitbucket.org/wahrhaft/mupen64plus-video-glide64/downloads/ \ /wahrhaft/mupen64plus-video-glide64/downloads/mupen64plus-video-glide64-src-(.*).tar.gz debian/control0000644000000000000000000000341212165653570010603 0ustar Source: mupen64plus-video-glide64 Section: games Priority: optional 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-glide64.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/mupen64plus-video-glide64.git Build-Depends: debhelper (>= 9.20130604), dpkg-dev (>= 1.16.1.1), libgl1-mesa-dev | libgl-dev, libmupen64plus-dev (>= 2.0), libsdl2-dev, pkg-config, Package: mupen64plus-video-glide64 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-vidext-abi-3, Provides: mupen64plus-video, Breaks: libmupen64plus2 (<< 2.0), Description: Glide64 high-level graphics emulation for mupen64plus High-level graphics emulation plugin for known microcodes based on Glide. This version includes a Glide-to-OpenGL wrapper which makes it independent of Voodoo cards. It supports advanced graphics effects of the N64. . It is based on Glide64 Wonder Plus which was ported to Linux and amd64. Package: mupen64plus-video-glide64-dbg Section: debug Priority: extra Architecture: any-i386 any-amd64 Multi-Arch: same Pre-Depends: ${misc:Pre-Depends}, Depends: ${misc:Depends}, mupen64plus-video-glide64 (= ${binary:Version}), Description: Glide64 graphics hle for mupen64plus debug symbols package High-level graphics emulation plugin for known microcodes based on Glide. This version includes a Glide-to-OpenGL wrapper which makes it independent of Voodoo cards. It supports advanced graphics effects of the N64. . This package contains the debug files. debian/patches/0000755000000000000000000000000012165653570010627 5ustar debian/patches/series0000644000000000000000000000002312165653570012037 0ustar printf_fixup.patch debian/patches/printf_fixup.patch0000644000000000000000000000616312165653570014373 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/Debugger.cpp b/src/Debugger.cpp index d68a89b22690b193e5222d6f9dc3fc7bb4e5f04e..fda064399150b6677cceaeb671043b90958368ff 100755 --- a/src/Debugger.cpp +++ b/src/Debugger.cpp @@ -1014,7 +1014,6 @@ void debug_keys () // // output - output debugger text // - void output (float x, float y, BOOL scale, const char *fmt, ...) { va_list ap; diff --git a/src/Debugger.h b/src/Debugger.h index 15539be4f59a8b0f3d87bb8a8c6287b40c7068c4..875c6deeeacd17fc2c1c66647646b89920737fa0 100644 --- a/src/Debugger.h +++ b/src/Debugger.h @@ -133,5 +133,5 @@ void debug_capture (); void debug_cacheviewer (); void debug_mouse (); void debug_keys (); -void output (float x, float y, BOOL scale, const char *fmt, ...); +void output (float x, float y, BOOL scale, const char *fmt, ...) __attribute__ ((format (printf, 4, 5))); diff --git a/src/Gfx1.3.h b/src/Gfx1.3.h index f8d629fe9686e9f2fb6f8dba8c2172f93393db66..fee99153c0088ad0af12658b38db2ce01ac7d972 100755 --- a/src/Gfx1.3.h +++ b/src/Gfx1.3.h @@ -273,6 +273,7 @@ extern std::ofstream rdp_err; #ifdef RDP_LOGGING +__inline void FRDP (const char *fmt, ...) __attribute__ ((format (printf, 1, 2))); __inline void FRDP (const char *fmt, ...) { #ifdef RDP_LOGGING @@ -289,6 +290,7 @@ __inline void FRDP (const char *fmt, ...) va_end(ap); #endif } +__inline void FRDP_E (const char *fmt, ...) __attribute__ ((format (printf, 1, 2))); __inline void FRDP_E (const char *fmt, ...) { #ifdef RDP_ERROR_LOG diff --git a/src/m64p.h b/src/m64p.h index 39573e06f61c45eb13d1b51b23c1c86edb356438..422be9e252cdd538a504ae2e3b630687badda45a 100755 --- a/src/m64p.h +++ b/src/m64p.h @@ -37,7 +37,7 @@ #define VIDEXT_API_VERSION 0x030000 #define VERSION_PRINTF_SPLIT(x) (((x) >> 16) & 0xffff), (((x) >> 8) & 0xff), ((x) & 0xff) -void WriteLog(m64p_msg_level level, const char *msg, ...); +void WriteLog(m64p_msg_level level, const char *msg, ...) __attribute__ ((format (printf, 2, 3))); //The Glide API originally used an integer to pick an enumerated resolution. //To accomodate arbitrary resolutions, pack it into a 32-bit struct diff --git a/src/wrapper/main.h b/src/wrapper/main.h index a5333f27162b89703241bf126f0c61b6125d8026..28c045a3fef9a03741199a1bc66016aa5df44b37 100644 --- a/src/wrapper/main.h +++ b/src/wrapper/main.h @@ -92,8 +92,7 @@ extern int buffer_cleared; // mark that the buffer has been cleared, used to che #include "glide.h" -void display_warning(const unsigned char *text, ...); -void display_warning(const char *text, ...); +void display_warning(const char *text, ...) __attribute__ ((format (printf, 1, 2))); void init_geometry(); void init_textures(); void init_combiner(); @@ -283,7 +282,7 @@ grConstantColorValueExt(GrChipID_t tmu, #ifdef LOGGING void OPEN_LOG(); void CLOSE_LOG(); -void LOG(char *text, ...); +void LOG(char *text, ...) __attribute__ ((format (printf, 1, 2))); #else // LOGGING #define OPEN_LOG() #define CLOSE_LOG() debian/copyright0000644000000000000000000003551512165653570011144 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: mupen64plus-video-glide64 Upstream-Contact: Jon 'wahrhaft' Ring Source: http://bitbucket.org/wahrhaft/mupen64plus-video-glide64/ Files: * Copyright: 2010, Jon 'wahrhaft' Ring License: GPL-2+ Files: src/* Copyright: 2002, Dave2001 License: GPL-2+ Files: src/3dmath.cpp src/Combine.cpp src/CRC.h src/DepthBufferRender.cpp src/MiClWr16b.h src/MiClWr8b.h src/rdp.* src/TexCache.cpp src/TexConv.h src/TexLoad*b.h Copyright: 2002, Dave2001 2008, Günther License: GPL-2+ Files: src/osal_* Copyright: 2009, Richard 'Richard42' Goedeken License: GPL-2+ 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: src/cursor.* src/font.* Copyright: 2002, Dave2001 License: GPL-2+ Files: src/m64p.h Copyright: 2010, Jon 'wahrhaft' Ring License: GPL-2+ Files: src/Config.* Copyright: 2002, Dave2001 2010, Jon 'wahrhaft' Ring License: GPL-2+ Files: src/wrapper/* Copyright: 2005-2006, Hacktarux License: GPL-2+ Files: src/wrapper/hq* Copyright: 2005-2006, MaxSt License: GPL-2+ Files: src/wrapper/3dfx.h src/wrapper/g3ext.h src/wrapper/glide* src/wrapper/sst1vid.h Copyright: 1999, 3DFX INTERACTIVE, INC. License: other 3DFX GLIDE Source Code General Public License . 1. PREAMBLE . This license is for software that provides a 3D graphics application program interface (API).The license is intended to offer terms similar to some standard General Public Licenses designed to foster open standards and unrestricted accessibility to source code. Some of these licenses require that, as a condition of the license of the software, any derivative works (that is, new software which is a work containing the original program or a portion of it) must be available for general use, without restriction other than for a minor transfer fee, and that the source code for such derivative works must likewise be made available. The only restriction is that such derivative works must be subject to the same General Public License terms as the original work. . This 3dfx GLIDE Source Code General Public License differs from the standard licenses of this type in that it does not require the entire derivative work to be made available under the terms of this license nor is the recipient required to make available the source code for the entire derivative work. Rather, the license is limited to only the identifiable portion of the derivative work that is derived from the licensed software. The precise terms and conditions for copying, distribution and modification follow. . 2. DEFINITIONS . 2.1 This License applies to any program (or other "work") which contains a notice placed by the copyright holder saying it may be distributed under the terms of this 3dfx GLIDE Source Code General Public License. . 2.2 The term "Program" as used in this Agreement refers to 3DFX's GLIDE source code and object code and any Derivative Work. . 2.3 "Derivative Work" means, for the purpose of the License, that portion of any work that contains the Program or the identifiable portion of a work that is derived from the Program, either verbatim or with modifications and/or translated into another language, and that performs 3D graphics API operations. It does not include any other portions of a work. . 2.4 "Modifications of the Program" means any work, which includes a Derivative Work, and includes the whole of such work. . 2.5 "License" means this 3dfx GLIDE Source Code General Public License. . 2.6 The "Source Code" for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, any associated interface definition files, and the scripts used to control compilation and installation of the executable work. . 2.7 "3dfx" means 3dfx Interactive, Inc. . 3. LICENSED ACTIVITIES . 3.1 COPYING - You may copy and distribute verbatim copies of the Program's Source Code as you receive it, in any medium, subject to the provision of section 3.3 and provided also that: . (a) you conspicuously and appropriately publish on each copy an appropriate copyright notice (3dfx Interactive, Inc. 1999), a notice that recipients who wish to copy, distribute or modify the Program can only do so subject to this License, and a disclaimer of warranty as set forth in section 5; . (b) keep intact all the notices that refer to this License and to the absence of any warranty; and . (c) do not make any use of the GLIDE trademark without the prior written permission of 3dfx, and . (d) give all recipients of the Program a copy of this License along with the Program or instructions on how to easily receive a copy of this License. . 3.2 MODIFICATION OF THE PROGRAM/DERIVATIVE WORKS - You may modify your copy or copies of the Program or any portion of it, and copy and distribute such modifications subject to the provisions of section 3.3 and provided that you also meet all of the following conditions: . (a) you conspicuously and appropriately publish on each copy of a Derivative Work an appropriate copyright notice, a notice that recipients who wish to copy, distribute or modify the Derivative Work can only do so subject to this License, and a disclaimer of warranty as set forth in section 5; . (b) keep intact all the notices that refer to this License and to the absence of any warranty; and . (c) give all recipients of the Derivative Work a copy of this License along with the Derivative Work or instructions on how to easily receive a copy of this License. . (d) You must cause the modified files of the Derivative Work to carry prominent notices stating that you changed the files and the date of any change. . (e) You must cause any Derivative Work that you distribute or publish to be licensed at no charge to all third parties under the terms of this License. . (f) You do not make any use of the GLIDE trademark without the prior written permission of 3dfx. . (g) If the Derivative Work normally reads commands interactively when run, you must cause it, when started running for such interactive use, to print or display an announcement as follows: . "COPYRIGHT 3DFX INTERACTIVE, INC. 1999, ALL RIGHTS RESERVED THIS SOFTWARE IS FREE AND PROVIDED "AS IS," WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED. THERE IS NO RIGHT TO USE THE GLIDE TRADEMARK WITHOUT PRIOR WRITTEN PERMISSION OF 3DFX INTERACTIVE, INC. SEE THE 3DFX GLIDE GENERAL PUBLIC LICENSE FOR A FULL TEXT OF THE DISTRIBUTION AND NON-WARRANTY PROVISIONS (REQUEST COPY FROM INFO@3DFX.COM)." . (h) The requirements of this section 3.2 do not apply to the modified work as a whole but only to the Derivative Work. It is not the intent of this License to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of Derivative Works. . 3.3 DISTRIBUTION . (a) All copies of the Program or Derivative Works which are distributed must include in the file headers the following language verbatim: . "THIS SOFTWARE IS SUBJECT TO COPYRIGHT PROTECTION AND IS OFFERED ONLY PURSUANT TO THE 3DFX GLIDE GENERAL PUBLIC LICENSE. THERE IS NO RIGHT TO USE THE GLIDE TRADEMARK WITHOUT PRIOR WRITTEN PERMISSION OF 3DFX INTERACTIVE, INC. A COPY OF THIS LICENSE MAY BE OBTAINED FROM THE DISTRIBUTOR OR BY CONTACTING 3DFX INTERACTIVE INC (info@3dfx.com). THIS PROGRAM. IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED. SEE THE 3DFX GLIDE GENERAL PUBLIC LICENSE FOR A FULL TEXT OF THE NON-WARRANTY PROVISIONS. . USE, DUPLICATION OR DISCLOSURE BY THE GOVERNMENT IS SUBJECT TO RESTRICTIONS AS SET FORTH IN SUBDIVISION (C)(1)(II) OF THE RIGHTS IN TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 252.227-7013, AND/OR IN SIMILAR OR SUCCESSOR CLAUSES IN THE FAR, DOD OR NASA FAR SUPPLEMENT. UNPUBLISHED RIGHTS RESERVED UNDER THE COPYRIGHT LAWS OF THE UNITED STATES. . COPYRIGHT 3DFX INTERACTIVE, INC. 1999, ALL RIGHTS RESERVED" . (b) You may distribute the Program or a Derivative Work in object code or executable form under the terms of Sections 3.1 and 3.2 provided that you also do one of the following: . (1) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 3.1 and 3.2; or, . (2) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 3.1 and 3.2 on a medium customarily used for software interchange; or, . (3) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection 3.3(b)(2) above.) . (c) The source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable code. . (d) If distribution of executable code or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. . (e) Each time you redistribute the Program or any Derivative Work, the recipient automatically receives a license from 3dfx and successor licensors to copy, distribute or modify the Program and Derivative Works subject to the terms and conditions of the License. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. . (f) You may not make any use of the GLIDE trademark without the prior written permission of 3dfx. . (g) You may not copy, modify, sublicense, or distribute the Program or any Derivative Works except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program or any Derivative Works is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. . 4. MISCELLANEOUS . 4.1 Acceptance of this License is voluntary. By using, modifying or distributing the Program or any Derivative Work, you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. Nothing else grants you permission to modify or distribute the Program or Derivative Works and doing so without acceptance of this License is in violation of the U.S. and international copyright laws. . 4.2 If the distribution and/or use of the Program or Derivative Works is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. . 4.3 This License is to be construed according to the laws of the State of California and you consent to personal jurisdiction in the State of California in the event it is necessary to enforce the provisions of this License. . 5. NO WARRANTIES . 5.1 TO THE EXTENT PERMITTED BY APPLICABLE LAW, THERE IS NO WARRANTY FOR THE PROGRAM. OR DERIVATIVE WORKS THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM AND ANY DERIVATIVE WORKS"AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM AND ANY DERIVATIVE WORK IS WITH YOU. SHOULD THE PROGRAM OR ANY DERIVATIVE WORK PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. . 5.2 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW WILL 3DFX INTERACTIVE, INC., OR ANY OTHER COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM OR DERIVATIVE WORKS AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM OR DERIVATIVE WORKS (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM OR DERIVATIVE WORKS TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 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'. debian/compat0000644000000000000000000000000212165653570010376 0ustar 9