[med-svn] [igraph] 17/31: Update igraph package

Andreas Tille tille at debian.org
Tue Aug 19 10:16:47 UTC 2014


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository igraph.

commit 0793eef1479e5778ba3d1c7363a48bdf24b9844d
Author: Mathieu Malaterre <malat at debian.org>
Date:   Wed Apr 11 11:05:51 2012 +0000

    Update igraph package
---
 debian/changelog                   |  10 +++
 debian/compat                      |   2 +-
 debian/control                     |  15 ++---
 debian/libigraph0-dev.install      |   3 +
 debian/libigraph0.install          |   1 +
 debian/patches/igraph.debian.patch |  53 ----------------
 debian/patches/series              |   0
 debian/rules                       | 127 +++----------------------------------
 debian/source/format               |   1 +
 9 files changed, 31 insertions(+), 181 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 036e421..e0a5f10 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+igraph (0.5.4-2) UNRELEASED; urgency=low
+
+  * Use my @d.o alias
+  * Remove DMUA flag
+  * Bump Std-Vers to 3.9.3, no changes needed
+  * Switch to dpkg-source 3.0 (quilt) format
+  * Use dh(9), get hardening for free
+
+ -- Mathieu Malaterre <malat at debian.org>  Wed, 11 Apr 2012 12:43:45 +0200
+
 igraph (0.5.4-1) unstable; urgency=low
 
   * New upstream.
diff --git a/debian/compat b/debian/compat
index 7f8f011..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+9
diff --git a/debian/control b/debian/control
index cffdc21..383c3f4 100644
--- a/debian/control
+++ b/debian/control
@@ -2,19 +2,18 @@ Source: igraph
 Section: libs
 Priority: optional
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
-DM-Upload-Allowed: yes
-Uploaders: Mathieu Malaterre <mathieu.malaterre at gmail.com>,
-Build-Depends: debhelper (>= 7), libtool, libxml2-dev, libgmp-dev, libarpack2-dev,
+Uploaders: Mathieu Malaterre <malat at debian.org>,
+Build-Depends: debhelper (>= 9), libtool, libxml2-dev, libgmp-dev, libarpack2-dev,
  libblas-dev, liblapack-dev, automake
-Standards-Version: 3.9.1
-Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/igraph/trunk/?rev=0&sc=0
-Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/igraph/trunk/
+Standards-Version: 3.9.3
+Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/igraph/trunk/
+Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/igraph/trunk/
 Homepage: http://igraph.sourceforge.net/
 
 Package: libigraph0
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: A library for creating and manipulating graphs
+Description: library for creating and manipulating graphs
  igraph is a library for creating and manipulating graphs.
  It is intended to be as powerful (ie. fast) as possible to enable the
  analysis of large graphs.
@@ -26,7 +25,7 @@ Architecture: any
 Section: libdevel
 Depends: libigraph0 (= ${binary:Version}), ${misc:Depends}
 Provides: libigraph-dev
-Description: A library for creating and manipulating graphs - development files
+Description: library for creating and manipulating graphs - development files
  igraph is a library for creating and manipulating graphs.
  It is intended to be as powerful (ie. fast) as possible to enable the
  analysis of large graphs.
