Skip to content
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.

Commit

Permalink
revert commit 429ed71
Browse files Browse the repository at this point in the history
  • Loading branch information
attuska committed Feb 22, 2021
1 parent bd1df70 commit de260db
Show file tree
Hide file tree
Showing 10 changed files with 49 additions and 34 deletions.
2 changes: 1 addition & 1 deletion 0ad-data/acquire
@@ -1,4 +1,4 @@
#!/usr/bin/env dl

0ad-${UB_VERSION/~/-}-unix-data.tar.xz .
0ad-${UB_VERSION/~/-}-unix-data.tar.xz 0ad-${UB_VERSION/~/-}/binaries/data :/usr/share/0ad/data
http://releases.wildfiregames.com/
5 changes: 0 additions & 5 deletions 0ad-data/install

This file was deleted.

2 changes: 1 addition & 1 deletion 0ad-data/version
@@ -1 +1 @@
0.0.24~alpha
0.0.23~alpha
2 changes: 1 addition & 1 deletion 0ad/acquire
@@ -1,4 +1,4 @@
#!/usr/bin/env dl

0ad-${UB_VERSION/~/-}-unix-build.tar.gz .
0ad-${UB_VERSION/~/-}-unix-build.tar.gz 0ad-${UB_VERSION/~/-}/
http://releases.wildfiregames.com/
18 changes: 12 additions & 6 deletions 0ad/build-depends
@@ -1,20 +1,26 @@
binutils-dev
boost-dev
curl-dev
enet-dev
fmt-dev
gamin-dev
gloox-dev
glu-dev
icu-dev
js24-dev
libjpeg-turbo-dev
libogg-dev
libpng-dev
libsm-dev
libsodium-dev
libtiff-dev
libvorbis-dev
libx11-dev
libxcursor-dev
libxml2-dev
llvm
miniupnpc-dev
nspr-dev
openal-dev
python3-dev
rust
openexr-dev
python2-dev
sdl2-dev
wxwidgets-dev
zlib-dev
zip
12 changes: 4 additions & 8 deletions 0ad/compile
Expand Up @@ -4,19 +4,15 @@ export CTARGET="x86_64-linux-gnu"
export CHOST="x86_64-linux-gnu"
export CBUILD="x86_64-linux-gnu"

sed -i -e "/--build/d" libraries/source/spidermonkey/build.sh

export CXXFLAGS+=' -DU_USING_ICU_NAMESPACE=1 -Wno-deprecated-copy '
export CXXFLAGS+=' -Wno-class-memaccess -Wno-unused-but-set-variable -DBOOST_BIND_GLOBAL_PLACEHOLDERS '

export SDL2_CONFIG="pkg-config sdl2"
cd build/workspaces
export CXXFLAGS+=' -DU_USING_ICU_NAMESPACE=1'
export SDL2_CONFIG="pkg-config sdl2"
export PYTHON=python2
./update-workspaces.sh \
--bindir=/usr/bin \
--libdir=/usr/lib/0ad \
--datadir=/usr/share/0ad/data \
--without-pch \
--without-tests \
--without-nvtt

cd gcc
ub_make
17 changes: 17 additions & 0 deletions 0ad/patches/desktop-fix.patch
@@ -0,0 +1,17 @@
diff -Nur orig/build/resources/0ad.desktop mod/build/resources/0ad.desktop
--- orig/build/resources/0ad.desktop 2016-11-14 10:50:36.000000000 +0100
+++ mod/build/resources/0ad.desktop 2017-10-30 08:50:47.552172348 +0100
@@ -1,5 +1,4 @@
[Desktop Entry]
-Version=1.0
Name=0 A.D.
Exec=0ad
Icon=0ad
@@ -10,6 +9,7 @@
Comment[de]=Ein Echtzeitstrategiespiel, das die Kriegsführung der Antike behandelt
Comment[es]=Un juego de estrategia en tiempo real de guerra antigua
Comment[fr]=Un jeu de statégie militaire en temps réel dans l'Antiquité
+Comment[hu]=Történelmi stratégiai játék
Comment[it]=Videogioco strategico in tempo reale di guerre antiche
Comment[nl]=Een real-time strategie spel over oorlog van de oudheid
Comment[pl]=Gra strategiczna czasu rzeczywistego o wojnach starożytnych
11 changes: 0 additions & 11 deletions 0ad/patches/includelist.patch

This file was deleted.

12 changes: 12 additions & 0 deletions 0ad/patches/spidermonkey-no-optimize.patch
@@ -0,0 +1,12 @@
diff -Nur orig/libraries/source/spidermonkey/build.sh mod/libraries/source/spidermonkey/build.sh
--- orig/libraries/source/spidermonkey/build.sh 2016-10-04 17:01:34.000000000 +0200
+++ mod/libraries/source/spidermonkey/build.sh 2017-06-09 14:54:56.950183291 +0200
@@ -110,7 +110,7 @@
perl -i.bak -pe 's/(SHARED_LIBRARY_NAME\s+=).*/$1 '\''mozjs38-ps-release'\''/' moz.build
mkdir -p build-release
cd build-release
-CXXFLAGS="${CXXFLAGS} ${TLCXXFLAGS}" ../configure ${CONF_OPTS} --with-nspr-libs="$NSPR_LIBS" --with-nspr-cflags="$NSPR_INCLUDES" --enable-optimize # --enable-gczeal --enable-debug-symbols
+CXXFLAGS="${CXXFLAGS} ${TLCXXFLAGS}" ../configure ${CONF_OPTS} --with-nspr-libs="$NSPR_LIBS" --with-nspr-cflags="$NSPR_INCLUDES" --disable-optimize # --enable-gczeal --enable-debug-symbols
${MAKE} ${MAKE_OPTS}
cd ..

2 changes: 1 addition & 1 deletion 0ad/version
@@ -1 +1 @@
0.0.24~alpha
0.0.23~alpha

1 comment on commit de260db

@attuska
Copy link
Contributor Author

@attuska attuska commented on de260db Mar 11, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ismét megpróbáltam a frissítését, mivel ARCH linuxnál is már az újabb van, de a kilépés nem lehetséges, a kilépő ablak befagyva megmarad, csak kényszerítve lehet bezárni, habár már a megerősítő ablakocska gombja már működik. Amúgy már játszható lenne, de az általam észlelt kilépési gondot nem jelezték még sehol. Lehet, hogy a python3 -al készült js78 -ban van még a hiba oka, a rendszerünk j278 -át nem találja jónak.
Marad a régi!

Please sign in to comment.