debian/changelog |    3 ++-
 debian/control   |   13 +++++++++++++
 debian/rules     |    7 ++++++-
 3 files changed, 21 insertions(+), 2 deletions(-)

New commits:
commit ef104f870a28b261639da58e4f6d93dd5ce656f4
Author: Julien Cristau <[EMAIL PROTECTED]>
Date:   Tue Mar 27 02:51:14 2007 +0200

    debian/changelog update.

diff --git a/debian/changelog b/debian/changelog
index f5b6899..51a6456 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,9 @@
 xorg-server (2:1.2.99.902-2) UNRELEASED; urgency=low
 
   * Add exclude entries to dh_install in debian/rules.
+  * Ship debugging symbols for xserver-xorg-core in xserver-xorg-core-dbg.
 
- -- Drew Parsons <[EMAIL PROTECTED]>  Mon, 19 Mar 2007 17:10:24 +1100
+ -- Julien Cristau <[EMAIL PROTECTED]>  Fri, 23 Mar 2007 11:35:05 +0100
 
 xorg-server (2:1.2.99.902-1) experimental; urgency=low
 

commit bfd181760da39590bccdb27731408e547c9f4a10
Author: Julien Cristau <[EMAIL PROTECTED]>
Date:   Fri Mar 23 13:33:35 2007 +0100

    Build a new xserver-xorg-core-dbg package.
    
    Include debugging symbols for the Xorg server and associated modules in a
    new package.

diff --git a/debian/control b/debian/control
index 9d58a35..8dc39ef 100644
--- a/debian/control
+++ b/debian/control
@@ -203,3 +203,16 @@ Description: Xprint - the X11 print system (configuration 
files)
  This package provides the configuration and postscript definition files
  required to run Xprt, the Xprint server. Xprt is provided by xprint.
 
+Package: xserver-xorg-core-dbg
+Architecture: any
+Depends: xserver-xorg-core (= ${Source-Version})
+Priority: extra
+Description: Xorg - the X.Org X server (debugging symbols)
+ The X.Org X server is an X server for several architectures and operating
+ systems, which is derived from the XFree86 4.x series of X servers.
+ .
+ The X.Org server supports most modern graphics hardware from most vendors,
+ and supersedes all XFree86 X servers.
+ .
+ This package provides debugging symbols for the Xorg X server and associated
+ modules.
diff --git a/debian/rules b/debian/rules
index 128cdd6..f9a4fcd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -145,7 +145,12 @@ binary-arch: build install
        rm -rf debian/xprint/usr/share/doc/xprint
        
        dh_link -a
-       dh_strip -a --exclude=usr/lib/xorg/modules
+       dh_strip -a --exclude=usr/lib/xorg/modules 
--dbg-package=xserver-xorg-core
+       for i in $$(find debian/xserver-xorg-core/usr/lib/xorg/modules -name 
"lib*.so"); do \
+         mkdir -p $$(dirname 
debian/xserver-xorg-core-dbg/usr/lib/debug/$${i#*debian/xserver-xorg-core/}) && 
\
+         objcopy --only-keep-debug $$i 
debian/xserver-xorg-core-dbg/usr/lib/debug/$${i#*debian/xserver-xorg-core/} && \
+         objcopy 
--add-gnu-debuglink=debian/xserver-xorg-core-dbg/usr/lib/debug/$${i#*debian/xserver-xorg-core/}
 $$i; \
+       done
 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
        find debian/xserver-xorg-core/usr/lib/xorg/modules -name "lib*.so" | \
          xargs --no-run-if-empty \


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to