Skip to content

more info in shell scripts.#27

Open
TheRealYasri wants to merge 1 commit into
pkgforge-dev:mainfrom
TheRealYasri:main
Open

more info in shell scripts.#27
TheRealYasri wants to merge 1 commit into
pkgforge-dev:mainfrom
TheRealYasri:main

Conversation

@TheRealYasri
Copy link
Copy Markdown

Added more information on...

  1. valid export commands
  2. get-debloated-pkgs options
  3. example of source compile with app version setting.

Might have stopped me from fumbling around so much.

Comment thread get-dependencies.sh Outdated
Comment thread make-appimage.sh Outdated
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
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we really need to specify this lol

I don't think anything regarding ARCH and VERSION needs to be changed here btw

Comment thread make-appimage.sh Outdated
Comment thread make-appimage.sh Outdated
Comment thread make-appimage.sh Outdated
Comment thread make-appimage.sh Outdated
Comment thread make-appimage.sh Outdated
@Samueru-sama Samueru-sama requested a review from fiftydinar May 17, 2026 23:22
@fiftydinar
Copy link
Copy Markdown
Contributor

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.

@TheRealYasri
Copy link
Copy Markdown
Author

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.
@TheRealYasri
Copy link
Copy Markdown
Author

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....

@fiftydinar
Copy link
Copy Markdown
Contributor

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.

Looks better than before, will check in more detail sometime later

Also there is documentation? Been winging it....

It's this link:
https://pkgforge-dev.github.io/Anylinux-AppImages/HOW-TO-MAKE-THESE.html

Comment on lines +22 to +49
--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
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are not flags.

Comment on lines +52 to +67
--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
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are not flags either

@Samueru-sama
Copy link
Copy Markdown
Member

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 --add-common and --prefer-nano do, but there were way too many comments,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants