[Digikam-devel] test/check digikam(imageplugins) 0.9.0-rc1 tarballs

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

[Digikam-devel] test/check digikam(imageplugins) 0.9.0-rc1 tarballs

Bugzilla from ach@mpe.mpg.de
Hi,

the candidates for 0.9.0-rc1 tarballs are at:

        http://www.mpe.mpg.de/~ach/tmp/digikam-0.9.0-rc1.tar.bz2
        http://www.mpe.mpg.de/~ach/tmp/digikamimageplugins-0.9.0-rc1.tar.bz2

The tarballs are untested, because digikam refused to
compile here.  I assume that due to having exiv2 0.10 installed and
not 0.11. (Mhmm, README says >= 0.9, 0.11 recommended)  Gilles?
Compile errors are like:

gpswidget.cpp: In member function 'virtual QString Digikam::GPSWidget::getTagTitle(const QString&)':
gpswidget.cpp:339: error: 'tagTitle' is not a member of 'Exiv2::ExifTags'

/usr/include/exiv2/exif.hpp: In member function 'virtual const Exiv2::Value& Exiv2::Exifdatum::value() const':
/usr/include/exiv2/exif.hpp:287: error: exception handling disabled, use -fexceptions to enable

If 0.11 is really required we have to update the README file.

Feel free to test the tarballs on your system, check if all translation
are included, etc ...

Nite,
Achim
--
  To me vi is Zen.  To use vi is to practice zen. Every command is
  a koan. Profound to the user, unintelligible to the uninitiated.
  You discover truth everytime you use it.
                                      -- [hidden email]
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Digikam-devel] test/check digikam(imageplugins) 0.9.0-rc1 tarballs

Gilles Caulier-2
On Thursday 16 November 2006 02:24, Achim Bohnet wrote:

> Hi,
>
> the candidates for 0.9.0-rc1 tarballs are at:
>
> http://www.mpe.mpg.de/~ach/tmp/digikam-0.9.0-rc1.tar.bz2
> http://www.mpe.mpg.de/~ach/tmp/digikamimageplugins-0.9.0-rc1.tar.bz2
>
> The tarballs are untested, because digikam refused to
> compile here.  I assume that due to having exiv2 0.10 installed and
> not 0.11. (Mhmm, README says >= 0.9, 0.11 recommended)  Gilles?

Well, normally no. I will take a look.

> Compile errors are like:
>
> gpswidget.cpp: In member function 'virtual QString
> Digikam::GPSWidget::getTagTitle(const QString&)': gpswidget.cpp:339: error:
> 'tagTitle' is not a member of 'Exiv2::ExifTags'
>
> /usr/include/exiv2/exif.hpp: In member function 'virtual const
> Exiv2::Value& Exiv2::Exifdatum::value() const':
> /usr/include/exiv2/exif.hpp:287: error: exception handling disabled, use
> -fexceptions to enable

This error come from the dmetadata.h header file inclusion witch use exiv2
library header files. Between 0.10 and 0.11, this files are changed,
especially about C++ exception management.

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

Re: [Digikam-devel] test/check digikam(imageplugins) 0.9.0-rc1 tarballs

Gilles Caulier-2
On Thursday 16 November 2006 08:24, Gilles Caulier(UNTRUSTED, sender is
<digikam-devel-bounces-+caulier.gilles=[hidden email]>) wrote:

> On Thursday 16 November 2006 02:24, Achim Bohnet wrote:
> > Hi,
> >
> > the candidates for 0.9.0-rc1 tarballs are at:
> >
> > http://www.mpe.mpg.de/~ach/tmp/digikam-0.9.0-rc1.tar.bz2
> > http://www.mpe.mpg.de/~ach/tmp/digikamimageplugins-0.9.0-rc1.tar.bz2
> >
> > The tarballs are untested, because digikam refused to
> > compile here.  I assume that due to having exiv2 0.10 installed and
> > not 0.11. (Mhmm, README says >= 0.9, 0.11 recommended)  Gilles?
>
> Well, normally no. I will take a look.
>
> > Compile errors are like:
> >
> > gpswidget.cpp: In member function 'virtual QString
> > Digikam::GPSWidget::getTagTitle(const QString&)': gpswidget.cpp:339:
> > error: 'tagTitle' is not a member of 'Exiv2::ExifTags'
> >
> > /usr/include/exiv2/exif.hpp: In member function 'virtual const
> > Exiv2::Value& Exiv2::Exifdatum::value() const':
> > /usr/include/exiv2/exif.hpp:287: error: exception handling disabled, use
> > -fexceptions to enable
>
> This error come from the dmetadata.h header file inclusion witch use exiv2
> library header files. Between 0.10 and 0.11, this files are changed,
> especially about C++ exception management.

