How to build Digikam?

classic Classic list List threaded Threaded
36 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: How to build Digikam?

Gilles Caulier-4
Arnd,

with commit #830612, i hav efixed a similar issue in libkexiv2 for
KDE3. please test and report

Gilles

2008/7/10 Arnd Baecker <[hidden email]>:

> Dotan,
>
> the exiv2 issue we discussed on IRC today is solved in current svn.
> Do
>  cd kdegraphics
>  svn up libs
>  svn up cmake
> remove the build directory and redo
> (Actually, removing the CMakeCache.txt in there should be enough ....)
>
> Best, Arnd
>
> On Wed, 9 Jul 2008, Dotan Cohen wrote:
>
>> 2008/7/9 Arnd Baecker <[hidden email]>:
>> > You should do:
>> >  export PATH=/usr/lib/kde4/bin/:$PATH
>> > on the konsole before doing the cmake stuff.
>> >
>>
>> Thank you Arnd, however, I get the same error:
>>
>> hardy@hardy-laptop:~/graphics/build$ export PATH=/usr/lib/kde4/bin/:$PATH
>> hardy@hardy-laptop:~/graphics/build$ cmake
>> -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4
>> ../../graphics/
>> CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:72
>> (MESSAGE):
>>   ERROR: cmake/modules/FindKDE4Internal.cmake not found in
>>   /home/hardy/.kde4/share/apps;/usr/lib/kde4/share/kde4/apps
>> Call Stack (most recent call first):
>>   CMakeLists.txt:9 (find_package)
>>
>>
>> CMake Warning (dev) in CMakeLists.txt:
>>   No cmake_minimum_required command is present.  A line of code such as
>>
>>     cmake_minimum_required(VERSION 2.6)
>>
>>   should be added at the top of the file.  The version specified may be lower
>>   if you wish to support older CMake versions for this project.  For more
>>   information run "cmake --help-policy CMP0000".
>> This warning is for project developers.  Use -Wno-dev to suppress it.
>>
>> -- Configuring done
>> hardy@hardy-laptop:~/graphics/build$
>>
>> Dotan Cohen
>>
>> http://what-is-what.com
>> http://gibberish.co.il
>> א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
>>
>> A: Because it messes up the order in which people normally read text.
>> Q: Why is top-posting such a bad thing?
>> _______________________________________________
>> Digikam-users mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-users
>>
>>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: How to build Digikam?

Dotan Cohen
In reply to this post by Arnd Baecker
2008/7/10 Arnd Baecker <[hidden email]>:

> Dotan,
>
> the exiv2 issue we discussed on IRC today is solved in current svn.
> Do
>  cd kdegraphics
>  svn up libs
>  svn up cmake
> remove the build directory and redo
> (Actually, removing the CMakeCache.txt in there should be enough ....)
>
> Best, Arnd
>

Thank you Arnd. I will try to compile it tomorrow. Good night.

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: How to build Digikam?

Bugzilla from gandalf.lechner@univie.ac.at
In reply to this post by Arnd Baecker
Hooray,

after a fresh checkout, everything compiles again, thanks for fixing it!
However, I still can't see any thumbnails/images. Let me describe a few more
strange things I experience here:


- When running cmake ... from a build dir within graphics/, all the cmake
stuff like CMakeCache.txt, CMakeFiles/, etc was created in graphics/ itself
instead of graphics/build . Compiling in graphics/ work fine, however.

- In the config dialog Settings->Config digikam->Kipi Plugins, it says "0 Kipi
plugins found", although I compiled and installed them from svn, too.

- I tried to import images manually, but the "Add Images" button in
the "Import" menu is grayed out and can't be used.

- My album structure, tag structure and saved searches appear as in the old
digikam, but the timeline view is empty.

- The "Batch" and "Export" menus are missing: The buttons appear in the menu
bar, but clicking them does not expand any menu.


Is the above to be expected in this beta or rather a sign that something
wasn't set up properly here? I'm really looking forward to testing the new
digikam, so any help in sorting out these issues is greatly appreciated!

Best,
Gandalf





Am Donnerstag 10 Juli 2008 21:30:19 schrieb Arnd Baecker:

