[mupen64plus] 73/262: Add mupen64plus-dbg with detached debug symbols

Sven Eckelmann ecsv-guest at moszumanska.debian.org
Thu Nov 26 05:59:18 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.

commit 624f217f7a6f84742c84dc2db6a416dd0fa45b31
Author: Sven Eckelmann <sven.eckelmann at gmx.de>
Date:   Wed Jun 10 12:31:36 2009 +0200

    Add mupen64plus-dbg with detached debug symbols
---
 debian/changelog |  6 ++++--
 debian/control   | 15 +++++++++++++++
 debian/rules     |  5 ++++-
 3 files changed, 23 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d8a3974..9951bec 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,8 +3,10 @@ mupen64plus (1.5+dfsg1-2) UNRELEASED; urgency=low
   * debian/patches:
     - Add 110-glide64-noasm.patch, don't use x86-asm on non-x86 plattforms
       in glide64
-  * Enable compilation on all plattforms due to the fixed glide64 ftbfs on
-    non-i386/amd64 systems in debian/control
+  * debian/control:
+    - Enable compilation on all plattforms due to the fixed glide64 ftbfs on
+      non-i386/amd64 systems in debian/control
+    - Add mupen64plus-dbg with detached debug symbols
 
  -- Sven Eckelmann <sven.eckelmann at gmx.de>  Wed, 10 Jun 2009 00:11:40 +0200
 
diff --git a/debian/control b/debian/control
index 67544b9..beb5ad9 100644
--- a/debian/control
+++ b/debian/control
@@ -22,3 +22,18 @@ Description: Multi Platform Emulator for the N64
  Mupen64Plus is a N64 Emulator for Linux, it runs a lot of roms.
  But remember, it's an emulator, you can't play without roms. This packages
  doesn't contain roms.
+
+Package: mupen64plus-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ mupen64plus (= ${binary:Version})
+Description: mupen64plus debug symbols package
+ N64 Emulator for Linux - GTK+ 2.0 GUI
+ .
+ Mupen64Plus is a N64 Emulator for Linux, it runs a lot of roms.
+ But remember, it's an emulator, you can't play without roms. This packages
+ doesn't contain roms.
+ .
+ This package contains the debug files.
diff --git a/debian/rules b/debian/rules
index c157528..0a237dd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,7 +13,7 @@ clean:
 
 override_dh_auto_build:
 	mkdir -p $(CURDIR)/plugins
-	LDFLAGS='-Wl,--as-needed' $(MAKE) all
+	LDFLAGS='-Wl,--as-needed' $(MAKE) DBGSYM=1 all
 
 override_dh_auto_install:
 	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp PREFIX=/usr/ LIBDIR=/usr/lib/mupen64plus/ BINDIR=/usr/games/ install
@@ -21,4 +21,7 @@ override_dh_auto_install:
 	zcat $(CURDIR)/debian/tmp/usr/man/man1/mupen64plus.1.gz|gzip -9 -n > \
 	     $(CURDIR)/debian/tmp/usr/share/man/man1/mupen64plus.1.gz
 
+override_dh_strip:
+	dh_strip -a --dbg-package=mupen64plus-dbg
+
 .PHONY: clean

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



More information about the Pkg-games-commits mailing list