[Pkg-gnutls-commits] r1399 - in /packages/gnutls28/trunk/debian: changelog control rules

ametzler at users.alioth.debian.org ametzler at users.alioth.debian.org
Sun Feb 19 08:38:35 UTC 2012


Author: ametzler
Date: Sun Feb 19 08:38:34 2012
New Revision: 1399

URL: http://svn.debian.org/wsvn/pkg-gnutls/?sc=1&rev=1399
Log:
Use and link against Debian's packaged version of autogen/libopts.

B-d on autogen.

remove autogen-generated files (*.c, *.h) on clean. autogen requires
that the system headers are at least of the same version as the
one which was used to generate the files from their respective .def
sources.

Modified:
    packages/gnutls28/trunk/debian/changelog
    packages/gnutls28/trunk/debian/control
    packages/gnutls28/trunk/debian/rules

Modified: packages/gnutls28/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnutls/packages/gnutls28/trunk/debian/changelog?rev=1399&op=diff
==============================================================================
--- packages/gnutls28/trunk/debian/changelog (original)
+++ packages/gnutls28/trunk/debian/changelog Sun Feb 19 08:38:34 2012
@@ -4,6 +4,12 @@
     + bump libp11-kit-dev build-dep. to >= 0.11.
     + drop 30_guilegnutlserrorcodes.diff.
   * Drop debian/ocsptool.1 use, newly available upstream manpage instead.
+  * Use and link against Debian's packaged version of autogen/libopts.
+    + B-d on autogen.
+    + remove autogen-generated files (*.c, *.h) on clean. autogen requires
+      that the system headers are at least of the same version as the
+      one which was used to generate the files from their respective .def
+      sources.
 
  -- Andreas Metzler <ametzler at debian.org>  Sat, 04 Feb 2012 14:42:02 +0100
 

Modified: packages/gnutls28/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-gnutls/packages/gnutls28/trunk/debian/control?rev=1399&op=diff
==============================================================================
--- packages/gnutls28/trunk/debian/control (original)
+++ packages/gnutls28/trunk/debian/control Sun Feb 19 08:38:34 2012
@@ -9,7 +9,7 @@
 Build-Depends: debhelper (>= 8.1.3), nettle-dev (>= 2.4), zlib1g-dev,
  cdbs (>= 0.4.93), gtk-doc-tools, texinfo (>= 4.8),
  libtasn1-3-dev (>= 0.3.4-0), autotools-dev, guile-1.8-dev, datefudge,
- libp11-kit-dev (>= 0.11), pkg-config, chrpath, libidn11-dev
+ libp11-kit-dev (>= 0.11), pkg-config, chrpath, libidn11-dev, autogen
 Build-Conflicts: libgnutls-dev
 Standards-Version: 3.9.2
 Vcs-Svn: svn://svn.debian.org/svn/pkg-gnutls/packages/gnutls28/trunk

Modified: packages/gnutls28/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnutls/packages/gnutls28/trunk/debian/rules?rev=1399&op=diff
==============================================================================
--- packages/gnutls28/trunk/debian/rules (original)
+++ packages/gnutls28/trunk/debian/rules Sun Feb 19 08:38:34 2012
@@ -39,6 +39,11 @@
 	-rm -f doc/*.info* lib/po/libgnutls28.pot
 	# restore gnutls.pdf
 	if [ -e doc/gnutls.pdf.debbackup ] && [ ! -e doc/gnutls.pdf ] ; then mv doc/gnutls.pdf.debbackup doc/gnutls.pdf ; fi
+	# force regeneration of autogen-ed files.
+	for i in `grep -l AutoGen-ed src/*.c` ; do \
+		t=`basename $$i .c` ;\
+		rm -v $$i src/$$t.h;\
+		done
 
 # additional comands for build rule
 build/gnutls-doc::




More information about the Pkg-gnutls-commits mailing list