[digikam] [Bug 123097] SCAN : ignore some directories in digiKam [patch]
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Wed Nov 2 08:45:52 GMT 2016
https://bugs.kde.org/show_bug.cgi?id=123097
caulier.gilles at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #101805|0 |1
is obsolete| |
--- Comment #27 from caulier.gilles at gmail.com ---
Created attachment 101955
--> https://bugs.kde.org/attachment.cgi?id=101955&action=edit
updated patch to link fine.
[ 9%] Linking CXX shared library libdigikamcore.so
[ 9%] Built target digikamcore
[ 9%] Linking CXX shared library libdigikamdatabase.so
CMakeFiles/digikamdatabase_src.dir/collection/collectionscanner.cpp.o: In
function `Digikam::CollectionScanner::CollectionScanner()':
/home/gilles/Devel/5.x/core/libs/database/collection/collectionscanner.cpp:363:
undefined reference to `Digikam::ApplicationSettings::instance()'
/home/gilles/Devel/5.x/core/libs/database/collection/collectionscanner.cpp:363:
undefined reference to `Digikam::ApplicationSettings::getDbEngineParameters()
const'
collect2: error: ld returned 1 exit status
You try to use symbols defined in libdigiKam into libdigikamdatabase. Symbols
are separated due to use libdigikam with showfoto which is database free.
In fact you just want to print as debug statement the DB engine parameters from
ApplicationSettings in CollectionScanner. This is not permit at linking time to
prevent cycling symbols linking.
To get DbEngineParameters in CollectionScanner, just use
DbCoreAcess.parameters() as well.
Note : never use Tabs in source code. This break the coding style.
Note2 : In CollectionScanner, i suppose that all is not yet implemented. The
new settings from DbEngineParameters about directories to ignore while scanning
collections is just not used. All checks about "@eaDir" still hard-coded as
well. Right ?
Gilles Caulier
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list