Commit Graph

7938 Commits

Author SHA1 Message Date
line0 1dcfbbd194 meson: add missing link dependencies on windows 2020-04-12 21:51:28 +02:00
line0 c4b8b351f1 meson: add support for building wxWidgets as a subproject (WIP)
monolithic build only and disabled precompiled headers due to limited cmake support in meson

still missing linker dependencies refs to Windows SDK libs
2020-04-11 01:31:14 +02:00
line0 34fa9af482 utils: work around missing C++11 char16_t overload in wx string conversion 2020-04-11 01:31:14 +02:00
line0 5f06eb3376 meson: generate git_version header in build root rather than within the source tree
fixes an issue where the windows version of the git version update script generated the header in a place where it couldn't be found by the include in version.cpp
2020-04-11 01:31:13 +02:00
line0 f5621bc6a6 meson: make boost honor the global default_library option 2020-04-11 01:31:13 +02:00
line0 bf85421629 meson: build libiconv as static library 2020-04-11 01:31:13 +02:00
line0 1631ce855a meson: define BOOST_USE_WINDOWS_H on Windows
fixes symbol redefinition errors in VS 2019
2020-04-11 01:31:13 +02:00
line0 b15baa9611 meson: update dependencies
switch back to official harfbuzz upstream now that meson has landed
2020-04-11 01:31:12 +02:00
line0 1237989bd2 meson: don't build fontconfig file lister on windows 2020-04-11 01:30:11 +02:00
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