diff --git a/debian/libigraph0-dev.install b/debian/libigraph0-dev.install
new file mode 100644
index 0000000..c5f142f
--- /dev/null
+++ b/debian/libigraph0-dev.install
@@ -0,0 +1,3 @@
+usr/lib/*/libigraph.so
+usr/include/igraph/*.h
+usr/lib/*/pkgconfig/*.pc
diff --git a/debian/libigraph0.install b/debian/libigraph0.install
new file mode 100644
index 0000000..2a892c1
--- /dev/null
+++ b/debian/libigraph0.install
@@ -0,0 +1 @@
+usr/lib/*/libigraph.so.*
diff --git a/debian/patches/igraph.debian.patch b/debian/patches/igraph.debian.patch
deleted file mode 100644
index aaa00b3..0000000
--- a/debian/patches/igraph.debian.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-Version 0.5.2 used to shipped a debian/* directory. This directory was removed from upstream
-
---- igraph-0.5.2/Makefile.in.orig	2009-09-15 16:22:41.000000000 +0200
-+++ igraph-0.5.2/Makefile.in	2009-09-15 16:23:22.000000000 +0200
-@@ -212,7 +212,7 @@
- target_alias = @target_alias@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
--SUBDIRS = src debian tests interfaces
-+SUBDIRS = src tests interfaces
- DOC_FILES = $(top_builddir)/doc/book/Makefile.in \
- 	$(top_builddir)/doc/igraph-docs.info \
- 	$(top_srcdir)/doc/Makefile.in \
---- igraph-0.5.2/Makefile.am.orig	2009-09-15 16:19:19.000000000 +0200
-+++ igraph-0.5.2/Makefile.am	2009-09-15 16:19:24.000000000 +0200
-@@ -1,6 +1,6 @@
- 
- 
--SUBDIRS=src debian tests interfaces
-+SUBDIRS=src tests interfaces
- DOC_FILES = 	$(top_builddir)/doc/book/Makefile.in \
- 	$(top_builddir)/doc/igraph-docs.info \
- 	$(top_srcdir)/doc/Makefile.in \
---- igraph-0.5.2/configure.in.orig	2009-09-15 16:22:58.000000000 +0200
-+++ igraph-0.5.2/configure.in	2009-09-15 16:23:28.000000000 +0200
-@@ -213,7 +213,7 @@
-   AC_PROG_LN_S
- fi
- 
--AC_CONFIG_FILES([Makefile src/Makefile igraph.pc igraph_Info.plist debian/Makefile doc/Makefile doc/book/Makefile interfaces/R/configure.in interfaces/R/Makefile interfaces/R/src/Makevars.win interfaces/R/DESCRIPTION interfaces/Makefile interfaces/shell/Makefile])
-+AC_CONFIG_FILES([Makefile src/Makefile igraph.pc igraph_Info.plist doc/Makefile doc/book/Makefile interfaces/R/configure.in interfaces/R/Makefile interfaces/R/src/Makevars.win interfaces/R/DESCRIPTION interfaces/Makefile interfaces/shell/Makefile])
- AC_OUTPUT
- 
- AC_MSG_RESULT([igraph successfully configured.])
---- igraph-0.5.2/configure.orig	2009-09-15 16:23:05.000000000 +0200
-+++ igraph-0.5.2/configure	2009-09-15 16:23:39.000000000 +0200
-@@ -18374,7 +18374,7 @@
- 
- fi
- 
--ac_config_files="$ac_config_files Makefile src/Makefile igraph.pc igraph_Info.plist debian/Makefile doc/Makefile doc/book/Makefile interfaces/R/configure.in interfaces/R/Makefile interfaces/R/src/Makevars.win interfaces/R/DESCRIPTION interfaces/Makefile interfaces/shell/Makefile"
-+ac_config_files="$ac_config_files Makefile src/Makefile igraph.pc igraph_Info.plist doc/Makefile doc/book/Makefile interfaces/R/configure.in interfaces/R/Makefile interfaces/R/src/Makevars.win interfaces/R/DESCRIPTION interfaces/Makefile interfaces/shell/Makefile"
- 
- cat >confcache <<\_ACEOF
- # This file is a shell script that caches the results of configure
-@@ -19357,7 +19357,6 @@
-     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
-     "igraph.pc") CONFIG_FILES="$CONFIG_FILES igraph.pc" ;;
-     "igraph_Info.plist") CONFIG_FILES="$CONFIG_FILES igraph_Info.plist" ;;
--    "debian/Makefile") CONFIG_FILES="$CONFIG_FILES debian/Makefile" ;;
-     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
-     "doc/book/Makefile") CONFIG_FILES="$CONFIG_FILES doc/book/Makefile" ;;
-     "interfaces/R/configure.in") CONFIG_FILES="$CONFIG_FILES interfaces/R/configure.in" ;;
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index e69de29..0000000
diff --git a/debian/rules b/debian/rules
index 205775c..0cbbf12 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,125 +1,14 @@
 #!/usr/bin/make -f
-
-#include /usr/share/quilt/quilt.make
-
-# Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-VER_MAJOR = 0
-VER_MINOR = 5
-VER_PATCH = 4
-
-VER_FULL = $(VER_MAJOR).$(VER_MINOR).$(VER_PATCH)
-
-UPSTREAM_SRC = igraph-$(VER_FULL)
-DEBIAN_SRC_DIR = igraph-$(VER_FULL)
-DEBIAN_SRC_TAR = igraph_$(VER_FULL).orig.tar.gz
-
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-	INSTALL_PROGRAM += -s
-endif
-
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	libtoolize -f -c
-	#mv -f ltmain.sh utils
-	aclocal
-	autoheader
-	automake -a -c
-	autoconf
-	./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --sysconfdir=/etc --with-external-blas --with-external-lapack --with-external-arpack
-	touch configure-stamp
-
-build: configure-stamp build-stamp
-build-stamp:
-	dh_testdir
-	$(MAKE)
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-	[ ! -f Makefile ] || $(MAKE) distclean
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_installdirs
-	$(MAKE) install prefix=$(CURDIR)/debian/tmp/usr
-	sed -i "s,^dependency_libs=.*,dependency_libs=''," debian/tmp/usr/lib/libigraph.la
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-
-	dh_movefiles -plibigraph0        \
-	    usr/lib/libigraph.so.0      \
-	    usr/lib/libigraph.so.0.0.0
-
-	dh_movefiles -plibigraph0-dev    \
-	    usr/include/igraph/igraph.h \
-	    usr/include/igraph/types.h  \
-		usr/include/igraph/arpack.h \
-		usr/include/igraph/array.h  \
-	    usr/include/igraph/attributes.h  \
-	    usr/include/igraph/dqueue.h  \
-	    usr/include/igraph/error.h  \
-	    usr/include/igraph/heap.h  \
-	    usr/include/igraph/interrupt.h  \
-	    usr/include/igraph/igraph_pmt.h \
-	    usr/include/igraph/igraph_pmt_off.h \
-	    usr/include/igraph/matrix.h  \
-	    usr/include/igraph/stack.h  \
-	    usr/include/igraph/vector.h \
-	    usr/lib/libigraph.so        \
-	    usr/lib/libigraph.a         \
-	    usr/lib/libigraph.la        \
-	    usr/lib/pkgconfig/igraph.pc
-
-	dh_installdocs
-	dh_installexamples
-	dh_installman
-	dh_installinfo
-	dh_installchangelogs ChangeLog
-	dh_strip
-	dh_link
-	dh_compress
-	dh_fixperms
-	dh_makeshlibs
-	dh_shlibdeps -L libigraph -l debian/libigraph/usr/lib
-	dh_gencontrol
-	dh_installdeb
-	dh_md5sums
-	dh_builddeb
+DPKG_EXPORT_BUILDFLAGS = 1
+-include /usr/share/dpkg/buildflags.mk
 
-$(UPSTREAM_SRC).tar.gz:
-	#wget http://voxel.dl.sourceforge.net/sourceforge/igraph/$@
-	wget http://igraph.googlecode.com/files/igraph-nightly-0.5.3-1537-20091111.tar.gz
-	mv igraph-nightly-0.5.3-1537-20091111.tar.gz $(UPSTREAM_SRC).tar.gz
+%:
+	dh $@ --parallel --with autotools_dev
 
-get-orig-source: $(UPSTREAM_SRC).tar.gz
-	tar xzf $(UPSTREAM_SRC).tar.gz
-	GZIP="--best --no-name" tar czf $(DEBIAN_SRC_TAR) $(DEBIAN_SRC_DIR)
-	rm -rf $(DEBIAN_SRC_DIR)
+override_dh_auto_configure:
+	dh_auto_configure -- --with-external-blas --with-external-lapack --with-external-arpack
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+get-orig-source:
+	uscan --verbose --force-download
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/igraph.git



More information about the debian-med-commit mailing list