> Dotan,
>
> the exiv2 issue we discussed on IRC today is solved in current svn.
> Do
>   cd kdegraphics
>   svn up libs
>   svn up cmake
> remove the build directory and redo
> (Actually, removing the CMakeCache.txt in there should be enough ....)
>
> Best, Arnd
>
> On Wed, 9 Jul 2008, Dotan Cohen wrote:
> > 2008/7/9 Arnd Baecker <[hidden email]>:
> > > You should do:
> > >  export PATH=/usr/lib/kde4/bin/:$PATH
> > > on the konsole before doing the cmake stuff.
> >
> > Thank you Arnd, however, I get the same error:
> >
> > hardy@hardy-laptop:~/graphics/build$ export PATH=/usr/lib/kde4/bin/:$PATH
> > hardy@hardy-laptop:~/graphics/build$ cmake
> > -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/usr/lib/kde4
> > ../../graphics/
> > CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:72
> > (MESSAGE):
> >   ERROR: cmake/modules/FindKDE4Internal.cmake not found in
> >   /home/hardy/.kde4/share/apps;/usr/lib/kde4/share/kde4/apps
> > Call Stack (most recent call first):
> >   CMakeLists.txt:9 (find_package)
> >
> >
> > CMake Warning (dev) in CMakeLists.txt:
> >   No cmake_minimum_required command is present.  A line of code such as
> >
> >     cmake_minimum_required(VERSION 2.6)
> >
> >   should be added at the top of the file.  The version specified may be
> > lower if you wish to support older CMake versions for this project.  For
> > more information run "cmake --help-policy CMP0000".
> > This warning is for project developers.  Use -Wno-dev to suppress it.
> >
> > -- Configuring done
> > hardy@hardy-laptop:~/graphics/build$
> >
> > Dotan Cohen
> >
> > http://what-is-what.com
> > http://gibberish.co.il
> > א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
> >
> > A: Because it messes up the order in which people normally read text.
> > Q: Why is top-posting such a bad thing?
> > _______________________________________________
> > Digikam-users mailing list
> > [hidden email]
> > https://mail.kde.org/mailman/listinfo/digikam-users
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: How to build Digikam?

Marcel Wiesweg
> Hooray,
>
> after a fresh checkout, everything compiles again, thanks for fixing it!
> However, I still can't see any thumbnails/images. Let me describe a few
> more strange things I experience here:
>
>
> - When running cmake ... from a build dir within graphics/, all the cmake
> stuff like CMakeCache.txt, CMakeFiles/, etc was created in graphics/ itself
> instead of graphics/build . Compiling in graphics/ work fine, however.
>
> - In the config dialog Settings->Config digikam->Kipi Plugins, it says "0
> Kipi plugins found", although I compiled and installed them from svn, too.
>
> - I tried to import images manually, but the "Add Images" button in
> the "Import" menu is grayed out and can't be used.
>
> - My album structure, tag structure and saved searches appear as in the old
> digikam, but the timeline view is empty.
>
> - The "Batch" and "Export" menus are missing: The buttons appear in the
> menu bar, but clicking them does not expand any menu.
>
>
> Is the above to be expected in this beta or rather a sign that something
> wasn't set up properly here? I'm really looking forward to testing the new
> digikam, so any help in sorting out these issues is greatly appreciated!

That's all symptoms of the same disease, that in your setup KDE does not find
installed files. Therefore you have no plugins of any sort, you have no
ioslaves (you dont see any pictures, timeline is empty), you have no export
options.
What you still see (albums, tags, searches) comes from the digikam database
file without any further libs or plugins.

Marcel
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: How to build Digikam?

Bugzilla from gandalf.lechner@univie.ac.at
> ...
> That's all symptoms of the same disease, that in your setup KDE does not
> find installed files. Therefore you have no plugins of any sort, you have
> no ioslaves (you dont see any pictures, timeline is empty), you have no
> export options.
> What you still see (albums, tags, searches) comes from the digikam database
> file without any further libs or plugins.

Hi all,

I don't know what's wrong here, but changing the digikam install path to
/usr/lib/kde4 instead of a custom path resolved the issue, now I finally have a
working digikam 0.10! The thumbnails, kipi-plugins, lensfun, marble widget,
it's all there =)

I can see improvements in many places, and overall high potential for a superb
program. So first of all, let me thank the developers for all the hard work
that you have obviously put into it! The new search methods, in particular
searching on a map, look fantastic, and also the lens correction tool is
greatly appreciated.

On the other hand, there are still many bugs around. To begin with, clicking a
thumbnail does not show the picture, but only white screen :o ... In edit
mode, I can see and edit my pics, though.
Well, I'll write some bug reports in the next days.

