Package: libsigc++-2.0
Severity: normal
Tags: patch

Hi,

 I saw this package and it has a old style so I've update it.

 libsigc++-2.0-update.patch 
  - update to Standard Version: 3.7.3 and debhelper (>= 6)
  - update upstream homepage and download site URI
  - update watch file version to update package easier
  - clean up rules
  - remove unneccessary 50autoconf.patch

 if it seems to be OK, could you apply this?
 
-- 
Regards,
 
 Hideki Yamane
diff -urN debian.orig/50autoconf.patch debian/50autoconf.patch
--- debian.orig/50autoconf.patch	2008-02-08 06:48:27.000000000 +0900
+++ debian/50autoconf.patch	1970-01-01 09:00:00.000000000 +0900
@@ -1,11 +0,0 @@
-*** libsigc++-1.0.3/sigc++.m4   Tue Mar  6 08:37:31 2001
---- libsigc++-1.0.3/sigc++.m4~  Sat Jun  9 08:35:43 2001
-***************
-*** 107,112 ****
---- 107,113 ----
-        AC_MSG_CHECKING(if libsigc++ sane)
-        ac_save_CXXFLAGS="$CXXFLAGS"
-        ac_save_LIBS="$LIBS"
-+       ac_exeext=""
-        CXXFLAGS="$CXXFLAGS $SIGC_CFLAGS"
-        LIBS="$LIBS $SIGC_LIBS"
diff -urN debian.orig/compat debian/compat
--- debian.orig/compat	1970-01-01 09:00:00.000000000 +0900
+++ debian/compat	2008-02-08 06:55:19.000000000 +0900
@@ -0,0 +1 @@
+6
diff -urN debian.orig/control debian/control
--- debian.orig/control	2008-02-08 06:48:27.000000000 +0900
+++ debian/control	2008-02-08 06:50:42.000000000 +0900
@@ -2,8 +2,9 @@
 Section: devel
 Priority: optional
 Maintainer: Daniel Burrows <[EMAIL PROTECTED]>
-Standards-Version: 3.6.2.0
-Build-Depends: debhelper (>=4.0.0), m4, g++ (>= 3:3.2.0)
+Standards-Version: 3.7.3
+Build-Depends: debhelper (>=6), m4, g++ (>= 3:3.2.0)
+Homepage: http://libsigc.sourceforge.net/
 
 Package: libsigc++-2.0-0c2a
 Section: libs
diff -urN debian.orig/copyright debian/copyright
--- debian.orig/copyright	2008-02-08 06:48:27.000000000 +0900
+++ debian/copyright	2008-02-08 07:22:15.000000000 +0900
@@ -2,12 +2,12 @@
 implementing a typesafe callback framework in C++ by Karl Nelson
 <[EMAIL PROTECTED]>
 
-Originally from ftp://download.sourceforge.net/pub/sourceforge/libsigc
+Originally from http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.0/
 
 Copyright:
 
-Distribution of library and components is under the LGPL as listed in the
-file COPYING.LIB.  Examples and tests are Public Domain.
+Distribution of library and components is under the LGPL 2.1 as listed in the
+file COPYING.  Examples and tests are Public Domain.
 
-See /usr/share/common-licenses/LGPL for the full license.
+See /usr/share/common-licenses/LGPL-2.1 for the full license.
 
diff -urN debian.orig/rules debian/rules
--- debian.orig/rules	2008-02-08 06:48:27.000000000 +0900
+++ debian/rules	2008-02-08 07:04:57.000000000 +0900
@@ -1,9 +1,6 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
-# Use debhelper V. 3
-export DH_COMPAT=4
-
 # The current SONAME (FIXME: can we autodetect this?)
 SONAME=0c2a
 
@@ -12,7 +9,7 @@
 # created from debian/libsigc++-2.0.soname.$(x) file.
 SONAME_SPECIFIC_EXTS=install
 
-b := $(shell pwd)/debian/tmp
+b := $(CURDIR)/debian/tmp
 
 binary: binary-arch binary-indep
 
@@ -47,7 +44,6 @@
 build: build-stamp
 build-stamp: config
 	dh_testdir -a
-	#cd builddir && perl -i -pe 's/^(hardcode_libdir_flag_spec\s*=\s*).+$$/$$1" -D__LIBTOOL_IS_A_FOOL__ "/' libtool
 	cd builddir && $(MAKE)
 	touch build-stamp
 
@@ -55,15 +51,11 @@
 	dh_testdir
 	dh_testroot
 	if [ -d builddir ]; then rm -rf builddir; fi
-	#-for x in debian/*.patch; do patch --dry-run -fRp1 < $$x > /dev/null&&\
-	#  patch -fRp1 < $$x ; done
 	dh_clean build-stamp config-stamp install-stamp debian/shlibs.local
 
 config: config-stamp
 config-stamp:
 	dh_testdir
-	#for x in debian/*.patch; do patch --dry-run -fp1 < $$x > /dev/null && \
-	#  patch -fp1 < $$x; done
 	test -d builddir || mkdir builddir
 	cd builddir && ../configure --prefix=/usr
 	touch config-stamp
diff -urN debian.orig/watch debian/watch
--- debian.orig/watch	2008-02-08 06:48:27.000000000 +0900
+++ debian/watch	2008-02-08 06:49:20.000000000 +0900
@@ -1,3 +1,3 @@
-version=2
+version=3
 
-http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.0/ (?:.*/)?libsigc\+\+-(.*)\.tar\.gz
+http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.0/ (?:.*/)?libsigc\+\+-(.*)\.tar\.gz debian uupdate

Reply via email to