Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
91415f2
optimize: gate host -march on build machine arch
sunshineinabox Aug 7, 2026
232c884
glibc: track LibreELEC 2.44, rebase ROCKNIX patches
sunshineinabox Aug 10, 2026
784d517
gcc: drop 15.2.0 pin, follow LibreELEC 16.2.0
sunshineinabox Aug 10, 2026
c94cd1e
packages: drop stale shadows superseded by LibreELEC core
sunshineinabox Aug 10, 2026
d576fad
gcc: drop libsanitizer kernel-headers patch, upstream in 16.2
sunshineinabox Aug 10, 2026
e27dd9e
glibc: configure with --disable-werror
sunshineinabox Aug 10, 2026
15f0d8e
ROCKNIX: default to the mold linker
sunshineinabox Aug 10, 2026
ecb85c3
box86/box64: link with bfd, mold lacks -Ttext-segment
sunshineinabox Aug 10, 2026
2d498e2
box86: install box86rc from own build dir, drop cross-build path
sunshineinabox Aug 10, 2026
c46e366
mesa: build with -O3
sunshineinabox Aug 10, 2026
2020d1d
vulkan-loader: build with -O3 and LTO
sunshineinabox Aug 10, 2026
cd27a28
waffle: bump to master at the 1.8.3 release point
sunshineinabox Aug 10, 2026
ae86257
mako-osd: remove hidden-count placeholder cleanly
sunshineinabox Aug 10, 2026
39311e4
beetle-psx-lr: backport upstream c++20 initializer fix
sunshineinabox Aug 10, 2026
5cbda96
uae4arm: backport upstream fix for std::numbers ambiguity
sunshineinabox Aug 10, 2026
2019803
wxwidgets: build without SDL
sunshineinabox Aug 10, 2026
43ec8de
fex-emu: fix x86_64 thunk toolchain on aarch64 build hosts
sunshineinabox Aug 10, 2026
8d6cb2f
gst-plugins-base: fix gstvideopool.h circular include
sunshineinabox Aug 10, 2026
f89e0f5
vita3k-sa: backport upstream cstdint include fix
sunshineinabox Aug 10, 2026
8a25927
fex-emu: extend sysroot guard to GuestLibs, drop two masking patches
sunshineinabox Aug 10, 2026
69c380e
box86: restore bfd link flag lost in rebase conflict resolution
sunshineinabox Aug 10, 2026
2cac8ba
foot: track LibreELEC core, converting the stale shadow family
sunshineinabox Aug 11, 2026
82c1419
spirv-tools: backport the CloneDecorations empty-words guard
sunshineinabox Aug 11, 2026
0fa36eb
foot: drop the -Wno-error flags, stale at the new versions
sunshineinabox Aug 11, 2026
dd8448b
packages: track LibreELEC core for four more shadows
sunshineinabox Aug 11, 2026
1c8004f
cargo: drop the shadow, it carries nothing operative
sunshineinabox Aug 11, 2026
0d570d3
packages: take atf and mesa sources from where core takes them
sunshineinabox Aug 11, 2026
98f295d
packages: track core for glslang, spirv-tools, spirv-headers
sunshineinabox Aug 11, 2026
815b6a6
rust: track LibreELEC core at 1.97.1
sunshineinabox Aug 11, 2026
1d4f062
vulkan-wsi-layer: drop the obsolete __STDC_VERSION__ workaround
sunshineinabox Aug 11, 2026
3f09699
shared-mime-info: disable the spec build, it wants xmlto
sunshineinabox Aug 11, 2026
2486f0b
gdk-pixbuf: use the option names 2.44 actually has
sunshineinabox Aug 11, 2026
31ee02f
socat: bump to 1.8.1.3, upstream fixed the const strchr build
sunshineinabox Aug 11, 2026
92a79ff
swig: hold at 4.1.1, 4.5 breaks u-boot's binman
sunshineinabox Aug 11, 2026
f567cc4
luajit: keep target link flags out of the host compile
sunshineinabox Aug 11, 2026
fa983e9
at-spi2-core: introspection is a meson feature, not a combo
sunshineinabox Aug 11, 2026
9662a8e
wlroots: ignore unhandled libinput switch types
sunshineinabox Aug 11, 2026
0c8f832
box86: gold cannot link armv9a, fall through to bfd
sunshineinabox Aug 11, 2026
5abd074
u-boot: drop the unused gpt offset accumulator
sunshineinabox Aug 11, 2026
c7e02f9
samba: bump to 4.24.5, matching core
sunshineinabox Aug 11, 2026
6464e3f
readline: link the termcap library into libreadline.so
sunshineinabox Aug 11, 2026
4434705
samba: drop the inert fruit setting and a dead unit dependency
sunshineinabox Aug 11, 2026
3f0212c
u-boot: silence gcc 16 unused-but-set in the vendor forks
sunshineinabox Aug 11, 2026
026591d
grub: move to 2.14 final on freedesktop gitlab
sunshineinabox Aug 11, 2026
911fc2a
waffle: keep the cmake command line out of meson's probe
sunshineinabox Aug 11, 2026
35aed1f
dolphin-sa: stop mbedtls building with warnings as errors
sunshineinabox Aug 11, 2026
3eb3dff
wayland: move the stock display stack to LibreELEC core versions
sunshineinabox Aug 11, 2026
4728bc6
packages: bump 23 stale shadows to the versions core carries
sunshineinabox Aug 11, 2026
7a238fd
libsndfile: restore the git pin, core's release is older
sunshineinabox Aug 11, 2026
95fc7ad
wlroots: restore libdisplay-info lost in the ng.new replay
sunshineinabox Aug 11, 2026
c4b9264
cairo: bump to 1.18.4, core's version, unblocking pango consumers
sunshineinabox Aug 11, 2026
8fec713
gcc: pass the SLP node when costing emulated vector ops
sunshineinabox Aug 11, 2026
c6dff62
packages: pass -Zunstable-options for the custom rust target
sunshineinabox Aug 12, 2026
fa01990
packages: track core's opus and iwd versions
sunshineinabox Aug 12, 2026
c68c0c2
nasm: drop the shadow, core carries everything it held
sunshineinabox Aug 12, 2026
e308c17
opus: fix the aarch64-only vroundf path for the 32-bit arm leg
sunshineinabox Aug 12, 2026
bcded1c
samba: drop the readline link workaround, fixed at the source
sunshineinabox Aug 12, 2026
853baf4
patchelf: restore the toolchain dependency I dropped
sunshineinabox Aug 12, 2026
92de10f
sway: handle the sticky drag-lock state on the 1.9 fork
sunshineinabox Aug 12, 2026
ed451e7
alsa-lib: update to 1.2.16.1
sunshineinabox Aug 12, 2026
4a50604
alsa-ucm-conf: update to 1.2.16.1
sunshineinabox Aug 12, 2026
464ed88
alsa-utils: update to 1.2.16
sunshineinabox Aug 12, 2026
2d9cd02
pipewire: update to 1.6.8
sunshineinabox Aug 12, 2026
9a36641
wireplumber: update to 0.5.15
sunshineinabox Aug 12, 2026
3817217
ncurses: update to 6.6
sunshineinabox Aug 12, 2026
963f2ae
openssh: update to 10.4p1
sunshineinabox Aug 12, 2026
e8d2cf9
bluez: update to 5.87
sunshineinabox Aug 12, 2026
e3a65a7
ffmpeg: update to 9.0
sunshineinabox Aug 16, 2026
f90a1db
gst-libav: backport the FFmpeg 9.0 build fix
sunshineinabox Aug 12, 2026
d8e01ae
mpv: update to 0.41.0
sunshineinabox Aug 12, 2026
8773479
retroarch: backport FFmpeg 9 support
sunshineinabox Aug 12, 2026
ef621de
armsx2-sa: fix the build against FFmpeg 9
sunshineinabox Aug 12, 2026
427cb73
connman: update to 2.0
sunshineinabox Aug 12, 2026
a99f2ee
go: update to 1.25.12
sunshineinabox Aug 12, 2026
5201c55
i2c-tools: update to 4.4
sunshineinabox Aug 12, 2026
947040c
syncthing: update to 2.1.3
sunshineinabox Aug 12, 2026
d0addcd
tailscale: update to 1.102.2
sunshineinabox Aug 12, 2026
3ec208a
boost: update to 1.91.0
sunshineinabox Aug 12, 2026
aa779eb
qemu: drop the unused shadow
sunshineinabox Aug 12, 2026
9e79d4a
util-linux: update to 2.42.2
sunshineinabox Aug 12, 2026
f4106f8
busybox: update to 1.38.0
sunshineinabox Aug 12, 2026
66e7d94
linux: disable rust test workloads in perf
sunshineinabox Aug 12, 2026
4a07371
yabasanshiro-sa: drop the removed boost system component
sunshineinabox Aug 13, 2026
a8bf515
touchhle-sa: link the system SDL2 and openal-soft
sunshineinabox Aug 13, 2026
cbd4421
systemd: update to 261.2
sunshineinabox Aug 13, 2026
6110c2b
mesa: build the host pass as a compiler only, tracking core
sunshineinabox Aug 13, 2026
240eeab
yabasanshiro-sa: fix the Linux SCSP timed wait
sunshineinabox Aug 13, 2026
ee46a12
ffmpeg: only name v4l2-request options where the patches add them
sunshineinabox Aug 13, 2026
7a8c2b9
qt6: build the host pass without OpenGL
sunshineinabox Aug 13, 2026
7580746
linux: keep perf's bundled libbpf building under gcc 16
sunshineinabox Aug 13, 2026
9b2d805
SDL2: drop libX11:host, nothing in this package uses X11
sunshineinabox Aug 13, 2026
fa8827d
libvpx: update to 1.16.0
sunshineinabox Aug 13, 2026
23973c1
nfs-utils: drop the shadow, 2.9.2 made its trimmed deps invalid
sunshineinabox Aug 14, 2026
ac4b369
wayland-protocols: carry core's pkg-config Cflags patch
sunshineinabox Aug 14, 2026
467e714
libvpx: repair the Steam compat symlink the 1.16.0 bump orphaned
sunshineinabox Aug 14, 2026
5e8793a
strace: drop the shadow, core carries everything it held
sunshineinabox Aug 14, 2026
0dd8f19
libfmt: drop the shadow, ending the per-device 9.1.0 hold
sunshineinabox Aug 14, 2026
7e4ab5b
packages: restore core's checksums five shadows dropped
sunshineinabox Aug 14, 2026
6434114
libfreeaptx: drop the shadow, its checksum override went dead
sunshineinabox Aug 14, 2026
96ea57c
glibc: drop the orphaned __ARM_VEC_MATH_DISABLED guard patch
sunshineinabox Aug 14, 2026
6c9e522
mesa: declare glslang:host, the freedreno host driver needs it
sunshineinabox Aug 14, 2026
655a8d9
nasm: restore the shadow as an arch unlock, core skips aarch64
sunshineinabox Aug 14, 2026
971aeae
fex-emu: pin the thunkgen host parse to the device triple
sunshineinabox Aug 14, 2026
fc6391c
hostname: let the device name win under systemd 261
sunshineinabox Aug 15, 2026
ec5e72b
pipewire: let pipewire-pulse own the PulseAudio bus name
sunshineinabox Aug 15, 2026
2ee4273
systemd: keep systemd-rfkill alive with the /storage state symlink
sunshineinabox Aug 15, 2026
3cbbd01
dolphin-sa: keep the vendored SDL away from the pipewire headers
sunshineinabox Aug 16, 2026
6842557
docker: expose the x86 loader where Rosetta expects it on arm64 hosts
sunshineinabox Aug 16, 2026
20c25eb
docker: let Rosetta resolve the x86 libraries too, not just the loader
sunshineinabox Aug 16, 2026
41521ca
qt6: allow symlinked build paths
sunshineinabox Aug 10, 2026
5e6d75d
scripts: repair two build-tree states that cannot recover themselves
sunshineinabox Aug 11, 2026
a78a6a1
get_env: stop exporting host state that breaks the container
sunshineinabox Aug 12, 2026
4454fed
avahi: survive a retry after an interrupted first build
sunshineinabox Aug 15, 2026
397da47
packages: use BUILD_ROOT for cross-leg paths, not ROOT
sunshineinabox Aug 12, 2026
b2074d0
ci: archive configure logs on a failed build
sunshineinabox Aug 13, 2026
f1e4c2f
libsndfile: pin the source checksum
sunshineinabox Aug 17, 2026
2d81236
iwlwifi-firmware: pin the source checksum
sunshineinabox Aug 17, 2026
c624a52
mesa: restore the full host pass the fex driver copy relies on
sunshineinabox Aug 17, 2026
8707680
scripts/get_archive: let DISTRO_MIRROR hold several mirrors
sunshineinabox Aug 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/build-aarch64-emu-libretro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,14 @@ jobs:
uses: actions/upload-artifact@v7
with:
name: output.logs (${{ inputs.DEVICE }}-aarch64-emu-libretro)
include-hidden-files: true
path: |
output.log
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/.threads/logs/
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/config.log
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/meson-logs/meson-log.txt
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/CMakeFiles/CMakeError.log
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/config.summary

