Skip to content

Commit

Permalink
Add gnustep-back
Browse files Browse the repository at this point in the history
  • Loading branch information
qmfrederik committed Oct 2, 2023
1 parent 390f115 commit 4efd841
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
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

0 comments on commit 4efd841

Please sign in to comment.