Closed xensurve closed 1 year ago
this part
grep: /root/Desktop/tmp/.junest/usr/share/applications/*: No such file or directory
cp: cannot stat '': No such file or directory
means that if you installed something, there is not a *.desktop file in ./.junest/usr/share/applications .... so the app has not been installed. I suggest to repeat the steps manually to test what was wrong during the execution of the script.
PS: I don't know if I should replace AUR with ChaoticAUR, at least to prevent the long compiling process.
Just improved the template https://github.com/ivan-hc/ArchImage/commit/910c7cbe76cb4d0cc6722389f142bbfdea0e2f9a
Try to create it again.
PS: due to the amount of disk space, I decided to made optional only gzip
/binutils
and gcc
, but to made all development tools available, use base-devel
https://archlinux.org/packages/core/any/base-devel/ according with the main guide of JuNest https://github.com/fsquillace/junest#cannot-use-aur-repository
New template https://github.com/ivan-hc/ArchImage/commit/011de7fbdf4cba53998e6ca90be7becd5a36bfe5
./archimage-cli -b name-of-the-package-from-aur
I've just created a new repo for "Bottles" with this template https://github.com/ivan-hc/Bottles-appimage
ok I got it compile and build the appimage but the appimage does'nt open
so the script cant seem to find the desktop file or the png and fails to build unless you create and put those files in place, it cant seem to locate some others as well
rm: cannot remove './.junest/etc/locale.conf': No such file or directory
mkdir: cannot create directory 'firefox.AppDir': File exists
appimagetool, continuous build (commit 5735cc5), build
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 129680.75 Kbytes (126.64 Mbytes) 34.88% of uncompressed filesystem size (371806.30 Kbytes) Inode table size 119944 bytes (117.13 Kbytes) 23.94% of uncompressed inode table size (501080 bytes) Directory table size 125471 bytes (122.53 Kbytes) 47.98% of uncompressed directory table size (261483 bytes) Number of duplicate files found 2517 Number of inodes 13405 Number of files 10540 Number of fragments 459 Number of symbolic links 1843 Number of device nodes 0 Number of fifo nodes 0 Number of socket nodes 0 Number of directories 1022 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..com
but then doing ./Firefox-Web-Browser_115.0.2-1-x86_64.AppImage does nothing it does'nt open
you could add in the following
1 ) applications that don't have a desktop file and has either has one or more files and runs in the terminal i.e aircrack-ng 2 ) use chaotic to speed up and have smaller space 3 ) add > /dev/null 2>&1 to ignore output if folder exists etc
Firefox
I have troubles with apps requiring internet connections (you've tested this with Firefox, I've done the same with Chromium). I think I should to remove 2> /dev/null
from the AppRun to see more details... however, those who want to learn more about the created app, can do the same by testing the AppRun into ./*.AppDir
1 ) applications that don't have a desktop file and has either has one or more files and runs in the terminal i.e aircrack-ng
so I should add an "if" function in case .desktop is not in ./.Appdir and use touch
to generate an empty icon to made these apps exportable as AppImages. This is a good idea.
2 ) use chaotic to speed up and have smaller space
I've seen that there is not everything in chaotic, yesterday I've seen if gimp-devel
was there, I've found gimp-git
and I think it is not the same thing. So to leave everything as is its the better idea. I think that those who want to create this kind of Appimage need to use a web service like Github Actions, Open Build Service or Travis to generate these apps automatically. I recommend to test this one or two times on the PC, then start the search to remove stuff.
3 ) add > /dev/null 2>&1 to ignore output if folder exists etc
I think I've already provided something like this, however those that have a less powerful CPU (I have an AMD Ryzen 5 3600) can be not aware about the amount of time compiling the Appimage and may think the program is stuck!
Today I've replaced VLC, GIMP and GIMP Developer Edition (gimp-dev) using the new template, updated MPV and OBS Studio... and yesterday I opened a repository for an experimental "Bottles"... all works fine and with no errors.
I think that its enough to consider this issue solved.
Database directory: /var/lib/pacman/ :: Do you want to remove unused repositories? [Y/n] removing unused sync repositories... grep: /root/Desktop/tmp/.junest/usr/share/applications/*: No such file or directory cp: cannot stat '': No such file or directory
any app from aur I try to install gives me this output