Until then, thanks for digikam, and best regards,
Gandalf



> Marcel
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: How to build Digikam?

Gilles Caulier-4
2008/7/11 Gandalf Lechner <[hidden email]>:

>> ...
>> That's all symptoms of the same disease, that in your setup KDE does not
>> find installed files. Therefore you have no plugins of any sort, you have
>> no ioslaves (you dont see any pictures, timeline is empty), you have no
>> export options.
>> What you still see (albums, tags, searches) comes from the digikam database
>> file without any further libs or plugins.
>
> Hi all,
>
> I don't know what's wrong here, but changing the digikam install path to
> /usr/lib/kde4 instead of a custom path resolved the issue, now I finally have a
> working digikam 0.10! The thumbnails, kipi-plugins, lensfun, marble widget,
> it's all there =)
>
> I can see improvements in many places, and overall high potential for a superb
> program. So first of all, let me thank the developers for all the hard work
> that you have obviously put into it! The new search methods, in particular
> searching on a map, look fantastic, and also the lens correction tool is
> greatly appreciated.
>
> On the other hand, there are still many bugs around. To begin with, clicking a
> thumbnail does not show the picture, but only white screen :o ... In edit
> mode, I can see and edit my pics, though.

Already reported to bugzilla and fixed to svn...

Gilles Caulier
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Upload to Picasaweb plugin broken?

tictactatic
In reply to this post by Bugzilla from gandalf.lechner@univie.ac.at
Hi Guys,

I had to upload some photos to Picasaweb. The plugin launched, connected to
the server seemingly successfully (the plugin never gives any feedback
regarding interaction with the server). I created a new album sucessfully
(saw the operation had worked via Firefox), but the album dropdown remained
blank. I tried uploading photos anyway, the progress bar window popped up,
but never went anywhere, and none of the photos got to the server (again
checked thru Firefox).

I am using Digikam 0.9.3. on KDE 3.5.9, Kubuntu Hardy, Kipi libraries 0.1.5

I know I should write to the plugin maker, but has anybody on the list had
similar or any experiences with this plugin?

All the best,

Sava

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Upload to Picasaweb plugin broken?

Gilles Caulier-4
this have been fixed in current kipi-plugins 0.1.6-beta1.

http://downloads.sourceforge.net/kipi/kipi-plugins-0.1.6-beta1.tar.bz2?modtime=1212015146&big_mirror=0

Best

Gilles Caulier


2008/7/12 Sava Tatic <[hidden email]>:

> Hi Guys,
>
> I had to upload some photos to Picasaweb. The plugin launched, connected to
> the server seemingly successfully (the plugin never gives any feedback
> regarding interaction with the server). I created a new album sucessfully
> (saw the operation had worked via Firefox), but the album dropdown remained
> blank. I tried uploading photos anyway, the progress bar window popped up,
> but never went anywhere, and none of the photos got to the server (again
> checked thru Firefox).
>
> I am using Digikam 0.9.3. on KDE 3.5.9, Kubuntu Hardy, Kipi libraries 0.1.5
>
> I know I should write to the plugin maker, but has anybody on the list had
> similar or any experiences with this plugin?
>
> All the best,
>
> Sava
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: How to build Digikam?

Dotan Cohen
In reply to this post by Arnd Baecker
2008/7/10 Arnd Baecker <[hidden email]>:

> Dotan,
>
> the exiv2 issue we discussed on IRC today is solved in current svn.
> Do
>  cd kdegraphics
>  svn up libs
>  svn up cmake
> remove the build directory and redo
> (Actually, removing the CMakeCache.txt in there should be enough ....)
>
> Best, Arnd
>

Thanks, Arnd. I am trying to build with a script that basically runs
the notes that you posted earlier. Don't laugh, I'm ME not CS :)

#!/bin/bash

# get sudo permission
sudo ls

# ### Modifiy according to your destination:
DIGIKAMKDE4=$HOME/NBB/SOFTWARE/DEV_digikam4
export PATH=/usr/lib/kde4/bin/:$PATH

export LANG=C
export KDEDIRS=$DIGIKAMKDE4:/usr/lib/kde4/
export LD_LIBRARY_PATH=$DIGIKAMKDE4/lib:$LD_LIBRARY_PATH
export LDPATH=$DIGIKAMKDE4/lib:$LDPATH
export PATH=$DIGIKAMKDE4/bin:$PATH
export PKG_CONFIG_PATH=$DIGIKAMKDE4/lib/pkgconfig


