[SCM] Sample data reduction pipeline branch, master, updated. 281b68ac74100a8bea4f1b0cbe4ad3be7779c190

Ole Streicher debian at liska.ath.cx
Wed Mar 7 08:51:36 UTC 2012


The following commit has been merged in the master branch:
commit 281b68ac74100a8bea4f1b0cbe4ad3be7779c190
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Wed Mar 7 09:50:51 2012 +0100

    Initial debian files

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..dd0607e
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+cpl-plugin-iiinstrument (0.0.1-1) unstable; urgency=low
+
+  * New package. Closes: #00000
+
+ -- Ole Streicher <debian at liska.ath.cx>  Thu, 28 Feb 2012 13:40:00 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..a569ccb
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,22 @@
+Source: cpl-plugin-iiinstrument
+Section: science
+Priority: optional
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Ole Streicher <debian at liska.ath.cx>
+Build-Depends: debhelper (>= 8), dh-autoreconf, libcpl-dev (>= 5.3.1)
+Standards-Version: 3.9.3
+Homepage: http://www.eso.org/sci/software/pipelines/iiinstrument
+Vcs-Git: git://git.debian.org/git/debian-science/packages/cpl-plugins-iiinstrument.git
+Vcs-Browser: http://git.debian.org/?p=debian-science/packages/cpl-plugins-iiinstrument.git
+
+Package: cpl-plugin-iiinstrument
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}, cpl-plugin-iiinstrument-calib
+Description: Sample data reduction pipeline
+ This is just an example data reduction pipeline.
+
+Package: cpl-plugin-iiinstrument-calib
+Architecture: all
+Depends: ${misc:Depends}
+Description: Sample data reduction pipeline calibration data 
+ This is just the calibration data of an example data reduction pipeline.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..a80eb17
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,26 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: iiinstrument
+Upstream-Author: Firstname Lastname  <flastname at eso.org>
+Source: ftp://ftp.eso.org/pub/dfs/pipelines/iiinstrument/
+
+Files: *
+Copyright: Copyright (C) 2001-2010 European Southern Observatory
+License: GPL-v2+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'.
+
+Files: debian/*
+Copyright: not applicable
+License: public-domain
+ Debian packaging by Ole Streicher <debian at liska.ath.cx>
diff --git a/debian/cpl-plugin-iiinstrument-calib.install b/debian/cpl-plugin-iiinstrument-calib.install
new file mode 100644
index 0000000..f26b6f4
--- /dev/null
+++ b/debian/cpl-plugin-iiinstrument-calib.install
@@ -0,0 +1 @@
+calib/* usr/share/cpl-plugins/iiinstrument
diff --git a/debian/cpl-plugin-iiinstrument.install b/debian/cpl-plugin-iiinstrument.install
new file mode 100644
index 0000000..cdda5da
--- /dev/null
+++ b/debian/cpl-plugin-iiinstrument.install
@@ -0,0 +1,2 @@
+usr/lib/*
+
diff --git a/debian/patches/debian-changes-0.0.1-1 b/debian/patches/debian-changes-0.0.1-1
new file mode 100644
index 0000000..d74a0c8
--- /dev/null
+++ b/debian/patches/debian-changes-0.0.1-1
@@ -0,0 +1,69 @@
+Description: Upstream changes introduced in version 0.0.1-1
+ This patch has been created by dpkg-source during the package build.
+ Here's the last changelog entry, hopefully it gives details on why
+ those changes were made:
+ .
+ cpl-plugin-iiinstrument (0.0.1-1) unstable; urgency=low
+ .
+   * New package. Closes: #00000
+ .
+ The person named in the Author field signed this changelog entry.
+Author: Ole Streicher <debian at liska.ath.cx>
+Bug-Debian: http://bugs.debian.org/00000
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: http://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- cpl-plugin-iiinstrument-0.0.1.orig/m4macros/cpl.m4
++++ cpl-plugin-iiinstrument-0.0.1/m4macros/cpl.m4
+@@ -41,7 +41,7 @@ AC_DEFUN([CPL_CHECK_LIBS],
+     AC_MSG_CHECKING([for CPL])
+ 
+     cpl_check_cpl_header="cpl_macros.h"
+-    cpl_check_cpl_lib="libcplcore.la"
++    cpl_check_cpl_lib="libcplcore.a"
+ 
+     cpl_includes=""
+     cpl_libraries=""
+--- cpl-plugin-iiinstrument-0.0.1.orig/iiinstrument/tests/Makefile.am
++++ cpl-plugin-iiinstrument-0.0.1/iiinstrument/tests/Makefile.am
+@@ -32,7 +32,7 @@ endif
+ LIBIIINSTRUMENT = $(top_builddir)/iiinstrument/libiiinstrument.la
+ 
+ INCLUDES = $(all_includes)
+-LDADD = $(LIBIIINSTRUMENT)
++LDADD = $(LIBIIINSTRUMENT) -lcplcore -lcplui
+ 
+ check_PROGRAMS = iiinstrument_dfs-test
+ 
+--- cpl-plugin-iiinstrument-0.0.1.orig/acinclude.m4
++++ cpl-plugin-iiinstrument-0.0.1/acinclude.m4
+@@ -86,7 +86,7 @@ AC_DEFUN([IIINSTRUMENT_SET_PATHS],
+ [
+ 
+     if test -z "$plugindir"; then
+-        plugindir='${libdir}/esopipes-plugins/${PACKAGE}-${VERSION}'
++        plugindir='${libdir}/plugins/${PACKAGE}-${VERSION}'
+     fi
+ 
+     if test -z "$privatelibdir"; then
+--- cpl-plugin-iiinstrument-0.0.1.orig/recipes/Makefile.am
++++ cpl-plugin-iiinstrument-0.0.1/recipes/Makefile.am
+@@ -36,6 +36,6 @@ noinst_HEADERS =
+ plugin_LTLIBRARIES = rrrecipe.la 
+ 
+ rrrecipe_la_SOURCES = rrrecipe.c 
+-rrrecipe_la_LIBADD = $(LIBIIINSTRUMENT)
++rrrecipe_la_LIBADD = $(LIBIIINSTRUMENT) -lcplcore -lcpldfs -lcplui
+ rrrecipe_la_LDFLAGS = -module -avoid-version
+ rrrecipe_la_DEPENDENCIES = $(LIBIIINSTRUMENT)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..de18d3b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+debian-changes-0.0.1-1
diff --git a/debian/repackage.sh b/debian/repackage.sh
new file mode 100755
index 0000000..8b71192
--- /dev/null
+++ b/debian/repackage.sh
@@ -0,0 +1,36 @@
+#!/bin/sh
+#
+# The ESO pipeline packages come in the form of a "kit" containing all
+# packages needed to build the pipeline. This also includes some non-free
+# packages like Gasgano.
+# To allow the pipelines to be put to Debian "main", and to have a more 
+# convienient build process, we extract just the source and calibration 
+# packages and use them as source packages for Debian.
+#
+# Debian package name ("cpl-plugin-fors")
+DEBIAN_PACKAGE=$(echo $(basename $3) | cut -d_ -f1)
+
+# Pipeline name ("fors")
+PIPELINE=$(echo ${DEBIAN_PACKAGE} | cut -d- -f3-)
+
+# Version number ("4.9.4")
+VERSION=$2
+
+# Sub packages
+SUBDIRS=calib
+
+BASEDIR=$(dirname $3)
+FILENAME=${BASEDIR}/${PIPELINE}-kit-${VERSION}.tar.gz
+tar xf ${FILENAME} -C ${BASEDIR}
+rm -f ${BASEDIR}/${DEBIAN_PACKAGE}_${VERSION}.orig*.tar.gz ${FILENAME}
+
+mv ${BASEDIR}/${PIPELINE}-kit-${VERSION}/${PIPELINE}-${VERSION}.tar.gz \
+   ${BASEDIR}/${DEBIAN_PACKAGE}_${VERSION}.orig.tar.gz
+
+for d in ${SUBDIRS}; do
+  mv ${BASEDIR}/${PIPELINE}-kit-${VERSION}/${PIPELINE}-${d}-${VERSION}.tar.gz \
+     ${BASEDIR}/${DEBIAN_PACKAGE}_${VERSION}.orig-${d}.tar.gz
+done
+
+rm -rf ${BASEDIR}/${PIPELINE}-kit-${VERSION}/ 
+exec uupdate --no-symlink "$@"
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..3f40a9a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+#export DH_VERBOSE=1
+
+%:
+	dh  $@ --with autoreconf
+
+override_dh_auto_configure:
+	dh_auto_configure -- --prefix=/usr/ --lib-dir=/usr/lib/cpl --with-cpl=/usr 
+
+override_dh_makeshlibs:
+	sed -i "/dependency_libs/ s/'.*'/''/" `find . -name '*.la'`
+
+override_dh_installchangelogs:
+	if [ -s ChangeLog ] ; then \
+	  dh_installchangelogs ChangeLog ; \
+	else \
+	  dh_installchangelogs ; \
+	fi
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)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..42419f7
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# format version number, currently 3; this line is compulsory!
+version=3
+ftp://ftp.eso.org/pub/dfs/pipelines/iiinstrument/iiinstrument-kit-(.*).tar.gz debian debian/repackage.sh
+

-- 
Sample data reduction pipeline



More information about the debian-science-commits mailing list