Commit Graph

7929 Commits

Author SHA1 Message Date
line0 46121094a1 fix PCHs on VS2019
* separate PCH for C and C++
* acconf.h now included in PCHs on windows, too
* meson now auto-generates companion source files for PCH headers
2020-04-11 01:30:10 +02:00
FichteFoll ad5205202f Use i18n.merge_file for real
Requires gettext 0.19, which is available on all major linux dists.

Not compatible with autotools chain! (For now, anyway.)
2019-10-05 21:34:42 +02:00
FichteFoll f477393217 Add commented i18n.merge_file version
Using that makes use of gettext (and msgfmt) rather than intltool,
which is the proper way but requires a more recent gettext version and
I'm not comfortable adding that dependency for now.

Specifically, it would require updating the autotools chain as well
as the template files are incompatible.

See https://wiki.gnome.org/MigratingFromIntltoolToGettext for more info.
2019-10-05 21:34:42 +02:00
FichteFoll 02c7e4b73c Move language specifications to LINGUAS file
This is required when using i18n.merge_file.
2019-10-05 21:34:41 +02:00
FichteFoll 6b8d7c4ce8 Properly build aegisub.desktop 2019-10-05 21:34:41 +02:00
Ryan Lucia 8e2009a055 Add virtual destructor to SignalBase
Quashes a frequent warning
2019-10-05 21:34:41 +02:00
Ryan Lucia c186f153c3 meson: fix up OSX and non-MSVC detection 2019-10-05 21:34:41 +02:00
FichteFoll 23747c5166 Use git rev-list to determine revision number 2019-10-05 21:34:41 +02:00
FichteFoll e6f9dda2b7 Fix git_version.h generation 2019-10-05 21:34:40 +02:00
Ryan Lucia 77dae2c1ff meson: attempt to wrangle dependencies 2019-10-05 21:34:40 +02:00
Ryan Lucia c7e3566a77 gitignore: mass cleaning 2019-10-05 21:34:40 +02:00
Ryan Lucia 6f94eb2b9a Windows installer: always include vc+ runtime 2019-10-05 21:34:40 +02:00
Ryan Lucia 128c25f9ee meson: update subprojects 2019-10-05 21:34:40 +02:00
Ryan Lucia d2316c2c87 meson: remove 'build_' prefix from option 2019-10-05 21:34:39 +02:00
Ryan Lucia b66c3f05f6 Make version.sh executable 2019-10-05 21:34:39 +02:00
Ryan Lucia 0d8c25a20d Fix PCH usage
Hopefully this time in a way that doesn't ruin life for Unix folks!
2019-10-05 21:34:39 +02:00
Ryan Lucia bd9205d3d6 meson: allow additional include directories for manually located deps 2019-10-05 21:34:39 +02:00
Ryan Lucia dc961fbeca meson: add Windows-specific project args 2019-10-05 21:34:38 +02:00
Ryan Lucia 637d4ba177 meson: fix option name lookup in build file 2019-10-05 21:34:38 +02:00
Ryan Lucia c0f8828f62 meson: add DirectSound detection 2019-10-05 21:34:38 +02:00
Ryan Lucia 53353f79af meson: add basic libiconv subproject functionality 2019-10-05 21:34:38 +02:00
Ryan Lucia 8062ebbcf0 meson: fix luajit compiler args 2019-10-05 21:34:38 +02:00
Ryan Lucia 7c061ed83b Move iconv to subprojects 2019-10-05 21:34:37 +02:00
Ryan Lucia b294a0633c Move hunspell to subprojects 2019-10-05 21:34:36 +02:00
Ryan Lucia f80863415c Move CSRI to subprojects 2019-10-05 21:34:36 +02:00
Ryan Lucia 4bb6be0b2b Remove submodules 2019-10-05 21:34:35 +02:00
Ryan Lucia ce160e0c3a meson: bump c++ version 2019-10-05 21:34:35 +02:00
Ryan Lucia 46a60cf3da meson: add wrapfiles for essential subprojects 2019-10-05 21:34:35 +02:00
Ryan Lucia ba1eb3d24c meson: move luajit to subprojects directory 2019-10-05 21:34:34 +02:00
Ryan Lucia 504bd7a7ca meson: fix syntax errors in packages/meson.build 2019-10-05 21:34:24 +02:00
Ryan Lucia ce86f99a4e meson: move version scripts to tools directory 2019-10-05 21:34:23 +02:00
Ryan Lucia a80fc83cbe Remove autotools build system 2019-10-05 21:34:23 +02:00
line0 ebbe91b998 PowerShell version script: work correctly from any cwd; do not error out when version.h doesn't already exist; adjust git_version.h and git_version.xml paths for meson build system 2019-10-05 21:34:10 +02:00
Ryan Lucia 3ca8193ad0 meson: rename option for optional dependencies 2019-10-05 21:34:10 +02:00
Ryan Lucia 0ab47f2b8d meson: remove 'static' option 2019-10-05 21:34:10 +02:00
Ryan Lucia 37c6d34295 Switch from combo option to feature where appropriate
Also remove the extra space before colons :)
2019-10-05 21:34:09 +02:00
Ryan Lucia fbc751ccdb Fix spacing around colons in luajit subproject files 2019-10-05 21:34:09 +02:00
Ryan Lucia 4c7fb2debb Move version generation scripts up a level 2019-10-05 21:34:09 +02:00
Ryan Lucia b960971613 Switch to newer path concatenation syntax 2019-10-05 21:34:09 +02:00
Ryan Lucia ffacb49fdf Make spacing around colons consistent 2019-10-05 21:34:08 +02:00
Ryan Lucia c98634b25a Don't require fontconfig on windows 2019-10-05 21:34:08 +02:00
Ryan Lucia 58c8b7f209 Enable version.ps1 on windows
version.ps1 itself still has to be modified to support out-of-tree builds
2019-10-05 21:34:08 +02:00
Ryan Lucia 98bf0f8000 Bump Meson version
Build file was using a now-deprecated property
2019-10-05 21:34:08 +02:00
line0 fa05e04321 add powershell version of build/version.sh 2019-10-05 21:34:08 +02:00
FichteFoll a874c16506 Always build git_version.sh 2019-10-05 21:34:07 +02:00
Martin Herkt 8b6bca2acf Fix fdo icon install path 2019-10-05 21:34:07 +02:00
Martin Herkt 4f78f87cb1 Meson: respack.lua → respack.py; works out-of-tree 2019-10-05 21:34:07 +02:00
Martin Herkt f6c2a4998a Meson: add gettext i18n 2019-10-05 21:34:07 +02:00
Martin Herkt d966e2c282 Meson: add install rules 2019-10-05 21:34:06 +02:00
Martin Herkt 0fb8dab687 Initial port of the build system to Meson
Still some TODOs left. Probably only works on Linux for now.
2019-10-05 21:34:06 +02:00