##Checkout KDE4 version

echo "--kde--"

# exiv2
wget http://www.exiv2.org/exiv2-0.17.1.tar.gz && \
tar xzf exiv2-0.17.1.tar.gz && \
cd exiv2-0.17.1 && \
./configure --prefix=$DIGIKAMKDE4 && \
make && \
sudo make install && \

# http://lensfun.berlios.de
svn checkout svn://svn.berlios.de/lensfun/trunk && \
./configure --prefix=$DIGIKAMKDE4 && \
sudo make install && \


# kdegraphics libs svn source for KDE4
# (includes libkipi, libkdcraw, libkexiv2, libksane) :

echo "--kde-graphics--" && \
svn co -N svn://anonsvn.kde.org/home/kde/trunk/KDE/kdegraphics && \
cd kdegraphics && \
echo "--kde-graphics-- up libs" && \
svn up libs && \
echo "--kde-graphics-- up cmake" && \
svn up cmake && \

# Checkout the latest digiKam and Kipi-plugins SVN source for KDE4:

echo "--latest digiKam and Kipi-plugins--" && \
cd .. && \
svn co -N svn://anonsvn.kde.org/home/kde/trunk/extragear/graphics && \
cd graphics && \
echo "--latest digiKam and Kipi-plugins-- up digikam" && \
svn up digikam && \
echo "--latest digiKam and Kipi-plugins-- up kipi-plugins" && \
svn up kipi-plugins && \
echo "--latest digiKam and Kipi-plugins-- up cmake" && \
svn up cmake && \

# Installation for KDE4 in your system (/opt/kde4)
cd .. && \


#To compile the source code under linux you have to give these
commands in the source code folders. You should use a seperate build
folder to help cleaning up sources if something goes wrong.

echo "--to compile soure--" && \

#cd ~/NBB/INSTALL_SOFTWARE/DIGIKAM4/kdegraphics/ && \
#rm -rf build && \
#mkdir build && \
#cd build && \
# next two lines added as per irc conversation:
mkdir /home/hardy/digikam-notes/exiv2-0.17.1/kdegraphics/build && \
cd /home/hardy/digikam-notes/exiv2-0.17.1/kdegraphics/build && \
# next line I modified
echo "--to compile soure--cmake" && \
cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=$DIGIKAMKDE4
../../kdegraphics && \
echo "--to compile soure--make" && \
make && \
echo "--to compile soure--make install" && \
sudo make install && \



#Now for digikam itself:

echo "--digikam--" && \

cd ~/NBB/INSTALL_SOFTWARE/DIGIKAM4/graphics/ && \
mkdir build && \
cd build && \
rm CMakeCache.txt && \
echo "--digikam--cmake" && \
cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=$DIGIKAMKDE4 && \
../../graphics && \
echo "--digikam--make" && \
make && \
echo "--digikam--make install" && \
sudo make install && \

echo "--done!!!--"



