Commit Graph

56 Commits

Author SHA1 Message Date
hendricks266 14db3b178d Build system: Detect the SVN revision and generate rev.h directly from the Makefile, if applicable.
git-svn-id: https://svn.eduke32.com/eduke32@4343 1a8010ca-5511-0410-912e-c29ae57300e0
2014-02-22 08:02:41 +00:00
hendricks266 0df08d2204 Synthesis: Merge "sdk" package back into the game.
git-svn-id: https://svn.eduke32.com/eduke32@4342 1a8010ca-5511-0410-912e-c29ae57300e0
2014-02-22 08:02:23 +00:00
helixhorned 38d939372d synthesis.sh: add Mapster32 to Lunatic preview package. BUILD_LUNATIC.
There's no separate SDK package, unlike for the regular builds.

git-svn-id: https://svn.eduke32.com/eduke32@4330 1a8010ca-5511-0410-912e-c29ae57300e0
2014-02-12 21:03:07 +00:00
hendricks266 e50c4069b3 Synthesis: Start building Lunatic in 64-bit too. BUILD_LUNATIC.
git-svn-id: https://svn.eduke32.com/eduke32@4323 1a8010ca-5511-0410-912e-c29ae57300e0
2014-02-10 11:00:34 +00:00
helixhorned abd71a1e24 synthesis.sh: include test/{damagehplane,shadexfog}.lua for BUILD_LUNATIC.
git-svn-id: https://svn.eduke32.com/eduke32@4240 1a8010ca-5511-0410-912e-c29ae57300e0
2014-01-02 00:08:41 +00:00
hendricks266 02507d76e4 Synthesis: Augment changelogs a little bit. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@4159 1a8010ca-5511-0410-912e-c29ae57300e0
2013-11-15 20:05:20 +00:00
hendricks266 478ef6eef8 At least now I know exactly what this is doing. BUILD_LUNATIC.
git-svn-id: https://svn.eduke32.com/eduke32@4158 1a8010ca-5511-0410-912e-c29ae57300e0
2013-11-15 19:41:02 +00:00
hendricks266 58758dca39 BUILD_LUNATIC. Right now.
git-svn-id: https://svn.eduke32.com/eduke32@4157 1a8010ca-5511-0410-912e-c29ae57300e0
2013-11-15 19:18:10 +00:00
hendricks266 bef8939c95 This one better work. BUILD_LUNATIC.
git-svn-id: https://svn.eduke32.com/eduke32@4156 1a8010ca-5511-0410-912e-c29ae57300e0
2013-11-15 19:02:52 +00:00
hendricks266 40c2b8614b This should fix Synthesis for real. BUILD_LUNATIC.
git-svn-id: https://svn.eduke32.com/eduke32@4155 1a8010ca-5511-0410-912e-c29ae57300e0
2013-11-15 07:24:33 +00:00
hendricks266 dc664fd5c6 A stab in the dark at fixing the Synthesis problems. BUILD_LUNATIC.
git-svn-id: https://svn.eduke32.com/eduke32@4154 1a8010ca-5511-0410-912e-c29ae57300e0
2013-11-15 05:45:22 +00:00
hendricks266 9286456dd1 Everybody makes mistakes.
git-svn-id: https://svn.eduke32.com/eduke32@4131 1a8010ca-5511-0410-912e-c29ae57300e0
2013-11-04 04:32:28 +00:00
hendricks266 851e9fc8d1 Sweeping modifications to synthesis and the package directory structure so that every potential binary is in its own package.
While we're rearranging files, ensure all SVN mime-types are set correctly.

git-svn-id: https://svn.eduke32.com/eduke32@4130 1a8010ca-5511-0410-912e-c29ae57300e0
2013-11-04 03:59:26 +00:00
hendricks266 d52889e5db Synthesis now outputs .7z instead of .zip and .tar.xz instead of .tar.bz2. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@4129 1a8010ca-5511-0410-912e-c29ae57300e0
2013-11-04 02:35:39 +00:00
Plagman e3157f6c5e Use gcc 4.8 specifically for synthesis builds.
git-svn-id: https://svn.eduke32.com/eduke32@4115 1a8010ca-5511-0410-912e-c29ae57300e0
2013-10-27 18:14:25 +00:00
hendricks266 3c614fcafa Update synthesis to build and package 64-bit executables next to the 32-bit ones.
git-svn-id: https://svn.eduke32.com/eduke32@4098 1a8010ca-5511-0410-912e-c29ae57300e0
2013-10-13 06:16:27 +00:00
Plagman 17226ad870 Make synthesis use i686-w64-mingw32-gcc-dw2-4.8.0-linux64 + native NASM.
If you see any weird behavior in synthesis builds after this change, please
let Plagman know!

