Bug 216915

Summary: digikam 8.2.0 AppImage bundle do not start under OpenSuse Tumbleweed.
Product: [Applications] digikam Reporter: Philippe ROUBACH <philippe.roubach>
Component: Bundle-AppImageAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin, mike
Priority: NOR    
Version: 8.2.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 8.2.0
Sentry Crash Report:

Description Philippe ROUBACH 2009-12-01 11:30:50 UTC
Version:           rc..-rc (using 4.3.77 (KDE 4.3.77 (KDE 4.4 >= 20091123)), Mandriva Linux release 2010.1 (Cooker) for i586)
Compiler:          gcc
OS:                Linux (i686) release 2.6.31.6-desktop-2mnb

using Openstreetmap is an imporvement compared to Atlas
but
the display of openstreetmap through marble due to format pb is blurry

the solution to this is a long term one

see my report
http://bugs.kde.org/show_bug.cgi?id=199259

this pb works again digikam interest

a good solution is to add Goolge maps to Marble

see discussion
https://bugs.kde.org/show_bug.cgi?id=216803

thanks
Comment 1 Michael G. Hansen 2009-12-01 11:44:55 UTC
Both the tab on the left and on the right use the same Marble component. Thus if we improve one, we will also improve the other.

About the Google Maps discussion: If we simply switch to their tiles, they will be blurry as well.

Michael

*** This bug has been marked as a duplicate of bug 199259 ***
Comment 2 caulier.gilles 2023-10-24 05:33:28 UTC
Philippe,

The digiKam 8.2.0 pre-release for Windows is available for testing :

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

Problem still reproducible on your computer ?

Thanks in advance

Gilles Caulier
Comment 3 Philippe ROUBACH 2023-10-26 12:03:54 UTC
There is an issue.

:~/rpmd/digikam> ./digiKam-8.2.0-20231023T175733-x86-64.appimage
bash: ./digiKam-8.2.0-20231023T175733-x86-64.appimage: Permission non accordée
roubach@grincheux:~/rpmd/digikam> ./digiKam-8.2.0-20231023T175733-x86-64.appimage
-- digiKam Linux AppImage Bundle
-- Use 'help' as CLI argument to know all available options for digiKam application.
-- Notes: to integrate this bundle to your desktop, use AppImageLauncher.
--        to enable all debug messages on the console, use 'export QT_LOGGING_RULES="digikam*=true"'.
--        to extract the bundle contents locally, use option '--appimage-extract' on the command line.
-- Detected host Linux -64-
-- AppImage mounted directory: /tmp/.mount_digiKa77UmuI
Check library libudev.so.0
Check library libxcb-dri3.so.0
Check library libcrypto.so.1.1
Check library libssl.so.1.1
Check library libnss3.so
Check library libnssutil3.so
Check library libsmime3.so
Check library libgmodule-2.0.so.0
-- Preloading shared libs: :/tmp/.mount_digiKa77UmuI/usr/lib/libavif.so.13:/usr/lib64/libxcb-dri3.so.0:/usr/lib64/libcrypto.so.1.1:/usr/lib64/libssl.so.1.1:/usr/lib64/libnss3.so:/usr/lib64/libnssutil3.so:/usr/lib64/libsmime3.so:/usr/lib64/libgmodule-2.0.so.0
digikam: symbol lookup error: /tmp/.mount_digiKa77UmuI/usr/lib/libgnutls.so.30: undefined symbol: _idn2_punycode_decode, version IDN2_0.0.0
:~/rpmd/digikam>
Comment 4 caulier.gilles 2023-10-26 14:35:29 UTC
Hi Philippe,

Which system did you use now ?

Where is located the libgnutls.so on your system exactly ? /usr/lib64 | /usr/lib/x86_64-linux-gnu | /lib/x86_64-linux-gnu ?

Gilles Caulier
Comment 5 Philippe ROUBACH 2023-10-26 14:48:18 UTC
Operating System: openSUSE Tumbleweed 20231023
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11
Kernel Version: 6.5.8-1-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-7400 CPU @ 3.00GHz
Memory: 15.5 Gio of RAM
Graphics Processor: Mesa Intel® HD Graphics 630
Comment 6 Philippe ROUBACH 2023-10-26 14:54:26 UTC
in /usr/lib64
there are 
- libgnutls.so.30 (a link to libgnutls.so.30.36.0)
- libgnutls.so.30.36.0
Comment 7 Maik Qualmann 2023-10-26 16:59:49 UTC
The digiKam-8.2.0 AppImage from October 16th, 2023 starts under openSUSE Tumbleweed without any problems, the current one from October 25th no longer works.

Maik
Comment 8 Philippe ROUBACH 2023-10-27 07:16:14 UTC
:~/rpmd/digikam> ls
digiKam-8.2.0-20231026T191358-x86-64.appimage
roubach@grincheux:~/rpmd/digikam> ./digiKam-8.2.0-20231026T191358-x86-64.appimage
-- digiKam Linux AppImage Bundle
-- Use 'help' as CLI argument to know all available options for digiKam application.
-- Notes: to integrate this bundle to your desktop, use AppImageLauncher.
--        to enable all debug messages on the console, use 'export QT_LOGGING_RULES="digikam*=true"'.
--        to extract the bundle contents locally, use option '--appimage-extract' on the command line.
-- Detected host Linux -64-
-- AppImage mounted directory: /tmp/.mount_digiKaPKhstD
Check library libudev.so.0
Check library libxcb-dri3.so.0
Check library libcrypto.so.1.1
Check library libssl.so.1.1
Check library libnss3.so
Check library libnssutil3.so
Check library libsmime3.so
Check library libgmodule-2.0.so.0
-- Preloading shared libs: :/usr/lib64/libxcb-dri3.so.0:/usr/lib64/libcrypto.so.1.1:/usr/lib64/libssl.so.1.1:/usr/lib64/libnss3.so:/usr/lib64/libnssutil3.so:/usr/lib64/libsmime3.so:/usr/lib64/libgmodule-2.0.so.0
digikam: symbol lookup error: /tmp/.mount_digiKaPKhstD/usr/lib/libgnutls.so.30: undefined symbol: _idn2_punycode_decode, version IDN2_0.0.0
:~/rpmd/digikam>
Comment 9 caulier.gilles 2023-10-27 07:40:57 UTC
Try to preload the shared lib from your system before to run the AppImage bundle:

LD_PRELOAD=/usr/lib64/libgnutls.so.30 ./digiKam-8.2.0-20231026T191358-x86-64.appimage

Gilles
Comment 10 Philippe ROUBACH 2023-10-27 09:19:37 UTC
Marble + OSM + spherical => text is blurry
Marble + OSM + mercator => text is less blurry, not good
Marble + OSM + OSM vectoriel +spherical or mercator => text is not blurry
Comment 11 caulier.gilles 2023-10-27 09:43:43 UTC
Can you take screenshots of the geolocation tab with the dysfunction ?

I suppose that the LD_PRELOAD adjustement work for you ? If yes, i will inlcude this rules in the AppImage startup script.

Gilles
Comment 12 Maik Qualmann 2023-10-27 10:07:48 UTC
See Bug 199259

Maik
Comment 13 caulier.gilles 2023-10-27 10:57:28 UTC
Ok fine. Bug 199259 has all in place.

I will rename this file to fix the support of opensuse with 8.2.0 AppImage
Comment 14 caulier.gilles 2023-10-27 11:02:43 UTC
Git commit e67a8c9b8ee38260026e53db5e131de524f092f2 by Gilles Caulier.
Committed on 27/10/2023 at 13:00.
Pushed by cgilles into branch 'master'.

Fix preloading of libgnutls.so.30 for OpenSuse Tumbleweed
FIXED-IN: 8.2.0

M  +3    -0    project/bundles/appimage/data/AppRun

https://invent.kde.org/graphics/digikam/-/commit/e67a8c9b8ee38260026e53db5e131de524f092f2