I run the script in an otherwise empty ~/digikam-notes directory. The
script gets up to the last part (#Now for digikam itself:) and then
complains:
-- Installing: /home/hardy/NBB/SOFTWARE/DEV_digikam4/include/libkexiv2/version.h
--digikam--
../build_digikam: line 89: cd:
/home/hardy/NBB/INSTALL_SOFTWARE/DIGIKAM4/graphics/: No such file or
directory
hardy@hardy-laptop:~/digikam-notes$

I can manually make that directory, but it does not help. Note that
~/NBB does not exist when I start the ./build_digikam script, and is
created and owned by root when the script is done.

What have I done wrong?

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: How to build Digikam?

Arnd Baecker
On Sat, 12 Jul 2008, Dotan Cohen wrote:

> 2008/7/10 Arnd Baecker <[hidden email]>:
> > Dotan,
> >
> > the exiv2 issue we discussed on IRC today is solved in current svn.
> > Do
> >  cd kdegraphics
> >  svn up libs
> >  svn up cmake
> > remove the build directory and redo
> > (Actually, removing the CMakeCache.txt in there should be enough ....)
> >
> > Best, Arnd
> >
>
> Thanks, Arnd. I am trying to build with a script that basically runs
> the notes that you posted earlier. Don't laugh, I'm ME not CS :)
>
> #!/bin/bash
>
> # get sudo permission
> sudo ls
>
> # ### Modifiy according to your destination:
> DIGIKAMKDE4=$HOME/NBB/SOFTWARE/DEV_digikam4
> export PATH=/usr/lib/kde4/bin/:$PATH
>
> export LANG=C
> export KDEDIRS=$DIGIKAMKDE4:/usr/lib/kde4/
> export LD_LIBRARY_PATH=$DIGIKAMKDE4/lib:$LD_LIBRARY_PATH
> export LDPATH=$DIGIKAMKDE4/lib:$LDPATH
> export PATH=$DIGIKAMKDE4/bin:$PATH
> export PKG_CONFIG_PATH=$DIGIKAMKDE4/lib/pkgconfig
>
>
> ##Checkout KDE4 version
>
> echo "--kde--"
>
> # exiv2
> wget http://www.exiv2.org/exiv2-0.17.1.tar.gz && \
> tar xzf exiv2-0.17.1.tar.gz && \
> cd exiv2-0.17.1 && \
> ./configure --prefix=$DIGIKAMKDE4 && \
> make && \
> sudo make install && \
>
> # http://lensfun.berlios.de
> svn checkout svn://svn.berlios.de/lensfun/trunk && \
> ./configure --prefix=$DIGIKAMKDE4 && \
> sudo make install && \
>
>
> # kdegraphics libs svn source for KDE4
> # (includes libkipi, libkdcraw, libkexiv2, libksane) :
>
> echo "--kde-graphics--" && \
> svn co -N svn://anonsvn.kde.org/home/kde/trunk/KDE/kdegraphics && \
> cd kdegraphics && \
> echo "--kde-graphics-- up libs" && \
> svn up libs && \
> echo "--kde-graphics-- up cmake" && \
> svn up cmake && \
>
> # Checkout the latest digiKam and Kipi-plugins SVN source for KDE4:
>
> echo "--latest digiKam and Kipi-plugins--" && \
> cd .. && \
> svn co -N svn://anonsvn.kde.org/home/kde/trunk/extragear/graphics && \
> cd graphics && \
> echo "--latest digiKam and Kipi-plugins-- up digikam" && \
> svn up digikam && \
> echo "--latest digiKam and Kipi-plugins-- up kipi-plugins" && \
> svn up kipi-plugins && \
> echo "--latest digiKam and Kipi-plugins-- up cmake" && \
> svn up cmake && \
>
> # Installation for KDE4 in your system (/opt/kde4)
> cd .. && \
>
>
> #To compile the source code under linux you have to give these
> commands in the source code folders. You should use a seperate build
> folder to help cleaning up sources if something goes wrong.
>
> echo "--to compile soure--" && \
>
> #cd ~/NBB/INSTALL_SOFTWARE/DIGIKAM4/kdegraphics/ && \
> #rm -rf build && \
> #mkdir build && \
> #cd build && \
> # next two lines added as per irc conversation:
> mkdir /home/hardy/digikam-notes/exiv2-0.17.1/kdegraphics/build && \
> cd /home/hardy/digikam-notes/exiv2-0.17.1/kdegraphics/build && \
> # next line I modified
> echo "--to compile soure--cmake" && \
> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=$DIGIKAMKDE4
> ../../kdegraphics && \
> echo "--to compile soure--make" && \
> make && \
> echo "--to compile soure--make install" && \
> sudo make install && \
>
>
>
> #Now for digikam itself:
>
> echo "--digikam--" && \
>
> cd ~/NBB/INSTALL_SOFTWARE/DIGIKAM4/graphics/ && \
> mkdir build && \
> cd build && \
> rm CMakeCache.txt && \
> echo "--digikam--cmake" && \
> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=$DIGIKAMKDE4 && \
> ../../graphics && \
> echo "--digikam--make" && \
> make && \
> echo "--digikam--make install" && \
> sudo make install && \
>
> echo "--done!!!--"
>
>
>
> I run the script in an otherwise empty ~/digikam-notes directory. The
> script gets up to the last part (#Now for digikam itself:) and then
> complains:
> -- Installing: /home/hardy/NBB/SOFTWARE/DEV_digikam4/include/libkexiv2/version.h
> --digikam--
> ../build_digikam: line 89: cd:
> /home/hardy/NBB/INSTALL_SOFTWARE/DIGIKAM4/graphics/: No such file or
> directory
> hardy@hardy-laptop:~/digikam-notes$
>
> I can manually make that directory, but it does not help. Note that
> ~/NBB does not exist when I start the ./build_digikam script, and is
> created and owned by root when the script is done.
>
> What have I done wrong?

Not much ;-), you just took my notes a bit too serious...
Namely:
 ~/NBB/INSTALL_SOFTWARE/DIGIKAM4/graphics/
