[med-svn] r797 - in trunk/packages: . aeskulap aeskulap/trunk aeskulap/trunk/debian

tille at alioth.debian.org tille at alioth.debian.org
Mon Nov 12 22:30:33 UTC 2007


Author: tille
Date: 2007-11-12 22:30:33 +0000 (Mon, 12 Nov 2007)
New Revision: 797

Added:
   trunk/packages/aeskulap/
   trunk/packages/aeskulap/trunk/
   trunk/packages/aeskulap/trunk/debian/
   trunk/packages/aeskulap/trunk/debian/README.Debian
   trunk/packages/aeskulap/trunk/debian/changelog
   trunk/packages/aeskulap/trunk/debian/compat
   trunk/packages/aeskulap/trunk/debian/control
   trunk/packages/aeskulap/trunk/debian/copyright
   trunk/packages/aeskulap/trunk/debian/docs
   trunk/packages/aeskulap/trunk/debian/gconf-defaults
   trunk/packages/aeskulap/trunk/debian/get-orig-source
   trunk/packages/aeskulap/trunk/debian/get-orig-source_patch
   trunk/packages/aeskulap/trunk/debian/rules
   trunk/packages/aeskulap/trunk/debian/watch
Log:
First atempt to build aeskulap packages - nt yet working


Added: trunk/packages/aeskulap/trunk/debian/README.Debian
===================================================================
--- trunk/packages/aeskulap/trunk/debian/README.Debian	                        (rev 0)
+++ trunk/packages/aeskulap/trunk/debian/README.Debian	2007-11-12 22:30:33 UTC (rev 797)
@@ -0,0 +1,8 @@
+aeskulap for Debian
+-------------------
+
+Aeskulap source tarball included a copy dcmtk library source.  Because
+dcmtk is just packaged for Debian this part was removed from the upstream
+archive and
+
+ -- Andreas Tille <tille at debian.org>  Mon, 12 Nov 2007 14:40:43 +0100

Added: trunk/packages/aeskulap/trunk/debian/changelog
===================================================================
--- trunk/packages/aeskulap/trunk/debian/changelog	                        (rev 0)
+++ trunk/packages/aeskulap/trunk/debian/changelog	2007-11-12 22:30:33 UTC (rev 797)
@@ -0,0 +1,6 @@
+aeskulap (0.2.2b1-1) unstable; urgency=low
+
+  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+
+ -- Andreas Tille <tille at debian.org>  Mon, 12 Nov 2007 14:40:43 +0100
+

Added: trunk/packages/aeskulap/trunk/debian/compat
===================================================================
--- trunk/packages/aeskulap/trunk/debian/compat	                        (rev 0)
+++ trunk/packages/aeskulap/trunk/debian/compat	2007-11-12 22:30:33 UTC (rev 797)
@@ -0,0 +1 @@
+5

Added: trunk/packages/aeskulap/trunk/debian/control
===================================================================
--- trunk/packages/aeskulap/trunk/debian/control	                        (rev 0)
+++ trunk/packages/aeskulap/trunk/debian/control	2007-11-12 22:30:33 UTC (rev 797)
@@ -0,0 +1,17 @@
+Source: aeskulap
+Section: unknown
+Priority: extra
+Maintainer: Andreas Tille <tille at debian.org>
+Build-Depends: debhelper (>= 5), autotools-dev, libssl-dev, libgtkmm-2.4-dev, libglademm-2.4-dev, libgconfmm-2.6-dev
+Standards-Version: 3.7.2
+Homepage: http://aeskulap.nongnu.org
+
+Package: aeskulap
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: medical image viewer and DICOM network client
+ Aeskulap is able to load a series of special images stored in the DICOM
+ format for review. Additionally it is able to query and fetch DICOM
+ images from archive nodes (also called PACS) over the network.  Aeskulap
+ tries to achieve a full open source replacement for  commercially
+ available DICOM viewers.

