Previously known as 'llvm-libs-debloated'
This repo makes modified versiones of Archlinux packages, these are intended for AppImages to reduce final size, like:
-
mesa-miniandvulkan-{radeon,intel,etc}-miniremove linking tolibLLVM.so, making any hardware accelerated app tiny as result.Also built without some developer-only features: Intel OA performance counters (
GL_INTEL_performance_query),INTEL_DEBUG=batbatch decoding and decoded NOUVEAU push buffer dumps. The patches are inaux/mesa. -
mesa-nanoandvulkan-{radeon,intel,etc}-nanosimilar tomesa-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. -
llvm-libs-minismaller version oflibLLVM.sowhich is a 150+ MiB library. The llvm targets are limited to the host architecture (x86_64oraarch64) plusAMDGPU, which reduces the size of the library to less than 75 MiB. Note this will cause issues if an application depends on more llvm targets, like compilers. -
llvm-libs-nanois a copy ofllvm-libs-mini, kept for backwards compatibility with scripts that hardcode the-nanoname. -
qt6-base-miniandlibxml2-mini, remove 30 MiB libicudata lib dependency. -
ffmpeg-miniwhich removes 20 MiB libx265.so dependency, also removes AV1 enconding support (decoding still works). -
ffmpeg-nanoa much more stripped down ffmpeg that only decodesmp3,opus,vorbis,pngandjpeg(no encoders, no hardware acceleration, no external codec libraries). -
sdl2_image-miniremoves AVIF and JPEG-XL support fromSDL2_image. AVIF pulls inlibavifplus the whole AV1 codec family (libaom,SvtAv1Enc,rav1e,dav1d) and JPEG-XL pullslibjxl— ~23 MiB combined that most apps never use. PNG/JPG/TIFF/WEBP still work. -
opus-miniI have no idea why Archlinux makes this lib 5 MiB when both ubuntu and alpine make it <500 KiB -
glycin-miniBuildsglycin-ng, alternative to glycin that does not have the many problems that GNOME glycin has. This replaces the oldgdk-pixbuf2-mini/librsvg-miniworkaround. -
icu-miniMuch smaller version oflibicudata.sothat is less than 3 MIB in size (10x reduction in size). -
gtk2-miniBuildsgtk2-ng-git, a community-maintained fork of GTK2. Not built at the moment, upstream is inactive. -
libdecor-miniBuildslibdecor-rs, rust implementation of libdecor without GTK/D-Bus dependencies (Ideal for SDL apps).
-
Anylinux-AppImages - ghostty, citron and many more
Build jobs run inside ghcr.io/pkgforge-dev/archlinux:<arch>, which is refreshed
daily. prepare-build syncs the package database and installs only what the
version check needs (git, patch and wget). The build dependencies
(base-devel, ccache, clang, cmake, curl, git, ninja,
patchelf, unzip and wget) are installed by bin/check-upstream-version
only when a package is actually going to be built, so jobs that skip an already
released version never download the toolchain.
This replaced the per-arch archlinux-builder image. Pulling that ~640 MiB image
cost as much as installing the toolchain (~260 MiB of packages), and every job
paid for it even when it skipped the build. The plain ~190 MiB image is smaller
and needs no image workflow to maintain.
The x86_64 and aarch64 jobs run daily at 15:17 UTC. The emulated jobs run
at 03:00 UTC on days 1, 6, 11, 16, 21, 26 and 31 of each month.
An already released package version skips compilation and package uploads.
glycin-mini and libdecor-mini build glycin-ng and libdecor-rs, and
mangohud is not packaged for Arch Linux ARM, so there is no target repository
version to compare. They check only the released version. Use FORCE_BUILD=1
to explicitly rebuild an unchanged version.
The emulated arches build from the PKGBUILD of their own archlinux port
(bin/get-port-pkgbuild):
ppc64le,ppc64: the complete PKGBUILD from ArchPOWER.riscv64: the Archlinux PKGBUILD plusriscv64.patch(and the extra files next to it) from archriscv-packages.loongarch64: the same withloong.patchfrom loongarch-packages.
The riscv64 and loongarch64 ports only patch the packages that need it. For the
others the plain Archlinux PKGBUILD is used. It is the one tagged
([epoch-]pkgver-pkgrel) with the version the port repo carries, not the latest
one. A patch that does not apply cleanly fails the build.
For repository-backed packages, the PKGBUILD version must equal the version that the
pacman repositories of the target architecture carry (bin/check-upstream-version,
compared as strings). This avoids partial updates. On the
emulated arches those repositories are the ones of the respective port, which
can lag behind Archlinux. The build is skipped when the versions differ, when
there is no Archlinux tag for the version the port carries (the port uses its own
pkgrel), or when the port does not carry the package. FORCE_BUILD=2 builds
anyway.