is a path on my machine, where I put all software installation
related stuff (actually, I even forgot, why I used NBB, maybe
this stands for NotBeingBackupped or so ...).
So you need to adjust this to  the path where your
graphics checkout is done. Even better would be
to just to everything relative (i.e. with cd .. etc.,
as you did before).
Then it should hopefully work fine ...

Best, Arnd

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: How to build Digikam?

Dotan Cohen
2008/7/12 Arnd Baecker <[hidden email]>:

> Not much ;-), you just took my notes a bit too serious...
> Namely:
>  ~/NBB/INSTALL_SOFTWARE/DIGIKAM4/graphics/
> is a path on my machine, where I put all software installation
> related stuff (actually, I even forgot, why I used NBB, maybe
> this stands for NotBeingBackupped or so ...).
> So you need to adjust this to  the path where your
> graphics checkout is done. Even better would be
> to just to everything relative (i.e. with cd .. etc.,
> as you did before).
> Then it should hopefully work fine ...
>
> Best, Arnd
>

Thanks, Arnd, I'm learning. I have tons of bash questions that I'll
post to the unix.com forums soon. In the meantime, I've changed the
script to this:

#!/bin/bash

# get sudo permission
sudo ls

# ### Modifiy according to your destination:
DIGIKAMKDE4=$HOME/digikam-notes/DEV_digikam4
export PATH=/usr/lib/kde4/bin/:$PATH

export LANG=C
export KDEDIRS=$DIGIKAMKDE4:/usr/lib/kde4/
export LD_LIBRARY_PATH=$DIGIKAMKDE4/lib:$LD_LIBRARY_PATH
export LDPATH=$DIGIKAMKDE4/lib:$LDPATH
export PATH=$DIGIKAMKDE4/bin:$PATH
export PKG_CONFIG_PATH=$DIGIKAMKDE4/lib/pkgconfig


##Checkout KDE4 version

echo "--kde--"

# exiv2
wget http://www.exiv2.org/exiv2-0.17.1.tar.gz && \
tar xzf exiv2-0.17.1.tar.gz && \
cd exiv2-0.17.1 && \
./configure --prefix=$DIGIKAMKDE4 && \
make && \
sudo make install && \

# http://lensfun.berlios.de
svn checkout svn://svn.berlios.de/lensfun/trunk && \
./configure --prefix=$DIGIKAMKDE4 && \
sudo make install && \


# kdegraphics libs svn source for KDE4
# (includes libkipi, libkdcraw, libkexiv2, libksane) :

echo "--kde-graphics--" && \
svn co -N svn://anonsvn.kde.org/home/kde/trunk/KDE/kdegraphics && \
cd kdegraphics && \
echo "--kde-graphics-- up libs" && \
svn up libs && \
echo "--kde-graphics-- up cmake" && \
svn up cmake && \

# Checkout the latest digiKam and Kipi-plugins SVN source for KDE4:

echo "--latest digiKam and Kipi-plugins--" && \
cd .. && \
svn co -N svn://anonsvn.kde.org/home/kde/trunk/extragear/graphics && \
cd graphics && \
echo "--latest digiKam and Kipi-plugins-- up digikam" && \
svn up digikam && \
echo "--latest digiKam and Kipi-plugins-- up kipi-plugins" && \
svn up kipi-plugins && \
echo "--latest digiKam and Kipi-plugins-- up cmake" && \
svn up cmake && \

# Installation for KDE4 in your system (/opt/kde4)
cd .. && \


#To compile the source code under linux you have to give these
commands in the source code folders. You should use a seperate build
folder to help cleaning up sources if something goes wrong.

echo "--to compile soure--" && \

#cd ~/NBB/INSTALL_SOFTWARE/DIGIKAM4/kdegraphics/ && \
#rm -rf build && \
#mkdir build && \
#cd build && \
# next two lines added as per irc conversation:
mkdir -p /home/hardy/digikam-notes/exiv2-0.17.1/kdegraphics/build && \
cd /home/hardy/digikam-notes/exiv2-0.17.1/kdegraphics/build && \
# next line I modified
echo "--to compile soure--cmake" && \
cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=$DIGIKAMKDE4
../../kdegraphics && \
echo "--to compile soure--make" && \
make && \
echo "--to compile soure--make install" && \
sudo make install && \



#Now for digikam itself:

echo "--digikam--" && \

#cd ~/NBB/INSTALL_SOFTWARE/DIGIKAM4/graphics/ && \
#mkdir build && \
#cd build && \
#rm CMakeCache.txt && \
# next two lines added as per irc conversation:
mkdir -p /home/hardy/digikam-notes/exiv2-0.17.1/graphics/build && \
cd /home/hardy/digikam-notes/exiv2-0.17.1/graphics/build && \
echo "--digikam--cmake" && \
cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=$DIGIKAMKDE4 && \
../../graphics && \
echo "--digikam--make" && \
make && \
echo "--digikam--make install" && \
sudo make install && \

echo "--done!!!--"







Now, I get through the compile source cmake, but it dies on make due
to the lack of CMakeLists.txt. Here is the end of the output of the
"make" command:

-- Installing: /home/hardy/digikam-notes/DEV_digikam4/include/libkexiv2/kexiv2.h
-- Installing: /home/hardy/digikam-notes/DEV_digikam4/include/libkexiv2/libkexiv2_export.h
-- Installing: /home/hardy/digikam-notes/DEV_digikam4/include/libkexiv2/version.h
--digikam--
--digikam--cmake
CMake Error: The source directory
"/home/hardy/digikam-notes/exiv2-0.17.1/graphics/build" does not
appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.



Should I post the whole output? I really appreciate the assistance.

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: How to build Digikam?

Arnd Baecker
On Sat, 12 Jul 2008, Dotan Cohen wrote:

[...]

> Thanks, Arnd, I'm learning. I have tons of bash questions that I'll
> post to the unix.com forums soon. In the meantime, I've changed the
> script to this:

[...]


> #rm -rf build && \
> #mkdir build && \
> #cd build && \
> # next two lines added as per irc conversation:
> mkdir -p /home/hardy/digikam-notes/exiv2-0.17.1/kdegraphics/build && \
> cd /home/hardy/digikam-notes/exiv2-0.17.1/kdegraphics/build && \

Actually, I think it would be much nicer, if you had some
cd ..
at some before in the script so that
kdegraphics and graphics are below /home/hardy/digikam-notes/
(and not one below exiv2 ....).

> # next line I modified
> echo "--to compile soure--cmake" && \
> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=$DIGIKAMKDE4
> ../../kdegraphics && \
> echo "--to compile soure--make" && \
> make && \
> echo "--to compile soure--make install" && \
> sudo make install && \
>
>
>
> #Now for digikam itself:
>
> echo "--digikam--" && \
>
> #cd ~/NBB/INSTALL_SOFTWARE/DIGIKAM4/graphics/ && \
> #mkdir build && \
> #cd build && \
> #rm CMakeCache.txt && \
> # next two lines added as per irc conversation:
> mkdir -p /home/hardy/digikam-notes/exiv2-0.17.1/graphics/build && \
> cd /home/hardy/digikam-notes/exiv2-0.17.1/graphics/build && \
> echo "--digikam--cmake" && \
> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=$DIGIKAMKDE4 && \
> ../../graphics && \

This should be one line reading:
cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=$DIGIKAMKDE4  \
../../graphics &&

I.e., no && before the ../../graphics

[...]

> Now, I get through the compile source cmake, but it dies on make due
> to the lack of CMakeLists.txt. Here is the end of the output of the
> "make" command:
>
> -- Installing: /home/hardy/digikam-notes/DEV_digikam4/include/libkexiv2/kexiv2.h
> -- Installing: /home/hardy/digikam-notes/DEV_digikam4/include/libkexiv2/libkexiv2_export.h
> -- Installing: /home/hardy/digikam-notes/DEV_digikam4/include/libkexiv2/version.h
> --digikam--
> --digikam--cmake
> CMake Error: The source directory
> "/home/hardy/digikam-notes/exiv2-0.17.1/graphics/build" does not
> appear to contain CMakeLists.txt.
> Specify --help for usage, or press the help button on the CMake GUI.
>
>
>
> Should I post the whole output?

Let's first see if the above works ...

> I really appreciate the assistance.

You are welcome!

Best, Arnd
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: How to build Digikam?

Dotan Cohen
2008/7/12 Arnd Baecker <[hidden email]>:
> Let's first see if the above works ...
>

Digikam has landed!

Thanks, Arnd, it compiles and runs. Already I've noticed that it did
not import the digikam3.db file nor the photos in ~/Pictures. I will
try to determine if that is an error on my part, or if there is not an
import function. I hope to begin filing and triaging bugs soon.

Thanks!

--
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Upload to Picasaweb plugin broken?

tictactatic
In reply to this post by Gilles Caulier-4
Thanks Gilles!

BTW, will the new plugins be included with 0.9.4?

Sava

On Saturday 12 July 2008 10:42:02 Gilles Caulier wrote:

> this have been fixed in current kipi-plugins 0.1.6-beta1.
>
> http://downloads.sourceforge.net/kipi/kipi-plugins-0.1.6-beta1.tar.bz2?modt
>ime=1212015146&big_mirror=0
>
> Best
>
> Gilles Caulier
>
> 2008/7/12 Sava Tatic <[hidden email]>:
> > Hi Guys,
> >
> > I had to upload some photos to Picasaweb. The plugin launched, connected
> > to the server seemingly successfully (the plugin never gives any feedback
> > regarding interaction with the server). I created a new album sucessfully
> > (saw the operation had worked via Firefox), but the album dropdown
> > remained blank. I tried uploading photos anyway, the progress bar window
> > popped up, but never went anywhere, and none of the photos got to the
> > server (again checked thru Firefox).
> >
> > I am using Digikam 0.9.3. on KDE 3.5.9, Kubuntu Hardy, Kipi libraries
> > 0.1.5
> >
> > I know I should write to the plugin maker, but has anybody on the list
> > had similar or any experiences with this plugin?
> >
> > All the best,
> >
> > Sava
> >
> > _______________________________________________
> > Digikam-users mailing list
> > [hidden email]
> > https://mail.kde.org/mailman/listinfo/digikam-users
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: How to build Digikam?

Marcel Wiesweg
In reply to this post by Dotan Cohen
> 2008/7/12 Arnd Baecker <[hidden email]>:
> > Let's first see if the above works ...
>
> Digikam has landed!
>
> Thanks, Arnd, it compiles and runs. Already I've noticed that it did
> not import the digikam3.db file nor the photos in ~/Pictures. I will
> try to determine if that is an error on my part, or if there is not an
> import function. I hope to begin filing and triaging bugs soon.

If you point digikam to the location of your digikam3.db file, it will import
this to an digikam4.db file.

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Upload to Picasaweb plugin broken?

Gilles Caulier-4
In reply to this post by tictactatic
plugins are published as separate tarballs following "kipi-plugins"
plan. Only 0..6-beta1 is released for the moment.

Gilles Caulier

2008/7/12 Sava Tatic <[hidden email]>:

> Thanks Gilles!
>
> BTW, will the new plugins be included with 0.9.4?
>
> Sava
>
> On Saturday 12 July 2008 10:42:02 Gilles Caulier wrote:
>> this have been fixed in current kipi-plugins 0.1.6-beta1.
>>
>> http://downloads.sourceforge.net/kipi/kipi-plugins-0.1.6-beta1.tar.bz2?modt
>>ime=1212015146&big_mirror=0
>>
>> Best
>>
>> Gilles Caulier
>>
>> 2008/7/12 Sava Tatic <[hidden email]>:
>> > Hi Guys,
>> >
>> > I had to upload some photos to Picasaweb. The plugin launched, connected
>> > to the server seemingly successfully (the plugin never gives any feedback
>> > regarding interaction with the server). I created a new album sucessfully
>> > (saw the operation had worked via Firefox), but the album dropdown
>> > remained blank. I tried uploading photos anyway, the progress bar window
>> > popped up, but never went anywhere, and none of the photos got to the
>> > server (again checked thru Firefox).
>> >
>> > I am using Digikam 0.9.3. on KDE 3.5.9, Kubuntu Hardy, Kipi libraries
>> > 0.1.5
>> >
>> > I know I should write to the plugin maker, but has anybody on the list
>> > had similar or any experiences with this plugin?
>> >
>> > All the best,
>> >
>> > Sava
>> >
>> > _______________________________________________
>> > Digikam-users mailing list
>> > [hidden email]
>> > https://mail.kde.org/mailman/listinfo/digikam-users
>>
>> _______________________________________________
>> Digikam-users mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-users
>
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
12