[med-svn] r1233 - in trunk/packages/vista/trunk: . debian debian/patches

hanska-guest at alioth.debian.org hanska-guest at alioth.debian.org
Thu Jan 31 16:05:09 UTC 2008


Author: hanska-guest
Date: 2008-01-31 16:05:09 +0000 (Thu, 31 Jan 2008)
New Revision: 1233

Added:
   trunk/packages/vista/trunk/debian/
   trunk/packages/vista/trunk/debian/README.Debian
   trunk/packages/vista/trunk/debian/changelog
   trunk/packages/vista/trunk/debian/compat
   trunk/packages/vista/trunk/debian/control
   trunk/packages/vista/trunk/debian/copyright
   trunk/packages/vista/trunk/debian/libvista-2-1.install
   trunk/packages/vista/trunk/debian/libvista-2-1.shlibs
   trunk/packages/vista/trunk/debian/libvista-2-dev.install
   trunk/packages/vista/trunk/debian/libvista-2-dev.manpages
   trunk/packages/vista/trunk/debian/patches/
   trunk/packages/vista/trunk/debian/patches/01-fix_Makefile.patch
   trunk/packages/vista/trunk/debian/patches/series
   trunk/packages/vista/trunk/debian/postinst.ex
   trunk/packages/vista/trunk/debian/postrm.ex
   trunk/packages/vista/trunk/debian/preinst.ex
   trunk/packages/vista/trunk/debian/prerm.ex
   trunk/packages/vista/trunk/debian/rules
   trunk/packages/vista/trunk/debian/shlibs.local.ex
   trunk/packages/vista/trunk/debian/vista-tools.install
   trunk/packages/vista/trunk/debian/vista-tools.manpages
   trunk/packages/vista/trunk/debian/watch
Log:
Almost working debian/. Don't consider the *.ex files;
they're still here in "case of need" (consider that the
package is not yet ready)


Added: trunk/packages/vista/trunk/debian/README.Debian
===================================================================
--- trunk/packages/vista/trunk/debian/README.Debian	                        (rev 0)
+++ trunk/packages/vista/trunk/debian/README.Debian	2008-01-31 16:05:09 UTC (rev 1233)
@@ -0,0 +1,6 @@
+vista for Debian
+----------------
+
+<possible notes regarding this package - if none, delete this file>
+
+ -- David Paleino <d.paleino at gmail.com>  Wed, 30 Jan 2008 19:43:07 +0100

Added: trunk/packages/vista/trunk/debian/changelog
===================================================================
--- trunk/packages/vista/trunk/debian/changelog	                        (rev 0)
+++ trunk/packages/vista/trunk/debian/changelog	2008-01-31 16:05:09 UTC (rev 1233)
@@ -0,0 +1,6 @@
+vista (2.1.7-1) unstable; urgency=low
+
+  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+
+ -- David Paleino <d.paleino at gmail.com>  Wed, 30 Jan 2008 19:43:07 +0100
+

Added: trunk/packages/vista/trunk/debian/compat
===================================================================
--- trunk/packages/vista/trunk/debian/compat	                        (rev 0)
+++ trunk/packages/vista/trunk/debian/compat	2008-01-31 16:05:09 UTC (rev 1233)
@@ -0,0 +1 @@
+5

