├── .gitignore ├── GNUmakefile ├── LICENSE ├── README.md ├── README.md.old ├── base-files ├── bin ├── etc │ ├── group │ ├── hostname │ ├── hosts │ ├── passwd │ ├── profile │ ├── resolv.conf │ └── shells ├── home │ └── lyre │ │ └── .keep ├── lib ├── lib64 ├── root │ ├── .keep │ ├── hello.c │ └── hello.cc ├── run │ └── .keep ├── sbin ├── tmp │ └── .keep ├── usr │ ├── lib64 │ └── sbin └── var │ ├── log │ └── .keep │ └── run ├── build-support ├── CMakeToolchain-x86_64.txt ├── bash │ ├── bash.bash_logout │ └── bash.bashrc ├── checklibs.sh ├── checklibtool.sh ├── checksoname.sh ├── checkstatic.sh ├── checkstripped.sh ├── checksysroot.sh ├── cross-llvm-config ├── cross_file-x86_64.txt ├── gcc │ ├── c89 │ └── c99 ├── jwm │ └── system.jwmrc ├── limine.conf ├── makeiso.sh ├── nano │ └── nanorc └── xorg-server │ └── xorg.conf ├── host-recipes ├── autoconf ├── autoconf-2.69 ├── automake ├── binutils ├── file ├── gcc ├── libgcc-binaries ├── libtool ├── limine └── pkg-config ├── init ├── GNUmakefile └── init.c ├── jinx-config ├── jinx-config-debug ├── patches ├── ace-of-penguins │ └── jinx-working-patch.patch ├── autoconf │ └── jinx-working-patch.patch ├── bash │ └── jinx-working-patch.patch ├── binutils │ └── jinx-working-patch.patch ├── cairo │ └── jinx-working-patch.patch ├── cmatrix │ └── jinx-working-patch.patch ├── dbus │ └── jinx-working-patch.patch ├── fribidi │ └── jinx-working-patch.patch ├── gawk │ └── jinx-working-patch.patch ├── gcc-host │ └── jinx-working-patch.patch ├── gdbm │ └── jinx-working-patch.patch ├── git │ └── jinx-working-patch.patch ├── glib │ └── jinx-working-patch.patch ├── gtk+-3 │ └── jinx-working-patch.patch ├── libgcrypt │ └── jinx-working-patch.patch ├── libgpg-error │ └── jinx-working-patch.patch ├── libjpeg-turbo │ └── jinx-working-patch.patch ├── libtool │ └── jinx-working-patch.patch ├── libxfont2 │ └── jinx-working-patch.patch ├── libzip │ └── jinx-working-patch.patch ├── llvm │ └── jinx-working-patch.patch ├── m4 │ └── jinx-working-patch.patch ├── mesa-demos │ └── jinx-working-patch.patch ├── mesa │ └── jinx-working-patch.patch ├── mlibc │ └── jinx-working-patch.patch ├── ncurses │ └── jinx-working-patch.patch ├── openssh │ └── jinx-working-patch.patch ├── openssl │ └── jinx-working-patch.patch ├── pcre2 │ └── jinx-working-patch.patch ├── python │ └── jinx-working-patch.patch ├── readline │ └── jinx-working-patch.patch ├── rsync │ └── jinx-working-patch.patch ├── xf86-input-keyboard │ └── jinx-working-patch.patch ├── xf86-input-mouse │ └── jinx-working-patch.patch ├── xf86-video-fbdev │ └── jinx-working-patch.patch ├── xorg-proto │ └── jinx-working-patch.patch ├── xorg-server │ └── jinx-working-patch.patch ├── xorg-xinit │ └── jinx-working-patch.patch ├── xorriso │ └── jinx-working-patch.patch └── zlib │ └── jinx-working-patch.patch ├── recipes ├── ace-of-penguins ├── at-spi2-core ├── autoconf-archive ├── base ├── base-files ├── bash ├── bash-completion ├── bc ├── binutils ├── bzip2 ├── cairo ├── cglm ├── cmatrix ├── core-libs ├── coreutils ├── curl ├── dbus ├── diffutils ├── file ├── findutils ├── fontconfig ├── freeglut ├── freestnd-c-hdrs ├── freestnd-cxx-hdrs ├── freetype2 ├── fribidi ├── frigg ├── gawk ├── gcc ├── gdbm ├── gdk-pixbuf ├── gettext ├── git ├── glib ├── glu ├── gmp ├── graphite2 ├── grep ├── groff ├── gsettings-desktop-schemas ├── gtk+-3 ├── gzip ├── harfbuzz ├── hicolor-icon-theme ├── icu ├── init ├── jwm ├── kernel ├── less ├── libarchive ├── libepoxy ├── libexpat ├── libffi ├── libfontenc ├── libgcc ├── libgcrypt ├── libgpg-error ├── libice ├── libiconv ├── libintl ├── libjpeg-turbo ├── libpipeline ├── libpng ├── libsm ├── libstdc++ ├── libtiff ├── libunistring ├── libwebp ├── libx11 ├── libxau ├── libxaw ├── libxcb ├── libxcrypt ├── libxcursor ├── libxcvt ├── libxdamage ├── libxdmcp ├── libxext ├── libxfixes ├── libxfont2 ├── libxft ├── libxi ├── libxinerama ├── libxkbcommon ├── libxkbfile ├── libxml ├── libxmu ├── libxpm ├── libxrandr ├── libxrender ├── libxshmfence ├── libxt ├── libxtst ├── libxv ├── libxxf86vm ├── libzip ├── limine ├── llvm ├── lua ├── lz4 ├── m4 ├── make ├── man-db ├── mesa ├── mesa-demos ├── mlibc ├── mlibc-headers ├── mpc ├── mpfr ├── nano ├── nasm ├── ncurses ├── nettle ├── nyancat ├── openssh ├── openssl ├── pango ├── patch ├── pcre2 ├── pixman ├── python ├── readline ├── rsync ├── sdl2-compat ├── sdl3 ├── sed ├── sqlite ├── taisei ├── tar ├── tree ├── ttf-dejavu ├── tzdata ├── xbitmaps ├── xcb-proto ├── xf86-input-keyboard ├── xf86-input-mouse ├── xf86-video-fbdev ├── xkeyboard-config ├── xorg-font-util ├── xorg-proto ├── xorg-server ├── xorg-twm ├── xorg-util-macros ├── xorg-xauth ├── xorg-xclock ├── xorg-xeyes ├── xorg-xfontsel ├── xorg-xinit ├── xorg-xkbcomp ├── xorg-xkbutils ├── xorg-xlsfonts ├── xorg-xmessage ├── xorg-xmodmap ├── xorg-xprop ├── xorg-xrandr ├── xorg-xrdb ├── xorg-xset ├── xorg-xsetroot ├── xorg-xwininfo ├── xorriso ├── xtrans ├── xxhash ├── xz ├── zlib └── zstd ├── screenshot0.png ├── screenshot1.png └── source-recipes ├── autoconf ├── autoconf-2.69 ├── automake ├── gcc-host ├── libgcc-binaries ├── libtool └── pkg-config /.gitignore: -------------------------------------------------------------------------------- 1 | /jinx 2 | /kernel 3 | /builds 4 | /host-builds 5 | /host-pkgs 6 | /pkgs 7 | /sources 8 | /sysroot 9 | /iso_root 10 | /lyre.iso 11 | /initramfs.tar 12 | /.vscode 13 | /.jinx-cache 14 | /ovmf 15 | *.hdd 16 | *.elf 17 | *.bin 18 | *.a 19 | *.o 20 | -------------------------------------------------------------------------------- /GNUmakefile: -------------------------------------------------------------------------------- 1 | QEMUFLAGS ?= -M q35,smm=off -m 8G -boot order=dc -cdrom lyre.iso -serial stdio -smp 4 2 | 3 | .PHONY: all 4 | all: 5 | rm -f lyre.iso 6 | $(MAKE) lyre.iso 7 | 8 | lyre.iso: kernel jinx 9 | ./build-support/makeiso.sh 10 | 11 | kernel: 12 | git clone https://github.com/Lyre-OS/klyre.git kernel 13 | 14 | .PHONY: debug 15 | debug: 16 | JINX_CONFIG_FILE=jinx-config-debug $(MAKE) all 17 | 18 | jinx: 19 | curl -Lo jinx https://github.com/mintsuki/jinx/raw/7a101a39eb061713f9c50ceafa1d713f35f17a3b/jinx 20 | chmod +x jinx 21 | 22 | .PHONY: run-kvm 23 | run-kvm: lyre.iso 24 | qemu-system-x86_64 -enable-kvm -cpu host $(QEMUFLAGS) 25 | 26 | .PHONY: run-hvf 27 | run-hvf: lyre.iso 28 | qemu-system-x86_64 -accel hvf -cpu host $(QEMUFLAGS) 29 | 30 | ovmf/ovmf-code-x86_64.fd: 31 | mkdir -p ovmf 32 | curl -Lo $@ https://github.com/osdev0/edk2-ovmf-nightly/releases/latest/download/ovmf-code-x86_64.fd 33 | 34 | ovmf/ovmf-vars-x86_64.fd: 35 | mkdir -p ovmf 36 | curl -Lo $@ https://github.com/osdev0/edk2-ovmf-nightly/releases/latest/download/ovmf-vars-x86_64.fd 37 | 38 | .PHONY: run-uefi 39 | run-uefi: lyre.iso ovmf/ovmf-code-x86_64.fd ovmf/ovmf-vars-x86_64.fd 40 | qemu-system-x86_64 \ 41 | -enable-kvm \ 42 | -cpu host \ 43 | -drive if=pflash,unit=0,format=raw,file=ovmf/ovmf-code-x86_64.fd,readonly=on \ 44 | -drive if=pflash,unit=1,format=raw,file=ovmf/ovmf-vars-x86_64.fd \ 45 | $(QEMUFLAGS) 46 | 47 | .PHONY: run 48 | run: lyre.iso 49 | qemu-system-x86_64 $(QEMUFLAGS) 50 | 51 | .PHONY: clean 52 | clean: 53 | rm -rf iso_root sysroot lyre.iso initramfs.tar 54 | 55 | .PHONY: distclean 56 | distclean: clean 57 | make -C kernel distclean 58 | rm -rf .jinx-cache jinx builds host-builds host-pkgs pkgs sources ovmf 59 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (C) 2022-2025 mintsuki and contributors. 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are met: 5 | 6 | 1. Redistributions of source code must retain the above copyright notice, this 7 | list of conditions and the following disclaimer. 8 | 9 | 2. Redistributions in binary form must reproduce the above copyright notice, 10 | this list of conditions and the following disclaimer in the documentation 11 | and/or other materials provided with the distribution. 12 | 13 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 14 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 15 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 16 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 17 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 19 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 20 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 21 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 22 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Warning: Here Be Dragons! 2 | ``` 3 | ____ __ 4 | { --.\ | .)%%%)%% 5 | '-._\\ | (\___ %)%%(%%(%%% 6 | `\\|{/ ^ _)-%(%%%%)%%;%%% 7 | .'^^^^^^^ /` %%)%%%%)%%%' 8 | //\ ) , / '%%%%(%%' 9 | , _.'/ `\<-- \< 10 | `^^^` ^^ ^^ 11 | ``` 12 | 13 | This code is, for now, full of bugs and other idiosyncrasies: 14 | 15 | > **USE OR GET INSPIRED BY IT AT YOUR OWN RISK!** 16 | -------------------------------------------------------------------------------- /base-files/bin: -------------------------------------------------------------------------------- 1 | usr/bin -------------------------------------------------------------------------------- /base-files/etc/group: -------------------------------------------------------------------------------- 1 | root:x:0: 2 | bin:x:1:daemon 3 | tty:x:5: 4 | disk:x:6: 5 | daemon:x:8: 6 | lp:x:9: 7 | kmem:x:15: 8 | lpadmin:x:19: 9 | dialout:x:20: 10 | cdrom:x:24: 11 | tape:x:26: 12 | audio:x:29: 13 | video:x:44: 14 | nogroup:x:99: 15 | input:x:108: 16 | lyre:x:1000: 17 | -------------------------------------------------------------------------------- /base-files/etc/hostname: -------------------------------------------------------------------------------- 1 | lyre 2 | -------------------------------------------------------------------------------- /base-files/etc/hosts: -------------------------------------------------------------------------------- 1 | # Static table lookup for hostnames. 2 | -------------------------------------------------------------------------------- /base-files/etc/passwd: -------------------------------------------------------------------------------- 1 | root:x:0:0::/root:/bin/bash 2 | lyre:x:1000:1000::/home/lyre:/bin/bash 3 | -------------------------------------------------------------------------------- /base-files/etc/profile: -------------------------------------------------------------------------------- 1 | # /etc/profile 2 | 3 | # This file from Arch Linux. 4 | 5 | # Append "$1" to $PATH when not already in. 6 | # This function API is accessible to scripts in /etc/profile.d 7 | append_path () { 8 | case ":$PATH:" in 9 | *:"$1":*) 10 | ;; 11 | *) 12 | PATH="${PATH:+$PATH:}$1" 13 | esac 14 | } 15 | 16 | # Append our default paths 17 | append_path '/usr/local/sbin' 18 | append_path '/usr/local/bin' 19 | append_path '/usr/bin' 20 | 21 | # Force PATH to be environment 22 | export PATH 23 | 24 | # Load profiles from /etc/profile.d 25 | if test -d /etc/profile.d/; then 26 | for profile in /etc/profile.d/*.sh; do 27 | test -r "$profile" && . "$profile" 28 | done 29 | unset profile 30 | fi 31 | 32 | # Unload our profile API functions 33 | unset -f append_path 34 | 35 | # Source global bash config, when interactive but not posix or sh mode 36 | if test "$BASH" &&\ 37 | test "$PS1" &&\ 38 | test -z "$POSIXLY_CORRECT" &&\ 39 | test "${0#-}" != sh &&\ 40 | test -r /etc/bash.bashrc 41 | then 42 | . /etc/bash.bashrc 43 | fi 44 | 45 | # Termcap is outdated, old, and crusty, kill it. 46 | unset TERMCAP 47 | 48 | # Man is much better than us at figuring this out 49 | unset MANPATH 50 | -------------------------------------------------------------------------------- /base-files/etc/resolv.conf: -------------------------------------------------------------------------------- 1 | nameserver 1.1.1.1 2 | -------------------------------------------------------------------------------- /base-files/etc/shells: -------------------------------------------------------------------------------- 1 | /bin/sh 2 | /bin/bash 3 | -------------------------------------------------------------------------------- /base-files/home/lyre/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lyre-OS/Lyre/7ee51c1e9babeae9f1b98dc2a627756dbc37c7ac/base-files/home/lyre/.keep -------------------------------------------------------------------------------- /base-files/lib: -------------------------------------------------------------------------------- 1 | usr/lib -------------------------------------------------------------------------------- /base-files/lib64: -------------------------------------------------------------------------------- 1 | usr/lib -------------------------------------------------------------------------------- /base-files/root/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lyre-OS/Lyre/7ee51c1e9babeae9f1b98dc2a627756dbc37c7ac/base-files/root/.keep -------------------------------------------------------------------------------- /base-files/root/hello.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(void) { 4 | puts("Hello world"); 5 | } 6 | -------------------------------------------------------------------------------- /base-files/root/hello.cc: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() { 4 | std::cout << "Hello world" << std::endl; 5 | } 6 | -------------------------------------------------------------------------------- /base-files/run/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lyre-OS/Lyre/7ee51c1e9babeae9f1b98dc2a627756dbc37c7ac/base-files/run/.keep -------------------------------------------------------------------------------- /base-files/sbin: -------------------------------------------------------------------------------- 1 | usr/bin -------------------------------------------------------------------------------- /base-files/tmp/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lyre-OS/Lyre/7ee51c1e9babeae9f1b98dc2a627756dbc37c7ac/base-files/tmp/.keep -------------------------------------------------------------------------------- /base-files/usr/lib64: -------------------------------------------------------------------------------- 1 | lib -------------------------------------------------------------------------------- /base-files/usr/sbin: -------------------------------------------------------------------------------- 1 | bin -------------------------------------------------------------------------------- /base-files/var/log/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lyre-OS/Lyre/7ee51c1e9babeae9f1b98dc2a627756dbc37c7ac/base-files/var/log/.keep -------------------------------------------------------------------------------- /base-files/var/run: -------------------------------------------------------------------------------- 1 | ../run -------------------------------------------------------------------------------- /build-support/CMakeToolchain-x86_64.txt: -------------------------------------------------------------------------------- 1 | set(CMAKE_SYSTEM_NAME UnixPaths) 2 | set(CMAKE_SYSTEM_PROCESSOR x86_64) 3 | 4 | set(CMAKE_FIND_ROOT_PATH /sysroot) 5 | 6 | set(CMAKE_C_COMPILER x86_64-lyre-mlibc-gcc) 7 | set(CMAKE_CXX_COMPILER x86_64-lyre-mlibc-g++) 8 | 9 | # search for programs in the build host directories 10 | SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) 11 | # for libraries and headers in the target directories 12 | SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) 13 | SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) 14 | 15 | # flags for shared libraries 16 | set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,") 17 | set(CMAKE_PLATFORM_USES_PATH_WHEN_NO_SONAME 1) 18 | -------------------------------------------------------------------------------- /build-support/bash/bash.bash_logout: -------------------------------------------------------------------------------- 1 | # 2 | # /etc/bash.bash_logout 3 | # 4 | -------------------------------------------------------------------------------- /build-support/bash/bash.bashrc: -------------------------------------------------------------------------------- 1 | # 2 | # /etc/bash.bashrc 3 | # 4 | 5 | # If not running interactively, don't do anything 6 | [[ $- != *i* ]] && return 7 | 8 | [[ $DISPLAY ]] && shopt -s checkwinsize 9 | 10 | HISTCONTROL=ignoredups 11 | HISTSIZE=-1 12 | HISTFILESIZE=-1 13 | 14 | NORMAL="\[\e[0m\]" 15 | RED="\[\e[1;31m\]" 16 | GREEN="\[\e[1;32m\]" 17 | if [[ $EUID == 0 ]] ; then 18 | PS1="$RED\u@\h [ $NORMAL\w$RED ]# $NORMAL" 19 | else 20 | PS1="$GREEN\u@\h [ $NORMAL\w$GREEN ]\$ $NORMAL" 21 | fi 22 | 23 | unset RED GREEN NORMAL 24 | 25 | alias ls='ls --color=auto' 26 | alias grep='grep --color=auto' 27 | alias diff='diff --color=auto' 28 | 29 | case ${TERM} in 30 | Eterm*|alacritty*|aterm*|foot*|gnome*|konsole*|kterm*|putty*|rxvt*|tmux*|xterm*) 31 | PROMPT_COMMAND+=('printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"') 32 | 33 | ;; 34 | screen*) 35 | PROMPT_COMMAND+=('printf "\033_%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"') 36 | ;; 37 | esac 38 | 39 | if [[ -r /usr/share/bash-completion/bash_completion ]]; then 40 | . /usr/share/bash-completion/bash_completion 41 | fi 42 | -------------------------------------------------------------------------------- /build-support/checklibs.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | set -e 4 | 5 | TMPDIR="$(mktemp -d)" 6 | ./jinx install "$TMPDIR" '*' 7 | for i in $(find "$TMPDIR"/ -name '*.so*'); do readelf -d $i 2>/dev/null | grep NEEDED | grep libc.so.6 && echo $i; done 8 | rm -rf "$TMPDIR" 9 | -------------------------------------------------------------------------------- /build-support/checklibtool.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | set -e 4 | 5 | TMPDIR="$(mktemp -d)" 6 | ./jinx install "$TMPDIR" '*' 7 | find "$TMPDIR"/ -name '*.la' 8 | rm -rf "$TMPDIR" 9 | -------------------------------------------------------------------------------- /build-support/checksoname.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | TMPDIR="$(mktemp -d)" 4 | ./jinx install "$TMPDIR" '*' 5 | rm -rf "$TMPDIR/bin" "$TMPDIR/sbin" "$TMPDIR/lib" "$TMPDIR/lib64" "$TMPDIR/usr/sbin" "$TMPDIR/usr/lib64" 6 | for f in $(find "$TMPDIR" -name '*.so*' -type f); do 7 | if ! readelf --dynamic "$f" >/dev/null 2>&1; then 8 | continue 9 | fi 10 | if ! readelf --dynamic "$f" | grep -q 'SONAME'; then 11 | echo "$f has no soname" 12 | fi 13 | done 14 | rm -rf "$TMPDIR" 15 | -------------------------------------------------------------------------------- /build-support/checkstatic.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | set -e 4 | 5 | TMPDIR="$(mktemp -d)" 6 | ./jinx install "$TMPDIR" '*' 7 | find "$TMPDIR"/ -name '*.a' 8 | rm -rf "$TMPDIR" 9 | -------------------------------------------------------------------------------- /build-support/checkstripped.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | set -e 4 | 5 | TMPDIR="$(mktemp -d)" 6 | ./jinx install "$TMPDIR" '*' 7 | for f in $(find "$TMPDIR"); do file "$f" | grep 'not stripped' || true; done 8 | rm -rf "$TMPDIR" 9 | -------------------------------------------------------------------------------- /build-support/checksysroot.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | TMPDIR="$(mktemp -d)" 4 | ./jinx install "$TMPDIR" '*' 5 | rm -rf "$TMPDIR/bin" "$TMPDIR/sbin" "$TMPDIR/lib" "$TMPDIR/lib64" "$TMPDIR/usr/sbin" "$TMPDIR/usr/lib64" 6 | for f in $(find "$TMPDIR" -type f); do 7 | stuff="$(strings "$f" | grep '/sysroot' | grep -v Assertion | grep -v '\--enable-languages')" 8 | if [ -z "$stuff" ]; then 9 | continue 10 | fi 11 | echo "in $f" 12 | echo "$stuff" 13 | done 14 | rm -rf "$TMPDIR" 15 | -------------------------------------------------------------------------------- /build-support/cross_file-x86_64.txt: -------------------------------------------------------------------------------- 1 | [binaries] 2 | c = 'x86_64-lyre-mlibc-gcc' 3 | cpp = 'x86_64-lyre-mlibc-g++' 4 | ar = 'x86_64-lyre-mlibc-ar' 5 | nm = 'x86_64-lyre-mlibc-nm' 6 | strip = 'x86_64-lyre-mlibc-strip' 7 | pkg-config = 'x86_64-lyre-mlibc-pkg-config' 8 | llvm-config = '/base_dir/build-support/cross-llvm-config' 9 | 10 | [host_machine] 11 | system = 'lyre' 12 | cpu_family = 'x86_64' 13 | cpu = 'x86_64' 14 | endian = 'little' 15 | -------------------------------------------------------------------------------- /build-support/gcc/c89: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | fl="-std=c89" 4 | for opt; do 5 | case "$opt" in 6 | -ansi|-std=c89|-std=iso9899:1990) fl="";; 7 | -std=*) echo "`basename $0` called with non ANSI/ISO C option $opt" >&2 8 | exit 1;; 9 | esac 10 | done 11 | exec gcc $fl ${1+"$@"} 12 | -------------------------------------------------------------------------------- /build-support/gcc/c99: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | fl="-std=c99" 4 | for opt; do 5 | case "$opt" in 6 | -std=c99|-std=iso9899:1999) fl="";; 7 | -std=*) echo "`basename $0` called with non ISO C99 option $opt" >&2 8 | exit 1;; 9 | esac 10 | done 11 | exec gcc $fl ${1+"$@"} 12 | -------------------------------------------------------------------------------- /build-support/limine.conf: -------------------------------------------------------------------------------- 1 | timeout: 3 2 | 3 | /Lyre 4 | protocol: limine 5 | kernel_path: boot():/boot/klyre 6 | module_path: boot():/boot/initramfs.tar 7 | -------------------------------------------------------------------------------- /build-support/makeiso.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -ex 4 | 5 | # Build the sysroot with jinx and build limine. 6 | rm -rf sysroot 7 | set -f 8 | ./jinx install "sysroot" base $PKGS_TO_INSTALL 9 | set +f 10 | if ! [ -d host-pkgs/limine ]; then 11 | ./jinx host-build limine 12 | fi 13 | 14 | # Make an initramfs with the sysroot. 15 | ( cd sysroot && tar cf ../initramfs.tar * ) 16 | 17 | # Prepare the iso and boot directories. 18 | rm -rf iso_root 19 | mkdir -pv iso_root/boot 20 | cp sysroot/usr/share/klyre/klyre iso_root/boot/ 21 | cp initramfs.tar iso_root/boot/ 22 | cp build-support/limine.conf iso_root/boot/ 23 | 24 | # Install the limine binaries. 25 | cp host-pkgs/limine/usr/local/share/limine/limine-bios.sys iso_root/boot/ 26 | cp host-pkgs/limine/usr/local/share/limine/limine-bios-cd.bin iso_root/boot/ 27 | cp host-pkgs/limine/usr/local/share/limine/limine-uefi-cd.bin iso_root/boot/ 28 | mkdir -pv iso_root/EFI/BOOT 29 | cp host-pkgs/limine/usr/local/share/limine/BOOT*.EFI iso_root/EFI/BOOT/ 30 | 31 | # Create the disk image. 32 | xorriso -as mkisofs -R -r -J -b boot/limine-bios-cd.bin \ 33 | -no-emul-boot -boot-load-size 4 -boot-info-table -hfsplus \ 34 | -apm-block-size 2048 --efi-boot boot/limine-uefi-cd.bin \ 35 | -efi-boot-part --efi-boot-image --protective-msdos-label \ 36 | iso_root -o lyre.iso 37 | 38 | # Install limine. 39 | host-pkgs/limine/usr/local/bin/limine bios-install lyre.iso 40 | -------------------------------------------------------------------------------- /build-support/nano/nanorc: -------------------------------------------------------------------------------- 1 | set nowrap 2 | set softwrap 3 | set historylog 4 | include /usr/share/nano/*.nanorc 5 | -------------------------------------------------------------------------------- /build-support/xorg-server/xorg.conf: -------------------------------------------------------------------------------- 1 | Section "Module" 2 | Load "fbdev" 3 | EndSection 4 | 5 | Section "Device" 6 | Identifier "Card0" 7 | Driver "fbdev" 8 | EndSection 9 | -------------------------------------------------------------------------------- /host-recipes/autoconf: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=autoconf 4 | from_source=autoconf 5 | revision=1 6 | 7 | configure() { 8 | CFLAGS="$HOST_CFLAGS" \ 9 | CXXFLAGS="$HOST_CXXFLAGS" \ 10 | LDFLAGS="$HOST_LDFLAGS" \ 11 | "${source_dir}"/configure --prefix="${prefix}" 12 | } 13 | 14 | build() { 15 | make -j${parallelism} 16 | } 17 | 18 | package() { 19 | DESTDIR="${dest_dir}" make install 20 | 21 | strip_command=strip \ 22 | post_package_strip 23 | } 24 | -------------------------------------------------------------------------------- /host-recipes/autoconf-2.69: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=autoconf-2.69 4 | from_source=autoconf-2.69 5 | revision=1 6 | 7 | configure() { 8 | CFLAGS="$HOST_CFLAGS" \ 9 | CXXFLAGS="$HOST_CXXFLAGS" \ 10 | LDFLAGS="$HOST_LDFLAGS" \ 11 | "${source_dir}"/configure --prefix="${prefix}" 12 | } 13 | 14 | build() { 15 | make -j${parallelism} 16 | } 17 | 18 | package() { 19 | DESTDIR="${dest_dir}" make install 20 | 21 | strip_command=strip \ 22 | post_package_strip 23 | } 24 | -------------------------------------------------------------------------------- /host-recipes/automake: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=automake 4 | from_source=automake 5 | revision=1 6 | hostdeps="autoconf" 7 | imagedeps="build-essential" 8 | 9 | configure() { 10 | CFLAGS="$HOST_CFLAGS" \ 11 | CXXFLAGS="$HOST_CXXFLAGS" \ 12 | LDFLAGS="$HOST_LDFLAGS" \ 13 | "${source_dir}"/configure --prefix="${prefix}" 14 | } 15 | 16 | build() { 17 | make -j${parallelism} 18 | } 19 | 20 | package() { 21 | DESTDIR="${dest_dir}" make install 22 | 23 | cp -pv /usr/local/share/autoconf/build-aux/config.sub "${dest_dir}${prefix}"/share/automake-1.16/ 24 | cp -pv /usr/local/share/autoconf/build-aux/config.guess "${dest_dir}${prefix}"/share/automake-1.16/ 25 | 26 | strip_command=strip \ 27 | post_package_strip 28 | } 29 | -------------------------------------------------------------------------------- /host-recipes/binutils: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=binutils 4 | from_source=binutils 5 | revision=1 6 | imagedeps="build-essential" 7 | hostdeps="autoconf-2.69 automake libtool pkg-config" 8 | 9 | configure() { 10 | CFLAGS="$HOST_CFLAGS" \ 11 | CXXFLAGS="$HOST_CXXFLAGS" \ 12 | LDFLAGS="$HOST_LDFLAGS" \ 13 | "${source_dir}"/configure \ 14 | --prefix="${prefix}" \ 15 | --target=${OS_TRIPLET} \ 16 | --with-sysroot="${sysroot_dir}" \ 17 | --enable-separate-code \ 18 | --enable-cet \ 19 | --enable-default-execstack=no \ 20 | --enable-deterministic-archives \ 21 | --enable-gold \ 22 | --enable-ld=default \ 23 | --enable-new-dtags \ 24 | --enable-plugins \ 25 | --enable-relro \ 26 | --enable-threads \ 27 | --disable-nls \ 28 | --disable-werror \ 29 | --with-pic 30 | } 31 | 32 | build() { 33 | make -j${parallelism} 34 | } 35 | 36 | package() { 37 | DESTDIR="${dest_dir}" make install 38 | 39 | strip_command=strip \ 40 | post_package_strip 41 | } 42 | -------------------------------------------------------------------------------- /host-recipes/file: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=file 4 | from_source=file 5 | revision=1 6 | imagedeps="file build-essential" 7 | 8 | configure() { 9 | CFLAGS="$HOST_CFLAGS" \ 10 | CXXFLAGS="$HOST_CXXFLAGS" \ 11 | LDFLAGS="$HOST_LDFLAGS" \ 12 | "${source_dir}"/configure \ 13 | --prefix=${prefix} \ 14 | --sysconfdir=/etc \ 15 | --localstatedir=/var \ 16 | --disable-nls \ 17 | --disable-static 18 | } 19 | 20 | build() { 21 | make -j${parallelism} 22 | } 23 | 24 | package() { 25 | DESTDIR="${dest_dir}" make install 26 | 27 | strip_command=strip \ 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /host-recipes/gcc: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=gcc 4 | from_source=gcc-host 5 | revision=1 6 | imagedeps="build-essential" 7 | hostdeps="autoconf-2.69 automake libtool pkg-config" 8 | hostrundeps="binutils" 9 | deps="mlibc-headers" 10 | 11 | configure() { 12 | cp -rp "${source_dir}"/. ./ 13 | mkdir -p build && cd build 14 | 15 | CFLAGS="$HOST_CFLAGS" \ 16 | CXXFLAGS="$HOST_CXXFLAGS" \ 17 | LDFLAGS="$HOST_LDFLAGS" \ 18 | CFLAGS_FOR_TARGET="$TARGET_CFLAGS" \ 19 | CXXFLAGS_FOR_TARGET="$TARGET_CXXFLAGS" \ 20 | ../configure \ 21 | --prefix="${prefix}" \ 22 | --target=${OS_TRIPLET} \ 23 | --with-sysroot="${sysroot_dir}" \ 24 | --disable-nls \ 25 | --with-linker-hash-style=gnu \ 26 | --enable-linker-build-id \ 27 | --enable-languages=c,c++,lto \ 28 | --enable-default-pie \ 29 | --enable-default-ssp \ 30 | --disable-multilib \ 31 | --enable-initfini-array \ 32 | --enable-shared \ 33 | --enable-host-shared 34 | } 35 | 36 | build() { 37 | cd build 38 | make -j${parallelism} all-gcc 39 | } 40 | 41 | package() { 42 | cd build 43 | DESTDIR="${dest_dir}" make install-gcc 44 | 45 | strip_command=strip \ 46 | post_package_strip 47 | } 48 | -------------------------------------------------------------------------------- /host-recipes/libgcc-binaries: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libgcc-binaries 4 | from_source=libgcc-binaries 5 | revision=1 6 | 7 | package() { 8 | mkdir -p ${dest_dir}${prefix}/libgcc-binaries 9 | cp -rv ${source_dir}/. ${dest_dir}${prefix}/libgcc-binaries/ 10 | } 11 | -------------------------------------------------------------------------------- /host-recipes/libtool: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libtool 4 | from_source=libtool 5 | revision=1 6 | hostdeps="autoconf automake" 7 | imagedeps="help2man build-essential" 8 | 9 | configure() { 10 | cp -rp "${source_dir}"/. ./ 11 | 12 | CFLAGS="$HOST_CFLAGS" \ 13 | CXXFLAGS="$HOST_CXXFLAGS" \ 14 | LDFLAGS="$HOST_LDFLAGS" \ 15 | ./configure \ 16 | --prefix="${prefix}" 17 | } 18 | 19 | build() { 20 | make -j${parallelism} 21 | } 22 | 23 | package() { 24 | DESTDIR="${dest_dir}" make install 25 | 26 | cp -pv /usr/local/share/autoconf/build-aux/config.sub "${dest_dir}${prefix}"/share/libtool/build-aux/ 27 | cp -pv /usr/local/share/autoconf/build-aux/config.guess "${dest_dir}${prefix}"/share/libtool/build-aux/ 28 | 29 | strip_command=strip \ 30 | post_package_strip 31 | } 32 | -------------------------------------------------------------------------------- /host-recipes/limine: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=limine 4 | from_source=limine 5 | revision=1 6 | hostdeps="gcc autoconf automake libtool pkg-config" 7 | imagedeps="nasm build-essential mtools" 8 | 9 | configure() { 10 | if [ "$ARCHITECTURE" = "x86_64" ]; then 11 | X86_FLAGS="--enable-bios \ 12 | --enable-bios-cd \ 13 | --enable-bios-pxe \ 14 | --enable-uefi-ia32 \ 15 | " 16 | fi 17 | 18 | CFLAGS="$HOST_CFLAGS" \ 19 | CXXFLAGS="$HOST_CXXFLAGS" \ 20 | LDFLAGS="$HOST_LDFLAGS" \ 21 | "${source_dir}"/configure \ 22 | --prefix="${prefix}" \ 23 | TOOLCHAIN_FOR_TARGET=${OS_TRIPLET} \ 24 | $X86_FLAGS \ 25 | --enable-uefi-$ARCHITECTURE \ 26 | --enable-uefi-cd 27 | } 28 | 29 | build() { 30 | LDFLAGS="$LDFLAGS -static" \ 31 | make -j${parallelism} 32 | } 33 | 34 | package() { 35 | DESTDIR="${dest_dir}" make install 36 | 37 | strip_command=strip \ 38 | post_package_strip 39 | } 40 | -------------------------------------------------------------------------------- /host-recipes/pkg-config: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=pkg-config 4 | from_source=pkg-config 5 | revision=1 6 | imagedeps="build-essential" 7 | hostdeps="automake autoconf libtool" 8 | 9 | configure() { 10 | CFLAGS="$HOST_CFLAGS" \ 11 | CXXFLAGS="$HOST_CXXFLAGS" \ 12 | LDFLAGS="$HOST_LDFLAGS" \ 13 | "${source_dir}"/configure \ 14 | --prefix="${prefix}" 15 | } 16 | 17 | build() { 18 | make -j${parallelism} 19 | } 20 | 21 | package() { 22 | DESTDIR="${dest_dir}" make install 23 | mkdir -p "${dest_dir}${prefix}/share/pkgconfig/personality.d" 24 | cat <"${dest_dir}${prefix}/share/pkgconfig/personality.d/${OS_TRIPLET}.personality" 25 | Triplet: ${OS_TRIPLET} 26 | SysrootDir: ${sysroot_dir} 27 | DefaultSearchPaths: ${sysroot_dir}/usr/lib/pkgconfig:${sysroot_dir}/usr/share/pkgconfig 28 | SystemIncludePaths: ${sysroot_dir}/usr/include 29 | SystemLibraryPaths: ${sysroot_dir}/usr/lib 30 | EOF 31 | ln -s pkgconf "${dest_dir}${prefix}/bin/${OS_TRIPLET}-pkg-config" 32 | 33 | strip_command=strip \ 34 | post_package_strip 35 | } 36 | -------------------------------------------------------------------------------- /init/GNUmakefile: -------------------------------------------------------------------------------- 1 | CFLAGS ?= -g -O2 -pipe -Wall -Wextra 2 | 3 | override CFLAGS += -std=gnu11 4 | 5 | all: init 6 | 7 | init: init.c 8 | $(CC) $(CFLAGS) $< -o $@ 9 | 10 | .PHONY: install 11 | install: all 12 | install -d $(DESTDIR)$(PREFIX)/bin 13 | install --strip-program=$(STRIP) -s init $(DESTDIR)$(PREFIX)/bin/init 14 | -------------------------------------------------------------------------------- /init/init.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | #include 6 | 7 | int main(void) { 8 | setenv("TERM", "linux", 1); 9 | setenv("USER", "root", 1); 10 | setenv("HOME", "/root", 1); 11 | setenv("PATH", "/usr/local/bin:/usr/bin", 1); 12 | 13 | for (;;) { 14 | if (access("/usr/bin/bash", X_OK) == -1) { 15 | perror("init: /usr/bin/bash"); 16 | return EXIT_FAILURE; 17 | } 18 | 19 | printf("\nWelcome to Lyre!\n"); 20 | printf("You can find the source code at https://github.com/lyre-os/lyre\n\n"); 21 | 22 | int pid = fork(); 23 | 24 | if (pid == -1) { 25 | perror("init: fork failed"); 26 | return EXIT_FAILURE; 27 | } 28 | 29 | if (pid == 0) { 30 | char *argv[] = {"/usr/bin/bash", "-l", NULL}; 31 | 32 | chdir(getenv("HOME")); 33 | execvp("/usr/bin/bash", argv); 34 | return EXIT_FAILURE; 35 | } else { 36 | int status; 37 | waitpid(pid, &status, 0); 38 | } 39 | } 40 | 41 | return EXIT_SUCCESS; 42 | } 43 | -------------------------------------------------------------------------------- /jinx-config-debug: -------------------------------------------------------------------------------- 1 | . ${base_dir}/jinx-config 2 | export LYRE_DEBUG=1 3 | -------------------------------------------------------------------------------- /patches/autoconf/jinx-working-patch.patch: -------------------------------------------------------------------------------- 1 | diff --git autoconf-clean/build-aux/config.guess autoconf-workdir/build-aux/config.guess 2 | index cdfc439..02e3643 100755 3 | --- autoconf-clean/build-aux/config.guess 4 | +++ autoconf-workdir/build-aux/config.guess 5 | @@ -4,7 +4,8 @@ 6 | 7 | # shellcheck disable=SC2006,SC2268 # see below for rationale 8 | 9 | -timestamp='2023-08-22' 10 | +# timestamp it to always be newer 11 | +timestamp='9999-99-99' 12 | 13 | # This file is free software; you can redistribute it and/or modify it 14 | # under the terms of the GNU General Public License as published by 15 | @@ -976,6 +977,12 @@ EOF 16 | *:[Mm]anagarm:*:*) 17 | GUESS="$UNAME_MACHINE-unknown-managarm-mlibc" 18 | ;; 19 | + x86_64:[Ll]yre:*:*|i?86:[Ll]yre:*:*) 20 | + GUESS="$UNAME_MACHINE-pc-lyre-mlibc" 21 | + ;; 22 | + *:[Ll]yre:*:*) 23 | + GUESS="$UNAME_MACHINE-unknown-lyre-mlibc" 24 | + ;; 25 | *:Minix:*:*) 26 | GUESS=$UNAME_MACHINE-unknown-minix 27 | ;; 28 | diff --git autoconf-clean/build-aux/config.sub autoconf-workdir/build-aux/config.sub 29 | index defe52c..426e8de 100755 30 | --- autoconf-clean/build-aux/config.sub 31 | +++ autoconf-workdir/build-aux/config.sub 32 | @@ -4,7 +4,8 @@ 33 | 34 | # shellcheck disable=SC2006,SC2268 # see below for rationale 35 | 36 | -timestamp='2023-09-19' 37 | +# timestamp it to always be newer 38 | +timestamp='9999-99-99' 39 | 40 | # This file is free software; you can redistribute it and/or modify it 41 | # under the terms of the GNU General Public License as published by 42 | @@ -145,7 +146,7 @@ case $1 in 43 | nto-qnx* | linux-* | uclinux-uclibc* \ 44 | | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* \ 45 | | netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \ 46 | - | storm-chaos* | os2-emx* | rtmk-nova* | managarm-* \ 47 | + | storm-chaos* | os2-emx* | rtmk-nova* | managarm-* | lyre-* \ 48 | | windows-* ) 49 | basic_machine=$field1 50 | basic_os=$maybe_os 51 | @@ -1325,6 +1326,10 @@ EOF 52 | kernel=managarm 53 | os=`echo "$basic_os" | sed -e 's|managarm|mlibc|'` 54 | ;; 55 | + lyre*) 56 | + kernel=lyre 57 | + os=`echo "$basic_os" | sed -e 's|lyre|mlibc|'` 58 | + ;; 59 | *) 60 | kernel= 61 | os=$basic_os 62 | @@ -1825,6 +1830,8 @@ case $kernel-$os-$obj in 63 | ;; 64 | managarm-mlibc*- | managarm-kernel*- ) 65 | ;; 66 | + lyre-mlibc*- ) 67 | + ;; 68 | windows*-msvc*-) 69 | ;; 70 | -dietlibc*- | -newlib*- | -musl*- | -relibc*- | -uclibc*- | -mlibc*- ) 71 | -------------------------------------------------------------------------------- /patches/cairo/jinx-working-patch.patch: -------------------------------------------------------------------------------- 1 | diff --git cairo-clean/meson.build cairo-workdir/meson.build 2 | index 9100152..1b7e91d 100644 3 | --- cairo-clean/meson.build 4 | +++ cairo-workdir/meson.build 5 | @@ -374,18 +374,18 @@ if x11_dep.found() and xext_dep.found() 6 | # between a set value (bool) or the fallback value (string), so convert to 7 | # a string and check the string value. 8 | prop_str = '@0@'.format(prop) 9 | - if prop_str in ['true', 'false'] 10 | + #if prop_str in ['true', 'false'] 11 | ipc_rmid_deferred_release = (prop_str == 'true') 12 | message('IPC_RMID_DEFERRED_RELEASE:', ipc_rmid_deferred_release) 13 | - elif prop_str == 'auto' 14 | - res = cc.run(files('meson-cc-tests/ipc_rmid_deferred_release.c'), 15 | - dependencies: [x11_dep, xext_dep], 16 | - name: 'shmctl IPC_RMID allowes subsequent attaches') 17 | - 18 | - ipc_rmid_deferred_release = (res.returncode() == 0) 19 | - else 20 | - error('Unexpected value for external property ipc_rmid_deferred_release: @0@'.format(prop_str)) 21 | - endif 22 | + #elif prop_str == 'auto' 23 | + # res = cc.run(files('meson-cc-tests/ipc_rmid_deferred_release.c'), 24 | + # dependencies: [x11_dep, xext_dep], 25 | + # name: 'shmctl IPC_RMID allowes subsequent attaches') 26 | + 27 | + # ipc_rmid_deferred_release = (res.returncode() == 0) 28 | + #else 29 | + # error('Unexpected value for external property ipc_rmid_deferred_release: @0@'.format(prop_str)) 30 | + #endif 31 | 32 | conf.set10('IPC_RMID_DEFERRED_RELEASE', ipc_rmid_deferred_release) 33 | endif 34 | -------------------------------------------------------------------------------- /patches/cmatrix/jinx-working-patch.patch: -------------------------------------------------------------------------------- 1 | diff --git cmatrix-clean/cmatrix.c cmatrix-workdir/cmatrix.c 2 | index 90284cb..b6a7a10 100644 3 | --- cmatrix-clean/cmatrix.c 4 | +++ cmatrix-workdir/cmatrix.c 5 | @@ -32,6 +32,8 @@ 6 | #include 7 | #include 8 | #include 9 | +#include 10 | +#include 11 | 12 | #ifndef EXCLUDE_CONFIG_H 13 | #include "config.h" 14 | -------------------------------------------------------------------------------- /patches/dbus/jinx-working-patch.patch: -------------------------------------------------------------------------------- 1 | diff --git dbus-clean/dbus/dbus-sysdeps-unix.c dbus-workdir/dbus/dbus-sysdeps-unix.c 2 | index dbc459c..6a3e851 100644 3 | --- dbus-clean/dbus/dbus-sysdeps-unix.c 4 | +++ dbus-workdir/dbus/dbus-sysdeps-unix.c 5 | @@ -4896,7 +4896,7 @@ _dbus_check_setuid (void) 6 | 7 | if (_DBUS_UNLIKELY (!check_setuid_initialised)) 8 | { 9 | -#ifdef HAVE_GETRESUID 10 | +#if defined HAVE_GETRESUID && !defined(__lyre__) 11 | if (getresuid (&ruid, &euid, &suid) != 0 || 12 | getresgid (&rgid, &egid, &sgid) != 0) 13 | #endif /* HAVE_GETRESUID */ 14 | -------------------------------------------------------------------------------- /patches/fribidi/jinx-working-patch.patch: -------------------------------------------------------------------------------- 1 | diff --git fribidi-clean/configure.ac fribidi-workdir/configure.ac 2 | index b48ec13..eae845e 100644 3 | --- fribidi-clean/configure.ac 4 | +++ fribidi-workdir/configure.ac 5 | @@ -111,7 +111,7 @@ AC_SUBST(SIZEOF_INT) 6 | AC_CHECK_SIZEOF(short) 7 | AC_CHECK_SIZEOF(void *) 8 | AC_CHECK_SIZEOF(wchar_t) 9 | -AX_PROG_CC_FOR_BUILD 10 | +#AX_PROG_CC_FOR_BUILD 11 | 12 | # Checks for compiler characteristics. 13 | changequote(,)dnl 14 | diff --git fribidi-clean/gen.tab/Makefile.am fribidi-workdir/gen.tab/Makefile.am 15 | index 014c646..8bb10d9 100644 16 | --- fribidi-clean/gen.tab/Makefile.am 17 | +++ fribidi-workdir/gen.tab/Makefile.am 18 | @@ -23,10 +23,10 @@ gen_mirroring_tab_CPPFLAGS = $(AM_CPPFLAGS) 19 | gen_brackets_tab_CPPFLAGS = $(AM_CPPFLAGS) 20 | gen_brackets_type_tab_CPPFLAGS = $(AM_CPPFLAGS) 21 | 22 | -CFLAGS_FOR_BUILD += -DHAVE_CONFIG_H -I$(top_builddir) -I$(top_builddir)/lib -I$(top_srcdir)/lib 23 | -CC = $(CC_FOR_BUILD) 24 | -CFLAGS = $(CFLAGS_FOR_BUILD) 25 | -LDFLAGS = $(LDFLAGS_FOR_BUILD) 26 | +CFLAGS += -DHAVE_CONFIG_H -I$(top_builddir) -I$(top_builddir)/lib -I$(top_srcdir)/lib 27 | +#CC = $(CC_FOR_BUILD) 28 | +#CFLAGS = $(CFLAGS_FOR_BUILD) 29 | +#LDFLAGS = $(LDFLAGS_FOR_BUILD) 30 | 31 | CLEANFILES = $(EXTRA_PROGRAMS) 32 | DISTCLEANFILES = 33 | -------------------------------------------------------------------------------- /patches/gawk/jinx-working-patch.patch: -------------------------------------------------------------------------------- 1 | diff --git gawk-clean/Makefile.am gawk-workdir/Makefile.am 2 | index 99e2686..700fd58 100644 3 | --- gawk-clean/Makefile.am 4 | +++ gawk-workdir/Makefile.am 5 | @@ -66,7 +66,7 @@ endif 6 | 7 | # Build in awklib after in doc, since we want to extract 8 | # sample files if doc/gawk.texi changed. 9 | -SUBDIRS += extras doc awklib po test 10 | +SUBDIRS += extras doc awklib po 11 | 12 | # what to make and install 13 | bin_PROGRAMS = gawk 14 | -------------------------------------------------------------------------------- /patches/gdbm/jinx-working-patch.patch: -------------------------------------------------------------------------------- 1 | diff --git gdbm-clean/tools/var.c gdbm-workdir/tools/var.c 2 | index ccec5b9..39371d2 100644 3 | --- gdbm-clean/tools/var.c 4 | +++ gdbm-workdir/tools/var.c 5 | @@ -14,6 +14,7 @@ 6 | You should have received a copy of the GNU General Public License 7 | along with GDBM. If not, see . */ 8 | 9 | +#include 10 | #include "gdbmtool.h" 11 | 12 | #define VARF_DFL 0x00 /* Default flags -- everything disabled */ 13 | -------------------------------------------------------------------------------- /patches/git/jinx-working-patch.patch: -------------------------------------------------------------------------------- 1 | diff --git git-clean/config.mak.uname git-workdir/config.mak.uname 2 | index a7607a5..cce83ee 100644 3 | --- git-clean/config.mak.uname 4 | +++ git-workdir/config.mak.uname 5 | @@ -4,12 +4,12 @@ 6 | # Microsoft's Safe Exception Handling in libraries (such as zlib). 7 | # Typically required for VS2013+/32-bit compilation on Vista+ versions. 8 | 9 | -uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not') 10 | -uname_M := $(shell sh -c 'uname -m 2>/dev/null || echo not') 11 | -uname_O := $(shell sh -c 'uname -o 2>/dev/null || echo not') 12 | -uname_R := $(shell sh -c 'uname -r 2>/dev/null || echo not') 13 | -uname_P := $(shell sh -c 'uname -p 2>/dev/null || echo not') 14 | -uname_V := $(shell sh -c 'uname -v 2>/dev/null || echo not') 15 | +uname_S := Lyre 16 | +uname_M := x86_64 17 | +uname_O := Lyre 18 | +uname_R := 0.0.0 19 | +uname_P := unknown 20 | +uname_V := 0.0.0 21 | 22 | ifneq ($(findstring MINGW,$(uname_S)),) 23 | uname_S := MINGW 24 | -------------------------------------------------------------------------------- /patches/glib/jinx-working-patch.patch: -------------------------------------------------------------------------------- 1 | diff --git glib-clean/gio/gcredentialsprivate.h glib-workdir/gio/gcredentialsprivate.h 2 | index 0310a75..07cd8ec 100644 3 | --- glib-clean/gio/gcredentialsprivate.h 4 | +++ glib-workdir/gio/gcredentialsprivate.h 5 | @@ -104,7 +104,7 @@ 6 | */ 7 | #undef G_CREDENTIALS_HAS_PID 8 | 9 | -#ifdef __linux__ 10 | +#if defined(__linux__) || defined(__lyre__) 11 | #define G_CREDENTIALS_SUPPORTED 1 12 | #define G_CREDENTIALS_USE_LINUX_UCRED 1 13 | #define G_CREDENTIALS_NATIVE_TYPE G_CREDENTIALS_TYPE_LINUX_UCRED 14 | diff --git glib-clean/glib/glib-init.c glib-workdir/glib/glib-init.c 15 | index c513f51..0de3ab3 100644 16 | --- glib-clean/glib/glib-init.c 17 | +++ glib-workdir/glib/glib-init.c 18 | @@ -29,6 +29,7 @@ 19 | #include "gmem.h" /* for g_mem_gc_friendly */ 20 | 21 | #include 22 | +#include 23 | #include 24 | #include 25 | #include 26 | diff --git glib-clean/glib/gstrfuncs.c glib-workdir/glib/gstrfuncs.c 27 | index 391cf56..86dc760 100644 28 | --- glib-clean/glib/gstrfuncs.c 29 | +++ glib-workdir/glib/gstrfuncs.c 30 | @@ -35,6 +35,7 @@ 31 | #include 32 | #include 33 | #include 34 | +#include 35 | #include 36 | #include 37 | #include 38 | -------------------------------------------------------------------------------- /patches/gtk+-3/jinx-working-patch.patch: -------------------------------------------------------------------------------- 1 | diff --git gtk+-3-clean/gtk/a11y/gtkaccessibility.c gtk+-3-workdir/gtk/a11y/gtkaccessibility.c 2 | index 7f0e520..3bf670c 100644 3 | --- gtk+-3-clean/gtk/a11y/gtkaccessibility.c 4 | +++ gtk+-3-workdir/gtk/a11y/gtkaccessibility.c 5 | @@ -974,6 +974,10 @@ do_window_event_initialization (void) 6 | void 7 | _gtk_accessibility_init (void) 8 | { 9 | +// We don't care about a11y at this point in time and dbus isn't working, so let's just not start that. 10 | +#ifdef __lyre__ 11 | + return; 12 | +#else 13 | if (initialized) 14 | return; 15 | 16 | @@ -993,4 +997,5 @@ _gtk_accessibility_init (void) 17 | #endif 18 | 19 | atk_misc_instance = g_object_new (GTK_TYPE_MISC_IMPL, NULL); 20 | +#endif 21 | } 22 | diff --git gtk+-3-clean/gtk/gtkmain.c gtk+-3-workdir/gtk/gtkmain.c 23 | index ae64e18..2d43754 100644 24 | --- gtk+-3-clean/gtk/gtkmain.c 25 | +++ gtk+-3-workdir/gtk/gtkmain.c 26 | @@ -355,6 +355,11 @@ static gboolean 27 | check_setugid (void) 28 | { 29 | /* this isn't at all relevant on MS Windows and doesn't compile ... --hb */ 30 | +#ifdef __lyre__ 31 | + /* Lyre runs everything as root for the time being, this check is thus useless. */ 32 | + g_warning("Lyre ignores the setugid check!\n"); 33 | + return TRUE; 34 | +#endif 35 | #ifndef G_OS_WIN32 36 | uid_t ruid, euid, suid; /* Real, effective and saved user ID's */ 37 | gid_t rgid, egid, sgid; /* Real, effective and saved group ID's */ 38 | -------------------------------------------------------------------------------- /patches/libgcrypt/jinx-working-patch.patch: -------------------------------------------------------------------------------- 1 | diff --git a/random/rndunix.c b/random/rndunix.c 2 | index fcb45b7..1e32242 100644 3 | --- a/random/rndunix.c 4 | +++ b/random/rndunix.c 5 | @@ -105,7 +105,7 @@ 6 | #include 7 | #include 8 | #include 9 | -#ifndef __QNX__ 10 | +#if !defined __QNX__ && !defined (__lyre__) 11 | #include 12 | #include 13 | #endif /* __QNX__ */ 14 | @@ -119,7 +119,9 @@ 15 | #ifndef __QNX__ 16 | #include 17 | #include 18 | +#ifndef __lyre__ 19 | #include 20 | +#endif 21 | #endif /* __QNX__ */ 22 | #include 23 | #include /* Verschiedene komische Typen */ 24 | -------------------------------------------------------------------------------- /patches/libgpg-error/jinx-working-patch.patch: -------------------------------------------------------------------------------- 1 | diff --git libgpg-error-clean/configure.ac libgpg-error-workdir/configure.ac 2 | index a24453e..f34d313 100644 3 | --- libgpg-error-clean/configure.ac 4 | +++ libgpg-error-workdir/configure.ac 5 | @@ -197,6 +197,10 @@ esac 6 | # We need to compile and run a program on the build machine. 7 | AX_CC_FOR_BUILD 8 | 9 | +AC_ARG_VAR([CFLAGS_FOR_BUILD], [CFLAGS for host]) 10 | +AC_ARG_VAR([CPPFLAGS_FOR_BUILD], [CPPFLAGS for host]) 11 | +AC_ARG_VAR([LDFLAGS_FOR_BUILD], [LDFLAGS for host]) 12 | + 13 | AH_BOTTOM([ 14 | /* Force using of NLS for W32 even if no libintl has been found. This is 15 | okay because we have our own gettext implementation for W32. */ 16 | diff --git libgpg-error-clean/src/Makefile.am libgpg-error-workdir/src/Makefile.am 17 | index 9389e99..4919a12 100644 18 | --- libgpg-error-clean/src/Makefile.am 19 | +++ libgpg-error-workdir/src/Makefile.am 20 | @@ -256,6 +256,10 @@ gpg-error.def: Makefile gpg-error.def.in 21 | grep -v '^#' >$@ 22 | -rm _$@.h 23 | 24 | +CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@ 25 | +CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ 26 | +LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@ 27 | + 28 | # It is correct to use $(CC_FOR_BUILD) here. We want to run the 29 | # program at build time. 30 | mkerrcodes$(EXEEXT_FOR_BUILD): mkerrcodes.c mkerrcodes.h Makefile 31 | -------------------------------------------------------------------------------- /patches/libtool/jinx-working-patch.patch: -------------------------------------------------------------------------------- 1 | diff --git libtool-clean/m4/libtool.m4 libtool-workdir/m4/libtool.m4 2 | index 79a2451..db95342 100644 3 | --- libtool-clean/m4/libtool.m4 4 | +++ libtool-workdir/m4/libtool.m4 5 | @@ -1696,7 +1696,7 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl 6 | lt_cv_sys_max_cmd_len=12288; # 12K is about right 7 | ;; 8 | 9 | - gnu* | ironclad*) 10 | + gnu* | ironclad* | lyre*) 11 | # Under GNU Hurd and Ironclad, this test is not required because there 12 | # is no limit to the length of command line arguments. 13 | # Libtool will interpret -1 as no limit whatsoever 14 | -------------------------------------------------------------------------------- /patches/libxfont2/jinx-working-patch.patch: -------------------------------------------------------------------------------- 1 | diff --git libxfont2-clean/src/fc/fslibos.h libxfont2-workdir/src/fc/fslibos.h 2 | index 1ef362d..3475a02 100644 3 | --- libxfont2-clean/src/fc/fslibos.h 4 | +++ libxfont2-workdir/src/fc/fslibos.h 5 | @@ -60,7 +60,7 @@ from The Open Group. 6 | # endif 7 | # endif 8 | # ifndef OPEN_MAX 9 | -# if defined(SVR4) 10 | +# if defined(SVR4) || defined(__lyre__) 11 | # define OPEN_MAX 256 12 | # else 13 | # include 14 | -------------------------------------------------------------------------------- /patches/libzip/jinx-working-patch.patch: -------------------------------------------------------------------------------- 1 | diff --git libzip-clean/lib/zip_close.c libzip-workdir/lib/zip_close.c 2 | index ddc2c24..6206bd0 100644 3 | --- libzip-clean/lib/zip_close.c 4 | +++ libzip-workdir/lib/zip_close.c 5 | @@ -36,6 +36,7 @@ 6 | 7 | #include 8 | #include 9 | +#include 10 | #ifdef _WIN32 11 | #include 12 | #include 13 | @@ -742,4 +743,4 @@ static int torrentzip_compare_names(const void *a, const void *b) { 14 | } 15 | 16 | return strcasecmp(aname, bname); 17 | -} 18 | \ No newline at end of file 19 | +} 20 | diff --git libzip-clean/lib/zip_name_locate.c libzip-workdir/lib/zip_name_locate.c 21 | index 4248dc2..fdf113a 100644 22 | --- libzip-clean/lib/zip_name_locate.c 23 | +++ libzip-workdir/lib/zip_name_locate.c 24 | @@ -33,9 +33,9 @@ 25 | 26 | 27 | #include 28 | -#ifdef HAVE_STRINGS_H 29 | +//#ifdef HAVE_STRINGS_H 30 | #include 31 | -#endif 32 | +//#endif 33 | 34 | #include "zipint.h" 35 | 36 | diff --git libzip-clean/src/ziptool.c libzip-workdir/src/ziptool.c 37 | index 281bfbb..9897044 100644 38 | --- libzip-clean/src/ziptool.c 39 | +++ libzip-workdir/src/ziptool.c 40 | @@ -38,6 +38,7 @@ 41 | #include 42 | #include 43 | #include 44 | +#include 45 | #include 46 | #ifdef HAVE_UNISTD_H 47 | #include 48 | -------------------------------------------------------------------------------- /patches/m4/jinx-working-patch.patch: -------------------------------------------------------------------------------- 1 | diff --git m4-clean/tests/strerror_r.c m4-workdir/tests/strerror_r.c 2 | index 71965fb..be88d71 100644 3 | --- m4-clean/tests/strerror_r.c 4 | +++ m4-workdir/tests/strerror_r.c 5 | @@ -21,7 +21,7 @@ 6 | 7 | /* Enable declaration of sys_nerr and sys_errlist in on NetBSD. */ 8 | #define _NETBSD_SOURCE 1 9 | - 10 | +#undef _GNU_SOURCE 11 | /* Specification. */ 12 | #include 13 | 14 | -------------------------------------------------------------------------------- /patches/mesa-demos/jinx-working-patch.patch: -------------------------------------------------------------------------------- 1 | diff --git mesa-demos-clean/meson.build mesa-demos-workdir/meson.build 2 | index c1853f9..ea9d9f0 100644 3 | --- mesa-demos-clean/meson.build 4 | +++ mesa-demos-workdir/meson.build 5 | @@ -99,7 +99,7 @@ if not dep_glu.found() and host_machine.system() != 'darwin' 6 | endif 7 | 8 | dep_glx = dependency('glx', required: false, disabler : true) 9 | -if not dep_glx.found() and host_machine.system() == 'darwin' 10 | +if not dep_glx.found() and (host_machine.system() == 'darwin' or host_machine.system() == 'lyre') 11 | # xquartz doesn't have a glx.pc, but it does have the header. And all the 12 | # symbols reside in libGL, so let's just use that. 13 | if cc.check_header('GL/glx.h', dependencies: dep_x11) 14 | -------------------------------------------------------------------------------- /patches/openssh/jinx-working-patch.patch: -------------------------------------------------------------------------------- 1 | diff --git openssh-clean/configure.ac openssh-workdir/configure.ac 2 | index 591d5a3..0a0e5cc 100644 3 | --- openssh-clean/configure.ac 4 | +++ openssh-workdir/configure.ac 5 | @@ -719,6 +719,10 @@ case "$host" in 6 | AC_DEFINE([DISABLE_UTMP], [1], [Define if you don't want to use utmp]) 7 | AC_DEFINE([DISABLE_WTMP], [1], [Define if you don't want to use wtmp]) 8 | ;; 9 | +*-*-lyre*-*) 10 | + AC_DEFINE([NO_UID_RESTORATION_TEST], [1], 11 | + [Define to disable UID restoration test]) 12 | + ;; 13 | *-*-cygwin*) 14 | LIBS="$LIBS /usr/lib/textreadmode.o" 15 | AC_DEFINE([HAVE_CYGWIN], [1], [Define if you are on Cygwin]) 16 | -------------------------------------------------------------------------------- /patches/pcre2/jinx-working-patch.patch: -------------------------------------------------------------------------------- 1 | diff --git pcre2-clean/src/sljit/sljitUtils.c pcre2-workdir/src/sljit/sljitUtils.c 2 | index 967593b..bd6c3ed 100644 3 | --- pcre2-clean/src/sljit/sljitUtils.c 4 | +++ pcre2-workdir/src/sljit/sljitUtils.c 5 | @@ -329,7 +329,7 @@ SLJIT_API_FUNC_ATTRIBUTE sljit_u8 *SLJIT_FUNC sljit_stack_resize(struct sljit_st 6 | if (aligned_new_start > aligned_old_start) { 7 | posix_madvise((void*)aligned_old_start, aligned_new_start - aligned_old_start, POSIX_MADV_DONTNEED); 8 | #ifdef MADV_FREE 9 | - madvise((void*)aligned_old_start, aligned_new_start - aligned_old_start, MADV_FREE); 10 | + //madvise((void*)aligned_old_start, aligned_new_start - aligned_old_start, MADV_FREE); 11 | #endif /* MADV_FREE */ 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /patches/python/jinx-working-patch.patch: -------------------------------------------------------------------------------- 1 | diff --git python-clean/configure.ac python-workdir/configure.ac 2 | index d0d5405..ab4df08 100644 3 | --- python-clean/configure.ac 4 | +++ python-workdir/configure.ac 5 | @@ -559,6 +559,9 @@ then 6 | *-*-wasi) 7 | ac_sys_system=WASI 8 | ;; 9 | + *-*-lyre*) 10 | + ac_sys_system=Lyre 11 | + ;; 12 | *) 13 | # for now, limit cross builds to known configurations 14 | MACHDEP="unknown" 15 | @@ -619,6 +622,9 @@ if test "$cross_compiling" = yes; then 16 | wasm32-*-* | wasm64-*-*) 17 | _host_cpu=$host_cpu 18 | ;; 19 | + *-*-lyre*) 20 | + _host_cpu=$host_cpu 21 | + ;; 22 | *) 23 | # for now, limit cross builds to known configurations 24 | MACHDEP="unknown" 25 | @@ -1514,7 +1520,7 @@ if test $enable_shared = "yes"; then 26 | PY3LIBRARY=libpython3.so 27 | fi 28 | ;; 29 | - Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*|OpenBSD*|VxWorks*) 30 | + Linux*|Lyre*|GNU*|NetBSD*|FreeBSD*|DragonFly*|OpenBSD*|VxWorks*) 31 | LDLIBRARY='libpython$(LDVERSION).so' 32 | BLDLIBRARY='-L. -lpython$(LDVERSION)' 33 | RUNSHARED=LD_LIBRARY_PATH=`pwd`${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} 34 | @@ -3407,6 +3413,10 @@ then 35 | CYGWIN*) 36 | LDSHARED="gcc -shared -Wl,--enable-auto-image-base" 37 | LDCXXSHARED="g++ -shared -Wl,--enable-auto-image-base";; 38 | + Lyre*) 39 | + LDSHARED='$(CC) -shared' 40 | + LDCXXSHARED='$(CXX) -shared' 41 | + ;; 42 | *) LDSHARED="ld";; 43 | esac 44 | fi 45 | @@ -3460,6 +3470,10 @@ then 46 | fi;; 47 | VxWorks*) 48 | CCSHARED="-fpic -D__SO_PICABILINUX__ -ftls-model=global-dynamic" 49 | + ;; 50 | + Lyre*) 51 | + CCSHARED="-fPIC" 52 | + ;; 53 | esac 54 | fi 55 | AC_MSG_RESULT([$CCSHARED]) 56 | @@ -3529,6 +3543,8 @@ then 57 | LINKFORSHARED='-Wl,-E -N 2048K';; 58 | VxWorks*) 59 | LINKFORSHARED='-Wl,-export-dynamic';; 60 | + Lyre*) 61 | + LINKFORSHARED="-export-dynamic";; 62 | esac 63 | fi 64 | AC_MSG_RESULT([$LINKFORSHARED]) 65 | -------------------------------------------------------------------------------- /patches/rsync/jinx-working-patch.patch: -------------------------------------------------------------------------------- 1 | diff --git rsync-clean/lib/compat.c rsync-workdir/lib/compat.c 2 | index 513d79b..bbcbbc0 100644 3 | --- rsync-clean/lib/compat.c 4 | +++ rsync-workdir/lib/compat.c 5 | @@ -156,11 +156,11 @@ char get_decimal_point(void) 6 | /* some systems don't take the 2nd argument */ 7 | int sys_gettimeofday(struct timeval *tv) 8 | { 9 | -#ifdef HAVE_GETTIMEOFDAY_TZ 10 | +//#ifdef HAVE_GETTIMEOFDAY_TZ 11 | return gettimeofday(tv, NULL); 12 | -#else 13 | - return gettimeofday(tv); 14 | -#endif 15 | +//#else 16 | +// return gettimeofday(tv); 17 | +//#endif 18 | } 19 | 20 | /* Return the int64 number as a string. If the human_flag arg is non-zero, 21 | -------------------------------------------------------------------------------- /patches/xorg-proto/jinx-working-patch.patch: -------------------------------------------------------------------------------- 1 | diff --git xorg-proto-clean/include/X11/Xfuncs.h xorg-proto-workdir/include/X11/Xfuncs.h 2 | index b23c283..89dbbb5 100644 3 | --- xorg-proto-clean/include/X11/Xfuncs.h 4 | +++ xorg-proto-workdir/include/X11/Xfuncs.h 5 | @@ -44,7 +44,7 @@ void bcopy(); 6 | # define bcmp(b1,b2,len) memcmp(b1, b2, len) 7 | # else 8 | # include 9 | -# if defined(__SCO__) || defined(__sun) || defined(__UNIXWARE__) || defined(__CYGWIN__) || defined(_AIX) || defined(__APPLE__) 10 | +# if defined(__SCO__) || defined(__sun) || defined(__UNIXWARE__) || defined(__CYGWIN__) || defined(_AIX) || defined(__APPLE__) || defined(__lyre__) 11 | # include 12 | # endif 13 | # define _XFUNCS_H_INCLUDED_STRING_H 14 | diff --git xorg-proto-clean/include/X11/Xos.h xorg-proto-workdir/include/X11/Xos.h 15 | index 75cc5b7..6c46e33 100644 16 | --- xorg-proto-clean/include/X11/Xos.h 17 | +++ xorg-proto-workdir/include/X11/Xos.h 18 | @@ -60,7 +60,7 @@ in this Software without prior written authorization from The Open Group. 19 | */ 20 | 21 | # include 22 | -# if defined(__SCO__) || defined(__UNIXWARE__) || defined(__sun) || defined(__CYGWIN__) || defined(_AIX) || defined(__APPLE__) || defined(__FreeBSD__) 23 | +# if defined(__SCO__) || defined(__UNIXWARE__) || defined(__sun) || defined(__CYGWIN__) || defined(_AIX) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__lyre__) 24 | # include 25 | # else 26 | # ifndef index 27 | diff --git xorg-proto-clean/include/X11/Xos_r.h xorg-proto-workdir/include/X11/Xos_r.h 28 | index f963b64..542c19d 100644 29 | --- xorg-proto-clean/include/X11/Xos_r.h 30 | +++ xorg-proto-workdir/include/X11/Xos_r.h 31 | @@ -318,7 +318,7 @@ static __inline__ void _Xpw_copyPasswd(_Xgetpwparams p) 32 | (_Xos_processUnlock), \ 33 | (p).pwp ) 34 | 35 | -#elif !defined(_POSIX_THREAD_SAFE_FUNCTIONS) && !defined(__APPLE__) 36 | +#elif !defined(_POSIX_THREAD_SAFE_FUNCTIONS) && !defined(__APPLE__) && !defined(__lyre__) 37 | # define X_NEEDS_PWPARAMS 38 | typedef struct { 39 | struct passwd pws; 40 | -------------------------------------------------------------------------------- /patches/xorg-xinit/jinx-working-patch.patch: -------------------------------------------------------------------------------- 1 | diff --git xorg-xinit-clean/configure.ac xorg-xinit-workdir/configure.ac 2 | index a40ac46..032b397 100644 3 | --- xorg-xinit-clean/configure.ac 4 | +++ xorg-xinit-workdir/configure.ac 5 | @@ -139,19 +139,19 @@ AC_PATH_PROGS(MCOOKIE, [mcookie], [$MCOOKIE], 6 | [$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/local/bin]) 7 | 8 | # If mcookie not found, try openssl, else per-system fallbacks 9 | -if test "x$MCOOKIE" = x ; then 10 | - AC_PATH_PROGS(OPENSSL, [openssl], [$OPENSSL], 11 | - [$PATH:/bin:/usr/bin:/usr/sbin:/usr/lib:/usr/libexec:/usr/local/bin]) 12 | - if test "x$OPENSSL" != x ; then 13 | - MCOOKIE="$OPENSSL rand -hex 16" 14 | - else 15 | - case $host_os in 16 | - *solaris*) 17 | +#if test "x$MCOOKIE" = x ; then 18 | +# AC_PATH_PROGS(OPENSSL, [openssl], [$OPENSSL], 19 | +# [$PATH:/bin:/usr/bin:/usr/sbin:/usr/lib:/usr/libexec:/usr/local/bin]) 20 | +# if test "x$OPENSSL" != x ; then 21 | +# MCOOKIE="$OPENSSL rand -hex 16" 22 | +# else 23 | +# case $host_os in 24 | +# *solaris*) 25 | MCOOKIE="/usr/bin/od -X -A n -N 16 /dev/urandom | /usr/bin/tr -d ' '" 26 | - ;; 27 | - esac 28 | - fi 29 | -fi 30 | +# ;; 31 | +# esac 32 | +# fi 33 | +#fi 34 | if test "x$MCOOKIE" != x ; then 35 | STARTX_COOKIE_FLAGS='-DHAS_COOKIE_MAKER -DMK_COOKIE="$(MCOOKIE)"' 36 | AC_MSG_NOTICE([startx will depend on "$MCOOKIE" to generate xauth cookies]) 37 | -------------------------------------------------------------------------------- /patches/xorriso/jinx-working-patch.patch: -------------------------------------------------------------------------------- 1 | diff --git xorriso-clean/libjte/checksum.c xorriso-workdir/libjte/checksum.c 2 | index 2ecf34f..83719ae 100644 3 | --- xorriso-clean/libjte/checksum.c 4 | +++ xorriso-workdir/libjte/checksum.c 5 | @@ -16,6 +16,7 @@ 6 | #include 7 | #include 8 | #include 9 | +#include 10 | #include 11 | #include 12 | 13 | -------------------------------------------------------------------------------- /patches/zlib/jinx-working-patch.patch: -------------------------------------------------------------------------------- 1 | diff --git zlib-clean/configure zlib-workdir/configure 2 | index cc867c9..1bba45a 100755 3 | --- zlib-clean/configure 4 | +++ zlib-workdir/configure 5 | @@ -226,7 +226,7 @@ if test "$gcc" -eq 1 && ($cc -c $test.c) >> configure.log 2>&1; then 6 | uname=`(uname -s || echo unknown) 2>/dev/null` 7 | fi 8 | case "$uname" in 9 | - Linux* | linux* | *-linux* | GNU | GNU/* | solaris*) 10 | + Linux* | linux* | *-linux* | GNU | GNU/* | solaris* | lyre*) 11 | case "$mname" in 12 | *sparc*) 13 | LDFLAGS="${LDFLAGS} -Wl,--no-warn-rwx-segments" ;; 14 | -------------------------------------------------------------------------------- /recipes/ace-of-penguins: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=ace-of-penguins 4 | version=1.4 5 | revision=1 6 | tarball_url="https://www.delorie.com/store/ace/ace-${version}.tar.gz" 7 | tarball_blake2b=62d32bcada9a945d0a409757ca24c8c5c032e905528d56a51b95f82844c6c8057d39763016fa05015877f23313d842effeaaa362507bb049816d7cf6bdf01a1a 8 | source_hostdeps="autoconf automake pkg-config libtool" 9 | source_deps="xorg-util-macros" 10 | imagedeps="build-essential libpng-dev" 11 | hostdeps="gcc autoconf automake pkg-config libtool" 12 | deps="core-libs libx11 libxpm libpng zlib" 13 | 14 | prepare() { 15 | autotools_recursive_regen 16 | } 17 | 18 | configure() { 19 | autotools_configure \ 20 | BUILD_CFLAGS="$HOST_CFLAGS" \ 21 | BUILD_CPPFLAGS="$HOST_CPPFLAGS" \ 22 | BUILD_LDFLAGS="$HOST_LDFLAGS" 23 | } 24 | 25 | build() { 26 | make -j${parallelism} 27 | } 28 | 29 | package() { 30 | DESTDIR="${dest_dir}" make install 31 | 32 | post_package_strip 33 | } 34 | -------------------------------------------------------------------------------- /recipes/at-spi2-core: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=at-spi2-core 4 | version=2.54.1 5 | revision=1 6 | tarball_url="https://download.gnome.org/sources/at-spi2-core/2.54/at-spi2-core-${version}.tar.xz" 7 | tarball_blake2b="b1a1657081f22623bba7730f687dc69e4b7c1562020edc42b29f0a8842ea8443021aab1b8fd23d75877c8023c43c586ce70640be42fef5663983381018e9e80b" 8 | imagedeps="meson ninja-build libglib2.0-dev" 9 | hostdeps="gcc pkg-config" 10 | deps="core-libs bash dbus glib gsettings-desktop-schemas libx11 libxi libxkbcommon libxml libxtst" 11 | 12 | configure() { 13 | meson_configure \ 14 | -Dsystemd_user_dir=/tmp \ 15 | -Dintrospection=disabled 16 | } 17 | 18 | build() { 19 | ninja -j${parallelism} 20 | } 21 | 22 | package() { 23 | DESTDIR="${dest_dir}" ninja install 24 | 25 | post_package_strip 26 | } 27 | -------------------------------------------------------------------------------- /recipes/autoconf-archive: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=autoconf-archive 4 | version=2024.10.16 5 | revision=1 6 | tarball_url="https://ftp.gnu.org/gnu/autoconf-archive/autoconf-archive-${version}.tar.xz" 7 | tarball_blake2b="64554b7258c527f2e6bb115bec08e358bd4f10b940cdbe58c073fb3bdeccab78897250766e600b7e5fd79a76d633135d1caf2c7e81893bd68cab704073cac2c5" 8 | 9 | package() { 10 | mkdir -p "${dest_dir}${prefix}"/share/aclocal 11 | cp -r "${source_dir}"/m4/. "${dest_dir}${prefix}"/share/aclocal/ 12 | 13 | post_package_strip 14 | } 15 | -------------------------------------------------------------------------------- /recipes/base: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=base 4 | version=0.0 5 | revision=1 6 | deps="base-files kernel init bash binutils bzip2 coreutils diffutils findutils gawk gcc gmp grep gzip less make mpc mpfr nano ncurses pcre2 readline sed tar tzdata xz zlib zstd" 7 | -------------------------------------------------------------------------------- /recipes/base-files: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=base-files 4 | version=0.0 5 | revision=1 6 | source_dir="base-files" 7 | 8 | package() { 9 | cp -rpv ${source_dir}/. "${dest_dir}"/ 10 | } 11 | -------------------------------------------------------------------------------- /recipes/bash: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=bash 4 | version=5.2.37 5 | revision=1 6 | tarball_url="https://ftp.gnu.org/gnu/bash/bash-5.2.37.tar.gz" 7 | tarball_blake2b="7b4dbb7497ab8b54fa30e82591a0557daf0a0668f458db36a032918abc66c7ed35339e947bd95ff1ffbf353403ebee789d27ffa9c037b51c817c074d7a28bb3b" 8 | source_allow_network=yes 9 | source_imagedeps="curl" 10 | source_hostdeps="autoconf automake libtool pkg-config" 11 | imagedeps="build-essential" 12 | hostdeps="gcc autoconf automake libtool pkg-config" 13 | deps="core-libs ncurses readline" 14 | 15 | prepare() { 16 | # for p in $(seq -w 38 38); do 17 | # curl -L https://ftp.gnu.org/gnu/bash/bash-5.2-patches/bash52-0$p | patch -p0 18 | # done 19 | 20 | AUTOHEADER=true \ 21 | autotools_recursive_regen 22 | } 23 | 24 | configure() { 25 | autotools_configure \ 26 | CFLAGS="$TARGET_CFLAGS \ 27 | -DDEFAULT_PATH_VALUE='\"/usr/local/sbin:/usr/local/bin:/usr/bin\"' \ 28 | -DSTANDARD_UTILS_PATH='\"/usr/bin\"' \ 29 | -DSYS_BASHRC='\"/etc/bash.bashrc\"' \ 30 | -DSYS_BASH_LOGOUT='\"/etc/bash.bash_logout\"' \ 31 | -DNON_INTERACTIVE_LOGIN_SHELLS \ 32 | " \ 33 | --with-curses \ 34 | --enable-readline \ 35 | --without-bash-malloc \ 36 | --with-installed-readline="${sysroot}/usr/lib" 37 | } 38 | 39 | build() { 40 | make -j${parallelism} 41 | } 42 | 43 | package() { 44 | make install DESTDIR="${dest_dir}" 45 | ln -s bash "${dest_dir}${prefix}"/bin/sh 46 | ln -s bash "${dest_dir}${prefix}"/bin/rbash 47 | 48 | mkdir -p "${dest_dir}"/etc 49 | cp -v "${base_dir}"/build-support/bash/bash.bashrc "${dest_dir}"/etc/ 50 | cp -v "${base_dir}"/build-support/bash/bash.bash_logout "${dest_dir}"/etc/ 51 | 52 | post_package_strip 53 | } 54 | -------------------------------------------------------------------------------- /recipes/bash-completion: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=bash-completion 4 | version=2.16.0 5 | revision=1 6 | tarball_url="https://github.com/scop/bash-completion/releases/download/${version}/bash-completion-${version}.tar.xz" 7 | tarball_blake2b="389be47536f8f9aa383ff85bf19a00562b30b6d3e3652feaa01284987af13c2dc9850b59341956dd8e94e54251cd36902a60d5e3420ebfa2567216546144f675" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config" 10 | deps="bash" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | cp -rp "${source_dir}"/. ./ 18 | 19 | configure_script_path=./configure \ 20 | autotools_configure 21 | } 22 | 23 | build() { 24 | make -j${parallelism} 25 | } 26 | 27 | package() { 28 | DESTDIR="${dest_dir}" make install 29 | 30 | post_package_strip 31 | } 32 | -------------------------------------------------------------------------------- /recipes/bc: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=bc 4 | version=1.08.1 5 | revision=1 6 | tarball_url="https://ftp.gnu.org/gnu/bc/bc-${version}.tar.gz" 7 | tarball_blake2b="51d1bac17f31bb7dbb044c28752cccfe59dd5bcb78a2c3bfa66a345577ea3aee37fef8d7efae83a57e41ae77d7317008f3682dfbc3165c76888770636deead01" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config" 10 | deps="core-libs mpfr gmp readline" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | cp -rp "${source_dir}"/. ./ 18 | 19 | configure_script_path=./configure \ 20 | autotools_configure 21 | } 22 | 23 | build() { 24 | make -j${parallelism} 25 | } 26 | 27 | package() { 28 | DESTDIR="${dest_dir}" PREFIX="${prefix}" make install 29 | 30 | post_package_strip 31 | } 32 | -------------------------------------------------------------------------------- /recipes/binutils: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=binutils 4 | version=2.44 5 | revision=1 6 | tarball_url="https://ftp.gnu.org/gnu/binutils/binutils-with-gold-${version}.tar.xz" 7 | tarball_blake2b="d749d5fbab2d6c2455bf9a988daa5c5ab9ecd9ecd63e4be022bc06483ebc996588c515ee4b931ff2ba7bcf43242068c0747e1cad50740523b2073df5a338614f" 8 | source_hostdeps="autoconf-2.69 automake libtool pkg-config" 9 | imagedeps="build-essential" 10 | hostdeps="gcc autoconf-2.69 automake libtool pkg-config" 11 | deps="core-libs zlib zstd" 12 | 13 | prepare() { 14 | autotools_recursive_regen -I"$(realpath ./config)" 15 | 16 | cp -pv /usr/local/share/libtool/build-aux/{config.sub,config.guess,install-sh} libiberty/ 17 | } 18 | 19 | configure() { 20 | autotools_configure \ 21 | --target=${OS_TRIPLET} \ 22 | --with-build-sysroot=${sysroot_dir} \ 23 | --enable-separate-code \ 24 | --enable-cet \ 25 | --enable-colored-disassembly \ 26 | --enable-default-execstack=no \ 27 | --enable-deterministic-archives \ 28 | --enable-gold \ 29 | --enable-ld=default \ 30 | --enable-new-dtags \ 31 | --enable-plugins \ 32 | --enable-relro \ 33 | --enable-threads \ 34 | --disable-werror \ 35 | --with-pic \ 36 | --with-system-zlib 37 | } 38 | 39 | build() { 40 | make -j${parallelism} 41 | } 42 | 43 | package() { 44 | DESTDIR="${dest_dir}" make install 45 | 46 | # Remove unnecessary directory 47 | rm -rf "${dest_dir}${prefix}"/${OS_TRIPLET} 48 | 49 | # Remove static libraries 50 | rm -rf "${dest_dir}${prefix}"/lib/*.a 51 | 52 | post_package_strip 53 | } 54 | -------------------------------------------------------------------------------- /recipes/bzip2: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=bzip2 4 | version=1.0.8 5 | revision=1 6 | tarball_url="https://sourceware.org/ftp/bzip2/bzip2-${version}.tar.gz" 7 | tarball_blake2b="22ab3acd84f4db8c3d6f59340c252faedfd4447cea00dafbd652e65b6cf8a20adf6835c22e58563004cfafdb15348c924996230b4b23cae42da5e25eeac4bdad" 8 | hostdeps="gcc pkg-config" 9 | deps="core-libs" 10 | 11 | build() { 12 | cp -rp ${source_dir}/. . 13 | 14 | make -f Makefile-libbz2_so CC="${OS_TRIPLET}-gcc $TARGET_CFLAGS $TARGET_CPPFLAGS $TARGET_LDFLAGS" 15 | make bzip2 bzip2recover CC="${OS_TRIPLET}-gcc $TARGET_CFLAGS $TARGET_CPPFLAGS $TARGET_LDFLAGS" AR="${OS_TRIPLET}-ar" 16 | } 17 | 18 | package() { 19 | install -dm755 "${dest_dir}${prefix}/"{bin,lib,lib/pkgconfig,include,share/man/man1} 20 | 21 | install -m755 bzip2-shared "${dest_dir}${prefix}/bin/bzip2" 22 | install -m755 bzip2recover bzdiff bzgrep bzmore "${dest_dir}${prefix}/bin/" 23 | ln -sf bzip2 "${dest_dir}${prefix}/bin/bunzip2" 24 | ln -sf bzip2 "${dest_dir}${prefix}/bin/bzcat" 25 | 26 | cp -a libbz2.so* "${dest_dir}${prefix}/lib/" 27 | ln -s libbz2.so.${version} "${dest_dir}${prefix}/lib/libbz2.so" 28 | ln -s libbz2.so.${version} "${dest_dir}${prefix}/lib/libbz2.so.1" 29 | 30 | install -m644 bzlib.h "${dest_dir}${prefix}/include/" 31 | 32 | install -m644 bzip2.1 "${dest_dir}${prefix}/share/man/man1/" 33 | ln -sf bzip2.1 "${dest_dir}${prefix}/share/man/man1/bunzip2.1" 34 | ln -sf bzip2.1 "${dest_dir}${prefix}/share/man/man1/bzcat.1" 35 | ln -sf bzip2.1 "${dest_dir}${prefix}/share/man/man1/bzip2recover.1" 36 | 37 | cat <"${dest_dir}${prefix}/lib/pkgconfig/bzip2.pc" 38 | prefix=${prefix} 39 | exec_prefix=\${prefix} 40 | bindir=\${exec_prefix}/bin 41 | libdir=\${exec_prefix}/lib 42 | includedir=\${prefix}/include 43 | 44 | Name: bzip2 45 | Description: A file compression library 46 | Version: ${version} 47 | Libs: -L\${libdir} -lbz2 48 | Cflags: -I\${includedir} 49 | EOF 50 | 51 | post_package_strip 52 | } 53 | -------------------------------------------------------------------------------- /recipes/cairo: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=cairo 4 | version=1.18.2 5 | revision=1 6 | tarball_url="https://cairographics.org/releases/cairo-${version}.tar.xz" 7 | tarball_blake2b="6046ebc96bf79ef4fcff476d998cee756b0132198c129b049101ab7a70fe420b37f0f0b3ff90c51188005a19b87cb9dabe451bd97679d75ef397f0b3feb2af14" 8 | imagedeps="meson ninja-build binutils" 9 | hostdeps="gcc pkg-config" 10 | deps="core-libs fontconfig freetype2 glib libpng libx11 libxcb libxext libxrender pixman zlib" 11 | 12 | configure() { 13 | meson_configure \ 14 | -Dxlib-xcb=enabled \ 15 | -Dzlib=enabled \ 16 | -Dtee=enabled \ 17 | -Dtests=disabled 18 | } 19 | 20 | build() { 21 | ninja -j${parallelism} 22 | } 23 | 24 | package() { 25 | DESTDIR="${dest_dir}" ninja install 26 | 27 | post_package_strip 28 | } 29 | -------------------------------------------------------------------------------- /recipes/cglm: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=cglm 4 | version=0.9.6 5 | revision=1 6 | tarball_url="https://github.com/recp/cglm/archive/refs/tags/v${version}.tar.gz" 7 | tarball_blake2b="a51bfb6d9198f4ecf6b1bcc56b346df963e56d5229c226bfa6d3bdccfbb3e25c30e33eccfc3614402a61286e9e87dc1e63e2b8f22e4d0fd640232f40b5a4db70" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config" 10 | deps="core-libs" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | autotools_configure 18 | } 19 | 20 | build() { 21 | make -j${parallelism} 22 | } 23 | 24 | package() { 25 | DESTDIR="${dest_dir}" make install 26 | 27 | post_package_strip 28 | } 29 | -------------------------------------------------------------------------------- /recipes/cmatrix: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=cmatrix 4 | version=2.0 5 | revision=1 6 | tarball_url="https://github.com/abishekvashok/cmatrix/releases/download/v${version}/cmatrix-v${version}-Butterscotch.tar" 7 | tarball_blake2b="4eec8df0021da2ee5f4e46cd8de30bbd52fe81073aaa4dbaf0f111b6c44be2f4fd7b640e842fabfe9bb0fe21a76cdd926fd8535086c6b6d6c0073de6f06174ae" 8 | imagedeps="build-essential cmake ninja-build" 9 | hostdeps="gcc pkg-config" 10 | deps="core-libs ncurses" 11 | 12 | configure() { 13 | cmake_configure 14 | } 15 | 16 | build() { 17 | ninja -j${parallelism} 18 | } 19 | 20 | package() { 21 | DESTDIR="${dest_dir}" ninja install 22 | 23 | post_package_strip 24 | } 25 | -------------------------------------------------------------------------------- /recipes/core-libs: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=core-libs 4 | revision=1 5 | deps="mlibc libgcc libstdc++ libintl libiconv libxcrypt tzdata" 6 | -------------------------------------------------------------------------------- /recipes/coreutils: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=coreutils 4 | version=9.5 5 | revision=1 6 | tarball_url="https://ftp.gnu.org/gnu/coreutils/coreutils-${version}.tar.xz" 7 | tarball_blake2b="6fd3a77697c9e85f31415c6ad66559faf18acc7d346677a89d4a999c2027886551e78842a7283e7b3b44fe8ef2fde04ba2f88df32a7844d5f69d45bcb7a04b6f" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc automake autoconf libtool pkg-config" 10 | deps="core-libs" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | cp -rp "${source_dir}"/. ./ 18 | 19 | configure_script_path=./configure \ 20 | autotools_configure \ 21 | CFLAGS="$TARGET_CFLAGS -DSLOW_BUT_NO_HACKS" 22 | } 23 | 24 | build() { 25 | make -j${parallelism} 26 | } 27 | 28 | package() { 29 | DESTDIR="${dest_dir}" make install 30 | 31 | post_package_strip 32 | } 33 | -------------------------------------------------------------------------------- /recipes/curl: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=curl 4 | version=8.8.0 5 | revision=1 6 | tarball_url="https://github.com/curl/curl/releases/download/curl-$(echo ${version} | sed 's/\./_/g')/curl-${version}.tar.xz" 7 | tarball_blake2b="c14903bad4cbd1752a5335afa6bcc78be1a484692fce0e0a6c2061963e0e6b4e56defb8332cef32d0dbddb481ad0443b71faf3a52a6e9d945c89ecbce373d2a3" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config" 10 | deps="core-libs openssl zlib zstd" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | autotools_configure \ 18 | --enable-threaded-resolver \ 19 | --with-openssl 20 | } 21 | 22 | build() { 23 | make -j${parallelism} 24 | } 25 | 26 | package() { 27 | DESTDIR="${dest_dir}" make install 28 | 29 | post_package_strip 30 | } 31 | -------------------------------------------------------------------------------- /recipes/dbus: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=dbus 4 | version=1.15.8 5 | revision=1 6 | tarball_url="https://dbus.freedesktop.org/releases/dbus/dbus-${version}.tar.xz" 7 | tarball_blake2b="7c1962dfccc6a1b6250e80b0706d7f44536fabeff009013865ec4b1edaec6d4b47dcbe8f78caa61ef7aef4bac6b79f0e2027dd16bbb2baae328429e648bf8b8c" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="autoconf-archive" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs libexpat" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure \ 19 | --runstatedir=/run \ 20 | --disable-doxygen-docs \ 21 | --disable-xml-docs \ 22 | --with-systemdsystemunitdir=no \ 23 | --with-systemduserunitdir=no \ 24 | --with-system-pid-file=/run/dbus/pid \ 25 | --with-system-socket=/run/dbus/system_bus_socket \ 26 | --disable-selinux \ 27 | --disable-apparmor \ 28 | --disable-libaudit \ 29 | --disable-kqueue \ 30 | --disable-launchd \ 31 | --disable-systemd \ 32 | --disable-tests 33 | } 34 | 35 | build() { 36 | make -j${parallelism} 37 | } 38 | 39 | package() { 40 | DESTDIR="${dest_dir}" make install 41 | 42 | post_package_strip 43 | } 44 | -------------------------------------------------------------------------------- /recipes/diffutils: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=diffutils 4 | version=3.10 5 | revision=1 6 | tarball_url="https://ftp.gnu.org/gnu/diffutils/diffutils-${version}.tar.xz" 7 | tarball_blake2b="24a90162b3d876e6378243f19a85a1f1bb4cdfe98d130dee684740a902f2987509d5830dd32df4e26678b468b96960f6f9785ffb922e828cb8b4acce0d8587f6" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config" 10 | deps="core-libs" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | cp -rp "${source_dir}"/. ./ 18 | 19 | configure_script_path=./configure \ 20 | autotools_configure 21 | } 22 | 23 | build() { 24 | make -j${parallelism} 25 | } 26 | 27 | package() { 28 | DESTDIR="${dest_dir}" make install 29 | 30 | post_package_strip 31 | } 32 | -------------------------------------------------------------------------------- /recipes/file: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=file 4 | version=5.46 5 | revision=1 6 | tarball_url="https://astron.com/pub/file/file-${version}.tar.gz" 7 | tarball_blake2b="2b1df136f01c253cc490b483c644403da0674692ef97ef9e1239878328cfb8ce2bc418c14626145719c69acab00d56b63b5340a2b56c276c996b1e6ad1bfe9b6" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config file" 10 | deps="core-libs bzip2 xz zlib zstd" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | autotools_configure 18 | } 19 | 20 | build() { 21 | make -j${parallelism} 22 | } 23 | 24 | package() { 25 | DESTDIR="${dest_dir}" make install 26 | 27 | post_package_strip 28 | } 29 | -------------------------------------------------------------------------------- /recipes/findutils: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=findutils 4 | version=4.10.0 5 | revision=1 6 | tarball_url="https://ftp.gnu.org/gnu/findutils/findutils-${version}.tar.xz" 7 | tarball_blake2b="2eebdcb425c04170d17afb80e7270ba095bd691660d961dcfa731141633d3bb597d0b47d69ed17e891ef884a36d4c232885097e45b41d3d3ac79dbeae6ee2282" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config" 10 | deps="core-libs" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | cp -rp "${source_dir}"/. ./ 18 | 19 | configure_script_path=./configure \ 20 | autotools_configure \ 21 | --without-selinux 22 | } 23 | 24 | build() { 25 | make -j${parallelism} 26 | } 27 | 28 | package() { 29 | DESTDIR="${dest_dir}" make install 30 | 31 | post_package_strip 32 | } 33 | -------------------------------------------------------------------------------- /recipes/fontconfig: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=fontconfig 4 | version=2.16.0 5 | revision=1 6 | tarball_url="https://www.freedesktop.org/software/fontconfig/release/fontconfig-${version}.tar.xz" 7 | tarball_blake2b="48d6fcbfe83f0a4c026a4f90d864a4195805e04cc6dd486bd18d68caa8b55fd51fc37822781298152d363b70dc103c9f8b216f6dc0193b2b192eb35565482ec4" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | imagedeps="gperf" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs freetype2 libexpat libxml" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | 16 | # Make sure we regenerate this file 17 | rm -f src/fcobjshash.h 18 | } 19 | 20 | configure() { 21 | cp -rp "${source_dir}"/. ./ 22 | 23 | configure_script_path=./configure \ 24 | autotools_configure \ 25 | --enable-libxml2 26 | } 27 | 28 | build() { 29 | make -j${parallelism} 30 | } 31 | 32 | package() { 33 | DESTDIR="${dest_dir}" make install 34 | 35 | post_package_strip 36 | } 37 | -------------------------------------------------------------------------------- /recipes/freeglut: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=freeglut 4 | version=3.6.0 5 | revision=1 6 | tarball_url="https://github.com/freeglut/freeglut/releases/download/v${version}/freeglut-${version}.tar.gz" 7 | tarball_blake2b="c42985013aafbe0e21369295f67355f2b498f284289fceed9baff5de6a46b7fee2a2ee07e00c136f65caa9159b635df82030a112eae101f9f82751abd76636e4" 8 | imagedeps="cmake ninja-build git" 9 | hostdeps="gcc pkg-config" 10 | deps="core-libs libxi mesa glu" 11 | 12 | configure() { 13 | cmake_configure \ 14 | -DFREEGLUT_BUILD_DEMOS=OFF \ 15 | -DFREEGLUT_BUILD_STATIC_LIBS=OFF 16 | } 17 | 18 | build() { 19 | ninja -j${parallelism} 20 | } 21 | 22 | package() { 23 | DESTDIR="${dest_dir}" ninja install 24 | 25 | post_package_strip 26 | } 27 | -------------------------------------------------------------------------------- /recipes/freestnd-c-hdrs: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=freestnd-c-hdrs 4 | version=87956bbcad0e1934e708223913be53131311342d 5 | revision=1 6 | git_url="https://github.com/osdev0/freestnd-c-hdrs.git" 7 | commit=${version} 8 | 9 | build() { 10 | cp -rpf "${source_dir}"/. ./ 11 | } 12 | 13 | package() { 14 | DESTDIR="${dest_dir}" PREFIX="${prefix}" make install 15 | } 16 | -------------------------------------------------------------------------------- /recipes/freestnd-cxx-hdrs: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=freestnd-cxx-hdrs 4 | version=1cc6d4665e1e0ce4408c94616c8c4de4c19b9968 5 | revision=1 6 | git_url="https://github.com/osdev0/freestnd-cxx-hdrs.git" 7 | commit=${version} 8 | 9 | build() { 10 | cp -rpf "${source_dir}"/. ./ 11 | } 12 | 13 | package() { 14 | DESTDIR="${dest_dir}" PREFIX="${prefix}" make install 15 | } 16 | -------------------------------------------------------------------------------- /recipes/freetype2: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=freetype2 4 | version=2.13.3 5 | revision=1 6 | tarball_url="https://download.savannah.gnu.org/releases/freetype/freetype-${version}.tar.xz" 7 | tarball_blake2b="f9591c6998df02b072adaf38a968e91deae8ed4d53ea0cb74d08982c4f0e48b1a98c1378a698164e4f730f07a3b0bea308a94fcc2e2b8ce9967dbf9478b599bd" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | imagedeps="build-essential" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs bzip2 libpng zlib" 12 | 13 | prepare() { 14 | NOCONFIGURE=1 ./autogen.sh 15 | cp /usr/local/share/automake-1.16/{config.sub,config.guess,install-sh} ./builds/unix/ 16 | } 17 | 18 | configure() { 19 | autotools_configure \ 20 | --with-harfbuzz=no 21 | } 22 | 23 | build() { 24 | make -j${parallelism} 25 | } 26 | 27 | package() { 28 | DESTDIR="${dest_dir}" make install 29 | 30 | post_package_strip 31 | } 32 | -------------------------------------------------------------------------------- /recipes/fribidi: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=fribidi 4 | version=1.0.16 5 | revision=1 6 | tarball_url="https://github.com/fribidi/fribidi/releases/download/v${version}/fribidi-${version}.tar.xz" 7 | tarball_blake2b="9a0dce6152ba0f0ca4a42a83ca0f6d234fb9fef2a681d274aab6922e3394b70430e677fd549b17b13d928d733c0e72a7e3527cfb461971bbfd155ec1bd5e738c" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config" 10 | deps="core-libs" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | autotools_configure 18 | } 19 | 20 | build() { 21 | make -j${parallelism} 22 | } 23 | 24 | package() { 25 | DESTDIR="${dest_dir}" make install 26 | 27 | post_package_strip 28 | } 29 | -------------------------------------------------------------------------------- /recipes/frigg: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=frigg 4 | version=41b8f556db2646c4417d227b5174a66f03d86a43 5 | revision=1 6 | git_url="https://github.com/managarm/frigg.git" 7 | commit=${version} 8 | imagedeps="meson ninja-build" 9 | hostdeps="pkg-config" 10 | 11 | configure() { 12 | meson_configure \ 13 | --includedir=share/frigg/include \ 14 | -Dbuild_tests=disabled 15 | } 16 | 17 | build() { 18 | ninja -j${parallelism} 19 | } 20 | 21 | package() { 22 | DESTDIR="${dest_dir}" ninja install 23 | 24 | post_package_strip 25 | } 26 | -------------------------------------------------------------------------------- /recipes/gawk: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=gawk 4 | version=5.3.1 5 | revision=1 6 | tarball_url="https://ftp.gnu.org/gnu/gawk/gawk-${version}.tar.xz" 7 | tarball_blake2b="be9132324344c0b052e954e004a942ff7c6b14b86b73cda491d7a33485f60341be4d8da1a06d1d7a27445b9b39a528bcce3eee9c2a3f8756de21bdc57a33f54d" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config" 10 | deps="core-libs mpfr gmp readline" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | cp -rp "${source_dir}"/. ./ 18 | 19 | configure_script_path=./configure \ 20 | autotools_configure 21 | } 22 | 23 | build() { 24 | make -j${parallelism} 25 | } 26 | 27 | package() { 28 | DESTDIR="${dest_dir}" make install 29 | 30 | post_package_strip 31 | } 32 | -------------------------------------------------------------------------------- /recipes/gcc: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=gcc 4 | version=14.2.0 5 | revision=1 6 | tarball_url="https://ftp.gnu.org/gnu/gcc/gcc-${version}/gcc-${version}.tar.xz" 7 | tarball_blake2b="87baf2a06dfa75d8fb6cd62c747ef1f57d3b9bbbe33a360d9ed3de4b4dbeaa8d920504c67e409bd9863414202c14fd854b46108e984418171205119216d03d3b" 8 | source_hostdeps="automake autoconf-2.69 libtool pkg-config" 9 | source_imagedeps="git" 10 | hostdeps="gcc autoconf-2.69 automake libtool pkg-config" 11 | deps="core-libs binutils zlib gmp mpfr mpc gettext" 12 | imagedeps="build-essential" 13 | 14 | prepare() { 15 | for i in "${base_dir}"/patches/gcc-host/*; do 16 | patch -p1 < "$i" 17 | done 18 | 19 | autotools_recursive_regen -I"$(realpath ./config)" 20 | 21 | cp -pv /usr/local/share/libtool/build-aux/{config.sub,config.guess,install-sh} libiberty/ 22 | } 23 | 24 | configure() { 25 | autotools_configure \ 26 | CFLAGS_FOR_BUILD="$HOST_CFLAGS" \ 27 | CPPFLAGS_FOR_BUILD="$HOST_CPPFLAGS" \ 28 | CXXFLAGS_FOR_BUILD="$HOST_CXXFLAGS" \ 29 | LDFLAGS_FOR_BUILD="$HOST_LDFLAGS" \ 30 | CFLAGS_FOR_TARGET="$TARGET_CFLAGS" \ 31 | CPPFLAGS_FOR_TARGET="$TARGET_CPPFLAGS" \ 32 | CXXFLAGS_FOR_TARGET="$TARGET_CXXFLAGS" \ 33 | LDFLAGS_FOR_TARGET="$TARGET_LDFLAGS" \ 34 | --target=${OS_TRIPLET} \ 35 | --with-sysroot=/ \ 36 | --with-build-sysroot=${sysroot_dir} \ 37 | --with-linker-hash-style=gnu \ 38 | --enable-linker-build-id \ 39 | --enable-languages=c,c++,lto \ 40 | --enable-default-pie \ 41 | --enable-default-ssp \ 42 | --enable-initfini-array \ 43 | --disable-multilib \ 44 | --with-system-zlib \ 45 | --enable-host-shared 46 | } 47 | 48 | build() { 49 | make -j${parallelism} all-gcc 50 | } 51 | 52 | package() { 53 | DESTDIR="${dest_dir}" make install-gcc 54 | 55 | ln -s gcc "${dest_dir}${prefix}"/bin/cc 56 | cp -v "${base_dir}"/build-support/gcc/c89 "${dest_dir}${prefix}"/bin/ 57 | cp -v "${base_dir}"/build-support/gcc/c99 "${dest_dir}${prefix}"/bin/ 58 | chmod +x "${dest_dir}${prefix}"/bin/c89 59 | chmod +x "${dest_dir}${prefix}"/bin/c99 60 | 61 | # Remove static libraries 62 | rm -rf "${dest_dir}${prefix}"/lib/*.a 63 | 64 | post_package_strip 65 | } 66 | -------------------------------------------------------------------------------- /recipes/gdbm: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=gdbm 4 | version=1.24 5 | revision=1 6 | tarball_url="https://ftp.gnu.org/gnu/gdbm/gdbm-${version}.tar.gz" 7 | tarball_blake2b="79f49adbb455c2e1b91f3450037b71165fa8de82650d6402e0e22ee1f4d278fdb0bd78100659bf416e2409b432e1f8d32ecbae523980413f7148b80ee06c9f4b" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config" 10 | deps="core-libs readline" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | cp -rp "${source_dir}"/. ./ 18 | 19 | configure_script_path=./configure \ 20 | autotools_configure \ 21 | --enable-libgdbm-compat 22 | } 23 | 24 | build() { 25 | make -j${parallelism} 26 | } 27 | 28 | package() { 29 | DESTDIR="${dest_dir}" make install 30 | 31 | post_package_strip 32 | } 33 | -------------------------------------------------------------------------------- /recipes/gdk-pixbuf: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=gdk-pixbuf 4 | version=2.42.12 5 | revision=1 6 | tarball_url="https://download.gnome.org/sources/gdk-pixbuf/2.42/gdk-pixbuf-${version}.tar.xz" 7 | tarball_blake2b="718a96c9efb836a275692ccbc403df0eb285918c5867d344406f660898c7ce8aad8cce7187faf7f6e9cdcfd1b051d5384f57644d946b888baddbaafb8f99309c" 8 | imagedeps="meson ninja-build libglib2.0-dev" 9 | hostdeps="gcc pkg-config" 10 | deps="core-libs glib libjpeg-turbo libpng libx11 libtiff" 11 | 12 | configure() { 13 | meson_configure \ 14 | -Dgio_sniffing=false \ 15 | -Dman=false 16 | } 17 | 18 | build() { 19 | ninja -j${parallelism} 20 | } 21 | 22 | package() { 23 | DESTDIR="${dest_dir}" ninja install 24 | 25 | post_package_strip 26 | } 27 | -------------------------------------------------------------------------------- /recipes/gettext: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=gettext 4 | version=0.23.1 5 | revision=1 6 | tarball_url="https://ftp.gnu.org/gnu/gettext/gettext-${version}.tar.xz" 7 | tarball_blake2b="08d10340f3d855a87a96594c6f2dcf72925394f02e86235090f8d272e0a27ce32e57a0fbaed61aaf61d7328ff30be076dccaecaa13832d8db3ec0a51786780b9" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config" 10 | deps="core-libs" 11 | 12 | prepare() { 13 | ( cd gettext-runtime/libasprintf && autoreconf -fvi ) 14 | ( cd gettext-runtime/intl && autoreconf -fvi ) 15 | ( cd gettext-runtime && autoreconf -fvi ) 16 | ( cd gettext-tools && autoreconf -fvi ) 17 | ( cd libtextstyle && autoreconf -fvi ) 18 | autoreconf -fvi 19 | } 20 | 21 | configure() { 22 | cp -rp ${source_dir}/. ./ 23 | 24 | ACLOCAL=true \ 25 | AUTOCONF=true \ 26 | AUTOMAKE=true \ 27 | AUTOHEADER=true \ 28 | configure_script_path=./configure \ 29 | autotools_configure 30 | } 31 | 32 | build() { 33 | make -j${parallelism} 34 | } 35 | 36 | package() { 37 | DESTDIR="${dest_dir}" make install 38 | 39 | # Remove conflicting libintl files 40 | rm -f "${dest_dir}${prefix}"/include/libintl.h 41 | rm -f "${dest_dir}${prefix}"/lib/libintl.so* 42 | rm -f "${dest_dir}${prefix}"/share/locale/locale.alias 43 | 44 | post_package_strip 45 | } 46 | -------------------------------------------------------------------------------- /recipes/git: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=git 4 | version=2.45.2 5 | revision=1 6 | tarball_url="https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz" 7 | tarball_blake2b="477acc786c26e0b04843ad6d07333607b2274d587263d72c6d036cade725e6f62f8c773903f401c799de71527d0473589afc507eec02f445e0c148dd7cbf407c" 8 | source_hostdeps="autoconf automake libtool pkg-config" 9 | imagedeps="build-essential libcurl4-gnutls-dev" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs python zlib curl openssl openssh" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | cp -rp ${source_dir}/. . 19 | 20 | configure_script_path=./configure \ 21 | ac_cv_iconv_omits_bom=yes \ 22 | ac_cv_fread_reads_directories=no \ 23 | ac_cv_snprintf_returns_bogus=no \ 24 | autotools_configure \ 25 | --with-gitconfig=/etc/gitconfig \ 26 | --with-python=python3 27 | } 28 | 29 | build() { 30 | make -j${parallelism} 31 | } 32 | 33 | package() { 34 | make install DESTDIR="${dest_dir}" 35 | 36 | post_package_strip 37 | } 38 | -------------------------------------------------------------------------------- /recipes/glib: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=glib 4 | version=2.82.4 5 | revision=1 6 | tarball_url="https://download.gnome.org/sources/glib/2.82/glib-${version}.tar.xz" 7 | tarball_blake2b="62caecc7570b1639f6ddf1deb9debb6d3d6180b74f497f2fcace5ce65d6e28996555d51e5b4980f500bdc3f811b5b6214521b1170f553f2fa1fd240fd0eec835" 8 | imagedeps="meson ninja-build python3-setuptools" 9 | hostdeps="gcc pkg-config" 10 | deps="core-libs pcre2 libffi zlib" 11 | 12 | configure() { 13 | meson_configure \ 14 | -Dxattr=false 15 | } 16 | 17 | build() { 18 | ninja -j${parallelism} 19 | } 20 | 21 | package() { 22 | DESTDIR="${dest_dir}" ninja install 23 | 24 | post_package_strip 25 | } 26 | -------------------------------------------------------------------------------- /recipes/glu: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=glu 4 | version=9.0.3 5 | revision=1 6 | tarball_url="https://archive.mesa3d.org/glu/glu-${version}.tar.xz" 7 | tarball_blake2b="a6fc842004dcca4243ef285e26806afdfb931d21985ad8f9a3f03f438e66b810718bf04e588044ed8db99990e49f806d346dc2ce69cfa91450f046a4dfa39136" 8 | imagedeps="meson ninja-build" 9 | hostdeps="gcc pkg-config" 10 | deps="core-libs mesa" 11 | 12 | configure() { 13 | meson_configure \ 14 | -Dgl_provider=gl 15 | } 16 | 17 | build() { 18 | ninja -j${parallelism} 19 | } 20 | 21 | package() { 22 | DESTDIR="${dest_dir}" ninja install 23 | 24 | post_package_strip 25 | } 26 | -------------------------------------------------------------------------------- /recipes/gmp: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=gmp 4 | version=6.3.0 5 | revision=1 6 | tarball_url="https://ftp.gnu.org/gnu/gmp/gmp-${version}.tar.xz" 7 | tarball_blake2b="a865129e2b3f634ec5bad7f97ed89532e43f5662ac47a7d8ab7f0df8c9f8d0886bd984651422e2573c2163bca69c0547c248147ec90880accbd53db97dc0ddee" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | imagedeps="build-essential" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure \ 19 | --enable-cxx 20 | } 21 | 22 | build() { 23 | make -j${parallelism} 24 | } 25 | 26 | package() { 27 | DESTDIR="${dest_dir}" make install 28 | 29 | post_package_strip 30 | } 31 | -------------------------------------------------------------------------------- /recipes/graphite2: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=graphite2 4 | version=1.3.14 5 | revision=1 6 | tarball_url="https://github.com/silnrsi/graphite/releases/download/${version}/graphite2-${version}.tgz" 7 | tarball_blake2b="72bf6736aaa8476a89e44ef53c5b6c94f45d815fe1a451ba6b3696bfe023971210975dee4a9c8cb3042f36442e4efecf5baf171ef4230ad2b10694a89865f918" 8 | imagedeps="cmake ninja-build" 9 | hostdeps="gcc pkg-config" 10 | deps="core-libs" 11 | 12 | configure() { 13 | cmake_configure 14 | } 15 | 16 | build() { 17 | ninja -j${parallelism} 18 | } 19 | 20 | package() { 21 | DESTDIR="${dest_dir}" ninja install 22 | 23 | post_package_strip 24 | } 25 | -------------------------------------------------------------------------------- /recipes/grep: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=grep 4 | version=3.11 5 | revision=1 6 | tarball_url="https://ftp.gnu.org/gnu/grep/grep-${version}.tar.xz" 7 | tarball_blake2b="e21785bca20b5a090d32bb5dc525fb298af30165106ed4c289b1518ea3d2acdcacfd6309b12f13be29a4b958f19588546119c695deb2b7500d49dcff86357bdc" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | imagedeps="gperf" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs pcre2" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | cp -rp "${source_dir}"/. ./ 19 | 20 | configure_script_path=./configure \ 21 | autotools_configure 22 | } 23 | 24 | build() { 25 | make -j${parallelism} 26 | } 27 | 28 | package() { 29 | DESTDIR="${dest_dir}" make install 30 | 31 | post_package_strip 32 | } 33 | -------------------------------------------------------------------------------- /recipes/groff: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=groff 4 | version=1.23.0 5 | revision=1 6 | tarball_url="https://ftp.gnu.org/gnu/groff/groff-${version}.tar.gz" 7 | tarball_blake2b="9fc5a2302f034761a17f0639a04b82c536ba8a7db15b062dd736e0011fc5a27fddcaf035af128d09f06762825d9bb965e8f5561e4be7a9fea3fe86ca5f6cb2dd" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | imagedeps="groff" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} GROFFBIN=groff GROFF_BIN_PATH=/usr/bin 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | rm -f "${dest_dir}${prefix}/lib/charset.alias" 29 | 30 | post_package_strip 31 | } 32 | -------------------------------------------------------------------------------- /recipes/gsettings-desktop-schemas: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=gsettings-desktop-schemas 4 | version=47.1 5 | revision=1 6 | tarball_url="https://download.gnome.org/sources/gsettings-desktop-schemas/47/gsettings-desktop-schemas-${version}.tar.xz" 7 | tarball_blake2b="8a67f6da435c30b87c172ae12b1cce7d614f2804eb3135d6c36d144adce697aec13f9861ff15edf6a55c20f96cf51b0a9bbdcbdd6de65c327bc8cd13888fe389" 8 | imagedeps="meson ninja-build libglib2.0-dev" 9 | hostdeps="gcc pkg-config" 10 | deps="core-libs glib" 11 | 12 | prepare() { 13 | sed -i -r 's:"(/system):"/org/gnome\1:g' schemas/*.in 14 | } 15 | 16 | configure() { 17 | meson_configure \ 18 | -Dintrospection=false 19 | } 20 | 21 | build() { 22 | ninja -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" ninja install 27 | 28 | glib-compile-schemas "${dest_dir}${prefix}"/share/glib-2.0/schemas 29 | rm "${dest_dir}${prefix}"/share/glib-2.0/schemas/gschemas.compiled 30 | 31 | post_package_strip 32 | } 33 | -------------------------------------------------------------------------------- /recipes/gtk+-3: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=gtk+-3 4 | version=3.24.43 5 | revision=1 6 | tarball_url="https://download.gnome.org/sources/gtk%2B/3.24/gtk%2B-${version}.tar.xz" 7 | tarball_blake2b="6d0c6b2d5b3751ed511d6af403083be34df8422df8f3201c97af6eca293aa92582e4e13d48a97d032e443118195626b9f4b6a5d8f963897cbc51a7c689095479" 8 | imagedeps="meson ninja-build libglib2.0-dev libgdk-pixbuf-2.0 python3-packaging" 9 | hostdeps="gcc pkg-config" 10 | deps="core-libs at-spi2-core cairo glib gdk-pixbuf libx11 libxext libxcb libxinerama libxrender libxrandr libxfixes libxdamage pango fribidi libepoxy libxkbcommon fontconfig freetype2 libxi harfbuzz libxcursor gsettings-desktop-schemas dbus hicolor-icon-theme" 11 | 12 | configure() { 13 | meson_configure \ 14 | -Dprint_backends=file \ 15 | -Dintrospection=false \ 16 | -Dx11_backend=true \ 17 | -Dbroadway_backend=true \ 18 | -Dwayland_backend=false \ 19 | -Dcolord=no 20 | } 21 | 22 | build() { 23 | ninja -j${parallelism} 24 | } 25 | 26 | package() { 27 | DESTDIR="${dest_dir}" ninja install 28 | 29 | glib-compile-schemas "${dest_dir}${prefix}"/share/glib-2.0/schemas 30 | rm "${dest_dir}${prefix}"/share/glib-2.0/schemas/gschemas.compiled 31 | 32 | post_package_strip 33 | } 34 | -------------------------------------------------------------------------------- /recipes/gzip: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=gzip 4 | version=1.13 5 | revision=1 6 | tarball_url="https://ftp.gnu.org/gnu/gzip/gzip-${version}.tar.xz" 7 | tarball_blake2b="f0e3b4c28bafcd3b59b65ac2d71218dc58d81b52c6921c1be038757c99e99184178c5d0e9674caa5099713b8b64e8c85cf061f4abfa20b73b478288f121fb05d" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config" 10 | deps="core-libs" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | cp -rp "${source_dir}"/. ./ 18 | 19 | configure_script_path=./configure \ 20 | autotools_configure 21 | } 22 | 23 | build() { 24 | make -j${parallelism} 25 | } 26 | 27 | package() { 28 | DESTDIR="${dest_dir}" make install 29 | 30 | post_package_strip 31 | } 32 | -------------------------------------------------------------------------------- /recipes/harfbuzz: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=harfbuzz 4 | version=10.2.0 5 | revision=1 6 | tarball_url="https://github.com/harfbuzz/harfbuzz/releases/download/${version}/harfbuzz-${version}.tar.xz" 7 | tarball_blake2b="6711eed94c4cbc7b4d37ec17c3bd4512110f873d0f179bc213773ad89af99cd349f92ea8ce957ddeb5084ad3719e2436cb712a880b02668954c69e0b1c3ceb98" 8 | imagedeps="meson ninja-build" 9 | hostdeps="gcc pkg-config" 10 | deps="core-libs graphite2 glib zlib freetype2 cairo icu" 11 | 12 | configure() { 13 | cp -rp "${source_dir}"/. ./ 14 | 15 | mkdir build && cd build 16 | 17 | meson_source_dir=.. \ 18 | meson_configure \ 19 | -Dcpp_std=c++17 \ 20 | -Dgraphite2=enabled \ 21 | -Dglib=enabled \ 22 | -Dgobject=disabled \ 23 | -Dicu=enabled \ 24 | -Dfreetype=enabled \ 25 | -Dcairo=enabled \ 26 | -Dintrospection=disabled \ 27 | -Dtests=disabled 28 | 29 | cd .. 30 | } 31 | 32 | build() { 33 | ( cd build && ninja -j${parallelism} ) 34 | } 35 | 36 | package() { 37 | ( cd build && DESTDIR="${dest_dir}" ninja install ) 38 | 39 | post_package_strip 40 | } 41 | -------------------------------------------------------------------------------- /recipes/hicolor-icon-theme: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=hicolor-icon-theme 4 | version=0.18 5 | revision=1 6 | tarball_url="https://icon-theme.freedesktop.org/releases/hicolor-icon-theme-${version}.tar.xz" 7 | tarball_blake2b="afa724777d1bfcb40fc94477a473a6c12958888ef442bd3f672abb98eaac5c4f91e025c8c131690c5557d369182e7f687fed745d604509bdffdac269bf0bcdde" 8 | imagedeps="meson ninja-build" 9 | hostdeps="gcc pkg-config" 10 | 11 | configure() { 12 | meson_configure 13 | } 14 | 15 | build() { 16 | ninja -j${parallelism} 17 | } 18 | 19 | package() { 20 | DESTDIR="${dest_dir}" ninja install 21 | 22 | post_package_strip 23 | } 24 | -------------------------------------------------------------------------------- /recipes/icu: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=icu 4 | version=76.1 5 | revision=1 6 | tarball_url="https://github.com/unicode-org/icu/releases/download/release-76-1/icu4c-76_1-src.tgz" 7 | tarball_blake2b="67223391123d2d2c75107fc4b87510b1d8d520301a863032951b894366ec8b414692ee3fa2acd652289b0ae2f60946d71bf9ca21ed87de40825e2fd02634c658" 8 | source_hostdeps="autoconf automake libtool pkg-config" 9 | source_deps="autoconf-archive" 10 | source_imagedeps="build-essential pkg-config" 11 | hostdeps="gcc autoconf automake libtool pkg-config" 12 | deps="core-libs" 13 | 14 | prepare() { 15 | autotools_recursive_regen 16 | cp source/config/{mh-linux,mh-unknown} 17 | 18 | mkdir -p cross-build 19 | cd cross-build 20 | 21 | ${source_dir}/source/configure \ 22 | CFLAGS="$HOST_CFLAGS" \ 23 | CXXFLAGS="$HOST_CXXFLAGS" \ 24 | LDFLAGS="$HOST_LDFLAGS" \ 25 | --prefix=/usr/local 26 | 27 | make -j${parallelism} 28 | cd .. 29 | } 30 | 31 | configure() { 32 | configure_script_path=${source_dir}/source/configure \ 33 | autotools_configure \ 34 | --with-cross-build=${source_dir}/cross-build 35 | } 36 | 37 | build() { 38 | make -j${parallelism} 39 | } 40 | 41 | package() { 42 | DESTDIR="${dest_dir}" make install 43 | 44 | post_package_strip 45 | } 46 | -------------------------------------------------------------------------------- /recipes/init: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=init 4 | version=0.0 5 | revision=1 6 | source_dir="init" 7 | hostdeps="gcc" 8 | deps="core-libs" 9 | 10 | build() { 11 | cp -r ${source_dir}/. ./ 12 | 13 | make -j${parallelism} CC=${OS_TRIPLET}-gcc 14 | } 15 | 16 | package() { 17 | make install DESTDIR="${dest_dir}" PREFIX="${prefix}" STRIP=${OS_TRIPLET}-strip 18 | } 19 | -------------------------------------------------------------------------------- /recipes/jwm: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=jwm 4 | version=2.4.3 5 | revision=1 6 | tarball_url="https://github.com/joewing/jwm/releases/download/v${version}/jwm-${version}.tar.xz" 7 | tarball_blake2b="d0b0ff1088ab3390a90c054162ea2c2fe782b61f28b3fdb28464ace362143fdc94e25ec82f7f4178b86a26c9315cdfcf9a81bff2e76bb5e3d62f88968a4ee80b" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="gettext" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs libx11 libxft libxmu libjpeg-turbo libxpm libxinerama libpng" 12 | 13 | prepare() { 14 | AUTOMAKE=true \ 15 | autotools_recursive_regen 16 | } 17 | 18 | configure() { 19 | autotools_configure 20 | } 21 | 22 | build() { 23 | make -j${parallelism} 24 | } 25 | 26 | package() { 27 | DESTDIR="${dest_dir}" make install 28 | cp -v "${base_dir}"/build-support/jwm/system.jwmrc "${dest_dir}"/etc/ 29 | post_package_strip 30 | } 31 | -------------------------------------------------------------------------------- /recipes/kernel: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=kernel 4 | version=0.0 5 | revision=1 6 | source_dir="kernel" 7 | source_imagedeps="git meson ninja-build" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_allow_network="yes" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs" 12 | 13 | prepare() { 14 | ./bootstrap 15 | } 16 | 17 | configure() { 18 | autotools_configure \ 19 | TOOLCHAIN=${OS_TRIPLET} 20 | } 21 | 22 | build() { 23 | LDFLAGS="" \ 24 | make -j${parallelism} 25 | } 26 | 27 | package() { 28 | DESTDIR="${dest_dir}" make install 29 | 30 | post_package_strip 31 | } 32 | -------------------------------------------------------------------------------- /recipes/less: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=less 4 | version=668 5 | revision=1 6 | tarball_url="https://www.greenwoodsoftware.com/less/less-${version}.tar.gz" 7 | tarball_blake2b="0f6a85a1c66577dd2a28682a6f8399e42fdbe9fc1498b2e89c6bb7c47109e8d3ab934abe5dd998b2c8dfacfb174ad9daeb79b3d4c13df22fa035ea792b2eaf5e" 8 | source_hostdeps="autoconf automake libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config" 10 | deps="core-libs ncurses" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | autotools_configure 18 | } 19 | 20 | build() { 21 | make -j${parallelism} 22 | } 23 | 24 | package() { 25 | make install DESTDIR="${dest_dir}" 26 | 27 | post_package_strip 28 | } 29 | -------------------------------------------------------------------------------- /recipes/libarchive: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libarchive 4 | version=3.7.7 5 | revision=1 6 | tarball_url="https://github.com/libarchive/libarchive/releases/download/v${version}/libarchive-${version}.tar.xz" 7 | tarball_blake2b="e118c693f7a78e86ab868fc6c2c77beba539cf5c7d5999e270cdceb225e9f85c68c938ec6ce3a33f75b2a44a6f7debe2c280d2573c1bcf05806300e8dce1a4f0" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config" 10 | deps="core-libs zlib xz zstd libexpat libxml" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | autotools_configure 18 | } 19 | 20 | build() { 21 | make -j${parallelism} 22 | } 23 | 24 | package() { 25 | DESTDIR="${dest_dir}" make install 26 | 27 | post_package_strip 28 | } 29 | -------------------------------------------------------------------------------- /recipes/libepoxy: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libepoxy 4 | version=1.5.10 5 | revision=1 6 | tarball_url="https://download.gnome.org/sources/libepoxy/1.5/libepoxy-${version}.tar.xz" 7 | tarball_blake2b="105267b1b19acf8c86e5e9d23741dfc738e014de4f0b30f88e7ec22f98497cc8e006d729f17b5698780ca1dd782bad99f73ae685b2bf882b77670bb6c4b959c9" 8 | imagedeps="meson ninja-build" 9 | hostdeps="gcc pkg-config" 10 | deps="core-libs mesa xorg-proto libx11" 11 | 12 | configure() { 13 | meson_configure \ 14 | -Degl=no \ 15 | -Dtests=false 16 | } 17 | 18 | build() { 19 | ninja -j${parallelism} 20 | } 21 | 22 | package() { 23 | DESTDIR="${dest_dir}" ninja install 24 | 25 | post_package_strip 26 | } 27 | -------------------------------------------------------------------------------- /recipes/libexpat: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libexpat 4 | version=2.6.4 5 | revision=1 6 | tarball_url="https://github.com/libexpat/libexpat/releases/download/R_2_6_4/expat-${version}.tar.xz" 7 | tarball_blake2b="70d716722358db8d0acb2c74dbbc9d2362d04a0b856eab6b6d723614b656cf6aad9f6646339e0a32b4151db2e9541439bcb81ec87791e5e6ec0bd36a3ca067cc" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config" 10 | deps="core-libs" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | autotools_configure 18 | } 19 | 20 | build() { 21 | make -j${parallelism} 22 | } 23 | 24 | package() { 25 | DESTDIR="${dest_dir}" make install 26 | 27 | post_package_strip 28 | } 29 | -------------------------------------------------------------------------------- /recipes/libffi: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libffi 4 | version=3.4.6 5 | revision=1 6 | tarball_url="https://github.com/libffi/libffi/releases/download/v${version}/libffi-${version}.tar.gz" 7 | tarball_blake2b="af8402a09bdbd59b4e9400d2d71bd5ce98f6f1d981d35d1ab40d77a831b13b32c5bd34ca54ff75999e39f0d8a9c066381fae7a8d6c5216d955e064f929f08b88" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config" 10 | deps="core-libs" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | autotools_configure 18 | } 19 | 20 | build() { 21 | make -j${parallelism} 22 | } 23 | 24 | package() { 25 | DESTDIR="${dest_dir}" make install 26 | 27 | post_package_strip 28 | } 29 | -------------------------------------------------------------------------------- /recipes/libfontenc: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libfontenc 4 | version=1.1.8 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/lib/libfontenc-${version}.tar.gz" 7 | tarball_blake2b="6d613cf17a3414fadb3961eea5493de33bbcdc6d19909d1ac7fa10d9b9c4eba59478f5fa59ac4758a86307fb2c04f40dbcc345203be9161e939de73bc7f93d3a" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xorg-font-util xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs xorg-proto zlib" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/libgcc: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libgcc 4 | revision=1 5 | hostdeps="gcc autoconf-2.69 automake libtool pkg-config" 6 | imagedeps="build-essential" 7 | deps="mlibc" 8 | 9 | build() { 10 | cd "${base_dir}"/host-builds/gcc/build 11 | 12 | make -j${parallelism} all-target-libgcc 13 | } 14 | 15 | package() { 16 | cd "${base_dir}"/host-builds/gcc/build 17 | 18 | rm -rf tmp_libgcc_dir 19 | mkdir tmp_libgcc_dir 20 | 21 | DESTDIR="$(realpath tmp_libgcc_dir)" make install-target-libgcc 22 | 23 | mkdir -p "${dest_dir}${prefix}" 24 | 25 | cp -r tmp_libgcc_dir/usr/local/lib "${dest_dir}${prefix}"/ 26 | cp -r tmp_libgcc_dir/usr/local/${OS_TRIPLET}/* "${dest_dir}${prefix}"/ 27 | 28 | # Copy libgcc into GCC's tree else it will complain. 29 | mkdir -p "${base_dir}"/host-pkgs/gcc/usr/local/lib 30 | cp -r tmp_libgcc_dir/usr/local/lib/* "${base_dir}"/host-pkgs/gcc/usr/local/lib/ 31 | } 32 | -------------------------------------------------------------------------------- /recipes/libgcrypt: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libgcrypt 4 | version=1.10.3 5 | revision=1 6 | tarball_url="https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-${version}.tar.gz" 7 | tarball_blake2b="86636e88a96ed531718eeed7915e7ab4e359b17500f648a075853f575e7a50fbb7dc78d1f2dbf2a96a7c46ced6cafdbbb4b6b31dd2f34e663f05df30f1096c85" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | imagedeps="build-essential libgpg-error-dev" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs libgpg-error" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | cp -rp "${source_dir}"/. ./ 19 | 20 | configure_script_path=./configure \ 21 | autotools_configure \ 22 | --disable-dev-random \ 23 | --disable-asm \ 24 | --with-libgpg-error-prefix="${sysroot_dir}${prefix}" 25 | } 26 | 27 | build() { 28 | make -j${parallelism} 29 | } 30 | 31 | package() { 32 | DESTDIR="${dest_dir}" make install 33 | 34 | post_package_strip 35 | } 36 | -------------------------------------------------------------------------------- /recipes/libgpg-error: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libgpg-error 4 | version=1.49 5 | revision=1 6 | tarball_url="https://www.gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-${version}.tar.gz" 7 | tarball_blake2b="fc8d336f2c91f8855e44b0daf67f82e24877caac3bf4dcfc42c6346cd72caf8f4d99977b66544896414a26550c7ff7c005ca8fd932938588c50141d5cd1b5fe9" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | imagedeps="build-essential" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs" 12 | 13 | prepare() { 14 | cp -v src/syscfg/lock-obj-pub.$ARCHITECTURE-unknown-linux-gnu.h src/syscfg/lock-obj-pub.lyre-mlibc.h 15 | 16 | autotools_recursive_regen 17 | } 18 | 19 | configure() { 20 | cp -rp "${source_dir}"/. ./ 21 | 22 | configure_script_path=./configure \ 23 | autotools_configure \ 24 | CFLAGS_FOR_BUILD="$HOST_CFLAGS" \ 25 | CXXFLAGS_FOR_BUILD="$HOST_CXXFLAGS" \ 26 | LDFLAGS_FOR_BUILD="$HOST_LDFLAGS" 27 | } 28 | 29 | build() { 30 | make -j${parallelism} 31 | } 32 | 33 | package() { 34 | DESTDIR="${dest_dir}" make install 35 | 36 | post_package_strip 37 | } 38 | -------------------------------------------------------------------------------- /recipes/libice: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libice 4 | version=1.1.2 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/lib/libICE-${version}.tar.gz" 7 | tarball_blake2b="4715895d10490c526d72032653f52b04d3c3d8f1b6be9fb2ff65a081c5dfccbaa14932588e24a16c8c48e6cc6b348c53f8ce1ccba82e8ca0bbf645b0f82123cd" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xorg-util-macros xtrans" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs xorg-proto xtrans" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/libiconv: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libiconv 4 | version=1.18 5 | revision=1 6 | tarball_url="https://ftp.gnu.org/gnu/libiconv/libiconv-${version}.tar.gz" 7 | tarball_blake2b="374e7a7299d4814d372d8e63246c11f403f9fc990be5b129d016b92a875d2f8e9697ef4ef5cbd2e7b7fc97dff427c6b8abf6a99da792fcabd6fc36af38cd4723" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | imagedeps="binutils" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="mlibc libgcc libstdc++" 12 | 13 | prepare() { 14 | cp /usr/local/share/aclocal/libtool.m4 ./m4/ 15 | cp /usr/local/share/aclocal/libtool.m4 ./libcharset/m4/ 16 | cp /usr/local/share/libtool/build-aux/ltmain.sh ./build-aux/ 17 | cp /usr/local/share/libtool/build-aux/ltmain.sh ./libcharset/build-aux/ 18 | cp /usr/local/share/aclocal/ltversion.m4 ./m4/ 19 | cp /usr/local/share/aclocal/ltversion.m4 ./libcharset/m4/ 20 | 21 | autotools_recursive_regen -I"${source_dir}"/m4 -I"${source_dir}"/srcm4 22 | } 23 | 24 | configure() { 25 | autotools_configure 26 | } 27 | 28 | build() { 29 | make -j${parallelism} 30 | } 31 | 32 | package() { 33 | DESTDIR="${dest_dir}" make install 34 | 35 | post_package_strip 36 | } 37 | -------------------------------------------------------------------------------- /recipes/libintl: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libintl 4 | from_source=gettext 5 | revision=1 6 | hostdeps="gcc automake autoconf libtool pkg-config" 7 | deps="mlibc libgcc libstdc++ libiconv" 8 | 9 | configure() { 10 | ACLOCAL=true \ 11 | AUTOCONF=true \ 12 | AUTOMAKE=true \ 13 | AUTOHEADER=true \ 14 | autotools_configure \ 15 | --without-emacs \ 16 | --without-lispdir \ 17 | `# Normally this controls nls behavior in general, but the libintl` \ 18 | `# subdir is skipped unless this is explicitly set.` \ 19 | --enable-nls \ 20 | `# This magic flag enables libintl.` \ 21 | --with-included-gettext \ 22 | --disable-c++ \ 23 | --disable-libasprintf \ 24 | --disable-java \ 25 | --enable-threads=posix \ 26 | --disable-curses \ 27 | --without-git \ 28 | --without-cvs \ 29 | --without-bzip2 \ 30 | --without-xz 31 | 32 | sed -i 's/touch $@//g' gettext-runtime/intl/Makefile 33 | } 34 | 35 | build() { 36 | make -C gettext-runtime/intl -j${parallelism} 37 | } 38 | 39 | package() { 40 | DESTDIR="${dest_dir}" make -C gettext-runtime/intl install 41 | 42 | post_package_strip 43 | } 44 | -------------------------------------------------------------------------------- /recipes/libjpeg-turbo: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libjpeg-turbo 4 | version=3.1.0 5 | revision=1 6 | tarball_url="https://github.com/libjpeg-turbo/libjpeg-turbo/archive/refs/tags/${version}.tar.gz" 7 | tarball_blake2b="cd02ff01525a8a720f28a3766f18941244cd8e6776ae22735730e0392dc9e9e0659c075aaad7e3371d7e3f9306a4dc8e4514fcb90a00e5ce442f0534ec393862" 8 | imagedeps="build-essential cmake ninja-build git nasm" 9 | hostdeps="gcc pkg-config" 10 | deps="core-libs" 11 | 12 | configure() { 13 | cmake_configure 14 | } 15 | 16 | build() { 17 | ninja -j${parallelism} 18 | } 19 | 20 | package() { 21 | DESTDIR="${dest_dir}" ninja install 22 | 23 | post_package_strip 24 | } 25 | -------------------------------------------------------------------------------- /recipes/libpipeline: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libpipeline 4 | version=1.5.8 5 | revision=1 6 | tarball_url="https://download.savannah.nongnu.org/releases/libpipeline/libpipeline-${version}.tar.gz" 7 | tarball_blake2b="1feb1a9493fd0850b4e3e446619e7e042bd97d8c0bbb3e13a91d90d6cde3ca2c17fb8a3ca256f65291dadc4d8703ad5d3a795839bf8280adc4547b3ec3d2da7d" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config" 10 | deps="core-libs" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | autotools_configure 18 | } 19 | 20 | build() { 21 | make -j${parallelism} 22 | } 23 | 24 | package() { 25 | DESTDIR="${dest_dir}" make install 26 | 27 | post_package_strip 28 | } 29 | -------------------------------------------------------------------------------- /recipes/libpng: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libpng 4 | version=1.6.46 5 | revision=1 6 | tarball_url="https://download.sourceforge.net/libpng/libpng-${version}.tar.xz" 7 | tarball_blake2b="0cc4e4ca0a9394e1ee2778065ef03859854062103609c9356709a9540b8953a6198b5c44a5a05ae97d8f0e6035a171ab1797627f6523805cedf3f985960752c3" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config" 10 | deps="core-libs zlib" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | autotools_configure 18 | } 19 | 20 | build() { 21 | make -j${parallelism} 22 | } 23 | 24 | package() { 25 | DESTDIR="${dest_dir}" make install 26 | 27 | post_package_strip 28 | } 29 | -------------------------------------------------------------------------------- /recipes/libsm: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libsm 4 | version=1.2.5 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/lib/libSM-${version}.tar.gz" 7 | tarball_blake2b="fd1d3e94d342f27a33402aab266de7bd0c4c0ce39cbd9c5e216b7c4dd2a2f34a5a0329a231b9ae3417660db8d2da14a3669d5b344c682dc86343bd44071ade85" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xorg-util-macros xtrans" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs xorg-proto libice" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/libstdc++: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libstdc++ 4 | revision=1 5 | hostdeps="gcc autoconf-2.69 automake libtool pkg-config" 6 | imagedeps="build-essential" 7 | deps="mlibc libgcc" 8 | 9 | build() { 10 | cd "${base_dir}"/host-builds/gcc/build 11 | 12 | make -j${parallelism} all-target-libstdc++-v3 13 | } 14 | 15 | package() { 16 | cd "${base_dir}"/host-builds/gcc/build 17 | 18 | rm -rf tmp_libstdc++_dir 19 | mkdir tmp_libstdc++_dir 20 | 21 | DESTDIR="$(realpath tmp_libstdc++_dir)" make install-target-libstdc++-v3 22 | 23 | # For some reason this also installs libgcc even though it shouldn't... 24 | # Remove it. 25 | rm -fv tmp_libstdc++_dir/usr/local/${OS_TRIPLET}/lib/libgcc* 26 | 27 | mkdir -p "${dest_dir}${prefix}" 28 | 29 | cp -r tmp_libstdc++_dir/usr/local/share "${dest_dir}${prefix}"/ 30 | cp -r tmp_libstdc++_dir/usr/local/${OS_TRIPLET}/* "${dest_dir}${prefix}"/ 31 | 32 | # Copy libstdc++ and headers into GCC's tree else it will complain. 33 | mkdir -p "${base_dir}"/host-pkgs/gcc/usr/local/${OS_TRIPLET} 34 | cp -r tmp_libstdc++_dir/usr/local/${OS_TRIPLET}/* "${base_dir}"/host-pkgs/gcc/usr/local/${OS_TRIPLET}/ 35 | } 36 | -------------------------------------------------------------------------------- /recipes/libtiff: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libtiff 4 | version=4.7.0 5 | revision=1 6 | tarball_url="https://download.osgeo.org/libtiff/tiff-${version}.tar.xz" 7 | tarball_blake2b="a5df7f3ae71821a13ff5a31db012191dd1b022b1c87fe81f90fd4b4a1349b7aa15d7b336d5fa8ac9e84edcfac5fe46214d9ea54790cb037438c6a5334980c11e" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config" 10 | deps="core-libs freeglut libjpeg-turbo zlib zstd xz" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | autotools_configure \ 18 | --without-x \ 19 | --enable-zlib \ 20 | --enable-zstd \ 21 | --enable-jpeg \ 22 | --enable-lzma \ 23 | --disable-webp \ 24 | --enable-cxx 25 | } 26 | 27 | build() { 28 | make -j${parallelism} 29 | } 30 | 31 | package() { 32 | DESTDIR="${dest_dir}" make install 33 | 34 | post_package_strip 35 | } 36 | -------------------------------------------------------------------------------- /recipes/libunistring: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libunistring 4 | version=1.2 5 | revision=1 6 | tarball_url="https://ftp.gnu.org/gnu/libunistring/libunistring-${version}.tar.xz" 7 | tarball_blake2b="606c6fdd93f05b01e9b08b3bd30283afcbf9a3425abf900e7672f1d6eb91b51009913d4f5e45a4c1c1b82a84b4870d3eaced9ca76fd570936ad5c39c94038fc7" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config" 10 | deps="core-libs" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | autotools_configure 18 | } 19 | 20 | build() { 21 | make -j${parallelism} 22 | } 23 | 24 | package() { 25 | DESTDIR="${dest_dir}" make install 26 | 27 | post_package_strip 28 | } 29 | -------------------------------------------------------------------------------- /recipes/libwebp: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libwebp 4 | version=1.4.0 5 | revision=1 6 | tarball_url="https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-${version}.tar.gz" 7 | tarball_blake2b="022cef190284b69af781718a82b28ee9806d7e6b1e642ee0833e608f64f691ef918a83e99db02335fb9f60d24d6f0cfc58e7e05e99a3f13d2118719d40a71722" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config" 10 | deps="core-libs libjpeg-turbo libpng freeglut sdl2-compat libtiff" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | autotools_configure \ 18 | --enable-libwebpmux \ 19 | --enable-libwebpdemux \ 20 | --enable-libwebpdecoder \ 21 | --enable-libwebpextras \ 22 | --enable-swap-16bit-csp 23 | } 24 | 25 | build() { 26 | make -j${parallelism} 27 | } 28 | 29 | package() { 30 | DESTDIR="${dest_dir}" make install 31 | 32 | post_package_strip 33 | } 34 | -------------------------------------------------------------------------------- /recipes/libx11: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libx11 4 | version=1.8.10 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/lib/libX11-${version}.tar.xz" 7 | tarball_blake2b="72ff400e1aad5bcb04e5dd3fb43f7767fad47e38cf628382cd5ffd5a204efc4de4f626027dddbbc7e10f80f8eaee0bcdf9792d9d012256366920f7ae0cffcb15" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xtrans xorg-util-macros" 10 | imagedeps="build-essential" 11 | hostdeps="gcc autoconf automake libtool pkg-config" 12 | deps="core-libs xorg-proto libxcb xtrans" 13 | 14 | prepare() { 15 | autotools_recursive_regen 16 | } 17 | 18 | configure() { 19 | autotools_configure \ 20 | --disable-ipv6 \ 21 | --with-keysymdefdir=${sysroot_dir}/usr/include/X11 22 | } 23 | 24 | build() { 25 | make -j${parallelism} 26 | } 27 | 28 | package() { 29 | DESTDIR="${dest_dir}" make install 30 | 31 | post_package_strip 32 | } 33 | -------------------------------------------------------------------------------- /recipes/libxau: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libxau 4 | version=1.0.12 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/lib/libXau-${version}.tar.gz" 7 | tarball_blake2b="f3f388352496eb2d18650bdf535e76dfe6dbdce8c20bdf0f3c99ee4fc72df469d7c4a44728d76a9102423e525cc7f52984ee03fdcbfd236cbfac8e7d8d17ba84" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs xorg-proto" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/libxaw: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libxaw 4 | version=1.0.16 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/lib/libXaw-${version}.tar.gz" 7 | tarball_blake2b="d303a6b1f586ce96c6aa2505929cd019c7383d77f55ec6be27765190fcddfa7e32e896ca8497148c9771b21f09960b5de836328608261b23da8dd892b9c3ee99" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs libxmu libxpm" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/libxcb: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libxcb 4 | version=1.17.0 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/lib/libxcb-${version}.tar.xz" 7 | tarball_blake2b="e2a35606981c00f9f18e5590cdc26c7c2efd8f832c37dc4dc82db47e2870bf4ff48786162c5a8eb713cb5f3a305eb22d334e4b0ff631bf0e047f1b79cb0701d3" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs xorg-proto libxau libxdmcp xcb-proto" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | sed -i 's/pthread-stubs//' "${source_dir}"/configure 16 | } 17 | 18 | configure() { 19 | autotools_configure 20 | } 21 | 22 | build() { 23 | make -j${parallelism} 24 | } 25 | 26 | package() { 27 | DESTDIR="${dest_dir}" make install 28 | 29 | post_package_strip 30 | } 31 | -------------------------------------------------------------------------------- /recipes/libxcrypt: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libxcrypt 4 | version=4.4.38 5 | revision=1 6 | tarball_url="https://github.com/besser82/libxcrypt/releases/download/v${version}/libxcrypt-${version}.tar.xz" 7 | tarball_blake2b="42d594fe36f61a1b5343d9fda22541b09373fe74c587537db8203f9c92120b6c73edef2e1b3d7febda14ae979845405b5fdaeb31dd2b89eedc423b0924ea7cff" 8 | source_hostdeps="autoconf automake libtool pkg-config" 9 | imagedeps="python3-passlib" 10 | hostdeps="gcc automake autoconf libtool pkg-config" 11 | deps="mlibc libgcc libstdc++" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure \ 19 | --enable-obsolete-api=yes \ 20 | --disable-xcrypt-compat-files 21 | } 22 | 23 | build() { 24 | make -j${parallelism} 25 | } 26 | 27 | package() { 28 | DESTDIR="${dest_dir}" make install 29 | 30 | post_package_strip 31 | } 32 | -------------------------------------------------------------------------------- /recipes/libxcursor: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libxcursor 4 | version=1.2.3 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/lib/libXcursor-${version}.tar.gz" 7 | tarball_blake2b="6f6df48d861b7ffa88dab6bdba850db46a5cbdfc080150365de2ae98bdb79a208a4d0caae4442fcc6ff81334d3d67c5ae16eca2aa627af705d0bc47db32151bb" 8 | source_hostdeps="autoconf automake libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs libxrender libxfixes libx11" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/libxcvt: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libxcvt 4 | version=0.1.3 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/lib/libxcvt-${version}.tar.xz" 7 | tarball_blake2b="ae104743153077454ba8923d7b8bbe77d834e4795fd735de9e42617c3e49fd63052ad37214e7ab45e3f5884cd6038b60c0ff7c52f8a7892e0dea4630aaf0abad" 8 | imagedeps="meson ninja-build" 9 | hostdeps="gcc pkg-config" 10 | deps="core-libs" 11 | 12 | configure() { 13 | meson_configure 14 | } 15 | 16 | build() { 17 | ninja -j${parallelism} 18 | } 19 | 20 | package() { 21 | DESTDIR="${dest_dir}" ninja install 22 | 23 | post_package_strip 24 | } 25 | -------------------------------------------------------------------------------- /recipes/libxdamage: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libxdamage 4 | version=1.1.6 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/lib/libXdamage-${version}.tar.gz" 7 | tarball_blake2b="e8fcdbb3b93b7f3a74b10adbb4ceaccc963c7f9ce4fe0edee5842fde7d26cbb2cf3061f073c9ca400baa8378d06ed83c8c751495febb1aeb86a27058d74b1543" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs xorg-proto libxfixes" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/libxdmcp: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libxdmcp 4 | version=1.1.5 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/lib/libXdmcp-${version}.tar.gz" 7 | tarball_blake2b="15120e372940c78749e62b240624a4b6b0f65a485d3591193e55615db8e77d44247814c04e5e58604ae1a12484d8c53eac1a5db982bfb34f721c6ab4036743c3" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs xorg-proto" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/libxext: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libxext 4 | version=1.3.6 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/lib/libXext-${version}.tar.gz" 7 | tarball_blake2b="1f137f06c237bafec737886484d990e686130e84c8af0db3f47a87e8970d953e8030872e3f0f8b4dff15cfd786fb15e13331fecc0b320f1cf75fbb1629ff970a" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs xorg-proto libx11" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/libxfixes: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libxfixes 4 | version=6.0.1 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/lib/libXfixes-${version}.tar.gz" 7 | tarball_blake2b="22be454b2db230057204932ae75aacb2b56523b25b14e501d7e7a2a664e57ae6bcbfa56b6fac4d42d3f8ef770c41debe0eec25451dd70baa9cfc83b1a10e4649" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs xorg-proto libx11" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/libxfont2: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libxfont2 4 | version=2.0.7 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/lib/libXfont2-${version}.tar.gz" 7 | tarball_blake2b="3a82122366751ee96ba3e7ce020a9e5845527539b787897c664d4dc2977772beab7f04d3890a10ee2697f0ae5b5d6838d1fe62cf1c7942799d6a8210d2e82b57" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xorg-util-macros xtrans" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs xorg-proto xtrans freetype2 bzip2 libfontenc zlib" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure \ 19 | --with-bzip2 \ 20 | --disable-devel-docs \ 21 | --disable-selective-werror 22 | } 23 | 24 | build() { 25 | make -j${parallelism} 26 | } 27 | 28 | package() { 29 | DESTDIR="${dest_dir}" make install 30 | 31 | post_package_strip 32 | } 33 | -------------------------------------------------------------------------------- /recipes/libxft: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libxft 4 | version=2.3.8 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/lib/libXft-${version}.tar.gz" 7 | tarball_blake2b="06d797ed53df793e5b9751bc7984a62a96c973e36d8aa99e4dc96a03e0e7013d6adc9e46f033e1ffcb4632cec2ac0318108ff2894beb4464d44d524254b15328" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs libxrender fontconfig" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/libxi: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libxi 4 | version=1.8.2 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/lib/libXi-${version}.tar.gz" 7 | tarball_blake2b="aa9bd4cdcc519bf8b9029766d07e160a2847f3f6808ae5a125f90cd84e8e981436e8cdce2cabe9d58eaba39946b88026d5814c6d19f2cc94e9e4cd69d6bc8e2d" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs xorg-proto libxext libxfixes" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/libxinerama: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libxinerama 4 | version=1.1.5 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/lib/libXinerama-${version}.tar.gz" 7 | tarball_blake2b="ac24af05ae483e7f8476cb5fdf901ae80c592a766387e9f662ceeae5906a55e8529b35fcd01b6893289007e30788fd9e3a507af95870acfa6b25b25b159024a5" 8 | source_hostdeps="autoconf automake libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs libxext xorg-proto" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/libxkbcommon: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libxkbcommon 4 | version=1.7.0 5 | revision=1 6 | tarball_url="https://xkbcommon.org/download/libxkbcommon-${version}.tar.xz" 7 | tarball_blake2b="b85cd8a78fce3c624e0c64c26a37b6d99bb8b8f3de489c6909826f53bdb6d33842f7ffcf955f6a9a8eb57cad53fc9756bd15d05aeb813b0f92985827243949a8" 8 | imagedeps="meson ninja-build" 9 | hostdeps="gcc pkg-config" 10 | deps="core-libs libxcb libxml xkeyboard-config" 11 | 12 | configure() { 13 | meson_configure \ 14 | -Dxkb-config-root="$prefix"/share/X11/xkb \ 15 | -Denable-x11=true \ 16 | -Denable-wayland=false 17 | } 18 | 19 | build() { 20 | ninja -j${parallelism} 21 | } 22 | 23 | package() { 24 | DESTDIR="${dest_dir}" ninja install 25 | 26 | mkdir -p "${dest_dir}${prefix}/share/X11/xkb" 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/libxkbfile: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libxkbfile 4 | version=1.1.3 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/lib/libxkbfile-${version}.tar.gz" 7 | tarball_blake2b="07e4f082ab280a5d9ecbd20191167c25c05a530906b79af715d9758d45751157415f9ecf6223c87cab10488b1f3726187437a4ce2cafd1339c88ae32af7c7eb0" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs libx11" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/libxml: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libxml 4 | version=2.13.5 5 | revision=1 6 | tarball_url="https://download.gnome.org/sources/libxml2/2.13/libxml2-${version}.tar.xz" 7 | tarball_blake2b="46c280630638e2c8009c593bbbcf90ccbfffe9ddcc99987c4d91c2223043759f2b4d6511b31b2357c5250ac3b40d96ef05c17b4d2adc61972665f8a0d899dfe8" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config" 10 | deps="core-libs zlib icu readline" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | autotools_configure \ 18 | --with-threads \ 19 | --disable-ipv6 \ 20 | --without-python \ 21 | --with-history \ 22 | --with-icu 23 | } 24 | 25 | build() { 26 | make -j${parallelism} 27 | } 28 | 29 | package() { 30 | DESTDIR="${dest_dir}" make install 31 | 32 | post_package_strip 33 | } 34 | -------------------------------------------------------------------------------- /recipes/libxmu: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libxmu 4 | version=1.2.1 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/lib/libXmu-${version}.tar.gz" 7 | tarball_blake2b="79cb21601f19a72fc771bb7fbde59d0fd3febdcf8fc6c6def91e2d8d9a99df4c7a9e633d819fe93df0cbd774a642cf39d44219c1fdbc154be28ba9086571cbb6" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs libxext libxt" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/libxpm: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libxpm 4 | version=3.5.17 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/lib/libXpm-${version}.tar.gz" 7 | tarball_blake2b="0acc342fb0aebad04a2d68f60106ad8f52910b2ca65d402bfda09e5914ab92b2b2b9d57680bbb6c6f1c8767971e9cffc1315337f6645fb61940a9cb5ccdf80c0" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs libxext libxt" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/libxrandr: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libxrandr 4 | version=1.5.4 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/lib/libXrandr-${version}.tar.gz" 7 | tarball_blake2b="d5dd5ef33c4452fac7d2c5f16afc15d9e2dcb4e721824ca6e412c6a990ab529003e1beea087afad9dedbcceab17953e066700dac7df0b2aac2cec404335ba93f" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs xorg-proto libx11 libxrender libxext" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/libxrender: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libxrender 4 | version=0.9.12 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/lib/libXrender-${version}.tar.gz" 7 | tarball_blake2b="27a8745b6c833022d7714114c6fdd80ef594e288e00a01bd5d4657e43c34558a338ff65cabdcc2065aa7dec7a8595c74277103ddae9aedf6ea2fe4ef7501dc73" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs xorg-proto libx11" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/libxshmfence: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libxshmfence 4 | version=1.3.3 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/lib/libxshmfence-${version}.tar.gz" 7 | tarball_blake2b="22191b13b00fca8717c81c43b77102b8cc720c81057ea8a3355404b61bcbd049a6f58c9ad0f9cf93c4d3e9a387795b5c206f3fc563dfe4c5061b042bc49569ff" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs xorg-proto" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure \ 19 | --disable-futex 20 | } 21 | 22 | build() { 23 | make -j${parallelism} 24 | } 25 | 26 | package() { 27 | DESTDIR="${dest_dir}" make install 28 | 29 | post_package_strip 30 | } 31 | -------------------------------------------------------------------------------- /recipes/libxt: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libxt 4 | version=1.3.1 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/lib/libXt-${version}.tar.gz" 7 | tarball_blake2b="124036245a76703a5bb2379fd0b6605dc665cc58b9df657cfc3b0214574dcad6f46490ee76be8ea7d157afa84940c5ee8edaca37983ff6ec7deb572f51985703" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | imagedeps="build-essential" 11 | hostdeps="gcc autoconf automake libtool pkg-config" 12 | deps="core-libs libx11 libsm" 13 | 14 | prepare() { 15 | autotools_recursive_regen 16 | } 17 | 18 | configure() { 19 | autotools_configure \ 20 | --with-appdefaultdir=/etc/X11/app-defaults 21 | } 22 | 23 | build() { 24 | make -j${parallelism} 25 | } 26 | 27 | package() { 28 | DESTDIR="${dest_dir}" make install 29 | 30 | post_package_strip 31 | } 32 | -------------------------------------------------------------------------------- /recipes/libxtst: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libxtst 4 | version=1.2.5 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/lib/libXtst-${version}.tar.gz" 7 | tarball_blake2b="5a8569f8818dce0afccba3efac34a54c967e90350deba61fd52c061309105e17481b574d70b609243956447c1bffdff67892d6782206412310ef134ccb6f6736" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs xorg-proto libxext libxi libx11" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/libxv: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libxv 4 | version=1.0.13 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/lib/libXv-${version}.tar.gz" 7 | tarball_blake2b="bcd9ddfaed0cbf94e387f6c5fe3c0105550c9bca4be07e00527d50dcc34e0ac58ba616d7fec32b80f31e4a302ee25cba6a3382fa94f93b2ebe3368d3d76d3368" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs xorg-proto libxext" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/libxxf86vm: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libxxf86vm 4 | version=1.1.6 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/lib/libXxf86vm-${version}.tar.gz" 7 | tarball_blake2b="403425049f78ecf8eeddd01797ea21d51853a0165d9d8ca9513b05d85b61d7cbddac91290fba054d1cca08f43b165efd2e441cf4ff3b4b7e9e5fe59a6daf7d3e" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs xorg-proto libxext" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/libzip: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libzip 4 | version=1.10.1 5 | revision=1 6 | tarball_url="https://github.com/nih-at/libzip/releases/download/v${version}/libzip-${version}.tar.xz" 7 | tarball_blake2b="bd5e6ea92ebf1c1210aa4b6fc58f0060d7a87ef2f47ac8475a0e30d67bd7e44f5a7671faf50d670ccfcf4117c379a1b1704871f88ec95654cc2c971e29965018" 8 | imagedeps="cmake ninja-build git" 9 | hostdeps="gcc pkg-config" 10 | deps="core-libs zlib bzip2 xz zstd openssl" 11 | 12 | configure() { 13 | cmake_configure \ 14 | -DENABLE_GNUTLS=OFF \ 15 | -DBUILD_DOC=OFF 16 | } 17 | 18 | build() { 19 | ninja -j${parallelism} 20 | } 21 | 22 | package() { 23 | DESTDIR="${dest_dir}" ninja install 24 | 25 | post_package_strip 26 | } 27 | -------------------------------------------------------------------------------- /recipes/limine: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=limine 4 | version=9.2.0 5 | revision=1 6 | tarball_url="https://github.com/limine-bootloader/limine/releases/download/v${version}/limine-${version}.tar.gz" 7 | tarball_blake2b="1748413935ef4f5ecad0f7e68aad832a616b4d23e0e6b4d8f65de6bf363aa00b28d63b6c7042bb0b967904b95d6af39ed22039756a3fa549f3f176f87674d7b0" 8 | source_hostdeps="autoconf automake libtool pkg-config" 9 | imagedeps="mtools nasm" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | if [ "$ARCHITECTURE" = "x86_64" ]; then 19 | X86_FLAGS="--enable-bios \ 20 | --enable-bios-cd \ 21 | --enable-bios-pxe \ 22 | --enable-uefi-ia32 \ 23 | " 24 | fi 25 | 26 | autotools_configure \ 27 | $X86_FLAGS \ 28 | --enable-uefi-$ARCHITECTURE \ 29 | --enable-uefi-cd \ 30 | TOOLCHAIN_FOR_TARGET=${OS_TRIPLET} 31 | } 32 | 33 | build() { 34 | make -j${parallelism} 35 | } 36 | 37 | package() { 38 | DESTDIR="${dest_dir}" make install 39 | 40 | post_package_strip 41 | } 42 | -------------------------------------------------------------------------------- /recipes/llvm: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=llvm 4 | version=18.1.7 5 | revision=1 6 | tarball_url="https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/llvm-project-${version}.src.tar.xz" 7 | tarball_blake2b="b8c37bd131fb5f3131bfab4fbad7aa811079ca10723faa14779253bc62b1ee08d4e04650e1da883297ed88a62d518b868a1f13cf57d03233254fd01209da5c02" 8 | imagedeps="build-essential cmake ninja-build git" 9 | hostdeps="gcc pkg-config" 10 | deps="core-libs ncurses zlib zstd libffi" 11 | 12 | configure() { 13 | cmake_source_dir="${source_dir}/llvm" \ 14 | cmake_configure \ 15 | -UBUILD_SHARED_LIBS \ 16 | -UENABLE_STATIC \ 17 | -DLLVM_LINK_LLVM_DYLIB=ON \ 18 | -DLLVM_ENABLE_FFI=ON \ 19 | -DLLVM_ENABLE_EH=ON \ 20 | -DLLVM_ENABLE_RTTI=ON \ 21 | -DLLVM_ENABLE_PROJECTS="clang;lld" \ 22 | -DLLVM_DEFAULT_TARGET_TRIPLE=${OS_TRIPLET} \ 23 | -DLLVM_HOST_TRIPLE=${OS_TRIPLET} \ 24 | -Wno-dev 25 | } 26 | 27 | build() { 28 | ninja -j${parallelism} 29 | } 30 | 31 | package() { 32 | DESTDIR="${dest_dir}" ninja install 33 | 34 | rm -rf "${dest_dir}${prefix}"/lib/*.a 35 | 36 | post_package_strip 37 | } 38 | -------------------------------------------------------------------------------- /recipes/lua: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=lua 4 | version=5.4.7 5 | revision=1 6 | tarball_url="https://github.com/lua/lua/archive/refs/tags/v${version}.tar.gz" 7 | tarball_blake2b="9e4f589e78ded6d0665bf38c94080dc642762fc5b91fa47d6bd440a241e86000b6a82f9c4175b5ec509d01f753cc4a257c70c6219f41c1527742615425b9f876" 8 | imagedeps="git nasm" 9 | hostdeps="gcc pkg-config" 10 | deps="core-libs readline" 11 | 12 | build() { 13 | cp -rp "${source_dir}"/. ./ 14 | sed -i 's|^#define LUA_ROOT "/usr/local/"$|#define LUA_ROOT "/usr/"|' luaconf.h 15 | 16 | make MYLIBS="-lreadline -lncursesw -ltinfow" CFLAGS="$TARGET_CFLAGS -DLUA_USE_POSIX -DLUA_USE_DLOPEN -DLUA_USE_READLINE" MYLDFLAGS="$TARGET_LDFLAGS" CC=${OS_TRIPLET}-gcc AR="${OS_TRIPLET}-ar rcu" RANLIB=${OS_TRIPLET}-ranlib -j${parallelism} 17 | } 18 | 19 | package() { 20 | mkdir -p "${dest_dir}${prefix}"/bin 21 | cp lua "${dest_dir}${prefix}"/bin/ 22 | 23 | post_package_strip 24 | } 25 | -------------------------------------------------------------------------------- /recipes/lz4: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=lz4 4 | version=1.10.0 5 | revision=1 6 | tarball_url="https://github.com/lz4/lz4/releases/download/v${version}/lz4-${version}.tar.gz" 7 | tarball_blake2b="c87a939b748b0449e4f1869579ebc109704aa89e8699b6029217f6786c351d1b0329580dd3a955fe509efb113f29aecbafc83084d65d153f5d43610f4840a819" 8 | imagedeps="meson ninja-build" 9 | hostdeps="gcc pkg-config" 10 | deps="core-libs" 11 | 12 | configure() { 13 | meson_source_dir="${source_dir}"/build/meson \ 14 | meson_configure 15 | } 16 | 17 | build() { 18 | ninja -j${parallelism} 19 | } 20 | 21 | package() { 22 | DESTDIR="${dest_dir}" ninja install 23 | 24 | post_package_strip 25 | } 26 | -------------------------------------------------------------------------------- /recipes/m4: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=m4 4 | version=1.4.19 5 | revision=1 6 | tarball_url="https://ftp.gnu.org/gnu/m4/m4-${version}.tar.xz" 7 | tarball_blake2b="08694485a49c542761fa9a7db4d7609f4dfb08a5c6b785b57f2e14cf1f696c2a1c788bb5eb934e8159a632b63ff071dfe42511d0109d7b1828f46d33c8bf416a" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config" 10 | deps="core-libs" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | cp -rp "${source_dir}"/. ./ 18 | 19 | configure_script_path=./configure \ 20 | autotools_configure 21 | } 22 | 23 | build() { 24 | make -j${parallelism} 25 | } 26 | 27 | package() { 28 | DESTDIR="${dest_dir}" make install 29 | 30 | post_package_strip 31 | } 32 | -------------------------------------------------------------------------------- /recipes/make: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=make 4 | version=4.4.1 5 | revision=1 6 | tarball_url="https://ftp.gnu.org/gnu/make/make-${version}.tar.gz" 7 | tarball_blake2b="09a4ad8060259e36854b525ab610fd317a86f4926e44e3ab8adba75dccc8d4b445df9dd25ccfb4c25a54bc0e98238a9127e36401d74cbc3503a329eadcdf4995" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config" 10 | deps="core-libs" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | cp -rp "${source_dir}"/. ./ 18 | 19 | configure_script_path=./configure \ 20 | autotools_configure 21 | } 22 | 23 | build() { 24 | make -j${parallelism} 25 | } 26 | 27 | package() { 28 | DESTDIR="${dest_dir}" make install 29 | 30 | post_package_strip 31 | } 32 | -------------------------------------------------------------------------------- /recipes/man-db: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=man-db 4 | version=2.12.1 5 | revision=1 6 | tarball_url="https://download.savannah.nongnu.org/releases/man-db/man-db-${version}.tar.xz" 7 | tarball_blake2b="b06c48431608cf798659d19df754d992dca8ba31842613a3326e376e80fe74d913146f45a7f3c5e70c421a2401aeabdb091de78ebb3102b9d70c194286c245a7" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | imagedeps="groff" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs bash gdbm groff less libpipeline zlib" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure \ 19 | --disable-setuid \ 20 | --with-systemdtmpfilesdir= \ 21 | --with-systemdsystemunitdir= \ 22 | --with-pager=/usr/bin/less 23 | } 24 | 25 | build() { 26 | make -j${parallelism} 27 | } 28 | 29 | package() { 30 | DESTDIR="${dest_dir}" make install 31 | 32 | post_package_strip 33 | } 34 | -------------------------------------------------------------------------------- /recipes/mesa: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=mesa 4 | version=25.0.0 5 | revision=1 6 | tarball_url="https://archive.mesa3d.org/mesa-${version}.tar.xz" 7 | tarball_blake2b="9aca2416ea4e304d46fda648cb9b8e04caa053458b91893fb874e9a30d8293722c3bed1098c2720b04b0c7278eba3b0387900b56e13b6133a23c0f6be705025c" 8 | imagedeps="meson ninja-build python3-mako python3-yaml glslang-tools" 9 | hostdeps="gcc pkg-config" 10 | deps="core-libs llvm libexpat libx11 libxcb libxext libxshmfence libxxf86vm libxrandr zlib zstd" 11 | 12 | configure() { 13 | meson_configure \ 14 | -Dglx=xlib \ 15 | -Dplatforms=x11 \ 16 | -Dgallium-drivers=llvmpipe,softpipe \ 17 | -Dvulkan-drivers=swrast \ 18 | -Dosmesa=true \ 19 | -Dvideo-codecs=all 20 | } 21 | 22 | build() { 23 | ninja -j${parallelism} 24 | } 25 | 26 | package() { 27 | DESTDIR="${dest_dir}" ninja install 28 | 29 | post_package_strip 30 | } 31 | -------------------------------------------------------------------------------- /recipes/mesa-demos: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=mesa-demos 4 | version=9.0.0 5 | revision=1 6 | tarball_url="https://archive.mesa3d.org/demos/mesa-demos-${version}.tar.xz" 7 | tarball_blake2b="426211886344e88616670f0da8c71385e0ab86fd7dab60c7a477b165f33d2f7bd5fd9297f1f67c78e60fed5c98ab8851c1bd4ae92a6b0b486fd158196b109eb0" 8 | imagedeps="meson ninja-build" 9 | hostdeps="gcc pkg-config" 10 | deps="core-libs freetype2 mesa glu libx11 libxext" 11 | 12 | configure() { 13 | meson_configure \ 14 | -Dgles1=disabled \ 15 | -Dosmesa=disabled \ 16 | -Dlibdrm=disabled \ 17 | -Dx11=enabled \ 18 | -Dwith-system-data-files=true 19 | } 20 | 21 | build() { 22 | ninja -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" ninja install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/mlibc: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=mlibc 4 | version=f52bd4e790ba67714cc97e9de2d1cd750e58c00f 5 | revision=1 6 | git_url="https://github.com/managarm/mlibc.git" 7 | commit=${version} 8 | imagedeps="meson ninja-build" 9 | hostdeps="gcc pkg-config libgcc-binaries" 10 | builddeps="freestnd-c-hdrs freestnd-cxx-hdrs frigg" 11 | deps="mlibc-headers" 12 | 13 | configure() { 14 | CFLAGS="$TARGET_CFLAGS" \ 15 | CXXFLAGS="$TARGET_CXXFLAGS" \ 16 | LDFLAGS="$TARGET_LDFLAGS -Wl,/usr/local/libgcc-binaries/libgcc-$ARCHITECTURE.a" \ 17 | meson_configure_noflags \ 18 | --buildtype=release \ 19 | -Dno_headers=true \ 20 | -Ddefault_library=both \ 21 | -Dlibgcc_dependency=false \ 22 | -Duse_freestnd_hdrs=enabled 23 | } 24 | 25 | build() { 26 | ninja -j${parallelism} 27 | } 28 | 29 | package() { 30 | DESTDIR="${dest_dir}" ninja install 31 | } 32 | -------------------------------------------------------------------------------- /recipes/mlibc-headers: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=mlibc-headers 4 | revision=1 5 | from_source=mlibc 6 | imagedeps="meson ninja-build" 7 | hostdeps="pkg-config" 8 | 9 | configure() { 10 | meson_configure \ 11 | -Dheaders_only=true 12 | } 13 | 14 | build() { 15 | ninja -j${parallelism} 16 | } 17 | 18 | package() { 19 | DESTDIR="${dest_dir}" ninja install 20 | } 21 | -------------------------------------------------------------------------------- /recipes/mpc: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=mpc 4 | version=1.3.1 5 | revision=1 6 | tarball_url="https://ftp.gnu.org/gnu/mpc/mpc-${version}.tar.gz" 7 | tarball_blake2b="76434e6f8830af3571836d51576bfebbc9701e9bbb5c4686f134081cd96cd90ae02f7ff42bf9e3957c7a7ba92b6b2d9cdabe18f0269271147521cd7f6a2d551c" 8 | source_imagedeps="git" 9 | source_hostdeps="automake autoconf libtool pkg-config" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs gmp mpfr" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/mpfr: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=mpfr 4 | version=4.2.1 5 | revision=1 6 | tarball_url="https://ftp.gnu.org/gnu/mpfr/mpfr-${version}.tar.xz" 7 | tarball_blake2b="ad69f53bc910294647523e7613b18a683f1d0f3dd994168ab2a46b66d0371ffa9b8e7cb59495f898470aea69d343e83fc722f11babe4af7b3a12665a1e65860c" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="autoconf-archive" 10 | imagedeps="build-essential" 11 | hostdeps="gcc autoconf automake libtool pkg-config" 12 | deps="core-libs gmp" 13 | 14 | prepare() { 15 | autotools_recursive_regen 16 | } 17 | 18 | configure() { 19 | cp -rp "${source_dir}"/. ./ 20 | 21 | configure_script_path=./configure \ 22 | autotools_configure \ 23 | --enable-static=no \ 24 | --enable-shared=yes \ 25 | --enable-thread-safe \ 26 | --with-pic 27 | } 28 | 29 | build() { 30 | make -j${parallelism} 31 | } 32 | 33 | package() { 34 | DESTDIR="${dest_dir}" make install 35 | 36 | post_package_strip 37 | } 38 | -------------------------------------------------------------------------------- /recipes/nano: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=nano 4 | version=8.3 5 | revision=1 6 | tarball_url="https://ftp.gnu.org/gnu/nano/nano-${version}.tar.xz" 7 | tarball_blake2b="39c400483f79f11da0f959fed769462b65007f9235cb76d38e71d0a63919b659dc553d44f5d13dd13db801ec361fd7a3ad68b68bfa456ac6c169c861e80c6067" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc automake autoconf libtool pkg-config" 10 | deps="core-libs ncurses" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | autotools_configure 18 | } 19 | 20 | build() { 21 | make -j${parallelism} 22 | } 23 | 24 | package() { 25 | DESTDIR="${dest_dir}" make install 26 | 27 | mkdir -p "${dest_dir}"/etc 28 | cp -v "${base_dir}"/build-support/nano/nanorc "${dest_dir}"/etc/ 29 | 30 | post_package_strip 31 | } 32 | -------------------------------------------------------------------------------- /recipes/nasm: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=nasm 4 | version=2.16.03 5 | revision=1 6 | tarball_url="https://www.nasm.us/pub/nasm/releasebuilds/${version}/nasm-${version}.tar.xz" 7 | tarball_blake2b="742cbf330341fde9f778d8ca13e8c06199f48796d47028ac973d39e3d9e434450cdfebe89f6ab248d372bdaeb0c88a25eb7153a39b66fc05e770523d4c9e11e9" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc automake autoconf libtool pkg-config" 10 | deps="core-libs" 11 | 12 | prepare() { 13 | autotools_recursive_regen -I$(realpath ./autoconf) 14 | } 15 | 16 | configure() { 17 | cp -rp "${source_dir}"/. ./ 18 | 19 | configure_script_path=./configure \ 20 | autotools_configure 21 | } 22 | 23 | build() { 24 | make 25 | } 26 | 27 | package() { 28 | DESTDIR="${dest_dir}" make install 29 | 30 | post_package_strip 31 | } 32 | -------------------------------------------------------------------------------- /recipes/ncurses: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=ncurses 4 | version=6.5 5 | revision=1 6 | tarball_url="https://github.com/ThomasDickey/ncurses-snapshots/archive/refs/tags/v6_5.tar.gz" 7 | tarball_blake2b="7cfcd15062d1abe5f7ce3cb6f1c14dbd31b0fdd82fa4dd832dd75438a683eb39e6d99d78dbaeec908cfe27f4c02475eb4c9c8b822d3ef08cdcfbcd98d5112e00" 8 | source_hostdeps="autoconf automake libtool pkg-config" 9 | imagedeps="build-essential ncurses-bin patchelf" 10 | hostdeps="gcc automake autoconf libtool pkg-config" 11 | deps="core-libs" 12 | 13 | prepare() { 14 | cp -pv /usr/local/share/libtool/build-aux/config.guess ./ 15 | cp -pv /usr/local/share/libtool/build-aux/config.sub ./ 16 | } 17 | 18 | configure() { 19 | cf_cv_func_nanosleep=yes \ 20 | autotools_configure \ 21 | --enable-widec \ 22 | --enable-pc-files \ 23 | --with-shared \ 24 | --with-cxx-shared \ 25 | --with-cxx-binding \ 26 | --without-normal \ 27 | --without-debug \ 28 | --with-manpage-format=normal \ 29 | --with-pkg-config-libdir=/usr/lib/pkgconfig \ 30 | --with-termlib \ 31 | --without-ada 32 | } 33 | 34 | build() { 35 | make -j${parallelism} 36 | } 37 | 38 | package() { 39 | make install DESTDIR="${dest_dir}" 40 | 41 | for lib in ncurses ncurses++ form panel menu tinfo; do 42 | rm -vf "${dest_dir}${prefix}"/lib/lib${lib}.so 43 | echo "INPUT(-l${lib}w)" > "${dest_dir}${prefix}"/lib/lib${lib}.so 44 | ln -sfv ${lib}w.pc "${dest_dir}${prefix}"/lib/pkgconfig/${lib}.pc 45 | # Set library soname 46 | patchelf --set-soname lib${lib}w.so "${dest_dir}${prefix}"/lib/lib${lib}w.so 47 | done 48 | rm -vf "${dest_dir}${prefix}"/lib/libcursesw.so 49 | echo "INPUT(-lncursesw)" > "${dest_dir}${prefix}"/lib/libcursesw.so 50 | ln -sfv libncurses.so "${dest_dir}${prefix}"/lib/libcurses.so 51 | 52 | # Remove static libraries 53 | rm -rf "${dest_dir}${prefix}"/lib/*.a 54 | 55 | post_package_strip 56 | } 57 | -------------------------------------------------------------------------------- /recipes/nettle: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=nettle 4 | version=3.10.1 5 | revision=1 6 | tarball_url="https://ftp.gnu.org/gnu/nettle/nettle-${version}.tar.gz" 7 | tarball_blake2b="da2e82e647904e855a0e0bd1efee3b610b33de1a722f5d652deeca083d1983c5ee66754233a0917d3bb91bb5a527a3e80cd5fe18f7c25986076b2388910995b5" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | imagedeps="build-essential" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs gmp" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/nyancat: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=nyancat 4 | version=1.5.2 5 | revision=1 6 | tarball_url="https://github.com/klange/nyancat/archive/refs/tags/${version}.tar.gz" 7 | tarball_blake2b="4c197c7d630edc7184b57fd2b33fb422a69120e2db2994bc326e772278bca9fa1cc8a837da747bc7a9114090d43133ad48e22ed3319fc92485f82c1e7b5e67b9" 8 | hostdeps="gcc pkg-config" 9 | deps="core-libs" 10 | 11 | build() { 12 | cp -rp "${source_dir}"/. ./ 13 | 14 | make \ 15 | CC=${OS_TRIPLET}-gcc \ 16 | CFLAGS="$TARGET_CFLAGS -std=c99" \ 17 | CPPFLAGS="$TARGET_CPPFLAGS" \ 18 | LDFLAGS="$TARGET_LDFLAGS" \ 19 | -j${parallelism} 20 | } 21 | 22 | package() { 23 | install -d "${dest_dir}${prefix}"/bin 24 | install src/nyancat "${dest_dir}${prefix}"/bin/ 25 | install -d "${dest_dir}${prefix}"/share/man/man1 26 | install -m 644 nyancat.1 "${dest_dir}${prefix}"/share/man/man1/ 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/openssh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=openssh 4 | version=9.9p1 5 | revision=1 6 | tarball_url="https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${version}.tar.gz" 7 | tarball_blake2b="817d267e42b8be74a13e0cfd7999bdb4dab6355c7f62c1a4dd89adad310c5fb7fe3f17109ce1a36cd269a3639c1b8f1d18330c615ab3b419253ec027cfa20997" 8 | source_hostdeps="autoconf automake libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config" 10 | deps="core-libs zlib openssl" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | ossh_cv_utmpx_h_has_ut_addr=no \ 18 | autotools_configure \ 19 | --sysconfdir=/etc/ssh \ 20 | --disable-strip \ 21 | --with-ssl-engine \ 22 | --with-privsep-user=nobody \ 23 | --with-privsep-path=${prefix}/share/empty.sshd \ 24 | --with-default-path=${prefix}/local/sbin:${prefix}/local/bin:${prefix}/bin \ 25 | --without-zlib-version-check \ 26 | --with-xauth=/usr/bin/xauth \ 27 | --with-pid-dir=/run 28 | } 29 | 30 | build() { 31 | make -j${parallelism} 32 | } 33 | 34 | package() { 35 | install -v -m700 -d "${dest_dir}${prefix}"/share/empty.sshd 36 | install -v -d "${dest_dir}"/run 37 | 38 | make DESTDIR="${dest_dir}" install 39 | 40 | post_package_strip 41 | } 42 | -------------------------------------------------------------------------------- /recipes/openssl: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=openssl 4 | version=1.1.1w 5 | revision=1 6 | tarball_url="https://github.com/openssl/openssl/releases/download/OpenSSL_1_1_1w/openssl-${version}.tar.gz" 7 | tarball_blake2b="2fdba6ca0188928ab2f74e606136afca66cfa0467170fa6298ef160b64ac6fdcad1e81e5dd14013ce0e9921d0f7417edec531cd0beaf1196fec704c2c6d48395" 8 | hostdeps="gcc pkg-config" 9 | deps="core-libs zlib" 10 | 11 | configure() { 12 | CC=${OS_TRIPLET}-gcc \ 13 | CXX=${OS_TRIPLET}-g++ \ 14 | AR=${OS_TRIPLET}-ar \ 15 | CFLAGS="$TARGET_CFLAGS" \ 16 | CXXFLAGS="$TARGET_CXXFLAGS" \ 17 | LDFLAGS="$TARGET_LDFLAGS" \ 18 | ${source_dir}/Configure \ 19 | --prefix=${prefix} \ 20 | --openssldir=/etc/ssl \ 21 | --libdir=lib \ 22 | ${OS_TRIPLET} \ 23 | shared \ 24 | zlib-dynamic \ 25 | no-afalgeng 26 | } 27 | 28 | build() { 29 | make -j${parallelism} 30 | } 31 | 32 | package() { 33 | # Disable installing static libraries. 34 | sed -i '/INSTALL_LIBS/s/libcrypto.a libssl.a//' Makefile 35 | 36 | DESTDIR="${dest_dir}" make DESTDIR="${dest_dir}" MANSUFFIX=ssl install 37 | 38 | post_package_strip 39 | } 40 | -------------------------------------------------------------------------------- /recipes/pango: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=pango 4 | version=1.56.1 5 | revision=1 6 | tarball_url="https://download.gnome.org/sources/pango/1.56/pango-${version}.tar.xz" 7 | tarball_blake2b="a22d8113ecbe1f076ff15ea9fa231897bc1275c45c8c9ba74635ec0b030d7e59acbdd25d52ff9d5a9ef83e1e4d8a56cf84ae3fdc19b028ff6ef1017eb82924c3" 8 | imagedeps="meson ninja-build libglib2.0-dev" 9 | hostdeps="gcc pkg-config" 10 | deps="core-libs glib fontconfig freetype2 fribidi cairo libx11 harfbuzz libxft" 11 | 12 | configure() { 13 | meson_configure \ 14 | -Dintrospection=disabled 15 | } 16 | 17 | build() { 18 | ninja -j${parallelism} 19 | } 20 | 21 | package() { 22 | DESTDIR="${dest_dir}" ninja install 23 | 24 | post_package_strip 25 | } 26 | -------------------------------------------------------------------------------- /recipes/patch: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=patch 4 | version=2.7.6 5 | revision=1 6 | tarball_url="https://ftp.gnu.org/gnu/patch/patch-${version}.tar.xz" 7 | tarball_blake2b="e3dd2d155a94c39cb60eafc26677e84de14c3a6d5814dff69de091ded52f21862490970254297795f2c42a0c3203f7e88a8f65bb66968f8dfd6e066bf53f2dfb" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config" 10 | deps="core-libs" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | autotools_configure 18 | } 19 | 20 | build() { 21 | make -j${parallelism} 22 | } 23 | 24 | package() { 25 | DESTDIR="${dest_dir}" make install 26 | 27 | rm -f "${dest_dir}${prefix}/lib/charset.alias" 28 | 29 | post_package_strip 30 | } 31 | -------------------------------------------------------------------------------- /recipes/pcre2: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=pcre2 4 | version=10.44 5 | revision=1 6 | tarball_url="https://github.com/PCRE2Project/pcre2/releases/download/pcre2-${version}/pcre2-${version}.tar.gz" 7 | tarball_blake2b="89a9cc8e0a3e43d352dde14d91f8dd9d6691799ced35b6058702b711a8cf8a5c33ecb7e0ccc589d4f5eea534dca9b45cb0cafa80826441953bdb0370c0fc35f5" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config" 10 | deps="core-libs bzip2 readline zlib" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | autotools_configure \ 18 | --enable-unicode \ 19 | --enable-jit \ 20 | --enable-pcre2-16 \ 21 | --enable-pcre2-32 \ 22 | --enable-pcre2grep-libz \ 23 | --enable-pcre2grep-libbz2 \ 24 | --enable-pcre2test-libreadline 25 | } 26 | 27 | build() { 28 | make -j${parallelism} 29 | } 30 | 31 | package() { 32 | DESTDIR="${dest_dir}" make install 33 | 34 | post_package_strip 35 | } 36 | -------------------------------------------------------------------------------- /recipes/pixman: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=pixman 4 | version=0.44.2 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/lib/pixman-${version}.tar.xz" 7 | tarball_blake2b="856aa35ae705de522d70250beee8acc872b54d2b5caa9cee6bc12ffde7c293b3db76f56c75858cc5ab1bc592fb1d4078485c2def2ae4bcd5a50b6dfc2eb477eb" 8 | imagedeps="meson ninja-build" 9 | hostdeps="gcc pkg-config" 10 | deps="core-libs libpng" 11 | 12 | configure() { 13 | meson_configure 14 | } 15 | 16 | build() { 17 | ninja -j${parallelism} 18 | } 19 | 20 | package() { 21 | DESTDIR="${dest_dir}" ninja install 22 | 23 | post_package_strip 24 | } 25 | -------------------------------------------------------------------------------- /recipes/python: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=python 4 | version=3.12.7 5 | revision=1 6 | tarball_url="https://www.python.org/ftp/python/${version}/Python-${version}.tar.xz" 7 | tarball_blake2b="eed8744261cab3b401963ec5187a8b814adb9a18f8d0a6a3d59c027a83cf8408524af9b20204b0a0861d173cc33c45ae37bb1542a1ace3344dc59c649087ff1f" 8 | source_hostdeps="autoconf automake libtool pkg-config" 9 | source_deps="autoconf-archive" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs bzip2 xz zlib openssl ncurses readline gdbm libexpat libffi" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | ac_cv_file__dev_ptmx=yes \ 19 | ac_cv_file__dev_ptc=yes \ 20 | ac_cv_func_sched_setscheduler=no \ 21 | ac_cv_buggy_getaddrinfo=no \ 22 | autotools_configure \ 23 | --build=$ARCHITECTURE \ 24 | --with-computed-gotos \ 25 | --enable-optimizations \ 26 | --enable-ipv6 \ 27 | --with-system-expat \ 28 | --enable-loadable-sqlite-extensions \ 29 | --without-ensurepip \ 30 | --with-tzpath=/usr/share/zoneinfo \ 31 | --with-build-python=python3 \ 32 | --without-static-libpython 33 | } 34 | 35 | build() { 36 | make -j${parallelism} 37 | } 38 | 39 | package() { 40 | DESTDIR="${dest_dir}" make install 41 | 42 | ln -sfv python3 "${dest_dir}${prefix}"/bin/python 43 | ln -sfv python3-config "${dest_dir}${prefix}"/bin/python-config 44 | ln -sfv pydoc3 "${dest_dir}${prefix}"/bin/pydoc 45 | ln -sfv idle3 "${dest_dir}${prefix}"/bin/idle 46 | 47 | post_package_strip 48 | } 49 | -------------------------------------------------------------------------------- /recipes/readline: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=readline 4 | version=8.2.13 5 | revision=1 6 | tarball_url="https://ftp.gnu.org/gnu/readline/readline-8.2.tar.gz" 7 | tarball_blake2b="7974322b9c092a756a79e537df08e8532f8e0fcb598f77732e28287c33ebec9e9837ed88b43334c310892d56a871b423903f0f564def2fbe700a1004f2ae7b18" 8 | source_allow_network="yes" 9 | source_imagedeps="curl" 10 | source_hostdeps="automake autoconf libtool pkg-config" 11 | hostdeps="gcc autoconf automake libtool pkg-config" 12 | deps="core-libs ncurses" 13 | 14 | prepare() { 15 | for p in $(seq -w 13); do 16 | curl -L https://ftp.gnu.org/gnu/readline/readline-8.2-patches/readline82-0$p | patch -p0 17 | done 18 | 19 | cp -v /usr/local/share/autoconf/build-aux/{config.guess,config.sub} ./support/ 20 | cp -v /usr/local/share/autoconf/build-aux/install-sh ./support/install.sh 21 | } 22 | 23 | configure() { 24 | autotools_configure \ 25 | --enable-multibyte \ 26 | --with-curses 27 | } 28 | 29 | build() { 30 | make SHLIB_LIBS="-lncursesw -ltinfow" -j${parallelism} 31 | } 32 | 33 | package() { 34 | make install DESTDIR="${dest_dir}" 35 | 36 | ln -s libreadline.so.8.2 "${dest_dir}${prefix}"/lib/libreadline.so.8 37 | ln -s libhistory.so.8.2 "${dest_dir}${prefix}"/lib/libhistory.so.8 38 | 39 | post_package_strip 40 | } 41 | -------------------------------------------------------------------------------- /recipes/rsync: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=rsync 4 | version=3.4.1 5 | revision=1 6 | tarball_url="https://www.samba.org/ftp/rsync/src/rsync-${version}.tar.gz" 7 | tarball_blake2b="79c1cad697547059ee241e20c26d7f97bed3ad062deb856d31a617fead333a2d9f62c7c47c1efaf70033dbc358fe547d034c35e8181abb51a1fc893557882bc7" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config" 10 | deps="core-libs lz4 openssl xxhash zlib zstd" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | cp -rp "${source_dir}"/. ./ 18 | 19 | configure_script_path=./configure \ 20 | autotools_configure \ 21 | --with-included-zlib=no 22 | 23 | make reconfigure 24 | } 25 | 26 | build() { 27 | make -j${parallelism} 28 | } 29 | 30 | package() { 31 | DESTDIR="${dest_dir}" make install 32 | 33 | post_package_strip 34 | } 35 | -------------------------------------------------------------------------------- /recipes/sdl2-compat: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=sdl2-compat 4 | version=2.32.50 5 | revision=1 6 | tarball_url="https://github.com/libsdl-org/sdl2-compat/releases/download/release-${version}/sdl2-compat-${version}.tar.gz" 7 | tarball_blake2b="f003f4b09633d3cef31fb00d6daefbcd329edd21c8dedd47d8adb07d7f65dede6bc818921dd73af3ab9483529f81a66460dc6aac80c2f277dca298b885849599" 8 | imagedeps="cmake ninja-build git" 9 | hostdeps="gcc pkg-config" 10 | deps="sdl3" 11 | 12 | configure() { 13 | cmake_configure \ 14 | -DSDL_STATIC=OFF 15 | } 16 | 17 | build() { 18 | ninja -j${parallelism} 19 | } 20 | 21 | package() { 22 | DESTDIR="${dest_dir}" ninja install 23 | 24 | post_package_strip 25 | } 26 | -------------------------------------------------------------------------------- /recipes/sdl3: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=sdl3 4 | version=3.2.4 5 | revision=1 6 | tarball_url="https://github.com/libsdl-org/SDL/releases/download/release-${version}/SDL3-${version}.tar.gz" 7 | tarball_blake2b="4886c938ff9eb00af9c7429580fd034bb933efb8a3273d34693dad997268c96619cac2157119cd88c4a330c1ce4d8f4ffd8e00d2a29416be8ccd68990822dc1e" 8 | imagedeps="cmake ninja-build git" 9 | hostdeps="gcc pkg-config" 10 | deps="core-libs libx11 libxext libxcursor libxi libxfixes libxrandr libxrender libxxf86vm mesa" 11 | 12 | configure() { 13 | cmake_configure \ 14 | -DSDL_ALTIVEC=OFF \ 15 | -DSDL_DISKAUDIO=OFF \ 16 | -DSDL_DIRECTFB=ON \ 17 | -DSDL_OPENGL=ON \ 18 | -DSDL_OPENGLES=ON \ 19 | -DSDL_PTHREADS=ON \ 20 | -DSDL_PTHREADS_SEM=OFF \ 21 | -DSDL_OSS=OFF \ 22 | -DSDL_ALSA=OFF \ 23 | -DSDL_JACK=OFF \ 24 | -DSDL_ESD=OFF \ 25 | -DSDL_PULSEAUDIO=OFF \ 26 | -DSDL_ARTS=OFF \ 27 | -DSDL_NAS=OFF \ 28 | -DSDL_SNDIO=OFF \ 29 | -DSDL_FUSIONSOUND=OFF \ 30 | -DSDL_LIBSAMPLERATE=OFF \ 31 | -DSDL_RPATH=OFF \ 32 | -DSDL_X11=ON \ 33 | -DSDL_WAYLAND=OFF \ 34 | -DSDL_WAYLAND_QT_TOUCH=OFF \ 35 | -DSDL_RPI=OFF \ 36 | -DSDL_COCOA=OFF \ 37 | -DSDL_DIRECTX=OFF \ 38 | -DSDL_WASAPI=OFF \ 39 | -DSDL_RENDER_D3D=OFF \ 40 | -DSDL_VIVANTE=OFF \ 41 | -DSDL_VULKAN=OFF \ 42 | -DSDL_KMSDRM=OFF \ 43 | -DSDL_HIDAPI=OFF \ 44 | -DSDL_SHARED=ON \ 45 | -DSDL_STATIC=OFF 46 | } 47 | 48 | build() { 49 | ninja -j${parallelism} 50 | } 51 | 52 | package() { 53 | DESTDIR="${dest_dir}" ninja install 54 | 55 | post_package_strip 56 | } 57 | -------------------------------------------------------------------------------- /recipes/sed: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=sed 4 | version=4.9 5 | revision=1 6 | tarball_url="https://ftp.gnu.org/gnu/sed/sed-${version}.tar.xz" 7 | tarball_blake2b="6c7c7dc782b87c3bd0b5e826ba46c2f1dc7bd8c1159945fcf14b394711742964628774cf9f27d844b672721d7849e6c31992d82fafb9ed4118b7feb60406d1e1" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config" 10 | deps="core-libs" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | cp -rp "${source_dir}"/. ./ 18 | 19 | configure_script_path=./configure \ 20 | autotools_configure 21 | } 22 | 23 | build() { 24 | make -j${parallelism} 25 | } 26 | 27 | package() { 28 | DESTDIR="${dest_dir}" make install 29 | 30 | post_package_strip 31 | } 32 | -------------------------------------------------------------------------------- /recipes/sqlite: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=sqlite 4 | version=3.46.0 5 | revision=1 6 | tarball_url="https://sqlite.org/2024/sqlite-autoconf-3460000.tar.gz" 7 | tarball_blake2b="2f484823b84ab758e21960ac6b730cefa62c26f7ccf5344299a26e6f559d0e02cfd4cff5f5921effdee6e2e49d2ab36b1f91cffdd8599bc2189efab44bf4b197" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config" 10 | deps="core-libs readline zlib" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | autotools_configure \ 18 | CFLAGS="$TARGET_CFLAGS -DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -DSQLITE_ENABLE_DBSTAT_VTAB=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_FTS3_TOKENIZER=1" \ 19 | --enable-readline \ 20 | --enable-fts5 21 | } 22 | 23 | build() { 24 | make -j${parallelism} 25 | } 26 | 27 | package() { 28 | DESTDIR="${dest_dir}" make install 29 | 30 | post_package_strip 31 | } 32 | -------------------------------------------------------------------------------- /recipes/taisei: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=taisei 4 | version=1.4.2 5 | revision=1 6 | tarball_url="https://github.com/taisei-project/taisei/releases/download/v${version}/taisei-${version}.tar.xz" 7 | tarball_blake2b="382e6e02013573f4218a073ad9d19cd128f0b4366d3f3f586e8ab4de9a5948ffedd13a22cefc9a8af04cccd2cf0205c9d6c738b125fd332b363606acd5938e4a" 8 | imagedeps="meson ninja-build build-essential" 9 | hostdeps="gcc pkg-config" 10 | deps="core-libs freetype2 libpng sdl2-compat libwebp zlib cglm openssl" 11 | 12 | configure() { 13 | meson_configure \ 14 | -Ddocs=disabled \ 15 | -Da_default=null \ 16 | -Db_lto=false \ 17 | -Da_sdl=disabled 18 | } 19 | 20 | build() { 21 | ninja -j${parallelism} 22 | } 23 | 24 | package() { 25 | DESTDIR="${dest_dir}" ninja install 26 | 27 | post_package_strip 28 | } 29 | -------------------------------------------------------------------------------- /recipes/tar: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=tar 4 | version=1.35 5 | revision=1 6 | tarball_url="https://ftp.gnu.org/gnu/tar/tar-${version}.tar.xz" 7 | tarball_blake2b="e1a200d21f433cd7d917dd979db16919a9167056ae62cf7d038a6118e56b2fe419cd4a396eee66f1f4dc13a8dc380e23f6ffd7ee0ca84e5dd9ad9411f60e002c" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config" 10 | deps="core-libs" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | cp -rp "${source_dir}"/. ./ 18 | 19 | LIBS="-liconv -lintl" \ 20 | configure_script_path=./configure \ 21 | autotools_configure \ 22 | --enable-backup-scripts 23 | } 24 | 25 | build() { 26 | make -j${parallelism} 27 | } 28 | 29 | package() { 30 | DESTDIR="${dest_dir}" make install 31 | 32 | post_package_strip 33 | } 34 | -------------------------------------------------------------------------------- /recipes/tree: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=tree 4 | version=2.2.1 5 | revision=1 6 | tarball_url="https://gitlab.com/OldManProgrammer/unix-tree/-/archive/${version}/unix-tree-${version}.tar.gz" 7 | tarball_blake2b="7c6bc3249634320aaef8be0c6fd9143faf3c5b6c507c7c3d724efd9e8a8ce8957362665312829c6fdcae7bbc4670b194e45a1f51efc8bb00fcc3237b21ffd058" 8 | hostdeps="gcc" 9 | deps="core-libs" 10 | 11 | build() { 12 | cp -rp "${source_dir}"/. ./ 13 | CC=${OS_TRIPLET}-gcc \ 14 | CFLAGS="${TARGET_CFLAGS}" \ 15 | CPPFLAGS="${TARGET_CPPFLAGS}" \ 16 | LDFLAGS="${TARGET_LDFLAGS}" \ 17 | make \ 18 | -j${parallelism} 19 | } 20 | 21 | package() { 22 | make PREFIX="${dest_dir}${prefix}" install 23 | post_package_strip 24 | } 25 | -------------------------------------------------------------------------------- /recipes/ttf-dejavu: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=ttf-dejavu 4 | version=2.37 5 | revision=1 6 | tarball_url="https://sourceforge.net/projects/dejavu/files/dejavu/${version}/dejavu-fonts-ttf-${version}.tar.bz2" 7 | tarball_blake2b="d8614907887f20967fc7c75cb33b636a0eb5c682a076ccc7aef09f4ac243507afc005ef90d0b2aeee6a4a6a1ff3d5ce4fac0d1722a382525b3883ef53cdec26a" 8 | deps="core-libs" 9 | 10 | build() { 11 | cp -r ${source_dir}/. ./ 12 | } 13 | 14 | package() { 15 | mkdir -p "${dest_dir}${prefix}/share/fonts/truetype" 16 | cp -r ttf/* "${dest_dir}${prefix}/share/fonts/truetype/" 17 | } 18 | -------------------------------------------------------------------------------- /recipes/tzdata: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=tzdata 4 | version=2025a 5 | revision=1 6 | tarball_url="https://data.iana.org/time-zones/releases/tzdata${version}.tar.gz" 7 | tarball_blake2b="ea394e2369254858143d592912b6c2d691e2b2615a9d56461b78a335c33b89a6598a5b0ddbfac19ba5e8df91b67f7b7368dfcb861b7f2639bc6b92486c25f405" 8 | source_allow_network="yes" 9 | imagedeps="tzdata" 10 | hostdeps="gcc binutils" 11 | deps="mlibc libgcc libstdc++ libintl libiconv" 12 | 13 | prepare() { 14 | curl -Lo tzcode.tar.gz "https://data.iana.org/time-zones/releases/tzcode${version}.tar.gz" 15 | tar -xf tzcode.tar.gz 16 | sed -i 's/sbin/bin/g' Makefile 17 | } 18 | 19 | build() { 20 | cp -rp ${source_dir}/. ./ 21 | 22 | make \ 23 | CC="$OS_TRIPLET-gcc" \ 24 | AR="$OS_TRIPLET-ar" \ 25 | CFLAGS="$TARGET_CFLAGS -std=c99 $TARGET_CPPFLAGS" \ 26 | LDFLAGS="$TARGET_LDFLAGS" \ 27 | LDLIBS="-lintl" 28 | } 29 | 30 | package() { 31 | make DESTDIR="${dest_dir}" ZIC=zic install 32 | 33 | timezones="africa antarctica asia australasia europe northamerica southamerica etcetera backward factory" 34 | 35 | # Create the required directories 36 | mkdir -p "${dest_dir}"/etc 37 | mkdir -p "${dest_dir}"/usr/share/zoneinfo/posix 38 | mkdir -p "${dest_dir}"/usr/share/zoneinfo/right 39 | 40 | # Create the time zone files without leap seconds, convention puts these in both zoneinfo and zoneinfo/posix. 41 | # After that. create time time zone files with leap seconds 42 | zic -b fat -d "${dest_dir}"/usr/share/zoneinfo $timezones 43 | zic -b fat -d "${dest_dir}"/usr/share/zoneinfo/posix $timezones 44 | zic -b fat -d "${dest_dir}"/usr/share/zoneinfo/right -L leapseconds $timezones 45 | 46 | # Create the posixrules file, POSIX requires daylight saving rules to be in accordance with US rules, thus use New York 47 | zic -b fat -d "${dest_dir}"/usr/share/zoneinfo -p America/New_York 48 | 49 | # Default to UTC for localtime. 50 | ln -sf /usr/share/zoneinfo/UTC "${dest_dir}"/etc/localtime 51 | 52 | install -m644 -t "${dest_dir}"/usr/share/zoneinfo iso3166.tab leap-seconds.list zone1970.tab zone.tab SECURITY 53 | 54 | post_package_strip 55 | } 56 | -------------------------------------------------------------------------------- /recipes/xbitmaps: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=xbitmaps 4 | version=1.1.3 5 | revision=1 6 | tarball_url="https://www.x.org/pub/individual/data/xbitmaps-${version}.tar.gz" 7 | tarball_blake2b="b5bde889f7b821952ec7102c04ee35145e3434e49cb8b6f78de61519f3679a68269fdeb49885be2747288bb66722f954459e65c530058578ab542d9750a2a5a8" 8 | source_hostdeps="autoconf automake libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs xorg-util-macros" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/xcb-proto: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=xcb-proto 4 | version=1.17.0 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/proto/xcb-proto-${version}.tar.xz" 7 | tarball_blake2b="0f46d040062fca4f6b598bdb7ab7a254b9aefce198812af82fd2112e06e88277e3c9e0a3bab161930b56688e71e1848bb859d4f33588f9496fe7399f9758b9a7" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | imagedeps="libxml2" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/xf86-input-keyboard: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=xf86-input-keyboard 4 | version=2.1.0 5 | revision=1 6 | tarball_url="https://www.x.org/releases/individual/driver/xf86-input-keyboard-${version}.tar.gz" 7 | tarball_blake2b="a3d440b1e49df09ee50938a80c98c5274acaffd8824f0cb912844ae26831d3814c4cc2c23b52dbce88847a5bd33614b09b99f01d72ba102905e30166a52412f0" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs xorg-server xorg-util-macros" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/xf86-input-mouse: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=xf86-input-mouse 4 | version=1.9.5 5 | revision=1 6 | tarball_url="https://xorg.freedesktop.org/archive/individual/driver/xf86-input-mouse-${version}.tar.gz" 7 | tarball_blake2b="67f4de10424d640913fcafc2292f342a1e993d33e4ecc3c152e818953e19deaba796b96c29e0c07a4f4b74a1eb3bc1c41c3e5ab868cade02c21a90e2556da53f" 8 | source_hostdeps="autoconf automake libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs xorg-server xorg-util-macros" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/xf86-video-fbdev: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=xf86-video-fbdev 4 | version=0.5.1 5 | revision=1 6 | tarball_url="https://www.x.org/releases/individual/driver/xf86-video-fbdev-${version}.tar.gz" 7 | tarball_blake2b="02523bc6c38e71c6334b247bf13d54ba32e3f2e3208ad150df5085385f5b9b41d39466a7e307480d0bef154f17b8e5dd05b62923cfdb52672229d2c829fb4ca5" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xorg-server xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs xorg-server xorg-util-macros" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | SYSROOT=${sysroot_dir} \ 19 | autotools_configure \ 20 | --disable-pciaccess 21 | } 22 | 23 | build() { 24 | make -j${parallelism} 25 | } 26 | 27 | package() { 28 | DESTDIR="${dest_dir}" make install 29 | 30 | post_package_strip 31 | } 32 | -------------------------------------------------------------------------------- /recipes/xkeyboard-config: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=xkeyboard-config 4 | version=2.43 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/data/xkeyboard-config/xkeyboard-config-${version}.tar.xz" 7 | tarball_blake2b="89cf4872305ce3358185ed63f0ff2f0dc90205d50d51b4b881256e0762b12a74f30d0905a75e5feff2f0fef09d94bee778a8cbe83cdf6e048653e8eb42f53087" 8 | imagedeps="meson ninja-build" 9 | hostdeps="gcc pkg-config" 10 | deps="core-libs xorg-xkbcomp" 11 | 12 | configure() { 13 | meson_configure \ 14 | -Dxorg-rules-symlinks=true 15 | } 16 | 17 | build() { 18 | ninja -j${parallelism} 19 | } 20 | 21 | package() { 22 | DESTDIR="${dest_dir}" ninja install 23 | 24 | post_package_strip 25 | } 26 | -------------------------------------------------------------------------------- /recipes/xorg-font-util: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=xorg-font-util 4 | version=1.4.1 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/font/font-util-${version}.tar.xz" 7 | tarball_blake2b="5a7cee52aa58cecc85f5168963038b65d921bc33615e86a833cba5aec007d61bb05fa3b200ed9b192d9ab9291d53065443711f8eac976242b2013cd7b9fc494a" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs xorg-util-macros" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/xorg-proto: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=xorg-proto 4 | version=2024.1 5 | revision=1 6 | tarball_url="https://www.x.org/releases/individual/proto/xorgproto-${version}.tar.xz" 7 | tarball_blake2b="a3850f8594e8b4240f731dce696c3ab8310c3b2419117dea3141a093a690d9bc16652e64eb5516073145309c65327bd14be2eaa8843c04de25c8eff6c46d3c1d" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs xorg-util-macros" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/xorg-server: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=xorg-server 4 | version=21.1.15 5 | revision=1 6 | tarball_url="https://www.x.org/releases/individual/xserver/xorg-server-${version}.tar.xz" 7 | tarball_blake2b="a7d5df70a4af98b903a306850a169879cf083b2c811f6e75e1e916f85441214541f7c9fa0e0089c4bf08c67597166d97ea194c6a0a511948568120e579d1104f" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xtrans xorg-font-util xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs xorg-util-macros xorg-proto xcb-proto xtrans libxinerama libxcvt libxshmfence libx11 libxaw libxxf86vm libxkbfile libxmu libxfont2 libepoxy libxi libxv libxdamage libxrender libxrandr libxcb libxfixes libxext nettle xorg-xkbcomp xkeyboard-config pixman" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure \ 19 | --with-xkb-bin-directory=/usr/bin \ 20 | --with-xkb-path=/usr/share/X11/xkb \ 21 | --with-xkb-output=/var/lib/xkb \ 22 | --with-fontrootdir=/usr/share/fonts/X11 \ 23 | --enable-xorg \ 24 | --enable-xv \ 25 | --enable-xvfb \ 26 | --disable-xephyr \ 27 | --disable-xnest \ 28 | --disable-suid-wrapper \ 29 | --disable-pciaccess \ 30 | --disable-dpms \ 31 | --enable-screensaver \ 32 | --disable-xres \ 33 | --disable-xvmc \ 34 | --disable-systemd-logind \ 35 | --disable-secure-rpc \ 36 | --disable-config-udev \ 37 | --disable-dri \ 38 | --disable-dri2 \ 39 | --disable-dri3 \ 40 | --disable-int10-module \ 41 | --disable-vgahw \ 42 | --disable-libdrm \ 43 | --disable-glamor \ 44 | --disable-glx 45 | } 46 | 47 | build() { 48 | make -j${parallelism} 49 | } 50 | 51 | package() { 52 | DESTDIR="${dest_dir}" make install 53 | 54 | mkdir -p "${dest_dir}"/etc/X11 55 | cp -v "${base_dir}"/build-support/xorg-server/xorg.conf "${dest_dir}"/etc/X11/ 56 | 57 | post_package_strip 58 | } 59 | -------------------------------------------------------------------------------- /recipes/xorg-twm: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=xorg-twm 4 | version=1.0.12 5 | revision=1 6 | tarball_url="https://www.x.org/pub/individual/app/twm-${version}.tar.xz" 7 | tarball_blake2b="4bca3572dc51af6d1724aefc42f85f04cf0dcbf5514d098628b7950b59a05bd1f1f6fe51aed492777fad5b169a0d97d0c1f0567aca3e7f33c7de0037c7dbe49f" 8 | source_hostdeps="autoconf automake libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs libxmu" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | make DESTDIR=${dest_dir} install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/xorg-util-macros: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=xorg-util-macros 4 | version=1.20.2 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/util/util-macros-${version}.tar.gz" 7 | tarball_blake2b="57c880e87b7714234d220897736864401277a609a2038a018b551f495868c6ac9ef3257a8df367369635a304440386877f287dd7d27e42616def00ec1dc1b55e" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config" 10 | deps="core-libs" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | autotools_configure 18 | } 19 | 20 | build() { 21 | make -j${parallelism} 22 | } 23 | 24 | package() { 25 | DESTDIR="${dest_dir}" make install 26 | 27 | post_package_strip 28 | } 29 | -------------------------------------------------------------------------------- /recipes/xorg-xauth: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=xorg-xauth 4 | version=1.1.3 5 | revision=1 6 | tarball_url="https://www.x.org/releases/individual/app/xauth-${version}.tar.xz" 7 | tarball_blake2b="6acc6f360b7ed947d5dbc0b197b7ed0a87916f38cd8a0c74215b96ca44e98ead45987614e88833b0d2a957776b6e6a1d69d1a3dc4563774e451c2d5f5c55394d" 8 | source_hostdeps="autoconf automake libtool pkg-config" 9 | source_deps="xorg-util-macros xtrans" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs libxmu libxau libxext libx11" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/xorg-xclock: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=xorg-xclock 4 | version=1.1.1 5 | revision=1 6 | tarball_url="https://xorg.freedesktop.org/archive/individual/app/xclock-${version}.tar.gz" 7 | tarball_blake2b="4fd77b8f1f0962774dd0e6295f7482c05be8107e1606a9705ccd2864d2c9b37adda4a41a6704c6e1363edd2b7e704324799c4feaff39e218b326b66274b48187" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xorg-util-macros gettext" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs libx11 libxmu libxaw libxrender libxft libxkbfile" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure \ 19 | --with-appdefaultdir=/etc/X11/app-defaults 20 | } 21 | 22 | build() { 23 | make -j${parallelism} 24 | } 25 | 26 | package() { 27 | DESTDIR="${dest_dir}" make install 28 | 29 | post_package_strip 30 | } 31 | -------------------------------------------------------------------------------- /recipes/xorg-xeyes: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=xorg-xeyes 4 | version=1.3.0 5 | revision=1 6 | tarball_url="https://xorg.freedesktop.org/archive/individual/app/xeyes-${version}.tar.gz" 7 | tarball_blake2b="76f24c332bf93cb64b6c53c0bbd662f74be96cc08e05a8aec81ed23c25cb80c1b6258f98e824f7bbe9184b7d882d28e98e1e645f20cf2c3a07f480bd5b479395" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs libx11 libxt libxext libxmu libxrender libxi libxcb" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/xorg-xfontsel: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=xorg-xfontsel 4 | version=1.1.1 5 | revision=1 6 | tarball_url="https://www.x.org/pub/individual/app/xfontsel-${version}.tar.xz" 7 | tarball_blake2b="89d06f85cdd6b1a363711b6b59937d3f7ba6dad4ffd1c1fb2fa2604aa52e7d883726dc72d8d9d96060d7fedcd2c4ca20f30621d28d0174b1b66151705d899864" 8 | source_hostdeps="autoconf automake libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs libxmu libxaw libxt libx11" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure \ 19 | --with-appdefaultdir=/etc/X11/app-defaults 20 | } 21 | 22 | build() { 23 | make -j${parallelism} 24 | } 25 | 26 | package() { 27 | DESTDIR="${dest_dir}" make install 28 | 29 | post_package_strip 30 | } 31 | -------------------------------------------------------------------------------- /recipes/xorg-xinit: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=xorg-xinit 4 | version=1.4.2 5 | revision=1 6 | tarball_url="https://www.x.org/releases/individual/app/xinit-${version}.tar.xz" 7 | tarball_blake2b="8f5c16d5ec9cc16c734b1661def4f7e68321259f24e7aac2b039b8e142fb4a324d2471a0f04d3b4448ae713082ad9ec7018083b00ed1a93aac90fa7db172247d" 8 | source_hostdeps="autoconf automake libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs libx11 xorg-xauth xorg-xmodmap xorg-xrdb" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/xorg-xkbcomp: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=xorg-xkbcomp 4 | version=1.4.7 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/app/xkbcomp-${version}.tar.gz" 7 | tarball_blake2b="75131c5aea7f6861b198638fcb595e741ea7847a408c008bd4b9d8498e8a4476d8f8cfe841f01626ee8ade432a6f76f375aa76dea1822402b4d6b18aeb39fc21" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs libxkbfile libx11" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/xorg-xkbutils: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=xorg-xkbutils 4 | version=1.0.6 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/app/xkbutils-${version}.tar.xz" 7 | tarball_blake2b="af97210ded0e5d1d5ce99e71c50c3ade19b5fe926596a3816a8fcbe7ea6b65f08d5216792a45cb4df3191b6f5fc3db059ee1b1b05ecf0fea408562088f6489e4" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | builddeps="xorg-proto" 12 | deps="core-libs libx11 libxt libxaw" 13 | 14 | prepare() { 15 | autotools_recursive_regen 16 | } 17 | 18 | configure() { 19 | autotools_configure 20 | } 21 | 22 | build() { 23 | make -j${parallelism} 24 | } 25 | 26 | package() { 27 | DESTDIR="${dest_dir}" make install 28 | 29 | post_package_strip 30 | } 31 | -------------------------------------------------------------------------------- /recipes/xorg-xlsfonts: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=xorg-xlsfonts 4 | version=1.0.8 5 | revision=1 6 | tarball_url="https://www.x.org/pub/individual/app/xlsfonts-${version}.tar.xz" 7 | tarball_blake2b="16ff4ba039f3122844c44c907fbfaff0fbbe6f219bd96cf7154179cbb5865b7911c3af926750dd702917f04a103c889cccea3aa03b48d2a4a47885b448b268e4" 8 | source_hostdeps="autoconf automake libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs libx11" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/xorg-xmessage: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=xorg-xmessage 4 | version=1.0.7 5 | revision=1 6 | tarball_url="https://www.x.org/pub/individual/app/xmessage-${version}.tar.xz" 7 | tarball_blake2b="e2068bdaee66360296b0767b6f110bde5a3fd54b4213b2fc56929c56578ea589e38511011424d6c79da5b35821bf8772e951c299f3c4de093cf64efb8da015ef" 8 | source_hostdeps="autoconf automake libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs libxaw libx11 libxt" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure \ 19 | --with-appdefaultdir=/etc/X11/app-defaults 20 | } 21 | 22 | build() { 23 | make -j${parallelism} 24 | } 25 | 26 | package() { 27 | DESTDIR="${dest_dir}" make install 28 | 29 | post_package_strip 30 | } 31 | -------------------------------------------------------------------------------- /recipes/xorg-xmodmap: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=xorg-xmodmap 4 | version=1.0.11 5 | revision=1 6 | tarball_url="https://www.x.org/releases/individual/app/xmodmap-${version}.tar.xz" 7 | tarball_blake2b="d50611e762b665b18c370ea49d981d7820f16e2e10450bbb2ebc76c867a3a4e75d68e7dacfb9e610849770afa95f4d757863953217aac8e13509b386bdb8131d" 8 | source_hostdeps="autoconf automake libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs libx11" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/xorg-xprop: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=xorg-xprop 4 | version=1.2.8 5 | revision=1 6 | tarball_url="https://www.x.org/pub/individual/app/xprop-${version}.tar.gz" 7 | tarball_blake2b="3e5d8a4a9164d745cc881af296bec57a2c1320a194888c07aecb53e1facd13e0b1179b940d70af95603934756b5a0426d450ac55706d56f0b8053d2174e74631" 8 | source_hostdeps="autoconf automake libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs libx11" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/xorg-xrandr: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=xorg-xrandr 4 | version=1.5.3 5 | revision=1 6 | tarball_url="https://www.x.org/pub/individual/app/xrandr-${version}.tar.xz" 7 | tarball_blake2b="a2f253e0027976ef1bbf346361f6cfcfb575db36f134ec21e234f733fe7e70959d401c6b078a0d6d0297021aeff12eef57e4fdc865c86531784e439927385995" 8 | source_hostdeps="autoconf automake libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs libxmu libxaw libxt libx11 libxrandr" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure \ 19 | --with-appdefaultdir=/etc/X11/app-defaults 20 | } 21 | 22 | build() { 23 | make -j${parallelism} 24 | } 25 | 26 | package() { 27 | DESTDIR="${dest_dir}" make install 28 | 29 | post_package_strip 30 | } 31 | -------------------------------------------------------------------------------- /recipes/xorg-xrdb: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=xorg-xrdb 4 | version=1.2.2 5 | revision=1 6 | tarball_url="https://www.x.org/releases/individual/app/xrdb-${version}.tar.xz" 7 | tarball_blake2b="fbf396089a82db2a21866527f7d847f106164e1ce10795a2f96e34d5165311f4ed718eee10429792fc4fe273529af3350c41d765cb067c6310707bcc976bfdbe" 8 | source_hostdeps="autoconf automake libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs libx11 libxmu" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/xorg-xset: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=xorg-xset 4 | version=1.2.5 5 | revision=1 6 | tarball_url="https://www.x.org/pub/individual/app/xset-${version}.tar.xz" 7 | tarball_blake2b="81d93de0bd2a5f0d76937109a8f16f5e1d5074ec5209ea373d9f4b3f5064ac15a9e3c9cdc850cbe6103469fcdfc4d69df033ce7bbf80e22b507d3664e49911a9" 8 | source_hostdeps="autoconf automake libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs libxmu" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure \ 19 | --without-fontcache 20 | } 21 | 22 | build() { 23 | make -j${parallelism} 24 | } 25 | 26 | package() { 27 | DESTDIR="${dest_dir}" make install 28 | 29 | post_package_strip 30 | } 31 | -------------------------------------------------------------------------------- /recipes/xorg-xsetroot: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=xorg-xsetroot 4 | version=1.1.3 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/app/xsetroot-${version}.tar.gz" 7 | tarball_blake2b="b904a9f622883d050751026966341daac1e31ac7c66a6bc54ee6e370c7f096aa5158c7fdc37feb796c7ff7720f654cf9ec194e4ecdb95a3049f3021afee2cb8e" 8 | source_hostdeps="autoconf automake libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | builddeps="xbitmaps" 12 | deps="core-libs libx11 libxmu libxcursor" 13 | 14 | prepare() { 15 | autotools_recursive_regen 16 | } 17 | 18 | configure() { 19 | autotools_configure 20 | } 21 | 22 | build() { 23 | make -j${parallelism} 24 | } 25 | 26 | package() { 27 | make DESTDIR=${dest_dir} install 28 | 29 | post_package_strip 30 | } 31 | -------------------------------------------------------------------------------- /recipes/xorg-xwininfo: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=xorg-xwininfo 4 | version=1.1.6 5 | revision=1 6 | tarball_url="https://www.x.org/pub/individual/app/xwininfo-${version}.tar.xz" 7 | tarball_blake2b="d23d175d6083d95ef5f5df79fb1c88b4d92c618dbec90ee3dc4ae07fe2c5600b9c4dd00dcf3a32b512b51ecf9c6a11e5e7a5bb398f2cb479bdea05b076e5fd73" 8 | source_hostdeps="autoconf automake libtool pkg-config" 9 | source_deps="xorg-util-macros gettext" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | builddeps="libx11" 12 | deps="core-libs libxcb" 13 | 14 | prepare() { 15 | autotools_recursive_regen 16 | } 17 | 18 | configure() { 19 | autotools_configure 20 | } 21 | 22 | build() { 23 | make -j${parallelism} 24 | } 25 | 26 | package() { 27 | make DESTDIR=${dest_dir} install 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/xorriso: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=xorriso 4 | version=1.5.6 5 | revision=1 6 | tarball_url="https://ftp.gnu.org/gnu/xorriso/xorriso-${version}.pl02.tar.gz" 7 | tarball_blake2b="5f453cb3b1583865c71947c3ce95d87ea138b87605429fa756e34f0ddedb34037381ef81893bb69ecac9a2bd4302648f22f4cc930bf5567d509d1e26e6530f6b" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | imagedeps="gperf" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs pcre2" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/xtrans: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=xtrans 4 | version=1.5.2 5 | revision=1 6 | tarball_url="https://www.x.org/archive/individual/lib/xtrans-${version}.tar.gz" 7 | tarball_blake2b="4eaf5a17e58446a23ac5d5138bb13a1a9121e8a9e05d3684f8aaac85c17dc904b5ba51607d82ff65f7bbe3f0c62ef96fa9c742e1d704edadf5b66e18e476e134" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | source_deps="xorg-util-macros" 10 | hostdeps="gcc autoconf automake libtool pkg-config" 11 | deps="core-libs xorg-util-macros" 12 | 13 | prepare() { 14 | autotools_recursive_regen 15 | } 16 | 17 | configure() { 18 | autotools_configure 19 | } 20 | 21 | build() { 22 | make -j${parallelism} 23 | } 24 | 25 | package() { 26 | DESTDIR="${dest_dir}" make install 27 | 28 | post_package_strip 29 | } 30 | -------------------------------------------------------------------------------- /recipes/xxhash: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=xxhash 4 | version=0.8.3 5 | revision=1 6 | tarball_url="https://github.com/Cyan4973/xxHash/archive/refs/tags/v${version}.tar.gz" 7 | tarball_blake2b="75923c7c5df3490062791fa02ccddfb7281b3646e2b3e4b4a0c0d611c339e07c8d9cb656777fd0fcec9cda484f7b33edf080116bb011f70d6b8299cda63afa4e" 8 | hostdeps="gcc" 9 | deps="core-libs" 10 | 11 | build() { 12 | cp -rp "${source_dir}"/. ./ 13 | 14 | CC="${OS_TRIPLET}-gcc" \ 15 | AR="${OS_TRIPLET}-ar" \ 16 | CFLAGS="${TARGET_CFLAGS}" \ 17 | CXXFLAGS="${TARGET_CXXFLAGS}" \ 18 | CPPFLAGS="${TARGET_CPPFLAGS}" \ 19 | LDFLAGS="${TARGET_LDFLAGS}" \ 20 | make \ 21 | -j${parallelism} 22 | } 23 | 24 | package() { 25 | DESTDIR="${dest_dir}" PREFIX="${prefix}" make install 26 | 27 | rm -fv "${dest_dir}${prefix}"/lib/libxxhash.a 28 | 29 | post_package_strip 30 | } 31 | -------------------------------------------------------------------------------- /recipes/xz: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=xz 4 | version=5.6.4 5 | revision=1 6 | tarball_url="https://github.com/tukaani-project/xz/releases/download/v${version}/xz-${version}.tar.xz" 7 | tarball_blake2b="777bc6b4f1510615bedac1db8bfea19e80b7652906372739fb3ed7c7905bd0aed6f78bb1ca98f4d690f0b2fc03002c16a280359dde67c655ecb9324f8d384551" 8 | source_hostdeps="automake autoconf libtool pkg-config" 9 | hostdeps="gcc autoconf automake libtool pkg-config" 10 | deps="core-libs" 11 | 12 | prepare() { 13 | autotools_recursive_regen 14 | } 15 | 16 | configure() { 17 | autotools_configure 18 | } 19 | 20 | build() { 21 | make -j${parallelism} 22 | } 23 | 24 | package() { 25 | DESTDIR="${dest_dir}" make install 26 | 27 | post_package_strip 28 | } 29 | -------------------------------------------------------------------------------- /recipes/zlib: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=zlib 4 | version=1.3.1 5 | revision=1 6 | tarball_url="https://github.com/madler/zlib/archive/refs/tags/v${version}.tar.gz" 7 | tarball_blake2b="6d15d8f3c8feaf602043bb6e72316ee721c33ef24e110e3bf03fb12eac9703fd29e352268d202ecd2f18b526b4f1dbd90c8046e01ad8e64ddce3e55ad5db513e" 8 | imagedeps="patchelf" 9 | hostdeps="gcc pkg-config" 10 | deps="core-libs" 11 | 12 | configure() { 13 | prefix="${prefix}" \ 14 | CHOST="${OS_TRIPLET}" \ 15 | CFLAGS="${TARGET_CFLAGS}" \ 16 | CXXFLAGS="${TARGET_CXXFLAGS}" \ 17 | CPPFLAGS="${TARGET_CPPFLAGS}" \ 18 | LDFLAGS="${TARGET_LDFLAGS}" \ 19 | ${source_dir}/configure 20 | } 21 | 22 | build() { 23 | make -j${parallelism} 24 | } 25 | 26 | package() { 27 | DESTDIR="${dest_dir}" make install 28 | # Remove static libraries 29 | rm -rf "${dest_dir}${prefix}"/lib/*.a 30 | 31 | # libz.so.${version} is created without soname... fix that 32 | patchelf --set-soname libz.so.${version} "${dest_dir}${prefix}/lib/libz.so.${version}" 33 | 34 | post_package_strip 35 | } 36 | -------------------------------------------------------------------------------- /recipes/zstd: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=zstd 4 | version=1.5.6 5 | revision=1 6 | tarball_url="https://github.com/facebook/zstd/releases/download/v${version}/zstd-${version}.tar.gz" 7 | tarball_blake2b="fe17cf0950f8ee2cc07bfa2b41e97f36a1832e396386cb94a55bede975dc974920578cf147b39eecbc5b53ff06fe0dc1fe781a4cab9bc9f767ea28c0e786422e" 8 | imagedeps="cmake ninja-build" 9 | hostdeps="gcc pkg-config" 10 | deps="core-libs zlib xz lz4" 11 | 12 | configure() { 13 | cmake_source_dir="$source_dir/build/cmake" \ 14 | cmake_configure \ 15 | -DZSTD_ZLIB_SUPPORT=ON \ 16 | -DZSTD_LZMA_SUPPORT=ON \ 17 | -DZSTD_LZ4_SUPPORT=ON \ 18 | -DZSTD_BUILD_CONTRIB=OFF \ 19 | -DZSTD_BUILD_STATIC=OFF \ 20 | -DZSTD_BUILD_TESTS=OFF \ 21 | -DZSTD_PROGRAMS_LINK_SHARED=ON 22 | } 23 | 24 | build() { 25 | ninja -j${parallelism} 26 | } 27 | 28 | package() { 29 | DESTDIR="${dest_dir}" ninja install 30 | 31 | post_package_strip 32 | } 33 | -------------------------------------------------------------------------------- /screenshot0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lyre-OS/Lyre/7ee51c1e9babeae9f1b98dc2a627756dbc37c7ac/screenshot0.png -------------------------------------------------------------------------------- /screenshot1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lyre-OS/Lyre/7ee51c1e9babeae9f1b98dc2a627756dbc37c7ac/screenshot1.png -------------------------------------------------------------------------------- /source-recipes/autoconf: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=autoconf 4 | version=2.72 5 | tarball_url="https://ftp.gnu.org/gnu/autoconf/autoconf-${version}.tar.gz" 6 | tarball_blake2b="48fff54704176cbf2642230229c628b75c43ef3f810c39eea40cae91dd02e1203d04a544407de96f9172419a94b952865909d969d9e9b6c10879a9d9aeea5ad0" 7 | -------------------------------------------------------------------------------- /source-recipes/autoconf-2.69: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=autoconf-2.69 4 | version=2.69 5 | tarball_url="https://ftp.gnu.org/gnu/autoconf/autoconf-${version}.tar.gz" 6 | tarball_blake2b="7e8a513bbfcabadad1577919c048cc05ca0a084788850b42570f88afc2fa9c25fb32277412f135b81ba1c0d8079465a6b581d2d78662c991d2183b739fac407c" 7 | -------------------------------------------------------------------------------- /source-recipes/automake: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=automake 4 | version=1.16.5 5 | tarball_url="https://ftp.gnu.org/gnu/automake/automake-${version}.tar.gz" 6 | tarball_blake2b="5ccdcbe2d3deb2b0baed4a8590b07714cd7098fbda251afebe83232ed03f4db84abbe023cf0544622dbc5137254347273247428eb5420564a167b86de95d113e" 7 | -------------------------------------------------------------------------------- /source-recipes/gcc-host: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=gcc-host 4 | version=14.2.0 5 | tarball_url="https://ftp.gnu.org/gnu/gcc/gcc-${version}/gcc-${version}.tar.xz" 6 | tarball_blake2b="87baf2a06dfa75d8fb6cd62c747ef1f57d3b9bbbe33a360d9ed3de4b4dbeaa8d920504c67e409bd9863414202c14fd854b46108e984418171205119216d03d3b" 7 | hostdeps="automake autoconf-2.69 libtool pkg-config" 8 | imagedeps="git" 9 | allow_network="yes" 10 | 11 | prepare() { 12 | ./contrib/download_prerequisites 13 | 14 | # Gettext causes issues and we don't want it anyways. 15 | rm -rf gettext* 16 | 17 | autotools_recursive_regen -I"$(realpath ./config)" 18 | 19 | cp -pv /usr/local/share/libtool/build-aux/{config.sub,config.guess,install-sh} libiberty/ 20 | cp -pv /usr/local/share/libtool/build-aux/{config.sub,config.guess,install-sh} libgcc/ 21 | } 22 | -------------------------------------------------------------------------------- /source-recipes/libgcc-binaries: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libgcc-binaries 4 | version=6097e89af23cc4eec9f31a5a089f93c35e63edef 5 | git_url="https://github.com/osdev0/libgcc-binaries.git" 6 | commit=${version} 7 | -------------------------------------------------------------------------------- /source-recipes/libtool: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=libtool 4 | version=2.5.4 5 | tarball_url="https://ftp.gnu.org/gnu/libtool/libtool-${version}.tar.xz" 6 | tarball_blake2b="47de3c49a690d44d7ddd5e3b5e4090c91dc5fbb9c40fc4a3963e150fb7329326ee3e21b8c149974726171c4b0380028e0efc7a369c4f04357eea46f69852e1cc" 7 | hostdeps="autoconf automake" 8 | 9 | prepare() { 10 | LIBTOOLIZE=true \ 11 | autotools_recursive_regen 12 | } 13 | -------------------------------------------------------------------------------- /source-recipes/pkg-config: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | name=pkg-config 4 | version=2.3.0 5 | tarball_url="https://distfiles.ariadne.space/pkgconf/pkgconf-${version}.tar.xz" 6 | tarball_blake2b="cca3476df0b79cdbca798ed3a067611414e9b422e8347d0f490e7c4d0c43cdd2c7b586ac11e028a8df365d4ea4194f46b1d9fc0acd0f5fd6b4a5548673a8f853" 7 | hostdeps="autoconf automake libtool" 8 | 9 | prepare() { 10 | autotools_recursive_regen 11 | } 12 | --------------------------------------------------------------------------------