r36700 - in /packages/getdp-sparskit/trunk/debian: ./ README.Debian README.source changelog compat control copyright dirs docs patches/ patches/Makefile.diff patches/configure.diff patches/gmsh-2.1.diff patches/series rules watch

trophime-guest at users.alioth.debian.org trophime-guest at users.alioth.debian.org
Fri Jul 2 07:25:18 UTC 2010


Author: trophime-guest
Date: Fri Jul  2 07:25:00 2010
New Revision: 36700

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=36700
Log:
[svn-inject] Applying Debian modifications (2.0.0-1) to trunk

Added:
    packages/getdp-sparskit/trunk/debian/   (with props)
    packages/getdp-sparskit/trunk/debian/README.Debian
    packages/getdp-sparskit/trunk/debian/README.source
    packages/getdp-sparskit/trunk/debian/changelog
    packages/getdp-sparskit/trunk/debian/compat
    packages/getdp-sparskit/trunk/debian/control
    packages/getdp-sparskit/trunk/debian/copyright
    packages/getdp-sparskit/trunk/debian/dirs
    packages/getdp-sparskit/trunk/debian/docs
    packages/getdp-sparskit/trunk/debian/patches/
    packages/getdp-sparskit/trunk/debian/patches/Makefile.diff
    packages/getdp-sparskit/trunk/debian/patches/configure.diff
    packages/getdp-sparskit/trunk/debian/patches/gmsh-2.1.diff
    packages/getdp-sparskit/trunk/debian/patches/series
    packages/getdp-sparskit/trunk/debian/rules   (with props)
    packages/getdp-sparskit/trunk/debian/watch

Propchange: packages/getdp-sparskit/trunk/debian/
------------------------------------------------------------------------------
    mergeWithUpstream = 1

Added: packages/getdp-sparskit/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/getdp-sparskit/trunk/debian/README.Debian?rev=36700&op=file
==============================================================================
--- packages/getdp-sparskit/trunk/debian/README.Debian (added)
+++ packages/getdp-sparskit/trunk/debian/README.Debian Fri Jul  2 07:25:00 2010
@@ -1,0 +1,6 @@
+getdp for Debian
+----------------
+
+initial build for debian lenny
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>  Thu, 27 Aug 2009 13:09:50 +0200

Added: packages/getdp-sparskit/trunk/debian/README.source
URL: http://svn.debian.org/wsvn/debian-science/packages/getdp-sparskit/trunk/debian/README.source?rev=36700&op=file
==============================================================================
--- packages/getdp-sparskit/trunk/debian/README.source (added)
+++ packages/getdp-sparskit/trunk/debian/README.source Fri Jul  2 07:25:00 2010
@@ -1,0 +1,58 @@
+This package uses quilt to manage all modifications to the upstream
+source.  Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+
+To configure quilt to use debian/patches instead of patches, you want
+either to export QUILT_PATCHES=debian/patches in your environment
+or use this snippet in your ~/.quiltrc:
+
+    for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do
+        if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then
+                export QUILT_PATCHES=debian/patches
+                break
+        fi
+    done
+
+To get the fully patched source after unpacking the source package, cd to
+the root level of the source package and run:
+
+    quilt push -a
+
+The last patch listed in debian/patches/series will become the current
+patch.
+
+To add a new set of changes, first run quilt push -a, and then run:
+
+    quilt new <patch>
+
+where <patch> is a descriptive name for the patch, used as the filename in
+debian/patches.  Then, for every file that will be modified by this patch,
+run:
+
+    quilt add <file>
+
+before editing those files.  You must tell quilt with quilt add what files
+will be part of the patch before making changes or quilt will not work
+properly.  After editing the files, run:
+
+    quilt refresh
+
+to save the results as a patch.
+
+Alternately, if you already have an external patch and you just want to
+add it to the build system, run quilt push -a and then:
+
+    quilt import -P <patch> /path/to/patch
+    quilt push -a
+
+(add -p 0 to quilt import if needed). <patch> as above is the filename to
+use in debian/patches.  The last quilt push -a will apply the patch to
+make sure it works properly.
+
+To remove an existing patch from the list of patches that will be applied,
+run:
+
+    quilt delete <patch>
+
+You may need to run quilt pop -a to unapply patches first before running
+this command.