- name: Clean ccache
run: |
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/build-aarch64-emu-standalone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,14 @@ jobs:
uses: actions/upload-artifact@v7
with:
name: output.logs (${{ inputs.DEVICE }}-aarch64-emu-standalone)
include-hidden-files: true
path: |
output.log
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/.threads/logs/
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/config.log
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/meson-logs/meson-log.txt
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/CMakeFiles/CMakeError.log
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/config.summary

- name: Clean ccache
run: |
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/build-aarch64-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,14 @@ jobs:
uses: actions/upload-artifact@v7
with:
name: output.logs (${{ inputs.DEVICE }}-aarch64-image)
include-hidden-files: true
path: |
output.log
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/.threads/logs/
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/config.log
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/meson-logs/meson-log.txt
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/CMakeFiles/CMakeError.log
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/config.summary

- name: Get date
run: echo "DATE=$(date +'%Y%m%d')" >> $GITHUB_ENV
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/build-aarch64-mame-lr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,14 @@ jobs:
uses: actions/upload-artifact@v7
with:
name: output.logs (${{ inputs.DEVICE }}-aarch64-mame-lr)
include-hidden-files: true
path: |
output.log
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/.threads/logs/
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/config.log
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/meson-logs/meson-log.txt
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/CMakeFiles/CMakeError.log
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/config.summary

