mirror of
https://github.com/Interlisp/maiko.git
synced 2026-03-24 01:17:43 +00:00
Compare commits
2 Commits
fgh_nethub
...
maiko-2405
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fd16058ca7 | ||
|
|
1426386830 |
2
.github/workflows/Dockerfile_maiko
vendored
2
.github/workflows/Dockerfile_maiko
vendored
@@ -18,7 +18,7 @@ COPY . ${INSTALL_LOCATION}
|
||||
# Build maiko
|
||||
RUN cd ${INSTALL_LOCATION}/bin \
|
||||
&& ./makeright x cleanup \
|
||||
&& ./makeright x nethub
|
||||
&& ./makeright x
|
||||
RUN cd ${INSTALL_LOCATION}/bin \
|
||||
&& if [ "$(./machinetype)" = "x86_64" ]; then \
|
||||
./makeright init; \
|
||||
|
||||
3
.github/workflows/buildRelease.yml
vendored
3
.github/workflows/buildRelease.yml
vendored
@@ -339,7 +339,6 @@ jobs:
|
||||
-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" \
|
||||
-DMAIKO_DISPLAY_SDL=ON \
|
||||
-DMAIKO_DISPLAY_X11=ON \
|
||||
-DMAIKO_ENABLE_NETHUB=true \
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
cmake --build . --config Release
|
||||
for exe in lde ldex ldesdl
|
||||
@@ -413,7 +412,7 @@ jobs:
|
||||
run: |
|
||||
wget https://cygwin.com/setup-x86_64.exe -OutFile setup-x86_64.exe
|
||||
Unblock-File setup-x86_64.exe
|
||||
Start-Process setup-x86_64.exe -Wait -ArgumentList @("--root", ".\cygwin", "--quiet-mode", "--no-admin", "--wait", "--no-shortcuts", "--no-write-registry", "--verbose", "--site", "http://www.gtlib.gatech.edu/pub/cygwin/", "--packages", "nano,binutils,make,cmake,gcc,clang")
|
||||
Start-Process setup-x86_64.exe -Wait -ArgumentList @("--root", ".\cygwin", "--quiet-mode", "--no-admin", "--wait", "--no-shortcuts", "--no-write-registry", "--verbose", "--site", "https://mirrors.kernel.org/sourceware/cygwin/", "--packages", "nano,binutils,make,cmake,gcc,clang")
|
||||
cygwin\bin\bash -login -c 'sed -i -e "s/^none/#none/" /etc/fstab; echo "none / cygdrive binary,posix=0,user 0 0" >>/etc/fstab'
|
||||
|
||||
# Retrieve SDL2 and install in cygwin
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
# Nov 20 2001 JDS: Convert to use BASH, not CSH, for open-source...
|
||||
#
|
||||
# usage: makeright [display-option] [other-option]
|
||||
#
|
||||
#
|
||||
# example: makeright single ; make lde for mmaped displayFB
|
||||
# makeright multi ; make lde for cg3,cg6
|
||||
# makeright x ; make lde for X-windows
|
||||
@@ -33,41 +33,27 @@
|
||||
#
|
||||
# makeright init requires directory "maiko/init.${architecture}
|
||||
#
|
||||
# Note: X11R4 environment link shared libraries.
|
||||
# lde need X library. If lde links shared libraries,
|
||||
# Note: X11R4 environment link shared libraries.
|
||||
# lde need X library. If lde links shared libraries,
|
||||
# X shared libraries are needed at run time.
|
||||
#
|
||||
# Hide X shared libraries from link libraries search path.
|
||||
LD_LIBRARY_PATH=/usr/local/lib
|
||||
LD_LIBRARY_PATH=/usr/local/lib
|
||||
|
||||
export PATH=".:$PATH"
|
||||
|
||||
noshift="false"
|
||||
if test "$1" = ""
|
||||
then
|
||||
display="single"
|
||||
noshift="true"
|
||||
elif test "$1" = "nethub"
|
||||
then
|
||||
display="single"
|
||||
noshift="true"
|
||||
else
|
||||
display="$1"
|
||||
noshift="false"
|
||||
fi
|
||||
|
||||
if test "$noshift" = "false"
|
||||
if test $# -gt 0
|
||||
then
|
||||
shift
|
||||
fi
|
||||
|
||||
nethub="false"
|
||||
if test "$1" = "nethub"
|
||||
then
|
||||
nethub="true"
|
||||
shift
|
||||
fi
|
||||
|
||||
architecture=`machinetype`
|
||||
osversion=`osversion`
|
||||
echo "making so far for ${osversion} on ${architecture}."
|
||||
@@ -125,12 +111,7 @@ echo start making lde for ${releasename}.
|
||||
# then finally do the make, including the right stuff
|
||||
# With makefile-tail merged, this should only take ONE make command....
|
||||
|
||||
cp -p makefile-${releasename} /tmp/makefile-${releasename}-$$
|
||||
if test "$nethub" = "true"
|
||||
then
|
||||
sed -e "/^DFLAGS = /s/$/ -DMAIKO_ENABLE_NETHUB/" -i /tmp/makefile-${releasename}-$$
|
||||
fi
|
||||
make RELEASENAME=${releasename} LDENAME=${ldename} \
|
||||
OSARCHNAME=${osversion}.${architecture} \
|
||||
-f makefile-header -f /tmp/makefile-${releasename}-$$ \
|
||||
-f makefile-header -f makefile-${releasename} \
|
||||
-f makefile-tail $*
|
||||
|
||||
Reference in New Issue
Block a user