more info in shell scripts.#27
Conversation
| VERSION=$(pacman -Q PACKAGENAME | awk '{print $2; exit}') # example command to get version of application here | ||
| export ARCH VERSION | ||
| export ARCH | ||
| # Used by sharun to set x86_64 or aarch64 in appimage name |
There was a problem hiding this comment.
do we really need to specify this lol
I don't think anything regarding ARCH and VERSION needs to be changed here btw
|
I think we should put the link to the docs as a comment and only add small comments here when needed. To me, this looks cluttered. |
|
yeah I came to the same idea its to cluttered when I I was overthinking stuff trying to go to sleep(brain needs to shut up when I need sleep), got a different idea, ill post in a bit. |
To help new people find documentation.
|
Ok nuked my old submission with a new way. I made a documentation folder and put all my stuff in there. As people build things they can add examples. Anything that you think people will be like how do i do this, let me go search for 30 minutes to find a answer. Also there is documentation? Been winging it.... |
Looks better than before, will check in more detail sometime later
It's this link: |
| --ffmpeg-mini | ||
| which removes 20 MiB libx265.so dependency, also removes AV1 enconding support (decoding still works). | ||
|
|
||
| --gdk-pixbuf2-mini, --librsvg-mini | ||
| These remove the glycin dependency, ~20 MiB of bloat. (glycin is also super buggy and depends on bwrap which is problematic for running appimages in very old kernels) | ||
|
|
||
| --gtk3-mini | ||
| ?? | ||
|
|
||
| --gtk4-mini | ||
| ?? | ||
|
|
||
| --icu-mini | ||
| Much smaller version of libicudata.so that is less than 3 MIB in size (10x reduction in size). | ||
|
|
||
| --intel-media-driver-mini | ||
| ? | ||
|
|
||
| --kiconthemes-mini | ||
| ? | ||
|
|
||
| --llvm-libs-mini | ||
| smaller version of libLLVM.so which is a 150+ MiB library, this version is reduced down to 99 MiB. | ||
|
|
||
| --llvm-libs-nano | ||
| similar to mini, but with the llvm targets limited (x86_64 or aarch64) + AMDGPU, this reduces the size of the library to less than 70 MiB. Note this will cause issues if application depends on more llvm targets like compilers. | ||
|
|
||
| --mangohud-mini |
| --mesa-mini and vulkan-{radeon,intel,etc}-mini | ||
| remove linking to libLLVM.so, making any hardware accelerated app tiny as result. | ||
|
|
||
| --mesa-nano and vulkan-{radeon,intel,etc}-nano | ||
| similar to mesa-mini, built with -Os which makes it ~30% smaller. Note -Os can have a performance and even stability issue so do not use this package in apps like emulators where this is critical. | ||
|
|
||
| --mesa-zink-mini | ||
| ? | ||
|
|
||
| --opus-mini | ||
| I have no idea why Archlinux makes this lib 5 MiB when both ubuntu and alpine make it <500 KiB | ||
|
|
||
| --qt6-base-mini and libxml2-mini | ||
| remove 30 MiB libicudata lib dependency. | ||
|
|
||
| --x265-mini |
There was a problem hiding this comment.
these are not flags either
|
I really don't see this PR going anywhere tbh. I liked the original idea of adding more comments to the scripts, like explaining what |
Added more information on...
Might have stopped me from fumbling around so much.