- name: Clean ccache
run: |
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/build-aarch64-qt6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,14 @@ jobs:
uses: actions/upload-artifact@v7
with:
name: output.logs (${{ inputs.DEVICE }}-aarch64-qt6)
include-hidden-files: true
path: |
output.log
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/.threads/logs/
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/config.log
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/meson-logs/meson-log.txt
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/CMakeFiles/CMakeError.log
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/config.summary

- name: Clean ccache
run: |
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/build-aarch64-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,14 @@ jobs:
uses: actions/upload-artifact@v7
with:
name: output.logs-${{ inputs.DEVICE }}-aarch64-rust
include-hidden-files: true
path: |
output.log
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/.threads/logs/
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/config.log
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/meson-logs/meson-log.txt
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/CMakeFiles/CMakeError.log
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/config.summary

- name: Print space
run: df -h
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/build-aarch64-toolchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,14 @@ jobs:
uses: actions/upload-artifact@v7
with:
name: output.logs (${{ inputs.DEVICE }}-aarch64-toolchain)
include-hidden-files: true
path: |
output.log
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/.threads/logs/
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/config.log
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/meson-logs/meson-log.txt
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/CMakeFiles/CMakeError.log
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/config.summary

- name: Build llvm:target
if: ${{ inputs.DEVICE == 'SM8250' || inputs.DEVICE == 'SM8550' || inputs.DEVICE == 'SM8650' || inputs.DEVICE == 'SM8750' }}
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/build-aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,14 @@ jobs:
uses: actions/upload-artifact@v7
with:
name: output.logs-${{ inputs.DEVICE }}-aarch64
include-hidden-files: true
path: |
output.log
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/.threads/logs/
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/config.log
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/meson-logs/meson-log.txt
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/CMakeFiles/CMakeError.log
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/config.summary

- name: Get date
run: echo "DATE=$(date +'%Y%m%d')" >> $GITHUB_ENV
Expand Down Expand Up @@ -111,9 +116,14 @@ jobs:
uses: actions/upload-artifact@v7
with:
name: output.logs-${{ inputs.DEVICE }}-modules
include-hidden-files: true
path: |
output.log
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/.threads/logs/
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/config.log
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/meson-logs/meson-log.txt
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/CMakeFiles/CMakeError.log
./build.ROCKNIX-${{ inputs.DEVICE }}.aarch64/build/**/config.summary

- name: Clean ccache
run: |
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/build-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,14 @@ jobs:
uses: actions/upload-artifact@v7
with:
name: output.logs (${{ inputs.DEVICE }}-arm)
include-hidden-files: true
path: |
output.log
./build.ROCKNIX-${{ inputs.DEVICE }}.arm/.threads/logs/
./build.ROCKNIX-${{ inputs.DEVICE }}.arm/build/**/config.log
./build.ROCKNIX-${{ inputs.DEVICE }}.arm/build/**/meson-logs/meson-log.txt
./build.ROCKNIX-${{ inputs.DEVICE }}.arm/build/**/CMakeFiles/CMakeError.log
./build.ROCKNIX-${{ inputs.DEVICE }}.arm/build/**/config.summary

