debian/0000755000000000000000000000000011754416673007204 5ustar debian/source/0000755000000000000000000000000011465767720010505 5ustar debian/source/format0000644000000000000000000000001411465767720011713 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000001066211465767720011145 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Name: MRIcron Maintainer: Chris Rorden Source: http://www.cabiatl.com/CABI/beta/ Files: * Copyright: Copyright 2006-2010, Chris Rorden License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the names of the copyright owners nor the names of this project (MRIcron) may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: fpmath/* Copyright: Copyright 2007, Jean Debord Copyright 2001, Michael Hopper Copyright (C) 1997 - 2002, Takuji Nishimura and Makoto Matsumoto License: LGPL On Debian systems the full text of the GNU Lesser Public License can be found in the `/usr/share/common-licenses/LGPL-2' file. . This is a copy of "TPMATH -- MATHEMATICAL LIBRARY FOR PASCAL COMPILERS", available from: http://www.unilim.fr/pages_perso/jean.debord/tpmath/tpmath.htm Files: fpmath/uranmt.pas Copyright: Copyright 1997 - 2002, Makoto Matsumoto and Takuji Nishimura License: BSD Files: rgb/* Copyright: Copyright 2007, Tom Gregorovic License: Modified LGPL The package is licensed under a standard LGPL that has been amended with the following text: . This is the file COPYING.modifiedLGPL, it applies to several units in the Lazarus sources distributed by members of the Lazarus Development Team. All files contains headers showing the appropriate license. See there if this modification can be applied. . These files are distributed under the Library GNU General Public License (see the file COPYING.LGPL) with the following modification: . As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. . On Debian systems the full text of the GNU Lesser Public License can be found in the `/usr/share/common-licenses/LGPL-2' file. Files: common/{DiskSpaceKludge,GraphicsMathLibrary}.pas Copyright: Copyright 1982-1998, Earl F. Glynn License: BSD The original author gave approval to ship these files under the same terms as MRIcron itself (see above for the full license text). Files: common/gzio2.pas Copyright: Copyright 1998, Jacques Nomssi Nzali Copyright 1995-1998, Jean-loup Gailly Copyright 1998, Jacques Nomssi Nzali License: GPL This is a heavily modified version of gzio.pas that is available in the 'fpc-source' package. . On Debian systems the full text of the GNU Lesser Public License can be found in the `/usr/share/common-licenses/GPL-2' file. Files: debian/* Copyright: Copyright 2010, Michael Hanke License: BSD debian/mricron-doc.examples0000644000000000000000000000001211465767720013152 0ustar example/* debian/mricron.10000644000000000000000000000177211465767720010747 0ustar .TH "MRICRON" "1" "April 2010" "Michael Hanke" "User Commands" .SH NAME mricron \- magnetic resonance image conversion, viewing and analysis .SH "DESCRIPTION" MRIcron is a GUI-based visualization and analysis tool for (functional) magnetic resonance imaging. MRIcron can be used to create 2D or 3D renderings of statistical overlay maps on brain anatomy images. Moreover, it aids drawing anatomical regions-of-interest (ROI), or lesion mapping, as well as basic analysis of functional timeseries (e.g. creating plots of peristimulus signal-change). .PP In addition to 'mricron', this package also provides 'dcm2nii' that supports converting DICOM and PAR/REC images into the NIfTI format, and 'npm' for non-parametric data analysis. .SH "AUTHOR" \fBmricron\fR was written by Chris Rorden. .PP This manual page was written by Michael Hanke , for the Debian project (but may be used by others). .SH "SEE ALSO" .BR dcm2nii "(1)" .TP \fBMRIcron Homepage:\fR http://www.cabiatl.com/mricro/mricron/ debian/mricron-npm.desktop0000644000000000000000000000034111646521370013025 0ustar [Desktop Entry] Encoding=UTF-8 GenericName=Non-parametric MRI Analysis Name=NPM Exec=mricron-npm TryExec=mricron-npm Type=Application Terminal=false Categories=Education;Graphics;Science;MedicalSoftware;GTK; Icon=mricron.xpm debian/repack.sh0000755000000000000000000000302111465767720011005 0ustar #!/bin/bash # Repackage MRIcron upstream sources. Determine version, strip unnecessary # files, zip->tar.gz # # Usage: # repack.sh # set -e ORIGSRC=$1 if [ -z "$ORIGSRC" ]; then echo "No upstream sources given." exit 1 fi CURDIR=$(pwd) WDIR=$(mktemp -d) SUBDIR=mricron # put upstream sources into working dir ORIGSRC_PATH=$(readlink -f ${ORIGSRC}) cd $WDIR unzip $ORIGSRC_PATH UPSTREAM_VERSION=$(date --date "$(grep 'kMRIcronVers' \ < $SUBDIR/common/define_types.pas \ | cut -d "'" -f 2,2)" +0.%Y%m%d.1) ORIG_VERSION="$UPSTREAM_VERSION~dfsg.1" echo "Determined version: $UPSTREAM_VERSION" echo "Debian orig version: $ORIG_VERSION" # cleanup # leftovers from previous compile runs find $SUBDIR -name '*.o' -delete -o -name '*.ppu' -delete find $SUBDIR -name '*.compiled' -delete find $SUBDIR -name '*.exe' -delete rm -f $SUBDIR/mricron.rc rm -f $SUBDIR/mricron.lrs rm -f $SUBDIR/mricron rm -f $SUBDIR/dcm2nii/dcm2nii rm -f $SUBDIR/dcm2nii/dcm2niigui rm -f $SUBDIR/npm/npm rm -fr "$SUBDIR/New Folder" # other unnecessary pieces find $SUBDIR -name '*~' -delete find $SUBDIR -name '*.bak' -delete find $SUBDIR -iname "Thumbs.db" -delete find $SUBDIR -iname .DS_Store -delete find $SUBDIR -type d -iname backup -delete # no delphi on Debian rm -rf $SUBDIR/delphionly mv $SUBDIR mricron-$ORIG_VERSION.orig tar czf mricron_$ORIG_VERSION.orig.tar.gz mricron-$ORIG_VERSION.orig mv mricron_$ORIG_VERSION.orig.tar.gz $CURDIR # clean working dir rm -rf $WDIR echo "Tarball is at: $CURDIR/mricron_$ORIG_VERSION.orig.tar.gz" debian/dcm2niigui.desktop0000644000000000000000000000043311465767720012632 0ustar [Desktop Entry] Encoding=UTF-8 GenericName=DICOM to NIfTI Conversion GenericName[ru]=Конвертор из DICOM в NIfTI Name=dcm2nii Exec=dcm2niigui %F TryExec=dcm2niigui Type=Application Terminal=false Categories=Education;Graphics;Science;MedicalSoftware;GTK; Icon=mricron.xpm debian/control0000644000000000000000000000475411754416673010621 0ustar Source: mricron Priority: extra Maintainer: NeuroDebian Team Uploaders: Michael Hanke , Yaroslav Halchenko Build-Depends: debhelper (>= 7.0.50~), lcl-utils, lcl-gtk2 | lcl-gtk, lcl-units, fp-utils, fp-units-gfx, fp-units-misc, libgtk2.0-dev, imagemagick Standards-Version: 3.9.3 Section: science Homepage: http://www.cabiatl.com/mricro/mricron/index.html XS-DM-Upload-Allowed: yes Vcs-Browser: http://git.debian.org/?p=debian-med/mricron.git Vcs-Git: git://git.debian.org/git/debian-med/mricron.git Package: mricron Section: science Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, mricron-data Suggests: mricron-doc, fsl Description: magnetic resonance image conversion, viewing and analysis This is a GUI-based visualization and analysis tool for (functional) magnetic resonance imaging. MRIcron can be used to create 2D or 3D renderings of statistical overlay maps on brain anatomy images. Moreover, it aids drawing anatomical regions-of-interest (ROI), or lesion mapping, as well as basic analysis of functional timeseries (e.g. creating plots of peristimulus signal-change). . In addition to 'mricron', this package also provides 'dcm2nii' that supports converting DICOM and PAR/REC images into the NIfTI format, and 'npm' for non-parametric data analysis. Package: mricron-data Section: science Architecture: all Depends: ${misc:Depends} Description: data files for MRIcron This is a GUI-based visualization and analysis tool for (functional) magnetic resonance imaging. MRIcron can be used to create 2D or 3D renderings of statistical overlay maps on brain anatomy images. Moreover, it aids drawing anatomical regions-of-interest (ROI), or lesion mapping, as well as basic analysis of functional timeseries (e.g. creating plots of peristimulus signal-change). . This package provides data files for MRIcron, such as brain atlases, anatomy, and color schemes. Package: mricron-doc Section: doc Architecture: all Depends: ${misc:Depends} Description: data files for MRIcron This is a GUI-based visualization and analysis tool for (functional) magnetic resonance imaging. MRIcron can be used to create 2D or 3D renderings of statistical overlay maps on brain anatomy images. Moreover, it aids drawing anatomical regions-of-interest (ROI), or lesion mapping, as well as basic analysis of functional timeseries (e.g. creating plots of peristimulus signal-change). . This package provides documentation for MRIcron in HTML format. debian/changelog0000644000000000000000000000667011754416673011067 0ustar mricron (0.20120505.1~dfsg.1-1) unstable; urgency=low * New upstream code (Closes: #671365). * Update upstream source URL. * Bumped Standards-version to 3.9.3, no changes necessary. -- Michael Hanke Tue, 15 May 2012 08:59:27 +0200 mricron (0.20110812.1~dfsg.1-1) unstable; urgency=low * New upstream. * Rename npm to mricron-npm to prevent filename conflict with the npm package (Closes: #623509). * Bumped Standards-version to 3.9.2, no changes necessary. * Fix typo in lintian override. * Remove duplicate upstream changelog from package. * Add patch to use recent lazarus version's API for GTK. -- Michael Hanke Sun, 16 Oct 2011 11:45:31 +0200 mricron (0.20110413.1~dfsg.1-1) unstable; urgency=low * New upstream version. FSL BET related patches are no obsolete and have been removed. Mricron now performs autodetection of FSL. Additionally it supports a system-wide configuration file at /etc/mricron/mricron.ini * Patch for older lazarus versions no longer applies to the lazarus version in unstable. Moved this patch into backport patch series files. -- Michael Hanke Thu, 14 Apr 2011 15:51:33 -0400 mricron (0.20101102.1~dfsg.1-2) unstable; urgency=low * Change maintainer email. * Add 'fsl' as a suggested package. * Add patch to make mricron work with Debian's FSL setup (to call BET for skull-stripping). Also call mricron via a wrapper that automatically sources the FSL configuration file on startup. Closes: #611374 -- Michael Hanke Wed, 02 Feb 2011 16:18:59 -0500 mricron (0.20101102.1~dfsg.1-1) unstable; urgency=low * New upstream code. * Changed get-orig-src to get-orig-source target in debian/rules for policy compliance. * Added patch for compatibility with Lazarus version in Debian. * Added patch for Ubuntu lucid backports that can be automatically applied by backport-dsc. -- Michael Hanke Mon, 08 Nov 2010 07:55:47 -0500 mricron (0.20100820.1~dfsg.1-1) unstable; urgency=low * New upstream code. * Add patch to identify the Debian package version as such in the 'About' dialog. * Bumped Standards-version to 3.9.1, no changes necessary. -- Michael Hanke Sun, 22 Aug 2010 08:32:25 -0400 mricron (0.20100725.1~dfsg.1-1) unstable; urgency=low * New upstream code. * First official upload to Debian (Closes: #579231). * Bumped Standards-version to 3.9.0, included full text of the BSD license in the copyright file. -- Michael Hanke Thu, 29 Jul 2010 22:07:43 -0400 mricron (0.20100422.2~dfsg.1-1) UNRELEASED; urgency=low * New upstream code. * Build and install 'dcm2nii' commandline tool. * Include manpages for all tools. -- Michael Hanke Fri, 30 Apr 2010 08:05:14 -0400 mricron (0.20100422.1~dfsg.1-1) UNRELEASED; urgency=low * Initial Debian packaging based on debhelper's "dh" and using the new source package format 3.0 (quilt). MRIcron's version is the date on which it is released -- extending this version with '0.' prefix and incremental suffix to make it more flexible and allow switching to another scheme in the future (upstream is informed and approved this approach). Repackaged source tarball to remove PDF without source, and convert from ZIP to TAR archive. -- Michael Hanke Sun, 25 Apr 2010 12:47:51 -0400 debian/mricron.manpages0000644000000000000000000000004211465767720012367 0ustar debian/mricron.1 debian/dcm2nii.1 debian/mricron.install0000644000000000000000000000031011646521643012231 0ustar mricron usr/lib/mricron debian/wrapper/mricron usr/bin dcm2nii/dcm2niigui usr/bin dcm2nii/dcm2nii usr/bin npm/mricron-npm usr/bin mricron.xpm usr/share/pixmaps debian/*.desktop usr/share/applications debian/mricron.desktop0000644000000000000000000000053711465767720012256 0ustar [Desktop Entry] Encoding=UTF-8 GenericName=2D/3D MRI Image Viewer GenericName[de]=2D/3D Betrachter für MRT-Daten GenericName[ru]=Просмотр 2D/3D МРТ-данных Name=MRIcron Exec=mricron %F TryExec=mricron Type=Application Terminal=false Categories=Education;Graphics;Science;DataVisualization;MedicalSoftware;GTK;Viewer; Icon=mricron.xpm debian/rules0000755000000000000000000000243011754376004010254 0ustar #!/usr/bin/make -f # -*- makefile -*- # one ring to rule them all ... %: dh $@ override_dh_auto_build: # first the non-gui parts cp common/notgui.inc common/isgui.inc lazbuild --build-all dcm2nii/dcm2nii.lpi # intermediate clean find $(CURDIR)/dcm2nii -name '*.o' -delete -o -name '*.ppu' -delete # and now the gui parts cp common/gui.inc common/isgui.inc lazbuild --build-all --ws=gtk2 mricron.lpi lazbuild --build-all --ws=gtk2 dcm2nii/dcm2niigui.lpi lazbuild --build-all --ws=gtk2 npm/npm.lpi # rename npm to prevent conflict with npm package mv npm/npm npm/mricron-npm # build icon convert iconfinal.ico -resize 32x32 iconfinal.xpm mv iconfinal-0.xpm mricron.xpm # we want immediately useable docs and example data, they are in a dedicated # package already override_dh_compress: dh_compress -X.voi override_dh_clean: find . -name '*.o' -delete -o -name '*.ppu' -delete -o -name '*.a' -delete find . -name '*.compiled' -delete -rm mricron.rc mricron.lrs mricron -rm dcm2nii/dcm2nii -rm dcm2nii/dcm2niigui -rm npm/mricron-npm -rm iconfinal-*.xpm mricron.xpm dh_clean # there is no way to get previous versions get-orig-source: get-latest-source get-latest-source: wget http://www.mccauslandcenter.sc.edu/CRNL/sw/mricron/source.zip bash debian/repack.sh source.zip debian/wrapper/0000755000000000000000000000000011522333751010650 5ustar debian/wrapper/mricron0000644000000000000000000000020611522333751012242 0ustar #!/bin/sh fslconf=/etc/fsl/fsl.sh if [ -z "${FSLDIR}" ] && [ -e $fslconf ]; then . $fslconf fi exec /usr/lib/mricron/mricron "$@" debian/mricron.links0000644000000000000000000000021311646521660011704 0ustar /usr/share/man/man1/mricron.1.gz /usr/share/man/man1/mricron-npm.1.gz /usr/share/man/man1/mricron.1.gz /usr/share/man/man1/dcm2niigui.1.gz debian/README.Debian-source0000644000000000000000000000071611465767720012550 0ustar Debian source package of MRIcron -------------------------------- The MRIcron sources have been repackaged to remove a source-less PDF in the included copy of 'tpmath'. Additionally, a number of unnecessary files (backup, temporary and left-over files) have been stripped during repackaging. The full procedure is documented in (and can be repeated with) the debian/repack.sh script. -- Michael Hanke , Sun, 25 Apr 2010 14:10:27 -0500 debian/compat0000644000000000000000000000000211465767720010403 0ustar 7 debian/mricron-doc.docs0000644000000000000000000000000511465767720012266 0ustar html debian/mricron.menu0000644000000000000000000000126611646521707011543 0ustar ?package(mricron): \ needs="X11" \ section="Applications/Science/Medicine" \ title="MRIcron" \ longtitle="2D/3D MRI Image Viewer" \ icon="mricron.xpm" \ command="/usr/bin/mricron" \ hints="MRI,fMRI" ?package(mricron): \ needs="X11" \ section="Applications/Science/Medicine" \ title="dcm2nii" \ longtitle="DICOM to NIfTI conversion" \ icon="mricron.xpm" \ command="/usr/bin/dcm2niigui" \ hints="MRI,fMRI" ?package(mricron): \ needs="X11" \ section="Applications/Science/Medicine" \ title="NPM" \ longtitle="Non-parametric MRI Analysis" \ icon="mricron.xpm" \ command="/usr/bin/mricron-npm" \ hints="MRI,fMRI" debian/dcm2nii.10000644000000000000000000000321111465767720010611 0ustar .TH "DCM2NII" "1" "April 2010" "Michael Hanke" "User Commands" .SH NAME dcm2nii \- convert DICOM or PAR/REC image into the NIfTI format .SH SYNOPSIS \fBdcm2nii\fR .SH OPTIONS .TP \fB\-a\fR Anonymize [remove identifying information]: Y,N = Y .TP \fB\-b\fR load settings from specified inifile, e.g. '\-b /etc/mricron.ini' .TP \fB\-c\fR Collapse input folders: Y,N = N .TP \fB\-d\fR Date in filename [filename.dcm \-> 20061230122032.nii]: Y,N = Y .TP \fB\-e\fR events (series/acq) in filename [filename.dcm \-> s002a003.nii]: Y,N = Y .TP \fB\-f\fR Source filename [e.g. filename.par \-> filename.nii]: Y,N = Y .TP \fB\-g\fR gzip output, filename.nii.gz [ignored if '\-n n']: Y,N = Y .TP \fB\-i\fR ID in filename [filename.dcm \-> johndoe.nii]: Y,N = Y .TP \fB\-n\fR output .nii file [if no, create .hdr/.img pair]: Y,N = Y .TP \fB\-o\fR Output Directory, e.g. '/tmp' (if unspecified, source directory is used) .TP \fB\-p\fR Protocol in filename [filename.dcm \-> TFE_T1.nii]: Y,N = Y .TP \fB\-r\fR Reorient image to nearest orthogonal: Y,N .TP \fB\-s\fR SPM2/Analyze not SPM5/NIfTI [ignored if '\-n y']: Y,N = N .TP \fB\-v\fR Convert every image in the directory: Y,N = Y .TP \fB\-x\fR Reorient and crop 3D NIfTI images: Y,N = N .PP You can also set defaults by editing /home/michael/.dcm2nii/dcm2nii.ini .SH "EXAMPLES" dcm2nii -a y /home/joe/Documents/dcm/IM_0116 .SH "AUTHOR" \fBdcm2nii\fR was written by Chris Rorden. .PP This manual page was written by Michael Hanke , for the Debian project (but may be used by others). .SH "SEE ALSO" .BR mricron "(1)" .TP \fBMRIcron Homepage:\fR http://www.cabiatl.com/mricro/mricron/ debian/patches/0000755000000000000000000000000011754414332010621 5ustar debian/patches/lazarus_compat0000644000000000000000000000102711465771503013575 0ustar Description: Make code compatible with Debian's lazarus version This modification has been suggested by the upstream code. Forwarded: not-needed Author: Michael Hanke --- a/rgb/rgbgtkroutines.pas +++ b/rgb/rgbgtkroutines.pas @@ -33,7 +33,7 @@ uses SysUtils, Classes, LCLType, {$IFDEF LCLgtk2} - //gtkDef, //<- uncomment for older versions of Lazarus + gtkDef, //<- uncomment for older versions of Lazarus glib2, gdk2,gtk2Def, gtk2Proc, {$ELSE} //LCLgtk1 glib, gdk, gtkDef, gtkProc, debian/patches/series-lucid0000644000000000000000000000001711754414203013127 0ustar lazarus_compat debian/patches/series-squeeze0000644000000000000000000000001711754414203013510 0ustar lazarus_compat debian/patches/lucid-dsc-patch-lazarus_deps0000644000000000000000000000143211646554343016211 0ustar Description: Patch for Ubuntu 10.04 lucid that comes with an older lazarus version with different package names. Author: Michael Hanke Forwarded: not-needed --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: mricron Priority: extra Maintainer: NeuroDebian Team Uploaders: Michael Hanke , Yaroslav Halchenko -Build-Depends: debhelper (>= 7.0.50~), lcl-utils, lcl-gtk2 | lcl-gtk, lcl-units, fp-utils, fp-units-gfx, fp-units-misc, libgtk2.0-dev, imagemagick +Build-Depends: debhelper (>= 7.0.50~), lazarus (>=0.9.28), fp-utils, fp-units-gfx, fp-units-misc, libgtk2.0-dev, imagemagick Standards-Version: 3.9.2 Section: science Homepage: http://www.cabiatl.com/mricro/mricron/index.html debian/patches/series-maverick0000644000000000000000000000001711754414203013630 0ustar lazarus_compat debian/patches/series0000644000000000000000000000005311754414203012031 0ustar lazarus_modern debian_paths debian_version debian/patches/debian_paths0000644000000000000000000000212711754414203013164 0ustar Description: Patch to set proper (non-local) data paths By default mricron wants all data to be relavtive to its install directory. On Debian systems, however, it is located in /usr/share/mricron. Forwarded: not-needed Author: Michael Hanke --- a/nifti_img_view.pas +++ b/nifti_img_view.pas @@ -1604,7 +1604,9 @@ LoadMonochromeLUT(lInc,gBGImg,gMRIcroOverlay[kVOIOverlayNum]); SetBGImgDefaults(gBGImg); CloseImagesClick(nil); - gColorSchemeDir := extractfilepath(paramstr(0))+'lut'; + // Fixed path on Debian + //gColorSchemeDir := extractfilepath(paramstr(0))+'lut'; + gColorSchemeDir := '/usr/share/mricron/lut'; {$IFNDEF Unix} DragAcceptFiles(Handle, True); //engage drag and drop {$ENDIF} UpdateColorSchemes; @@ -1621,7 +1623,9 @@ YokeMenu.visible := false; {$ENDIF} {$ENDIF} - gTemplateDir := extractfilepath(paramstr(0))+'templates'; + // Fixed path on Debian + //gTemplateDir := extractfilepath(paramstr(0))+'templates'; + gTemplateDir := '/usr/share/mricron/templates'; UpdateTemplates; for lInc := 1 to knMRU do debian/patches/debian_version0000644000000000000000000000104711754414332013535 0ustar Description: Identify the Debian package version as such Forwarded: not-needed Author: Michael Hanke --- a/common/define_types.pas +++ b/common/define_types.pas @@ -18,7 +18,7 @@ SysUtils,classes,IniFiles, {$IFDEF GUI} forms,userdir, dialogs;{$ELSE} dialogsx;{$ENDIF} const - kMRIcronVers = '5 May 2012'; + kMRIcronVers = '5 May 2012 (Debian)'; NaN : double = 1/0; kMagicDouble : double = -111666222; kTxtFilter = 'Text (*.txt)|*.txt;*.csv|Comma Separated (*.csv)|*.csv'; debian/patches/lazarus_modern0000644000000000000000000000065311646531012013570 0ustar From: Michael Hanke Subject: Use modern lazarus version by default. --- a/rgb/rgbgtkroutines.pas +++ b/rgb/rgbgtkroutines.pas @@ -33,7 +33,7 @@ uses SysUtils, Classes, LCLType, {$IFDEF LCLgtk2} - gtkDef, //<- uncomment for older versions of Lazarus + //gtkDef, //<- uncomment for older versions of Lazarus glib2, gdk2,gtk2Def, gtk2Proc, {$ELSE} //LCLgtk1 glib, gdk, gtkDef, gtkProc, debian/mricron-data.install0000644000000000000000000000006211465767720013153 0ustar templates usr/share/mricron lut usr/share/mricron debian/mricron.lintian-overrides0000644000000000000000000000040611646523013014220 0ustar # This is a Pascal program that is completely self-contained and does not link # against anything -- not even statically against some internal convenience # library, and since it is Pascal, not even against libc mricron: statically-linked-binary usr/bin/dcm2nii