r38165 - in /packages/libblitz/trunk/debian: changelog control libblitz-doc.install libblitz-doc.lintian-overrides patches/40_prevent_celetion_of_texi_files.patch patches/series rules source/ source/format

tille at users.alioth.debian.org tille at users.alioth.debian.org
Mon Mar 7 13:13:26 UTC 2011


Author: tille
Date: Mon Mar  7 13:12:57 2011
New Revision: 38165

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=38165
Log:
  * debian/control:
    - Standards-Version: 3.9.1 (no changes needed)
    - Build-Depends: doxygen-latex instead of several tex related files
      Closes: #616201
    - Build-Depends: autotools-dev
  * debian/rules: simplified by using short dh syntax
    Using autotools-dev should hopefully solve the "Outdated config.{sub,guess}"
    issue, hopefully Closes: #548928
  * debian/source/format: 3.0 (quilt)
  * debian/libblitz-doc.lintian-overrides: Removed because not needed any more


Added:
    packages/libblitz/trunk/debian/patches/40_prevent_celetion_of_texi_files.patch
    packages/libblitz/trunk/debian/source/
    packages/libblitz/trunk/debian/source/format
Removed:
    packages/libblitz/trunk/debian/libblitz-doc.lintian-overrides
Modified:
    packages/libblitz/trunk/debian/changelog
    packages/libblitz/trunk/debian/control
    packages/libblitz/trunk/debian/libblitz-doc.install
    packages/libblitz/trunk/debian/patches/series
    packages/libblitz/trunk/debian/rules

Modified: packages/libblitz/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/libblitz/trunk/debian/changelog?rev=38165&op=diff
==============================================================================
--- packages/libblitz/trunk/debian/changelog (original)
+++ packages/libblitz/trunk/debian/changelog Mon Mar  7 13:12:57 2011
@@ -1,13 +1,17 @@
-blitz++ (1:0.9-11) UNRELEASED; urgency=low
+blitz++ (1:0.9-11) unstable; urgency=low
 
   * debian/control:
-    - Standards-Version: 3.8.4 (no changes needed)
-    - Depends: cdbs
-  * debian/rules: simplified by using cdbs
-    Using autotools.mk should hopefully solve the "Outdated config.{sub,guess}"
+    - Standards-Version: 3.9.1 (no changes needed)
+    - Build-Depends: doxygen-latex instead of several tex related files
+      Closes: #616201
+    - Build-Depends: autotools-dev
+  * debian/rules: simplified by using short dh syntax
+    Using autotools-dev should hopefully solve the "Outdated config.{sub,guess}"
     issue, hopefully Closes: #548928
-
- -- Andreas Tille <tille at debian.org>  Thu, 27 May 2010 08:36:34 +0200
+  * debian/source/format: 3.0 (quilt)
+  * debian/libblitz-doc.lintian-overrides: Removed because not needed any more
+
+ -- Andreas Tille <tille at debian.org>  Mon, 07 Mar 2011 14:00:41 +0100
 
 blitz++ (1:0.9-10) unstable; urgency=low
 

Modified: packages/libblitz/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/libblitz/trunk/debian/control?rev=38165&op=diff
==============================================================================
--- packages/libblitz/trunk/debian/control (original)
+++ packages/libblitz/trunk/debian/control Mon Mar  7 13:12:57 2011
@@ -4,11 +4,10 @@
 Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
 DM-Upload-Allowed: yes
 Uploaders: Andreas Tille <tille at debian.org>
-Build-Depends: gfortran | fortran-compiler, autotools-dev,
+Build-Depends: gfortran | fortran-compiler, autotools-dev, texinfo,
  libblas-dev | libatlas-base-dev, liblapack-dev | libatlas-base-dev,
- debhelper (>= 7.1), d-shlibs, texlive-latex-base, texlive-generic-recommended,
- texi2html, texinfo, doxygen, graphviz, cdbs, quilt
-Standards-Version: 3.8.4
+ debhelper (>= 7.1), d-shlibs, doxygen-latex, quilt
+Standards-Version: 3.9.1
 Vcs-Browser: http://svn.debian.org/wsvn/debian-science/packages/libblitz/trunk/?rev=0&sc=0
 Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/libblitz/trunk/
 Homepage: http://oonumerics.org/blitz/