Achim, under Mandriva 2006, i cannot reproduce the problem to uninstall Exiv2
from svn (0.11) and to install Exiv2 0.10 instead.

I will trying to find a solution, but it's will be difficult to check it if i
cannot reproduce this problem on my computer.

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

Re: [Digikam-devel] test/check digikam(imageplugins) 0.9.0-rc1 tarballs

Gilles Caulier-2
Achim, i have commited a fix in digikam core for that (DMetadata class).
Please give me a feedback

Note : we have the same problem into Exiv2 interface form kipi-plugins. Fixed
too under svn.

Gilles

On Thursday 16 November 2006 09:04, Gilles Caulier(UNTRUSTED, sender is
<digikam-devel-bounces-+caulier.gilles=[hidden email]>) wrote:

> On Thursday 16 November 2006 08:24, Gilles Caulier(UNTRUSTED, sender is
>
> <digikam-devel-bounces-+caulier.gilles=[hidden email]>) wrote:
> > On Thursday 16 November 2006 02:24, Achim Bohnet wrote:
> > > Hi,
> > >
> > > the candidates for 0.9.0-rc1 tarballs are at:
> > >
> > > http://www.mpe.mpg.de/~ach/tmp/digikam-0.9.0-rc1.tar.bz2
> > > http://www.mpe.mpg.de/~ach/tmp/digikamimageplugins-0.9.0-rc1.tar.bz2
> > >
> > > The tarballs are untested, because digikam refused to
> > > compile here.  I assume that due to having exiv2 0.10 installed and
> > > not 0.11. (Mhmm, README says >= 0.9, 0.11 recommended)  Gilles?
> >
> > Well, normally no. I will take a look.
> >
> > > Compile errors are like:
> > >
> > > gpswidget.cpp: In member function 'virtual QString
> > > Digikam::GPSWidget::getTagTitle(const QString&)': gpswidget.cpp:339:
> > > error: 'tagTitle' is not a member of 'Exiv2::ExifTags'
> > >
> > > /usr/include/exiv2/exif.hpp: In member function 'virtual const
> > > Exiv2::Value& Exiv2::Exifdatum::value() const':
> > > /usr/include/exiv2/exif.hpp:287: error: exception handling disabled,
> > > use -fexceptions to enable
> >
> > This error come from the dmetadata.h header file inclusion witch use
> > exiv2 library header files. Between 0.10 and 0.11, this files are
> > changed, especially about C++ exception management.
>
> Achim, under Mandriva 2006, i cannot reproduce the problem to uninstall
> Exiv2 from svn (0.11) and to install Exiv2 0.10 instead.
>
> I will trying to find a solution, but it's will be difficult to check it if
> i cannot reproduce this problem on my computer.
>
> Gilles
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Digikam-devel] test/check digikam(imageplugins) 0.9.0-rc1 tarballs

Arnd Baecker
In reply to this post by Bugzilla from ach@mpe.mpg.de
Hi,

On Thu, 16 Nov 2006, Achim Bohnet wrote:

> Feel free to test the tarballs on your system, check if all translation
> are included, etc ...

Just for the fun of it I went for a full installation
on my debian sarge box (i.e. KDE 3.3).
Everything went fine (installation notes are at the end of this mail),
only the htmlexport of kipi-plugins-0.1.2
rejected to compile (see the very end of this mail).

I am still unable to access bugs.kde.org (it must be a local problem
here), so let me summarize a couple of issues here:

- editing exif rotated images and saving leads to
  wrong thumbs and image orientation:
   - take an image with right-top orientation
   - modify the colors (etc.) in the ImageEditor
   - save as a file with different name
   - the thumb of the new image is orientated incorrectly (i.e portrait
     mode) and opening it in the ImageEditor it is also rotated.

  The reason is that for the saved image the EXIF orientation is
  "centered".

  Possible solutions:
  - rotate the image before saving
  - save with the right EXIF information
  ?

- searching for rating is not implemented correctly:
  It says "Higher than", but "Higher than" "******"
  will not produce any results 5 is the maximum.

  This could be solved (and enhanced) by ">=",  "="  and "<=" as possible
  choices in the comparison.
   (Suggestion for the words:
   "at least" for >=, "equal" and "at most" for <=)

  Presently it is impossible to search for images with rating=3 or
  images with 2<=rating<=4.
  (This is because there is only "As well as" and "or" but no "not"
   in the add/delete option of the advanced search!)

  Somehow I thought that this rating search would be simple enough to
  maybe add this myself, but at a first glance I was unable to understand
  what was going on in searchwidgets.cpp...

