Author: domibel-guest Date: 2009-12-20 20:56:54 +0000 (Sun, 20 Dec 2009) New Revision: 4468
Added: trunk/packages/amide/trunk/debian/ trunk/packages/amide/trunk/debian/README.Debian trunk/packages/amide/trunk/debian/README.source trunk/packages/amide/trunk/debian/amide.doc-base trunk/packages/amide/trunk/debian/amide.menu trunk/packages/amide/trunk/debian/amide_logo_small.xpm trunk/packages/amide/trunk/debian/autogen.sh trunk/packages/amide/trunk/debian/changelog trunk/packages/amide/trunk/debian/compat trunk/packages/amide/trunk/debian/control trunk/packages/amide/trunk/debian/copyright trunk/packages/amide/trunk/debian/deletable.files trunk/packages/amide/trunk/debian/dirs trunk/packages/amide/trunk/debian/docs trunk/packages/amide/trunk/debian/get-orig-source trunk/packages/amide/trunk/debian/patched/ trunk/packages/amide/trunk/debian/patched/50_configure.in.dpatch.failed trunk/packages/amide/trunk/debian/patches/ trunk/packages/amide/trunk/debian/patches/10_all.diff trunk/packages/amide/trunk/debian/patches/series trunk/packages/amide/trunk/debian/rules trunk/packages/amide/trunk/debian/watch Log: [svn-inject] Applying Debian modifications to trunk Property changes on: trunk/packages/amide/trunk/debian ___________________________________________________________________ Added: mergeWithUpstream + 1 Added: trunk/packages/amide/trunk/debian/README.Debian =================================================================== --- trunk/packages/amide/trunk/debian/README.Debian (rev 0) +++ trunk/packages/amide/trunk/debian/README.Debian 2009-12-20 20:56:54 UTC (rev 4468) @@ -0,0 +1,6 @@ +amide for Debian +---------------- + +This package comes without libfame support because of the non-free license. + + -- Dominique Belhachemi <[email protected]> Sun, 16 Dec 2007 21:32:15 +0200 Added: trunk/packages/amide/trunk/debian/README.source =================================================================== --- trunk/packages/amide/trunk/debian/README.source (rev 0) +++ trunk/packages/amide/trunk/debian/README.source 2009-12-20 20:56:54 UTC (rev 4468) @@ -0,0 +1,3 @@ +Please read +/usr/share/doc/quilt/README.source +for more information. Added: trunk/packages/amide/trunk/debian/amide.doc-base =================================================================== --- trunk/packages/amide/trunk/debian/amide.doc-base (rev 0) +++ trunk/packages/amide/trunk/debian/amide.doc-base 2009-12-20 20:56:54 UTC (rev 4468) @@ -0,0 +1,11 @@ +Document: amide +Title: Debian amide Manual +Author: Andy Loening +Abstract: This manual describes what amide is + and how it can be used to + analyze medical imaging data sets. +Section: Science/Medicine + +Format: HTML +Index: /usr/share/gtk-doc/html/amitk/index.html +Files: /usr/share/gtk-doc/html/amitk/*.html Added: trunk/packages/amide/trunk/debian/amide.menu =================================================================== --- trunk/packages/amide/trunk/debian/amide.menu (rev 0) +++ trunk/packages/amide/trunk/debian/amide.menu 2009-12-20 20:56:54 UTC (rev 4468) @@ -0,0 +1,3 @@ +?package(amide):command="/usr/bin/amide" icon="/usr/share/pixmaps/amide_logo_small.xpm" needs="X11" \ + section="Applications/Science/Medicine" title="AMIDE" + Added: trunk/packages/amide/trunk/debian/amide_logo_small.xpm =================================================================== --- trunk/packages/amide/trunk/debian/amide_logo_small.xpm (rev 0) +++ trunk/packages/amide/trunk/debian/amide_logo_small.xpm 2009-12-20 20:56:54 UTC (rev 4468) @@ -0,0 +1,367 @@ +/* XPM */ +static char * amide_logo_small_xpm[] = { +"32 32 332 2", +" c None", +". c #3230B9", +"+ c #2F2DA9", +"@ c #2F2DA4", +"# c #2F2DA3", +"$ c #302E9A", +"% c #323067", +"& c #343396", +"* c #2F2D8C", +"= c #2F2D84", +"- c #2F2D87", +"; c #2F2D8A", +"> c #2F2D8D", +", c #2F2D8E", +"' c #2F2D89", +") c #2F2D85", +"! c #2F2D82", +"~ c #2E2D61", +"{ c #33317E", +"] c #2F2D93", +"^ c #2F2D98", +"/ c #2F2D9B", +"( c #2F2D9C", +"_ c #2F2D9A", +": c #2F2D96", +"< c #2F2D91", +"[ c #2F2D83", +"} c #2F2D81", +"| c #2F2D73", +"1 c #1B1A25", +"2 c #2F2D4D", +"3 c #2E2C69", +"4 c #2F2D8B", +"5 c #2F2D97", +"6 c #2F2DA7", +"7 c #2F2DAA", +"8 c #2F2DA8", +"9 c #2F2DA2", +"0 c #2F2D94", +"a c #2F2D7E", +"b c #272644", +"c c #0F0F11", +"d c #0C0C12", +"e c #0D0C14", +"f c #201F41", +"g c #2F2DB2", +"h c #2F2DB8", +"i c #2F2DB4", +"j c #2B2962", +"k c #302D95", +"l c #302D8A", +"m c #312D81", +"n c #302C63", +"o c #0A0A0B", +"p c #292888", +"q c #2F2DC6", +"r c #2F2DC4", +"s c #2F2DBF", +"t c #29276D", +"u c #312D86", +"v c #312D9E", +"w c #322D92", +"x c #322D85", +"y c #332D78", +"z c #1F1D2A", +"A c #3331BD", +"B c #302DC5", +"C c #302DC3", +"D c #312DBC", +"E c #1E1C3D", +"F c #010101", +"G c #302C77", +"H c #332DA3", +"I c #342D98", +"J c #342D8A", +"K c #352D80", +"L c #2E284C", +"M c #312DC2", +"N c #312DC1", +"O c #322DC0", +"P c #312CA3", +"Q c #100F15", +"R c #000000", +"S c #272251", +"T c #352DA1", +"U c #352D9C", +"V c #362D8E", +"W c #372D81", +"X c #372D69", +"Y c #111013", +"Z c #3D38C2", +"` c #322DBF", +" . c #332DBE", +".. c #342DBC", +"+. c #2B2674", +"@. c #040405", +"#. c #372D8E", +"$. c #372D9E", +"%. c #382D90", +"&. c #382D82", +"*. c #392D7B", +"=. c #282236", +"-. c #3832BD", +";. c #342DBB", +">. c #352DBA", +",. c #352DB6", +"'. c #1F1B3D", +"). c #3B317F", +"!. c #392D9C", +"~. c #3A2D90", +"{. c #3A2D83", +"]. c #3B2D7F", +"^. c #352A54", +"/. c #352DB9", +"(. c #362DB8", +"_. c #372DB7", +":. c #362C9A", +"<. c #0F0E15", +"[. c #3B2D92", +"}. c #3B2D8D", +"|. c #3C2D82", +"1. c #3C2E80", +"2. c #3D2E6F", +"3. c #19161D", +"4. c #3F36B7", +"5. c #372DB5", +"6. c #382DB4", +"7. c #382DB3", +"8. c #2E2567", +"9. c #040404", +"0. c #3D2F7E", +"a. c #3D2E89", +"b. c #3E2E80", +"c. c #3F2E7C", +"d. c #2E243C", +"e. c #3B2FB3", +"f. c #392DB2", +"g. c #392DB1", +"h. c #3A2DAB", +"i. c #1F1A31", +"j. c #403066", +"k. c #3F2E82", +"l. c #3F2E80", +"m. c #402E80", +"n. c #412E80", +"o. c #3C2C5D", +"p. c #0C0B0C", +"q. c #3A2DAE", +"r. c #3B2DAC", +"s. c #3B2DAD", +"t. c #3C2E99", +"u. c #120F19", +"v. c #412E82", +"w. c #422E80", +"x. c #432E74", +"y. c #221B27", +"z. c #4033A8", +"A. c #3C2EA1", +"B. c #3C2EA0", +"C. c #3D2EA4", +"D. c #3E2EA6", +"E. c #403198", +"F. c #443599", +"G. c #46379E", +"H. c #4B3AA7", +"I. c #4B39A6", +"J. c #4A38A3", +"K. c #4A37A1", +"L. c #422E8D", +"M. c #432E80", +"N. c #442E80", +"O. c #452E7E", +"P. c #362748", +"Q. c #3E2FA1", +"R. c #3E2E8E", +"S. c #3E2E92", +"T. c #3F2E97", +"U. c #3F2E9B", +"V. c #402E9D", +"W. c #412E9D", +"X. c #412E9A", +"Y. c #422E95", +"Z. c #422E8E", +"`. c #432E89", +" + c #442E87", +".+ c #442E82", +"++ c #452E80", +"@+ c #462E80", +"#+ c #472E7F", +"$+ c #442D65", +"%+ c #110F11", +"&+ c #43349C", +"*+ c #3F2E93", +"=+ c #402E85", +"-+ c #412E89", +";+ c #412E8B", +">+ c #422E8C", +",+ c #422E8A", +"'+ c #432E87", +")+ c #442E83", +"!+ c #472E80", +"~+ c #482E80", +"{+ c #482E7F", +"]+ c #492E77", +"^+ c #291F2E", +"/+ c #43329E", +"(+ c #412E87", +"_+ c #422E7F", +":+ c #422E7B", +"<+ c #432E78", +"[+ c #442E78", +"}+ c #442E77", +"|+ c #452E77", +"1+ c #462E77", +"2+ c #472E77", +"3+ c #482E7A", +"4+ c #492E7E", +"5+ c #492F7F", +"6+ c #4A2F7F", +"7+ c #4B2F7D", +"8+ c #3E2B4F", +"9+ c #422E99", +"0+ c #422E82", +"a+ c #432E7F", +"b+ c #432E76", +"c+ c #251B2E", +"d+ c #151416", +"e+ c #141415", +"f+ c #161416", +"g+ c #2F2237", +"h+ c #4B2F7A", +"i+ c #4B2F7F", +"j+ c #4C2F7F", +"k+ c #4C2F7E", +"l+ c #4B2F6B", +"m+ c #171417", +"n+ c #483499", +"o+ c #442E8F", +"p+ c #452E7F", +"q+ c #3C2B58", +"r+ c #1F1721", +"s+ c #4B2F6F", +"t+ c #4D2F7F", +"u+ c #4E2F7F", +"v+ c #4F2F7A", +"w+ c #332438", +"x+ c #473298", +"y+ c #452E85", +"z+ c #472E7D", +"A+ c #2E203B", +"B+ c #4E306C", +"C+ c #4F2F7F", +"D+ c #502F7F", +"E+ c #512F7E", +"F+ c #462C58", +"G+ c #4F399A", +"H+ c #472E92", +"I+ c #472E81", +"J+ c #482E7E", +"K+ c #432C6D", +"L+ c #3C296B", +"M+ c #372463", +"N+ c #583A89", +"O+ c #523284", +"P+ c #512F81", +"Q+ c #512F7F", +"R+ c #522F7F", +"S+ c #532F7A", +"T+ c #482B63", +"U+ c #4E2F6E", +"V+ c #4B3393", +"W+ c #472E91", +"X+ c #482E8B", +"Y+ c #482E83", +"Z+ c #492E80", +"`+ c #4B2F83", +" @ c #4B2F88", +".@ c #4C2F89", +"+@ c #4B3072", +"@@ c #533285", +"#@ c #512F83", +"$@ c #512F82", +"%@ c #522F81", +"&@ c #532F7E", +"*@ c #542F7D", +"=@ c #542F7C", +"-@ c #552F7B", +";@ c #552F7A", +">@ c #562F79", +",@ c #55306F", +"'@ c #482E7C", +")@ c #492E81", +"!@ c #4A2F66", +"~@ c #522F80", +"{@ c #572F78", +"]@ c #572F77", +"^@ c #4D2A69", +"/@ c #4A2F6F", +"(@ c #4B2F7E", +"_@ c #4D2F7E", +":@ c #4E2F7E", +"<@ c #4F2F7E", +"[@ c #4F2F7C", +"}@ c #3F294F", +"|@ c #060607", +"1@ c #542F76", +"2@ c #572F76", +"3@ c #3E2649", +"4@ c #020202", +"5@ c #29202D", +"6@ c #352543", +"7@ c #452D5B", +"8@ c #462D5D", +"9@ c #472D5D", +"0@ c #482D5D", +"a@ c #482D5B", +"b@ c #362443", +"c@ c #120F14", +"d@ c #2F2332", +"e@ c #3C2748", +"f@ c #4C2D5B", +"g@ c #4E2D5D", +"h@ c #4E2D5C", +"i@ c #4A2B58", +"j@ c #33213B", +"k@ c #0D0B0E", +"l@ c #0A0A0A", +"m@ c #0B0B0B", +"n@ c #0B0A0B", +"o@ c #030303", +"p@ c #080808", +"q@ c #020203", +" ", +" ", +" ", +" . + @ @ @ @ @ @ # # # $ % ", +" & * = - ; > , * ' ) ! ! ! ~ ", +" { - > ] ^ / ( _ : < ' [ } | 1 ", +" 2 3 } 4 5 6 7 8 9 / 0 4 [ a b ", +" c d e f g h i _ j : k l m n o ", +" p q r s t c u v w x y z ", +" A B C D E F G H I J K L ", +" M N O P Q R S T U V W X Y ", +" Z ` .....@. #.$.%.&.*.=. ", +" -.;.>.,.'.F ).!.~.{.].^. ", +" /.(._.:.<.R [.}.|.1.2.3. ", +" 4.5.6.7.8.9. 0.a.b.b.c.d. ", +" e.f.g.h.i.F j.k.l.m.n.o.p. ", +" q.r.s.t.u.R v.n.w.w.x.y. ", +" z.A.B.C.D.E.F.G.H.I.J.K.L.M.N.N.O.P. ", +" Q.R.S.T.U.V.W.X.Y.Z.`. +.++...@+#+$+%+ ", +" &+*+k.=+-+;+>+,+'+)+n.+...@+!+!+~+{+]+^+ ", +" /+(+n._+:+<+<+[+}+|+|+1+2+2+3+4+5+6+7+8+ ", +" 9+0+a+b+c+d+e+e+e+e+e+e+e+f+g+h+i+j+k+l+m+ ", +" [email protected] R R R R R R R R r+s+t+u+u+v+w+ ", +" x...@+z+a+f B+C+C+D+E+F+ ", +" G+H+I+~+J+K+L+M+ N+O+P+Q+R+R+S+T+U+ ", +" V+W+X+Y+Z+5+6+`+ @....@+@ @@#...@$@%...@r+&@*...@=@-@;@>@,@ ", +" '@)@5+6+i+i+j+j+t+...@m+ R+~@&@*...@=@-@;@>@{...@]@]...@^@ ", +" /@7+(@k+k+_@:@:@<@[...@}@|@ 1...@=@-@;@>@{...@]@]...@]@]...@2@3...@4@ ", +" 5...@6@7...@8@9...@9@9...@0@a...@b@c...@f d...@e@f...@g@g...@g@g...@g@h...@i@j...@k@R ", +" l...@m@n...@n@n...@n@l...@o@F R l...@m@n...@n@n...@n@n...@p@q...@f ", +" ", +" "}; Added: trunk/packages/amide/trunk/debian/autogen.sh =================================================================== --- trunk/packages/amide/trunk/debian/autogen.sh (rev 0) +++ trunk/packages/amide/trunk/debian/autogen.sh 2009-12-20 20:56:54 UTC (rev 4468) @@ -0,0 +1,72 @@ +#!/bin/sh +# +# +# +# Requires: automake 1.9, autoconf 2.57+ +# Conflicts: autoconf 2.13 +set -e + +# Refresh GNU autotools toolchain. +echo Cleaning autotools files... +find -type d -name autom4te.cache -print0 | xargs -0 rm -rf \; +find -type f \( -name missing -o -name install-sh -o -name mkinstalldirs \ + -o -name depcomp -o -name ltmain.sh -o -name configure \ + -o -name config.sub -o -name config.guess \ + -o -name Makefile.in \) -print0 | xargs -0 rm -f + +echo Running autoreconf... +#autoreconf --force --install + + + # Add here commands to configure the package. + intltoolize --copy --force --automake + aclocal -I m4 + libtoolize -f -c + automake -f -a -c + autoconf -f + # rm -rf autom4te.cache + + +# For the Debian package build +test -d debian && { + # link these in Debian builds + rm -f config.sub config.guess + ln -s /usr/share/misc/config.sub . + ln -s /usr/share/misc/config.guess . + + # refresh list of executable scripts, to avoid possible breakage if + # upstream tarball does not include the file or if it is mispackaged + # for whatever reason. + [ "$1" == "updateexec" ] && { + echo Generating list of executable files... + rm -f debian/executable.files + find -type f -perm +111 ! -name '.*' -fprint debian/executable.files + } + + # Remove any files in upstream tarball that we don't have in the Debian + # package (because diff cannot remove files) + version=`dpkg-parsechangelog | awk '/Version:/ { print $2 }' | sed -e 's/-[^-]\+$//'` + source=`dpkg-parsechangelog | awk '/Source:/ { print $2 }' | tr -d ' '` + if test -r ../${source}_${version}.orig.tar.gz ; then + echo Generating list of files that should be removed... + rm -f debian/deletable.files + touch debian/deletable.files + [ -e debian/tmp ] && rm -rf debian/tmp + mkdir debian/tmp + ( cd debian/tmp ; tar -zxf ../../../${source}_${version}.orig.tar.gz ) + find debian/tmp/ -type f ! -name '.*' -print0 | xargs -0 -ri echo '{}' | \ + while read -r i ; do + if test -e "${i}" ; then + filename=$(echo "${i}" | sed -e 's#.*debian/tmp/[^/]\+/##') + test -e "${filename}" || echo "${filename}" >>debian/deletable.files + fi + done + rm -fr debian/tmp + else + echo Emptying list of files that should be deleted... + rm -f debian/deletable.files + touch debian/deletable.files + fi +} + +exit 0 Added: trunk/packages/amide/trunk/debian/changelog =================================================================== --- trunk/packages/amide/trunk/debian/changelog (rev 0) +++ trunk/packages/amide/trunk/debian/changelog 2009-12-20 20:56:54 UTC (rev 4468) @@ -0,0 +1,99 @@ +amide (0.9.2-1) unstable; urgency=low + + * New upstream release + * put amide under Debian Med team maintenance + * changed patch system: using quilt instead of dpatch + * added dependency: libavcodec-dev for fly through video generation + + -- Dominique Belhachemi <[email protected]> Sun, 20 Dec 2009 13:38:23 -0500 + +amide (0.9.1-5) unstable; urgency=low + + * debian/control: removed build dependency to libglib1.2-dev + and libglib1.2-dev (Closes: #523561) + * debian/control: Standards-Version: 3.8.1 + * debian/changelog: updated references to GPL-2 and LGPL-2 + + -- Dominique Belhachemi <[email protected]> Sun, 12 Apr 2009 13:01:46 -0400 + +amide (0.9.1-4) unstable; urgency=low + + * debian/compat: bumped up to 7 + * debian/rules: uses "dh_prep" now instead of "dh_clean -k" + * desktop category is now: Categories=Graphics;MedicalSoftware; + * Add var/lib/scrollkeeper to debian/dirs to so that scrollkeeper-update + can use it when run by the build system. + * debugging symbols disabled + * debian/copyright: is now machine-interpretable + + -- Dominique Belhachemi <[email protected]> Wed, 19 Feb 2009 09:21:05 -0500 + +amide (0.9.1-3) unstable; urgency=low + + * fixed lintian warning: doc-base-uses-applications-section + * debian/control: Standards-Version: 3.8.0 + * debian/control: DM-Upload-Allowed: yes + + -- Dominique Belhachemi <[email protected]> Fri, 14 Nov 2008 17:10:08 +0100 + +amide (0.9.1-2) unstable; urgency=low + + * debian/control: removed builddep libniftiio1-dev (Closes: #460358) + * fixed implicit pointer conversion (Closes: #457987) + + -- Dominique Belhachemi <[email protected]> Sun, 13 Jan 2008 10:53:11 +0200 + + +amide (0.9.1-1) unstable; urgency=low + + * New upstream release + * debian-policy 3.7.3 ready + + -- Dominique Belhachemi <[email protected]> Thu, 20 Dec 2007 22:33:35 +0200 + + +amide (0.8.22-2) unstable; urgency=low + + * debian/control: libvolpack1-dev added + + -- Dominique Belhachemi <[email protected]> Sun, 16 Dec 2007 23:13:12 +0200 + + +amide (0.8.22-1) unstable; urgency=low + + * New upstream release + * make use of autoconf in debian/rules file + * small bug-fixes + * Back to menu-1 format + * all changes can be found in debian/patches folder + + -- Dominique Belhachemi <[email protected]> Sat, 23 Nov 2007 19:13:12 +0200 + + +amide (0.8.21-4) unstable; urgency=low + + * debian/control: libniftiio1-dev dependency is updated + + -- Dominique Belhachemi <[email protected]> Mon, 16 Sep 2007 22:10:46 +0200 + + +amide (0.8.21-3) unstable; urgency=low + + * debian/copyright : Add documentation license (GFDL) without optional features. + + -- Dominique Belhachemi <[email protected]> Sat, 28 Jul 2007 02:54:46 +0200 + + +amide (0.8.21-2) unstable; urgency=low + + * Add missing libglib1.2-dev dependency. + + -- Dominique Belhachemi <[email protected]> Wed, 18 Jul 2007 01:42:45 +0200 + + +amide (0.8.21-1) unstable; urgency=low + + * Initial release (Closes: #409913) + + -- Dominique Belhachemi <[email protected]> Sun, 15 Jul 2007 21:32:15 +0200 + Added: trunk/packages/amide/trunk/debian/compat =================================================================== --- trunk/packages/amide/trunk/debian/compat (rev 0) +++ trunk/packages/amide/trunk/debian/compat 2009-12-20 20:56:54 UTC (rev 4468) @@ -0,0 +1 @@ +7 Added: trunk/packages/amide/trunk/debian/control =================================================================== --- trunk/packages/amide/trunk/debian/control (rev 0) +++ trunk/packages/amide/trunk/debian/control 2009-12-20 20:56:54 UTC (rev 4468) @@ -0,0 +1,26 @@ +Source: amide +Section: graphics +Priority: optional +Maintainer: Debian Med Packaging Team <[email protected]> +Uploaders: Dominique Belhachemi <[email protected]> +DM-Upload-Allowed: yes +Build-Depends: gnome-doc-utils, gtk-doc-tools, libtool, automake, intltool, + quilt, debhelper (>= 7), autotools-dev, scrollkeeper, libxml-parser-perl, m4, + pkg-config, libgtk2.0-dev, libxml2-dev, libgnomecanvas2-dev, + libgnomeui-dev, libgsl0-dev, libmdc2-dev, libdcmtk1-dev, libvolpack1-dev, + libavcodec-dev +Standards-Version: 3.8.3 +Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/amide/trunk/?rev=0&sc=0 +Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/amide/trunk/ +Homepage: http://amide.sourceforge.net/ + +Package: amide +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: software for Medical Imaging + AMIDE: (Amide's a Medical Imaging Data Examiner) + AMIDE is a tool for viewing and analyzing medical image data sets. + It's capabilities include the simultaneous handling of multiple data + sets imported from a variety of file formats, image fusion, 3D region + of interest drawing and analysis, volume rendering, and rigid body + alignments. Added: trunk/packages/amide/trunk/debian/copyright =================================================================== --- trunk/packages/amide/trunk/debian/copyright (rev 0) +++ trunk/packages/amide/trunk/debian/copyright 2009-12-20 20:56:54 UTC (rev 4468) @@ -0,0 +1,81 @@ +Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat +Debianized-By: Dominique Belhachemi <[email protected]> +Debianized-Date: Fri, 20 Apr 2007 21:32:15 +0200 +Original-Source: http://amide.sourceforge.net/ + + +Files: debian/* +Copyright: 2008, Dominique Belhachemi <[email protected]> +License: GPL-2+ + The Debian packaging is licensed under the GPL-2 or any later version, + see `/usr/share/common-licenses/GPL-2' + + +Files: * +Copyright: + Copyright (©) 2007 by Andy Loening <[email protected]> +License: GPL-2+ + 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. + . + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + . + On Debian systems, the complete text of the GNU General Public + License, version 2 can be found in `/usr/share/common-licenses/GPL-2'. + + +Files: + ./src/amitk_xif_sel.h + ./src/amitk_xif_sel.c + ./src/amitk_dial.h + ./src/amitk_dial.c +Copyright: + Copyright (©) 2007 by Andy Loening <[email protected]> +License: LGPL-2+ + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + . + This library 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 + Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the + Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301, USA. + . + On Debian systems, the complete text of the GNU Lesser General Public + License, version 2.0 can be found in `/usr/share/common-licenses/LGPL-2'. + + +Files: + Documentation +Copyright: + Copyright (©) 2007 by Andy Loening <[email protected]> +License: GFDL-1.1 + Permission is granted to copy, distribute and/or modify + this document under the terms of the GNU Free + Documentation License, Version 1.1 or any later + version published by the Free Software Foundation with no + Invariant Sections, no Front-Cover Texts, and no Back-Cover + Texts. You may obtain a copy of the GNU Free + Documentation License from the Free Software + Foundation by visiting their Web site (http://www.fsf.org) or by + writing to: + Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301, USA. + . + On Debian systems, the complete text of the GNU Free Documentation License + can be found in `/usr/share/common-licenses/GFDL` Added: trunk/packages/amide/trunk/debian/deletable.files =================================================================== --- trunk/packages/amide/trunk/debian/deletable.files (rev 0) +++ trunk/packages/amide/trunk/debian/deletable.files 2009-12-20 20:56:54 UTC (rev 4468) @@ -0,0 +1,77 @@ +mkinstalldirs +pixmaps/icons.fig.bak +pixmaps/compartmental_models.fig.bak +doc/reference/tmpl/amitk_line_profile.sgml.bak +doc/reference/tmpl/amide_gnome.sgml.bak +doc/reference/tmpl/amitk_canvas.sgml.bak +doc/reference/tmpl/amitk_threshold.sgml.bak +doc/reference/tmpl/amitk_data_set_USHORT_2D_SCALING.sgml.bak +doc/reference/tmpl/amitk_data_set_DOUBLE_0D_SCALING.sgml.bak +doc/reference/tmpl/amitk_data_set_SSHORT_1D_SCALING.sgml.bak +doc/reference/tmpl/amitk_data_set_SBYTE_0D_SCALING.sgml.bak +doc/reference/tmpl/amitk_tree_view.sgml.bak +doc/reference/tmpl/amitk_data_set_DOUBLE_2D_SCALING.sgml.bak +doc/reference/tmpl/amitk_progress_dialog.sgml.bak +doc/reference/tmpl/tb_math.sgml.bak +doc/reference/tmpl/amitk_raw_data.sgml.bak +doc/reference/tmpl/amitk_raw_data_USHORT.sgml.bak +doc/reference/tmpl/amitk_raw_data_FLOAT.sgml.bak +doc/reference/tmpl/amitk_data_set_UBYTE_0D_SCALING.sgml.bak +doc/reference/tmpl/amitk_data_set_SBYTE_1D_SCALING.sgml.bak +doc/reference/tmpl/amitk_filter.sgml.bak +doc/reference/tmpl/amitk_data_set_USHORT_1D_SCALING.sgml.bak +doc/reference/tmpl/amitk_point.sgml.bak +doc/reference/tmpl/amitk-unused.sgml.bak +doc/reference/tmpl/amitk_raw_data_SSHORT.sgml.bak +doc/reference/tmpl/amitk_data_set_UINT_1D_SCALING.sgml.bak +doc/reference/tmpl/amitk_roi_variable_type.sgml.bak +doc/reference/tmpl/amitk_data_set_SSHORT_2D_SCALING.sgml.bak +doc/reference/tmpl/amitk_preferences.sgml.bak +doc/reference/tmpl/amitk_data_set_variable_type.sgml.bak +doc/reference/tmpl/amitk_data_set_SINT_2D_SCALING.sgml.bak +doc/reference/tmpl/amitk_fiducial_mark.sgml.bak +doc/reference/tmpl/amitk_data_set_SINT_1D_SCALING.sgml.bak +doc/reference/tmpl/amitk_roi_BOX.sgml.bak +doc/reference/tmpl/amitk_common.sgml.bak +doc/reference/tmpl/amitk_data_set_UBYTE_1D_SCALING.sgml.bak +doc/reference/tmpl/amitk_roi_CYLINDER.sgml.bak +doc/reference/tmpl/amitk_object_dialog.sgml.bak +doc/reference/tmpl/amitk_raw_data_variable_type.sgml.bak +doc/reference/tmpl/amitk_data_set_UINT_0D_SCALING.sgml.bak +doc/reference/tmpl/amitk_roi_ISOCONTOUR_3D.sgml.bak +doc/reference/tmpl/amitk_data_set_FLOAT_2D_SCALING.sgml.bak +doc/reference/tmpl/amitk_color_table.sgml.bak +doc/reference/tmpl/amitk_roi_FREEHAND_3D.sgml.bak +doc/reference/tmpl/amitk_data_set.sgml.bak +doc/reference/tmpl/amitk_data_set_SSHORT_0D_SCALING.sgml.bak +doc/reference/tmpl/tb_export_data_set.sgml.bak +doc/reference/tmpl/amitk_study.sgml.bak +doc/reference/tmpl/stamp-amitk_type_builtins.sgml.bak +doc/reference/tmpl/amitk_data_set_FLOAT_0D_SCALING.sgml.bak +doc/reference/tmpl/amitk_canvas_object.sgml.bak +doc/reference/tmpl/amitk_type.sgml.bak +doc/reference/tmpl/amitk_data_set_FLOAT_1D_SCALING.sgml.bak +doc/reference/tmpl/amitk_raw_data_DOUBLE.sgml.bak +doc/reference/tmpl/amitk_space_edit.sgml.bak +doc/reference/tmpl/amitk_raw_data_UINT.sgml.bak +doc/reference/tmpl/amide.sgml.bak +doc/reference/tmpl/amitk_roi_ELLIPSOID.sgml.bak +doc/reference/tmpl/amitk_raw_data_UBYTE.sgml.bak +doc/reference/tmpl/amitk_type_builtins.sgml.bak +doc/reference/tmpl/amitk_data_set_UBYTE_2D_SCALING.sgml.bak +doc/reference/tmpl/amitk_color_table_menu.sgml.bak +doc/reference/tmpl/amitk_space.sgml.bak +doc/reference/tmpl/amitk_marshal.sgml.bak +doc/reference/tmpl/amitk_roi_FREEHAND_2D.sgml.bak +doc/reference/tmpl/amitk_data_set_USHORT_0D_SCALING.sgml.bak +doc/reference/tmpl/amitk_raw_data_SINT.sgml.bak +doc/reference/tmpl/amitk_roi.sgml.bak +doc/reference/tmpl/amitk_raw_data_SBYTE.sgml.bak +doc/reference/tmpl/amitk_data_set_SINT_0D_SCALING.sgml.bak +doc/reference/tmpl/amitk_data_set_SBYTE_2D_SCALING.sgml.bak +doc/reference/tmpl/amitk_object.sgml.bak +doc/reference/tmpl/amitk_window_edit.sgml.bak +doc/reference/tmpl/amitk_data_set_DOUBLE_1D_SCALING.sgml.bak +doc/reference/tmpl/amitk_roi_ISOCONTOUR_2D.sgml.bak +doc/reference/tmpl/amitk_volume.sgml.bak +doc/reference/tmpl/amitk_data_set_UINT_2D_SCALING.sgml.bak Added: trunk/packages/amide/trunk/debian/dirs =================================================================== --- trunk/packages/amide/trunk/debian/dirs (rev 0) +++ trunk/packages/amide/trunk/debian/dirs 2009-12-20 20:56:54 UTC (rev 4468) @@ -0,0 +1,2 @@ +usr/bin +var/lib/scrollkeeper Added: trunk/packages/amide/trunk/debian/docs =================================================================== --- trunk/packages/amide/trunk/debian/docs (rev 0) +++ trunk/packages/amide/trunk/debian/docs 2009-12-20 20:56:54 UTC (rev 4468) @@ -0,0 +1,2 @@ +todo + Added: trunk/packages/amide/trunk/debian/get-orig-source =================================================================== --- trunk/packages/amide/trunk/debian/get-orig-source (rev 0) +++ trunk/packages/amide/trunk/debian/get-orig-source 2009-12-20 20:56:54 UTC (rev 4468) @@ -0,0 +1,4 @@ +PACKAGE=amide + +wget -c http://downloads.sourceforge.net/project/amide/amide/0.9.2/amide-0.9.2.tgz?use_mirror=cdnetworks-us-2 +cp amide-0.9.2.tgz amide_0.9.2.orig.tar.gz Added: trunk/packages/amide/trunk/debian/patched/50_configure.in.dpatch.failed =================================================================== --- trunk/packages/amide/trunk/debian/patched/50_configure.in.dpatch.failed (rev 0) +++ trunk/packages/amide/trunk/debian/patched/50_configure.in.dpatch.failed 2009-12-20 20:56:54 UTC (rev 4468) @@ -0,0 +1,9 @@ +patching file configure.in +Hunk #1 FAILED at 42. +Hunk #2 succeeded at 63 (offset 2 lines). +Hunk #3 FAILED at 84. +Hunk #4 succeeded at 193 (offset 22 lines). +Hunk #5 succeeded at 258 (offset 40 lines). +Hunk #6 succeeded at 391 (offset 40 lines). +2 out of 6 hunks FAILED -- saving rejects to file configure.in.rej +md5sum: 5c875d40f9151255a301076e572b2970 /home/domibel/my-debian-packages/packages/amide/amide-0.9.2/debian/patches/50_configure.in.dpatch Added: trunk/packages/amide/trunk/debian/patches/10_all.diff =================================================================== --- trunk/packages/amide/trunk/debian/patches/10_all.diff (rev 0) +++ trunk/packages/amide/trunk/debian/patches/10_all.diff 2009-12-20 20:56:54 UTC (rev 4468) @@ -0,0 +1,197 @@ +Index: amide-0.9.2/etc/amide.desktop.in +=================================================================== +--- amide-0.9.2.orig/etc/amide.desktop.in 2009-12-20 15:28:21.000000000 -0500 ++++ amide-0.9.2/etc/amide.desktop.in 2009-12-20 15:33:46.000000000 -0500 +@@ -1,5 +1,4 @@ + [Desktop Entry] +-Encoding=UTF-8 + _GenericName=Medical Image Examiner + _Name=Amide + _Comment=A Medical Image Data Examiner +Index: amide-0.9.2/src/mpeg_encode.c +=================================================================== +--- amide-0.9.2.orig/src/mpeg_encode.c 2009-12-20 15:28:21.000000000 -0500 ++++ amide-0.9.2/src/mpeg_encode.c 2009-12-20 15:33:46.000000000 -0500 +@@ -141,7 +141,7 @@ + /* -------------------------------------------------------- */ + #ifdef AMIDE_FFMPEG_SUPPORT + +-#include <ffmpeg/libavcodec/avcodec.h> ++#include <libavcodec/avcodec.h> + + + typedef struct { +Index: amide-0.9.2/src/ui_common.c +=================================================================== +--- amide-0.9.2.orig/src/ui_common.c 2009-12-20 15:28:21.000000000 -0500 ++++ amide-0.9.2/src/ui_common.c 2009-12-20 15:33:46.000000000 -0500 +@@ -46,7 +46,7 @@ + #include <medcon.h> + #endif + #ifdef AMIDE_FFMPEG_SUPPORT +-#include <ffmpeg/libavcodec/avcodec.h> ++#include <libavcodec/avcodec.h> + #endif + #ifdef AMIDE_LIBFAME_SUPPORT + #include <fame_version.h> +Index: amide-0.9.2/Makefile.am +=================================================================== +--- amide-0.9.2.orig/Makefile.am 2009-12-20 15:28:21.000000000 -0500 ++++ amide-0.9.2/Makefile.am 2009-12-20 15:33:46.000000000 -0500 +@@ -1,5 +1,4 @@ + ACLOCAL_AMFLAGS = \ +- -I /usr/local/share/aclocal \ + -I m4 + + if DISABLE_DOC +Index: amide-0.9.2/src/Makefile.am +=================================================================== +--- amide-0.9.2.orig/src/Makefile.am 2009-12-20 15:28:21.000000000 -0500 ++++ amide-0.9.2/src/Makefile.am 2009-12-20 15:35:20.000000000 -0500 +@@ -23,13 +23,11 @@ + $(GSL_CFLAGS) \ + $(LIBFAME_CFLAGS) \ + $(AMIDE_GTK_CFLAGS) \ +- $(AMIDE_DEBUG_CFLAGS) \ + $(AMIDE_CHECK_OBSOLETE_CFLAGS) \ + $(AMIDE_LIBDCMDATA_CFLAGS) \ +- -I/usr/local/include \ + $(XMEDCON_CFLAGS) \ +- $(FFMPEG_CFLAGS) +- ++ $(LIBAVCODEC_CFLAGS) \ ++ -DG_DISABLE_DEPRECATED + + + ## c++ gets the same includes +@@ -41,12 +39,11 @@ + # to be behind the DCMTK stuff + amide_LDADD = \ + $(GSL_LIBS) \ +- $(LIBFAME_LIBS) \ + $(AMIDE_LIBECAT_LIBS) \ + $(AMIDE_LIBVOLPACK_LIBS) \ + $(AMIDE_GTK_LIBS) \ + $(XMEDCON_LIBS) \ +- $(FFMPEG_LIBS) \ ++ $(LIBAVCODEC_LIBS) \ + $(AMIDE_LIBDCMDATA_LIBS) \ + $(AMIDE_LDADD_WIN32) + +Index: amide-0.9.2/configure.in +=================================================================== +--- amide-0.9.2.orig/configure.in 2009-12-20 15:28:21.000000000 -0500 ++++ amide-0.9.2/configure.in 2009-12-20 15:35:30.000000000 -0500 +@@ -43,10 +43,10 @@ + dnl also, need the -headerpad_max_install_name to allow switching + dnl the library paths with strings that have longer lengths + case "$host_os" in +-darwin*) CFLAGS="-g -O2 -Wall" ++darwin*) CFLAGS="-O2 -Wall" + LDFLAGS="-headerpad_max_install_names";; +-*) CFLAGS="-g -O6 -Wall" +- CXXFLAGS="-g -O6 -Wall";; ++*) CFLAGS="-O6 -Wall" ++ CXXFLAGS="-O6 -Wall";; + esac + + if test $CC = "gcc"; then +@@ -63,7 +63,7 @@ + read continue_with_bad_gcc + if test $continue_with_bad_gcc = "y"; then + echo "removing optimizations to reduce potential of compiler error" +- CFLAGS="-g -O0" ++ CFLAGS="-O0" + else + exit 1 + fi +@@ -86,14 +86,14 @@ + + dnl check for various libraries and programs that we might need + AM_PATH_GSL(1.1.1, FOUND_LIBGSL=yes, FOUND_LIBGSL=no) +-AC_CHECK_LIB(ecat, matrix_open, FOUND_LIBECAT=yes, FOUND_LIBECAT=no, -L/sw/lib) +-AC_CHECK_LIB(volpack, vpGetErrorString, FOUND_VOLPACK=yes, FOUND_VOLPACK=no, -lm -L/sw/lib -L/usr/local/lib) ++AC_CHECK_LIB(ecat, matrix_open, FOUND_LIBECAT=yes, FOUND_LIBECAT=no) ++AC_CHECK_LIB(volpack, vpGetErrorString, FOUND_VOLPACK=yes, FOUND_VOLPACK=no, -lm) + AM_PATH_XMEDCON(0.10.0, FOUND_XMEDCON=yes, FOUND_XMEDCON=no) + + dnl switch to C++ for DCMTK library stuff - also, if pthread is on the platform, probably need that + AC_LANG_CPLUSPLUS + AC_CHECK_LIB(pthread, pthread_mutex_init, THREAD_LIBS="-lpthread", THREAD_LIBS="") +-AC_CHECK_LIB(dcmdata, main, FOUND_DCMDATA=yes, FOUND_DCMDATA=no, -lofstd -lz -L/usr/local/dicom/lib -L/sw/lib $THREAD_LIBS) ++AC_CHECK_LIB(dcmdata, main, FOUND_DCMDATA=yes, FOUND_DCMDATA=no, -lofstd -lz $THREAD_LIBS) + + dnl trying to phase out libfame use in favor of ffmpeg + PKG_CHECK_MODULES(FFMPEG, libavcodec >= 51.45.0, FOUND_FFMPEG=yes, FOUND_FFMPEG=no); +@@ -193,7 +193,7 @@ + AC_DEFINE(AMIDE_LIBMDC_SUPPORT, 1, Define to compile with (X)MedCon) + + dnl 2007.10.28 - new xmedcon's should be using glib2/gtk2, dont' have to overwrite XMEDCON_LIBS +- dnl XMEDCON_LIBS="-L/usr/local/lib -L/usr/local/xmedcon/lib -lmdc" ++ dnl XMEDCON_LIBS="-lmdc" + AC_SUBST(XMEDCON_LIBS) + else + echo "Compiling without xmedcon/libmdc file support" +@@ -224,29 +224,27 @@ + enable_ffmpeg="$enableval", + enable_ffmpeg=yes) + ++ PKG_CHECK_MODULES(LIBAVCODEC, libavcodec) ++# PKG_CHECK_MODULES(LIBAVFORMAT, libavformat) ++# PKG_CHECK_MODULES(LIBSWSCALE, libswscale) ++# PKG_CHECK_MODULES(LIBAVUTIL, libavutil) ++ ++ AC_SUBST(LIBAVCODEC_LIBS) ++ AC_SUBST(LIBAVCODEC_CFLAGS) ++# AC_SUBST(LIBAVFORMAT_LIBS) ++# AC_SUBST(LIBAVFORMAT_CFLAGS) ++# AC_SUBST(LIBSWSCALE_LIBS) ++# AC_SUBST(LIBSWSCALE_CFLAGS) ++# AC_SUBST(LIBAVUTIL_LIBS) ++# AC_SUBST(LIBAVUTIL_CFLAGS) ++ + if (test $enable_ffmpeg = yes) && (test $FOUND_FFMPEG = yes); then + echo "Compiling with ffmpeg (libavcodec) mpeg encoding support " + AC_DEFINE(AMIDE_FFMPEG_SUPPORT, 1, Define to compile with ffmpeg) + AC_SUBST(FFMPEG_LIBS) + AC_SUBST(FFMPEG_CFLAGS) + else +- echo "Compiling without ffmpeg (libavcodec) mpeg encoding support" +- +- dnl Let people compile with libfame mpeg movie generation if not using ffmpeg +- AM_PATH_LIBFAME(0.9.1, FOUND_LIBFAME=yes, FOUND_LIBFAME=no) +- dnl AC_CHECK_LIB(libfame, fame_init, FOUND_LIBFAME=yes, FOUND_LIBFAME=no) +- AC_ARG_ENABLE( +- libfame, +- [ --enable-libfame Compile in libfame mpeg encoding support if not using ffmpeg [default=no]], +- enable_libfame="$enableval", +- enable_libfame=no) +- +- if (test $enable_libfame = yes) && (test $FOUND_LIBFAME = yes); then +- echo "Compiling with libfame mpeg encoding support " +- AC_DEFINE(AMIDE_LIBFAME_SUPPORT, 1, Define to compile with Libfame) +- else +- echo "Compiling without libfame mpeg encoding support" +- fi ++ echo "Compiling without ffmpeg support" + fi + + dnl Let people compile without the DCMTK library +@@ -258,8 +256,8 @@ + + if (test $enable_libdcmdata = yes) && (test $FOUND_DCMDATA = yes); then + echo "Compiling with DCMTK support for DICOM files" +- AMIDE_LIBDCMDATA_LIBS="-L/usr/local/dicom/lib -ldcmdata -lofstd -lz $THREAD_LIBS" +- AMIDE_LIBDCMDATA_CFLAGS="-I/usr/local/dicom/include/dcmtk/dcmdata -I/usr/local/dicom/include/dcmtk/ofstd -I/usr/local/dicom/include -I/usr/include/dcmtk/dcmdata -I/usr/local/include/dcmtk/ofstd -I/sw/include/dcmtk/dcmdata -I/sw/include/dcmtk/ofstd -I/sw/include/dcmtk" ++ AMIDE_LIBDCMDATA_LIBS="-ldcmdata -lofstd -lz $THREAD_LIBS" ++ AMIDE_LIBDCMDATA_CFLAGS="-I/usr/include/dcmtk/dcmdata" + AC_SUBST(AMIDE_LIBDCMDATA_LIBS) + AC_SUBST(AMIDE_LIBDCMDATA_CFLAGS) + AC_DEFINE(AMIDE_LIBDCMDATA_SUPPORT, 1, Define to compile with DCMTK) +@@ -391,6 +389,3 @@ + dnl help/C/Makefile + dnl help/es/Makefile + +-dnl Move the spec file so it won't get eaten by make distclean +-echo "Moving SPEC file to base directory" +-mv etc/amide.spec ./ Added: trunk/packages/amide/trunk/debian/patches/series =================================================================== --- trunk/packages/amide/trunk/debian/patches/series (rev 0) +++ trunk/packages/amide/trunk/debian/patches/series 2009-12-20 20:56:54 UTC (rev 4468) @@ -0,0 +1 @@ +10_all.diff Added: trunk/packages/amide/trunk/debian/rules =================================================================== --- trunk/packages/amide/trunk/debian/rules (rev 0) +++ trunk/packages/amide/trunk/debian/rules 2009-12-20 20:56:54 UTC (rev 4468) @@ -0,0 +1,151 @@ +#!/usr/bin/make -f + +PACKAGE=amide + +# quilt +DEB_SOURCE_PACKAGE:=$(PACKAGE) +include /usr/share/quilt/quilt.make + + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# 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) + + +# FOR AUTOCONF 2.52 AND NEWER ONLY +CONFFLAGS = +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + CONFFLAGS += --build $(DEB_HOST_GNU_TYPE) +else + CONFFLAGS += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +endif + +CFLAGS:= -Wall -pipe +CXXFLAGS:= -Wall -pipe +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 + CXXFLAGS += -O0 +else + CFLAGS += -O2 +endif + +get-orig-source: + /bin/sh $(CURDIR)/debian/get-orig-source + +configure: configure-stamp +configure-stamp: $(QUILT_STAMPFN) + dh_testdir + + chmod +x debian/autogen.sh + debian/autogen.sh + + ln -sf /usr/share/misc/config.sub . + ln -sf /usr/share/misc/config.guess . + rm -f config.cache + + ./configure CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" \ + $(CONFFLAGS) \ + --disable-amide-debug \ + --config-cache \ + --disable-dependency-tracking \ + --enable-rpm-install \ + --prefix=/usr \ + --localstatedir=/var/lib/amide \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info \ + --localstatedir=/var/lib/amide \ + LDFLAGS="-Wl,-z,defs" + + touch $@ + + +build: build-arch + +build-arch: build-arch-stamp + +build-arch-stamp: configure + dh_testdir + + $(MAKE) + + touch $@ + +#config.status: patch configure +# dh_testdir + # Add here commands to configure the package. + #aclocal -I macros + #libtoolize -f -c + #automake -f -a -c + #autoconf -f +# ./configure $(CONFIGURE_FLAGS) + + + +clean: clean-patched unpatch + +clean-patched: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + [ ! -f Makefile ] || $(MAKE) clean + [ ! -f Makefile ] || $(MAKE) distclean + + + find \( -name config.sub -o -name config.guess \) -print0 | xargs -0 -r rm -f \; + + + # Fix permissions + if [ -r debian/executable.files ] ; then \ + find -type d -print0 | xargs -0 -r chmod 755 ;\ + find -type f ! -name 'rules' -print0 | xargs -0 -r chmod 644 ;\ + xargs -t -r chmod +x < debian/executable.files ;\ + fi + + # Final static cleanups + if [ -r debian/deletable.files ] ; then \ + xargs -t -r rm -f < debian/deletable.files ;\ + fi + + + dh_clean + + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + # Add here commands to install the package into debian/amide. + $(MAKE) DESTDIR=$(CURDIR)/debian/amide install + install -d debian/amide/usr/share/pixmaps + cp debian/amide_logo_small.xpm debian/amide/usr/share/pixmaps/amide_logo_small.xpm + rm -rf debian/amide/var + +# Build architecture-dependent files here. +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_installman + dh_link + dh_installmenu + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-arch +.PHONY: build clean binary-indep binary-arch binary install Property changes on: trunk/packages/amide/trunk/debian/rules ___________________________________________________________________ Added: svn:executable + * Added: trunk/packages/amide/trunk/debian/watch =================================================================== --- trunk/packages/amide/trunk/debian/watch (rev 0) +++ trunk/packages/amide/trunk/debian/watch 2009-12-20 20:56:54 UTC (rev 4468) @@ -0,0 +1,9 @@ +# 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. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +http://sf.net/amide/amide-(0.*)\.tgz _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/debian-med-commit
