Bug 291972 - HEAD compiling issues under FreeBSD 8.2 [patch]
Summary: HEAD compiling issues under FreeBSD 8.2 [patch]
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (show other bugs)
Version: 2.6.0
Platform: Compiled Sources FreeBSD
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-19 17:01 UTC by Sulev-Madis Silber
Modified: 2017-08-19 20:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.3.0


Attachments
core.diff (533 bytes, patch)
2012-01-19 17:03 UTC, Sulev-Madis Silber
Details
kipi-plugins.diff (558 bytes, patch)
2012-01-19 17:04 UTC, Sulev-Madis Silber
Details
core_with_cmake.diff (2.81 KB, patch)
2012-01-21 19:19 UTC, Sulev-Madis Silber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sulev-Madis Silber 2012-01-19 17:01:05 UTC
Version:           2.6.0 (using KDE 4.7.3) 
OS:                FreeBSD

I have few patches that fix issues compiling git HEAD under FreeBSD 8.2. I don't know if I implemented fix in "core" properly. I tried to make it perfect for "kipi-plugins"...

It also needs libkvm that I don't know how to properly add to cmake.


The other thing is that cmake doesn't detect "libkdcraw", "libkexiv2" and "libkipi" properly. I defined "DIGIKAMSC_USE_PRIVATE_KDEGRAPHICS" for workaround, worked. I know why (different name, ending with -kde4... different path, etc) and FreeBSD port has patches[1] for that. Not sure if those can be integrated to main distribution. There is one other interesting patch that port includes, although for old 1.9.0 version. I have no idea what's that good for.
I'm looking into port maintainership if noone responds :)


Sorry for two patches in one file, as there was no way to add TWO files (yes I was thinking about giving patches by URL).


1. http://www.freebsd.org/cgi/cvsweb.cgi/ports/graphics/digikam-kde4/files/
2. http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/ports/graphics/digikam-kde4/files/patch-libs_3rdparty_cimg_CImg.h


Reproducible: Always

Steps to Reproduce:
Compile under FreeBSD 8.2


Expected Results:  
Get it compiled under FreeBSD 8.2
Comment 1 Sulev-Madis Silber 2012-01-19 17:03:57 UTC
Created attachment 68011 [details]
core.diff
Comment 2 Sulev-Madis Silber 2012-01-19 17:04:28 UTC
Created attachment 68012 [details]
kipi-plugins.diff
Comment 3 Sulev-Madis Silber 2012-01-19 17:05:59 UTC
Crap. I messed up report a little...
Comment 4 Sulev-Madis Silber 2012-01-21 19:19:47 UTC
Created attachment 68075 [details]
core_with_cmake.diff

Decided to hack CMake files too. Now compiles cleanly here.
Comment 5 caulier.gilles 2013-10-30 07:38:53 UTC
Can you update patches against current git/master please. I would include it for next 4.0.0 release. Thanks in advance

Note : i don't have any BSD system to check your patches. 

Thanks in advance

Gilles Caulier
Comment 6 caulier.gilles 2013-11-27 12:58:52 UTC
Sulev,

Do you see my previous message ?

Gilles Caulier
Comment 7 caulier.gilles 2014-08-29 15:32:12 UTC
Git commit 2ec47decfe744e017c3365c66d85acff05bef408 by Gilles Caulier.
Committed on 29/08/2014 at 15:31.
Pushed by cgilles into branch 'master'.

apply patch #68011 to support compilation under FreeBSD

M  +3    -0    libs/3rdparty/kmemoryinfo/kmemoryinfo_backend.cpp

http://commits.kde.org/digikam/2ec47decfe744e017c3365c66d85acff05bef408
Comment 8 caulier.gilles 2014-08-29 15:34:41 UTC
Git commit 7e71288afb4aaa3b11a05f48e945d718053385d3 by Gilles Caulier.
Committed on 29/08/2014 at 15:34.
Pushed by cgilles into branch 'master'.

apply patch #68012 to compile fine under FreeBSD

M  +7    -0    expoblending/manager/actionthread.cpp

http://commits.kde.org/kipi-plugins/7e71288afb4aaa3b11a05f48e945d718053385d3
Comment 9 caulier.gilles 2014-08-29 15:40:22 UTC
Git commit 375daf5648caf2c1d95416db06dbf86ba6f37027 by Gilles Caulier.
Committed on 29/08/2014 at 15:39.
Pushed by cgilles into branch 'master'.

apply patch #68075 to fix compilation under FreeBSD
FIXED-IN: 4.3.0

M  +4    -0    CMakeLists.txt
M  +3    -0    digikam/CMakeLists.txt
M  +3    -0    showfoto/CMakeLists.txt
M  +4    -1    tests/CMakeLists.txt

http://commits.kde.org/digikam/375daf5648caf2c1d95416db06dbf86ba6f37027