https://bugs.kde.org/show_bug.cgi?id=493578

--- Comment #8 from ouinouin <julien.bresci...@free.fr> ---
(In reply to Maik Qualmann from comment #7)
> There is also the possibility that it is an AppImageLauncher bug:
> 
> https://github.com/TheAssassin/AppImageLauncher/issues/652
> 
> Unfortunately no answer from the AppImageLauncher developers yet...
> 
> Maik

i digged in a lot of unsolved bugs of this type, i finally was able to fix this
bydecompressing the image and rebuiding it , it first complained about the
desktop files being at the root of the folder not being real desktop files, so
i copied the desktop files located in usr/share/applications to the root , then
 it was complaininf about missing icon for showfoto , so i copied the
digikam.png and renamed showfoto.png to give a try , and could build image with
appimagetool.



first try :  complains about desktop file :

appimagetool, continuous build (commit 5735cc5), build <local dev build> built
on 2023-03-08 22:52:04 UTC
/home/ouinouin/testappimage/digiKam-8.5.0-20240924T100117-Qt6-x86-64-debug_3f5bdd0503e367bc9a9a796b6353f72b.appimage/org.kde.showfoto.desktop:
error: file contains line "usr/share/applications/org.kde.showfoto.desktop",
which is not a comment, a group or an entry
ERROR: Desktop file contains errors. Please fix them. Please see
       https://standards.freedesktop.org/desktop-entry-spec/1.0/n       for
more information.
ouinouin@ouindell:~/testappimage$ ./appimagetool-x86_64.AppImage 
digiKam-8.5.0-20240924T100117-Qt6-x86-64-debug_3f5bdd0503e367bc9a9a796b6353f72b.appimage
digikamouin.appimage


second try , copied correct desktop files in the root folder :

Failed to enable unit: Unit file
/etc/xdg/systemd/user/appimagelauncherd.service is masked.
appimagetool, continuous build (commit 5735cc5), build <local dev build> built
on 2023-03-08 22:52:04 UTC
Using architecture x86_64
/home/ouinouin/testappimage/digiKam-8.5.0-20240924T100117-Qt6-x86-64-debug_3f5bdd0503e367bc9a9a796b6353f72b.appimage
should be packaged as digikamouin.appimage
showfoto{.png,.svg,.xpm} defined in desktop file but not found
For example, you could put a 256x256 pixel png into
/home/ouinouin/testappimage/digiKam-8.5.0-20240924T100117-Qt6-x86-64-debug_3f5bdd0503e367bc9a9a796b6353f72b.appimage/showfoto.png



third try , adding shofoto.png in the root folder :

appimagetool, continuous build (commit 5735cc5), build <local dev build> built
on 2023-03-08 22:52:04 UTC
Using architecture x86_64
/home/ouinouin/testappimage/digiKam-8.5.0-20240924T100117-Qt6-x86-64-debug_3f5bdd0503e367bc9a9a796b6353f72b.appimage
should be packaged as digikamouin.appimage
AppStream upstream metadata found in
usr/share/metainfo/org.kde.showfoto.appdata.xml
Trying to validate AppStream information with the appstreamcli tool
In case of issues, please refer to https://github.com/ximion/appstream
org.kde.digikam.appdata.xml
  I: org.kde.digikam.desktop:61: summary-has-dot-suffix Xestor de álbums de
fotos.

org.kde.showfoto.appdata.xml
  I: org.kde.showfoto.desktop:61: summary-has-dot-suffix Editor de imaxes.

✔ La validation a réussi : informations : 2
Generating squashfs...
Parallel mksquashfs: Using 4 processors
Creating 4.0 filesystem on digikamouin.appimage, block size 131072.
[===========================================================================================================================================================================\]
25536/25536 100%

Exportable Squashfs 4.0 filesystem, gzip compressed, data block size 131072
        compressed data, compressed metadata, compressed fragments,
        compressed xattrs, compressed ids
        duplicates are removed
Filesystem size 940815.47 Kbytes (918.77 Mbytes)
        39.73% of uncompressed filesystem size (2367947.15 Kbytes)
Inode table size 127710 bytes (124.72 Kbytes)
        37.29% of uncompressed inode table size (342494 bytes)
Directory table size 72213 bytes (70.52 Kbytes)
        36.63% of uncompressed directory table size (197168 bytes)
Number of duplicate files found 688
Number of inodes 8403
Number of files 7922
Number of fragments 642
Number of symbolic links  0
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 481
Number of ids (unique uids + gids) 1
Number of uids 1
        root (0)
Number of gids 1
        root (0)
Embedding ELF...
Marking the AppImage as executable...
Embedding MD5 digest
Success

Please consider submitting your AppImage to AppImageHub, the crowd-sourced
central directory of available AppImages, by opening a pull request
at https://github.com/AppImage/appimage.github.io

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

Reply via email to