- For help (eg. via F1) I get:
  """The requested help file could not be found. Check that you have
  installed the documentation."""
  It is most likely that this is due to the way I installed things.
  (Though I don't know how to do this one right).


And, before I forget: digikam really rocks
- thanks a lot for all your work!!!
(I know that I said something like this before,
but it can't be repeated often enough ;-)

Best,

Arnd

======================
RC1 installation notes
======================

Download sources
================

mkdir /tmp/TSTDIGIKAM_RC1
cd  /tmp/TSTDIGIKAM_RC1
wget http://www.mpe.mpg.de/~ach/tmp/digikam-0.9.0-rc1.tar.bz2
wget http://www.mpe.mpg.de/~ach/tmp/digikamimageplugins-0.9.0-rc1.tar.bz2

wget http://www.exiv2.org/exiv2-0.11.tar.gz

From http://extragear.kde.org/apps/kipi get:
 kipi-plugins-0.1.2.tar.bz2
 libkexif-0.2.4.tar.bz2
 libkipi-0.1.4.tar.bz2
(This should lead you to:
http://sourceforge.net/project/showfiles.php?group_id=149779
)

Set some of the paths
=====================

export DST=/tmp/INSTDIGIKAM_RC1/
export KDEDIRS=$DST:/usr
export LD_LIBRARY_PATH=$DST/lib:$LD_LIBRARY_PATH
export LDPATH=$DST/lib:$LDPATH
mkdir $DST


Compile and install
===================


All the stuff ahead
-------------------

tar xzf exiv2-0.11.tar.gz
cd exiv2-0.11
./configure --prefix=$DST
make
make install
cd ..



tar xjf libkexif-0.2.5.tar.bz2
tar xjf libkipi-0.1.4.tar.bz2
tar xjf kipi-plugins-0.1.2.tar.bz2


cd libkexif-0.2.5
./configure --prefix=$DST
make
make install
cd ..

cd libkipi-0.1.4
./configure --prefix=$DST
make
make install
cd ..

cd kipi-plugins-0.1.2
./configure --prefix=$DST
make
make install
cd ..



And now digikam
---------------

tar xjf digikam-0.9.0-rc1.tar.bz2
tar xjf digikamimageplugins-0.9.0-rc1.tar.bz2


cd digikam-0.9.0-rc1
./configure --prefix=$DST --with-extra-includes=$DST/include
--with-extra-libs=$DST/lib

-- digiKam configure results -------------------
-- sqlite3 found.................. YES
-- libgphoto2 found............... YES
-- libkipi found.................. YES
-- libtiff found.................. YES
-- libpng found................... YES
-- lcms found..................... YES
-- Exiv2 library found............ YES
------------------------------------------------

make
make install
cd ..

cd digikamimageplugins-0.9.0-rc1
./configure --prefix=$DST --with-extra-includes=$DST/include
--with-extra-libs=$DST/lib
make
make install
cd ..


To test
-------

export PATH=$DST/bin:$PATH
rehash
which digikam
digikam




Problem with htmlexport:
========================

Remark: You're missing libxslt. The htmlexport plugin will not be
compiled.
# This can be avoided by installing  libxslt/libxslt-dev
# I.e. on my debian box:  aptitude  install libxslt1-dev
# But then I get:

make[4]: Entering directory
`/tmp/TSTDIGIKAM_RC1/kipi-plugins-0.1.2/kipi-plugins/htmlexport'
rm -rf themepage.h;
/usr/share/qt3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload
./themepage.ui | /usr/bin/perl -pi -e "s,public QWizard,public KWizard,g;
s,#include <qwizard.h>,#include <kwizard.h>,g" >> themepage.h ;
rm -rf imagesettingspage.h;
/usr/share/qt3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload
./imagesettingspage.ui | /usr/bin/perl -pi -e "s,public QWizard,public
KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >>
imagesettingspage.h ;
rm -rf outputpage.h;
/usr/share/qt3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload
./outputpage.ui | /usr/bin/perl -pi -e "s,public QWizard,public KWizard,g;
s,#include <qwizard.h>,#include <kwizard.h>,g" >> outputpage.h ;
/usr/bin/kconfig_compiler ./htmlexportconfig.kcfg
./htmlexportconfig.kcfgc; ret=$?; \
if test "$ret" != 0; then rm -f htmlexportconfig.h ; exit $ret ;  fi
/usr/share/qt3/bin/moc ./generator.h -o generator.moc
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I. -I. -I../.. -I/tmp/INSTDIGIKAM_RC1/include
-I/usr/include/kde -I/usr/share/qt3/include -I/usr/X11R6/include
-I/usr/include/libxml2  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long
-Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
-Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions
-fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT generator.lo -MD -MP
-MF ".deps/generator.Tpo" -c -o generator.lo generator.cpp; \
then mv -f ".deps/generator.Tpo" ".deps/generator.Plo"; else rm -f
".deps/generator.Tpo"; exit 1; fi
In file included from generator.cpp:40:
/tmp/INSTDIGIKAM_RC1/include/libkipi/batchprogressdialog.h:76: warning: `
   visibility' attribute does not apply to types
In file included from generator.cpp:41:
/tmp/INSTDIGIKAM_RC1/include/libkipi/imageinfo.h:78: warning: `visibility'
   attribute does not apply to types
In file included from /tmp/INSTDIGIKAM_RC1/include/libkipi/interface.h:38,
                 from generator.cpp:42:
/tmp/INSTDIGIKAM_RC1/include/libkipi/imagecollection.h:72: warning:
`visibility
   ' attribute does not apply to types
In file included from generator.cpp:42:
/tmp/INSTDIGIKAM_RC1/include/libkipi/interface.h:90: warning: `visibility'
   attribute does not apply to types
generator.cpp: In member function `bool
   KIPIHTMLExport::Generator::Private::generateImagesAndXML()':
generator.cpp:208: error: aggregate `QImage image' has incomplete type and
   cannot be defined
generator.cpp:228: error: incomplete type `QImage' does not have member `
   ScaleMin'
generator.cpp:248: error: variable `QImage thumbnail' has initializer but
   incomplete type
generator.cpp:248: error: incomplete type `QImage' does not have member `
   ScaleMax'
generator.cpp:261: error: invalid use of undefined type `struct QImage'
/usr/share/qt3/include/qwindowdefs.h:74: error: forward declaration of
`struct
   QImage'
make[4]: *** [generator.lo] Error 1
make[4]: Leaving directory
`/tmp/TSTDIGIKAM_RC1/kipi-plugins-0.1.2/kipi-plugins/htmlexport'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/tmp/TSTDIGIKAM_RC1/kipi-plugins-0.1.2/kipi-plugins/htmlexport'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/tmp/TSTDIGIKAM_RC1/kipi-plugins-0.1.2/kipi-plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/TSTDIGIKAM_RC1/kipi-plugins-0.1.2'
ma


Solution:
cd kipi-plugins
emacs Makefile
-->  compile_HTMLEXPORT_FALSE =    # weg
# and delete htmlexport  from list of targets ..
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Digikam-devel] test/check digikam(imageplugins) 0.9.0-rc1 tarballs

F.J.Cruz
In reply to this post by Bugzilla from ach@mpe.mpg.de
El Jueves, 16 de Noviembre de 2006 02:24, Achim Bohnet escribió:

> Hi,
>
> the candidates for 0.9.0-rc1 tarballs are at:
>
> http://www.mpe.mpg.de/~ach/tmp/digikam-0.9.0-rc1.tar.bz2
> http://www.mpe.mpg.de/~ach/tmp/digikamimageplugins-0.9.0-rc1.tar.bz2
>
> The tarballs are untested, because digikam refused to
> compile here.  I assume that due to having exiv2 0.10 installed and
> not 0.11. (Mhmm, README says >= 0.9, 0.11 recommended)  Gilles?
> Compile errors are like:
>
> gpswidget.cpp: In member function 'virtual QString
> Digikam::GPSWidget::getTagTitle(const QString&)': gpswidget.cpp:339: error:
> 'tagTitle' is not a member of 'Exiv2::ExifTags'
>
> /usr/include/exiv2/exif.hpp: In member function 'virtual const
> Exiv2::Value& Exiv2::Exifdatum::value() const':
> /usr/include/exiv2/exif.hpp:287: error: exception handling disabled, use
> -fexceptions to enable
>
> If 0.11 is really required we have to update the README file.
>
> Feel free to test the tarballs on your system, check if all translation
> are included, etc ...
>
> Nite,
> Achim

Compiled both packages in Kubuntu Edgy 64 Bits. No problems here with Exiv2
0.11.

Paco Cruz
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel