152 Commits

Author SHA1 Message Date
loonycyborg
9df0a5943f
scons: fix paths when compiling .rc files
Previous way of addressing compiled .rc files led to stale intermediate
targets leading to issue #7441
2023-03-08 20:43:46 +03:00
loonycyborg
91d4543a3b
Update screenshot links in appdata per issue #7260 2023-01-19 23:31:11 +03:00
Pentarctagon
bd306a5aa9 Update flatpak runtime to freedesktop 22.08. 2022-09-03 11:53:56 -05:00
Pentarctagon
2a16933229 Enable LTO for flatpak. 2022-06-21 19:14:43 -05:00
loonycyborg
56c2b1e5a8 Set codepage for winapi to utf-8 in the manifest file
This actually works on windows 10 1903 and later though
2022-06-11 16:23:11 -05:00
Charles Dang
4393538013 Enable HDPI in windows manifest file 2022-04-30 03:23:10 -04:00
Charles Dang
8e3105dae6 Use custom manifest file when building with MSVC
VS does generate its own internal manifest file, but since we're using cmake now instead of proper VS projectfiles
we don't have the ability to just tick a box to enable HDPI support (or any other change we want). There are ways
to merge manifest files (mt.exe) which might be preferable to this, but I can't figure out how to use them.
2022-04-30 03:21:46 -04:00
loonycyborg
35211181b4
flatpak: update freedesktop runtime version to 21.08. Fixes #6497 2022-02-09 11:51:27 +03:00
loonycyborg
f175caf3bd
flatpak manifest: fetch scons using https instead of http 2021-09-30 22:02:40 +03:00
Pentarctagon
dbc7aee776
Remove 32-bit specific flag. 2021-06-28 09:13:11 -05:00
Celtic Minstrel
f539deea1b Remove the wesnoth-test textdomain 2021-06-19 12:10:02 -05:00
loonycyborg
ad38010a03
update flatpak manifest because boost download url changed 2021-05-03 20:28:58 +03:00
loonycyborg
0ffe194f71 Update flatpak runtime version. This fixes #5552 2021-02-17 21:35:57 +03:00
Severin Glöckner
b10e061b24 Systemd Unit File: fix typo
The define is FIFODIR, but for cmake it's called FIFO_DIR
2021-01-19 01:59:04 +01:00
Sergey Popov
3933ebab5c
Use coroutines via boost::asio::spawn to improve overall code structure in servers (#5341)
* Convert server_base class to use coroutine instead of handlers

* Rework wesnothd's client login to use coroutine

* Merge 3 player handling functions into a single coroutine

* update cmakelists too

* Implement send_doc_queued in terms of coroutine

* Use brace initialization for making asio buffers

* Implement campaignd's request handling in coroutine

* Brace-initialize entire vector

* Remove old handler based send/receive helpers

* Document coroutine send/receive helpers

* Made coro_send_doc() helper take wml doc by reference

In most cases there is no need to rely on shared pointers to ensure
object lifetime if using coroutines since even when coroutine is
suspended args are still kept alive by its context.

* Document coro_send_file()

* Silence deprecation warning to fix build on earlier versions of boost

* Explicitly check for boost.context to allow linking against static boost libs

* Add boost.coroutine to flatpak manifest

* Port winapi TransmitFile codepath to coroutines

* Exception safety fix

* Add boost.scope_exit to vcpkg

* Fix build with pre-1.66 boost

* Move coro_* helpers into server_base class

Those helpers were in .ipp solely because they were templated on handler
types, this is no longer true after coroutine based rework.

* Make server_base::coro_send_file non-inline

* CleanUp Xcode project

Co-authored-by: Martin Hrubý (hrubymar10) <hrubymar10@gmail.com>
2020-12-30 19:08:34 +03:00
Hejnewar
ad60649e10 Typo fix in shortcut of polish version.
"Bitwy" means "Battles", in name there is clearly only single "Battle" thus it shouldn't be "Bitwy" but "Bitwa".
2020-10-26 14:10:10 -05:00
Piotr Makarewicz
94c48050ca add Polish lines to org.wesnoth.Wesnoth.desktop
As requested by Pentarctagon here: https://github.com/wesnoth/wesnoth/pull/5238#issuecomment-716693589
2020-10-26 14:09:38 -05:00
Steve Cotton
a42600ffbe Remove the wesnoth-ai textdoman, move a few strings to wesnoth-lib (#4669)
This whole textdomain is dedicated to localized strings revolving around the
game's AI engine and the AI demos/test scenarios, with around 370 strings in
it.

Other than a few strings near the start of the catalogue template, none of these
have any value for regular players since they are sourced from AI demos and
test scenarios in data/ai/micro_ais/ and data/ai/scenarios/. None of them will
be displayed to people who aren't tinkering with WML or contributing to AI
development as part of the Wesnoth dev team, and some of the language used in
them is very technical in nature.

This commit leaves the "#textdomain wesnoth-ai" lines in the AI demos, but
drops the .po and .pot catalogues for wesnoth-ai. The few strings that are
seen by regular players move to the wesnoth-lib textdomain.
2020-10-01 10:29:39 +02:00
loonycyborg
0a007aa2ca Fix issue #4847
Made NSIS give default install location in 64bit Program Files dir
2020-04-14 10:53:37 +03:00
Martin Hrubý (hrubymar10)
16d55d9358
Resize wesnoth dmg template to 1.5GB 2020-03-10 16:37:10 +01:00
Martin Hrubý (hrubymar10)
0badc6a5af
New Xcode README.md steps
* Wesnoth .dmg template init

* Update Xcode's README.md with current steps and informations
2020-03-09 14:00:21 +01:00
Pentarctagon
5642ca74e4 Create macOS debug dmg image on travis.
Also uploads it to SourceForge.  This is also set to be UDBZ(bzip2) rather than UDZO(zlib), since it shrinks the dmg size for 30-40 MBs.
2020-02-21 22:20:08 -06:00
Pentarctagon
51788f3773 Correctly label Windows installer as win64. 2020-02-15 18:41:01 -06:00
Pentarctagon
0249276d27 Remove duplicate Turkish entry in NSIS script. 2020-02-15 18:41:01 -06:00
Severin Glöckner
341780b853 Wesnothd – support config reloading via systemctl
[ci skip]
2020-01-28 22:53:11 +01:00
pentarctagon
21d133828b Add a flatpak travis job.
NOTE: This doesn't sign/upload/etc the output anywhere.
2019-12-31 17:17:34 -06:00
pentarctagon
5cdaab7589 Fixes a warning about scons builds with multiple threads.
Currently both on jenkins and locally building Wesnoth's flatpak gives the warning:

scons: warning: parallel builds are unsupported by this version of Python;
	ignoring -j or num_jobs option.

This is apparently due to an issue between scons 3.0.1 and python 3.7+, which was reported at https://github.com/SCons/scons/issues/3145, fixed in https://github.com/SCons/scons/pull/3150, and is therefore first included in scons 3.0.2.
2019-12-23 13:06:43 -06:00
nemaara
73f2429041 Remove left over wesnoth-aoi translation things 2019-12-01 20:33:07 -05:00
loonycyborg
b5339299ea Fix flatpak manifest for master 2019-10-25 19:05:28 +03:00
loonycyborg
2e4312f5de Add oars entry to appdata file 2019-10-13 19:54:25 +03:00
Severin Glöckner
fda90a1896 Add HighContrast icon
relevant for Linux / BSD
2019-09-16 00:35:37 +02:00
loonycyborg
bacf361285 Remove references to player changelog from NSIS script 2019-08-12 19:14:56 +03:00
Nils Kneuper
8d9ff0f623 added TUrkish translation to Windows packaging 2019-06-30 13:38:39 +02:00
loonycyborg
39674f13b5 Revert unintended path change 2019-03-27 22:29:58 +03:00
loonycyborg
798e809512 Rename appdata and desktop files to contain D-Bus well-known name
as per freedesktop spec
2019-03-27 22:18:01 +03:00
Andrius Štikonas
6152883645 Fix some spelling issues
Fix a typo in micro_ai simple_attack demo: you -> your.
Fix inconsistent spaces
Fix misspelled wesnoth in systemd unit file
2019-03-06 11:42:17 -05:00
Severin Glöckner
62a1a1bdc6 systemd: add more options
[ci skip]
2018-12-23 21:24:05 +01:00
Severin Glöckner
03a01f27be Appdata: the tools accept the email in this form too
Maybe the ones of the bad guys not?
[ci skip]
2018-12-23 21:24:04 +01:00
Severin Glöckner
552567dff2 Appdata: add contact e-mail address
This Address is not shown in the store. It's used to contact us in case of
issues or upstream changes regarding this file.
In the past it has been used for a mass email by hughsie, an developer for
appstream related things.

[ci skip]
2018-11-08 21:51:25 +01:00
Severin Glöckner
e46f0a5167 add placeholer links to appdata file
(cherry picked from commit 8044bb512eb3cb1bcc992fc17263f0175a5d828f)
2018-10-28 02:53:00 +00:00
newfrenchy83
da95fedcad Update Code::Blocks project (#3585)
(cherry-picked from commit 248af054c70f7e924b6caf24b95d7ff0617f5a12)
2018-10-07 03:25:23 +00:00
Severin Glöckner
a89780f13b add textdomains to appdata file:
One must compile wesnoth with -DLOCALEDIR=/usr/share/locale, as that's the place
where the system looks for translations.
(One can test it with gettext -s -d wesnoth "poisoned")

This is according to the docs, needs more testing if it works.
Doesn't work with Arch, though Arch doesn't support software centres well.

[ci skip]

(cherry-picked from commit 60f2158dfaa88eca47e4f2bdb0a4a64f28db8ba1)
2018-10-07 03:24:54 +00:00
Severin Glöckner
a2b4ce4ee1 remove superfluous space
[ci skip]

(cherry-picked from commit eabf6e2635fd7191aa31677dd9f324fa3a49e358)
2018-10-07 03:24:53 +00:00
Severin Glöckner
b044b289e5 Add keywords to the desktop file
They are as well used in the software centre.
Having keywords is a bonus, even if they are not matched.

[ci skip]

(cherry-picked from commit 76e7c8d19f8626dca5edd33b8c66ef3a0385f93f)
2018-10-07 03:24:52 +00:00
Severin Glöckner
56130d1e0a Appdata: change license identifier
former one is valid but deprecated

[ci skip]

(cherry-picked from commit d133b510c97cbb1d6b070c27700e3cfd03ada1c2)
2018-10-07 03:24:52 +00:00
Severin Glöckner
d40aa8406c Desktop file: start from a shell
output redirection is only possible when starting from a shell

[ci skip]

(cherry-picked from commit a46c6edd5a945082a07722a50f79679d427cfacd)
2018-10-07 03:24:51 +00:00
Severin Glöckner
1efaa64a1b Linux Packaging: Don't store log info which nobody will read
So it may not be saved in ~/.xession-errors
or cluttering up disk space another way

(cherry-picked from commit c998f13a4526d89840b3bf7e36e6a4ffd57d7c80)
2018-10-07 03:24:19 +00:00
rrigby
45b9fe1e5b Add categories to appdata
following https://standards.freedesktop.org/menu-spec/latest/apas02.html

(cherry-picked from commit 16e858263c86f579603d615db172aff732192ec0)
2018-10-07 03:24:00 +00:00
loonycyborg
6d0ac6b58e flatpak: pass hardening options when building static boost
(cherry-picked from commit f5974941576fb541ebddb0d3e690cc469b8f5e75)
2018-10-07 03:22:47 +00:00
loonycyborg
d474ca9796 Update flatpak manifest
(cherry-picked from commit c78e95cf6c149095b88e18fecd7421e4f0f0a844)
2018-10-07 03:22:35 +00:00