git-svn-id: https://svn.eduke32.com/eduke32@4097 1a8010ca-5511-0410-912e-c29ae57300e0
2013-10-13 03:13:53 +00:00
helixhorned b1b043bfc7 synthesis.sh: remove 'psd' from 'not_src_packaged' (giving 'rm' error later).
DONT_BUILD.

git-svn-id: https://svn.eduke32.com/eduke32@4024 1a8010ca-5511-0410-912e-c29ae57300e0
2013-08-18 21:54:48 +00:00
helixhorned 77dc57aee7 When building Lunatic from synthesis, tell LuaJIT to generate PE object files.
BUILD_LUNATIC, third attempt.

git-svn-id: https://svn.eduke32.com/eduke32@4023 1a8010ca-5511-0410-912e-c29ae57300e0
2013-08-18 21:14:37 +00:00
helixhorned f2e92a7ea3 synthesis.sh: package some Lunatic test files when attempting to BUILD_LUNATIC.
git-svn-id: https://svn.eduke32.com/eduke32@4022 1a8010ca-5511-0410-912e-c29ae57300e0
2013-08-18 19:24:27 +00:00
helixhorned aaf57051df synthesis.sh: keep executable extension in a variable.
So that the script can be tested in e.g. a native Linux environment.

git-svn-id: https://svn.eduke32.com/eduke32@4003 1a8010ca-5511-0410-912e-c29ae57300e0
2013-08-11 15:28:47 +00:00
helixhorned 662438c6a5 synthesis.sh: fix DONT_BUILD and BUILD_LUNATIC.
git-svn-id: https://svn.eduke32.com/eduke32@4002 1a8010ca-5511-0410-912e-c29ae57300e0
2013-08-11 15:28:46 +00:00
helixhorned 5f19fe63c0 synthesis.sh: replace '-r' option by '-f' in "rm -r $lockfile".
Strictly speaking, forcing the delete should be unnecessary too, but it
can't harm in case the lock file is deleted from outside while the script
is running.

git-svn-id: https://svn.eduke32.com/eduke32@3999 1a8010ca-5511-0410-912e-c29ae57300e0
2013-08-11 15:28:40 +00:00
helixhorned eb6899d062 synthesis.sh: add two options specified by magic strings in the HEAD commit msg.
- If the message of the HEAD commit contains DONT_BUILD, building is entirely
  skipped.
- If it contains BUILD_LUNATIC, a Lunatic preview release EDuke32 is built (the
  editor is not built) and named leduke_PREVIEW.exe.

git-svn-id: https://svn.eduke32.com/eduke32@3978 1a8010ca-5511-0410-912e-c29ae57300e0
2013-08-04 20:37:50 +00:00
Plagman b6fdabc21f Revert "Make synthesis use i686-w64-mingw32-gcc-4.7.2-release-linux64 + native NASM."
This reverts commit 53756fb79f.

git-svn-id: https://svn.eduke32.com/eduke32@3351 1a8010ca-5511-0410-912e-c29ae57300e0
2012-12-31 23:39:36 +00:00
Plagman 53756fb79f Make synthesis use i686-w64-mingw32-gcc-4.7.2-release-linux64 + native NASM.
If you see any weird behavior in synthesis builds after this change, please
let Plagman know!

git-svn-id: https://svn.eduke32.com/eduke32@3348 1a8010ca-5511-0410-912e-c29ae57300e0
2012-12-31 01:24:22 +00:00
hendricks266 95dd57154e Clean up some file and directory structure.
* Renamed source/jaudiolib/third-party/mingw32 to source/jaudiolib/third-party/Windows.
* Moved source/jaudiolib/third-party/Windows/include to source/jaudiolib/third-party/common/include to use both on Windows and Apple.
* Deleted Apple/lib/include/{ogg,vorbis}/, see previous point.
* Deleted Apple/lib/libvorbisenc.a, 6MB saved.
* Moved Apple/lib/lib{ogg,vorbis,vorbisfile}.a to source/jaudiolib/third-party/Apple/lib, where they belong.
* Moved source files in Apple/ to source/, where they belong. (SDLMain.[mh] stay.)
* Deleted source/jaudiolib/third-party/{ogg,vorbis}.framework, not used any more.
* Renamed "StartupWinController*" to "startosx*".

