Commit Graph

175 Commits

Author SHA1 Message Date
pentarctagon
40ef4dbbf4 Revert "Bump min Boost version to 1.82 (#9317)"
This reverts commit 7c60174ad1.
2024-09-08 10:25:45 -05:00
Charles Dang
7c60174ad1
Bump min Boost version to 1.82 (#9317) 2024-09-08 00:58:32 -04:00
doofus-01
033012219e
Add Exif tags to images (#9254)
Artist & copyright Exif tags track the copyright info in images, replacing what used to be tracked with "copyrights.csv".
2024-08-25 20:18:16 -07:00
loonycyborg
55b6010f77
appstream manifest: merge <provides> tags to placate flathub's linter 2024-06-29 22:08:32 +03:00
loonycyborg
a7483313d9 Change id tag in appstream manifest to what is expected
Flathub linter complains about mismatched id in flatpak manifest and
appstream. Based on appstream docs it seems that reverse-DNS name is
expected without .desktop extension so appstream should be changed.
Extra <provides> and <replaces> tags added as per
https://docs.flathub.org/docs/for-app-authors/metainfo-guidelines/#renaming-id-tag
2024-06-12 04:21:22 +03:00
pentarctagon
7bed0a16c9 remove unused threads commandline options 2024-05-07 18:58:57 -05:00
Subhraman Sarkar
6e2cbdce54
add icon to windows installer and uninstaller (#8817) 2024-04-28 21:27:10 +05:30
pentarctagon
cbf749dc3a Update appdata screenshots. 2024-03-21 18:29:30 -05:00
Gunter Labes
c855a30404
Fix indentation 2024-03-14 19:47:01 +01:00
Gunter Labes
c082bc7b5f Set distribution channel for flatpak 2024-03-14 19:24:33 +01:00
pentarctagon
7726b243a3 also add graph here. 2024-02-24 21:27:45 -06:00
pentarctagon
79ca90648a 2024 copyright update - misc 2024-01-20 22:41:50 -06:00
Steve Cotton
91bd96b319 Revert "systemd: drop _ prefix from username"
Prefixing all system and group names with the underscore is
recommended by the systemd developers.

This reverts commit d6d2a4f996.
2024-01-21 01:34:18 +01:00
Severin Glöckner
d6d2a4f996 systemd: drop _ prefix from username
man 5 sysuses.d recommends:
It is strongly recommended to pick user and group names that are unlikely to clash with normal users created by the administrator.
A good scheme to guarantee this is by prefixing all system and group names with the underscore, and avoiding too generic names.

Looks better without underscore. wesnoth is unique enough to not clash, most daemons on Arch don't have an underscore either.

The group is created implicitely when the user is created.
2024-01-18 01:27:01 +01:00
P. J. McDermott
fc4d11b2cb systemd: Run as _wesnoth:_wesnoth
systemd 246+ logs a warning message, because running as "nobody" is
unsafe:
https://github.com/systemd/systemd/blob/v246/NEWS#L106-L113

Prefix names with underscore, as recommended by systemd documentation:
https://www.freedesktop.org/software/systemd/man/latest/sysusers.d.html
2024-01-15 21:33:26 +01:00
pentarctagon
86645b44ab and back to 23.08. 2023-11-29 21:20:30 -06:00
pentarctagon
3b2266d9fc revert to 22.08 until new release of 23.08 - also this 2023-11-18 21:54:21 -06:00
Gunter Labes
bf6b64be78
Update freedesktop runtime to 23.08 2023-11-11 22:05:18 +01:00
Pentarctagon
8bc5d7b72f
address codeql issue (#7832) 2023-08-20 19:45:47 -05:00
Iris Morelle
ac16fb150b
campaignd: Correct Win32 resource section's FileDescription 2023-06-28 06:40:01 -04:00
Iris Morelle
685b37a92e
Update Win32 resource section copyrights 2023-06-28 06:38:54 -04:00
Pentarctagon
11236f4f9c Revert "Apply upstream fix from https://github.com/flathub/org.wesnoth.Wesnoth/pull/20."
This reverts commit d3683dac1a.
2023-06-12 15:26:13 -05:00
Pentarctagon
d3683dac1a Apply upstream fix from https://github.com/flathub/org.wesnoth.Wesnoth/pull/20. 2023-06-12 15:16:49 -05:00
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