Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for headless libs-back backend #31

Merged
merged 1 commit into from
Oct 2, 2023
Merged
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
13 changes: 13 additions & 0 deletions patches/gnustep-back-remove-tools.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/GNUmakefile b/GNUmakefile
index 03ad17f..029a521 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -47,7 +47,7 @@ include ./Version
#
# The list of subproject directories
#
-SUBPROJECTS = Source Tools
+SUBPROJECTS = Source

ifneq ($(fonts), no)
SUBPROJECTS += Fonts
36 changes: 36 additions & 0 deletions phases/51-gnustep-back.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/bin/sh
set -eo pipefail
shopt -s inherit_errexit

cd `dirname $0`

export PROJECT=gnustep-back
export GITHUB_REPO=gnustep/libs-back
export TAG=

# load environment and prepare project
../scripts/common.bat prepare_project

cd "$SRCROOT/$PROJECT"

echo
echo "### Loading GNUstep environment"
. "$UNIX_INSTALL_PREFIX/share/GNUstep/Makefiles/GNUstep.sh"

echo
echo "### Running configure"

./configure \
--enable-graphics=headless \
--enable-server=headless \
--without-freetype \
--host=$TARGET \
CFLAGS="-Wno-int-conversion"

echo
echo "### Building"
make -j`nproc`

echo
echo "### Installing"
make install