git-svn-id: https://svn.eduke32.com/eduke32@3334 1a8010ca-5511-0410-912e-c29ae57300e0
2012-12-29 10:54:35 +00:00
hendricks266 50844b6e71 Fix ebacktrace on 32-bit. (Sorry, we're back to 5 MB.)
git-svn-id: https://svn.eduke32.com/eduke32@3304 1a8010ca-5511-0410-912e-c29ae57300e0
2012-12-18 09:15:39 +00:00
hendricks266 0f690797f5 ebacktrace1 updates:
- Updated to use StackWalk64 function call, requiring some addition of headers from MinGW-w64 to compile with MinGW.
- Code added to support 64-bit executables: functionality added and one warning fixed.
- New DLL binaries compiled using i686-MinGW-w64 and x86_64-MinGW-w64. (Oddly, the DLL built with MinGW is 5 MB while MinGW-w64's is 1 MB.)

git-svn-id: https://svn.eduke32.com/eduke32@3299 1a8010ca-5511-0410-912e-c29ae57300e0
2012-12-16 05:45:29 +00:00
Plagman 10ebc66fac Revert "Make synthesis use the debian-packaged mingw32 cross-compiler and nasm."
This reverts commit 2cb2588e57.

git-svn-id: https://svn.eduke32.com/eduke32@3251 1a8010ca-5511-0410-912e-c29ae57300e0
2012-12-02 23:24:12 +00:00
hendricks266 b304360c87 Remove ebacktrace1.dll from 'make all' and include a prebuilt one in package/. Build it with 'make ebacktrace'.
synthesis.sh updated.

git-svn-id: https://svn.eduke32.com/eduke32@3236 1a8010ca-5511-0410-912e-c29ae57300e0
2012-11-26 08:24:54 +00:00
hendricks266 9d2c19bcca Restructure so that everything packaged in a release build is stored in the package folder, instead of maintaining a list.
synthesis.sh, osxbuild.sh, and wiibuild.bat updated.

git-svn-id: https://svn.eduke32.com/eduke32@3235 1a8010ca-5511-0410-912e-c29ae57300e0
2012-11-26 08:23:20 +00:00
Plagman 2cb2588e57 Make synthesis use the debian-packaged mingw32 cross-compiler and nasm.
If you see any weird behavior in synthesis builds after this change, please
let Plagman know!

git-svn-id: https://svn.eduke32.com/eduke32@3233 1a8010ca-5511-0410-912e-c29ae57300e0
2012-11-25 16:04:07 +00:00
Plagman 7e62f10728 Fix synthesis fallout after ivfrate addition.
git-svn-id: https://svn.eduke32.com/eduke32@3135 1a8010ca-5511-0410-912e-c29ae57300e0
2012-11-09 16:00:37 +00:00
helixhorned b2162f554d New utility ivfrate(.exe) and a couple of small VP8 changes.
The command-line utility can query and set the frame rate of IVF files, since
apparently encoders don't care too much about setting proper values in the IVF
header.  Also, add the utility to the synthesis build.

On the playback side in EDuke32, get rid of the 1/(2*fps) "correction" if the
FPS numerator is <1000 (presumably used in older encoders) and properly print
the frame rate's fractional part.

git-svn-id: https://svn.eduke32.com/eduke32@3131 1a8010ca-5511-0410-912e-c29ae57300e0
2012-11-08 20:17:23 +00:00
hendricks266 fcf9beae6a Work-in-progress adjustment to the C code to compile under C++. It builds for me without errors using Win32 MinGW-GCC, but it still generates warning soup. No guarantees about MSVC or anything using SDL. Enable C++ by building with CPLUSPLUS=1. C remains the default and should compile with no change in setup.
Credit to Plagman for the idea and doing the work on the game side, which is included in this commit.

(Building as C++ will give us features with which we can make improvements and optimizations on the multiplayer code and Polymer.)

git-svn-id: https://svn.eduke32.com/eduke32@3116 1a8010ca-5511-0410-912e-c29ae57300e0
2012-11-05 02:49:08 +00:00
hendricks266 60a27d6bb0 synthesis.sh:
- Exclude "Apple/lib" rather than "Apple" so that required files are not left out of the tarball.
 - Add one to $lastrevision before generating the ChangeLog so that it only includes what is new to an update.
osxbuild.sh:
 - Add stronger detection of the SVN revision by adding support for 1.7 (no longer relying on an ".svn" directory) and having a specific fallback in case the build location is neither svn nor git.
 - Echo the SVN revision to source/rev.h before the build processes and revert it afterwards.

git-svn-id: https://svn.eduke32.com/eduke32@2402 1a8010ca-5511-0410-912e-c29ae57300e0
2012-03-04 09:33:23 +00:00
hendricks266 98ae1ce50a fix clobbering of ebacktrace1.dll during synthesis building
git-svn-id: https://svn.eduke32.com/eduke32@2062 1a8010ca-5511-0410-912e-c29ae57300e0
2011-10-02 07:47:18 +00:00
helixhorned fb2f01911c synthesis: package ebacktrace1.dll, remove backtrace.dll and libi*.dll
Makefile: remove ebacktrace1.dll on 'veryclean' target

git-svn-id: https://svn.eduke32.com/eduke32@2041 1a8010ca-5511-0410-912e-c29ae57300e0
2011-09-22 16:53:10 +00:00
plagman 5bae16041d synthesis: require /bin/bash
synthesis.sh has bash-isms, so sh or dash won't cut it.



git-svn-id: https://svn.eduke32.com/eduke32@1999 1a8010ca-5511-0410-912e-c29ae57300e0
2011-09-01 20:11:22 +00:00
hendricks266 e9b15edd25 move tiles.cfg out of eduke32/samples/ into eduke32/ and update synthesis.sh to reflect that
git-svn-id: https://svn.eduke32.com/eduke32@1948 1a8010ca-5511-0410-912e-c29ae57300e0
2011-07-28 21:12:02 +00:00
plagman 0e727f01d3 Update synthesis with pending versioning changes by TerminX that have been running
without problems for a while.



git-svn-id: https://svn.eduke32.com/eduke32@1940 1a8010ca-5511-0410-912e-c29ae57300e0
2011-07-21 23:45:12 +00:00
terminx 84756c0048 Update synthesis script
git-svn-id: https://svn.eduke32.com/eduke32@1822 1a8010ca-5511-0410-912e-c29ae57300e0
2011-03-04 09:29:54 +00:00
Plagman e0588e4a70 Pull in backtrace.c (pre-compiled as backtrace.dll and MinGW dependencies) from http://code.google.com/p/backtrace-mingw. When running debugging snapshots, this will print out a helpful backtrace in eduke32.crashlog. I had to disable stack protectors for debug builds as this was pulling in a dependency that I assume most people won't have. If anyone feels like merging that code into EDuke32 itself and find a way to remove the ugly libintl dependencies, be my guest. In the meantime, sorry for the awful commit.
git-svn-id: https://svn.eduke32.com/eduke32@1715 1a8010ca-5511-0410-912e-c29ae57300e0
2010-10-19 05:42:21 +00:00
plagman 5b987e8770 Package debug binaries in synthesis.
git-svn-id: https://svn.eduke32.com/eduke32@1714 1a8010ca-5511-0410-912e-c29ae57300e0
2010-10-19 04:39:54 +00:00
terminx ceb217dec8 git-svn-id: https://svn.eduke32.com/eduke32@1675 1a8010ca-5511-0410-912e-c29ae57300e0 2010-07-26 22:35:09 +00:00
terminx ff325e2205 probably fix snapshot filenames
git-svn-id: https://svn.eduke32.com/eduke32@1654 1a8010ca-5511-0410-912e-c29ae57300e0
2010-05-25 11:26:09 +00:00
terminx 8ae2a7c1ac git-svn-id: https://svn.eduke32.com/eduke32@1651 1a8010ca-5511-0410-912e-c29ae57300e0 2010-05-25 10:47:52 +00:00
plagman 6e819ce0d0 Package more files in synthesis at H266's request.
git-svn-id: https://svn.eduke32.com/eduke32@1568 1a8010ca-5511-0410-912e-c29ae57300e0
2009-12-14 05:51:07 +00:00
terminx 9a39896b82 git-svn-id: https://svn.eduke32.com/eduke32@1535 1a8010ca-5511-0410-912e-c29ae57300e0 2009-10-18 02:59:31 +00:00