summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-11-13 04:57:16 +0300
committerAndrei Karas <akaras@inbox.ru>2011-11-13 04:57:16 +0300
commit4d453108f45f9fb2ff4f5715cc1b3ddd63d36a80 (patch)
treec1edb8d8b368fdd43cd8639e6044b0f4e8dde70a /build
parentece00592ecd93f7a96db0ca82589d00846e2f938 (diff)
parentd471e99fd38ac589a8a9e8e8677b9f577f0cc5c6 (diff)
downloadplus-4d453108f45f9fb2ff4f5715cc1b3ddd63d36a80.tar.gz
plus-4d453108f45f9fb2ff4f5715cc1b3ddd63d36a80.tar.bz2
plus-4d453108f45f9fb2ff4f5715cc1b3ddd63d36a80.tar.xz
plus-4d453108f45f9fb2ff4f5715cc1b3ddd63d36a80.zip
Merge branch 'master' into strippedstripped1.1.11.12
Conflicts: data/fonts/mplus-1p-bold.ttf data/fonts/mplus-1p-regular.ttf src/guichan/basiccontainer.cpp src/guichan/focushandler.cpp src/guichan/graphics.cpp src/guichan/gui.cpp src/guichan/image.cpp src/guichan/include/guichan/widgets/checkbox.hpp src/guichan/include/guichan/widgets/dropdown.hpp src/guichan/sdl/sdlgraphics.cpp src/guichan/sdl/sdlimage.cpp src/guichan/widget.cpp src/guichan/widgets/dropdown.cpp src/guichan/widgets/icon.cpp src/guichan/widgets/imagebutton.cpp src/guichan/widgets/listbox.cpp src/guichan/widgets/scrollarea.cpp src/guichan/widgets/tab.cpp src/guichan/widgets/tabbedarea.cpp src/guichan/widgets/textbox.cpp src/guichan/widgets/window.cpp
Diffstat (limited to 'build')
-rwxr-xr-xbuild/bmakesnapshot44
-rwxr-xr-xbuild/maketest.sh149
-rwxr-xr-xbuild/packwin2
3 files changed, 194 insertions, 1 deletions
diff --git a/build/bmakesnapshot b/build/bmakesnapshot
new file mode 100755
index 000000000..4736fb8a5
--- /dev/null
+++ b/build/bmakesnapshot
@@ -0,0 +1,44 @@
+#!/bin/sh
+
+cd ..
+
+#need fix: -Wzero-as-null-pointer-constant
+
+dir=`pwd`
+
+export PATH=/usr/lib/gcc-snapshot/bin:$PATH
+export CC=gcc
+export CXX=g++
+
+export LANG=C
+
+export CXXFLAGS="-Wvariadic-macros -Wvla -Wredundant-decls \
+-Wpacked-bitfield-compat -Wtrampolines \
+-Wsuggest-attribute=noreturn -Wunused -Wstrict-aliasing=2 \
+-fstrict-aliasing -Wunreachable-code -Wabi -Wdisabled-optimization \
+-Wvolatile-register-var -Winvalid-pch -Wredundant-decls \
+-Wnormalized=nfkc -Wmissing-format-attribute -Wmissing-noreturn \
+-Wswitch-default -Wsign-promo -Waddress -Wmissing-declarations \
+-Wctor-dtor-privacy -Wstrict-null-sentinel -Wlogical-op \
+-Wcast-align -Wpointer-arith -Wundef \
+-Wmissing-include-dirs -Winit-self -pedantic -Wall -ggdb3 -O2 -pipe \
+-Wpacked -Wextra -Wstrict-overflow=1 -Wunknown-pragmas -Wwrite-strings \
+-Wstack-protector -Wshadow -Wunused -Wunused-macros -Wsynth \
+-Wbuiltin-macro-redefined -Wctor-dtor-privacy -Wdeprecated -Wextra \
+-Wendif-labels -Wformat=1 -Wimport -Wnon-virtual-dtor -Wpsabi \
+-Wsign-promo -Wwrite-strings -D_FORTIFY_SOURCE=2 -Wc++11-compat -std=c++0x \
+-Wdelete-non-virtual-dtor -Wmaybe-uninitialized -Wunused-local-typedefs \
+-Wvector-operation-performance"
+
+autoreconf -i
+./configure --prefix=$dir/run \
+--datadir=$dir/run/share/games \
+--bindir=$dir/run/bin \
+--mandir=$dir/run/share/man
+
+cd po
+#make -j5 update-po 2>../build/make1.log
+make -j5 update-gmo 2>../build/make1.log
+cd ..
+make -j5 2>build/make2.log
+
diff --git a/build/maketest.sh b/build/maketest.sh
new file mode 100755
index 000000000..61b20f0fe
--- /dev/null
+++ b/build/maketest.sh
@@ -0,0 +1,149 @@
+#!/bin/sh
+
+dir=`pwd`
+export LANG=C
+
+cd ..
+#--enable-applebuild=yes
+#--without-librt
+
+echo start >build/make.log
+
+autoreconf -i
+echo opengl+debug+guichan >>build/make.log
+make clean 2>>build/make.log
+./configure --prefix=$dir/run \
+--datadir=$dir/run/share/games \
+--bindir=$dir/run/bin \
+--mandir=$dir/run/share/man \
+--enable-memdebug=yes \
+--with-internalguichan=yes \
+--enable-tcmalloc=no \
+--enable-googleprofiler=no
+make -j5 2>>build/make.log
+
+autoreconf -i
+echo opengl+guichan >>build/make.log
+make clean 2>>build/make.log
+./configure --prefix=$dir/run \
+--datadir=$dir/run/share/games \
+--bindir=$dir/run/bin \
+--mandir=$dir/run/share/man \
+--enable-memdebug=no \
+--with-internalguichan=yes \
+--enable-tcmalloc=no \
+--enable-googleprofiler=no
+make -j5 2>>build/make.log
+
+autoreconf -i
+echo opengl >>build/make.log
+make clean 2>>build/make.log
+./configure --prefix=$dir/run \
+--datadir=$dir/run/share/games \
+--bindir=$dir/run/bin \
+--mandir=$dir/run/share/man \
+--enable-memdebug=no \
+--with-internalguichan=no \
+--enable-tcmalloc=no \
+--enable-googleprofiler=no
+make -j5 2>>build/make.log
+
+autoreconf -i
+echo opengl+manaserv >>build/make.log
+make clean 2>>build/make.log
+./configure --prefix=$dir/run \
+--datadir=$dir/run/share/games \
+--bindir=$dir/run/bin \
+--mandir=$dir/run/share/man \
+--enable-memdebug=no \
+--with-internalguichan=no \
+--enable-tcmalloc=no \
+--enable-googleprofiler=no \
+--enable-manaserv=yes
+make -j5 2>>build/make.log
+
+autoreconf -i
+echo opengl+guichan+manaserv >>build/make.log
+make clean 2>>build/make.log
+./configure --prefix=$dir/run \
+--datadir=$dir/run/share/games \
+--bindir=$dir/run/bin \
+--mandir=$dir/run/share/man \
+--enable-memdebug=no \
+--with-internalguichan=yes \
+--enable-tcmalloc=no \
+--enable-googleprofiler=no \
+--enable-manaserv=yes
+make -j5 2>>build/make.log
+
+autoreconf -i
+echo guichan >>build/make.log
+make clean 2>>build/make.log
+./configure --prefix=$dir/run \
+--datadir=$dir/run/share/games \
+--bindir=$dir/run/bin \
+--mandir=$dir/run/share/man \
+--enable-memdebug=no \
+--with-internalguichan=yes \
+--enable-tcmalloc=no \
+--enable-googleprofiler=no \
+--without-opengl
+make -j5 2>>build/make.log
+
+autoreconf -i
+echo "-" >>build/make.log
+make clean 2>>build/make.log
+./configure --prefix=$dir/run \
+--datadir=$dir/run/share/games \
+--bindir=$dir/run/bin \
+--mandir=$dir/run/share/man \
+--enable-memdebug=no \
+--with-internalguichan=no \
+--enable-tcmalloc=no \
+--enable-googleprofiler=no \
+--without-opengl
+make -j5 2>>build/make.log
+
+autoreconf -i
+echo guichan+manaserv >>build/make.log
+make clean 2>>build/make.log
+./configure --prefix=$dir/run \
+--datadir=$dir/run/share/games \
+--bindir=$dir/run/bin \
+--mandir=$dir/run/share/man \
+--enable-memdebug=no \
+--with-internalguichan=yes \
+--enable-tcmalloc=no \
+--enable-googleprofiler=no \
+--enable-manaserv=yes \
+--without-opengl
+make -j5 2>>build/make.log
+
+autoreconf -i
+echo opengl+debug+guichan+portable >>build/make.log
+make clean 2>>build/make.log
+./configure --prefix=$dir/run \
+--datadir=$dir/run/share/games \
+--bindir=$dir/run/bin \
+--mandir=$dir/run/share/man \
+--enable-memdebug=yes \
+--with-internalguichan=yes \
+--enable-tcmalloc=no \
+--enable-googleprofiler=no \
+--enable-portable=yes
+make -j5 2>>build/make.log
+
+autoreconf -i
+echo opengl+guichan+portable+manaserv >>build/make.log
+make clean 2>>build/make.log
+./configure --prefix=$dir/run \
+--datadir=$dir/run/share/games \
+--bindir=$dir/run/bin \
+--mandir=$dir/run/share/man \
+--enable-memdebug=no \
+--with-internalguichan=yes \
+--enable-tcmalloc=no \
+--enable-googleprofiler=no \
+--enable-manaserv=yes \
+--enable-portable=yes
+make -j5 2>>build/make.log
diff --git a/build/packwin b/build/packwin
index a817b5d4b..2d43c0b42 100755
--- a/build/packwin
+++ b/build/packwin
@@ -7,7 +7,7 @@ dir=`pwd`
cd packaging/windows
./make-translations.sh
makensis -DDLLDIR=$dir/../mana_win/libs/dll/ \
- -DPRODUCT_VERSION="1.1.10.30" \
+ -DPRODUCT_VERSION="1.1.11.12" \
-DEXESUFFIX=/src \
-DUPX=true \
setup.nsi