Added: trunk/packages/vista/trunk/debian/control
===================================================================
--- trunk/packages/vista/trunk/debian/control	                        (rev 0)
+++ trunk/packages/vista/trunk/debian/control	2008-01-31 16:05:09 UTC (rev 1233)
@@ -0,0 +1,59 @@
+Source: vista
+Priority: optional
+Maintainer: Debian-Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>      
+Uploaders: David Paleino <d.paleino at gmail.com>
+XS-DM-Upload-Allowed: yes
+Build-Depends: debhelper (>= 5.0.0), autotools-dev, automake1.7, quilt
+ libxmu-dev, lesstif2-dev | libmotif-dev, libxaw-headers
+Standards-Version: 3.7.3
+Section: libs
+Homepage: http://mia.sourceforge.net
+Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/vista/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/vista/trunk/?rev=0&sc=0
+
+Package: libvista-2-dev
+Section: libdevel
+Architecture: any
+Depends: libvista-2-1 (= ${binary:Version})
+Description: framework for computer vision research - header files
+ Vista is a software environment for computer vision research. It is
+ designed to support not only images, but also edge sets, camera models,
+ and more complex data structures. Vista includes libraries of common
+ computer vision and image  processing algorithms. It is written in
+ ANSI C, for UNIX platforms running X Windows, and is freely available.
+ .
+ This is the development package.
+
+Package: libvista-2-1
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Recommends: vista-tools (= ${binary:Version})
+Description: framework for computer vision research - libraries
+ Vista is a software environment for computer vision research. It is
+ designed to support not only images, but also edge sets, camera models,
+ and more complex data structures. Vista includes libraries of common
+ computer vision and image  processing algorithms. It is written in
+ ANSI C, for UNIX platforms running X Windows, and is freely available.
+ .
+ The original development was done  at University of British Columbia
+ (<http://www.cs.ubc.ca/nest/lci/vista/vista.html>).
+ .
+ Because the development was stalled by the original authors the
+ development continued in the "Tools for Medical Image Analysis"
+ framework (<http://mia.sourceforge.net/>) which is maintained by
+ Max Planck Institute of Cognitive Neuroscience (<http://www.cns.mpg.de/>).
+
+Package: vista-tools
+Section: science
+Architecture: any
+Depends: libvista-2-1 (= ${binary:Version}, ${shlibs:Depends}, ${misc:Depends}
+Description: framework for computer vision research - tools
+ Vista is a software environment for computer vision research. It is
+ designed to support not only images, but also edge sets, camera models,
+ and more complex data structures. Vista includes libraries of common
+ computer vision and image  processing algorithms. It is written in
+ ANSI C, for UNIX platforms running X Windows, and is freely available.
+ .
+ This package provides some tools for 2D image processing based on the
+ vista library.

Added: trunk/packages/vista/trunk/debian/copyright
===================================================================
--- trunk/packages/vista/trunk/debian/copyright	                        (rev 0)
+++ trunk/packages/vista/trunk/debian/copyright	2008-01-31 16:05:09 UTC (rev 1233)
@@ -0,0 +1,23 @@
+Source: http://mia.sourceforge.net
+
+Files: debian/*
+Copyright: © 2008, David Paleino <d.paleino at gmail.com>
+License: GPL-3+
+ This package 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 3 of the License, or
+ (at your option) any later version.
+
+Files: *
+Copyright: © 1993-1994, University of British Columbia
+License: other
+ Permission to use, copy, modify, distribute, and sell this software and its
+ documentation for any purpose is hereby granted without fee, provided that
+ the above copyright notice appears in all copies and that both that
+ copyright notice and this permission notice appear in supporting
+ documentation. UBC makes no representations about the suitability of this
+ software for any purpose. It is provided "as is" without express or
+ implied warranty.
+
+On Debian systems, the complete text of the licenses can be found in:
+GPL-3 - `/usr/share/common-licenses/GPL'

Added: trunk/packages/vista/trunk/debian/libvista-2-1.install
===================================================================
--- trunk/packages/vista/trunk/debian/libvista-2-1.install	                        (rev 0)
+++ trunk/packages/vista/trunk/debian/libvista-2-1.install	2008-01-31 16:05:09 UTC (rev 1233)
@@ -0,0 +1 @@
+usr/lib/lib*.so.*

Added: trunk/packages/vista/trunk/debian/libvista-2-1.shlibs
===================================================================
--- trunk/packages/vista/trunk/debian/libvista-2-1.shlibs	                        (rev 0)
+++ trunk/packages/vista/trunk/debian/libvista-2-1.shlibs	2008-01-31 16:05:09 UTC (rev 1233)
@@ -0,0 +1,2 @@
+libvista-2	1.0.7	libvista-2-1 (>= 2.1.7-1)
+libvx-2		1.0.7	libvista-2-1 (>= 2.1.7-1)

Added: trunk/packages/vista/trunk/debian/libvista-2-dev.install
===================================================================
--- trunk/packages/vista/trunk/debian/libvista-2-dev.install	                        (rev 0)
+++ trunk/packages/vista/trunk/debian/libvista-2-dev.install	2008-01-31 16:05:09 UTC (rev 1233)
@@ -0,0 +1,6 @@
+usr/include/*
+usr/lib/lib*.a
+usr/lib/lib*.so
+usr/lib/*.la
+usr/share/aclocal/*
+usr/bin/vista-config

Added: trunk/packages/vista/trunk/debian/libvista-2-dev.manpages
===================================================================
--- trunk/packages/vista/trunk/debian/libvista-2-dev.manpages	                        (rev 0)
+++ trunk/packages/vista/trunk/debian/libvista-2-dev.manpages	2008-01-31 16:05:09 UTC (rev 1233)
@@ -0,0 +1 @@
+usr/share/man/man3/*

Added: trunk/packages/vista/trunk/debian/patches/01-fix_Makefile.patch
===================================================================
--- trunk/packages/vista/trunk/debian/patches/01-fix_Makefile.patch	                        (rev 0)
+++ trunk/packages/vista/trunk/debian/patches/01-fix_Makefile.patch	2008-01-31 16:05:09 UTC (rev 1233)
@@ -0,0 +1,11 @@
+--- vista-2.1.7.orig/vista/Makefile.am
++++ vista-2.1.7/vista/Makefile.am
+@@ -12,6 +12,8 @@
+ 
+ libvx_la_LDFLAGS= -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE) -export-dynamic
+ 
++libvx_la_LIBADD = libvista.la
++
+ libvista_la_SOURCES = Addfunc.c Adjust.c Alloc.c Attr.c Calibrate.c Camera.c \
+ 	Canny.c  Complex.c ConvertC.c ConvertL.c ConvertO.c \
+ 	ConvertR.c Convolve.c ConvolveSep.c Coord.c Crop.c Dictionary.c \

Added: trunk/packages/vista/trunk/debian/patches/series
===================================================================
--- trunk/packages/vista/trunk/debian/patches/series	                        (rev 0)
+++ trunk/packages/vista/trunk/debian/patches/series	2008-01-31 16:05:09 UTC (rev 1233)
@@ -0,0 +1 @@
+01-fix_Makefile.patch

Added: trunk/packages/vista/trunk/debian/postinst.ex
===================================================================
--- trunk/packages/vista/trunk/debian/postinst.ex	                        (rev 0)
+++ trunk/packages/vista/trunk/debian/postinst.ex	2008-01-31 16:05:09 UTC (rev 1233)
@@ -0,0 +1,41 @@
+#!/bin/sh
+# postinst script for vista
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <postinst> `abort-remove'
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    configure)
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+

Added: trunk/packages/vista/trunk/debian/postrm.ex
===================================================================
--- trunk/packages/vista/trunk/debian/postrm.ex	                        (rev 0)
+++ trunk/packages/vista/trunk/debian/postrm.ex	2008-01-31 16:05:09 UTC (rev 1233)
@@ -0,0 +1,39 @@
+#!/bin/sh
+# postrm script for vista
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postrm> `remove'
+#        * <postrm> `purge'
+#        * <old-postrm> `upgrade' <new-version>
+#        * <new-postrm> `failed-upgrade' <old-version>
+#        * <new-postrm> `abort-install'
+#        * <new-postrm> `abort-install' <old-version>
+#        * <new-postrm> `abort-upgrade' <old-version>
+#        * <disappearer's-postrm> `disappear' <overwriter>
+#          <overwriter-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+    ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+

Added: trunk/packages/vista/trunk/debian/preinst.ex
===================================================================
--- trunk/packages/vista/trunk/debian/preinst.ex	                        (rev 0)
+++ trunk/packages/vista/trunk/debian/preinst.ex	2008-01-31 16:05:09 UTC (rev 1233)
@@ -0,0 +1,37 @@
+#!/bin/sh
+# preinst script for vista
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <new-preinst> `install'
+#        * <new-preinst> `install' <old-version>
+#        * <new-preinst> `upgrade' <old-version>
+#        * <old-preinst> `abort-upgrade' <new-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    install|upgrade)
+    ;;
+
+    abort-upgrade)
+    ;;
+
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+

Added: trunk/packages/vista/trunk/debian/prerm.ex
===================================================================
--- trunk/packages/vista/trunk/debian/prerm.ex	                        (rev 0)
+++ trunk/packages/vista/trunk/debian/prerm.ex	2008-01-31 16:05:09 UTC (rev 1233)
@@ -0,0 +1,40 @@
+#!/bin/sh
+# prerm script for vista
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <prerm> `remove'
+#        * <old-prerm> `upgrade' <new-version>
+#        * <new-prerm> `failed-upgrade' <old-version>
+#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+#        * <deconfigured's-prerm> `deconfigure' `in-favour'
+#          <package-being-installed> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    remove|upgrade|deconfigure)
+    ;;
+
+    failed-upgrade)
+    ;;
+
+    *)
+        echo "prerm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+

Added: trunk/packages/vista/trunk/debian/rules
===================================================================
--- trunk/packages/vista/trunk/debian/rules	                        (rev 0)
+++ trunk/packages/vista/trunk/debian/rules	2008-01-31 16:05:09 UTC (rev 1233)
@@ -0,0 +1,89 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+# shared library versions, option 1
+#version=2.0.5
+#major=2
+# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
+version=`ls src/.libs/lib*.so.* | \
+ awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+major=`ls src/.libs/lib*.so.* | \
+ awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+include /usr/share/quilt/quilt.make
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+config.status: patch configure
+	dh_testdir
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+	cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+	cp -f /usr/share/misc/config.guess config.guess
+endif
+	./configure \
+	--host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+	--prefix=/usr --mandir=\$${prefix}/share/man \
+	--infodir=\$${prefix}/share/info \
+	CFLAGS="$(CFLAGS)" \
+	LDFLAGS="-Wl,-z,defs,--as-needed -lm -lX11 -lXt -lXmu -lXm"
+
+build: build-stamp
+build-stamp: config.status
+	dh_testdir
+	$(MAKE)
+	touch $@
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	[ ! -f Makefile ] || $(MAKE) distclean
+	dh_clean build-stamp config.sub config.guess
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+	
+binary-indep: build install
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_installdocs NEWS
+	dh_install --sourcedir=$(CURDIR)/debian/tmp
+
+	# This is shipped in libvista-2-dev
+	rm -rf $(CURDIR)/debian/tmp/vista-tools/usr/bin/vista-config
+
+	dh_installexamples
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 


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

Added: trunk/packages/vista/trunk/debian/shlibs.local.ex
===================================================================
--- trunk/packages/vista/trunk/debian/shlibs.local.ex	                        (rev 0)
+++ trunk/packages/vista/trunk/debian/shlibs.local.ex	2008-01-31 16:05:09 UTC (rev 1233)
@@ -0,0 +1 @@
+libvista 2.1.7 vista (>> 2.1.7-0), vista (<< 2.1.7-99)

Added: trunk/packages/vista/trunk/debian/vista-tools.install
===================================================================
--- trunk/packages/vista/trunk/debian/vista-tools.install	                        (rev 0)
+++ trunk/packages/vista/trunk/debian/vista-tools.install	2008-01-31 16:05:09 UTC (rev 1233)
@@ -0,0 +1,2 @@
+usr/share/vista/*
+usr/bin/*

Added: trunk/packages/vista/trunk/debian/vista-tools.manpages
===================================================================
--- trunk/packages/vista/trunk/debian/vista-tools.manpages	                        (rev 0)
+++ trunk/packages/vista/trunk/debian/vista-tools.manpages	2008-01-31 16:05:09 UTC (rev 1233)
@@ -0,0 +1 @@
+usr/share/man/man1/*

Added: trunk/packages/vista/trunk/debian/watch
===================================================================
--- trunk/packages/vista/trunk/debian/watch	                        (rev 0)
+++ trunk/packages/vista/trunk/debian/watch	2008-01-31 16:05:09 UTC (rev 1233)
@@ -0,0 +1,4 @@
+version=3
+http://sf.net/mia/vista-(.*)\.tar\.gz
+
+




More information about the debian-med-commit mailing list