[digikam] [Bug 363638] bootstrap does not detect libgphoto2

2017-07-15 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=363638

caulier.gil...@gmail.com changed:

   What|Removed |Added

  Component|general |Portability

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 363638] bootstrap does not detect libgphoto2

2016-06-03 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363638

--- Comment #15 from caulier.gil...@gmail.com ---
I removed the return statements because in this case the gphoto cmake found
flags is not stored in cmake cache, even if value is false. This must be always
the case.

Check other cmake find script located at the same place. None use return
statements.

Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.


[digikam] [Bug 363638] bootstrap does not detect libgphoto2

2016-06-03 Thread Simon via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363638

--- Comment #14 from Simon  ---
Just for my own education, so only answer if you have time:
I have seen that you removed the return() calls in the else parts. My 
reason to use them was, that any further evaluation becomes useless (it 
already failed to find an essential part). It would be great if you 
could tell me the reason for not using return calls there.

On 03/06/16 06:32, via KDE Bugzilla wrote:
> https://bugs.kde.org/show_bug.cgi?id=363638
>
> --- Comment #13 from caulier.gil...@gmail.com ---
> Git commit 401f077455ff1b4537262880b63458cac200c9c9 by Gilles Caulier.
> Committed on 03/06/2016 at 04:30.
> Pushed by cgilles into branch 'master'.
>
> apply patch #99332 to polish gphoto2 detection
>
> M  +30   -9cmake/modules/FindGphoto2.cmake
>
> http://commits.kde.org/digikam/401f077455ff1b4537262880b63458cac200c9c9
>

-- 
You are receiving this mail because:
You are watching all bug changes.


[digikam] [Bug 363638] bootstrap does not detect libgphoto2

2016-06-02 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363638

--- Comment #13 from caulier.gil...@gmail.com ---
Git commit 401f077455ff1b4537262880b63458cac200c9c9 by Gilles Caulier.
Committed on 03/06/2016 at 04:30.
Pushed by cgilles into branch 'master'.

apply patch #99332 to polish gphoto2 detection

M  +30   -9cmake/modules/FindGphoto2.cmake

http://commits.kde.org/digikam/401f077455ff1b4537262880b63458cac200c9c9

-- 
You are receiving this mail because:
You are watching all bug changes.


[digikam] [Bug 363638] bootstrap does not detect libgphoto2

2016-06-02 Thread Simon via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363638

--- Comment #12 from Simon  ---
Created attachment 99332
  --> https://bugs.kde.org/attachment.cgi?id=99332=edit
remove typos from FIndGphoto2.cmake and make it more verbose

I finally resolved this. The actual problem is that the debian package has the
gphoto2-config executable in a dir outside of PATH. While searching for this
cause I made updates to FIndGphoto2.cmake. There were variable names like
"GHOTO..." and if it did not find the executables or the libraries there was no
warning and the value FALSE was not assigned to GPHOTO2_FOUND.  So I added
warnings plus this assignment. I had no idea about cmake before, so this might
be not the way one does usually do this, but I hope its fine and can help.

Bug report is filed against the debian package regarding the mentioned problem.
Thanks for the assistance.

-- 
You are receiving this mail because:
You are watching all bug changes.


[digikam] [Bug 363638] bootstrap does not detect libgphoto2

2016-06-02 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363638

--- Comment #11 from caulier.gil...@gmail.com ---
The Gphoto2 string version detected by cmake is empty !

Your libgphoto2 is not detected or badly installed. Check your system.

You must see something like that now :
...
-- Found Lqr-1:
/usr/include/lqr-1;/usr/include/glib-2.0;/usr/lib64/glib-2.0/include  
-- Found gphoto2: -L/usr/lib64 -lgphoto2_port;-L/usr/lib64 -lgphoto2
-lgphoto2_port -lm
-- libgphoto2 found: TRUE
-- Found LibUSB1: /usr/lib64/libusb-1.0.so  
-- LibUSB1_FOUND= TRUE
-- LibUSB1_INCLUDE_DIRS = /usr/include/libusb-1.0
-- LibUSB1_LIBRARIES= /usr/lib64/libusb-1.0.so
-- libusb1 found: TRUE
-- Libgphoto2 and libusb1 have been found.
-- libgphoto2 API version >= 2.5
-- libgphoto2 API version found:  2.5.7
-- checking for module 'lensfun'
...
Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.


