Hello. I've got in contact with the author of SilkRAW, a GUI for dcraw written in Hollywood. I asked him if he could build SilkRAW for AROS as well, since we had both RapaGUI and dcraw, however, we stumbled into two main issues.
The first one is related to his Hollywood program, and he will check.
The second one is related to our port of dcraw, which is quite outdated. We have dcraw 8.88, while AmigaOS 4.1 has the 9.28 version, at least according to this:
http://os4depot.net/index.php?function=showfile&file=graphics/convert/dcraw.lhaThe archive above includes sources used for the OS4 version and a Makefile (which I guess it should be adapted).
I tried, with my zero knowledge of coding, to compile it with gcc, but I miserably failed. I get some missing symbols and the resulting executable is not built. I also tried with the original dcraw.c source from Dave Coffin, same result.
So the question is: can someone please try to compile the same version used for OS4 (linked above) for i386 ABIv0 and send it to me? This will at least give us a up-to-date version of the tool, and the chance to get SilkRAW as well (please notice I will not be authorized to include SilkRAW into Icaros Desktop, since the author does not want, but AROS users with digital cameras deserve this more comfortable tool).
/Work/MyWorkspace/DCRaw/Source> gcc -mcrt=newlib -O2 -g -Wall -c -o dcraw.o dcraw.c
cc1: error: unrecognized command line option '-mcrt=newlib'
/Work/MyWorkspace/DCRaw/Source> gcc -O2 -g -Wall -c -o dcraw.o dcraw.c
dcraw.c: In function 'getreal':
dcraw.c:356:2: warning: implicit declaration of function 'getc_unlocked' [-Wimplicit-function-declaration]
dcraw.c: In function 'parse_phase_one':
dcraw.c:6655:26: warning: variable 'type' set but not used [-Wunused-but-set-variable]
dcraw.c: In function 'xtrans_interpolate':
dcraw.c:4649:12: warning: 'sgcol' may be used uninitialized in this function [-Wuninitialized]
dcraw.c:4649:12: warning: 'sgrow' may be used uninitialized in this function [-Wuninitialized]
/Work/MyWorkspace/DCRaw/Source> dcraw.o
dcraw.o[1]: syntax error: `^_^\U$Iå]Ã$MvU$Iå]Ã$MvU$IåWVS$Cìl^O·^E^O·^U^O¯Â$M^D$@Áø^C$IE$P1ÛÇE$L$MuÞ$P$?5j' unexpected
/Work/MyWorkspace/DCRaw/Source> gcc -O2 -g -Wall -c -o swab.o swab.c
swab.c:3:6: error: conflicting types for 'swab'
/Development/include/aros/posixc/unistd.h:427:6: note: previous declaration of 'swab' was here
/Work/MyWorkspace/DCRaw/Source> gcc -o dcraw -O4 dcraw.c -lm -ljasper -ljpeg -llcms2
There are undefined symbols in 'dcraw':
getc_unlocked
strnlen
/Work/MyWorkspace/DCRaw/Source> gcc -o dcraw -O4 dcraw.c swab.c -lm -ljasper -ljpeg -llcms2
swab.c:3:6: error: conflicting types for 'swab'
/Development/include/aros/posixc/unistd.h:427:6: note: previous declaration of 'swab' was here
/Work/MyWorkspace/DCRaw/Source> gcc -o dcraw -O4 swab.c dcraw.c -lm -ljasper -ljpeg -llcms2
swab.c:3:6: error: conflicting types for 'swab'
/Development/include/aros/posixc/unistd.h:427:6: note: previous declaration of 'swab' was here
/Work/MyWorkspace/DCRaw/Source> gcc -o dcraw -O4 swab.c dcraw.c -use-static -lm -ljasper -ljpeg -llcms2
swab.c:3:6: error: conflicting types for 'swab'
/Development/include/aros/posixc/unistd.h:427:6: note: previous declaration of 'swab' was here
gcc -o dcraw -O4 dcraw.c -use-static -lm -ljasper -ljpeg -llcms2
/Work/MyWorkspace/DCRaw/Source> ls
There are undefined symbols in 'dcraw':
getc_unlocked
strnlen
se-static
/Work/MyWorkspace/DCRaw/Source> Makefile dcraw.c dcraw.o swab.c
/Work/MyWorkspace/DCRaw/Source> ls
Makefile dcraw.c dcraw.o swab.c
/Work/MyWorkspace/DCRaw/Source> gcc -o dcraw -O4 dcraw.c -use-static -lm -ljasper -ljpeg -llcms2-llcms2
There are undefined symbols in 'dcraw':
getc_unlocked
strnlen
se-static
/Work/MyWorkspace/DCRaw/Source>
Thanks and kind regards