Added: trunk/packages/aeskulap/trunk/debian/copyright
===================================================================
--- trunk/packages/aeskulap/trunk/debian/copyright	                        (rev 0)
+++ trunk/packages/aeskulap/trunk/debian/copyright	2007-11-12 22:30:33 UTC (rev 797)
@@ -0,0 +1,26 @@
+This package was debianized by Andreas Tille <tille at debian.org> on
+Mon, 12 Nov 2007 14:40:43 +0100.
+
+It was downloaded from http://www.bms-austria.com/~pipelka/aeskulap/
+
+The homepage is: http://aeskulap.nongnu.org
+
+Upstream Author(s): 
+
+    Alexander Pipelka <pipelka at teleweb.at>
+    Gianluca Ghelli
+
+Copyright: 
+
+    <Copyright (C) YYYY Name OfAuthor>
+    <likewise for another author>
+
+License:
+
+    <Put the license of the package here indented by 4 spaces>
+
+The Debian packaging is (C) 2007, Andreas Tille <tille at debian.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.

Added: trunk/packages/aeskulap/trunk/debian/docs
===================================================================
--- trunk/packages/aeskulap/trunk/debian/docs	                        (rev 0)
+++ trunk/packages/aeskulap/trunk/debian/docs	2007-11-12 22:30:33 UTC (rev 797)
@@ -0,0 +1,2 @@
+NEWS
+README

Added: trunk/packages/aeskulap/trunk/debian/gconf-defaults
===================================================================
--- trunk/packages/aeskulap/trunk/debian/gconf-defaults	                        (rev 0)
+++ trunk/packages/aeskulap/trunk/debian/gconf-defaults	2007-11-12 22:30:33 UTC (rev 797)
@@ -0,0 +1 @@
+src/aeskulap.schemas

Added: trunk/packages/aeskulap/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/aeskulap/trunk/debian/get-orig-source	                        (rev 0)
+++ trunk/packages/aeskulap/trunk/debian/get-orig-source	2007-11-12 22:30:33 UTC (rev 797)
@@ -0,0 +1,53 @@
+#!/bin/sh -e
+
+NAME=aeskulap
+UVERSION=0.2.2-beta1
+DVERSION=0.2.2b1
+UPSTREAMTAR="$NAME"-"$UVERSION".tar.gz
+UPSTREAMDIR=`basename $UPSTREAMTAR .tar.gz`
+
+patch="${0}_patch"
+
+# To rebuild the new upstream tarball you need these
+# packages installed.  This will be checked later on.
+# The rationale behind this dependency is that the
+# script should work for later upstream releases as well
+# and thus a simple patch for Makefile.am and
+# configure.in would not work
+BUILDTARBALLDEPENDS="autoconf automake libtool libgconf2-dev intltool"
+# Also these build-dependencies are needed to be installed to
+# run ./configure which is a precondition for "make dist"
+BUILDDEPS="libgtkmm-2.4-dev libglademm-2.4-dev libgconfmm-2.6-dev"
+missingdepends=`dpkg -l ${BUILDTARBALLDEPENDS} ${BUILDDEPS} | \
+    grep -v -e "^ii" -e "^|" -e "^++" -e "^ " -e "^..[^[:space:]]" | \
+    sed 's/^[a-z][a-z][[:space:]]\+\([^[:space:]]\+\)[[:space:]]\+.*/\1/'`
+
+if [ "$missingdepends" != "" ] ; then
+    echo "Please install the following packages to rebuild the upstream source tarball:"
+    echo $missingdepends
+    exit -1
+fi
+
+mkdir -p ../tarballs
+cp -a "$patch" ../tarballs
+cd ../tarballs
+
+if [ ! -f "$UPSTREAMTAR" ] ; then
+    wget http://www.bms-austria.com/~pipelka/aeskulap/"$UPSTREAMTAR"
+fi
+tar -xzf "$UPSTREAMTAR"
+
+# Apply patch that removes dcmtk stuff from Makefile.in and configure.in
+patch -p0 < `basename $patch`
+
+cd "$UPSTREAMDIR"
+# remove dcmtk stuff
+rm -rf COPYING.DCMTK dcmtk
+echo "Upstream tarball repackaged without dcmtk at `date`." > NEWS
+
+autoreconf
+./configure
+make dist
+mv "$UPSTREAMDIR".tar.gz ../"$NAME"_"$DVERSION".orig.tar.gz
+cd ..
+rm -rf "$UPSTREAMDIR"


