Compare commits
29
Commits
| Author | SHA256 | Date | |
|---|---|---|---|
|
|
86dfde3670 | ||
|
|
3891f33a7e | ||
|
|
b3f7fe6e13 | ||
|
|
60b05c9edb | ||
|
|
46e4b7ebcf | ||
|
|
e12946e232 | ||
|
|
5866a25931 | ||
|
|
ecf7ecd45c | ||
|
|
96da73c15f | ||
|
|
c5aeaa5f5d | ||
|
|
6a81e61bcd | ||
|
|
70a38d6b9d | ||
|
|
ba53b9db82 | ||
|
|
4d40823523 | ||
|
|
42cf5abc9c | ||
|
|
826ddd684e | ||
|
|
c96702d282 | ||
|
|
0da7bcbabc | ||
|
|
183872ee02 | ||
|
|
48d274535d | ||
|
|
99b631b57f | ||
|
|
b2a01bbe22 | ||
|
|
714947d019 | ||
|
|
0876c0d497 | ||
|
|
e5a3aff10d | ||
|
|
7c22973e81 | ||
|
|
b8371c7041 | ||
|
|
676e38c321 | ||
|
|
a98b479df8 |
No files matched your search
@@ -32,6 +32,4 @@ def pack(composer):
|
||||
package("7z")
|
||||
dep("semi-libc @same-arch")
|
||||
dep("libcxx @same-arch")
|
||||
dep("libcxxabi @same-arch")
|
||||
dep("libunwind @same-arch")
|
||||
on_pack(pack)
|
||||
@@ -17,9 +17,13 @@ weights = ["Bold", "Book", "Eight", "ExtraBold", "ExtraLight", "Four", "Hair", "
|
||||
|
||||
def find_file(width, style, weight):
|
||||
modify = width
|
||||
suffix = style
|
||||
if width == "Normal":
|
||||
modify = ""
|
||||
filename = f"FiraSans{modify}-{weight}{style}.otf"
|
||||
if style == "Roman":
|
||||
suffix = ""
|
||||
w = weight if weight else "Regular"
|
||||
filename = f"FiraSans{modify}-{weight}{suffix}.otf"
|
||||
if os.path.exists(f"{width}/{style}/{filename}"):
|
||||
return filename
|
||||
return None
|
||||
|
||||
@@ -9,6 +9,8 @@ description("AirBoot Linux initramfs generator.")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_managed("gitea://gitea.semilabs.org/semios/airboot-linux-stage2#0.1.0-alpha.3")
|
||||
|
||||
block_hook("autostrip")
|
||||
|
||||
|
||||
def build():
|
||||
os.system("./arch-support/build.sh")
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import os
|
||||
|
||||
from lib import arch, cpp
|
||||
from lib.make import *
|
||||
|
||||
|
||||
upstream_version = "1.2.16.1"
|
||||
|
||||
version(upstream_version)
|
||||
@@ -14,16 +17,16 @@ builddep(f"linux-dev @{arch.get_target()}")
|
||||
|
||||
|
||||
def build():
|
||||
cpp.configure(
|
||||
[
|
||||
"--prefix=/",
|
||||
f"--libdir={get_prefix('alsa-lib')}/lib",
|
||||
f"--includedir={get_prefix('alsa-lib-dev')}/include",
|
||||
"--enable-symbolic-functions",
|
||||
f"--with-configdir={get_prefix('alsa-lib')}/share/alsa",
|
||||
f"--with-plugindir=/lib/{arch.get_target()}/alsa/plugins",
|
||||
]
|
||||
)
|
||||
os.environ["CFLAGS"] = os.environ.get("CFLAGS", "") + " -fno-lto"
|
||||
os.environ["LDFLAGS"] = os.environ.get("LDFLAGS", "") + " -fno-lto"
|
||||
cpp.configure([
|
||||
"--prefix=/",
|
||||
f"--libdir={get_prefix('alsa-lib')}/lib",
|
||||
f"--includedir={get_prefix('alsa-lib-dev')}/include",
|
||||
"--enable-symbolic-functions",
|
||||
f"--with-configdir={get_prefix('alsa-lib')}/share/alsa",
|
||||
f"--with-plugindir=/lib/{arch.get_target()}/alsa/plugins",
|
||||
])
|
||||
cpp.make()
|
||||
cpp.make_install()
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ maintainer("sisungo <[email protected]>")
|
||||
source_managed("github://lu-zero/cargo-c#v0.10.26", "rust")
|
||||
|
||||
builddep("shortcut/rust")
|
||||
builddep("pkgconf-dev @target")
|
||||
builddep("pkgconf @target")
|
||||
builddep("aws-lc-dev @target")
|
||||
builddep("rust-bindgen")
|
||||
|
||||
|
||||
@@ -4,13 +4,13 @@ from lib import cpp
|
||||
from lib.make import *
|
||||
|
||||
|
||||
upstream_version = "4.4.2"
|
||||
upstream_version = "4.5.1"
|
||||
[upstream_major, upstream_minor, upstream_rev] = upstream_version.split(".")
|
||||
|
||||
version(upstream_version)
|
||||
description("a cross-platform, open-source build system generator")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_managed("github://Kitware/CMake#v4.4.2")
|
||||
source_managed("github://Kitware/CMake#v4.5.1")
|
||||
|
||||
builddep("shortcut/c++")
|
||||
builddep("shortcut/autotools")
|
||||
|
||||
@@ -2,10 +2,10 @@ import lib.rust as rust
|
||||
from lib.make import *
|
||||
|
||||
|
||||
version("0.12.0")
|
||||
version("0.13.0")
|
||||
description("system core utilities")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_managed("github://uutils/coreutils#0.12.0", "rust")
|
||||
source_managed("github://uutils/coreutils#0.13.0", "rust")
|
||||
|
||||
block_hook("autolink")
|
||||
|
||||
@@ -133,3 +133,4 @@ for func in functions:
|
||||
link(f"bin/coreutils", f"/bin/{func}")
|
||||
rust.use_auto_pack(["bin"])
|
||||
dep("semi-libc @same-arch")
|
||||
dep("libunwind @same-arch")
|
||||
@@ -23,10 +23,11 @@ builddep("libgraphene-dev @target")
|
||||
builddep("cups-dev @target")
|
||||
builddep("libvulkan-dev @target")
|
||||
builddep("vulkan-headers @target")
|
||||
builddep("libgstreamer-dev @target")
|
||||
builddep("libdrm-dev @target")
|
||||
#builddep("libgstreamer-dev @target")
|
||||
#builddep("libgstgl-dev @target")
|
||||
#builddep("libgstplay-dev @target")
|
||||
builddep("libgstallocators-dev @target")
|
||||
#builddep("libgstallocators-dev @target")
|
||||
builddep("shaderc")
|
||||
builddep("linux-dev @target")
|
||||
|
||||
|
||||
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
prefix=$(dirname $0)/../../
|
||||
|
||||
[ -e "/var/config/network/named.toml" ] && exit 0
|
||||
|
||||
echo "Copying the default named.toml to /var/config/network/ since it does not exist..."
|
||||
mkdir -m 755 -p /var/config/network
|
||||
cp "$prefix/share/hickory-dns/named.toml" "/var/config/network/named.toml"
|
||||
@@ -0,0 +1,14 @@
|
||||
[service]
|
||||
display-name = "Hickory DNS"
|
||||
description = "Stand-alone Hickory DNS service."
|
||||
|
||||
[exec]
|
||||
pre-start = "%PREFIX%/share/hickory-dns/ensure-config"
|
||||
start = "%PREFIX%/bin/hickory-dns --config /var/config/network/named.toml"
|
||||
|
||||
[env]
|
||||
working_dir = "/var/empty"
|
||||
clear_vars = true
|
||||
|
||||
[env.vars]
|
||||
PATH = "/bin"
|
||||
@@ -0,0 +1,7 @@
|
||||
listen_addrs_ipv4 = ["0.0.0.0"]
|
||||
listen_port = 53
|
||||
|
||||
[[zones]]
|
||||
zone = "."
|
||||
zone_type = "External"
|
||||
stores = { type = "forward", name_servers = [{ ip = "1.1.1.1", connections = [{protocol = { type = "udp" }}] }] }
|
||||
@@ -0,0 +1,44 @@
|
||||
import os
|
||||
|
||||
from lib import rust
|
||||
from lib.make import *
|
||||
|
||||
|
||||
version("0.26.3")
|
||||
description("A cross-platform, high-performance and asynchronous web server for static files-serving.")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_managed("github://hickory-dns/hickory-dns#v0.26.3", "rust")
|
||||
|
||||
builddep("shortcut/rust")
|
||||
|
||||
|
||||
def build():
|
||||
rust.build()
|
||||
|
||||
on_build(build)
|
||||
|
||||
|
||||
pkgdir = os.getcwd()
|
||||
def service_file():
|
||||
with open(f"{pkgdir}/hickory-dns.airs") as fd:
|
||||
s = fd.read()
|
||||
s = s.replace("%PREFIX%", get_prefix("hickory-dns"))
|
||||
with open("hickory-dns.airs", "wt+") as fd:
|
||||
fd.write(s)
|
||||
return "hickory-dns.airs"
|
||||
|
||||
def pack(composer):
|
||||
composer.makedir("bin")
|
||||
for i in ["dns", "hickory-dns", "recurse", "resolve"]:
|
||||
composer.add(rust.artifacts_dir() + "/" + i, "bin/" + i)
|
||||
composer.makedir("share")
|
||||
composer.makedir("share/services")
|
||||
composer.add(service_file(), "share/services/hickory-dns.airs")
|
||||
composer.makedir("share/hickory-dns")
|
||||
composer.add(f"{pkgdir}/named.toml", "share/hickory-dns/named.toml")
|
||||
composer.add(f"{pkgdir}/ensure-config", "share/hickory-dns/ensure-config")
|
||||
|
||||
package("hickory-dns")
|
||||
dep("semi-libc @same-arch")
|
||||
dep("libunwind @same-arch")
|
||||
on_pack(pack)
|
||||
@@ -2,4 +2,8 @@
|
||||
|
||||
[ "${ACTION}" = "remove" ] && exit
|
||||
|
||||
if [ -e "/share/milestones/default.airm" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
"${PREFIX}/bin/airup-select-default-milestone" "normal-boot"
|
||||
@@ -5,16 +5,16 @@ import lib
|
||||
from lib.make import *
|
||||
|
||||
|
||||
version("0.1.0-alpha.2")
|
||||
version("0.1.0-alpha.3")
|
||||
description("SemiOS init scripts")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_managed("gitea://gitea.semilabs.org/semios/init-scripts#v0.1.0-alpha.2")
|
||||
source_managed("gitea://gitea.semilabs.org/semios/init-scripts#v0.1.0-alpha.3")
|
||||
|
||||
builddep("gnu-sed")
|
||||
|
||||
|
||||
def build():
|
||||
subprocess.run(["env", f"PREFIX={get_prefix('init-scripts')}", "sh", "install.sh"], check=True)
|
||||
subprocess.run(["./install.sh", f"PREFIX={get_prefix('init-scripts')}"], check=True)
|
||||
os.chdir("./target")
|
||||
|
||||
on_build(build)
|
||||
|
||||
@@ -0,0 +1,56 @@
|
||||
from lib import cpp
|
||||
from lib.make import *
|
||||
|
||||
|
||||
version("1.10.0")
|
||||
description("Building blocks for modern GNOME applications")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_managed("gitlab://gitlab.gnome.org/GNOME/libadwaita#1.10.0")
|
||||
|
||||
builddep("shortcut/c")
|
||||
builddep("shortcut/meson")
|
||||
builddep("libgtk-dev (~4) @target")
|
||||
builddep("glib-tools")
|
||||
builddep("gobject-introspection @target")
|
||||
builddep("libministream-dev @target")
|
||||
builddep("libintl-dev @target")
|
||||
builddep("sassc")
|
||||
builddep("gettext")
|
||||
|
||||
|
||||
def build():
|
||||
cpp.meson_setup([
|
||||
"--prefix=/",
|
||||
f"--libdir={get_prefix('libadwaita')}/lib",
|
||||
f"--includedir={get_prefix('libadwaita-dev')}/include",
|
||||
"-Dintrospection=enabled",
|
||||
"-Dvapi=false",
|
||||
])
|
||||
cpp.meson_compile()
|
||||
cpp.meson_install()
|
||||
|
||||
on_build(build)
|
||||
|
||||
|
||||
package("libadwaita")
|
||||
dep("libglib @same-arch")
|
||||
dep("libfribidi @same-arch")
|
||||
dep("libgio @same-arch")
|
||||
dep("libgobject @same-arch")
|
||||
dep("libgtk (~4) @same-arch")
|
||||
dep("libpango @same-arch")
|
||||
dep("libgraphene @same-arch")
|
||||
dep("libministream @same-arch")
|
||||
dep("semi-libc @same-arch")
|
||||
cpp.use_auto_pack(["lib"])
|
||||
|
||||
package("libadwaita-dev")
|
||||
dep("libadwaita (same)")
|
||||
dep("glib-dev @same-arch")
|
||||
dep("libfribidi-dev @same-arch")
|
||||
dep("libgtk-dev (~4) @same-arch")
|
||||
dep("libpango-dev @same-arch")
|
||||
dep("libgraphene-dev @same-arch")
|
||||
dep("libministream-dev @same-arch")
|
||||
dep("semi-libc-dev @same-arch")
|
||||
cpp.use_auto_pack(["dev"])
|
||||
@@ -0,0 +1,35 @@
|
||||
import os
|
||||
|
||||
from lib import cpp
|
||||
from lib.make import *
|
||||
|
||||
|
||||
version("3.6.6")
|
||||
description("A C/C++ implementation of a Sass compiler")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_managed("github://sass/libsass#3.6.6")
|
||||
|
||||
builddep("shortcut/c++")
|
||||
builddep("shortcut/autotools")
|
||||
|
||||
|
||||
def build():
|
||||
os.environ["PREFIX"] = "/"
|
||||
os.environ["DESTDIR"] = os.getcwd() + "/../cpp_install"
|
||||
cpp.make(["install-shared"])
|
||||
cpp.make(["install-static"])
|
||||
os.chdir("../cpp_install")
|
||||
|
||||
on_build(build)
|
||||
|
||||
|
||||
package("libsass")
|
||||
dep("libcxx @same-arch")
|
||||
dep("semi-libc @same-arch")
|
||||
cpp.use_auto_pack(["lib"])
|
||||
|
||||
package("libsass-dev")
|
||||
dep("libsass (same)")
|
||||
dep("libcxx-dev @same-arch")
|
||||
dep("semi-libc-dev @same-arch")
|
||||
cpp.use_auto_pack(["dev"])
|
||||
@@ -6,7 +6,7 @@ from lib import cpp, arch, packie
|
||||
from lib.make import *
|
||||
|
||||
|
||||
upstream_version = "7.3.1"
|
||||
upstream_version = "7.3.5"
|
||||
|
||||
version(f"{upstream_version}")
|
||||
description("the Linux operating system kernel")
|
||||
@@ -28,6 +28,7 @@ builddep("bash")
|
||||
builddep("util-linux-text")
|
||||
builddep("rsync (=3.5.2)")
|
||||
builddep("kmod")
|
||||
builddep("perl")
|
||||
builddep("airboot-linux-stage2-mkinitramfs")
|
||||
builddep("airboot-linux-stage2-arch @target")
|
||||
builddep("libgelf-dev @target")
|
||||
|
||||
@@ -4,10 +4,10 @@ from lib import rust
|
||||
from lib.make import *
|
||||
|
||||
|
||||
version("0.1.0-alpha.5")
|
||||
version("0.1.0-alpha.6")
|
||||
description("Linux device userspace daemon.")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_managed("gitea://gitea.semilabs.org/semios/lxdeviced#0.1.0-alpha.5", "rust")
|
||||
source_managed("gitea://gitea.semilabs.org/semios/lxdeviced#v0.1.0-alpha.6", "rust")
|
||||
|
||||
builddep("shortcut/rust")
|
||||
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
from lib import cpp
|
||||
from lib.make import *
|
||||
|
||||
|
||||
version("0.99.1")
|
||||
description("a small subset of libappstream, intended to be used by libadwaita")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_managed("gitlab://gitlab.gnome.org/GNOME/ministream#0.99.1")
|
||||
|
||||
builddep("shortcut/c")
|
||||
builddep("shortcut/meson")
|
||||
builddep("glib-dev @target")
|
||||
builddep("glib-tools")
|
||||
builddep("gobject-introspection @target")
|
||||
|
||||
|
||||
def build():
|
||||
cpp.meson_setup([
|
||||
"--prefix=/",
|
||||
f"--libdir={get_prefix('libministream')}/lib",
|
||||
f"--includedir={get_prefix('libministream-dev')}/include",
|
||||
"-Dintrospection=enabled",
|
||||
"-Das-compare=disabled",
|
||||
])
|
||||
cpp.meson_compile()
|
||||
cpp.meson_install()
|
||||
|
||||
on_build(build)
|
||||
|
||||
|
||||
package("libministream")
|
||||
dep("libglib @same-arch")
|
||||
dep("libgobject @same-arch")
|
||||
dep("semi-libc @same-arch")
|
||||
cpp.use_auto_pack(["lib"])
|
||||
|
||||
package("libministream-dev")
|
||||
dep("libministream (same)")
|
||||
dep("glib-dev @same-arch")
|
||||
dep("semi-libc-dev @same-arch")
|
||||
cpp.use_auto_pack(["dev"])
|
||||
@@ -0,0 +1,28 @@
|
||||
from lib.make import *
|
||||
from lib import cpp
|
||||
|
||||
|
||||
version("3.2")
|
||||
description("The Netwide Assembler")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_url("https://www.nasm.us/pub/nasm/releasebuilds/3.02/nasm-3.02.tar.gz")
|
||||
|
||||
builddep("shortcut/c")
|
||||
builddep("shortcut/autotools")
|
||||
builddep("libz-dev @target")
|
||||
|
||||
|
||||
def build():
|
||||
cpp.configure([
|
||||
f"--prefix={get_prefix('nasm')}",
|
||||
])
|
||||
cpp.make()
|
||||
cpp.make_install()
|
||||
|
||||
on_build(build)
|
||||
|
||||
|
||||
package("nasm")
|
||||
dep("semi-libc @same-arch")
|
||||
dep("libz @same-arch")
|
||||
cpp.use_auto_pack(["bin"])
|
||||
@@ -0,0 +1,10 @@
|
||||
--- a/deps/LIEF/third-party/frozen/include/frozen/map.h 2026-11-11 00:20:13.000000000 +0000
|
||||
+++ b/deps/LIEF/third-party/frozen/include/frozen/map.h 2026-11-22 04:46:13.860461200 +0000
|
||||
@@ -23,6 +23,7 @@
|
||||
#ifndef FROZEN_LETITGO_MAP_H
|
||||
#define FROZEN_LETITGO_MAP_H
|
||||
|
||||
+#include <functional>
|
||||
#include "frozen/bits/algorithms.h"
|
||||
#include "frozen/bits/basic_types.h"
|
||||
#include "frozen/bits/exceptions.h"
|
||||
@@ -0,0 +1,90 @@
|
||||
from lib.make import *
|
||||
from lib import cpp
|
||||
|
||||
|
||||
version("26.13.1")
|
||||
description("A free, open-source and cross-platform JavaScript runtime environment.")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_url("https://nodejs.org/dist/v26.13.1/node-v26.13.1.tar.gz")
|
||||
|
||||
builddep("shortcut/c++")
|
||||
builddep("pkgconf @target")
|
||||
builddep("ninja @target")
|
||||
builddep("libsqlite-dev @target")
|
||||
builddep("libuv-dev @target")
|
||||
builddep("libnghttp2-dev @target")
|
||||
builddep("libz-dev @target")
|
||||
builddep("libbrotli-dev @target")
|
||||
builddep("libcares-dev @target")
|
||||
builddep("libzstd-dev @target")
|
||||
builddep("libicu4c-dev (~78) @target")
|
||||
builddep("libngtcp2-dev @target")
|
||||
builddep("libnghttp3-dev @target")
|
||||
builddep("python (>=3.14.0, <=3.14.9999) @target")
|
||||
builddep("linux-dev @target")
|
||||
builddep("gnu-make")
|
||||
builddep("gnu-sed")
|
||||
builddep("grep")
|
||||
|
||||
|
||||
def build():
|
||||
if in_atomic():
|
||||
with open(f"/lib/{current_target()}/libatomic.a", "wt+"):
|
||||
pass
|
||||
cpp.configure([
|
||||
f"--prefix={get_prefix('node')}",
|
||||
"--use_clang",
|
||||
"--enable-lto",
|
||||
"--openssl-use-def-ca-store",
|
||||
"--openssl-system-ca-path", "/var/config/ssl/ca-certificates.crt",
|
||||
"--shared-libuv",
|
||||
"--shared-nghttp2",
|
||||
"--shared-zlib",
|
||||
"--shared-brotli",
|
||||
"--shared-cares",
|
||||
#"--shared-sqlite",
|
||||
"--shared-zstd",
|
||||
"--shared-ngtcp2",
|
||||
"--shared-nghttp3",
|
||||
#"--shared-openssl",
|
||||
"--with-intl", "system-icu",
|
||||
])
|
||||
cpp.make()
|
||||
cpp.make_install()
|
||||
|
||||
on_build(build)
|
||||
|
||||
|
||||
def pack(composer):
|
||||
composer.makedir("bin")
|
||||
composer.add("bin/node")
|
||||
|
||||
def pack_npm(composer):
|
||||
composer.add("lib")
|
||||
composer.makedir("bin")
|
||||
for i in ["npm", "npx"]:
|
||||
with open(f"bin/{i}") as fd:
|
||||
file = fd.read()
|
||||
file = file.replace("#!/usr/bin/env node", "#!/bin/node")
|
||||
with open(f"bin/{i}", "wt") as fd:
|
||||
fd.write(file)
|
||||
composer.add(f"bin/{i}")
|
||||
|
||||
package("node")
|
||||
dep("semi-libc @same-arch")
|
||||
dep("libcxx @same-arch")
|
||||
dep("libz @same-arch")
|
||||
dep("libuv @same-arch")
|
||||
dep("libbrotli @same-arch")
|
||||
dep("libcares @same-arch")
|
||||
dep("libnghttp2 @same-arch")
|
||||
dep("libnghttp3 @same-arch")
|
||||
dep("libngtcp2 @same-arch")
|
||||
dep("libzstd @same-arch")
|
||||
dep("libicu4c (~78) @same-arch")
|
||||
on_pack(pack)
|
||||
|
||||
package("npm")
|
||||
dep("node")
|
||||
arch_any()
|
||||
on_pack(pack_npm)
|
||||
@@ -2,10 +2,10 @@ from lib import rust
|
||||
from lib.make import *
|
||||
|
||||
|
||||
version("0.1.0-alpha.5")
|
||||
version("0.1.0-alpha.6")
|
||||
description("SemiOS package manager")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_managed("gitea://gitea.semilabs.org/semios/packie#v0.1.0-alpha.5", "rust")
|
||||
source_managed("gitea://gitea.semilabs.org/semios/packie#v0.1.0-alpha.6", "rust")
|
||||
|
||||
builddep("shortcut/rust")
|
||||
builddep("libsqlite-dev @target")
|
||||
|
||||
@@ -376,6 +376,12 @@ build.ccache = false
|
||||
# For example, exclude = ["tests/ui", "src/tools/tidy"].
|
||||
#build.exclude = []
|
||||
|
||||
# Link the compiler and LLVM against the specified allocator instead of the default libc allocator.
|
||||
# This option is only tested on Linux and OSX. It can also be configured per-target in the
|
||||
# [target.<tuple>] section.
|
||||
# Possible options: "jemalloc"
|
||||
#build.allocator = <default>
|
||||
|
||||
# =============================================================================
|
||||
# General install configuration options
|
||||
# =============================================================================
|
||||
@@ -680,11 +686,6 @@ rust.verify-llvm-ir = false
|
||||
# Useful for reproducible builds. Generally only set for releases
|
||||
rust.remap-debuginfo = true
|
||||
|
||||
# Link the compiler and LLVM against `jemalloc` instead of the default libc allocator.
|
||||
# This option is only tested on Linux and OSX. It can also be configured per-target in the
|
||||
# [target.<tuple>] section.
|
||||
rust.jemalloc = false
|
||||
|
||||
# Run tests in various test suites with the "nll compare mode" in addition to
|
||||
# running the tests in normal mode. Largely only used on CI and during local
|
||||
# development of NLL
|
||||
|
||||
@@ -6,7 +6,7 @@ from lib.make import *
|
||||
from lib import arch
|
||||
|
||||
|
||||
upstream_version = "1.99.1"
|
||||
upstream_version = "1.100.0"
|
||||
|
||||
version(upstream_version)
|
||||
description("A language empowering everyone to build reliable and efficient software")
|
||||
@@ -16,9 +16,9 @@ source_url(f"https://static.rust-lang.org/dist/rustc-{upstream_version}-src.tar.
|
||||
builddep("shortcut/cmake")
|
||||
builddep("shortcut/c++")
|
||||
builddep("python")
|
||||
builddep(f"libz-ng-dev @{arch.get_target()}")
|
||||
builddep(f"linux-dev @{arch.get_target()}")
|
||||
builddep(f"libunwind-dev @{arch.get_target()}")
|
||||
builddep("libz-ng-dev @target")
|
||||
builddep("linux-dev @target")
|
||||
builddep("libunwind-dev @target")
|
||||
builddep("curl")
|
||||
builddep("grep")
|
||||
builddep("sed")
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
from lib import cpp
|
||||
from lib.make import *
|
||||
|
||||
|
||||
version("3.6.2")
|
||||
description("libsass command line driver")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_managed("github://sass/sassc#3.6.2", "autotools")
|
||||
|
||||
builddep("shortcut/c")
|
||||
builddep("shortcut/autotools")
|
||||
builddep("libsass-dev @target")
|
||||
|
||||
|
||||
def build():
|
||||
cpp.configure()
|
||||
cpp.make()
|
||||
cpp.make_install()
|
||||
|
||||
on_build(build)
|
||||
|
||||
|
||||
package("sassc")
|
||||
dep("libsass @same-arch")
|
||||
dep("libcxx @same-arch")
|
||||
dep("semi-libc @same-arch")
|
||||
cpp.use_auto_pack(["bin"])
|
||||
@@ -1,10 +1,11 @@
|
||||
from lib import arch, cpp
|
||||
from lib.make import *
|
||||
|
||||
version("1.2.6.3")
|
||||
|
||||
version("1.2.6.4")
|
||||
description("the SemiOS fork of musl-libc, providing POSIX C standard library and system runtime")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_managed("gitea://gitea.semilabs.org/semios/semi-libc#v1.2.6.3")
|
||||
source_managed("gitea://gitea.semilabs.org/semios/semi-libc#v1.2.6.4")
|
||||
|
||||
builddep("shortcut/c")
|
||||
builddep("shortcut/autotools")
|
||||
@@ -12,21 +13,18 @@ builddep("bash")
|
||||
|
||||
|
||||
def build():
|
||||
# FIXME: Building the package requires `/bin/sh` to be bash.
|
||||
if in_atomic():
|
||||
os.system("ln -sf /bin/bash /bin/sh")
|
||||
cpp.configure(["--prefix=/"])
|
||||
cpp.make()
|
||||
cpp.make_install()
|
||||
|
||||
|
||||
on_build(build)
|
||||
|
||||
|
||||
def musl_target():
|
||||
return arch.get_target().split("-")[0]
|
||||
|
||||
|
||||
package("semi-libc")
|
||||
cpp.use_auto_pack(["lib"])
|
||||
link("lib/libc.so", f"/lib/ld-musl-{musl_target()}.so.1")
|
||||
|
||||
@@ -1,20 +1,24 @@
|
||||
import os
|
||||
|
||||
from lib.make import *
|
||||
from lib import arch
|
||||
|
||||
def deplinux(s):
|
||||
if "linux" in arch.get_target():
|
||||
dep(s)
|
||||
|
||||
version("1.0.0")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_url(f"file://{os.getcwd()}/empty.tar")
|
||||
|
||||
|
||||
on_build(lambda: print("Building virtual package `semios-assembly`..."))
|
||||
|
||||
|
||||
def deplinux(s):
|
||||
if "linux" in current_target():
|
||||
dep(s)
|
||||
|
||||
|
||||
package("SemiOS.Assembly.CoreRuntime")
|
||||
description("Assembly of the core SemiOS runtime")
|
||||
dep("SemiOS.BaseFiles")
|
||||
deplinux("semi-libc @same-arch")
|
||||
deplinux("libgcc-compat @same-arch")
|
||||
dep("libunwind @same-arch")
|
||||
@@ -25,6 +29,8 @@ dep("diffutils @same-arch")
|
||||
dep("grep @same-arch")
|
||||
dep("packie @same-arch")
|
||||
dep("iana-timezone-db")
|
||||
deplinux("util-linux-mount @same-arch")
|
||||
deplinux("procps-ng @same-arch")
|
||||
on_pack(lambda _: print("Packing virtual package `SemiOS.Assembly.CoreRuntime`..."))
|
||||
|
||||
package("SemiOS.Assembly.Cli")
|
||||
@@ -34,6 +40,7 @@ dep("ncurses-tools @same-arch")
|
||||
dep("ncurses-terminfo")
|
||||
dep("mandoc @same-arch")
|
||||
dep("neatvi @same-arch")
|
||||
deplinux("util-linux-term @same-arch")
|
||||
on_pack(lambda _: print("Packing virtual package `SemiOS.Assembly.Cli`..."))
|
||||
|
||||
package("SemiOS.Assembly.Networking")
|
||||
@@ -43,8 +50,31 @@ dep("aws-lc-tools @same-arch")
|
||||
dep("certutil @same-arch")
|
||||
dep("ca-certificates")
|
||||
deplinux("iproute2 @same-arch")
|
||||
deplinux("iputils @same-arch")
|
||||
on_pack(lambda _: print("Packing virtual package `SemiOS.Assembly.Networking`..."))
|
||||
|
||||
package("SemiOS.Assembly.Bootable")
|
||||
description("Assembly of packages that are necessary for a bootable system")
|
||||
dep("SemiOS.Assembly.CoreRuntime @same-arch")
|
||||
dep("SemiOS.Assembly.Cli @same-arch")
|
||||
dep("SemiOS.Assembly.Networking @same-arch")
|
||||
dep("airup @same-arch")
|
||||
dep("init-scripts")
|
||||
dep("lxdeviced @same-arch")
|
||||
dep("account @same-arch")
|
||||
dep("sudo @same-arch")
|
||||
deplinux("util-linux-fs @same-arch")
|
||||
deplinux("util-linux-swap @same-arch")
|
||||
deplinux("util-linux-mkfs @same-arch")
|
||||
deplinux("util-linux-fsck @same-arch")
|
||||
deplinux("util-linux-proc @same-arch")
|
||||
deplinux("util-linux-arch @same-arch")
|
||||
deplinux("util-linux-hardware @same-arch")
|
||||
deplinux("util-linux-security @same-arch")
|
||||
deplinux("util-linux-ipc @same-arch")
|
||||
deplinux("kmod @same-arch")
|
||||
on_pack(lambda _: print("Packing virtual package `SemiOS.Assembly.Bootable`..."))
|
||||
|
||||
package("SemiOS.Assembly.NativeDevTools")
|
||||
description("Assembly of essential SemiOS build tools for native code")
|
||||
dep("llvm @same-arch")
|
||||
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
#!/bin/sh
|
||||
|
||||
[ "$ACTION" == "remove" ] && exit 0
|
||||
|
||||
# When this script is run: we already have some directories, but their permissions might be incorrect.
|
||||
# Let us correct them.
|
||||
mkdir -p /pkg && chmod 00755 /pkg
|
||||
mkdir -p /var && chmod 00755 /var
|
||||
mkdir -p /bin && chmod 00755 /bin
|
||||
mkdir -p /lib && chmod 00755 /lib
|
||||
mkdir -p /share && chmod 00755 /share
|
||||
mkdir -p /home && chmod 00755 /home
|
||||
mkdir -p /home/root && chmod 02700 /home/root
|
||||
mkdir -p /tmp && chmod 01777 /tmp
|
||||
mkdir -p /run && chmod 00755 /run
|
||||
|
||||
# Create directory `/var/empty`
|
||||
# It should never be written, but can be chdir'ed. So 555 for its permission.
|
||||
mkdir -p /var/empty && chmod 00555 /var/empty
|
||||
|
||||
# Create directory `/var/log`
|
||||
# It has subdirectories for different providers, which may be accessed from different users, so we use 755 here
|
||||
mkdir -p /var/log && chmod 00755 /var/log
|
||||
|
||||
# Alias: `/var/run -> /run`, using relative path to better view out of the container
|
||||
ln -s ../run /var/run
|
||||
|
||||
# Global "long-lived" temp file directory, globally-accessible but with sticky bit
|
||||
mkdir -p /var/tmp && chmod 01777 /var/tmp
|
||||
Binary file not shown.
@@ -0,0 +1,19 @@
|
||||
import os
|
||||
|
||||
from lib.make import *
|
||||
|
||||
version("1.0.0")
|
||||
description("Base SemiOS files that are not created by links.")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_url(f"file://{os.getcwd()}/empty.tar")
|
||||
|
||||
|
||||
on_build(lambda: print("Building virtual package `base-files`..."))
|
||||
|
||||
|
||||
package("SemiOS.BaseFiles")
|
||||
arch_any()
|
||||
dep("mksh")
|
||||
dep("coreutils")
|
||||
configure_script("configure/create-base-files")
|
||||
on_pack(lambda _: print("Packing virtual package `base-files`..."))
|
||||
@@ -1,43 +0,0 @@
|
||||
import os
|
||||
|
||||
from lib import rust
|
||||
from lib.make import *
|
||||
|
||||
|
||||
version("0.1.0-alpha.1")
|
||||
description("A cross-platform, OpenGL terminal emulator.")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_managed("gitea://gitea.semilabs.org/semios/semios-login-manager#v0.1.0-alpha.1", "rust")
|
||||
|
||||
builddep("shortcut/rust")
|
||||
|
||||
block_hook("autolink")
|
||||
|
||||
|
||||
pkgdir = os.getcwd()
|
||||
def build():
|
||||
with open(f"{pkgdir}/semios-login-manager.airs") as fd:
|
||||
airs = fd.read()
|
||||
airs = airs.replace("%PREFIX%", get_prefix("semios-login-manager"))
|
||||
with open("semios-login-manager.airs", "wt+") as fd:
|
||||
fd.write(airs)
|
||||
rust.build(["--features", "backend_semios"])
|
||||
|
||||
on_build(build)
|
||||
|
||||
|
||||
def pack(composer):
|
||||
composer.makedir("bin")
|
||||
composer.add(rust.artifacts_dir() + "/launcher", "bin/semios-login-manager")
|
||||
composer.add(rust.artifacts_dir() + "/ui", "bin/ui")
|
||||
composer.makedirs("share/services")
|
||||
composer.add("semios-login-manager.airs", "share/services/semios-login-manager.airs")
|
||||
|
||||
package("semios-login-manager")
|
||||
dep("semi-libc @same-arch")
|
||||
dep("seatd")
|
||||
dep("cage")
|
||||
dep("xkeyboard-config")
|
||||
link("share/services/semios-login-manager.airs", "/share/services/semios-login-manager.airs")
|
||||
link("bin/semios-login-manager", "/bin/semios-login-manager")
|
||||
on_pack(pack)
|
||||
@@ -1,14 +0,0 @@
|
||||
[service]
|
||||
display-name = "Graphical Login Manager"
|
||||
description = "On all available seats, it manages graphical sessions and user logins."
|
||||
dependencies = ["seatd"]
|
||||
|
||||
[exec]
|
||||
start = "%PREFIX%/bin/semios-login-manager"
|
||||
|
||||
[env]
|
||||
working_dir = "/"
|
||||
clear_vars = true
|
||||
|
||||
[env.vars]
|
||||
PATH = "/bin"
|
||||
@@ -0,0 +1,26 @@
|
||||
from lib.make import *
|
||||
from lib import cpp
|
||||
|
||||
|
||||
version("0.56.19")
|
||||
description("a library that provides automatic proxy configuration management")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_managed("gitlab://gitlab.gnome.org/GNOME/vala#0.56.19", "autotools")
|
||||
|
||||
builddep("shortcut/c++")
|
||||
builddep("shortcut/autotools")
|
||||
builddep("vala")
|
||||
builddep("glib-dev @target")
|
||||
builddep("gobject-introspection @target")
|
||||
builddep("glib-tools")
|
||||
builddep("flex")
|
||||
builddep("bison")
|
||||
builddep("graphviz-dev @target")
|
||||
|
||||
|
||||
def build():
|
||||
cpp.configure(["--help"])
|
||||
cpp.make()
|
||||
cpp.make_install()
|
||||
|
||||
on_build(build)
|
||||
@@ -4,10 +4,10 @@ from lib import cpp
|
||||
from lib.make import *
|
||||
|
||||
|
||||
version("1.5.7")
|
||||
version("1.6.0")
|
||||
description("Zstandard - Fast real-time compression algorithm")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_managed("github://facebook/zstd#v1.5.7")
|
||||
source_managed("github://facebook/zstd#v1.6.0")
|
||||
|
||||
builddep("shortcut/c")
|
||||
builddep("shortcut/autotools")
|
||||
|
||||
Reference in new issue
Block a user