mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-29 08:08:41 +08:00
More recipe fixes and improvements
This commit is contained in:
parent
09025c9392
commit
150c2685f0
@ -1,4 +1,4 @@
|
||||
#TODO missing script for building, see https://ant.apache.org/manual/install.html#buildingant
|
||||
#TODO missing script for building: https://ant.apache.org/manual/install.html#buildingant
|
||||
[source]
|
||||
tar = "https://downloads.apache.org/ant/source/apache-ant-1.10.14-src.tar.xz"
|
||||
[build]
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#TODO not compiled or tested
|
||||
#TODO missing dependencies - https://github.com/ccache/ccache/blob/master/doc/INSTALL.md#dependencies
|
||||
# build instructions - https://github.com/ccache/ccache/blob/master/doc/INSTALL.md
|
||||
#TODO missing dependencies: https://github.com/ccache/ccache/blob/master/doc/INSTALL.md#dependencies
|
||||
# build instructions: https://github.com/ccache/ccache/blob/master/doc/INSTALL.md
|
||||
[source]
|
||||
tar = "https://github.com/ccache/ccache/releases/download/v4.10.2/ccache-4.10.2.tar.gz"
|
||||
[build]
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#TODO create a standalone script, see https://github.com/mesonbuild/meson#creating-a-standalone-script
|
||||
#TODO create a standalone script: https://github.com/mesonbuild/meson#creating-a-standalone-script
|
||||
[source]
|
||||
tar = "https://github.com/mesonbuild/meson/releases/download/1.3.0/meson-1.3.0.tar.gz"
|
||||
[build]
|
||||
|
||||
@ -2,6 +2,6 @@
|
||||
# build instructions: https://github.com/ninja-build/ninja#building-ninja-itself
|
||||
[source]
|
||||
git = "https://github.com/ninja-build/ninja"
|
||||
rev = "a524bf3f6bacd1b4ad85d719eed2737d8562f27a"
|
||||
rev = "v1.13.1"
|
||||
[build]
|
||||
template = "cmake"
|
||||
|
||||
@ -3,6 +3,7 @@
|
||||
[source]
|
||||
git = "https://github.com/DynamoRIO/drmemory"
|
||||
rev = "release_2.6.0"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "cmake"
|
||||
dependencies = [
|
||||
|
||||
@ -7,7 +7,7 @@ dependencies = [
|
||||
"libgmp",
|
||||
"libmpfr",
|
||||
"ncurses",
|
||||
"readline"
|
||||
"readline",
|
||||
]
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
|
||||
@ -1,11 +1,13 @@
|
||||
#TODO make capnproto work
|
||||
#TODO probably wrong template, see https://github.com/rr-debugger/rr/wiki/Building-And-Installing
|
||||
#TODO not compiled or tested
|
||||
# build instructions: https://github.com/rr-debugger/rr/wiki/Building-And-Installing
|
||||
[source]
|
||||
git = "https://github.com/rr-debugger/rr"
|
||||
rev = "7cf5a12dba5aaeea9efc5ad97176b07b5614e350"
|
||||
rev = "5.9.0"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "configure"
|
||||
template = "cmake"
|
||||
dependencies = [
|
||||
"zlib",
|
||||
"capnproto",
|
||||
"zstd",
|
||||
]
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
#TODO missing script for gnu make
|
||||
# build instructions - https://github.com/jvalcher/termfu#build-and-install
|
||||
# build instructions: https://github.com/jvalcher/termfu#installation
|
||||
[source]
|
||||
git = "https://github.com/jvalcher/termfu"
|
||||
rev = "71535f59142d145edcfe8995ca119ef377b2bc00"
|
||||
rev = "v0.2.2"
|
||||
[build]
|
||||
template = "custom"
|
||||
dependencies = [
|
||||
@ -10,8 +10,6 @@ dependencies = [
|
||||
]
|
||||
[package]
|
||||
dependencies = [
|
||||
"gnu-make",
|
||||
"gcc13",
|
||||
"gdb",
|
||||
"python312",
|
||||
]
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
#TODO tikv-jemalloc-sys crate error
|
||||
[source]
|
||||
git = "https://github.com/biomejs/biome"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
|
||||
@ -1,7 +1,8 @@
|
||||
#TODO v8 crate error (after cargo update -p tokio)
|
||||
#TODO Add static objects for the Redox target (doesn't exist on librusty_v8 upstream)
|
||||
#TODO v8 crate error
|
||||
#TODO lacking librusty_v8 crate binaries for redox
|
||||
[source]
|
||||
git = "https://github.com/denoland/deno"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
#TODO compiled but not tested
|
||||
[source]
|
||||
git = "https://github.com/FyroxEngine/Fyrox"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
|
||||
@ -1,10 +1,6 @@
|
||||
#TODO missing script for SCons, see https://docs.godotengine.org/en/stable/contributing/development/compiling/compiling_for_linuxbsd.html
|
||||
#TODO missing dependencies
|
||||
#TODO missing script for scons: https://docs.godotengine.org/en/stable/contributing/development/compiling/compiling_for_linuxbsd.html
|
||||
#TODO discover minimum dependencies from scons log
|
||||
[source]
|
||||
tar = "https://github.com/godotengine/godot/releases/download/4.1.3-stable/godot-4.1.3-stable.tar.xz"
|
||||
tar = "https://github.com/godotengine/godot/releases/download/4.5.1-stable/godot-4.5.1-stable.tar.xz"
|
||||
[build]
|
||||
template = "custom"
|
||||
dependencies = [
|
||||
"mesa",
|
||||
"mesa-glu",
|
||||
]
|
||||
|
||||
@ -1,10 +1,6 @@
|
||||
#TODO missing script for SCons, see https://docs.redotengine.org/en/stable/contributing/development/compiling/compiling_for_linuxbsd
|
||||
#TODO missing dependencies
|
||||
#TODO missing script for scons: https://docs.redotengine.org/en/stable/contributing/development/compiling/compiling_for_linuxbsd
|
||||
#TODO discover minimum dependencies from scons log
|
||||
[source]
|
||||
tar = "https://github.com/Redot-Engine/redot-engine/releases/download/redot-4.3.1-stable/Redot-4.3.1-stable.tar.xz"
|
||||
[build]
|
||||
template = "custom"
|
||||
dependencies = [
|
||||
"mesa",
|
||||
"mesa-glu",
|
||||
]
|
||||
|
||||
@ -3,7 +3,8 @@
|
||||
# commented out optional dependencies
|
||||
[source]
|
||||
git = "https://github.com/LibrePCB/LibrePCB"
|
||||
rev = "77db4fda7f5df5d058bfc5d2fae3072bb30c8402"
|
||||
rev = "1.3.0"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "cmake"
|
||||
cmakeflags = [
|
||||
@ -1,6 +1,7 @@
|
||||
#TODO runtime crash
|
||||
[source]
|
||||
git = "https://github.com/jackpot51/Boxedwine"
|
||||
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
dependencies = [
|
||||
@ -83,6 +84,6 @@ ${TARGET}-gcc -std=c++17 -O2 \
|
||||
-DSDL2=1 \
|
||||
-DSIMDE_SSE2_NO_NATIVE \
|
||||
-o "${COOKBOOK_BUILD}/boxedwine"
|
||||
mkdir -p "${COOKBOOK_STAGE}/bin"
|
||||
cp -v "${COOKBOOK_BUILD}/boxedwine" "${COOKBOOK_STAGE}/bin/boxedwine"
|
||||
mkdir -p "${COOKBOOK_STAGE}/usr/bin"
|
||||
cp -v "${COOKBOOK_BUILD}/boxedwine" "${COOKBOOK_STAGE}/usr/bin/boxedwine"
|
||||
"""
|
||||
|
||||
@ -2,7 +2,8 @@
|
||||
# build instructions: https://github.com/AndreRH/hangover/blob/master/docs/COMPILE.md
|
||||
[source]
|
||||
git = "https://github.com/AndreRH/hangover"
|
||||
rev = "8a3cdfb0b2092d10fa782319fc02648724554205"
|
||||
rev = "hangover-10.18"
|
||||
shallow_clone = true
|
||||
[build]
|
||||
template = "custom"
|
||||
dependencies = [
|
||||
@ -12,25 +13,56 @@ dependencies = [
|
||||
"gstreamer",
|
||||
"sdl2",
|
||||
"mesa-x11",
|
||||
"libstdcxx",
|
||||
"libx11",
|
||||
"libxcomposite",
|
||||
"libxcursor",
|
||||
"libxi",
|
||||
"libxfixes",
|
||||
"librandr",
|
||||
"libxrandr",
|
||||
"libxrender",
|
||||
"libxext",
|
||||
"libxkbcommon",
|
||||
"libxkbregistry",
|
||||
#"libxkbregistry",
|
||||
]
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
mkdir -p "${COOKBOOK_BUILD}"/wine/build
|
||||
cd "${COOKBOOK_BUILD}"/wine/build
|
||||
mkdir -p wine-tools
|
||||
pushd wine-tools
|
||||
#TODO: easier way to build for host?
|
||||
HOST_ENV=(
|
||||
env
|
||||
--unset=AR
|
||||
--unset=AS
|
||||
--unset=CC
|
||||
--unset=CFLAGS
|
||||
--unset=CPPFLAGS
|
||||
--unset=CXX
|
||||
--unset=GNU_TARGET
|
||||
--unset=LD
|
||||
--unset=LDFLAGS
|
||||
--unset=NM
|
||||
--unset=OBJCOPY
|
||||
--unset=OBJDUMP
|
||||
--unset=PKG_CONFIG
|
||||
--unset=PKG_CONFIG_ALLOW_CROSS
|
||||
--unset=PKG_CONFIG_FOR_BUILD
|
||||
--unset=PKG_CONFIG_LIBDIR
|
||||
--unset=PKG_CONFIG_PATH
|
||||
--unset=PKG_CONFIG_SYSROOT_DIR
|
||||
--unset=PREFIX_RUSTFLAGS
|
||||
--unset=RANLIB
|
||||
--unset=READELF
|
||||
--unset=STRIP
|
||||
--unset=TARGET
|
||||
)
|
||||
"${HOST_ENV[@]}" "${COOKBOOK_CONFIGURE}" --enable-win64
|
||||
"${HOST_ENV[@]}" "${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}" __tooldeps__
|
||||
popd
|
||||
|
||||
COOKBOOK_CONFIGURE_FLAGS+=(
|
||||
--enable-win64
|
||||
--with-mingw
|
||||
--enable-archs=x86_64,i386,arm
|
||||
--enable-archs=x86_64,i386,arm
|
||||
--disable-kerberos
|
||||
--disable-tests
|
||||
--without-capi
|
||||
@ -54,6 +86,8 @@ COOKBOOK_CONFIGURE_FLAGS+=(
|
||||
--without-udev
|
||||
--without-unwind
|
||||
--without-usb
|
||||
--with-mingw
|
||||
--with-wine-tools=wine-tools
|
||||
)
|
||||
cookbook_configure
|
||||
"""
|
||||
|
||||
@ -7,6 +7,7 @@ dependencies = [
|
||||
"sdl2",
|
||||
]
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
package=retrowin32
|
||||
"${COOKBOOK_CARGO}" build \
|
||||
--manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user