ivan-hc / ArchImage

Build AppImage packages for all distributions but including Arch Linux packages. Powered by JuNest.
GNU General Public License v3.0
106 stars 1 forks source link

some package is cannot build #7

Closed newyorkthink closed 11 months ago

newyorkthink commented 11 months ago

when I build ibus https://archlinux.org/packages/extra/x86_64/ibus/

The .desktop file is available in ibus.AppDir/
appimagetool, continuous build (commit 5735cc5), build <local dev build> built on 2023-03-08 22:52:04 UTC
Categories entry not found in desktop file
.desktop file is missing a Categories= key
mv: cannot stat './*AppImage': No such file or directory

it always not find Categories=

so , I add it

[Desktop Entry]
Name[ca]=Selecciona l'emoji
Name[cs]=Výběr emoji:
Name[da]=Valg af emoji
Name[de]=Emojiauswahl
Name[es]=Selección de emoji
Name[fi]=Hymiö valinta
Name[fr]=Choix d’émoticônes
Name[hu]=Emodzsi választás
Name[ja]=絵文字の選択
Name[ko]=이모지 선택
Name[nl]=Emoji keuze
Name[pa]=ਇਮੋਜ਼ੀ ਚੋਣ
Name[pl]=Wybór emoji
Name[pt_BR]=Escolha do emoji
Name[sv]=Emoji-val
Name[tr]=Emoji Seçimi
Name[uk]=Вибір емодзі
Name[zh_CN]=Emoji 选择
Name[zh_TW]=繪文字選擇
Name=Emoji Choice
Icon=ibus
Exec=ibus emoji
Type=Application
NoDisplay=true

Categories=Utility

but ,this desktop file is always cover my change

newyorkthink commented 11 months ago

and i try to build udiskie ,is too

109/118) installing json-glib                                                                                                  [##############################################################################] 100%
(110/118) installing libproxy                                                                                                   [##############################################################################] 100%
(111/118) installing glib-networking                                                                                            [##############################################################################] 100%
(112/118) installing libsoup3                                                                                                   [##############################################################################] 100%
Optional dependencies for libsoup3
    samba: Windows Domain SSO
(113/118) installing libstemmer                                                                                                 [##############################################################################] 100%
(114/118) installing tracker3                                                                                                   [##############################################################################] 100%
Optional dependencies for tracker3
    libsoup: Alternative remoting backend
(115/118) installing gtk3                                                                                                       [##############################################################################] 100%
Optional dependencies for gtk3
    evince: Default print preview command
(116/118) installing libnotify                                                                                                  [##############################################################################] 100%
(117/118) installing python-keyutils                                                                                            [##############################################################################] 100%
(118/118) installing udiskie                                                                                                    [##############################################################################] 100%
Optional dependencies for udiskie
    libappindicator-gtk3: --appindicator support
:: Running post-transaction hooks...
( 1/18) Creating system user accounts...
Creating group 'avahi' with GID 981.
Creating user 'avahi' (Avahi mDNS/DNS-SD daemon) with UID 981 and GID 981.
( 2/18) Updating journal message catalog...
( 3/18) Reloading system manager configuration...
Failed to check for chroot() environment: Permission denied
  Skipped: Current root is not booted.
( 4/18) Updating udev hardware database...
( 5/18) Applying kernel sysctl settings...
Failed to check for chroot() environment: Permission denied
  Skipped: Current root is not booted.
( 6/18) Creating temporary files...
( 7/18) Reloading device manager configuration...
Failed to check for chroot() environment: Permission denied
  Skipped: Device manager is not running.
( 8/18) Arming ConditionNeedsUpdate...
( 9/18) Updating the MIME type database...
(10/18) Updating fontconfig configuration...
(11/18) Reloading system bus configuration...
Failed to check for chroot() environment: Permission denied
  Skipped: Current root is not booted.
(12/18) Updating fontconfig cache...
(13/18) Probing GDK-Pixbuf loader modules...
(14/18) Updating GIO module cache...
(15/18) Compiling GSettings XML schema files...
(16/18) Probing GTK3 input method modules...
(17/18) Updating icon theme caches...
(18/18) Updating the desktop file MIME type cache...
cp: cannot stat '': No such file or directory

https://archlinux.org/packages/extra/any/udiskie/

ivan-hc commented 11 months ago

The AppImage needs to have a .desktop file and an icon near the AppRun in the AppDir.

What you create with archimage-cli is a draft of a bash script with sections in whitch is explained what the script do during its execution.

Just find the part in wich the script is trying to find launcher and icon (line 60) and replace it.

Now, two are the things:

  1. if you have good enough skills to understand bash scripting you can do it by yourself;
  2. if you don't have these skills, now is the time to start learning how basic linux terminal commands work. The internet is rich of guides and I'm not a teacher.