[digikam] [Bug 403269] Stacked image and Panorama tools cannot find required binaries

2019-09-13 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=403269

Maik Qualmann  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
   Version Fixed In||6.4.0
 Resolution|--- |FIXED

--- Comment #27 from Maik Qualmann  ---
OK, I close the bug now. Without debug mode, all programs are now found. If
necessary, reopen the bug.

Maik

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

[digikam] [Bug 403269] Stacked image and Panorama tools cannot find required binaries

2019-09-13 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=403269

Maik Qualmann  changed:

   What|Removed |Added

 CC||ro...@libero.it

--- Comment #26 from Maik Qualmann  ---
*** Bug 411882 has been marked as a duplicate of this bug. ***

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

[digikam] [Bug 403269] Stacked image and Panorama tools cannot find required binaries

2019-04-27 Thread meku
https://bugs.kde.org/show_bug.cgi?id=403269

--- Comment #25 from meku  ---
In debug: stacked does not find any required binaries and panorama only finds
'cpfind' and 'make'.

Without debug: all the required binaries are successfully detected.

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

[digikam] [Bug 403269] Stacked image and Panorama tools cannot find required binaries

2019-04-27 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=403269

--- Comment #24 from caulier.gil...@gmail.com ---
And it's the same for Panorama plugin ?

Gilles Caulier

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

[digikam] [Bug 403269] Stacked image and Panorama tools cannot find required binaries

2019-04-27 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=403269

--- Comment #23 from caulier.gil...@gmail.com ---
Which one is not found exactly ?

Gilles Caulier

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

[digikam] [Bug 403269] Stacked image and Panorama tools cannot find required binaries

2019-04-27 Thread meku
https://bugs.kde.org/show_bug.cgi?id=403269

--- Comment #22 from meku  ---
Appears to be working again in
digikam-6.2.0-git-20190426T172018-qtwebkit-x86-64.appimage

Note that running the appimage with 'debug' then the stacked tool cannot find
the binaries, though this appears to have been an issue in all versions -
including DK 6.0.0

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

[digikam] [Bug 403269] Stacked image and Panorama tools cannot find required binaries

2019-04-26 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=403269

--- Comment #21 from Maik Qualmann  ---
Git commit d6eb516fb99da981499b6fdc3f816c391d5f7962 by Maik Qualmann.
Committed on 26/04/2019 at 10:44.
Pushed by mqualmann into branch 'master'.

fix signal / slots from the ExpoBlendingThread

M  +4-4   
core/dplugins/generic/tools/expoblending/blendingdlg/expoblendingdlg.cpp
M  +4-4   
core/dplugins/generic/tools/expoblending/wizard/expoblendingitemspage.cpp
M  +6-6   
core/dplugins/generic/tools/expoblending/wizard/expoblendingpreprocesspage.cpp

https://invent.kde.org/kde/digikam/commit/d6eb516fb99da981499b6fdc3f816c391d5f7962

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

[digikam] [Bug 403269] Stacked image and Panorama tools cannot find required binaries

2019-04-26 Thread meku
https://bugs.kde.org/show_bug.cgi?id=403269

--- Comment #20 from meku  ---
The mandatory programs do not appear to have changed since my first post.

Installed are:
hugin-tools v2018.0.0
enfuse v4.2-4

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

[digikam] [Bug 403269] Stacked image and Panorama tools cannot find required binaries

2019-04-25 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=403269

--- Comment #19 from caulier.gil...@gmail.com ---
Between 6.0.0 and 6.1.0, nothing has changed in this plugins about processing.

I suspect a change in binary program used in background, especially about CLI
interface.

Which versions do you use with mandatory programs for this plugin ?

Gilles Caulier

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

[digikam] [Bug 403269] Stacked image and Panorama tools cannot find required binaries

2019-04-25 Thread meku
https://bugs.kde.org/show_bug.cgi?id=403269

--- Comment #18 from meku  ---
Stacked image tool is not working in DK 6.1 or DK 6.2 appimages.

The interface now finds the binaries but shows a waiting page with
"Pre-processing is under progress, please wait." Looking at running processes
there doesn't appear to be any image processing going on.

I can confirm it works as expected in final DK 6.0 release.

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

[digikam] [Bug 403269] Stacked image and Panorama tools cannot find required binaries

2019-03-20 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=403269

--- Comment #17 from caulier.gil...@gmail.com ---
After 3 weeks of work, i finally completed the compilation of AppImage using Qt
5.11.3 + QWebkit 5.212.

New 6.1.0 pre-release AppImage bundle can be found here (64 bits only for the
moment) :

https://files.kde.org/digikam/

Please check if this bugzilla entry still valid.

Thanks in advance

Gilles Caulier

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

[digikam] [Bug 403269] Stacked image and Panorama tools cannot find required binaries

2019-01-20 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=403269

--- Comment #16 from caulier.gil...@gmail.com ---
You are right Maik, if i pass the full path to ldconfig, with a standard user
it work.

I can revisit the patch then...

Gilles

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

[digikam] [Bug 403269] Stacked image and Panorama tools cannot find required binaries

2019-01-19 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=403269

--- Comment #15 from Maik Qualmann  ---
This would also work for normal users. I just do not know if ldconfig is
located under /sbin/ in all Linux distributions.

echo "$(/sbin/ldconfig -p | grep libfreetype.so | tr ' ' '\n' | grep / | grep
".*\.so$" )"

Maik

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

[digikam] [Bug 403269] Stacked image and Panorama tools cannot find required binaries

2019-01-19 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=403269

--- Comment #14 from caulier.gil...@gmail.com ---
Git commit a50d64cb0243dbceaa39a50817bd62962c7a9682 by Gilles Caulier.
Committed on 20/01/2019 at 05:29.
Pushed by cgilles into branch 'development/dplugins'.

forget to remove this debug line

M  +1-1project/bundles/appimage/data/AppRun

https://commits.kde.org/digikam/a50d64cb0243dbceaa39a50817bd62962c7a9682

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

[digikam] [Bug 403269] Stacked image and Panorama tools cannot find required binaries

2019-01-19 Thread meku
https://bugs.kde.org/show_bug.cgi?id=403269

--- Comment #13 from meku  ---
The above commit fails to preload of the shared libs because the lib filenames
are not matched. As previously noted, ubuntu paths are:
/usr/lib/x86_64-linux-gnu/libfreetype.so.6
/lib/x86_64-linux-gnu/libudev.so.1

Yet this build DOES work for stacking and panorama tools. Is it because
$LD_PRELOAD is left unset in this new build?

Output from console at startup:

-- digiKam AppImage Bundle  
-- Use 'help' as CLI argument to know all available options for digiKam
application   
-- Preloading shared libs:

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

[digikam] [Bug 403269] Stacked image and Panorama tools cannot find required binaries

2019-01-19 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=403269

--- Comment #12 from caulier.gil...@gmail.com ---
Git commit ee630892eab59649fbc6276d53b51dbedff5b9ef by Gilles Caulier.
Committed on 19/01/2019 at 17:53.
Pushed by cgilles into branch 'master'.

add rules to check shared lib paths

M  +34   -8project/bundles/appimage/data/AppRun

https://commits.kde.org/digikam/ee630892eab59649fbc6276d53b51dbedff5b9ef

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

[digikam] [Bug 403269] Stacked image and Panorama tools cannot find required binaries

2019-01-19 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=403269

--- Comment #11 from Maik Qualmann  ---
Yes, the same here under openSUSE, ldconfig needs root rights.

Maik

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

[digikam] [Bug 403269] Stacked image and Panorama tools cannot find required binaries

2019-01-19 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=403269

--- Comment #10 from caulier.gil...@gmail.com ---
Hum, in fact my way to use hard coded library path is the best, as ldconfig can
be run as root only in some Linux... So i need to revisit my patch

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

[digikam] [Bug 403269] Stacked image and Panorama tools cannot find required binaries

2019-01-19 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=403269

--- Comment #9 from caulier.gil...@gmail.com ---
meku,

I upload a new Linux AppImage bundle 64bits with a patch for LD_PRELOAD to be
more universal.

Please try with this version here :


https://files.kde.org/digikam/

Gilles Caulier

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

[digikam] [Bug 403269] Stacked image and Panorama tools cannot find required binaries

2019-01-19 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=403269

--- Comment #8 from caulier.gil...@gmail.com ---
Ok the solution is something like this :

echo "$(ldconfig -p | grep libfreetype.so | tr ' ' '\n' | grep / | grep
".*\.so$" )"

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

[digikam] [Bug 403269] Stacked image and Panorama tools cannot find required binaries

2019-01-19 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=403269

--- Comment #7 from caulier.gil...@gmail.com ---
There is one solution here, but it's not perfect as it return all symlinks
pointing to shared lib :

https://stackoverflow.com/questions/13148608/how-can-i-find-the-full-file-path-given-a-library-name-like-libfoo-so-1

ex under Centos6.10 :

