Skip to content

Commit

Permalink
New release (1.0.20190410)
Browse files Browse the repository at this point in the history
  • Loading branch information
neurolabusc committed May 28, 2019
1 parent 60bb4bd commit f5fa456
Show file tree
Hide file tree
Showing 25 changed files with 4,821 additions and 1,326 deletions.
12 changes: 6 additions & 6 deletions _lazwin.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ copy /Y .\common\gui.inc .\common\isgui.inc
#cd c:\pas\mricron\niftiview7
# C:\PROGRA~2\BORLAND\DELPHI7\BIN\dcc32 -UC:\pas\d7\rx275d7\Units;C:\PROGRA~2\PngComponents\Source -B mricron.dpr
# c:\strip c:\pas\mricron\niftiview7\mricron.exe
c:\lazarus\lazbuild mricron.lpr
c:\lazarus\fpc\3.0.0\bin\x86_64-win64\strip mricron.exe
copy /Y mricron.exe c:\mricron
d:\lazarus\lazbuild mricron.lpr
d:\lazarus\fpc\3.0.4\bin\x86_64-win64\strip mricron.exe
copy /Y mricron.exe d:\neuro\mricron

call _clean.bat

del d:\neuro\MRIcron\mricron.ini
REM compress MRIcron
c:\Progra~1\7-Zip\7z a -tzip c:\pas\wincron.zip c:\mricron
c:\Progra~1\7-Zip\7z a -tzip d:\neuro\MRIcron_Windows.zip d:\neuro\MRIcron
REM copy /Y c:\pas\wincron.zip Y:\mcbi\MCBI\CRNL\sw\mricron\win.zip

REM compress Source
c:\Progra~1\7-Zip\7z a -tzip c:\pas\mricron_windows.zip c:\pas\mricron
# c:\Progra~1\7-Zip\7z a -tzip c:\pas\mricron_windows.zip c:\pas\mricron
REM copy c:\pas\srccron.zip Y:\mcbi\MCBI\CRNL\sw\mricron\source.zip


52 changes: 0 additions & 52 deletions _lazwin_old.bat

This file was deleted.

17 changes: 9 additions & 8 deletions _osx.command
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
# to build your own version you typically run
# lazbuild -B filename.lpr

#compile dcm2niix
cd ~/dcm2niix/console
g++ -O3 -dead_strip -I. main_console.cpp nii_foreign.cpp nii_dicom.cpp nifti1_io_core.cpp nii_ortho.cpp nii_dicom_batch.cpp jpg_0XC3.cpp ujpeg.cpp -o dcm2niix -I/usr/local/lib -I/usr/local/include/openjpeg-2.1 /usr/local/lib/libopenjp2.a
cp dcm2niix /Users/rorden/Documents/mricron/MRIcron/dcm2niix
cp dcm2niix /Users/rorden/Documents/mricron/MRIcron/MRIcron.app/Contents/Resources/dcm2niix

: <<'SKIPDCM2NIIX'
#compile dcm2niix
#warning: recent versions of macOS do not include libstdc++
cd ~/dcm2niix/console
g++ -O3 -dead_strip -I. main_console.cpp nii_foreign.cpp nii_dicom.cpp nifti1_io_core.cpp nii_ortho.cpp nii_dicom_batch.cpp jpg_0XC3.cpp ujpeg.cpp -o dcm2niix -I/usr/local/lib -I/usr/local/include/openjpeg-2.1 /usr/local/lib/libopenjp2.a
cp dcm2niix /Users/rorden/Documents/mricron/MRIcron/dcm2niix
cp dcm2niix /Users/rorden/Documents/mricron/MRIcron/MRIcron.app/Contents/Resources/dcm2niix
SKIPDCM2NIIX

cd /Users/rorden/Documents/pas/mricron

Expand All @@ -29,7 +31,6 @@ chmod 777 ./_xclean.bat
/Users/rorden/lazarus/lazbuild ./dcm2nii/dcm2niigui.lpr --cpu=x86_64 --ws=cocoa --compiler="/usr/local/lib/fpc/3.1.1/ppcx64"
strip ./dcm2nii/dcm2niigui
cp ./dcm2nii/dcm2niigui /Users/rorden/Documents/mricron/MRIcron/dcm2niigui.app/Contents/MacOS/dcm2niigui
SKIPDCM2NII
: <<'SKIPNPM'
/Users/rorden/lazarus/lazbuild ./npm/npm.lpr --cpu=x86_64 --ws=cocoa --compiler="/usr/local/lib/fpc/3.1.1/ppcx64"
Expand All @@ -51,7 +52,7 @@ SKIPNPM

strip ./mricron

cp ./mricron /Users/rorden/Documents/mricron/MRIcron/mricron.app/Contents/MacOS/mricron
cp ./mricron /Users/rorden/Documents/mricron/MRIcron/MRIcron.app/Contents/MacOS/MRIcron

awk '{gsub(/Active="MacOS"/,"Active=\"Default\"");}1' mricron.lps > mricron.tmp && mv mricron.tmp mricron.lps

Expand Down
File renamed without changes.
57 changes: 0 additions & 57 deletions _osx_old.command

This file was deleted.

Binary file removed btn/pastedpic_08032008_133503.png
Binary file not shown.
Loading

0 comments on commit f5fa456

Please sign in to comment.