Bug#827269: finally remove refdbg variant

Jonny Lamb jonny at debian.org
Tue Jun 14 14:06:17 UTC 2016


Source: glib2.0
Version: 2.48.1-1
Severity: normal
Tags: patch

Hi,

I just filed for the removal of refdbg itself (#827268) so let's get rid 
of this variant finally too. I've attached an untested patch to do 
exactly that.

Cheerio,
-- 
Jonny Lamb
-------------- next part --------------
Index: debian/clean
===================================================================
--- debian/clean	(revision 49072)
+++ debian/clean	(working copy)
@@ -1,6 +1,5 @@
 debian/libgio-fam.install
 debian/libglib2.0-0.install
-debian/libglib2.0-0-refdbg.install
 debian/libglib2.0-0-dbg.install
 debian/libglib2.0-dev.install
 debian/libglib2.0-udeb.install
Index: debian/control
===================================================================
--- debian/control	(revision 49072)
+++ debian/control	(working copy)
@@ -173,20 +173,3 @@
 Description: GLib Input, Output and Streaming Library (fam module)
  GIO is the input, output and streaming API of GLib. This package
  provides a fam file and directory monitoring backend for it.
-
-Package: libglib2.0-0-refdbg
-Section: devel
-Priority: extra
-Architecture: any
-Depends: ${misc:Depends},
-         ${shlibs:Depends},
-         libglib2.0-0 (= ${binary:Version})
-Multi-Arch: same
-Description: GLib library of C routines - refdbg library
- GLib is a library containing many useful C routines for things such
- as trees, hashes, lists, and strings.  It is a useful general-purpose
- C library used by projects such as GTK+, GIMP, and GNOME.
- .
- This package contains the shared library built with
- --disable-Bsymbolic so that it can be used with refdbg, a GObject
- refcount debugger.
Index: debian/control.in
===================================================================
--- debian/control.in	(revision 49072)
+++ debian/control.in	(working copy)
@@ -173,20 +173,3 @@
 Description: GLib Input, Output and Streaming Library (fam module)
  GIO is the input, output and streaming API of GLib. This package
  provides a fam file and directory monitoring backend for it.
-
-Package: @REFDBG_PKG@
-Section: devel
-Priority: extra
-Architecture: any
-Depends: ${misc:Depends},
-         ${shlibs:Depends},
-         @SHARED_PKG@ (= ${binary:Version})
-Multi-Arch: same
-Description: GLib library of C routines - refdbg library
- GLib is a library containing many useful C routines for things such
- as trees, hashes, lists, and strings.  It is a useful general-purpose
- C library used by projects such as GTK+, GIMP, and GNOME.
- .
- This package contains the shared library built with
- --disable-Bsymbolic so that it can be used with refdbg, a GObject
- refcount debugger.
Index: debian/libglib2.0-0-refdbg.install.in
===================================================================
--- debian/libglib2.0-0-refdbg.install.in	(revision 49072)
+++ debian/libglib2.0-0-refdbg.install.in	(nonexistent)
@@ -1 +0,0 @@
-usr/lib/${DEB_HOST_MULTIARCH}/libgobject*.so* usr/lib/${DEB_HOST_MULTIARCH}/refdbg
Index: debian/libglib2.0-0-refdbg.lintian-overrides
===================================================================
--- debian/libglib2.0-0-refdbg.lintian-overrides	(revision 49072)
+++ debian/libglib2.0-0-refdbg.lintian-overrides	(nonexistent)
@@ -1 +0,0 @@
-libglib2.0-0-refdbg binary: unstripped-binary-or-object
Index: debian/rules
===================================================================
--- debian/rules	(revision 49072)
+++ debian/rules	(working copy)
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 DEB_BUILDDIR = debian/build
-DEB_MAKE_FLAVORS = deb udeb refdbg
+DEB_MAKE_FLAVORS = deb udeb
 DISABLE_UPDATE_UPLOADERS := 1
 
 include /usr/share/cdbs/1/rules/autoreconf.mk
@@ -39,7 +39,6 @@
 UDEB_PKG := libglib$(APIVER)-udeb
 DOC_PKG := libglib$(APIVER)-doc
 DEBUG_PKG := $(SHARED_PKG)-dbg
-REFDBG_PKG := libglib$(APIVER)-$(SONAME)-refdbg
 
 DEB_MAKE_DESTDIRSKEL = $(CURDIR)/debian/install/@FLAVOR@
 
@@ -48,11 +47,8 @@
 DEB_DH_INSTALL_ARGS += --sourcedir=debian/install/deb
 DEB_DH_INSTALL_ARGS_$(TEST_PKG) += --sourcedir=debian/install/deb -X.la
 DEB_DH_INSTALL_ARGS_$(UDEB_PKG) += --sourcedir=debian/install/udeb
-DEB_DH_INSTALL_ARGS_$(REFDBG_PKG) += --sourcedir=debian/install/refdbg
 
 DEB_DH_MAKESHLIBS_ARGS_$(SHARED_PKG) += -V --add-udeb=$(UDEB_PKG) -- -c4
-DEB_DH_MAKESHLIBS_ARGS_$(REFDBG_PKG) = --no-act
-DEB_DH_STRIP_ARGS_$(REFDBG_PKG) = --no-act --no-ddebs
 # Don't put the symbols in the -dbg package
 DEB_DH_STRIP_ARGS_$(UDEB_PKG) =
 
@@ -101,10 +97,6 @@
 DEB_CONFIGURE_FLAGS_udeb := \
 			--disable-selinux
 
-DEB_CONFIGURE_FLAGS_refdbg := \
-			--disable-Bsymbolic \
-			--enable-debug=yes
-
 pre-build::
 	mkdir -p debian/stamp-makefile-check \
 		 debian/tmp-xdg-runtime-dir
@@ -122,7 +114,7 @@
 
 common-install-arch::
 	set -e; for file in libgio-fam.install libglib2.0-0.install \
-	            libglib2.0-0-refdbg.install libglib2.0-0-dbg.install \
+	            libglib2.0-0-dbg.install \
 	            libglib2.0-dev.install libglib2.0-udeb.install \
 		    libglib2.0-bin.links libglib2.0-dev.links \
 	            libglib2.0-0.dirs libglib2.0-0.triggers; \
@@ -144,7 +136,6 @@
 		-e "s#@DOC_PKG@#$(DOC_PKG)#g" \
 		-e "s#@DEBUG_PKG@#$(DEBUG_PKG)#g" \
 		-e "s#@GNOME_TEAM@#$(UPLOADERS)#g" \
-		-e "s#@REFDBG_PKG@#$(REFDBG_PKG)#g" \
 		debian/control.in > debian/control
 	rm -rf $(CURDIR)/debian/build \
 	       $(CURDIR)/debian/install \


More information about the pkg-gnome-maintainers mailing list