- name: Clean ccache
run: |
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ RUN apt-get update \

RUN if [ "$(uname -m)" = "aarch64" ]; then \
apt-get install -y libc6-amd64-cross qemu-user-binfmt --no-install-recommends; \
mkdir -p /lib64; \
ln -sf /usr/x86_64-linux-gnu/lib/ld-linux-x86-64.so.2 /lib64/ld-linux-x86-64.so.2; \
ln -sfn /usr/x86_64-linux-gnu/lib /usr/lib/x86_64-linux-gnu; \
fi

RUN rm -rf /var/lib/apt/lists/*
Expand Down
14 changes: 13 additions & 1 deletion config/optimize
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,19 @@ TARGET_LIBDIR="$SYSROOT_PREFIX/lib $SYSROOT_PREFIX/usr/lib"
TARGET_INCDIR="$SYSROOT_PREFIX/include $SYSROOT_PREFIX/usr/include"

HOST_CPPFLAGS=""
HOST_CFLAGS="-march=x86-64 -mtune=generic -O2 -DNDEBUG -Wall -pipe -I$TOOLCHAIN/include"
# baseline -march per build machine so host builds are portable across CPUs
case "$(uname -m)" in
x86_64)
HOST_ARCH_FLAGS="-march=x86-64 -mtune=generic"
;;
aarch64|arm64)
HOST_ARCH_FLAGS="-march=armv8-a"
;;
*)
HOST_ARCH_FLAGS=""
;;
esac
HOST_CFLAGS="$HOST_ARCH_FLAGS -O2 -DNDEBUG -Wall -pipe -I$TOOLCHAIN/include"
HOST_CXXFLAGS="$HOST_CFLAGS"
HOST_LDFLAGS="-Wl,-rpath,$TOOLCHAIN/lib -L$TOOLCHAIN/lib"
HOST_INCDIR="$TOOLCHAIN/include /usr/include"
Expand Down
18 changes: 16 additions & 2 deletions distributions/ROCKNIX/options
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
# GOLD (Google Linker) support
GOLD_SUPPORT="yes"

# MOLD (Modern Linker) support, and use it as the default target linker
# (packages opt out via PKG_BUILD_FLAGS: glibc pins +bfd, box86/box64
# need -mold for -Ttext-segment)
MOLD_SUPPORT="yes"
DEFAULT_LINKER="mold"

# HARDENING (security relevant linker and compiler flags) support
HARDENING_SUPPORT="no"

Expand Down Expand Up @@ -182,8 +188,16 @@
# btop tool (yes / no)
BTOP_TOOL="yes"

# Distribution Specific source location
DISTRO_MIRROR="https://github.com/ROCKNIX/distribution-sources/releases/download/sources-v2"
# Distribution Specific source location. Space separated list, tried in order
# after the upstream URL.
#
# The second entry is TEMPORARY, DROP BEFORE MERGE: the org mirror predates the
# versions this branch bumped to, so an upstream hiccup on any of them is a hard
# CI failure - invisible-mirror.net rate limits ncurses, gnupg.org 403s and
# freedesktop.org 418s. The fork release carries the affected tarballs.
# See https://github.com/sunshineinabox/distribution/releases/tag/sources
DISTRO_MIRROR="https://github.com/ROCKNIX/distribution-sources/releases/download/sources-v2 \
https://github.com/sunshineinabox/distribution/releases/download/sources"
DISTRO_SRC="https://sources.libreelec.tv/$DISTRO_VERSION"

# Default size of system partition, in MB, eg. 512
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ if [ -n "${UBOOT_FIRMWARE}" ]; then
fi

pre_make_target() {
# Same gcc 16 -Wunused-but-set-variable vs -Werror problem as the RK3588
# tree: cmd/gpt.c carries the same dead accumulator. Vendor code.
export KCFLAGS="-Wno-error=unused-but-set-variable"

PKG_UBOOT_CONFIG="rocknix_rk3326_defconfig"
PKG_RKBIN="$(get_build_dir rkbin)"
PKG_MINILOADER="${PKG_RKBIN}/bin/rk33/rk3326_miniloader_v1.40.bin"
Expand Down
6 changes: 6 additions & 0 deletions projects/ROCKNIX/devices/RK3588/packages/u-boot/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ if [ -n "${UBOOT_FIRMWARE}" ]; then
fi

pre_make_target() {
# gcc 16 promotes -Wunused-but-set-variable and this vendor tree builds
# -Werror. The hits are dead locals in cmd/ (gpt.c, then nvedit.c), which
# are cosmetic, and each one costs a full build to find. Turn the class
# off rather than carry a patch per file for a tree we do not own.
export KCFLAGS="-Wno-error=unused-but-set-variable"

PKG_UBOOT_CONFIG="orangepi_5_defconfig"
PKG_RKBIN="$(get_build_dir rkbin)"
PKG_MINILOADER="spl/u-boot-spl.bin"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,74 @@
diff --git a/render.c b/render.c
index 8fed6d8..b157323 100644
--- a/render.c
+++ b/render.c
@@ -438,7 +438,7 @@ void render(struct mako_surface *surface, struct pool_buffer *buffer, int scale,
++visible_count;
--- a/render.c 2026-08-09 23:04:49
+++ b/render.c 2026-08-09 23:04:49
@@ -355,17 +355,14 @@
cairo_restore(cairo);

size_t visible_count = 0;
- size_t hidden_count = 0;
int total_height = 0;
int max_width = 0;
int pending_bottom_margin = 0;
struct mako_notification *notif;
- size_t total_notifications = 0;
wl_list_for_each(notif, &state->notifications, link) {
if (notif->surface != surface) {
continue;
}
}
- ++total_notifications;

// Immediately before rendering we need to re-match all of the criteria
// so that matches against the anchor and output work even if the
@@ -390,7 +387,6 @@

if (style->max_visible >= 0 &&
visible_count >= (size_t)style->max_visible) {
- ++hidden_count;
continue;
}

@@ -435,45 +431,7 @@
// group are rendered based on criteria, a group is considered a
// single entity for this purpose.
++visible_count;
- }
- }
-
- if (hidden_count > 0) {
- struct mako_notification *hidden_notif = create_notification(state);
- hidden_notif->surface = surface;
- hidden_notif->hidden = true;
- apply_each_criteria(&state->config.criteria, hidden_notif);
-
- struct mako_style *style = &hidden_notif->style;
-
+/*
if (hidden_count > 0) {
struct mako_notification *hidden_notif = create_notification(state);
hidden_notif->surface = surface;
@@ -478,7 +478,7 @@ void render(struct mako_surface *surface, struct pool_buffer *buffer, int scale,
- if (style->margin.top > pending_bottom_margin) {
- total_height += style->margin.top;
- } else {
- total_height += pending_bottom_margin;
- }
-
- struct mako_hidden_format_data data = {
- .hidden = hidden_count,
- .count = total_notifications,
- };
-
- size_t text_ln =
- format_text(style->format, NULL, format_hidden_text, &data);
- char *text = malloc(text_ln + 1);
- if (text == NULL) {
- fprintf(stderr, "allocation failed");
- return;
}
destroy_notification(hidden_notif);
}
-
+*/
- format_text(style->format, text, format_hidden_text, &data);
-
- int hidden_height = render_notification(
- cairo, state, surface, style, text, NULL, total_height, scale, NULL, 0);
- free(text);
-
- total_height += hidden_height;
- pending_bottom_margin = style->margin.bottom;
- destroy_notification(hidden_notif);
}

