xmedcon (0.10.7-1) debian-dir only changes

Summary

 debian/README.Debian         |   47 +++++
 debian/Readme.siemens_mosaic |   48 +++++
 debian/changelog             |  387 +++++++++++++++++++++++++++++++++++++++++++
 debian/compat                |    1 
 debian/control               |   82 +++++++++
 debian/copyright             |  172 +++++++++++++++++++
 debian/docs                  |    1 
 debian/libmdc2-dev.install   |    9 +
 debian/libmdc2.install       |    1 
 debian/medcon.docs           |    2 
 debian/medcon.install        |    2 
 debian/rules                 |  109 ++++++++++++
 debian/watch                 |    6 
 debian/xmedcon.dirs          |    1 
 debian/xmedcon.install       |    3 
 debian/xmedcon.menu          |    3 
 debian/xmedcon.mime          |    1 
 debian/xmedcon.xpm           |   52 +++++
 18 files changed, 927 insertions(+)

    
download this patch

Patch contents

--- xmedcon-0.10.7.orig/debian/xmedcon.menu
+++ xmedcon-0.10.7/debian/xmedcon.menu
@@ -0,0 +1,3 @@
+?package(xmedcon):needs="X11" section="Applications/Science/Medicine"\
+  title="xmedcon" command="/usr/bin/xmedcon"\
+  icon="/usr/share/pixmaps/xmedcon.xpm"
--- xmedcon-0.10.7.orig/debian/libmdc2.install
+++ xmedcon-0.10.7/debian/libmdc2.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/libmdc.so.*
--- xmedcon-0.10.7.orig/debian/changelog
+++ xmedcon-0.10.7/debian/changelog
@@ -0,0 +1,387 @@
+xmedcon (0.10.7-1) unstable; urgency=low
+
+  * New upstream release
+  * Bumped Standards-Version to 3.9.1
+
+ -- Roland Marcus Rutschmann <rudi@debian.org>  Thu, 14 Oct 2010 10:32:22 +0000
+
+xmedcon (0.10.5-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Work around bug #519006 by passing -g0 to the compiler on mips and mipsel
+    (closes: #590612).
+
+ -- Jakub Wilk <jwilk@debian.org>  Fri, 13 Aug 2010 11:04:27 +0200
+
+xmedcon (0.10.5-2) unstable; urgency=low
+
+  * closes: #589881 (changed builddep to libnifti-dev from libnifti1-dev)
+  * Bumped Standards-Version to 3.9.0   
+
+ -- Roland Marcus Rutschmann <rudi@debian.org>  Sun, 25 Jul 2010 12:04:16 +0000
+
+xmedcon (0.10.5-1) unstable; urgency=low
+
+  * New upstream release
+  * Changed menu section from viewers to science/medicine
+  * Bumped Standards-Version to 3.8.2
+
+ -- Roland Marcus Rutschmann <rudi@debian.org>  Mon, 13 Jul 2009 19:58:05 +0000
+
+xmedcon (0.10.4-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Roland Marcus Rutschmann <rudi@debian.org>  Thu, 20 Mar 2008 16:30:00 +0000
+
+xmedcon (0.10.2-1) unstable; urgency=low
+
+  * New upstream release
+  * closes: #460373 (changed builddep to libnifti1-dev from libniftiio1-dev)
+  * Fixed lintian warning 'description-contains-homepage' and moved homepage 
+    from Description to Homepage field for the package.
+  * Bumped Standards-Version to 3.7.3
+  * Removed NEWS file wich is kept up on upstreams web-page
+  * moved xmedcon.xpm and Readme.siemens_mosaic to debian directory to keep
+    all changes to this directory
+
+ -- Roland Marcus Rutschmann <rudi@debian.org>  Sat, 05 Jan 2008 15:43:57 +0000
+
+xmedcon (0.10.1-1) unstable; urgency=low
+
+  * New upstream release
+  * redid the changes from 0.9.1 leaving the source nifti libs configure and Makefile
+    from upstream untouched to keep more compatible with upstream. libmdc is still
+    linked against debians libnifti1
+  * changed build-dependancies to libgtk-2.0-dev
+
+ -- Roland Marcus Rutschmann <rudi@debian.org>  Thu, 29 Nov 2007 16:11:55 +0000
+
+xmedcon (0.9.10-2) unstable; urgency=low
+
+  * closes: #449032 (added dh_icons to rules to adjust to ubuntu source)
+  * closes: #450312 (updated debian/watch file to new website)
+  * closes: #450589 (patched xmedcon.m4 with quotes for AC_DEFUN to work with 
+    automake-1.9
+
+ -- Roland Marcus Rutschmann <rudi@debian.org>  Thu, 08 Nov 2007 09:45:06 +0000
+
+xmedcon (0.9.10-1) unstable; urgency=low
+
+  * New upstream release
+  * removed nifti libs from source as they are packaged in debian allready
+  * patched ./configure and libs/Makefile.in to not fail after removal of libs/nifti
+
+ -- Roland Marcus Rutschmann <rudi@debian.org>  Wed, 26 Sep 2007 10:57:23 +0200
+
+xmedcon (0.9.9.7-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Roland Marcus Rutschmann <rudi@debian.org>  Mon, 24 Sep 2007 11:07:10 +0200
+
+xmedcon (0.9.9.6.2-1) unstable; urgency=low
+
+  * New upstream release
+  * fixed dist-clean rule in debian/rules as suggested by lintian
+  * changed dependencies to libniftiio1-dev to allow nifti files >2GB
+  * changed menu entry from Apps to Applications
+
+ -- Roland Marcus Rutschmann <rudi@debian.org>  Fri, 21 Sep 2007 16:57:35 +0200
+
+xmedcon (0.9.9.6-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Roland Marcus Rutschmann <rudi@debian.org>  Mon, 16 Jul 2007 17:20:16 +0200
+
+xmedcon (0.9.9.5.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Roland Marcus Rutschmann <rudi@debian.org>  Fri, 06 Jul 2007 15:55:02 +0200
+
+xmedcon (0.9.9.4-2) unstable; urgency=low
+
+  * Add xmedcon as viewer to /etc/mailcap
+  * closes: #407016 (asking for that)
+
+ -- Roland Marcus Rutschmann <rudi@debian.org>  Fri, 19 Jan 2007 21:13:10 +0100
+
+xmedcon (0.9.9.4-1) unstable; urgency=low
+
+  * New upstream release
+  * closes: #401529 (Segmentation fault when processing compressed jpeg DICOM)
+  * better support for nifti headers in debian
+
+ -- Roland Marcus Rutschmann <rudi@debian.org>  Wed, 13 Dec 2006 14:40:46 +0000
+
+xmedcon (0.9.9.3-3) unstable; urgency=low
+
+  * put libniftiio0-dev in builddep (stupid mistake :-( )
+  * closes: #402152 (FTBFS: checking for NIFTI package)
+
+ -- Roland Marcus Rutschmann <rudi@debian.org>  Fri,  8 Dec 2006 16:27:02 +0100
+
+xmedcon (0.9.9.3-2) unstable; urgency=low
+
+  * really include nifti support with change to rules and configure, forgot in v-1 :-(
+
+ -- Roland Marcus Rutschmann <rudi@debian.org>  Tue,  5 Dec 2006 11:44:28 +0100
+
+xmedcon (0.9.9.3-1) unstable; urgency=low
+
+  * New upstream release
+  * limited nifti support. Build depends on libniftiio0-dev now
+  * bumped to standards 3.7.2
+
+ -- Roland Marcus Rutschmann <rudi@debian.org>  Mon,  2 Oct 2006 13:27:48 +0200
+
+xmedcon (0.9.9.0-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Roland Marcus Rutschmann <rudi@debian.org>  Mon, 19 Dec 2005 21:02:43 +0100
+
+xmedcon (0.9.8.7-1) unstable; urgency=low
+
+  * New upstream release
+
+ --  Roland Marcus Rutschmann <rudi@debian.org>  Mon, 10 Oct 2005 19:34:15 +0000
+
+xmedcon (0.9.8.6-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Roland Marcus Rutschmann <rudi@debian.org>  Wed,  3 Aug 2005 20:08:55 +0200
+
+xmedcon (0.9.8.5-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Roland Marcus Rutschmann <rudi@debian.org>  Mon, 23 May 2005 11:54:09 +0200
+
+xmedcon (0.9.8.4-1) unstable; urgency=low
+
+  * New upstream release
+  * Removed dh_changelog as no changelog is included upstream anymore
+
+ -- Roland Marcus Rutschmann <rudi@debian.org>  Thu, 17 Feb 2005 11:47:33 +0100
+
+xmedcon (0.9.8.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Roland Marcus Rutschmann <rutschmann@gmx.net>  Thu, 11 Nov 2004 15:53:37 +0100
+
+xmedcon (0.9.7.3-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Roland Marcus Rutschmann <rutschmann@gmx.net>  Thu, 16 Sep 2004 16:14:14 +0200
+
+xmedcon (0.9.7.2-2) unstable; urgency=low
+
+  * accidentially uploaded woody backported sources in 0.9.7.2-1
+  * changed icon path back to /usr/share/pixmaps
+
+ -- Roland Marcus Rutschmann <rutschmann@gmx.net>  Mon,  9 Aug 2004 15:39:01 +0200
+
+xmedcon (0.9.7.2-1) unstable; urgency=low
+
+  * New upstream release
+    closes: #262145 (New upstream release available 0.9.7.2)
+
+ -- Roland Marcus Rutschmann <rutschmann@gmx.net>  Thu,  5 Aug 2004 20:26:54 +0200
+
+xmedcon (0.9.6-1) unstable; urgency=low
+
+  * New upstream release
+    closes: #252687 (New upstream release available 0.9.6)
+  * Changed Build-Dependancy (again) to libpng12-dev
+
+ -- Roland Marcus Rutschmann <rutschmann@gmx.net>  Mon,  7 Jun 2004 09:00:14 +0200
+
+xmedcon (0.9.3-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Roland Marcus Rutschmann <rutschmann@gmx.net>  Tue, 30 Mar 2004 11:56:23 +0200
+
+xmedcon (0.9.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Roland Marcus Rutschmann <rutschmann@gmx.net>  Wed, 21 Jan 2004 12:46:38 +0100
+
+xmedcon (0.9.0-1) unstable; urgency=low
+
+  * New upstream release
+  * Adapted headers of dummy-versions of m-gif.c and m-ecat*.c in debian's 
+    orig.tar.gz to headers of version 0.9.0
+
+ -- Roland Marcus Rutschmann <rutschmann@gmx.net>  Mon,  5 Jan 2004 20:21:50 +0100
+
+xmedcon (0.8.13a-2) unstable; urgency=low
+
+  * Bumped to standards 3.6.1 
+  * Changed Build-Dependancy to libpng2-dev (see README.Debian) and debhelper to
+    version > 4.0.0
+  * Removed libc6-dev dependency from libmdc2-dev (redundancy with build-depends)
+  * Cleaned up rules a bit (deleting some dh_*  calls, replacing dh_movefile with 
+    dh_install)
+
+ -- Roland Marcus Rutschmann <Rutschmann@gmx.de>  Mon,  5 Jan 2004 10:29:20 +0100
+
+xmedcon (0.8.13a-1) unstable; urgency=low
+
+  * fixed the orig.tar.gz source (patent related patches see README.Debian)
+
+ -- Roland Marcus Rutschmann <rutschmann@gmx.net>  Fri, 31 Oct 2003 10:17:40 +0100
+
+xmedcon (0.8.13-1) unstable; urgency=low
+
+  * New upstream release
+  * Bumped to standards 3.5.10 (no changes needed)
+
+ -- Roland Marcus Rutschmann <rutschmann@gmx.net>  Mon, 16 Jun 2003 10:33:23 +0200
+
+xmedcon (0.8.11-1) unstable; urgency=low
+
+  * New upstream release
+  * Upstream now uses autoconf-2.57, automake-1.7.4 & libtool-1.5
+    closes: #190233
+
+ -- Roland Marcus Rutschmann <rutschmann@gmx.net>  Mon, 28 Apr 2003 17:54:45 +0200
+
+xmedcon (0.8.9-1) unstable; urgency=low
+
+  * New upstream release
+  * changed maintainer's email-address to reflect the debian signed address
+  * update standards to 3.5.9
+  * reduced icon to 16 colors to satisfy lintian
+  * moved libmdc to Section libs
+  * moved libmdc-dev to Section libdevel
+  * included Homepage in description (devel-ref 6.2.4)
+  * renamed libmdc* to libmdc2 to satisfy library so naming convention
+
+ -- Roland Marcus Rutschmann <rutschmann@gmx.net>  Wed, 16 Apr 2003 17:48:00 +0200
+
+xmedcon (0.8.8-1) unstable; urgency=low
+
+  * New upstream release
+  * changed copyrights file to include all copyrights
+  * included new (V2) Copyrights for ljpeglib by Cornell University
+
+ -- Roland Marcus Rutschmann <Roland.M.Rutschmann@uni-oldenburg.de>  Thu, 12 Dec 2002 08:58:57 +0100
+
+xmedcon (0.8.7-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Roland Marcus Rutschmann <Roland.M.Rutschmann@uni-oldenburg.de>  Tue, 19 Nov 2002 16:11:59 +0100
+
+xmedcon (0.8.6-2) unstable; urgency=low
+
+  * Removed 2 references to GIF Format in control-file 
+
+ -- Roland Marcus Rutschmann <Roland.M.Rutschmann@uni-oldenburg.de>  Tue, 19 Nov 2002 15:34:07 +0100
+
+xmedcon (0.8.6-1) unstable; urgency=low
+
+  * New upstream release
+  * First official Debian package
+    closes: #141352
+  * incorporate better dummy versions for non-GPL modules (see README.Debian)
+  * Standards-Version: 3.5.7 (changed by Andreas Tille <tillle@debian.org>)
+  * Minor spelling fixes in README.Debian (changed by Andreas Tille
+    <tillle@debian.org>)
+  * Added xmedcon.xpm icon acording to the policy of menu package and
+    changed menu entry accordingly (changed by Andreas Tille 
+    <tillle@debian.org>)
+
+ -- Roland Marcus Rutschmann <Roland.M.Rutschmann@uni-oldenburg.de>  Mon, 18 Nov 2002 23:18:44 +0100
+
+xmedcon (0.8.5-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Roland Marcus Rutschmann <Roland.M.Rutschmann@uni-oldenburg.de>  Wed, 13 Nov 2002 20:37:04 +0100
+
+xmedcon (0.8.4-3) unstable; urgency=low
+
+  * removed license-problematic code from source and binaries 
+
+ -- Roland Marcus Rutschmann <Roland.M.Rutschmann@uni-oldenburg.de>  Wed, 13 Nov 2002 18:16:42 +0100
+
+xmedcon (0.8.4-2) unstable; urgency=low
+
+  * updated build-debends
+  * (x)medcon depends on same version libmdc
+
+ -- Roland Marcus Rutschmann <Roland.M.Rutschmann@uni-oldenburg.de>  Mon, 11 Nov 2002 19:09:08 +0100
+
+xmedcon (0.8.4-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Roland Marcus Rutschmann <Roland.M.Rutschmann@uni-oldenburg.de>  Mon,  4 Nov 2002 20:58:21 +0100
+
+xmedcon (0.8.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Roland Marcus Rutschmann <Roland.M.Rutschmann@uni-oldenburg.de>  Wed,  9 Oct 2002 17:43:36 +0200
+
+xmedcon (0.8.0-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Roland Marcus Rutschmann <Roland.M.Rutschmann@uni-oldenburg.de>  Wed, 11 Sep 2002 15:49:13 +0200
+
+xmedcon (0.7.9-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Roland Marcus Rutschmann <Roland.M.Rutschmann@uni-oldenburg.de>  Mon, 10 Jun 2002 14:45:36 +0200
+
+xmedcon (0.7.8-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Roland Marcus Rutschmann <Roland.M.Rutschmann@uni-oldenburg.de>  Tue, 14 May 2002 18:25:11 +0200
+
+xmedcon (0.7.7-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Roland Marcus Rutschmann <Roland.M.Rutschmann@uni-oldenburg.de>  Tue, 30 Apr 2002 14:42:40 +0200
+
+xmedcon (0.7.5-1) unstable; urgency=low
+
+  * New upstream release
+  * upstream's manpage for xmedcon-config included
+  * upstream's icon for xmedcon included in xmedcon.menu
+
+ -- Roland Marcus Rutschmann <Roland.M.Rutschmann@uni-oldenburg.de>  Wed, 27 Mar 2002 17:10:10 +0100
+
+xmedcon (0.7.4-3) unstable; urgency=low
+
+  * split into 4 packages
+
+ -- Roland Marcus Rutschmann <Roland.M.Rutschmann@uni-oldenburg.de>  Thu, 21 Mar 2002 18:27:43 +0100
+
+xmedcon (0.7.4-2) unstable; urgency=low
+
+  * added a quick Bugfix from Eric Nolf for m-acr.c
+  * added copyright notice for gif and ecat
+
+ -- Roland Marcus Rutschmann <Roland.M.Rutschmann@uni-oldenburg.de>  Fri,  8 Mar 2002 13:18:52 +0100
+
+xmedcon (0.7.4-1) unstable; urgency=low
+
+  * Initial Release.
+  * added NEWS frome http://xmedcon.sourceforge.net/new/
+
+ -- Roland Marcus Rutschmann <Roland.M.Rutschmann@uni-oldenburg.de>  Mon,  4 Mar 2002 21:42:01 +0100
+
--- xmedcon-0.10.7.orig/debian/docs
+++ xmedcon-0.10.7/debian/docs
@@ -0,0 +1 @@
+README
--- xmedcon-0.10.7.orig/debian/libmdc2-dev.install
+++ xmedcon-0.10.7/debian/libmdc2-dev.install
@@ -0,0 +1,9 @@
+debian/tmp/usr/lib/*.a
+debian/tmp/usr/lib/*.la
+debian/tmp/usr/lib/*.so
+debian/tmp/usr/include
+debian/tmp/usr/share/man/man1/xmedcon-config.1
+debian/tmp/usr/share/man/man3
+debian/tmp/usr/share/man/man4
+debian/tmp/usr/share/aclocal
+debian/tmp/usr/bin/xmedcon-config
--- xmedcon-0.10.7.orig/debian/xmedcon.install
+++ xmedcon-0.10.7/debian/xmedcon.install
@@ -0,0 +1,3 @@
+debian/tmp/usr/share/man/man1/xmedcon.1
+debian/tmp/usr/bin/xmedcon
+debian/tmp/etc/xmedconrc
--- xmedcon-0.10.7.orig/debian/copyright
+++ xmedcon-0.10.7/debian/copyright
@@ -0,0 +1,172 @@
+This package was debianized by Roland Marcus Rutschmann <Roland.M.Rutschmann@uni-oldenburg.de> on
+Mon,  4 Mar 2002 20:35:41 +0100.
+
+It was downloaded from http://xmedcon.sourceforge.net
+
+Upstream Author: Erik Nolf <enlf@users.sourceforge.net>
+
+This software is copyright (c) 2000-2002 by Erik Nolf
+
+Some files had to be removed because of problematic licenses. See RAEDME.Debian
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU GPL, Version 2. (for libraries GNU LGPL,
+Version 2.1)
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-2'
+and `/usr/share/common-licenses/LGPL-2.1'.
+
+Some parts of this program have additional copyrights:
+
+1. m-qmedian.c: code adapted from 'tiffmedian.c' (see http://www.libtiff.org)
+
+   Copyright (c) 1988-1997 Sam Leffler
+   Copyright (c) 1991-1997 Silicon Graphics, Inc.
+
+  "Permission to use, copy, modify, distribute, and sell this software and
+   its documentation for any purpose is hereby granted without fee,
+   provided that (i) the above copyright notices and this permission notice
+   appear in all copies of the software and related documentation, and
+   (ii) the names of Sam Leffler and Silicon Graphics may not be used in
+   any advertising or publicity relating to the software without the
+   specific, prior written permission of Sam Leffler and Silicon Graphics." 
+
+2. DICOM 3.0
+
+ a) original library (libdicom 0.31 - 1998)
+    ----------------
+
+    Contributed by Tony Voet, released under the GNU (L)GPL license.
+    Quite some changes have been made since.
+
+ b) dictionary (dict-dicom.dic)
+    ----------
+
+    Dictionary borrowed from the supperb OFFIS DCMTK Toolkit
+
+    "Copyright (C) 1994-2001, OFFIS" (see http://www.offis.uni-oldenburg.de)
+
+/*
+ *  Copyright (C) 1994-2001, OFFIS
+ *
+ *  This software and supporting documentation were developed by
+ *
+ *    Kuratorium OFFIS e.V.
+ *    Healthcare Information and Communication Systems
+ *    Escherweg 2
+ *    D-26121 Oldenburg, Germany
+ *
+ *  THIS SOFTWARE IS MADE AVAILABLE,  AS IS,  AND OFFIS MAKES NO  WARRANTY
+ *  REGARDING  THE  SOFTWARE,  ITS  PERFORMANCE,  ITS  MERCHANTABILITY  OR
+ *  FITNESS FOR ANY PARTICULAR USE, FREEDOM FROM ANY COMPUTER DISEASES  OR
+ *  ITS CONFORMITY TO ANY SPECIFICATION. THE ENTIRE RISK AS TO QUALITY AND
+ *  PERFORMANCE OF THE SOFTWARE IS WITH THE USER.
+ *
+ *  Copyright of the software  and  supporting  documentation  is,  unless
+ *  otherwise stated, owned by OFFIS, and free access is hereby granted as
+ *  a license to  use  this  software,  copy  this  software  and  prepare
+ *  derivative works based upon this software.  However, any  distribution
+ *  of this software source code or supporting documentation or derivative
+ *  works  (source code and  supporting documentation)  must  include  the
+ *  three paragraphs of this copyright notice.
+ *
+ */
+
+
+ c) encapsulated pixeldata (rle, lossless jpeg)
+    ----------------------
+
+    Contributed by Jaslet Bertrand, released under the GNU (L)GPL license.
+
+    However, the lossless jpeg library (LJPG) is based in part on the work of:
+
+    a) Cornell University LossLess JPEG lib   (see ftp://ftp.cs.cornell.edu)
+
+    b) Independent JPEG Group's JPEG software (see http://www.ijg.org)
+
+
+--- Copyright V2 as mailed to Roland M. Rutschmann <Rutschmann@gmx.de> 
+    by Cornell University on 10 Dec 2002 ---
+
+Copyright (c) 1993 Cornell University, Kongji Huang
+All rights reserved.
+ 
+Permission to use, copy, modify, and distribute this software and its
+documentation for any purpose, without fee, and without written
+agreement is hereby granted, provided that the above copyright notice
+and the following two paragraphs appear in all copies of this
+software.
+
+IN NO EVENT SHALL THE CORNELL UNIVERSITY BE LIABLE TO ANY PARTY FOR
+DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF CORNELL 
+uNIVERSITY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+THE CORNELL UNIVERSITY SPECIFICALLY DISCLAIMS ANY WARRANTIES,
+INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE
+PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND CORNELL UNIVERSITY HAS 
+NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, 
+OR MODIFICATIONS.
+
+---------------------------------------------------------------------------
+
+Copyright (c) 1993 The Regents of the University of California, Brian
+C. Smith All rights reserved.
+
+Permission to use, copy, modify, and distribute this software and its
+documentation for any purpose, without fee, and without written
+agreement is hereby granted, provided that the above copyright notice
+and the following two paragraphs appear in all copies of this
+software.
+
+IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
+FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
+ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
+THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+
+THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
+INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE
+PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
+CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
+ENHANCEMENTS, OR MODIFICATIONS.
+
+---------------------------------------------------------------------------
+IJG Copyright
+
+The authors make NO WARRANTY or representation, either express or
+implied, with respect to this software, its quality, accuracy,
+merchantability, or fitness for a particular purpose.  This software is
+provided "AS IS", and you, its user, assume the entire risk as to its
+quality and accuracy.
+
+This software is copyright (C) 1991, 1992, Thomas G. Lane.  All Rights
+Reserved except as specified below.
+
+Permission is hereby granted to use, copy, modify, and distribute this
+software (or portions thereof) for any purpose, without fee, subject to
+these conditions:  (1) If any part of the source code for this software
+is distributed, then this README file must be included, with this
+copyright and no-warranty notice unaltered; and any additions,
+deletions, or changes to the original files must be clearly indicated
+in accompanying documentation.  (2) If only executable code is
+distributed, then the accompanying documentation must state that "this
+software is based in part on the work of the Independent JPEG Group".
+(3) Permission for use of this software is granted only if the user
+accepts full responsibility for any undesirable consequences; the
+authors accept NO LIABILITY for damages of any kind.
+
+Permission is NOT granted for the use of any IJG author's name or
+company name in advertising or publicity relating to this software or
+products derived from it.  This software may be referred to only as
+"the Independent JPEG Group's software".
+
+We specifically permit and encourage the use of this software as the
+basis of commercial products, provided that all warranty or liability
+claims are assumed by the product vendor.
+
+
+
--- xmedcon-0.10.7.orig/debian/compat
+++ xmedcon-0.10.7/debian/compat
@@ -0,0 +1 @@
+5
--- xmedcon-0.10.7.orig/debian/control
+++ xmedcon-0.10.7/debian/control
@@ -0,0 +1,82 @@
+Source: xmedcon
+Section: graphics
+Priority: optional
+Maintainer: Roland Marcus Rutschmann <rudi@debian.org>
+Build-Depends: debhelper (>= 5.0.51~), libgtk2.0-dev, zlib1g-dev, libpng12-dev, libnifti-dev 
+Standards-Version: 3.9.1
+
+Package: libmdc2
+Section: libs
+Architecture: any
+Conflicts: libmdc
+Replaces: libmdc
+Depends: ${shlibs:Depends},${misc:Depends}
+Description: Medical Image (DICOM, ECAT, ...) conversion tool
+ This project stands for Medical Image Conversion. Released under the
+ (L)GPL, it comes with the full C-source code of the library, a
+ flexible command line utility and a neat graphical front-end using
+ the GTK+ toolkit. The currently supported formats are: Acr/Nema 2.0,
+ Analyze (SPM), DICOM 3.0, InterFile 3.3 and PNG.
+ .
+ This is the central library needed by medcon, xmedcon and derived
+ programs
+ .
+Homepage: http://xmedcon.sourceforge.net/
+
+Package: libmdc2-dev
+Section: libdevel
+Architecture: any
+Depends: libmdc2 (= ${binary:Version}),${misc:Depends}
+Conflicts: libmdc-dev
+Replaces: libmdc-dev
+Description: Medical Image (DICOM, ECAT, ...) conversion tool
+ This project stands for Medical Image Conversion. Released under the
+ (L)GPL, it comes with the full C-source code of the library, a
+ flexible command line utility and a neat graphical front-end using
+ the GTK+ toolkit. The currently supported formats are: Acr/Nema 2.0,
+ Analyze (SPM), DICOM 3.0, InterFile 3.3 and PNG.
+ .
+ Static library, include files and documentation for developers.
+ .
+Homepage: http://xmedcon.sourceforge.net/
+
+Package: medcon
+Architecture: any
+Depends: ${shlibs:Depends},${misc:Depends}
+Suggests: xmedcon
+Description: Medical Image (DICOM, ECAT, ...) conversion tool
+ This project stands for Medical Image Conversion. Released under the
+ (L)GPL, it comes with the full C-source code of the library, a
+ flexible command line utility and a neat graphical front-end using
+ the GTK+ toolkit. The currently supported formats are: Acr/Nema 2.0,
+ Analyze (SPM), DICOM 3.0, InterFile 3.3 and PNG.
+ .
+ The program also allows to read unsupported files without
+ compression, to print pixel values or to extract/reorder specified
+ images. It is possible to retrieve the raw binary/ascii image arrays
+ or to write PNG for desktop applications.
+ .
+ This is the command line tool for batch processing.
+ .
+Homepage: http://xmedcon.sourceforge.net/
+
+Package: xmedcon
+Architecture: any
+Depends: ${shlibs:Depends},${misc:Depends}
+Recommends: medcon
+Description: Medical Image (DICOM, ECAT, ...) conversion tool
+ This project stands for Medical Image Conversion. Released under the
+ (L)GPL, it comes with the full C-source code of the library, a
+ flexible command line utility and a neat graphical front-end using
+ the GTK+ toolkit. The currently supported formats are: Acr/Nema 2.0,
+ Analyze (SPM), DICOM 3.0, InterFile 3.3 and PNG.
+ .
+ The program also allows to read unsupported files without
+ compression, to print pixel values or to extract/reorder specified
+ images. It is possible to retrieve the raw binary/ascii image arrays
+ or to write PNG for desktop applications.
+ .
+ This is the program version for X based on GTK+. Processes only one
+ file at a time.
+ .
+Homepage: http://xmedcon.sourceforge.net/
--- xmedcon-0.10.7.orig/debian/medcon.docs
+++ xmedcon-0.10.7/debian/medcon.docs
@@ -0,0 +1,2 @@
+REMARKS
+debian/Readme.siemens_mosaic
--- xmedcon-0.10.7.orig/debian/xmedcon.dirs
+++ xmedcon-0.10.7/debian/xmedcon.dirs
@@ -0,0 +1 @@
+usr/share/pixmaps
--- xmedcon-0.10.7.orig/debian/rules
+++ xmedcon-0.10.7/debian/rules
@@ -0,0 +1,109 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
+# stolen from gsm-lib debian source
+mdc_version=`ls source/.libs/libmdc*.so.* | \
+ awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+mdc_major=`ls source/.libs/libmdc*.so.* | \
+ awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+# 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 debug,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -g
+endif
+
+ifneq (,$(filter $(DEB_HOST_GNU_TYPE),mips-linux-gnu mipsel-linux-gnu))
+	# Work-around for bug #519006
+	CFLAGS += -g0
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=\$${prefix}/../etc --enable-nifti --with-nifti-prefix=/usr
+
+	touch configure-stamp
+
+build: build-stamp
+
+build-stamp: configure-stamp 
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+	#/usr/bin/docbook-to-man debian/xmedcon.sgml > xmedcon.1
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	[ ! -f Makefile ] || $(MAKE) distclean
+	-test -r /usr/share/misc/config.sub && \
+	  cp -f /usr/share/misc/config.sub config.sub
+	-test -r /usr/share/misc/config.guess && \
+	  cp -f /usr/share/misc/config.guess config.guess
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/xmedcon.
+	$(MAKE) install prefix=$(CURDIR)/debian/tmp/usr
+	cp -a debian/xmedcon.xpm \
+	 $(CURDIR)/debian/xmedcon/usr/share/pixmaps/
+	-test -r $(CURDIR)/debian/tmp/etc/xmedcon.png && \
+	 cp -f $(CURDIR)/debian/tmp/etc/xmedcon.png \
+	 $(CURDIR)/debian/xmedcon/usr/share/icons/hicolor/48x48/apps/
+  
+# 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
+	# divide packages
+	dh_install
+
+	dh_installdocs
+	#not installed by upstream any more I'll remove the line next version if this hold
+	#dh_installexamples -pxmedcon debian/tmp/etc/xmedconrc.linux
+	dh_installmenu -pxmedcon
+	dh_installmime -pxmedcon
+	dh_installman
+	dh_installchangelogs
+	dh_icons
+	#dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_makeshlibs -V
+	dh_installdeb
+	## For debhelper 4.1.*
+	## dh_shlibdeps  -L libmdc -l debian/libmdc2/usr/lib
+	dh_shlibdeps -l debian/libmdc2/usr/lib
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- xmedcon-0.10.7.orig/debian/Readme.siemens_mosaic
+++ xmedcon-0.10.7/debian/Readme.siemens_mosaic
@@ -0,0 +1,48 @@
+What is the mosaic format?
+
+From what a Philipps engineer told me DICOM is supposed to be able to
+handle 3 and 4dimensional data eventually (xmedcon can handle 3 dim
+data in several slices in one file). But there is no conformance
+statement out (which I think is not a real reason since none of the
+producers feel too obligated to any standard) so at the moment only
+one slice per file is DICOM standard.
+
+Siemens built a format formally complying to the standard by setting
+the slices together in one plane.
+
+Even though the Siemens' idea was/is good, it was problematic
+converting the data into other formats. While (X)medcon did a great
+job in converting normal 1slice/1file data it couldn't handle mosaic
+data. So I took the libmdc from medcon put a hack around it and could
+convert mosaic files. This wild hack was put proberly into medcon by
+Eric Nolf (thanks a lot) around April 2001. Everything was fine.
+
+After a discussion in the spm-mailing list I couldn't be nice and
+quiet (having a solution for my own data) but had to write to
+everybody why they didn't use the solution medcon gave them. They sent
+me some data. Needles to say Siemens created a whole new version of
+their mosaic DICOM files :-((((
+
+What to do? (After Eric put in the new -fmosaic option in 0.7.7)
+
+For older Siemens Vision dicoms the automatic mosaic (option -mosaic)
+might work. If it doesn't. Use the -fmosaic option with the apropriate
+numbers for your format (you can try with xmedcon first using the
+medcon option dialog).
+
+Look at your converted voxel sizes. If they are to small try the
+-mfixv (for xy Plane sizes) or the -gap option (for slice
+thickness). I still didn't give up the idea of automatic detection but
+I need Siemens insider info for that. I you (or someone you know) know
+something about the tags coding this info pleas send me a message.
+
+
+R.M. Rutschmann <Rutschmann@gmx.net> 30.4.2002
+
+Update 9.10.2002:
+
+I did get information by a Siemens programmer. Unfortunatly he told me 
+that there is no way of getting the relevant information from the DICOM 
+format. According to him the information I got for the old format is 
+unreliable. So unless somebody comes up with a real good idea I give up 
+on automatic detection. -fmosaic must be good enough.
--- xmedcon-0.10.7.orig/debian/xmedcon.mime
+++ xmedcon-0.10.7/debian/xmedcon.mime
@@ -0,0 +1 @@
+application/dicom; /usr/bin/xmedcon --enable-contrast --enable-mosaic -f '%s'; test=test -n "$DISPLAY";description=DICOM Image; nametemplate=%s.dcm
--- xmedcon-0.10.7.orig/debian/xmedcon.xpm
+++ xmedcon-0.10.7/debian/xmedcon.xpm
@@ -0,0 +1,52 @@
+/* XPM */
+static char *xmedcon1[] = {
+/* columns rows colors chars-per-pixel */
+"32 32 14 1",
+"  c black",
+". c #191919",
+"X c gray20",
+"o c #7F0000",
+"O c #7F7F00",
+"+ c #4C4C4C",
+"@ c #666667",
+"# c gray50",
+"$ c yellow",
+"% c gray60",
+"& c #B2B2B2",
+"* c gray80",
+"= c gray90",
+"- c None",
+/* pixels */
+"----------------------O---------",
+"---------------------+#---------",
+"---------------------O----------",
+"-----------------O---+----------",
+"-----------------O--@-----------",
+"----------------@+--@-----------",
+"----------------+---++X+--------",
+"----------------X---oO.+--------",
+"--------------oO---..X. X@------",
+"------------@++----XX.o. @----@O",
+"------------@XO#--@X.oo   -O@O#-",
+"----------++#-XXXoo. ...XX------",
+"--------+X-#X#--+XO ...O--------",
+"-------@X#--++-.XX  .+---OXXO#--",
+"---@O+..----#+XOo....#--O O-----",
+"---------@oXX++. .X+XX%#X-------",
+"-------+XX@+o.  ..X--XX.+-------",
+"------O+--XOO.  ++----XX--------",
+"-----#X--o+o. ..X+o----@--------",
+"-----XO-+OX.o....-.O------------",
+"---@++--+.o .X.+ -#.#-----------",
+"-@.@----.o..o.XXX--XO-----------",
+"+X------....XX- --+X------------",
+"--------+..+#--X--+#------------",
+"-------------O.+-.#-------------",
+"--------- --X.+.-+.-. ..--- ..--",
+"---------.+X -. ..    --.-..--.-",
+"---------- .--  .X    -- - -----",
+"----------X --  ...   --.-.-----",
+"----------  .-  --    -- - -----",
+"---------.--. . --  . -. -- --.-",
+"---------X-----------.-.--------"
+};
--- xmedcon-0.10.7.orig/debian/watch
+++ xmedcon-0.10.7/debian/watch
@@ -0,0 +1,6 @@
+version=2
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# Site		Directory		Pattern			Version	Script
+http://sf.net/xmedcon/xmedcon-(.*)\.tar\.gz debian	uupdate
--- xmedcon-0.10.7.orig/debian/README.Debian
+++ xmedcon-0.10.7/debian/README.Debian
@@ -0,0 +1,47 @@
+xmedcon for Debian (unstable)
+-----------------------------
+The files COPYING and COPYING.Libs in README are GPL and (L)GPL. I left am out
+and added the reference to copyright.Debian.
+
+The complete Documentation and some additional (by now mostly obsolete) files
+can be found at:
+
+http://xmedcon.sourceforge.net/
+
+The code handling ecat and gif format had to be removed for legal reasons.
+The following files from the original source code where replaced by mostly
+empty dummies:
+
+m-gif.c    + m-gif.h
+m-ecat64.c + m-ecat64.h
+m-ecat72.c + m-ecat72.h
+m-matrix.c + m-matrix.h
+
+If you need the removed formats you can get the complete code and binaries from
+
+http://xmedcon.sourceforge.net/
+
+I might provide a nonfree version of libmdc there too (have a look).
+
+You also can get the original source code and apply the debian source patch which should give you
+also gif and ecat functionality.
+
+ -- Roland Marcus Rutschmann <Roland.M.Rutschmann@uni-oldenburg.de> Wed, 13 Nov 2002 16:43:18 +0100
+ 
+Version 0.8.13a:
+----------------
+Due to a mistake the above files were included in 0.8.13.orig.tar.gz. To upload the new orig.tar.gz
+the version had to be bumped but there was no newer version upstream. The binary files and the
+debian sources (after aplying the debian diff to orig.tar.gz) are the same as the 0.8.13 version.
+
+
+
+Build-dependancy on libpng2-dev or libpng3-dev:
+-----------------------------------------------
+
+I originally had builddependancy (libpng2-dev | libpng3-dev), because both work. I switched to 
+libpng12-dev because of possible problems (libpng2 and 3 are binary incompatible) and because libpng2/3
+are now named libpng10/12. As libpng12 seems to be the "future" I switched to that. To compile under
+woody, just change the dependency or use dpkg-buildpackage -d.
+
+ -- Roland Marcus Rutschmann <Rutschmann@gmx.net> Mo, 7 Jun 2004 09:14:19 +0100
--- xmedcon-0.10.7.orig/debian/medcon.install
+++ xmedcon-0.10.7/debian/medcon.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/man/man1/medcon.1
+debian/tmp/usr/bin/medcon