[mupen64plus-input-sdl] 06/196: Add initial build support for 1.99.3

Sven Eckelmann ecsv-guest at moszumanska.debian.org
Thu Nov 26 06:00:01 UTC 2015


This is an automated email from the git hooks/post-receive script.

ecsv-guest pushed a commit to branch master
in repository mupen64plus-input-sdl.

commit c1bacc8a2b92d594cfe2707277ab1ce93d83ae8d
Author: Sven Eckelmann <sven.eckelmann at gmx.de>
Date:   Mon Feb 15 20:33:35 2010 +0100

    Add initial build support for 1.99.3
---
 debian/changelog                           | 14 ++++-----
 debian/control                             | 48 ++++++++++++++++++++++++++++++
 debian/mupen64plus-input-sdl.docs          |  2 ++
 debian/mupen64plus-input-sdl.install       |  2 ++
 debian/patches/default-optimisations.patch | 45 ++++++++++++++++++++++++++++
 debian/patches/series                      |  1 +
 debian/rules                               | 28 +++++++++++++++++
 7 files changed, 133 insertions(+), 7 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7528be9..d6e3e18 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,12 +3,11 @@ mupen64plus-input-sdl (1.99.3-1) UNRELEASED; urgency=low
   * Split source package to match upstreams modular release packages
   * debian/patches:
     - Remove upstream merged patches: as-needed.patch,
-      correct_fpr32_mapping.patch, debian-archs.patch,
-      default-optimisations.patch, dejavu-font.patch, destdir.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-kfreebsd.patch, glide64-noasm.patch,
-      gtk-open-filter.patch, interpreter_x86_fldcw.patch,
+      correct_fpr32_mapping.patch, debian-archs.patch, dejavu-font.patch,
+      destdir.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-kfreebsd.patch,
+      glide64-noasm.patch, gtk-open-filter.patch, interpreter_x86_fldcw.patch,
       jttl_fix_romclosed.patch, load_aidacrate.patch, load_vistatus.patch,
       noexecstack.patch, osd-pause-crash.patch, plugin-searchpath.patch,
       remove-gln64.patch, remove-nondfsg-icons.patch, resume_on_start.patch,
@@ -16,12 +15,13 @@ mupen64plus-input-sdl (1.99.3-1) UNRELEASED; urgency=low
       rice-texturepack-crash.patch, static-binutils-libs.patch,
       system-libbz2.patch, system-liblzma.patch, system-libpng.patch,
       system-zlib.patch, version-string.patch, xdg-basedir.patch
+    - Rebase default-optimisations.patch against 1.99.3
   * Convert to 3.0 (quilt) source format
   * debian/control:
     - Remove unneeded build dependency to quilt
     - Upgraded to policy 3.8.4, no changes required
 
