Skip to content

Commit 497b0db

Browse files
committed
Support for Fedora 43, Debian 13 and Ubuntu 24.04 operating systems
1 parent 8c67844 commit 497b0db

19 files changed

+260
-127
lines changed

Applications/Terminal/TerminalView.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include <string.h>
2121
#include <unistd.h>
2222
#include <stdlib.h>
23-
#include <termio.h>
23+
#include <termios.h>
2424
#include <sys/time.h>
2525
#include <sys/types.h>
2626
#include <unistd.h>

Packaging/Sources/0_build_libdispatch.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
. ../environment.sh
3+
. `dirname $0`/../environment.sh
44

55
#----------------------------------------
66
# Install package dependecies
@@ -41,7 +41,9 @@ rm -rf _build 2>/dev/null
4141
mkdir -p _build
4242
cd _build
4343

44-
C_FLAGS="-Wno-error=unused-but-set-variable"
44+
#C_FLAGS="-Wno-error=unused-but-set-variable"
45+
C_FLAGS="-Wno-error=cast-function-type-mismatch"
46+
CXX_FLAGS="-Wno-error=cast-function-type-mismatch"
4547
$CMAKE_CMD .. \
4648
-DCMAKE_C_COMPILER=${C_COMPILER} \
4749
-DCMAKE_CXX_COMPILER=${CXX_COMPILER} \

Packaging/Sources/1_build_libcorefoundation.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
. ../environment.sh
3+
. `dirname $0`/../environment.sh
44

55
#----------------------------------------
66
# Install package dependecies

Packaging/Sources/2_build_libobjc2.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
. ../environment.sh
3+
. `dirname $0`/../environment.sh
44

55
#----------------------------------------
66
# Install package dependecies

Packaging/Sources/3_build_core.sh

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
#!/bin/sh
22

3-
. ../environment.sh
3+
. `dirname $0`/../environment.sh
4+
5+
#----------------------------------------
6+
# Install package dependecies
7+
#----------------------------------------
8+
if [ ${OS_ID} = "debian" ] || [ ${OS_ID} = "ubuntu" ]; then
9+
sudo apt-get install -y ${RUNTIME_RUN_DEPS} || exit 1
10+
else
11+
SPEC_FILE=${PROJECT_DIR}/Core/nextspace-core.spec
12+
DEPS=`rpmspec -q --requires ${SPEC_FILE} | grep -v libobjc2 | grep -v libdispatch | grep -v nextspace-core | grep -v git | grep -v clang | awk -c '{print $1}'`
13+
sudo yum -y install ${DEPS} || exit 1
14+
fi
415

516
#----------------------------------------
617
# Install system configuration files

Packaging/Sources/3_build_tools-make.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
. ../environment.sh
3+
. `dirname $0`/../environment.sh
44

55
#----------------------------------------
66
# Install package dependecies

Packaging/Sources/4_build_libwraster.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
. ../environment.sh
3+
. `dirname $0`/../environment.sh
44
. /etc/profile.d/nextspace.sh
55

66
#----------------------------------------
@@ -9,7 +9,7 @@
99
${ECHO} ">>> Installing ${OS_ID} packages for WRaster library build"
1010
if [ ${OS_ID} = "debian" ] || [ ${OS_ID} = "ubuntu" ]; then
1111
${ECHO} "Debian-based Linux distribution: calling 'apt-get install'."
12-
sudo apt-get install -y ${WRASTER_DEPS} || exit 1
12+
sudo apt-get install -y ${WRASTER_DEPS} ${WRASTER_RUN_DEPS} || exit 1
1313
else
1414
${ECHO} "RedHat-based Linux distribution: calling 'yum -y install'."
1515
SPEC_FILE=${PROJECT_DIR}/Libraries/libwraster/libwraster.spec
@@ -43,4 +43,4 @@ $INSTALL_CMD || exit 1
4343

4444
if [ "$DEST_DIR" = "" ]; then
4545
sudo ldconfig
46-
fi
46+
fi

Packaging/Sources/5_build_libs-base.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
. ../environment.sh
3+
. `dirname $0`/../environment.sh
44
. /Developer/Makefiles/GNUstep.sh
55
. /etc/profile.d/nextspace.sh
66

@@ -10,7 +10,7 @@
1010
${ECHO} ">>> Installing ${OS_ID} packages for GNUstep Base (Foundation) build"
1111
if [ ${OS_ID} = "debian" ] || [ ${OS_ID} = "ubuntu" ]; then
1212
${ECHO} "Debian-based Linux distribution: calling 'apt-get install'."
13-
sudo apt-get install -y ${GNUSTEP_BASE_DEPS} || exit 1
13+
sudo apt-get install -y ${GNUSTEP_BASE_DEPS} ${GNUSTEP_BASE_RUN_DEPS} || exit 1
1414
else
1515
${ECHO} "RedHat-based Linux distribution: calling 'yum -y install'."
1616
SPEC_FILE=${PROJECT_DIR}/Libraries/gnustep/nextspace-gnustep.spec

Packaging/Sources/6_build_libs-gui.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
. ../environment.sh
3+
. `dirname $0`/../environment.sh
44
. /Developer/Makefiles/GNUstep.sh
55
. /etc/profile.d/nextspace.sh
66

@@ -9,7 +9,7 @@
99
#----------------------------------------
1010
if [ ${OS_ID} = "debian" ] || [ ${OS_ID} = "ubuntu" ]; then
1111
${ECHO} ">>> Installing packages for GNUstep GUI (AppKit) build"
12-
sudo apt-get install -q -y ${GNUSTEP_GUI_DEPS}
12+
sudo apt-get install -q -y ${GNUSTEP_GUI_DEPS} ${GNUSTEP_GUI_RUN_DEPS} || exit 1
1313
fi
1414

1515
#----------------------------------------

Packaging/Sources/7_build_libs-back.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#!/bin/sh
22

3-
. ../environment.sh
3+
. `dirname $0`/../environment.sh
44
. /etc/profile.d/nextspace.sh
55

66
#----------------------------------------
77
# Install package dependecies
88
#----------------------------------------
99
if [ ${OS_ID} = "debian" ] || [ ${OS_ID} = "ubuntu" ]; then
1010
${ECHO} ">>> Installing packages for GNUstep GUI Backend (ART) build"
11-
sudo apt-get install -y ${BACK_ART_DEPS}
11+
sudo apt-get install -y ${BACK_ART_DEPS} ${BACK_ART_RUN_DEPS} || exit 1
1212
fi
1313

1414
#----------------------------------------

0 commit comments

Comments
 (0)