[Pkg-sdl-commits] [libsdl2-image] 05/08: Use automatic dbgsym packages, drop -dbg

Manuel A. Fernandez Montecelo mafm at moszumanska.debian.org
Mon Jul 31 21:50:25 UTC 2017


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

mafm pushed a commit to branch master
in repository libsdl2-image.

commit bea877434354b2094cbf84ebed99d823a07416ee
Author: Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
Date:   Mon Jul 31 23:39:16 2017 +0200

    Use automatic dbgsym packages, drop -dbg
---
 debian/changelog |  1 +
 debian/control   | 14 --------------
 debian/rules     |  5 +----
 3 files changed, 2 insertions(+), 18 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b596866..0e2b5ef 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ libsdl2-image (2.0.1+dfsg-3) UNRELEASED; urgency=medium
   * Switch to debhelper compat level v10
     - dh flags --parallel are not needed
     - autoreconf is invoked by default
+  * Use automatic dbgsym packages, drop -dbg
 
  -- Manuel A. Fernandez Montecelo <mafm at debian.org>  Mon, 31 Jul 2017 23:32:07 +0200
 
diff --git a/debian/control b/debian/control
index b5263ee..0e89001 100644
--- a/debian/control
+++ b/debian/control
@@ -29,20 +29,6 @@ Description: Image loading library for Simple DirectMedia Layer 2, libraries
  .
  This package contains the shared library.
 
-Package: libsdl2-image-dbg
-Section: debug
-Architecture: any
-Multi-Arch: same
-Priority: extra
-Depends: ${misc:Depends},
-         libsdl2-image-2.0-0 (= ${binary:Version})
-Description: Image loading library for Simple DirectMedia Layer 2, debugging symbols
- This is a simple library to load images of various formats as SDL surfaces.  It
- supports the following formats: BMP, GIF, JPEG, LBM, PCX, PNG, PNM, TGA, TIFF,
- WEBP, XCF, XPM, XV.
- .
- This package contains the debugging information for the shared library.
-
 Package: libsdl2-image-dev
 Architecture: any
 Multi-Arch: same
diff --git a/debian/rules b/debian/rules
index a6c437f..bbf82df 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,7 +19,7 @@ confflags += --disable-png-shared
 confflags += --disable-webp-shared
 
 %:
-	dh $@
+	dh $@ --dbgsym-migration='libsdl2-image-dbg (<< 2.0.1+dfsg-3~)'
 
 override_dh_auto_configure:
 	dh_auto_configure -- $(confflags)
@@ -38,8 +38,5 @@ override_dh_link:
 override_dh_compress:
 	dh_compress -Xshowimage.c
 
-override_dh_strip:
-	dh_strip --dbg-package=libsdl2-image-dbg
-
 override_dh_makeshlibs:
 	dh_makeshlibs -V"libsdl2-image-2.0-0 (>= $(SHLIBVER))"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sdl/packages/libsdl2-image.git



More information about the pkg-sdl-commits mailing list