[gilles@localhost data]$ echo "$(ldconfig -p | grep libudev.so | tr ' ' '\n' |
grep /)"
/lib64/libudev.so.0
/usr/lib64/libudev.so
[gilles@localhost data]$ ll /lib64/libudev.so.0
lrwxrwxrwx. 1 root root 16 29 oct.  11:09 /lib64/libudev.so.0 ->
libudev.so.0.5.1
[gilles@localhost data]$ echo "$(ldconfig -p | grep libfreetype.so | tr ' '
'\n' | grep /)"
/usr/lib64/libfreetype.so.6
/usr/lib64/libfreetype.so

Gilles

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

[digikam] [Bug 403269] Stacked image and Panorama tools cannot find required binaries

2019-01-19 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=403269

--- Comment #6 from caulier.gil...@gmail.com ---
Maik,

How to make a list of shared libs to preload with right path without to make a
distro puzzle ?

Perhaps we need a bash function to found the path of specific lib to pre-load
to run it.

Gilles

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

[digikam] [Bug 403269] Stacked image and Panorama tools cannot find required binaries

2019-01-17 Thread meku
https://bugs.kde.org/show_bug.cgi?id=403269

--- Comment #5 from meku  ---
On this ubuntu system the libraries are not at the paths that Digikam has
hardcoded:
libfreetype.so -> /usr/lib/x86_64-linux-gnu/libfreetype.so.6
libudev.so -> /lib/x86_64-linux-gnu/libudev.so.1

If I manually create symlinks to /usr/lib64 then the Stacking/Panorama tools
work.

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

[digikam] [Bug 403269] Stacked image and Panorama tools cannot find required binaries

2019-01-17 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=403269

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

   What|Removed |Added

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

--- Comment #4 from caulier.gil...@gmail.com ---
Digikam::adjustedEnvironmentForAppImage: Adjusting environment variables for
AppImage bundle
Digikam::DBinaryIface::parseHeader: "autooptimiser"  help header line: 
 "ERROR: ld.so: object '/usr/lib64/libudev.so' from LD_PRELOAD cannot be
preloaded (cannot open shared object file): ignored."

This error come from only the AppImage. This is due to binary compatibility
with low level libraries which cannot be embeded in the bundle.

One solution to this problem is to build the bundle under a more recent Linux
system. Remember that currently we use CentOS 6.10, which still maintained...

Another solution is to preload shared library in the AppImage run script as we
already do. Take a care, it will puzzle the AppImage stating process and can
have a side effect at run time. Look the already preload set here :

https://cgit.kde.org/digikam.git/tree/project/bundles/appimage/data/AppRun#n11

As you can see the famous libudev is already in the list of pre-ploaded
items... and typically, the .so file cannot be found on the target system...

Gilles Caulier

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

[digikam] [Bug 403269] Stacked image and Panorama tools cannot find required binaries

2019-01-17 Thread meku
https://bugs.kde.org/show_bug.cgi?id=403269

--- Comment #3 from meku  ---
Hugin tools appear to be in /usr/bin

Console selecting autooptimiser:

Digikam::DBinaryIface::checkDir: Testing  "/usr/bin/autooptimiser" ...
Digikam::adjustedEnvironmentForAppImage: Adjusting environment variables for
AppImage bundle
Digikam::DBinaryIface::parseHeader: "autooptimiser"  help header line: 
 "ERROR: ld.so: object '/usr/lib64/libudev.so' from LD_PRELOAD cannot be
preloaded (cannot open shared object file): ignored."
Digikam::DBinarySearch::slotAreBinariesFound: All Binaries Found :  false

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

[digikam] [Bug 403269] Stacked image and Panorama tools cannot find required binaries

2019-01-16 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=403269

--- Comment #2 from Maik Qualmann  ---
Can you post the output from the console, for example, if you choose
autooptimiser manually. As an an example:

digikam.general: Testing  "/usr/bin/autooptimiser" ...
digikam.general: "/usr/bin/autooptimiser"  help header line: 
 "autooptimiser version 2018.0.0.be8da0221960"
digikam.general: Found  "/usr/bin/autooptimiser"  version:  "2018.0.0"
digikam.general: All Binaries Found :  true

Maik

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

[digikam] [Bug 403269] Stacked image and Panorama tools cannot find required binaries

2019-01-16 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=403269

Maik Qualmann  changed:

   What|Removed |Added

 CC||metzping...@gmail.com

--- Comment #1 from Maik Qualmann  ---
Here under openSUSE Tumbleweed all tools (same versions hugin-2018 and enfuse
4.2) are also automatically found in the AppImage. In which file path are the
hugin tools installed?

Maik

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