Bug#525915: Actual patch
Jonny Lamb
jonny at debian.org
Mon Apr 27 23:43:15 UTC 2009
Patch attached, for real this time.
--
Jonny Lamb, UK
jonny at debian.org
-------------- next part --------------
Index: debian/control
===================================================================
--- debian/control (revision 19792)
+++ debian/control (working copy)
@@ -127,4 +127,17 @@
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
+Architecture: any
+Depends: ${misc:Depends},
+ ${shlibs:Depends},
+ libglib2.0-0 (= ${binary:Version})
+Description: The 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-visibility so that it can be used with refdbg, a GObject
+ refcount debugger.
Index: debian/control.in
===================================================================
--- debian/control.in (revision 19792)
+++ debian/control.in (working copy)
@@ -127,4 +127,17 @@
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@
+Architecture: any
+Depends: ${misc:Depends},
+ ${shlibs:Depends},
+ @SHARED_PKG@ (= ${binary:Version})
+Description: The 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-visibility so that it can be used with refdbg, a GObject
+ refcount debugger.
Index: debian/changelog
===================================================================
--- debian/changelog (revision 19792)
+++ debian/changelog (working copy)
@@ -1,3 +1,9 @@
+glib2.0 (2.20.1-2) UNRELEASED; urgency=low
+
+ * Add refdbg package: libglib2.0-0-refdbg. (Closes: #525915)
+
+ -- Jonny Lamb <jonny at debian.org> Mon, 27 Apr 2009 21:56:32 +0100
+
glib2.0 (2.20.1-1) unstable; urgency=low
* New upstream bugfix release:
Index: debian/rules
===================================================================
--- debian/rules (revision 19792)
+++ debian/rules (working copy)
@@ -47,11 +47,12 @@
UDEB_PKG := libglib$(APIVER)-udeb
DOC_PKG := libglib$(APIVER)-doc
DEBUG_PKG := $(SHARED_PKG)-dbg
+REFDBG_PKG := libglib$(APIVER)-$(SONAME)-refdbg
# list of flavors we build; each gets a builddir, a configure pass (configure
# args are defined below), a build pass, and an install pass (in two steps)
# Note: the "deb" flavor is required
-FLAVORS := deb udeb
+FLAVORS := deb udeb refdbg
# list of flavors to run the test suite on
CHECK_FLAVORS := $(filter deb, $(FLAVORS))
@@ -92,6 +93,9 @@
--enable-static
udeb_configure_flags := $(common_configure_flags) \
--disable-selinux
+refdbg_configure_flags := $(common_configure_flags) \
+ --disable-visibility \
+ --enable-debug=yes
$(STAMP_DIR)/patch-stamp:
dh_testdir
@@ -165,6 +169,7 @@
-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" \
$@.in >$@
clean: debian/control
@@ -214,7 +219,7 @@
ChangeLog
dh_installdocs -s -N$(DEV_PKG) -N$(DEBUG_PKG) NEWS README
dh_link -s
- dh_strip -s --dbg-package=$(DEBUG_PKG) -N$(UDEB_PKG)
+ dh_strip -s --dbg-package=$(DEBUG_PKG) -N$(UDEB_PKG) -N$(REFDBG_PKG)
dh_strip -p$(UDEB_PKG)
dh_compress -s -X.sgml -X.devhelp
dh_fixperms -s
Index: debian/libglib2.0-0-refdbg.install
===================================================================
--- debian/libglib2.0-0-refdbg.install (revision 0)
+++ debian/libglib2.0-0-refdbg.install (revision 0)
@@ -0,0 +1 @@
+debian/install/refdbg/usr/lib/libgobject*.so* usr/lib/refdbg
More information about the pkg-gnome-maintainers
mailing list