Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 73 additions & 0 deletions bootstrap.d/app-arch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,79 @@ packages:
environ:
DESTDIR: '@THIS_COLLECT_DIR@'

- name: gnome-autoar
architecture: '@OPTION:arch@'
metadata:
summary: Automatic archives creating and extracting library
description: This package provides a framework for automatic archive extraction, compression, and management.
spdx: 'LGPL-2.1-or-later'
website: 'https://gitlab.gnome.org/GNOME/gnome-autoar'
maintainer: "Dennis Bonke <[email protected]>"
categories: ['app-arch']
source:
subdir: 'ports'
git: 'https://gitlab.gnome.org/GNOME/gnome-autoar.git'
tag: '0.4.4'
version: '0.4.4'
tools_required:
- system-gcc
- wayland-scanner
- virtual: pkgconfig-for-target
triple: "@OPTION:arch-triple@"
- host-mlibc
- host-gobject-introspection
- host-python
- host-glib
- host-vala
pkgs_required:
- mlibc
- libarchive
- gtk+-3
- gobject-introspection
configure:
- args:
- 'meson'
- 'setup'
- '--cross-file'
- '@SOURCE_ROOT@/scripts/meson-@OPTION:[email protected]'
- '--prefix=/usr'
- '--buildtype=release'
- '--wrap-mode=nodownload'
- '-Dvapi=true'
- '@THIS_SOURCE_DIR@'
environ:
# Same as below
RUN_WRAPPER_LD_LIBRARY_PATH: '@BUILD_ROOT@/tools/host-mlibc/lib:@SYSROOT_DIR@/usr/lib:@SYSROOT_DIR@/usr/lib64:@THIS_BUILD_DIR@/girepository'
RUN_WRAPPER_INTERP: '@BUILD_ROOT@/tools/host-mlibc/lib/ld.so'
VALADIR: '@SYSROOT_DIR@/usr/share/vala/vapi'
# Wrapper to add our valadir
VAPIGEN: 'cross-vapigen'
build:
- args: ['ninja']
environ:
# Make python load host libraries instead of the ones in the rootfs
LD_LIBRARY_PATH: '@BUILD_ROOT@/tools/host-glib/lib:@BUILD_ROOT@/tools/host-glib/lib/x86_64-linux-gnu:@BUILD_ROOT@/tools/host-gobject-introspection/lib/x86_64-linux-gnu'
# Library path for our run-wrapper that allows it to load managarm libraries
RUN_WRAPPER_LD_LIBRARY_PATH: '@BUILD_ROOT@/tools/host-mlibc/lib:@SYSROOT_DIR@/usr/lib:@SYSROOT_DIR@/usr/lib64:@THIS_BUILD_DIR@/girepository'
# Similar to above, but using a nasty (but working) hack lets us use a Linux mlibc build to execute an
# executable that was cross-compiled for managarm
RUN_WRAPPER_INTERP: '@BUILD_ROOT@/tools/host-mlibc/lib/ld.so'
# This is a custom environment variable which tells g-ir-scanner what to use instead of ldd
# We point it at our native ldd-wrapper that's installed as part of host-gobject-introspection
GI_LDD_WRAPPER: ldd-wrapper
# This tells g-ir-scanner what program should be used for "cross-launching" the executables it builds
GI_CROSS_LAUNCHER: run-wrapper
# Path to the introspection data installed by other packages
GI_GIR_PATH: '@SYSROOT_DIR@/usr/share/gir-1.0'
VALADIR: '@SYSROOT_DIR@/usr/share/vala/vapi'
# Wrapper to add our valadir
VALAC: 'cross-valac'
# Wrapper to add our valadir
VAPIGEN: 'cross-vapigen'
- args: ['ninja', 'install']
environ:
DESTDIR: '@THIS_COLLECT_DIR@'

