Remove unused cook commands

This commit is contained in:
Jeremy Soller 2022-11-11 08:48:58 -07:00
parent 0173c3555d
commit f6f5c0321e
No known key found for this signature in database
GPG Key ID: 87F211AF2BE4C2FE
82 changed files with 1 additions and 962 deletions

144
cook.sh
View File

@ -41,28 +41,16 @@ function usage {
echo " distclean" >&2
echo " build" >&2
echo " clean" >&2
echo " diff" >&2
echo " diff_origin" >&2
echo " diff_upstream" >&2
echo " difftool" >&2
echo " difftool_origin" >&2
echo " difftool_upstream" >&2
echo " fetch" >&2
echo " unfetch" >&2
echo " pkg" >&2
echo " unpkg" >&2
echo " prepare" >&2
echo " unprepare" >&2
echo " publish" >&2
echo " unpublish" >&2
echo " stage" >&2
echo " unstage" >&2
echo " status" >&2
echo " status_origin" >&2
echo " status_upstream" >&2
echo " tar" >&2
echo " untar" >&2
echo " update" >&2
echo " version" >&2
}
@ -156,108 +144,6 @@ function op {
rm -f source.tar
fi
;;
status)
if [ -n "$TAR" ]
then
tar --compare --file="source.tar" -C "source" --strip-components=1 2>&1 |
grep -v "tar: :" | grep -v '\(Mod time\|Mode\|Gid\|Uid\) differs' ||
true
elif [ -n "$GIT" ]
then
git -C source diff --stat --color
fi
;;
status_origin)
if [ -n "$GIT" ]
then
if [ -n "$BRANCH" ]
then
git -C source diff --stat --color "origin/$BRANCH"
else
git -C source diff --stat --color "origin/master"
fi
fi
;;
status_upstream)
if [ -n "$GIT_UPSTREAM" ]
then
if [ -n "$BRANCH" ]
then
git -C source diff --stat --color "upstream/$BRANCH"
else
git -C source diff --stat --color "upstream/master"
fi
fi
;;
diff)
if [ -n "$GIT" ]
then
git -C source diff
fi
;;
diff_origin)
if [ -n "$GIT" ]
then
if [ -n "$BRANCH" ]
then
git -C source diff "origin/$BRANCH"
else
git -C source diff "origin/master"
fi
fi
;;
diff_upstream)
if [ -n "$GIT_UPSTREAM" ]
then
if [ -n "$BRANCH" ]
then
git -C source diff "upstream/$BRANCH"
else
git -C source diff "upstream/master"
fi
fi
;;
difftool)
if [ -n "$GIT" ]
then
git -C source difftool -d
fi
;;
difftool_origin)
if [ -n "$GIT" ]
then
if [ -n "$BRANCH" ]
then
git -C source difftool -d "origin/$BRANCH"
else
git -C source difftool -d "origin/master"
fi
fi
;;
difftool_upstream)
if [ -n "$GIT_UPSTREAM" ]
then
if [ -n "$BRANCH" ]
then
git -C source difftool -d "upstream/$BRANCH"
else
git -C source difftool -d "upstream/master"
fi
fi
;;
update)
pushd source > /dev/null
skip=0
if [ "$(type -t recipe_update)" = "function" ]
then
recipe_update
fi
if [ "$skip" -eq "0" ]
then
"${CARGO[@]}" update
fi
popd > /dev/null
;;
prepare)
skip=0
if [ "$(type -t recipe_prepare)" = "function" ]
@ -351,27 +237,6 @@ function op {
fi
popd > /dev/null
;;
test)
pushd "${COOKBOOK_BUILD}" > /dev/null
skip=0
if [ "$(type -t recipe_test)" = "function" ]
then
recipe_test
fi
release_flag="--release"
if [ "$DEBUG" == 1 ]
then
release_flag=
fi
if [ "$skip" -eq "0" ]
then
cp -p "$ROOT/Xargo.toml" "Xargo.toml"
"${CARGO[@]}" test --no-run --target "$TARGET" $release_flag $CARGOFLAGS
fi
popd > /dev/null
;;
clean)
pushd "${COOKBOOK_BUILD}" > /dev/null
skip=0
@ -484,15 +349,6 @@ function op {
untar)
rm -rfv "${COOKBOOK_STAGE}.tar.gz" "${COOKBOOK_STAGE}.sig" "${COOKBOOK_STAGE}.toml"
;;
publish)
mkdir -p "$REPO"
cp -v "${COOKBOOK_STAGE}.tar.gz" "$REPO/$1.tar.gz"
cp -v "${COOKBOOK_STAGE}.sig" "$REPO/$1.sig"
cp -v "${COOKBOOK_STAGE}.toml" "$REPO/$1.toml"
;;
unpublish)
rm -rfv "$REPO/$1.tar.gz" "$REPO/$1.sig" "$REPO/$1.toml"
;;
*)
usage $1
;;