Property changes on: trunk/packages/aeskulap/trunk/debian/get-orig-source
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/packages/aeskulap/trunk/debian/get-orig-source_patch
===================================================================
--- trunk/packages/aeskulap/trunk/debian/get-orig-source_patch	                        (rev 0)
+++ trunk/packages/aeskulap/trunk/debian/get-orig-source_patch	2007-11-12 22:30:33 UTC (rev 797)
@@ -0,0 +1,125 @@
+diff -ubrN aeskulap-0.2.2-beta1.orig/configure.in aeskulap-0.2.2-beta1/configure.in
+--- aeskulap-0.2.2-beta1.orig/configure.in	2007-05-24 20:59:09.000000000 +0200
++++ aeskulap-0.2.2-beta1/configure.in	2007-11-12 23:03:37.000000000 +0100
+@@ -30,7 +30,6 @@
+ AC_PROG_CC
+ AC_PROG_CXX
+ AC_PROG_INSTALL
+-
+ if test x"$MINGW32" = xno ; then
+ AM_BINRELOC
+ else
+@@ -80,6 +79,7 @@
+ AC_SUBST(GTHREAD_CFLAGS)
+ AC_SUBST(GTHREAD_LIBS)
+ 
++
+ if test x"$MINGW32" = xno ; then
+ 
+ PKG_CHECK_MODULES(GCONFMM, gconfmm-2.6 >= 2.10.0)
+@@ -95,32 +95,16 @@
+ fi
+ 
+ 
+-dnl AC_CONFIG_SUBDIRS(dcmtk)
+-
+-if test x"$MINGW32" = xyes ; then
+-
+-DCMTK_CFLAGS="-DHAVE_CONFIG_H -I\$(prefix)/include"
+-DCMTK_LIBS="-L\$(prefix)/lib -ldcmjpeg -lijg8 -lijg12 -lijg16 -ldcmimage -ldcmimgle -ldcmnet -ldcmdata -lofstd -lwsock32"
+-
+-else
+-
+-DCMJPEG_LIBS="-L../dcmtk/dcmjpeg/libijg8 -L../dcmtk/dcmjpeg/libijg12 -L../dcmtk/dcmjpeg/libijg16 -lijg8 -lijg12 -lijg16"
+-AC_SUBST(DCMJPEG_LIBS)
+-
+-DCMTK_CFLAGS="-DHAVE_CONFIG_H -I\$(top_srcdir)/dcmtk/config/include -I\$(top_srcdir)/dcmtk/ofstd/include -I\$(top_srcdir)/dcmtk/dcmdata/include -I\$(top_srcdir)/dcmtk/dcmnet/include -I\$(top_srcdir)/dcmtk/dcmimage/include -I\$(top_srcdir)/dcmtk/dcmimgle/include -I\$(top_srcdir)/dcmtk/dcmjpeg/include"
+-DCMTK_LIBS="-L../dcmtk/ofstd/libsrc \
+--L../dcmtk/dcmdata/libsrc \
+--L../dcmtk/dcmnet/libsrc \
+--L../dcmtk/dcmjpeg/libsrc \
+--L../dcmtk/dcmimage/libsrc \
+--L../dcmtk/dcmimgle/libsrc \
+-\$(DCMJPEG_LIBS) -ldcmjpeg -ldcmimage -ldcmimgle -ldcmnet -ldcmdata -lofstd -lrt -lpthread"
+-
+-fi
++dnl use Debian packages dcmtk
++dnl AC_CHECK_LIB(dcmimage)
++AC_CHECK_HEADER(dcmtk/config/osconfig.h)
+ 
+ AC_SUBST(DCMTK_CFLAGS)
+ AC_SUBST(DCMTK_LIBS)
+ 
++DCMTK_CFLAGS="-DHAVE_CONFIG_H -I\$(prefix)/include"
++DCMTK_LIBS="-L\$(prefix)/lib -ldcmjpeg -lijg8 -lijg12 -lijg16 -ldcmimage -ldcmimgle -ldcmnet -ldcmdata -lofstd"
++
+ dnl set PREFIX
+ if test "x${prefix}" = "xNONE"; then
+     packageprefix=${ac_default_prefix}
+@@ -128,16 +112,13 @@
+     packageprefix=${prefix}
+ fi
+ 
+-DCMTK_SUBDIR=""
+ if test x"$MINGW32" = xno ; then
+-DCMTK_SUBDIR="dcmtk"
+ LDFLAGS_AESKULAP_LIBS="-Wl,-rpath,${prefix}/lib/aeskulap -avoid-version"
+ else
+ LDFLAGS_MINGW32="-mwindows"
+ LDFLAGS_AESKULAP_LIBS="-avoid-version -no-undefined"
+ fi
+ 
+-AC_SUBST(DCMTK_SUBDIR)
+ AC_SUBST(LDFLAGS_MINGW32)
+ AC_SUBST(LDFLAGS_AESKULAP_LIBS)
+ 
+@@ -160,12 +141,3 @@
+ packaging/win32/aeskulap.iss
+ ])
+ 
+-
+-if test x"$MINGW32" = xno ; then
+-
+-cd $srcdir/dcmtk
+-export CFLAGS="$CFLAGS"
+-export CXXFLAGS="$CXXFLAGS"
+-sh ./configure --without-openssl --without-zlib --without-libwrap --prefix=${prefix} --libdir=${prefix}/lib/aeskulap
+-
+-fi
+diff -ubrN aeskulap-0.2.2-beta1.orig/Makefile.am aeskulap-0.2.2-beta1/Makefile.am
+--- aeskulap-0.2.2-beta1.orig/Makefile.am	2007-05-24 21:19:55.000000000 +0200
++++ aeskulap-0.2.2-beta1/Makefile.am	2007-11-07 07:23:00.000000000 +0100
+@@ -1,6 +1,5 @@
+ SUBDIRS = \
+ 	po \
+-	$(DCMTK_SUBDIR) \
+ 	configuration \
+ 	imagepool \
+ 	widgets \
+@@ -21,7 +20,6 @@
+ 	AUTHORS \
+ 	COPYING \
+ 	COPYING.LIB \
+-	COPYING.DCMTK \
+ 	INSTALL \
+ 	README \
+ 	aeskulap.cbp \
+@@ -39,18 +37,7 @@
+ 
+ @INTLTOOL_DESKTOP_RULE@
+ 
+-dist-hook:
+-	mkdir -p $(distdir)/dcmtk
+-	cp -Rf $(top_srcdir)/dcmtk/* $(distdir)/dcmtk
+-	cd $(distdir)/dcmtk && make distclean
+-	list=`find $(distdir)/dcmtk -name "CVS"` && rm -Rf $$list
+-	list=`find $(distdir)/dcmtk -name ".cvsignore"` && rm -f $$list
+-	list=`find $(distdir)/dcmtk -name ".#*"` && rm -f $$list
+-	list=`find $(distdir)/dcmtk -name "*.a"` && rm -f $$list
+-	list=`find $(distdir)/dcmtk -name "*.so"` && rm -f $$list
+-
+ distclean: distclean-recursive
+-	if test x"" != "x" ; then cd ./dcmtk && make distclean ; fi
+ 	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
+ 	-rm -f Makefile
+ 

Added: trunk/packages/aeskulap/trunk/debian/rules
===================================================================
--- trunk/packages/aeskulap/trunk/debian/rules	                        (rev 0)
+++ trunk/packages/aeskulap/trunk/debian/rules	2007-11-12 22:30:33 UTC (rev 797)
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+
+get-orig-source:
+	. debian/get-orig-source


Property changes on: trunk/packages/aeskulap/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/packages/aeskulap/trunk/debian/watch
===================================================================
--- trunk/packages/aeskulap/trunk/debian/watch	                        (rev 0)
+++ trunk/packages/aeskulap/trunk/debian/watch	2007-11-12 22:30:33 UTC (rev 797)
@@ -0,0 +1,4 @@
+version=3
+
+#http://www.bms-austria.com/~pipelka/aeskulap aeskulap-(.*)\.tar\.gz
+http://www.bms-austria.com/~pipelka/aeskulap/aeskulap-(.*)\.tar\.gz




More information about the debian-med-commit mailing list