Added: packages/getdp-sparskit/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/getdp-sparskit/trunk/debian/changelog?rev=36700&op=file
==============================================================================
--- packages/getdp-sparskit/trunk/debian/changelog (added)
+++ packages/getdp-sparskit/trunk/debian/changelog Fri Jul  2 07:25:00 2010
@@ -1,0 +1,7 @@
+getdp-sparskit (2.0.0-1) unstable; urgency=low
+
+  * Corrected misspelling of getdp-sparskit
+  * Initial release (Closes: #587854)
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>  Mon, 28 Jun 2010 09:29:14 +0200
+

Added: packages/getdp-sparskit/trunk/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/getdp-sparskit/trunk/debian/compat?rev=36700&op=file
==============================================================================
--- packages/getdp-sparskit/trunk/debian/compat (added)
+++ packages/getdp-sparskit/trunk/debian/compat Fri Jul  2 07:25:00 2010
@@ -1,0 +1,1 @@
+7

Added: packages/getdp-sparskit/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/getdp-sparskit/trunk/debian/control?rev=36700&op=file
==============================================================================
--- packages/getdp-sparskit/trunk/debian/control (added)
+++ packages/getdp-sparskit/trunk/debian/control Fri Jul  2 07:25:00 2010
@@ -1,0 +1,23 @@
+Source: getdp-sparskit
+Section: math
+Priority: extra
+Maintainer: Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>
+Build-Depends: quilt, cdbs, debhelper (>= 7), autotools-dev, automake, autoconf, gfortran, libarpack2-dev, libgsl0-dev, libscotchmetis-dev, libpetsc3.0.0-dev (>= 3.0.0-0)
+Standards-Version: 3.8.4
+Homepage: http://www.geuz.org/getdp
+
+Package: getdp-sparskit
+Architecture: any
+Depends: libarpack2, libgsl0ldbl, ${shlibs:Depends}, ${misc:Depends}
+Description: general environment for the treatment of discrete problems
+ GetDP is a general finite element solver using mixed elements to
+ discretize de Rham-type complexes in one, two and three dimensions.
+ .
+ The main feature of GetDP is the closeness between the input data
+ defining discrete problems (written by the user in ASCII data files)
+ and the symbolic mathematical expressions of these problems.
+ .
+ This version is compiled with SPARSKIT  to solve linear systems. 
+ .
+ See GetDP's reference manual for a more thorough overview of GetDP's
+ capabilities: http://www.geuz.org/getdp

Added: packages/getdp-sparskit/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/getdp-sparskit/trunk/debian/copyright?rev=36700&op=file
==============================================================================
--- packages/getdp-sparskit/trunk/debian/copyright (added)
+++ packages/getdp-sparskit/trunk/debian/copyright Fri Jul  2 07:25:00 2010
@@ -1,0 +1,24 @@
+This package was debianized by Christophe Trophime <christophe.trophime at grenoble.cnrs.fr> on
+Thu, 27 Aug 2009 13:09:50 +0200.
+
+It was downloaded from http://www.geuz.org/getdp
+
+Upstream Authors:
+
+    Patrick Dular patrick.dular at ulg.ac.be
+    Christophe Geuzaine christophe.geuzaine at ulg.ac.be
+
+Copyright:
+
+    copyright (C) 1997-2008 by P. Dular and C. Geuzaine
+
+License:
+
+    /usr/share/common-licenses/GPL-2 
+
+The Debian packaging is (C) 2009, Christophe Trophime <christophe.trophime at grenoble.cnrs.fr> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
+    Sparskit : /usr/share/common-licenses/LGPL-2
+    Arpack : /usr/share/common-licenses/BSD
+

Added: packages/getdp-sparskit/trunk/debian/dirs
URL: http://svn.debian.org/wsvn/debian-science/packages/getdp-sparskit/trunk/debian/dirs?rev=36700&op=file
==============================================================================
--- packages/getdp-sparskit/trunk/debian/dirs (added)
+++ packages/getdp-sparskit/trunk/debian/dirs Fri Jul  2 07:25:00 2010
@@ -1,0 +1,1 @@
+usr/bin

Added: packages/getdp-sparskit/trunk/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/getdp-sparskit/trunk/debian/docs?rev=36700&op=file
==============================================================================
--- packages/getdp-sparskit/trunk/debian/docs (added)
+++ packages/getdp-sparskit/trunk/debian/docs Fri Jul  2 07:25:00 2010
@@ -1,0 +1,1 @@
+README.txt

Added: packages/getdp-sparskit/trunk/debian/patches/Makefile.diff
URL: http://svn.debian.org/wsvn/debian-science/packages/getdp-sparskit/trunk/debian/patches/Makefile.diff?rev=36700&op=file
==============================================================================
--- packages/getdp-sparskit/trunk/debian/patches/Makefile.diff (added)
+++ packages/getdp-sparskit/trunk/debian/patches/Makefile.diff Fri Jul  2 07:25:00 2010
@@ -1,0 +1,29 @@
+Index: getdp-2.0.0-svn-20100125/Makefile
+===================================================================
+--- getdp-2.0.0-svn-20100125.orig/Makefile	2010-01-28 11:54:05.000000000 +0100
++++ getdp-2.0.0-svn-20100125/Makefile	2010-01-28 11:54:10.000000000 +0100
+@@ -37,11 +37,11 @@
+ 	@for i in ${GETDP_DIRS}; do (cd $$i && ${MAKE}); done
+ 
+ install: variables
+-	mkdir -p ${bindir}
+-	cp -f bin/getdp${EXEEXT} ${bindir}
+-	chmod 755 ${bindir}/getdp${EXEEXT}
+-	mkdir -p ${mandir}/man1
+-	cp -f doc/getdp.1 ${mandir}/man1
++	mkdir -p $(DESTDIR)${bindir}
++	cp -f bin/getdp${EXEEXT} $(DESTDIR)${bindir}
++	chmod 755 $(DESTDIR)${bindir}/getdp${EXEEXT}
++	mkdir -p $(DESTDIR)${mandir}/man1
++	cp -f doc/getdp.1 $(DESTDIR)${mandir}/man1
+ 
+ variables: configure
+ 	@echo "********************************************************************"
+@@ -62,6 +62,7 @@
+ clean:
+ 	for i in doc lib demos ${GETDP_DIRS}; do (cd $$i && ${MAKE} clean); done
+ 	rm -f ${GETDP_VERSION_FILE}
++	rm -f bin/getdp${EXEEXT}
+ 
+ depend: initialtag
+ 	mv -f Common/GetDPConfig.h .

Added: packages/getdp-sparskit/trunk/debian/patches/configure.diff
URL: http://svn.debian.org/wsvn/debian-science/packages/getdp-sparskit/trunk/debian/patches/configure.diff?rev=36700&op=file
==============================================================================
--- packages/getdp-sparskit/trunk/debian/patches/configure.diff (added)
+++ packages/getdp-sparskit/trunk/debian/patches/configure.diff Fri Jul  2 07:25:00 2010
@@ -1,0 +1,34 @@
+Index: getdp-2.0.0/configure.in
+===================================================================
+--- getdp-2.0.0.orig/configure.in	2010-03-18 10:21:13.000000000 +0100
++++ getdp-2.0.0/configure.in	2010-03-18 10:26:27.000000000 +0100
+@@ -6,6 +6,7 @@
+ dnl Process this file with autoconf to produce the configure script.
+ 
+ dnl Check that this is the getdp source tree
++AC_PREREQ(2.50)
+ AC_INIT(Interface/ProParser.y)
+ 
+ dnl Parse '--with' command-line options
+@@ -189,12 +190,9 @@
+ dnl Check for Arpack, then link with blas and lapack if necessary
+ if test "x$enable_fortran" != "xno"; then
+   if test "x$enable_arpack" != "xno" -a "x${LAPACK}" = "xyes"; then
+-    AC_CHECK_FILE(./contrib/Arpack/znaupd.f, ARPACK="yes", ARPACK="no")
+-    if test "x${ARPACK}" = "xyes"; then
+       AC_DEFINE(HAVE_ARPACK)
+       BO="${BO} Arpack"
+-      GETDP_DIRS="${GETDP_DIRS} contrib/Arpack"
+-      GETDP_LIBS="${GETDP_LIBS} -lGetDPArpack"
++      GETDP_LIBS="${GETDP_LIBS} -larpack"
+       if test "x${SPARSKIT}" = "xyes"; then
+         if test "x${BLAS_LAPACK_PREFIX}" != "x"; then
+           GETDP_LIBS="${GETDP_LIBS} -L${BLAS_LAPACK_PREFIX} -llapack -lblas"
+@@ -202,7 +200,6 @@
+           GETDP_LIBS="${GETDP_LIBS} -llapack -lblas"
+         fi
+       fi
+-    fi
+   fi
+ fi
+ 

Added: packages/getdp-sparskit/trunk/debian/patches/gmsh-2.1.diff
URL: http://svn.debian.org/wsvn/debian-science/packages/getdp-sparskit/trunk/debian/patches/gmsh-2.1.diff?rev=36700&op=file
==============================================================================
--- packages/getdp-sparskit/trunk/debian/patches/gmsh-2.1.diff (added)
+++ packages/getdp-sparskit/trunk/debian/patches/gmsh-2.1.diff Fri Jul  2 07:25:00 2010
@@ -1,0 +1,13 @@
+Index: getdp-1.2.1/GeoData/GeoData.c
+===================================================================
+--- getdp-1.2.1.orig/GeoData/GeoData.c	2009-11-04 16:50:34.000000000 +0100
++++ getdp-1.2.1/GeoData/GeoData.c	2009-11-04 16:50:46.000000000 +0100
+@@ -333,7 +333,7 @@
+     if(!strncmp(&String[1], "MeshFormat", 10)) {
+ 
+       fscanf(File_GEO, "%lf %d %d\n", &Version, &Format, &Size);
+-      if(Version != 2.0){
++      if(Version != 2.0 && Version!=2.1){
+ 	Msg(GERROR, "Unknown mesh file version (%g)", Version);
+ 	return;
+       }

Added: packages/getdp-sparskit/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/getdp-sparskit/trunk/debian/patches/series?rev=36700&op=file
==============================================================================
--- packages/getdp-sparskit/trunk/debian/patches/series (added)
+++ packages/getdp-sparskit/trunk/debian/patches/series Fri Jul  2 07:25:00 2010
@@ -1,0 +1,2 @@
+Makefile.diff
+configure.diff

Added: packages/getdp-sparskit/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/getdp-sparskit/trunk/debian/rules?rev=36700&op=file
==============================================================================
--- packages/getdp-sparskit/trunk/debian/rules (added)
+++ packages/getdp-sparskit/trunk/debian/rules Fri Jul  2 07:25:00 2010
@@ -1,0 +1,44 @@
+#!/usr/bin/make -f
+
+DEB_AUTO_CLEANUP_RCS            := yes
+
+DEB_AUTO_UPDATE_ACLOCAL         := 1.11
+DEB_AUTO_UPDATE_AUTOCONF        := 1
+
+DEB_COMPRESS_EXCLUDE            := .pdf .svn
+
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+#DEB_MAKE_ENVVARS               := -j2
+
+DEB_CONFIGURE_EXTRA_FLAGS := --enable-metis --enable-sparskit
+DEB_CONFIGURE_SCRIPT_ENV        += F77="gfortran"
+
+DEB_STRIPPED_UPSTREAM_VERSION = $(shell echo $(DEB_UPSTREAM_VERSION) | sed -n -e 's/\.dfsg.*$$//p')
+
+install/getdp-sparskit::
+	mv $(CURDIR)/debian/getdp-sparskit/usr/bin/getdp $(CURDIR)/debian/getdp-sparskit/usr/bin/getdp-sparskit
+	mv $(CURDIR)/debian/getdp-sparskit/usr/share/man/man1/getdp.1 $(CURDIR)/debian/getdp-sparskit/usr/share/man/man1/getdp-sparskit.1
+	
+clean::
+	find . \( -name "*.o" -o -name "*.a" \) -delete
+	rm -rf bin/getdp
+	rm -rf Common/GetDPVersion.h
+	rm -rf Common/GetDPConfig.h
+	rm -rf variables configure
+	rm -rf config.guess config.sub config.status config.log
+
+.PHONY: get-orig-source
+get-orig-source:
+        set -ex ; \
+        TMPDIR=`mktemp -d $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).orig` ; \
+        uscan --force-download --symlink --check-dirname-level 0 --destdir "$$TMPDIR" ; \
+        tar -C "$$TMPDIR" --strip-components 1 -xzf "$$TMPDIR"/$(DEB_SOURCE_PACKAGE)_$(DEB_STRIPPED_UPSTREAM_VERSION).orig.tar.gz ; \
+        rm -f "$$TMPDIR"/$(DEB_SOURCE_PACKAGE)*.tar.gz ; \
+        rm -rf "$$TMPDIR"/Arpack ; \
+        GZIP=-9 tar -czf \
+            $(CURDIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz \
+            $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).orig ; \
+        rm -rf "$$TMPDIR"

Propchange: packages/getdp-sparskit/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/getdp-sparskit/trunk/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/getdp-sparskit/trunk/debian/watch?rev=36700&op=file
==============================================================================
--- packages/getdp-sparskit/trunk/debian/watch (added)
+++ packages/getdp-sparskit/trunk/debian/watch Fri Jul  2 07:25:00 2010
@@ -1,0 +1,3 @@
+version=3
+opts=uversionmangle=s/-([^-]+)/.$1/,dversionmangle=s/\-sparskit$// \
+  http://www.geuz.org/getdp/src/ getdp-([\d.-]+)-source\.tgz




More information about the debian-science-commits mailing list