[Digikam-devel] [Bug 258409] Tags and TagsTree table is empty after DB migration from sqlite to mysql

Francesco Riosa francesco at pnpitalia.it
Fri May 6 21:04:43 BST 2011


https://bugs.kde.org/show_bug.cgi?id=258409





--- Comment #8 from Francesco Riosa <francesco pnpitalia it>  2011-05-06 22:04:40 ---
(In reply to comment #7)
> Hi Francesco, 
> 
> I'm a bit confused. Whe I look in my sqlite database with a sqlite browser, I
> don't see a table TagProperties. Is this maybe the problem?

Hi, possibly not present in previous version, and I'll look at that in future
but for now if you want to test the git version that would be the best thing.

[snip]

> I'd be willing to test with the patched git version. I there a howto for this?
> Will this have impact for the rest of kde?

Should have no impact, just be sure to backup your $HOME/.kde*/ , expecially
.kde/share/{apps/digikam,config/digikamrc} (or better setup a new test user).
Also backup the digikam database

there is a tutorial at http://www.digikam.org/drupal/download?q=download/GIT
but if you want to install as user (which is less invasive) follow these steps:

8< 8< 8< 8< 8< 8< 8<
cd # go @ home
git clone http://anongit.kde.org/digikam-software-compilation digikam-sc
cd digikam-sc
# the following a bunch of things namely:
# digikam libkface libkmap kipi-plugins libkexiv2 libkdcraw
# libkipi libksane libmediawiki digikam-doc kipi-plugins-doc
# it's ~ 300MB download take some coffe
./download-repos
# if you already have all dependancies installed you're ready to build it:
mkdir build
cd build
cmake \
    -DCMAKE_INSTALL_PREFIX=${HOME}/usr \
    -DSYSCONF_INSTALL_DIR=${HOME}/etc \
    -DCMAKE_BUILD_TYPE=Debugfull \
    -DCMAKE_INSTALL_DO_STRIP=OFF \
    .. \
&& make -j2 \
&& make install
# time for another coffe
8< 8< 8< 8< 8< 8< 8<

To be able to run digikam or showfoto from ${HOME}/usr you need to set some
environment variables and to rebuild some caches, I've a script that does it
for me:

8< 8< 8< 8< 8< 8< 8<
#! /bin/bash

export DIGIKAM_DIR=~/usr
export PATH=$DIGIKAM_DIR/bin:$PATH
export LD_LIBRARY_PATH=$DIGIKAM_DIR/lib:$LD_LIBRARY_PATH
export KDEDIR=$DIGIKAM_DIR
export KDEDIRS=$KDEDIR
export XDG_DATA_DIRS=$XDG_DATA_DIRS:$DIGIKAM_DIR/share
# update KDE's system configuration cache
kbuildsycoca4
# start app
digikam $@
8< 8< 8< 8< 8< 8< 8<

kbuildsycoca4 is long and not really needed if system isn't changed from latest
kbuildsycoca4 run, but better safe than sorry. The same script apply for other
programs, replacing the last line "digikam $@" as appropriate.

time for enjoing the new splashscreens committed some hours ago ;)

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list