Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 165260 | Differences between
and this patch

Collapse All | Expand All

(-)digikam-0.9.0/digikam/libs/dcraw/dcrawbinary.cpp (-1 / +1 lines)
Lines 107-113 Link Here
107
107
108
const char *DcrawBinary::path()
108
const char *DcrawBinary::path()
109
{
109
{
110
    return "digikamdcraw";
110
    return "dcraw";
111
}
111
}
112
112
113
bool DcrawBinary::isAvailable() const
113
bool DcrawBinary::isAvailable() const
(-)digikam-0.9.0/digikam/libs/dcraw/Makefile.am (-23 lines)
Lines 13-38 Link Here
13
13
14
libdcraw_la_LDFLAGS = $(all_libraries) $(KDE_RPATH)
14
libdcraw_la_LDFLAGS = $(all_libraries) $(KDE_RPATH)
15
15
16
#-- dcraw binary -------------------------------------------------
17
18
# digiKam use a dedicaced dcraw binary program to run. This is mandatory 
19
# since dcraw author have broken the command line options 
20
# compatibility with the 8.x serie.
21
# Also, dcraw is not available like a library.
22
# The dcraw.c source code is just a copy of official implementation, but 
23
# this one have been completly tested with digiKam core. 
24
# Note: dcraw project page is http://cybercom.net/~dcoffin
25
26
bin_PROGRAMS = digikamdcraw
27
28
# This line is require to prevent broken compilation with -std=iso9899:1990 gcc option.
29
# In fact, dcraw.c use lcms.h witch use the "inline" keyword witch do not exist in pure C 
30
# implementation. The -Dinline option please compiler to see inline with this option.
31
# Note : using -std-c99 instead -std=iso9899:1990 is not possible because some compiler 
32
# do not support it.
33
# Thanks to Andras Mantia for this tip.
34
digikamdcraw_CFLAGS = -Dinline= -w
35
36
digikamdcraw_SOURCES = dcraw.c
37
38
digikamdcraw_LDFLAGS = $(all_libraries) $(LIBJPEG) $(LCMS_LIBS) 

Return to bug 165260