- -- Sven Eckelmann <sven.eckelmann at gmx.de>  Mon, 19 Oct 2009 23:23:05 +0200
+ -- Sven Eckelmann <sven.eckelmann at gmx.de>  Mon, 15 Feb 2010 18:40:00 +0100
 
 mupen64plus (1.5+dfsg1-7) unstable; urgency=low
 
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..af8dfa4
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,48 @@
+Source: mupen64plus-input-sdl
+Section: games
+Priority: optional
+Maintainer: Tobias Loose <TobiasLoose at gmx.de>
+Uploaders: Sven Eckelmann <sven.eckelmann at gmx.de>
+Homepage: http://code.google.com/p/mupen64plus/
+Standards-Version: 3.8.4
+Vcs-Browser: http://git.debian.org/?p=collab-maint/mupen64plus-input-sdl.git
+Vcs-Git: git://git.debian.org/git/collab-maint/mupen64plus-input-sdl.git
+Build-Depends: debhelper (>= 7.0.50), libmupen64plus-dev, libsdl1.2-dev
+
+Package: mupen64plus-input-sdl
+Architecture: i386 amd64 kfreebsd-amd64 kfreebsd-i386
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Conflicts: mupen64plus (<< 1.99.1)
+Replaces: mupen64plus (<< 1.99.1)
+Provides: mupen64plus-input-1
+Description: plugin-based Nintendo 64 emulator
+ N64 Emulator for Linux that works with many ROMs that are publically available.
+ It has the following features:
+  * loading of compressed roms
+  * cheat system
+  * exchangeable plugins for graphics, sound and input emulation
+  * multiple save states
+  * fullscreen support
+  * high quality texture filter for many graphic plugins
+  * support for external hi-res texture packs
+  * integrated graphical debugger for development
+
+Package: mupen64plus-input-sdl-dbg
+Section: debug
+Priority: extra
+Architecture: i386 amd64 kfreebsd-amd64 kfreebsd-i386
+Depends: ${misc:Depends},
+ mupen64plus-input-sdl (= ${binary:Version})
+Description: mupen64plus debug symbols package
+ N64 Emulator for Linux that works with many ROMs that are publically available.
+ It has the following features:
+  * loading of compressed roms
+  * cheat system
+  * exchangeable plugins for graphics, sound and input emulation
+  * multiple save states
+  * fullscreen support
+  * high quality texture filter for many graphic plugins
+  * support for external hi-res texture packs
+  * integrated graphical debugger for development
+ .
+ This package contains the debug files.
diff --git a/debian/mupen64plus-input-sdl.docs b/debian/mupen64plus-input-sdl.docs
new file mode 100644
index 0000000..d2753a5
--- /dev/null
+++ b/debian/mupen64plus-input-sdl.docs
@@ -0,0 +1,2 @@
+README
+RELEASE
diff --git a/debian/mupen64plus-input-sdl.install b/debian/mupen64plus-input-sdl.install
new file mode 100644
index 0000000..18c70a5
--- /dev/null
+++ b/debian/mupen64plus-input-sdl.install
@@ -0,0 +1,2 @@
+usr/lib/mupen64plus/
+usr/share/mupen64plus/
diff --git a/debian/patches/default-optimisations.patch b/debian/patches/default-optimisations.patch
new file mode 100644
index 0000000..32cfd07
--- /dev/null
+++ b/debian/patches/default-optimisations.patch
@@ -0,0 +1,45 @@
+Description: Don't override optimisations set by build environment
+Forwarded: not-needed
+Author: Sven Eckelmann <sven.eckelmann at gmx.de>
+
+---
+diff --git a/projects/unix/Makefile b/projects/unix/Makefile
+index 82ccb61a9363ed6013fc7ba1a41fe11dbeb4562a..4639945472f96d79c4d9c121447888945c4e5354 100644
+--- a/projects/unix/Makefile
++++ b/projects/unix/Makefile
+@@ -82,10 +82,10 @@ ifeq ("$(CPU)","NONE")
+ endif
+ 
+ # base CFLAGS, LIBS, and LDFLAGS
+-CFLAGS = -ffast-math -funroll-loops -fexpensive-optimizations -fno-strict-aliasing -I../../src
+-LDFLAGS = -ldl
++CFLAGS += -fno-strict-aliasing -I../../src
++LDFLAGS += -ldl
+ ifneq ($(OS), FREEBSD)
+-  CFLAGS += -pipe -O3
++  CFLAGS += -pipe
+ endif
+ 
+ # Since we are building a shared library, we must compile with -fPIC for x86_64 CPUs.
+@@ -108,9 +108,9 @@ endif
+ ifeq ($(OS), LINUX)
+   ifeq ($(CPU), X86)
+     ifeq ($(ARCH_DETECTED), 64BITS)
+-      CFLAGS += -march=athlon64
++      CFLAGS +=
+     else
+-      CFLAGS += -mmmx -msse -march=i686 -mtune=pentium-m -fomit-frame-pointer
++      CFLAGS += -mmmx -msse -fomit-frame-pointer
+     endif
+   endif
+ endif
+@@ -124,9 +124,6 @@ ifeq ($(OS), OSX)
+     endif
+   endif
+ endif
+-ifeq ($(CPU), PPC)
+-  CFLAGS += -mcpu=powerpc
+-endif
+ 
+ # test for presence of SDL
+ ifeq ($(shell which sdl-config 2>/dev/null),)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e164d80
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+default-optimisations.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..aa1c302
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,28 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+DEB_HOST_GNU_CPU ?= $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)
+DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+
+%:
+	dh $@
+
+get-orig-source:
+	uscan --verbose --force-download
+
+override_dh_auto_build:
+	cd "$(CURDIR)/projects/unix/" && \
+		LDFLAGS='-Wl,--as-needed' $(MAKE) UNAME='$(DEB_HOST_ARCH_OS)' HOST_CPU='$(DEB_HOST_GNU_CPU)' APIDIR=/usr/include/mupen64plus/ DEBUG=1 all
+
+override_dh_auto_clean:
+	cd "$(CURDIR)/projects/unix/" && \
+		$(MAKE) clean
+
+override_dh_auto_install:
+	cd "$(CURDIR)/projects/unix/" && \
+		$(MAKE) DESTDIR=$(CURDIR)/debian/tmp PREFIX=/usr/ install
+
+override_dh_strip:
+	dh_strip -a --dbg-package=mupen64plus-input-sdl-dbg
+
+.PHONY: get-orig-source

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mupen64plus-input-sdl.git



More information about the Pkg-games-commits mailing list