View File

@ -7,11 +7,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
wget -O config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
sysroot="$(realpath ../sysroot)"
@ -29,11 +24,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -6,11 +6,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
wget -O build-aux/config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
./configure --build=${BUILD} --host=${HOST} --prefix=''
@ -18,11 +13,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -6,11 +6,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
wget -O lib/config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
sed -i 's|.*/doc/help2man.*|\&\& true|' Makefile.in
@ -21,11 +16,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -7,11 +7,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
#Workaround to disable the not redox compatible tests
printf "all:\n\ninstall:\n" > ./test/Makefile.in
@ -31,11 +26,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -5,11 +5,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_prepare {
rm -rf source
mkdir source
@ -26,11 +21,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -7,11 +7,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
export LDFLAGS="-L$sysroot/lib -static"
@ -27,11 +22,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -6,11 +6,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
export LDFLAGS="-static"
autoreconf
@ -27,11 +22,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -7,11 +7,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include/SDL"
@ -30,11 +25,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -6,22 +6,12 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sed -i "s/= gcc/= $TARGET-gcc/g" Makefile.cmdline
"$REDOX_MAKE" -f Makefile.cmdline -j"$($NPROC)"
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -7,11 +7,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include -I$sysroot/include/SDL"
@ -22,11 +17,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -8,11 +8,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$PWD/../sysroot"
export CPPFLAGS="-I$sysroot/include"
@ -31,11 +26,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -7,11 +7,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
wget -O config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
sysroot="$(realpath ../sysroot)"
@ -29,11 +24,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -7,11 +7,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
wget -O bootstrap/config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
sysroot="$(realpath ../sysroot)"
@ -34,11 +29,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -6,21 +6,11 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
echo "skipping build"
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
echo "skipping clean"
skip=1

View File

@ -7,11 +7,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include"
@ -27,11 +22,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -7,11 +7,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include"
@ -27,11 +22,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -2,22 +2,12 @@ GIT=https://gitlab.redox-os.org/redox-os/gawk.git
GIT_UPSTREAM=https://git.savannah.gnu.org/git/gawk.git
BRANCH=redox
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
./configure --build=${BUILD} --host=${HOST} --prefix=/ ac_cv_func_gethostbyname=no ac_cv_func_connect=no
"$REDOX_MAKE" -j"$($NPROC)"
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -10,11 +10,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
./contrib/download_prerequisites
cp config.sub gmp/config.sub
@ -44,11 +39,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -7,11 +7,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
export LDFLAGS="-static"
@ -62,11 +57,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -5,11 +5,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_prepare {
rm -rf source
mkdir source
@ -24,11 +19,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -6,21 +6,11 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
echo "skipping build"
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
echo "skipping clean"
skip=1

View File

@ -8,11 +8,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
export CPPHOST=${HOST}-g++
sysroot="$(realpath ../sysroot)"
@ -22,11 +17,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -22,11 +22,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
export LDFLAGS="-L$sysroot/lib -static"
@ -43,11 +38,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -7,11 +7,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include"
@ -27,11 +22,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -8,11 +8,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
mkdir -p "$sysroot/usr"
@ -38,11 +33,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -6,11 +6,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
export LDFLAGS="-static"
./configure --build=${BUILD} --host=${HOST} --prefix=/
@ -18,11 +13,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -6,11 +6,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
export CFLAGS="-DPOSIX -DNO_ARCHIVES -DNO_OUTPUT_SYNC"
export LDFLAGS="-static"
@ -23,11 +18,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -7,11 +7,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include"
@ -31,11 +26,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -7,11 +7,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include"
@ -32,11 +27,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -6,11 +6,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
export LDFLAGS="-L$sysroot/lib"
@ -20,11 +15,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -5,21 +5,11 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
echo "skipping build"
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
echo "skipping clean"
skip=1

View File

@ -6,21 +6,11 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
"$REDOX_MAKE" -j"$($NPROC)"
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -6,21 +6,11 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
"$REDOX_MAKE" generic CC="${HOST}-gcc -std=gnu99" -j"$($NPROC)"
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -7,11 +7,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include -I$sysroot/include/ncursesw"
@ -20,11 +15,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -7,11 +7,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include"
@ -23,11 +18,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -8,11 +8,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include -I$sysroot/include/SDL"
@ -35,11 +30,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -7,10 +7,6 @@ function recipe_version {
echo "$VERSION"
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$PWD/../sysroot"
export CPPFLAGS="-I$sysroot/include -I$sysroot/include/ncurses"
@ -22,10 +18,6 @@ function recipe_build {
"$REDOX_MAKE" -j"$($NPROC)"
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -7,11 +7,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
./configure \
--build=${BUILD} \
@ -26,11 +21,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -7,11 +7,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
export CPPFLAGS="-P"
./configure --build=${BUILD} --host=${HOST} --prefix="" --enable-widec --disable-db-install
@ -19,11 +14,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -8,11 +8,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
export TARGET="framebuffer"
@ -24,11 +19,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -7,11 +7,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
env -i PATH=/usr/bin:/bin PKG_CONFIG=pkg-config \
"$REDOX_MAKE" -j"$($NPROC)" ENABLE_FS=stdio mapc sols
@ -23,11 +18,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -6,11 +6,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
pushd newlib/libc/sys
aclocal-1.11 -I ../..
@ -30,11 +25,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -6,11 +6,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
export CFLAGS="-static -nostdinc -I $sysroot/include -I /usr/lib/gcc/x86_64-unknown-redox/7.0.1/include/ -nostdlib -L $sysroot/lib"
@ -20,11 +15,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -7,11 +7,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include -UUSE_SOCKETS -UUSE_SDL_NET"
@ -26,11 +21,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -5,21 +5,11 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
echo "skipping build"
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
echo "skipping clean"
skip=1

View File

@ -5,21 +5,11 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
echo "skipping build"
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
echo "skipping clean"
skip=1
@ -30,5 +20,3 @@ function recipe_stage {
cp -Rv ./* "$1/share/games/openttd/baseset/openmsx"
skip=1
}

View File

@ -5,21 +5,11 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
echo "skipping build"
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
echo "skipping clean"
skip=1
@ -30,5 +20,3 @@ function recipe_stage {
cp -Rv ./* "$1/share/games/openttd/baseset/opensfx"
skip=1
}

View File

@ -8,11 +8,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include"
@ -29,11 +24,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -5,11 +5,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_prepare {
rm -rf source
mkdir source
@ -24,11 +19,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -7,11 +7,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
wget -O config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
sysroot="$(realpath ../sysroot)"
@ -28,11 +23,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -6,11 +6,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
export LDFLAGS="-static"
wget -O build-aux/config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
@ -20,11 +15,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -8,11 +8,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
curl -L -O --time-cond perl-cross-1.1.6.tar.gz https://github.com/arsv/perl-cross/releases/download/1.1.6/perl-cross-1.1.6.tar.gz
tar --strip-components=1 -xvf perl-cross-1.1.6.tar.gz
@ -26,11 +21,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -6,11 +6,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
./configure \
@ -23,11 +18,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -7,11 +7,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
wget -O config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
export LDFLAGS="--static"
@ -25,11 +20,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -7,11 +7,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
export CFLAGS="-static"
sysroot="$(realpath ../sysroot)"
@ -30,11 +25,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -9,11 +9,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
export LDFLAGS="-static"
cp ../config.site ./
@ -30,11 +25,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -7,11 +7,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include"
@ -25,11 +20,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -9,21 +9,9 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
config="$(realpath "${COOKBOOK_RECIPE}/config.toml")"
source="$(realpath ../source)"
unset AR AS CC CXX LD NM OBJCOPY OBJDUMP RANLIB READELF STRIP
python3 "$source/x.py" install --config "$config" --jobs $(nproc) --incremental
skip=1
}
function recipe_test {
echo "skipping test"
python3 "${COOKBOOK_SOURCE}/x.py" install --config "${COOKBOOK_RECIPE}/config.toml" --jobs $(nproc) --incremental
skip=1
}

View File

@ -3,10 +3,6 @@ GIT_UPSTREAM=https://github.com/emu-rs/rustual-boy.git
BRANCH="redox"
DEPENDS="orbital"
function recipe_update {
cd rustual-boy-cli
}
function recipe_build {
cd rustual-boy-cli
}

View File

@ -8,11 +8,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="${PWD}/../sysroot"
export CFLAGS="-I$sysroot/include -I$sysroot/include/SDL"
@ -24,11 +19,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -8,11 +8,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
wget -O config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
sysroot="$(realpath ../sysroot)"
@ -30,11 +25,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -6,11 +6,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
export CPPFLAGS="-I$sysroot/include"
@ -19,11 +14,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -5,11 +5,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_prepare {
rm -rf source
mkdir source
@ -26,11 +21,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
echo "skipping clean"
skip=1

View File

@ -7,11 +7,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include"
@ -23,11 +18,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -7,11 +7,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include"
@ -22,11 +17,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -7,11 +7,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include"
@ -22,11 +17,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -7,11 +7,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include"
@ -34,11 +29,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -7,11 +7,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include -I$sysroot/include/freetype2"
@ -22,11 +17,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -9,11 +9,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
source="$(realpath ../source)"
unset AR AS CC CXX LD NM OBJCOPY OBJDUMP RANLIB READELF STRIP
@ -21,11 +16,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
echo "skipping clean"
skip=1

View File

@ -7,11 +7,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include"
@ -24,11 +19,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -7,11 +7,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
wget -O autotools/config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
sysroot="$(realpath ../sysroot)"
@ -27,11 +22,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -7,11 +7,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
export LDFLAGS="-L$sysroot/lib"
@ -21,11 +16,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -7,11 +7,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
export SDL_CONFIG="${PKG_CONFIG} sdl"
@ -21,11 +16,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -5,21 +5,11 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
echo "skipping build"
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
echo "skipping clean"
skip=1

View File

@ -8,11 +8,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
export LDFLAGS="-static"
autoreconf -f -i
@ -26,11 +21,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -6,21 +6,11 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
echo "skipping build"
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
echo "skipping clean"
skip=1

View File

@ -8,11 +8,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
wget -O config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
@ -35,11 +30,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -8,11 +8,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
export LDFLAGS="-L$sysroot/lib -static"
@ -29,11 +24,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -6,11 +6,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
export LDFLAGS="-static"
wget -O config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
@ -22,11 +17,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
"$REDOX_MAKE" clean
skip=1

View File

@ -22,11 +22,6 @@ function recipe_version {
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include"
@ -54,11 +49,6 @@ function recipe_build {
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
rm -rf build
skip=1

View File

@ -1,19 +0,0 @@
#!/usr/bin/env bash
set -e
source config.sh
if [ $# = 0 ]
then
recipes="$(ls -1 recipes)"
else
recipes="$@"
fi
for recipe in $recipes
do
if [ -d "recipes/$recipe/source" ]
then
./cook.sh "$recipe" update
fi
done