Patch COSMIC apps to use new rustix and update cosmic-store to openssl3

This commit is contained in:
Jeremy Soller 2026-02-18 11:18:31 -07:00
parent 0a6a4081b8
commit 0a94b5c2d3
4 changed files with 10 additions and 5 deletions

View File

@ -11,7 +11,8 @@ dependencies = [
script = """
DYNAMIC_INIT
export GETTEXT_DIR="${COOKBOOK_SYSROOT}/usr"
cookbook_cargo --no-default-features
#TODO: drop patched rustix after upstream release
cookbook_cargo --no-default-features --config 'patch.crates-io.rustix.git = "https://github.com/bytecodealliance/rustix"'
mkdir -pv "${COOKBOOK_STAGE}/usr/share/ui/apps"
cp -v "${COOKBOOK_RECIPE}/manifest" "${COOKBOOK_STAGE}/usr/share/ui/apps/30_cosmic-edit"

View File

@ -11,7 +11,8 @@ dependencies = [
script = """
DYNAMIC_INIT
export GETTEXT_DIR="${COOKBOOK_SYSROOT}/usr"
cookbook_cargo --no-default-features
#TODO: drop patched rustix after upstream release
cookbook_cargo --no-default-features --config 'patch.crates-io.rustix.git = "https://github.com/bytecodealliance/rustix"'
mkdir -pv "${COOKBOOK_STAGE}/usr/bin/"
cp -v "target/${TARGET}/release/cosmic-files" "${COOKBOOK_STAGE}/usr/bin/"

View File

@ -7,12 +7,14 @@ template = "custom"
dependencies = [
"gettext",
"libxkbcommon",
"openssl1",
"openssl3",
]
script = """
DYNAMIC_INIT
export GETTEXT_DIR="${COOKBOOK_SYSROOT}/usr"
cookbook_cargo --no-default-features --features desktop,pkgar
export ZSTD_SYS_USE_PKG_CONFIG=1
#TODO: drop patched rustix after upstream release
cookbook_cargo --no-default-features --features desktop,pkgar --config 'patch.crates-io.rustix.git = "https://github.com/bytecodealliance/rustix"'
#TODO: install with just?
APPID="com.system76.CosmicStore"

View File

@ -11,7 +11,8 @@ dependencies = [
script = """
DYNAMIC_INIT
export GETTEXT_DIR="${COOKBOOK_SYSROOT}/usr"
cookbook_cargo --no-default-features
#TODO: drop patched rustix after upstream release
cookbook_cargo --no-default-features --config 'patch.crates-io.rustix.git = "https://github.com/bytecodealliance/rustix"'
mkdir -pv "${COOKBOOK_STAGE}/usr/share/ui/apps"
cp -v "${COOKBOOK_RECIPE}/manifest" "${COOKBOOK_STAGE}/usr/share/ui/apps/10_cosmic-term"