Glest 3.0.0 was relased and now has multiplayer Reproducible: Always
Created attachment 142374 [details] games-strategy/glest-3.0.0 I hate to answer to a 0-day request, but I wanted to test this game and the editor. Here is an ebuild to build glest 3.0.0.
Created attachment 142378 [details] games-strategy/glest-3.0.0 Picked the wrong ebuild :-/
Created attachment 142379 [details, diff] glest-3.0.0-unicode.patch This patch fixes the issue when the editor should be build. From what I found out gentoo always seems to build wxGTK using unicode but the editor required a non-unicode build of wxGTK. I will post this patch to the glest forum, too, so it hopefully get's merged upstream. Instructions taken from: http://www.wxwidgets.org/wiki/index.php/WxString
Created attachment 142398 [details] games-strategy/glest-3.0.0 Sigh. For some reasion dogamesbin glest_editor fails while into ${GAMES_BINDIR} dobin glest_editor works. No idea why.
Created attachment 142399 [details] games-strategy/glest-3.0.0 Multi-Sigh. GAMES_BINDIR -> GAMES_PREFIX
The name of the language packs was changed.
Created attachment 143494 [details] glest-3.0.0.ebuild Updated language stuff
1. USE-Flag "editor" is not fully working. You write in the ebuild: --- # Fails with wx enabled, bug #130011 --- But the Jamfile of glest containt: --- #### Editor #### if $(WX_AVAILABLE) = "yes" { SubDir TOP glest_map_editor ; --- 2. LINGUAS "hu" is not fully working. You have to change the line use linguas_hu && dolang magyar_${L_PV}.lng to use linguas_hu && dolang magyar_${PV}.lng 3. LINGUAS "pt_BR" is not fully working You have to change the line use linguas_pt_BR && dolang pt-br.lng to use linguas_pt_BR && dolang pt-BR.lng
version 3.1.0 is available.
Created attachment 143695 [details] glest-3.0.0.ebuild fixed the header
Created attachment 143699 [details] games-strategy/glest-3.1.0 Better upload this before anyone else comes up with a worse one...
(In reply to comment #11) > Created an attachment (id=143699) [edit] > games-strategy/glest-3.1.0 > > Better upload this before anyone else comes up with a worse one... > my last attachment was crap.. ignore it. i actually didn't know what a header was. about the last one, i might be confused but i think you should correct one thing: you are naming the file 'glest-3.1.0.ebuild' but inside the ebuild you are putting L_PV="3.0.0"
If you check what LP_V is for you find out it's for the translations of glest[1]. Since (from what I know) no strings were changed from 3.0.0 to 3.1.0 I used the translations from 3.0.0 because only hungarian was available as 3.1.0 while the others remained. [1] http://www.glest.org/files/contrib/translations
does this ebuild compile without issues?
Created attachment 144028 [details, diff] glest home patch for version 3.1.0 works for me. I was able to compile and run glest with it
I added a patch for glest 3.1.0 which fixes the home problem. I didn't add a new ebuild, because unicode is still broken. I was also unable to download the Italian language pack, so ebuild digest would fail. Both use flags unicode and editor disabled and english language selected works for me.
Glest 3.1.0 doesn't get past the opening screen for me with this error. This happens with or without unicode enabled. I had to modify the ebuild slightly as the URLs for the translations were wrong, and the unicode patch doesn't apply to 3.1.0 with nearly all hunks failing. This error occurs regardless of the wxwidgets libraries I compile against (2.6 ansi or 2.8 unicode) Could not open catalog: XercesMessages_en_US.cat or XercesMessages_en_US.cat Cannot load message domain Could not open catalog: XercesMessages_en_US.cat or XercesMessages_en_US.cat Cannot load message domain
glest-3.1.2 has been released and one should also create a games-strategy/glest-bin package for multiplayer.
I propose we hard-code the version string on language packs since these are user-contributed and will update with uneven frequency.
Created attachment 149003 [details] ebuild for glest-3.1.2 with this ebuild the game and editor compile on my machine. unfortunately I cannot fully test it since the game segfaults due to a bug in the newest ati drivers. could someone with a different graphics card please test it? See also: http://www.glest.org/glest_board/viewtopic.php?p=14714&sid=9f7c80a7f851b81e33da37da5fc8e5bb
The glest-3.1.2 ebuild works great here with Nvidia. I only had to remove the "|| ( dev-util/jam dev-util/ftjam )" stuff from the ebuild. It gives me a blocking error and is obviously not needed.
>>> Install glest-3.1.2 into /var/tmp/portage/games-strategy/glest-3.1.2/image/ category games-strategy !!! dobin: glest_editor does not exist * * ERROR: games-strategy/glest-3.1.2 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 2762: Called die * The specific snippet of code: * dobin glest_editor || die "dogamesbin editor failed"; * The die message: * dogamesbin editor failed * * If you need support, post the topmost build error, and the call stack if relevant. * The ebuild environment file is located at '/var/tmp/portage/games-strategy/glest-3.1.2/temp/environment'. * This ebuild is from an overlay: '/usr/overlay/' * installing without the editor use flag worked...
(In reply to comment #16) > I was also unable to download the Italian language pack, so ebuild digest > would fail. I have the same problem... and I've got the solution! The ebuild says: "install: impossibile fare stat di `/var/tmp/portage/games-strategy/glest-3.1.2/work/italiano.lng': No such file or directory", but if you check this folder you find an "italian.lng" file. SOLUTION: edit the ebuild, search "italiano.lng" and replace it with "italian.lng" (tips: it's at the end of the ebuild). I'm sorry, but I don't know how to make a patch.
I write a ebuild to glest-3.1.2 with wrapper for call the glest in ${GAMEDATA_DIR}.
Created attachment 152659 [details] Ebuild to glest-3.1.2
Created attachment 152661 [details] Glest wrapper of files/
The URL of my repository is http://github.com/trops/portage/tree/master/games-strategy/glest. Get always the new update.
Created attachment 153393 [details] Ebuild to glest-3.1.2 With many improvements.
Created attachment 153395 [details] Glest-3.1.2 launcher I rename the file to install correctly
Created attachment 153397 [details, diff] Patch to set the screen to 800x600 The 800x600 screen works for somebody
The latest ebuild doesn't work This is the error: C++ ./build/i686-pc-linux-gnu/optimize/glest_game/world/minimap.o C++ ./build/i686-pc-linux-gnu/optimize/glest_game/world/unit_updater.o LinkApplication glest ...updated 136 target(s)... >>> Source compiled. >>> Test phase [not enabled]: games-strategy/glest-3.1.2 >>> Install glest-3.1.2 into /var/tmp/portage/games-strategy/glest-3.1.2/image/ category games-strategy !!! dobin: glest_editor does not exist * * ERROR: games-strategy/glest-3.1.2 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 2294: Called die * The specific snippet of code: * dogamesbin glest_editor || die "dogamesbin glest_editor failed"; * The die message: * dogamesbin glest_editor failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/games-strategy:glest-3.1.2:20080518-151034.log'. * The ebuild environment file is located at '/var/tmp/portage/games-strategy/glest-3.1.2/temp/environment'. * This ebuild is from an overlay: '/usr/local/portage/' * With paludis it is even worse.
(In reply to comment #31) > The latest ebuild doesn't work > > This is the error: > C++ ./build/i686-pc-linux-gnu/optimize/glest_game/world/minimap.o > C++ ./build/i686-pc-linux-gnu/optimize/glest_game/world/unit_updater.o > LinkApplication glest > ...updated 136 target(s)... > >>> Source compiled. > >>> Test phase [not enabled]: games-strategy/glest-3.1.2 > > >>> Install glest-3.1.2 into /var/tmp/portage/games-strategy/glest-3.1.2/image/ category games-strategy > !!! dobin: glest_editor does not exist > * > * ERROR: games-strategy/glest-3.1.2 failed. > * Call stack: > * ebuild.sh, line 49: Called src_install > * environment, line 2294: Called die > * The specific snippet of code: > * dogamesbin glest_editor || die "dogamesbin glest_editor failed"; > * The die message: > * dogamesbin glest_editor failed > * > * If you need support, post the topmost build error, and the call stack if > relevant. > * A complete build log is located at > '/var/log/portage/games-strategy:glest-3.1.2:20080518-151034.log'. > * The ebuild environment file is located at > '/var/tmp/portage/games-strategy/glest-3.1.2/temp/environment'. > * This ebuild is from an overlay: '/usr/local/portage/' > * > > With paludis it is even worse. > The problem is in wxWidgets. After using eselect wxwidgets and selecting unicode version everything works at least using emerge.
It works with me using gtk2-unicode-release-2.8. See: $ eselect wxwidgets list Available wxWidgets profiles: [1] gtk2-ansi-release-2.6 [2] gtk2-unicode-release-2.6 [3] gtk2-unicode-release-2.8 *
Created attachment 153885 [details] Ebuild to glest-3.1.2 Hi! New updates! * Add the wxGTK-2.6 to compile the glest_editor * Add the brazilian portuguese translation. It was made by me! :D * The download goes be direct at original mirror
Some things stopping this: - ebuild header needs to match /usr/portage/header.txt - should use wxwidgets.eclass (see games-board/blokish ebuild for an example) - game needs to write to ~/.glest instead of the data directory (without using a wrapper)
Why updates ebuild are not in the portage tree?
Created attachment 154021 [details] glest-3.1.2.ebuild Small check to prevent build failed if not exist the editor (maybe a post message with the instructions to select the proper wxwidget version can help)
I'm working on ebuild. I solved the question about wxwidgets, ebuild header and I am still writing the patch to glest. Thanks Fabio Bonfante. Your alteration is valid. :)
Created attachment 154483 [details] Ebuild to glest-3.1.2 I finished the ebuild with all request of Tristan Heaven. - Cleanup in ebuild - Header is ok - Ebuild is using wxwidgets eclass - Now, glest saves the files in $HOME/.glest. Do not necessary special permissions at /usr/share/games/glest.
Created attachment 154487 [details] Path for ability the glest saves the files in $HOME/.glest Ok, now is not necessary use glest wrapper. :)
the new ebuild works fine for me. since ati-drivers-8.493 also the segfaults due to a problem in the ati driver are fixed. it might be good to set the ati-drivers below that version as blocking glest (this also affects glest 2.x). however, I liked the editor useflag, that was in a previous version of the 3.1.2 ebuild, since not everybody needs the editor and having a useflag for it supports the gentoo idea of being modular and "giving you the choice" (gentoo manual ;-). enjoy
Created attachment 155731 [details] ebuild for glest-3.1.2 for the lazy people just untar this into your portage overlay dir (default is /usr/local/portage) and type emerge glest enjoy ;-) the game is playable still has some glitches, though: some languages are not properly installed process not terminating on my system you have been warned
Very good job Till Korten with your tar.gz! :D Exist a problem with editor useflag, because the glest-source-3.1.2 doesn't offer option to compile without editor. :(
thanks Michel, glad I could help ;-D The useflag makes no sense, if there is no corresponding flag in the makefile anymore of course... I noticed something else, though: for some reason the german language pack was not installed by the ebuild, even though it detected the german lingua properly during emerge -av glest. However it installed english and spanish even though spanish is not in my linguas. Maybe you know what went wrong? Thanks for this nice ebuild Michel!
(In reply to comment #44) > thanks Michel, glad I could help ;-D > The useflag makes no sense, if there is no corresponding flag in the makefile > anymore of course... > > I noticed something else, though: > for some reason the german language pack was not installed by the ebuild, even > though it detected the german lingua properly during emerge -av glest. > However it installed english and spanish even though spanish is not in my > linguas. > Maybe you know what went wrong? > Thanks for this nice ebuild Michel! > The original package, that we use, comes with english, spanish and galego language. Only russian, brazilian portuguese and hungrian contributions are on 3.1.2 version. See the link: http://www.glest.org/files/contrib/translations. There are the translation contributions. Why don't you create the german translation to 3.1.2 version? Is very simple.
Created attachment 156455 [details] Ebuild to glest-3.1.2 Release new version of glest ebuild: * Block the ati-drivers package below 8.493 version * Add information about glest multiplayer
(In reply to comment #46) > Created an attachment (id=156455) [edit] > Ebuild to glest-3.1.2 > > Release new version of glest ebuild: > > * Block the ati-drivers package below 8.493 version > * Add information about glest multiplayer > It won't compile on my laptop. Another gcc-4.3.1 issue? checking for wxWidgets version >= 2.6.0 (--unicode=yes)... yes (version 2.6.4) configure: creating ./config.status config.status: creating Jamconfig config.status: executing Jamfile commands configure: Notice: This project uses jam (and not make) as build tool. ...found 490 target(s)... ...updating 142 target(s)... MkDir1 ./build/i686-pc-linux-gnu/optimize/shared_lib/sources MkDir1 ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/platform/sdl C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/platform/sdl/thread.o C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/platform/sdl/platform_util.o shared_lib/sources/platform/sdl/platform_util.cpp: In function 'bool Shared::Platform::isKeyDown(int)': shared_lib/sources/platform/sdl/platform_util.cpp:210: warning: array subscript has type 'char' C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/platform/sdl/window.o C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/platform/sdl/window_gl.o C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/platform/sdl/gl_wrap.o C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/platform/sdl/factory_repository.o MkDir1 ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/platform/posix C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/platform/posix/socket.o shared_lib/sources/platform/posix/socket.cpp: In constructor 'Shared::Platform::Ip::Ip(const std::string&)': shared_lib/sources/platform/posix/socket.cpp:54: error: 'atoi' was not declared in this scope shared_lib/sources/platform/posix/socket.cpp: In static member function 'static void Shared::Platform::Socket::throwException(const std::string&)': shared_lib/sources/platform/posix/socket.cpp:207: error: 'strerror' was not declared in this scope shared_lib/sources/platform/posix/socket.cpp: In member function 'void Shared::Platform::ClientSocket::connect(const Shared::Platform::Ip&, int)': shared_lib/sources/platform/posix/socket.cpp:217: error: 'memset' was not declared in this scope g++-4.3.1 -c -o ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/platform/posix/socket.o -DPACKAGE_NAME="glest" -DPACKAGE_TARNAME="glest" -DPACKAGE_VERSION="3.1.2" -DPACKAGE_STRING="glest 3.1.2" -DPACKAGE_BUGREPORT="matze@braunis.de" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DUSE_POSIX_SOCKETS= -DX11_AVAILABLE=1 -DHAVE_GLOB_H=1 -DHAVE_SYS_IOCTL_H=1 -DUSE_SDL= -DHAVE_PTHREAD=1 -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -pthread -I/usr/games/include -I/usr/games/include -Ishared_lib/sources/../include/platform/sdl -Ishared_lib/sources/../include/platform/posix -Ishared_lib/sources/../include/util -Ishared_lib/sources/../include/graphics -Ishared_lib/sources/../include/graphics/gl -Ishared_lib/sources/../include/sound -Ishared_lib/sources/../include/sound/openal -Ishared_lib/sources/../include/xml -Ishared_lib/sources/../include/glew -march=native -O2 -pipe -fomit-frame-pointer -Wall -W -Wno-unused -Wno-sign-compare -O3 -g3 -DNDEBUG shared_lib/sources/platform/posix/socket.cpp ...failed C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/platform/posix/socket.o ... MkDir1 ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/util C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/util/profiler.o C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/util/leak_dumper.o C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/util/properties.o shared_lib/sources/util/properties.cpp: In member function 'void Shared::Util::Properties::load(const std::string&)': shared_lib/sources/util/properties.cpp:50: error: 'strlen' was not declared in this scope g++-4.3.1 -c -o ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/util/properties.o -DPACKAGE_NAME="glest" -DPACKAGE_TARNAME="glest" -DPACKAGE_VERSION="3.1.2" -DPACKAGE_STRING="glest 3.1.2" -DPACKAGE_BUGREPORT="matze@braunis.de" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DUSE_POSIX_SOCKETS= -DX11_AVAILABLE=1 -DHAVE_GLOB_H=1 -DHAVE_SYS_IOCTL_H=1 -DUSE_SDL= -DHAVE_PTHREAD=1 -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -pthread -I/usr/games/include -I/usr/games/include -Ishared_lib/sources/../include/platform/sdl -Ishared_lib/sources/../include/platform/posix -Ishared_lib/sources/../include/util -Ishared_lib/sources/../include/graphics -Ishared_lib/sources/../include/graphics/gl -Ishared_lib/sources/../include/sound -Ishared_lib/sources/../include/sound/openal -Ishared_lib/sources/../include/xml -Ishared_lib/sources/../include/glew -march=native -O2 -pipe -fomit-frame-pointer -Wall -W -Wno-unused -Wno-sign-compare -O3 -g3 -DNDEBUG shared_lib/sources/util/properties.cpp ...failed C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/util/properties.o ... C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/util/util.o shared_lib/sources/util/util.cpp: In function 'void Shared::Util::copyStringToBuffer(char*, int, const std::string&)': shared_lib/sources/util/util.cpp:117: error: 'strncpy' was not declared in this scope g++-4.3.1 -c -o ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/util/util.o -DPACKAGE_NAME="glest" -DPACKAGE_TARNAME="glest" -DPACKAGE_VERSION="3.1.2" -DPACKAGE_STRING="glest 3.1.2" -DPACKAGE_BUGREPORT="matze@braunis.de" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DUSE_POSIX_SOCKETS= -DX11_AVAILABLE=1 -DHAVE_GLOB_H=1 -DHAVE_SYS_IOCTL_H=1 -DUSE_SDL= -DHAVE_PTHREAD=1 -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -pthread -I/usr/games/include -I/usr/games/include -Ishared_lib/sources/../include/platform/sdl -Ishared_lib/sources/../include/platform/posix -Ishared_lib/sources/../include/util -Ishared_lib/sources/../include/graphics -Ishared_lib/sources/../include/graphics/gl -Ishared_lib/sources/../include/sound -Ishared_lib/sources/../include/sound/openal -Ishared_lib/sources/../include/xml -Ishared_lib/sources/../include/glew -march=native -O2 -pipe -fomit-frame-pointer -Wall -W -Wno-unused -Wno-sign-compare -O3 -g3 -DNDEBUG shared_lib/sources/util/util.cpp ...failed C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/util/util.o ... C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/util/conversion.o shared_lib/sources/util/conversion.cpp: In function 'int Shared::Util::strToInt(const std::string&)': shared_lib/sources/util/conversion.cpp:37: error: 'strtol' was not declared in this scope shared_lib/sources/util/conversion.cpp: In function 'float Shared::Util::strToFloat(const std::string&)': shared_lib/sources/util/conversion.cpp:49: error: 'strtod' was not declared in this scope shared_lib/sources/util/conversion.cpp: In function 'bool Shared::Util::strToInt(const std::string&, int*)': shared_lib/sources/util/conversion.cpp:73: error: 'strtol' was not declared in this scope shared_lib/sources/util/conversion.cpp: In function 'bool Shared::Util::strToFloat(const std::string&, float*)': shared_lib/sources/util/conversion.cpp:83: error: 'strtod' was not declared in this scope
(In reply to comment #47) > It won't compile on my laptop. Another gcc-4.3.1 issue? > I think so, because these errors are about C/C++ native functions. Please, try with gcc-4.1.2 and send me your feedback.
Created attachment 162296 [details, diff] Compile fix for gcc-4.3.1 Not really tested, but compiles successfully with gcc-4.3.1.
It seems to require wxGTK to be compiled with opengl use-flag. Plz check it and fix ebuilds
(In reply to comment #50) > It seems to require wxGTK to be compiled with opengl use-flag. Plz check it and > fix ebuilds > Hi vah! I tested in my laptop without opengl use-flag to wxGTK-2.6 and wxGTK-2.8, but the Glest works fine. I think that this is not your problem to do your Glest runs.
Version 3.2.1 is now in portage
I have installed last version (3.1.2) and seems to run fine, but cannot join to games created by others (it just doesn't react to the "join game" button). In the command line i get the fellowing message: Couldn't process event: Value not found in propertyMap: ServerIp, loaded from: glest.ini Strange thing is that the binary i downloaded from the glest page works fine (and as far as i have read, differently compiled binaries might not be compatible for network play,, so it seems that the only way to play online is to install the binary).
glest won't compile with >dev-libs/xerces-c-3.0. please take a look at this link: http://www.glest.org/glest_board/viewtopic.php?f=11&p=18610 thanks.
(In reply to comment #54) > glest won't compile with >dev-libs/xerces-c-3.0. please take a look at this > link: > > http://www.glest.org/glest_board/viewtopic.php?f=11&p=18610 > > thanks. > I added now dependency on specific xerces-c versions. Thanks