Modified: packages/libblitz/trunk/debian/libblitz-doc.install
URL: http://svn.debian.org/wsvn/debian-science/packages/libblitz/trunk/debian/libblitz-doc.install?rev=38165&op=diff
==============================================================================
--- packages/libblitz/trunk/debian/libblitz-doc.install (original)
+++ packages/libblitz/trunk/debian/libblitz-doc.install Mon Mar  7 13:12:57 2011
@@ -1,1 +1,4 @@
-doc/doxygen/html/*   usr/share/doc/libblitz-doc/html/doxygen
+doc/doxygen/html/*	usr/share/doc/libblitz-doc/html/doxygen
+doc/*.html		usr/share/doc/libblitz-doc/html/
+doc/*.gif		usr/share/doc/libblitz-doc/html/
+doc/*.jpg		usr/share/doc/libblitz-doc/html/

Added: packages/libblitz/trunk/debian/patches/40_prevent_celetion_of_texi_files.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/libblitz/trunk/debian/patches/40_prevent_celetion_of_texi_files.patch?rev=38165&op=file
==============================================================================
--- packages/libblitz/trunk/debian/patches/40_prevent_celetion_of_texi_files.patch (added)
+++ packages/libblitz/trunk/debian/patches/40_prevent_celetion_of_texi_files.patch Mon Mar  7 13:12:57 2011
@@ -1,0 +1,61 @@
+--- blitz++-0.9.orig.orig/doc/stencils/Makefile.am
++++ blitz++-0.9.orig/doc/stencils/Makefile.am
+@@ -70,5 +70,5 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) stencils
+ 
+ clean-local:
+-	-rm -rf *.ii *.ti cxx_repository Template.dir ii_files ti_files dump-stencil *.texi
++	-rm -rf *.ii *.ti cxx_repository Template.dir ii_files ti_files dump-stencil
+ 
+--- blitz++-0.9.orig.orig/doc/stencils/Makefile.in
++++ blitz++-0.9.orig/doc/stencils/Makefile.in
+@@ -480,7 +480,7 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) stencils
+ 
+ clean-local:
+-	-rm -rf *.ii *.ti cxx_repository Template.dir ii_files ti_files dump-stencil *.texi
++	-rm -rf *.ii *.ti cxx_repository Template.dir ii_files ti_files dump-stencil
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+--- blitz++-0.9.orig.orig/doc/examples/Makefile.am
++++ blitz++-0.9.orig/doc/examples/Makefile.am
+@@ -75,6 +75,6 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) -i out
+ 
+ clean-local:
+-	-rm -rf *.ii *.ti cxx_repository Template.dir ii_files ti_files $(EXTRA_PROGRAMS) *.texi *.out core.[0-9]*
++	-rm -rf *.ii *.ti cxx_repository Template.dir ii_files ti_files $(EXTRA_PROGRAMS) core.[0-9]*
+ 
+ 
+--- blitz++-0.9.orig.orig/doc/examples/Makefile.in
++++ blitz++-0.9.orig/doc/examples/Makefile.in
+@@ -690,7 +690,7 @@
+ 	$(MAKE) $(AM_MAKEFLAGS) -i out
+ 
+ clean-local:
+-	-rm -rf *.ii *.ti cxx_repository Template.dir ii_files ti_files $(EXTRA_PROGRAMS) *.texi *.out core.[0-9]*
++	-rm -rf *.ii *.ti cxx_repository Template.dir ii_files ti_files $(EXTRA_PROGRAMS) core.[0-9]*
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
+--- blitz++-0.9.orig.orig/doc/Makefile.am
++++ blitz++-0.9.orig/doc/Makefile.am
+@@ -88,6 +88,3 @@
+ 
+ .PHONY: html
+ 
+-clean-local:
+-	-rm -rf blitz*.html 
+-
+--- blitz++-0.9.orig.orig/doc/Makefile.in
++++ blitz++-0.9.orig/doc/Makefile.in
+@@ -841,7 +841,7 @@
+ .PHONY: html
+ 
+ clean-local:
+-	-rm -rf blitz*.html 
++
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:

Modified: packages/libblitz/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/libblitz/trunk/debian/patches/series?rev=38165&op=diff
==============================================================================
--- packages/libblitz/trunk/debian/patches/series (original)
+++ packages/libblitz/trunk/debian/patches/series Mon Mar  7 13:12:57 2011
@@ -1,2 +1,4 @@
 01_gcc_43_missing_includes.patch
 01_gcc34_amd64.patch
+30_fix_doxygen_install_target.patch
+40_prevent_celetion_of_texi_files.patch

Modified: packages/libblitz/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/libblitz/trunk/debian/rules?rev=38165&op=diff
==============================================================================
--- packages/libblitz/trunk/debian/rules (original)
+++ packages/libblitz/trunk/debian/rules Mon Mar  7 13:12:57 2011
@@ -1,10 +1,6 @@
 #!/usr/bin/make -f
-# debian/rules for blitz++ using cdbs
-# 2009         Andreas Tille <tille at debian.org> 
-
-include /usr/share/cdbs/1/rules/patchsys-quilt.mk
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/autotools.mk
+# debian/rules for blitz++
+# 2011         Andreas Tille <tille at debian.org> 
 
 version=0.9
 libname=libblitz
@@ -12,25 +8,33 @@
 
 PREFIX = /usr
 
-DEB_CONFIGURE_INVOKE=mv doc/blitz.info doc/blitz.info.save; \
-                     F77=gfortran ./configure --prefix=$(PREFIX) --with-cxx=gcc --with-blas --enable-debug --enable-static --enable-64bit --enable-shared --enable-doxygen
+%:
+	dh --with autotools-dev $@
+	# dh --with autotools-dev --with autoreconf $@ # Needs Build-Depends: dh-autoreconf
 
-DEB_MAKE_INVOKE := $(DEB_MAKE_INVOKE); cd doc && $(MAKE) all
+override_dh_auto_configure:
+	mv doc/blitz.info doc/blitz.info.save
+	# dh_autotools-dev_updateconfig
+	F77=gfortran ./configure --prefix=$(PREFIX) --with-cxx=gcc --with-blas --enable-debug --enable-static --enable-64bit --enable-shared --enable-doxygen CFLAGS="-g -O2 -DBZHAVE_STD" CXXFLAGS="-g -O2 -DBZ_HAVE_STD"
 
-DEB_INSTALL_INVOKE := mv doc/blitz.info.save doc/blitz.info; $(DEB_MAKE_INVOKE); cd doc && $(MAKE) all
+override_dh_auto_build:
+	mv doc/blitz.info.save doc/blitz.info
+	dh_auto_build
+	cd doc && $(MAKE) all
 
-DEB_COMPRESS_EXCLUDE = examples testsuite pdf
 
-common-binary-post-install-arch::
+override_dh_compress:
+	dh_compress --exclude=examples --exclude=testsuite --exclude=.pdf
+
+override_dh_install:
+	dh_install
+	mkdir -p `pwd`/debian/tmp/$(PREFIX)/share/doc/libblitz-doc/html
 	for ext in html gif jpg ; do \
 	    mv `pwd`/debian/tmp/$(PREFIX)/share/doc/blitz-0.9/*.$${ext} `pwd`/debian/tmp/$(PREFIX)/share/doc/libblitz-doc/html ; \
 	done
 	d-shlibmove --ldbl --commit \
-	            --movedev "debian/tmp/usr/include/*" usr/include \
 	            --movedev "debian/tmp/usr/lib/pkgconfig/*" usr/lib/pkgconfig \
-	            debian/tmp/usr/lib/$(libname).so
+	            --movedev "debian/tmp/usr/lib/*.la" usr/lib \
+	            lib/.libs/libblitz.so
 
-# binary-arch: build install
-#	...
-#	dh_makeshlibs -V  '$(pkgname) (>= $(version))'
-#	...
+##	            --movedev "debian/tmp/usr/include/*" usr/include \

Added: packages/libblitz/trunk/debian/source/format
URL: http://svn.debian.org/wsvn/debian-science/packages/libblitz/trunk/debian/source/format?rev=38165&op=file
==============================================================================
--- packages/libblitz/trunk/debian/source/format (added)
+++ packages/libblitz/trunk/debian/source/format Mon Mar  7 13:12:57 2011
@@ -1,0 +1,1 @@
+3.0 (quilt)




More information about the debian-science-commits mailing list