[Digikam-devel] port of digiKam core to new libkexiv2...

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

[Digikam-devel] port of digiKam core to new libkexiv2...

Gilles Caulier-2
Hi all,

I have ported digiKam core to new libkexiv2. There is a patch to test at this
url :

http://digikam3rdparty.free.fr/misc.tarballs/digikam_libkexiv2_port.patch

The patch must be applied against svn implementation. It include :

- the automake & co libkexiv2 detection and compilation envirroment set.
- the port of DMetadata class to use new common libkexiv2 methods. If you look
indeep the patch, you can see than DMetadata is very simplied now, duing an
huge list of common implementation shared...

Note : All recent fix from Marcel about Comments encoding have been backported
in libkexiv2. I have checked _all_ methods one by one to see if nothing have
been forget during this port (one day of work ==> tired ==> let's go to bed
(:=)))...

The patch do not include to obsolete files to remove on svn. i will do it
later, when the patch will validate. The obsolete files are ignored during
compilation. There are :

libs/dmetadata/dmetadataprivate.h
libs/dmetadata/loaders (all folders contents in fact)

I have tested on my computer to regenerate the digiKam database with my huge
pictures collection. All work fine : comments, tags rating, and date are
created properly on DB.

I have tested to fix some metadata on pictures and all sound good too.

If you want to test the patch :

- you need to checkout, compile, and install extragear/libs before (where is
libkexiv2 source code)

- I recommend to test digiKam use a new pictures repository with none DB. This
one will be recreated. It's important to check if no crash appear.

There is no improvements about metadata management in this patch. The digiKam
patched to use libkexiv2 must work like the older one unpatched. That all...

Let's me hear your report and if all is fine to commit on svn for next 0.9.1
release...

Thanks in advance

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] port of digiKam core to new libkexiv2...

Bugzilla from lure@kubuntu.org
On Monday 29. of January 2007 15:39:14 Caulier Gilles wrote:
> Hi all,
>
> I have ported digiKam core to new libkexiv2. There is a patch to test at
> this url :
>
> http://digikam3rdparty.free.fr/misc.tarballs/digikam_libkexiv2_port.patch

I have tried it and it looks OK.

>
> The patch must be applied against svn implementation. It include :
>
> - the automake & co libkexiv2 detection and compilation envirroment set.

BTW, do we still need exiv2 build dependancy for digikam (now that code has
moved to libkexiv2)?

> Note : All recent fix from Marcel about Comments encoding have been
> backported in libkexiv2. I have checked _all_ methods one by one to see if
> nothing have been forget during this port (one day of work ==> tired ==>
> let's go to bed (:=)))...

It probably makes sense if Marcel reviews that part...

> Let's me hear your report and if all is fine to commit on svn for next
> 0.9.1 release...

The only concern with having this in 0.9.1 is that we should be sure that
libkexiv2 API is as stable as possible (to prevent change soon after initial
release) as it makes it harder for distributions to include additional
dependancies.

Regards,
Luka
_______________________________________________
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] port of digiKam core to new libkexiv2...

Gilles Caulier-2
Le lundi 29 janvier 2007 23:03, Luka Renko a écrit :

> On Monday 29. of January 2007 15:39:14 Caulier Gilles wrote:
> > Hi all,
> >
> > I have ported digiKam core to new libkexiv2. There is a patch to test at
> > this url :
> >
> > http://digikam3rdparty.free.fr/misc.tarballs/digikam_libkexiv2_port.patch
>
> I have tried it and it looks OK.
>
> > The patch must be applied against svn implementation. It include :
> >
> > - the automake & co libkexiv2 detection and compilation envirroment set.
>
> BTW, do we still need exiv2 build dependancy for digikam (now that code has
> moved to libkexiv2)?

yes because some others part need to be polished in digiKAm core. For example,
all metadata widgets use Exiv2 directly. This can be fixed later...

>
> > Note : All recent fix from Marcel about Comments encoding have been
> > backported in libkexiv2. I have checked _all_ methods one by one to see
> > if nothing have been forget during this port (one day of work ==> tired
> > ==> let's go to bed (:=)))...
>
> It probably makes sense if Marcel reviews that part...
>
> > Let's me hear your report and if all is fine to commit on svn for next
> > 0.9.1 release...
>
> The only concern with having this in 0.9.1 is that we should be sure that
> libkexiv2 API is as stable as possible (to prevent change soon after
> initial release) as it makes it harder for distributions to include
> additional dependancies.

Yes, and this is the case actually because the API is the same than old
Kipi-plugins::Exiv2Iface and Digikam::DMetadata with are used in both
projects. The API is already polished by the digiKam and kipi-plugins recents
stable releases. During the merging code with both implementation, i don't
have changed somethings in methods calling implmentation.

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