Skip to content

[appimagetool] Wrong message/instruction re. icon placement for creating AppImage #593

Description

@pdfkungfoo

Consider this situation:

 kp@stretch:AppDirs>  ls -ld */
   drwxr-xr-x 3 kp kp 4096 Dec 19 11:45 env/

 kp@stretch:AppDirs>  ls -l /home/kp/AppDirs/env/usr/share/icons/hicolor/256x256/apps/env.png
   -rw-r--r-- 1 kp kp 55897 Dec  5 13:27 /home/kp/AppDirs/env/usr/share/icons/hicolor/256x256/apps/env.png

 kp@stretch:AppDirs>  appimagetool env/
   Using architecture x86_64
   /home/kp/AppDirs/env should be packaged as env-x86_64.AppImage
   env{.png,.svg,.svgz,.xpm} defined in desktop file but not found
   For example, you could put a 256x256 pixel png into
   /home/kp/AppDirs/env/usr/share/icons/hicolor/256x256/apps/env.png

 kp@stretch:AppDirs>  appimagetool env/

So, the icon env.png is in the place appimagetool demands (i.e. '/home/kp/AppDirs/env/usr/share/icons/hicolor/256x256/apps/env.png'), but then still doesn't seem to create the AppImage.

However, when I place the icon in the root of the AppDir (i.e. '/home/kp/AppDirs/env/env.png'), it seems to have no problem:

 kp@stretch:AppDirs>  mv env/usr/share/icons/hicolor/256x256/apps/env.png  env/env.png 

 kp@stretch:AppDirs>  ls -l /home/kp/AppDirs/env/env.png 
   -rw-r--r-- 1 kp kp 55897 Dec  5 13:33 /home/kp/AppDirs/env/env.png

 kp@stretch:AppDirs>  appimagetool env
   Using architecture x86_64
   /home/kp/AppDirs/env should be packaged as env-x86_64.AppImage
   Deleting pre-existing .DirIcon
   Creating .DirIcon symlink based on information from desktop file
   WARNING: AppStream upstream metadata is missing, please consider creating it
         in usr/share/metainfo/podofo.appdata.xml
         Please see https://www.freedesktop.org/software/appstream/docs/chap-
   Quickstart.html#sect-Quickstart-DesktopApps
         for more information.
   Generating squashfs...
   Parallel mksquashfs: Using 2 processors
   Creating 4.0 filesystem on env-x86_64.AppImage, block size 131072.
   [========================================================|] 9/9 100%

   Exportable Squashfs 4.0 filesystem, gzip compressed, data block size 131072
        compressed data, compressed metadata, compressed fragments, compressed xattrs
        duplicates are removed
   Filesystem size 81.05 Kbytes (0.08 Mbytes)
        68.00% of uncompressed filesystem size (119.18 Kbytes)
   Inode table size 259 bytes (0.25 Kbytes)
        42.53% of uncompressed inode table size (609 bytes)
   Directory table size 236 bytes (0.23 Kbytes)
        63.96% of uncompressed directory table size (369 bytes)
   Number of duplicate files found 0
   Number of inodes 19
   Number of files 9
   Number of fragments 1
   Number of symbolic links  1
   Number of device nodes 0
   Number of fifo nodes 0
   Number of socket nodes 0
   Number of directories 9
   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...
   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

My appimagetool dates from Dec 6th, is an AppImage, shows version 'continuous', with a filesize of 431.800 Bytes, and has this md5sum: 4dfe8814504c88ad9bec81ec07196bf1.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions