Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 538642 - media-gfx/kphotoalbum-4.6 version bump
Summary: media-gfx/kphotoalbum-4.6 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on: 538622
Blocks:
  Show dependency tree
 
Reported: 2015-02-03 10:48 UTC by Tobias Leupold
Modified: 2015-04-03 18:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
kphotoalbum-4.6.1.patch (kphotoalbum-4.6.1.patch,1.15 KB, patch)
2015-03-18 15:42 UTC, Michael Palimaka (kensington)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Leupold 2015-02-03 10:48:49 UTC
We just released KPhotoAlbum 4.6, cf. https://mail.kdab.com//pipermail/kphotoalbum/2015-February/005491.html It contains two new features that should probably be handled trough USE flags (please enable them by default, bot features are very nice imho).

One is face detection and face recognition using libkface. Please notice that we need at least version 3.5.0 of this library. We recently had to add some code to the lib to make it work for us (we're the first non-Digikam project to use libkface). Meanwhile, libkface has it's "own" release, so we do not need to get it out of the Digikam sources anymore. Gilles Caulier from Digikam said they will also encourage distributors in general to use this version instead of the bundled code (although it's still released with it), and probably, it will finally disappear from the Digikam release. The release tarball can be found in the "applications" section of KDE, at the moment http://download.kde.org/stable/applications/14.12.2/src/libkface-14.12.2.tar.xz (so technically, this bug report is also about "please use the standalone sources for libkface instead of pulling the code from digikam" ;-)

The other new feature is a map display, which can show the (EXIF header's GPS) position of images on a map. This one relies on libkgeomap (also from the Digikam project). It works with the current Digikam distributed version. There is also some effort/discussion going on about a standalone release of libkgeomap, but it's not through yet (so there's currently no proposed change to the current libkgeomap ebuild from me).

BUT: Please be sure to depend on the version of kipi-plugins distributed with Digikam 4.7.0 (released yesterday), as it contains an essential fix needed to make geotagging from KPA via kipi's gpssync dialog work (cf. https://bugs.kde.org/show_bug.cgi?id=342857 ).

Thanks in advance for the (this time non-trivial) ebuild update!

Cheers, Tobias
Comment 1 Tobias Leupold 2015-02-06 13:49:47 UTC
Oh, and I forgot: the map features depend on EXIF support. So the new "map" USE flag should also require the "exif" USE flag to be set.
Comment 2 Tobias Leupold 2015-02-21 10:48:16 UTC
As KPA 4.6 has not been added yet: probably, it's better to wait another few days. Very likely, we will do a bugfix release, because we fixed two crash situations that occured with 4.6. It's already fixed in git master, but there's no release yet. I'll let you know when we're done.
Comment 3 Michael Palimaka (kensington) gentoo-dev 2015-02-21 10:52:19 UTC
No worries.

Just to clarify, is the version of libkface included with digikam-4.7.0 the same as 14.12.x? Obviously using the standalone version is preferred, but it might be some time until that's in the tree.
Comment 4 Tobias Leupold 2015-02-21 11:09:38 UTC
Depending on what was released later, either the KDE release or the Digikam relrease is more recent. The code is hosted in a separate git repository. As far as I understand it, they take the current state and bundle it with Digikam (for whatever reason). The KDE release is packaged along with the other KDE programs.

Anyhow, the libkface version that comes with Digikam 4.7.0 will work with the new KPA features. Actually, the sources differ, but both copies ship lib version 3.5.0, which we need.
Comment 5 Michael Palimaka (kensington) gentoo-dev 2015-02-21 11:29:08 UTC
Great, thanks for the info.
Comment 6 Tobias Leupold 2015-03-18 10:57:22 UTC
Here we are. Today, KPA 4.6.1 has been packaged: http://download.kde.org/stable/kphotoalbum/4.6.1/src/
There's no announcement yet, but I think this will be done the next few days.

Please simply skip 4.6 and add 4.6.1. We fixed some crash situations introduced by 4.6, updated and added some messages to clarify the DB update that will be done by >=4.6 and also did some minor improvements.

Thanks in advance :-)
Comment 7 Michael Palimaka (kensington) gentoo-dev 2015-03-18 15:42:25 UTC
Created attachment 399198 [details, diff]
kphotoalbum-4.6.1.patch

Suggested patch.
Comment 8 Michael Palimaka (kensington) gentoo-dev 2015-03-18 15:44:52 UTC
By the way, I'm running into a build failure with USE="-*":

ThumbnailView/GridResizeSlider.cpp:151:31: error: ‘i18n’ was not declared in this scope

Looks like a missing klocale include
Comment 9 Tobias Leupold 2015-03-18 17:27:51 UTC
Thanks for the hint, I added the missing include statement with commit cd1235b9f5b15be4b87d3dc1c147510efc0c6728
Comment 10 Michael Palimaka (kensington) gentoo-dev 2015-04-03 18:45:36 UTC
Thanks, fixed in CVS. Sorry about the delay!

+  03 Apr 2015; Michael Palimaka <kensington@gentoo.org>
+  +files/kphotoalbum-4.6.1-include.patch, +kphotoalbum-4.6.1.ebuild,
+  metadata.xml:
+  Version bump wrt bug #538642.