- name: gzip
labels: [aarch64]
architecture: '@OPTION:arch@'
Expand Down
204 changes: 204 additions & 0 deletions bootstrap.d/app-crypt.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,208 @@
packages:
- name: gcr3
architecture: '@OPTION:arch@'
metadata:
summary: Libraries for cryptographic UIs and accessing PKCS#11 modules
description: This package contains libraries used for displaying certificates and accessing key stores. It also provides the viewer for crypto files on the GNOME Desktop.
spdx: 'LGPL-2.0-or-later GPL-2.0-or-later'
website: 'https://gitlab.gnome.org/GNOME/gcr'
maintainer: "Dennis Bonke <[email protected]>"
categories: ['app-crypt']
source:
subdir: 'ports'
git: 'https://gitlab.gnome.org/GNOME/gcr.git'
tag: '3.41.2'
version: '3.41.2'
regenerate:
- args: |
sed -i 's:"/desktop:"/org:' @THIS_SOURCE_DIR@/schema/*.xml
tools_required:
- host-pkg-config
- system-gcc
- virtual: pkgconfig-for-target
triple: '@OPTION:arch-triple@'
- host-mlibc
- host-gobject-introspection
- host-python
- host-glib
- host-vala
pkgs_required:
- mlibc
- glib
- libgcrypt
- gobject-introspection
- p11-kit
- libsecret
- dbus
- gtk+-3
- libxml
configure:
- args:
- 'meson'
- 'setup'
- '--cross-file'
- '@SOURCE_ROOT@/scripts/meson-@OPTION:[email protected]'
- '--prefix=/usr'
- '--wrap-mode=nofallback'
- '--sysconfdir=/etc'
- '-Dgtk_doc=false'
- '-Dintrospection=true'
- '-Dssh_agent=false'
- '-Dsystemd=disabled'
- '-Dgtk=true'
- '@THIS_SOURCE_DIR@'
environ:
# Same as below
RUN_WRAPPER_LD_LIBRARY_PATH: '@BUILD_ROOT@/tools/host-mlibc/lib:@SYSROOT_DIR@/usr/lib:@SYSROOT_DIR@/usr/lib64:@THIS_BUILD_DIR@/girepository'
RUN_WRAPPER_INTERP: '@BUILD_ROOT@/tools/host-mlibc/lib/ld.so'
VALADIR: '@SYSROOT_DIR@/usr/share/vala/vapi'
# Wrapper to add our valadir
VAPIGEN: 'cross-vapigen'
build:
- args: ['ninja']
environ:
# Make python load host libraries instead of the ones in the rootfs
LD_LIBRARY_PATH: '@BUILD_ROOT@/tools/host-glib/lib:@BUILD_ROOT@/tools/host-glib/lib/x86_64-linux-gnu:@BUILD_ROOT@/tools/host-gobject-introspection/lib/x86_64-linux-gnu'
# Library path for our run-wrapper that allows it to load managarm libraries
RUN_WRAPPER_LD_LIBRARY_PATH: '@BUILD_ROOT@/tools/host-mlibc/lib:@SYSROOT_DIR@/usr/lib:@SYSROOT_DIR@/usr/lib64:@THIS_BUILD_DIR@/girepository'
# Similar to above, but using a nasty (but working) hack lets us use a Linux mlibc build to execute an
# executable that was cross-compiled for managarm
RUN_WRAPPER_INTERP: '@BUILD_ROOT@/tools/host-mlibc/lib/ld.so'
# This is a custom environment variable which tells g-ir-scanner what to use instead of ldd
# We point it at our native ldd-wrapper that's installed as part of host-gobject-introspection
GI_LDD_WRAPPER: ldd-wrapper
# This tells g-ir-scanner what program should be used for "cross-launching" the executables it builds
GI_CROSS_LAUNCHER: run-wrapper
# Path to the introspection data installed by other packages
GI_GIR_PATH: '@SYSROOT_DIR@/usr/share/gir-1.0'
VALADIR: '@SYSROOT_DIR@/usr/share/vala/vapi'
# Wrapper to add our valadir
VALAC: 'cross-valac'
# Wrapper to add our valadir
VAPIGEN: 'cross-vapigen'
- args: ['ninja', 'install']
environ:
DESTDIR: '@THIS_COLLECT_DIR@'
# Make python load host libraries instead of the ones in the rootfs
LD_LIBRARY_PATH: '@BUILD_ROOT@/tools/host-glib/lib:@BUILD_ROOT@/tools/host-glib/lib/x86_64-linux-gnu:@BUILD_ROOT@/tools/host-gobject-introspection/lib/x86_64-linux-gnu'
# Library path for our run-wrapper that allows it to load managarm libraries
RUN_WRAPPER_LD_LIBRARY_PATH: '@BUILD_ROOT@/tools/host-mlibc/lib:@SYSROOT_DIR@/usr/lib:@SYSROOT_DIR@/usr/lib64:@THIS_BUILD_DIR@/girepository'
# Similar to above, but using a nasty (but working) hack lets us use a Linux mlibc build to execute an
# executable that was cross-compiled for managarm
RUN_WRAPPER_INTERP: '@BUILD_ROOT@/tools/host-mlibc/lib/ld.so'
# This is a custom environment variable which tells g-ir-scanner what to use instead of ldd
# We point it at our native ldd-wrapper that's installed as part of host-gobject-introspection
GI_LDD_WRAPPER: ldd-wrapper
# This tells g-ir-scanner what program should be used for "cross-launching" the executables it builds
GI_CROSS_LAUNCHER: run-wrapper
# Path to the introspection data installed by other packages
GI_GIR_PATH: '@SYSROOT_DIR@/usr/share/gir-1.0'
VALADIR: '@SYSROOT_DIR@/usr/share/vala/vapi'
# Wrapper to add our valadir
VALAC: 'cross-valac'
# Wrapper to add our valadir
VAPIGEN: 'cross-vapigen'

- name: gcr4
architecture: '@OPTION:arch@'
metadata:
summary: Libraries for cryptographic UIs and accessing PKCS#11 modules
description: This package contains libraries used for displaying certificates and accessing key stores. It also provides the viewer for crypto files on the GNOME Desktop.
spdx: 'LGPL-2.0-or-later GPL-2.0-or-later'
website: 'https://gitlab.gnome.org/GNOME/gcr'
maintainer: "Dennis Bonke <[email protected]>"
categories: ['app-crypt']
source:
subdir: 'ports'
git: 'https://gitlab.gnome.org/GNOME/gcr.git'
tag: '4.1.0'
version: '4.1.0'
tools_required:
- host-pkg-config
- system-gcc
- virtual: pkgconfig-for-target
triple: '@OPTION:arch-triple@'
- host-mlibc
- host-gobject-introspection
- host-python
- host-glib
- host-vala
pkgs_required:
- mlibc
- glib
- libgcrypt
- gobject-introspection
- p11-kit
- libsecret
- dbus
- gtk4
- libxml
configure:
- args:
- 'meson'
- 'setup'
- '--cross-file'
- '@SOURCE_ROOT@/scripts/meson-@OPTION:[email protected]'
- '--prefix=/usr'
- '--wrap-mode=nofallback'
- '--sysconfdir=/etc'
- '-Dgtk_doc=false'
- '-Dintrospection=true'
- '-Dssh_agent=false'
- '-Dsystemd=disabled'
- '@THIS_SOURCE_DIR@'
environ:
# Same as below
RUN_WRAPPER_LD_LIBRARY_PATH: '@BUILD_ROOT@/tools/host-mlibc/lib:@SYSROOT_DIR@/usr/lib:@SYSROOT_DIR@/usr/lib64:@THIS_BUILD_DIR@/girepository'
RUN_WRAPPER_INTERP: '@BUILD_ROOT@/tools/host-mlibc/lib/ld.so'
VALADIR: '@SYSROOT_DIR@/usr/share/vala/vapi'
# Wrapper to add our valadir
VAPIGEN: 'cross-vapigen'
build:
- args: ['ninja']
environ:
# Make python load host libraries instead of the ones in the rootfs
LD_LIBRARY_PATH: '@BUILD_ROOT@/tools/host-glib/lib:@BUILD_ROOT@/tools/host-glib/lib/x86_64-linux-gnu:@BUILD_ROOT@/tools/host-gobject-introspection/lib/x86_64-linux-gnu'
# Library path for our run-wrapper that allows it to load managarm libraries
RUN_WRAPPER_LD_LIBRARY_PATH: '@BUILD_ROOT@/tools/host-mlibc/lib:@SYSROOT_DIR@/usr/lib:@SYSROOT_DIR@/usr/lib64:@THIS_BUILD_DIR@/girepository'
# Similar to above, but using a nasty (but working) hack lets us use a Linux mlibc build to execute an
# executable that was cross-compiled for managarm
RUN_WRAPPER_INTERP: '@BUILD_ROOT@/tools/host-mlibc/lib/ld.so'
# This is a custom environment variable which tells g-ir-scanner what to use instead of ldd
# We point it at our native ldd-wrapper that's installed as part of host-gobject-introspection
GI_LDD_WRAPPER: ldd-wrapper
# This tells g-ir-scanner what program should be used for "cross-launching" the executables it builds
GI_CROSS_LAUNCHER: run-wrapper
# Path to the introspection data installed by other packages
GI_GIR_PATH: '@SYSROOT_DIR@/usr/share/gir-1.0'
VALADIR: '@SYSROOT_DIR@/usr/share/vala/vapi'
# Wrapper to add our valadir
VALAC: 'cross-valac'
# Wrapper to add our valadir
VAPIGEN: 'cross-vapigen'
- args: ['ninja', 'install']
environ:
DESTDIR: '@THIS_COLLECT_DIR@'
# Make python load host libraries instead of the ones in the rootfs
LD_LIBRARY_PATH: '@BUILD_ROOT@/tools/host-glib/lib:@BUILD_ROOT@/tools/host-glib/lib/x86_64-linux-gnu:@BUILD_ROOT@/tools/host-gobject-introspection/lib/x86_64-linux-gnu'
# Library path for our run-wrapper that allows it to load managarm libraries
RUN_WRAPPER_LD_LIBRARY_PATH: '@BUILD_ROOT@/tools/host-mlibc/lib:@SYSROOT_DIR@/usr/lib:@SYSROOT_DIR@/usr/lib64:@THIS_BUILD_DIR@/girepository'
# Similar to above, but using a nasty (but working) hack lets us use a Linux mlibc build to execute an
# executable that was cross-compiled for managarm
RUN_WRAPPER_INTERP: '@BUILD_ROOT@/tools/host-mlibc/lib/ld.so'
# This is a custom environment variable which tells g-ir-scanner what to use instead of ldd
# We point it at our native ldd-wrapper that's installed as part of host-gobject-introspection
GI_LDD_WRAPPER: ldd-wrapper
# This tells g-ir-scanner what program should be used for "cross-launching" the executables it builds
GI_CROSS_LAUNCHER: run-wrapper
# Path to the introspection data installed by other packages
GI_GIR_PATH: '@SYSROOT_DIR@/usr/share/gir-1.0'
VALADIR: '@SYSROOT_DIR@/usr/share/vala/vapi'
# Wrapper to add our valadir
VALAC: 'cross-valac'
# Wrapper to add our valadir
VAPIGEN: 'cross-vapigen'

- name: libsecret
architecture: '@OPTION:arch@'
metadata:
Expand Down
64 changes: 64 additions & 0 deletions bootstrap.d/dev-lang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,70 @@ packages:
DESTDIR: '@THIS_COLLECT_DIR@'
quiet: true

- name: spidermonkey
architecture: '@OPTION:arch@'
metadata:
summary: SpiderMonkey is Mozilla's JavaScript and WebAssembly Engine, written in C++ and Rust.
description: SpiderMonkey is Mozilla's JavaScript and WebAssembly Engine, written in C++ and Rust.
spdx: 'MPL-2.0'
website: 'https://spidermonkey.dev/'
maintainer: "Dennis Bonke <[email protected]>"
categories: ['dev-lang']
source:
subdir: 'ports'
url: 'https://archive.mozilla.org/pub/firefox/releases/115.7.0esr/source/firefox-115.7.0esr.source.tar.xz'
format: 'tar.xz'
checksum: blake2b:9cacd9cd7e9b9040f37843645bc6823d72b3b736a3c4dcef7706304ebeda718e36e98962d9d9c000b7507fdfda40bd19ca4c8267573dc623a9507a7f77b17b52
extract_path: 'firefox-115.7.0'
patch-path-strip: 1
version: '115.7.0esr'
tools_required:
- host-cargo
- system-gcc
- host-llvm-toolchain
- host-rust
- host-automake-v1.15
sources_required:
- rust-patched-libs
pkgs_required:
- mlibc
- readline
- zlib
- icu
- which
- llvm
- nss
- nspr
configure:
- args: ['cp',
'@BUILD_ROOT@/tools/host-automake-v1.15/share/automake-1.15/config.sub',
'@THIS_SOURCE_DIR@/build/autoconf/']
- args:
- '@THIS_SOURCE_DIR@/js/src/configure'
- '--target=@OPTION:arch-triple@'
- '--with-toolchain-prefix=@OPTION:arch-triple@'
- '--prefix=/usr'
- '--disable-debug-symbols'
- '--disable-jemalloc'
- '--enable-readline'
- '--enable-rust-simd'
- '--with-intl-api'
- '--with-system-icu'
- '--with-system-zlib'
environ:
CC: '@OPTION:arch-triple@-gcc'
CXX: '@OPTION:arch-triple@-g++'
HOST_CC: 'gcc'
HOST_CXX: 'g++'
build:
- args: ['make', '-j@PARALLELISM@']
- args: ['make', 'install']
environ:
DESTDIR: '@THIS_COLLECT_DIR@'
- args: ['rm', '-v', '@THIS_COLLECT_DIR@/usr/lib/libjs_static.ajs']
- args: |
sed -i '/@NSPR_CFLAGS\@/d' @THIS_COLLECT_DIR@/usr/bin/js115-config

- name: tcl
architecture: '@OPTION:arch@'
metadata:
Expand Down
Loading