[digikam] [Bug 363638] bootstrap does not detect libgphoto2

2016-06-02 Thread Simon via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363638

--- Comment #10 from Simon  ---
Now there is this additional part about libgphoto:
-- Found Lqr-1: 
/usr/include/lqr-1;/usr/include/glib-2.0;/usr/lib/x86_64-linux-gnu/glib-2.0/include
 

-- libgphoto2 found:
-- Checking for module 'lensfun'
--   Found lensfun, version 0.3.2.0
-- Found LensFun: /usr/include/lensfun (found version "0.3.2.0")
-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
The whole output is on http://pastebin.com/2QnNDJjr

On 02/06/16 16:15, via KDE Bugzilla wrote:
> https://bugs.kde.org/show_bug.cgi?id=363638
>
> --- Comment #9 from caulier.gil...@gmail.com ---
> there is no configuration option to set .
>
> With last commit i print more debug statement about Gphoto2 detection.
>
> Gilles Caulier
>

-- 
You are receiving this mail because:
You are watching all bug changes.


[digikam] [Bug 363638] bootstrap does not detect libgphoto2

2016-06-02 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363638

--- Comment #9 from caulier.gil...@gmail.com ---
there is no configuration option to set .

With last commit i print more debug statement about Gphoto2 detection.

Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.


[digikam] [Bug 363638] bootstrap does not detect libgphoto2

2016-06-02 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363638

--- Comment #8 from caulier.gil...@gmail.com ---
Git commit 591f8cdcdb5fe799f54aad9e48bbf3759a9d7b2e by Gilles Caulier.
Committed on 02/06/2016 at 14:13.
Pushed by cgilles into branch 'master'.

more debug statements for libgphoto2 detection

M  +6-0CMakeLists.txt

http://commits.kde.org/digikam/591f8cdcdb5fe799f54aad9e48bbf3759a9d7b2e

-- 
You are receiving this mail because:
You are watching all bug changes.


[digikam] [Bug 363638] bootstrap does not detect libgphoto2

2016-06-02 Thread Simon via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363638

--- Comment #7 from Simon  ---
I always remove the build dir before rerunning the boostrap script and I 
know have made sure to run it on an entirely clean git clone. I removed 
the translation checkout from my custom bootstrap script, so know the 
only difference (certified by diff) to "bootstrap.linux" is
 >   -DDIGIKAMSC_COMPILE_LIBKIPI=ON \
 >   -DDIGIKAMSC_COMPILE_LIBKSANE=ON \
Do I need to set anything else such that these statements are visible?


On 02/06/16 15:36, via KDE Bugzilla wrote:
> https://bugs.kde.org/show_bug.cgi?id=363638
>
> --- Comment #6 from caulier.gil...@gmail.com ---
> You have no libgphoto2 detection in cmake statements. This want mean that 
> camek
> cache is not cleaned.
>
> remove build sub dir and restart bootstrap.
>
> Note : your bootstrap script is an older one (few hours i think), because it
> checkout translations. This must be disabled.
>
> Gilles Caulier
>

-- 
You are receiving this mail because:
You are watching all bug changes.


[digikam] [Bug 363638] bootstrap does not detect libgphoto2

2016-06-02 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363638

--- Comment #6 from caulier.gil...@gmail.com ---
You have no libgphoto2 detection in cmake statements. This want mean that camek
cache is not cleaned.

remove build sub dir and restart bootstrap.

Note : your bootstrap script is an older one (few hours i think), because it
checkout translations. This must be disabled.

Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.


[digikam] [Bug 363638] bootstrap does not detect libgphoto2

2016-06-02 Thread Simon via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363638

--- Comment #5 from Simon  ---
I do not see anything related to libusb and still the same for 
libgphoto. I am running the boostrap script on softwarecomp commit 
"d30542149650693a58b355aab944fea4e7be6e09" and core commit 
"e74ea61a3177d964474a04dc1460c1500811bec6". The full output of the 
bootstrap can be found on http://pastebin.com/RtgXyHsC

