Hello Patrick,

On Sun, May 18, 2008 at 11:10:06PM +0200, Patrick Winnertz wrote:
> If you could write a patch against the mc package which will hit unstable 
> tomorrow ;-) this would be very kind. Then I'll consider to include it 
> into mc.

How does this look like?

With kind regards,
-- 
Baurzhan Ismagulov
http://www.kz-easy.com/
diff -Naurp -X /home/ibr/w/root/prg/dontdiff.ibr mc-4.6.2~git20080311.orig/debian/control mc-4.6.2~git20080311/debian/control
--- mc-4.6.2~git20080311.orig/debian/control	2008-05-21 22:34:31.000000000 +0200
+++ mc-4.6.2~git20080311/debian/control	2008-05-22 12:12:22.000000000 +0200
@@ -3,7 +3,7 @@ Section: utils
 Priority: optional
 Maintainer: Debian MC Packaging Group <[EMAIL PROTECTED]>
 Uploaders: Patrick Winnertz <[EMAIL PROTECTED]>
-Build-Depends: debhelper (> 5), libglib2.0-dev, libgpmg1-dev |not+linux-gnu, gettext, libslang2-dev, quilt, cvs, automake
+Build-Depends: debhelper (> 5), libglib2.0-dev, libgpmg1-dev |not+linux-gnu, gettext, libslang2-dev, quilt, cvs, automake, binutils
 Standards-Version: 3.7.3
 Homepage: http://www.ibiblio.org/mc/
 
@@ -18,3 +18,11 @@ Description: midnight commander - a powe
  viewer with support for binary files. Also included is Virtual
  Filesystem (VFS), that allows files on remote systems (e.g. FTP, SSH, 
  SMB servers) and files inside archives to be manipulated like real files.
+
+Package: mc-dbg
+Architecture: any
+Depends: mc (= ${binary:Version})
+Suggests: gdb
+Description: midnight commander - debug info
+ GNU Midnight Commander is a text-mode full-screen file manager. This
+ package contains debugging information for mc.
diff -Naurp -X /home/ibr/w/root/prg/dontdiff.ibr mc-4.6.2~git20080311.orig/debian/rocks mc-4.6.2~git20080311/debian/rocks
--- mc-4.6.2~git20080311.orig/debian/rocks	2008-05-21 22:34:31.000000000 +0200
+++ mc-4.6.2~git20080311/debian/rocks	2008-05-22 11:44:57.000000000 +0200
@@ -1,5 +1,7 @@
 # custom tweaks to cbs' debian/rules
 
+DEB_DESTDIR := `pwd`/debian/mc
+
 DEB_CONFIGURE_EXTRA_FLAGS := --with-glib2 --without-ext2undel \
 	--enable-charset --with-samba --with-screen=slang
 
@@ -49,6 +51,9 @@ deb-binary-hook-mc:
 	iconv -f koi8-u -t UTF-8 mc.hint.uk > tmp && mv tmp mc.hint.uk && \
 	iconv -f big5 -t UTF-8 mc.hint.zh > tmp && mv tmp mc.hint.zh
 
+deb-strip-mc:
+	dh_strip -pmc --dbg-package=mc-dbg
+
 deb-extra-pre-common-build::
 	cd po && \
 	for i in `ls | grep '\.po$$'`; do \

Reply via email to