Package: libcdk5
Version: 5.0.20090215-0.1
Severity: wishlist
Tags: patch

Hello John!

A new upstream release of libcdk5 is available.  Please package it
at your convenience.  I was looking at installing Console Password
Manager (cpm) http://www.harry-b.de/dokuwiki/doku.php?id=harry:cpm
and noticed two things:

 1. cpm's author wrote the followign plea for help: The next release
    0.25beta will work with the latest CDK5 version 20090215 and
    I will publish it as soon as this CDK release makes it into
    the distributions.

 2. When trying to install the upstream source of 0.22beta:
    The following packages have unmet dependencies:
      cpm: Depends: libcdk4 (<= 4.9.10) but it is not installable
           Depends: cracklib2 (>= 2.7-15)
    E: Broken packages

I already played with packaging the new version locally, and a patch
is attached.  Please feel free to use it if it helps save you time.

If you are too busy, I'd be more than happy to do an actual NMU too.  :-)

Thanks!

Anthony Fok <foka AT debian DOT org>

-- System Information:
Debian Release: squeeze/sid
Architecture: i386 (i686)

Versions of packages libcdk5 depends on:
ii  libc6                         2.9-6      GNU C Library: Shared libraries

libcdk5 recommends no packages.

libcdk5 suggests no packages.

-- no debconf information
diff -Nur libcdk5-5.0.20060507/debian/changelog libcdk5-5.0.20090215/debian/changelog
--- libcdk5-5.0.20060507/debian/changelog	2009-03-21 03:22:29.000000000 +0800
+++ libcdk5-5.0.20090215/debian/changelog	2009-03-23 16:24:19.000000000 +0800
@@ -1,3 +1,14 @@
+libcdk5 (5.0.20090215-0.1) unstable; urgency=low
+
+  * Non-maintainer upload. (Local test build for fun, not uploaded)
+  * New upstream release.
+     + increase a buffer size in calendar.c.  Closes: #452401.
+  * Standards-Version: 3.8.1
+  * debhelper (>= 7)
+  * libcdk5-dev.install: Add usr/bin/cdk5-config
+
+ -- Anthony Fok <f...@debian.org>  Sat, 21 Mar 2009 04:29:14 +0800
+
 libcdk5 (5.0.20060507-1) unstable; urgency=low
 
   * New upstream release.
diff -Nur libcdk5-5.0.20060507/debian/compat libcdk5-5.0.20090215/debian/compat
--- libcdk5-5.0.20060507/debian/compat	2009-03-21 03:22:29.000000000 +0800
+++ libcdk5-5.0.20090215/debian/compat	2009-03-21 03:48:04.000000000 +0800
@@ -1 +1 @@
-4
+7
diff -Nur libcdk5-5.0.20060507/debian/control libcdk5-5.0.20090215/debian/control
--- libcdk5-5.0.20060507/debian/control	2009-03-21 03:22:29.000000000 +0800
+++ libcdk5-5.0.20090215/debian/control	2009-03-21 03:45:01.000000000 +0800
@@ -2,8 +2,9 @@
 Section: libs
 Priority: optional
 Maintainer: John Goerzen <jgoer...@complete.org>
-Standards-Version: 3.6.2
-Build-Depends: debhelper (>= 4), libncurses5-dev, autotools-dev
+Standards-Version: 3.8.1
+Build-Depends: debhelper (>= 7), libncurses5-dev, autotools-dev
+Homepage: http://invisible-island.net/cdk/
 
 Package: libcdk5
 Architecture: any
@@ -14,8 +15,6 @@
  development of text-based interfaces.  CDK delivers many of the common
  widget types required for a robust interface.  Widgets can be combined
  to create complex widgets if needed.
- .
- Home page: http://invisible-island.net/cdk/
 
 Package: libcdk5-dev
 Architecture: any
@@ -32,5 +31,3 @@
  .
  This package contains the header files and development libraries for
  the CDK library.
- .
- Home page: http://invisible-island.net/cdk/
diff -Nur libcdk5-5.0.20060507/debian/copyright libcdk5-5.0.20090215/debian/copyright
--- libcdk5-5.0.20060507/debian/copyright	2009-03-21 03:22:29.000000000 +0800
+++ libcdk5-5.0.20090215/debian/copyright	2009-03-21 03:47:31.000000000 +0800
@@ -4,7 +4,7 @@
 
 The sources were downloaded from http://invisible-island.net/cdk/
 
-Modifications copyright Thomas Dickey 1999, 2000, 2001, 2002, 2003, 2004, 2005
+Modifications copyright Thomas Dickey 1999-2009
 
 The software and documentation are still under the same licensing are the
 original Cdk, but noting that substantial work and enhancements have been made,
diff -Nur libcdk5-5.0.20060507/debian/libcdk5-dev.install libcdk5-5.0.20090215/debian/libcdk5-dev.install
--- libcdk5-5.0.20060507/debian/libcdk5-dev.install	2009-03-21 03:22:29.000000000 +0800
+++ libcdk5-5.0.20090215/debian/libcdk5-dev.install	2009-03-21 04:20:02.000000000 +0800
@@ -1,8 +1,6 @@
 usr/include/*
 usr/lib/lib*.a
 usr/lib/lib*.so
-usr/lib/pkgconfig/*
-usr/lib/*.la
-usr/share/pkgconfig/*
+usr/bin/cdk5-config
 usr/share/man/*
 usr/share/doc/*
diff -Nur libcdk5-5.0.20060507/debian/rules libcdk5-5.0.20090215/debian/rules
--- libcdk5-5.0.20060507/debian/rules	2009-03-21 03:22:29.000000000 +0800
+++ libcdk5-5.0.20090215/debian/rules	2009-03-23 16:27:05.000000000 +0800
@@ -56,22 +56,24 @@
 	rm -rf debian/tmp
 
 	# Add here commands to clean up after the build process.
-	-$(MAKE) distclean
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-	cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-	cp -f /usr/share/misc/config.guess config.guess
-endif
+	[ ! -f Makefile ] || $(MAKE) distclean
 
+# Commented out by Anthony Fok on 2009-03-23: The upstream config.{sub,guess}
+# are newer (2008-12-29) than the ones in Debian (2008-01-23) at the moment.
+#ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+#	cp -f /usr/share/misc/config.sub config.sub
+#endif
+#ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+#	cp -f /usr/share/misc/config.guess config.guess
+#endif
 
 	dh_clean 
 
 install: build
 	dh_testdir
 	dh_testroot
-	dh_clean -k 
-	-mkdir -p debian/tmp/usr{/doc/cdk,/share/man/man3,/include/cdk,/share/doc,/lib}
+	dh_prep
+	mkdir -p debian/tmp/usr/share/doc
 	dh_installdirs
 
 	# Add here commands to install the package into debian/tmp
@@ -93,23 +95,12 @@
 	dh_installchangelogs CHANGES
 	dh_installdocs
 	dh_installexamples
-	dh_install --sourcedir=debian/tmp
-#	dh_installmenu
-#	dh_installdebconf	
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installmime
-#	dh_installinit
-#	dh_installcron
-#	dh_installinfo
+	dh_install --sourcedir=debian/tmp --fail-missing
 	dh_installman
 	dh_link
 	dh_strip
 	dh_compress
 	dh_fixperms
-#	dh_perl
-#	dh_python
 	dh_makeshlibs
 	dh_installdeb
 	dh_shlibdeps

Reply via email to