On 02/06/16 09:01, via KDE Bugzilla wrote:
> https://bugs.kde.org/show_bug.cgi?id=363638
>
> caulier.gil...@gmail.com changed:
>
> What|Removed |Added
> 
>   Resolution|--- |FIXED
>   Status|UNCONFIRMED |RESOLVED
>
> --- Comment #4 from caulier.gil...@gmail.com ---
> It must miss libusb1. This is required to prevent conflict with opencv. See 
> bug
> #268267 for details.
>
> In your configuration trace you must see something like that :
> ...
> -- Found gphoto2: -L/usr/lib64 -lgphoto2_port;-L/usr/lib64 -lgphoto2
> -lgphoto2_port -lm
> -- Found LibUSB1: /usr/lib64/libusb-1.0.so
> -- LibUSB1_FOUND= TRUE
> -- LibUSB1_INCLUDE_DIRS = /usr/include/libusb-1.0
> -- LibUSB1_LIBRARIES= /usr/lib64/libusb-1.0.so
> CMake Warning at core/CMakeLists.txt:351 (message):
>libgphoto2 is found but libusb1 cannot be found on your system.
>libgphoto2 support will be disabled.
> ...
>
> Gilles Caulier
>

-- 
You are receiving this mail because:
You are watching all bug changes.


[digikam] [Bug 363638] bootstrap does not detect libgphoto2

2016-06-02 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363638

caulier.gil...@gmail.com changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|UNCONFIRMED |RESOLVED

--- Comment #4 from caulier.gil...@gmail.com ---
It must miss libusb1. This is required to prevent conflict with opencv. See bug
#268267 for details.

In your configuration trace you must see something like that :
...
-- Found gphoto2: -L/usr/lib64 -lgphoto2_port;-L/usr/lib64 -lgphoto2
-lgphoto2_port -lm
-- Found LibUSB1: /usr/lib64/libusb-1.0.so  
-- LibUSB1_FOUND= TRUE
-- LibUSB1_INCLUDE_DIRS = /usr/include/libusb-1.0
-- LibUSB1_LIBRARIES= /usr/lib64/libusb-1.0.so
CMake Warning at core/CMakeLists.txt:351 (message):
  libgphoto2 is found but libusb1 cannot be found on your system.
  libgphoto2 support will be disabled.
...

Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.


[digikam] [Bug 363638] bootstrap does not detect libgphoto2

2016-06-01 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363638

caulier.gil...@gmail.com changed:

   What|Removed |Added

 CC||caulier.gil...@gmail.com

--- Comment #3 from caulier.gil...@gmail.com ---
Give me the full backtrace of configuration stage

Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.


[digikam] [Bug 363638] bootstrap does not detect libgphoto2

2016-06-01 Thread Simon via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363638

Simon  changed:

   What|Removed |Added

 Resolution|FIXED   |---
 Status|RESOLVED|UNCONFIRMED

--- Comment #2 from Simon  ---
With commit f1f247f1cc71e948c377ec7d1daa1389728fe88c I still get the following
output:

--  libgphoto2 found. NO  (optional)
--  digiKam will be compiled without GPhoto2 camera drivers support.
--  Please install the libgphoto2 (version >= 2.4.0) development package.
-- 

I do and did have libusb 1.0.20 and libgphoto 2.5.10 both with -dev packages
installed.

-- 
You are receiving this mail because:
You are watching all bug changes.


[digikam] [Bug 363638] bootstrap does not detect libgphoto2

2016-06-01 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363638

caulier.gil...@gmail.com changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|UNCONFIRMED |RESOLVED
  Latest Commit||http://commits.kde.org/digi
   ||kam/f1f247f1cc71e948c377ec7
   ||d1daa1389728fe88c
   Version Fixed In||5.0.0

--- Comment #1 from caulier.gil...@gmail.com ---
Git commit f1f247f1cc71e948c377ec7d1daa1389728fe88c by Gilles Caulier.
Committed on 01/06/2016 at 18:32.
Pushed by cgilles into branch 'master'.

be more verboze about dependency with libusb1 required by libgphoto2 to prevent
crash when libopencv is linked with libdc1394.
See bug #268267 for details about this problem.
FIXED-IN: 5.0.0

M  +1-0CMakeLists.txt
M  +1-1README

http://commits.kde.org/digikam/f1f247f1cc71e948c377ec7d1daa1389728fe88c

-- 
You are receiving this mail because:
You are watching all bug changes.