"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "config/loader.sce.in" between
sip-0.5.6.tar.gz and sip-0.12.1.tar.gz

About: SIP (Scilab Image Processing) toolbox to do imaging tasks such as filtering, blurring, edge detection, thresholding, histogram manipulation, segmentation, mathematical morphology, color image processing, etc.

loader.sce.in  (sip-0.5.6):loader.sce.in  (sip-0.12.1)
skipping to change at line 31 skipping to change at line 31
// //
// specific part // specific part
libname='siplib' libname='siplib'
libtitle='SIP - Scilab Image Processing Toolbox @PACKAGE_VERSION@'; libtitle='SIP - Scilab Image Processing Toolbox @PACKAGE_VERSION@';
// get the absolute path // get the absolute path
SIPDIR=get_absolute_file_path('loader.sce') + '/'; SIPDIR=get_absolute_file_path('loader.sce') + '/';
SIPDEMO=SIPDIR+'macros/sipdemo_gui.dem'; SIPDEMO=SIPDIR+'macros/sipdemo_gui.dem';
// resets the default image viewer
SIPVIEWER = 'sci';
// load the library macros // load the library macros
execstr(libname+'=lib(""'+SIPDIR+'macros/'+'"")') execstr(libname+'=lib(""'+SIPDIR+'macros/'+'"")')
// XXX TODO PREDEF ALL??? // XXX TODO PREDEF ALL???
// add the help chapter // add the help chapter and some utilities
scilab_version=getversion(); scilab_version=getversion();
if scilab_version=="scilab-2.7" then if scilab_version=="scilab-2.7" then
%helps = [%helps; SIPDIR+'man', libtitle] %helps = [%helps; SIPDIR+'man', libtitle]
else else
if (str2code( part(scilab_version, 8)) <= 4) then //version <= 4.x.x if (str2code( part(scilab_version, 8)) <= 4) then //version <= 4.x.x
add_help_chapter(libtitle, SIPDIR + 'man'); add_help_chapter(libtitle, SIPDIR + 'man');
else else
//scilab 5 // Scilab 5
path_addchapter = SIPDIR + "jar/"; path_addchapter = SIPDIR + "jar/";
if ( fileinfo(path_addchapter) <> [] ) then if ( fileinfo(path_addchapter) <> [] ) then
add_help_chapter(libtitle, path_addchapter, %F); add_help_chapter(libtitle, path_addchapter, %F);
clear add_help_chapter; clear add_help_chapter;
end end
// load utilities (aliases etc)
exec(SIPDIR+'macros/sip_init.sce');
end end
end end
// ADD C routines // ADD C routines
exec (SIPDIR+'loader_include.sce'); exec (SIPDIR+'loader_include.sce');
mess=[libtitle+' loaded'; mess=[libtitle+' loaded';
'Enter ""exec(SIPDEMO);"" for demonstrations.'; '']; 'Enter ""exec(SIPDEMO);"" for demonstrations.'; ''];
write(%io(2),'--------------------------------------------'); write(%io(2),'--------------------------------------------');
 End of changes. 4 change blocks. 
2 lines changed or deleted 7 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS