--- kipi-plugins-0.1.5-rc1/kipi-plugins/rawconverter/profiles/Makefile.am.icc 2007-12-29 19:02:34 +0300 +++ kipi-plugins-0.1.5-rc1/kipi-plugins/rawconverter/profiles/Makefile.am 2008-01-22 20:04:38 +0300 @@ -1,2 +1,2 @@ -kipirawconverterprofilesdir = $(kde_datadir)/kipiplugin_rawconverter/profiles -kipirawconverterprofiles_DATA = adobergb.icm srgb.icm widegamut.icm prophoto.icm +kipirawconverterprofilesdir = $(datadir)/color/icc +kipirawconverterprofiles_DATA = adobergb.icm widegamut.icm prophoto.icm --- kipi-plugins-0.1.5-rc1/kipi-plugins/rawconverter/rawdecodingiface.cpp.icc 2007-12-29 19:02:34 +0300 +++ kipi-plugins-0.1.5-rc1/kipi-plugins/rawconverter/rawdecodingiface.cpp 2008-01-22 20:02:43 +0300 @@ -86,15 +86,14 @@ RawDecodingIface::~RawDecodingIface() QByteArray RawDecodingIface::getICCProfilFromFile(KDcrawIface::RawDecodingSettings::OutputColorSpace colorSpace) { QString filePath; - KGlobal::dirs()->addResourceType("profiles", KGlobal::dirs()->kde_default("data") + - "kipiplugin_rawconverter/profiles"); + KGlobal::dirs()->addResourceType("profiles", "/usr/share/color/icc"); switch(colorSpace) { case KDcrawIface::RawDecodingSettings::SRGB: { - filePath = KGlobal::dirs()->findResourceDir("profiles", "srgb.icm"); - filePath.append("srgb.icm"); + filePath = KGlobal::dirs()->findResourceDir("profiles", "sRGB.icm"); + filePath.append("sRGB.icm"); break; } case KDcrawIface::RawDecodingSettings::ADOBERGB: