jnonline / ogstudio

Automatically exported from code.google.com/p/ogstudio
0 stars 0 forks source link

Build OGS Mahjong 1.0.6 with survey #667

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
* MJ_BUILD_STABLE = OFF;
* all packages.

Original issue reported on code.google.com by korn...@gmail.com on 5 Jul 2013 at 9:34

GoogleCodeExporter commented 9 years ago
* return the old UI theme.

Original comment by korn...@gmail.com on 5 Jul 2013 at 9:34

GoogleCodeExporter commented 9 years ago
Updated VERSION files in mj and mj_res, returned old UI theme.

Original comment by korn...@gmail.com on 5 Jul 2013 at 11:29

GoogleCodeExporter commented 9 years ago
Incorporate c-ares shipping into build script.

Original comment by korn...@gmail.com on 5 Jul 2013 at 12:36

GoogleCodeExporter commented 9 years ago
* Install necessary libraries into debian chroots.
* Copy necessary files from each chroot.

Original comment by korn...@gmail.com on 5 Jul 2013 at 12:46

GoogleCodeExporter commented 9 years ago
Installed into chroots and copied the same way as curl.

Original comment by korn...@gmail.com on 5 Jul 2013 at 12:55

GoogleCodeExporter commented 9 years ago
Built it.
Package it now.

Original comment by korn...@gmail.com on 5 Jul 2013 at 1:07

GoogleCodeExporter commented 9 years ago
Ah, forgot to build for Windows.

Original comment by korn...@gmail.com on 5 Jul 2013 at 1:07

GoogleCodeExporter commented 9 years ago
First, build c-ares for Windows with MinGW.

Original comment by korn...@gmail.com on 6 Jul 2013 at 5:48

GoogleCodeExporter commented 9 years ago
Static libcares has been built. Fine.

Original comment by korn...@gmail.com on 6 Jul 2013 at 5:54

GoogleCodeExporter commented 9 years ago
MJIN1 doesn't link to it. I guess I need to build DLL.

Original comment by korn...@gmail.com on 6 Jul 2013 at 6:06

GoogleCodeExporter commented 9 years ago
Create own CMakeLists.txt for that.

Original comment by korn...@gmail.com on 6 Jul 2013 at 6:08

GoogleCodeExporter commented 9 years ago
Got away without CMakeLists.txt:
* added building of DLL: $(CC) -shared -fPIC -o libcares.dll $^ $(LIBS)
* created def file from the dll: pexports.exe libcares.dll > libcares.def
* created a file from the dll and def: dlltool.exe -A -D libcares.dll -d 
libcares.def -l libcares.a

Original comment by korn...@gmail.com on 6 Jul 2013 at 6:33

Attachments:

GoogleCodeExporter commented 9 years ago
MJ crashes with a message, that c-ares has not been initialized prior to its 
usage.

Original comment by korn...@gmail.com on 6 Jul 2013 at 6:43

GoogleCodeExporter commented 9 years ago
Fixed it. Works fine under Windows. Survey has been shown, too.

Original comment by korn...@gmail.com on 6 Jul 2013 at 7:00

GoogleCodeExporter commented 9 years ago
Rebuild Linux builds with the latest changes just to be exactly the same.

Original comment by korn...@gmail.com on 6 Jul 2013 at 7:03

GoogleCodeExporter commented 9 years ago
I will need to upload binaries to its own 1.0.6 directory (and *COPY* 1.0.5 to 
its own directory too, that hasn't been done last time, it was a mistake, so we 
can't MOVE them right now, since they are referenced in other places).

Original comment by korn...@gmail.com on 6 Jul 2013 at 7:10

GoogleCodeExporter commented 9 years ago
Uploaded binaries only to dev/, and 1.0.6 stand-alone and Debian packages to 
1.0.6/.

Done.

Original comment by korn...@gmail.com on 6 Jul 2013 at 7:49

GoogleCodeExporter commented 9 years ago
Checked Debian32 and Windows32 versions, they work fine. Haven't checked 
Debian64 version and Linux stand alone ones.

Original comment by korn...@gmail.com on 6 Jul 2013 at 8:05