*rendered_width = max_width;
*rendered_height = total_height;
}
7 changes: 4 additions & 3 deletions projects/ROCKNIX/packages/audio/alsa-lib/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)

PKG_NAME="alsa-lib"
PKG_VERSION="1.2.14"
PKG_LICENSE="GPL"
PKG_SITE="http://www.alsa-project.org/"
PKG_VERSION="1.2.16.1"
PKG_SHA256="f740db7f488255944ffd4428416ee3390a96742856916433df468c281436480e"
PKG_LICENSE="LGPL-2.1-or-later"
PKG_SITE="https://www.alsa-project.org/"
PKG_URL="https://www.alsa-project.org/files/pub/lib/alsa-lib-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain alsa-ucm-conf alsa-topology-conf"
PKG_LONGDESC="ALSA (Advanced Linux Sound Architecture) is the next generation Linux Sound API."
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
diff -rupN alsa-lib-1.2.8.orig/src/pcm/pcm.c alsa-lib-1.2.8/src/pcm/pcm.c
--- alsa-lib-1.2.8.orig/src/pcm/pcm.c 2023-02-08 15:16:54.463152310 -0500
+++ alsa-lib-1.2.8/src/pcm/pcm.c 2023-02-08 15:17:08.347091741 -0500
@@ -8566,8 +8566,8 @@ int snd_pcm_recover(snd_pcm_t *pcm, int
s = "underrun";
else
s = "overrun";
- if (!silent)
- SNDERR("%s occurred", s);
+ //if (!silent)
+ // SNDERR("%s occurred", s);
err = snd_pcm_prepare(pcm);
if (err < 0) {
SNDERR("cannot recovery from %s, prepare failed: %s", s, snd_strerror(err));
Subject: [PATCH] pcm: log a recovered xrun at debug priority

snd_pcm_recover() prepares the stream and returns success, so the xrun
is handled rather than fatal. Reporting it at error priority floods the
journal on handhelds and cannot be filtered: snd_lib_log_filter() raises
any level below SND_LOG_ERROR back up to it. At debug priority the
message is off by default and still reachable with LIBASOUND_DEBUG.

diff --git a/src/pcm/pcm.c b/src/pcm/pcm.c
--- a/src/pcm/pcm.c
+++ b/src/pcm/pcm.c
@@ -8784,7 +8784,7 @@
else
s = "overrun";
if (!silent)
- snd_error(PCM, "%s occurred", s);
+ snd_debug(PCM, "%s occurred", s);
err = snd_pcm_prepare(pcm);
if (err < 0) {
snd_error(PCM, "cannot recovery from %s, prepare failed: %s", s, snd_strerror(err));
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
From 80965d8afd3241017b7dde8dcbd56ab2fd879973 Mon Sep 17 00:00:00 2001
From: Elimar Riesebieter <riesebie@lxtec.de>
Date: Wed, 11 Jan 2017 16:16:14 +0100
Subject: [PATCH] Enabled extended namehints in alsa.conf

---
src/conf/alsa.conf | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Index: alsa-lib/src/conf/alsa.conf
===================================================================
--- alsa-lib.orig/src/conf/alsa.conf
+++ alsa-lib/src/conf/alsa.conf
@@ -53,11 +53,11 @@ cards.@hooks [
diff --git a/src/conf/alsa.conf b/src/conf/alsa.conf
--- a/src/conf/alsa.conf
+++ b/src/conf/alsa.conf
@@ -96,11 +96,11 @@
#

# show all name hints also for definitions without hint {} section
Expand Down
Loading