Commit graph

105 commits

Author SHA1 Message Date
rrigby
16e858263c Add categories to appdata
following https://standards.freedesktop.org/menu-spec/latest/apas02.html
2018-08-03 15:07:51 +02:00
loonycyborg
f597494157 flatpak: pass hardening options when building static boost 2018-06-18 12:49:21 +03:00
loonycyborg
c78e95cf6c Update flatpak manifest 2018-06-11 12:18:20 +03:00
loonycyborg
0e5463fd81 nsi script: update expected extensions of changelogs 2018-04-07 13:20:08 +03:00
loonycyborg
c955416ef2 flatpak-builder manifest: cleanup a buildtime only dependency 2018-04-06 11:23:15 +03:00
loonycyborg
c04a13ec8f Removed linking workaround from flatpak manifest 2018-03-13 22:23:07 +03:00
Severin Glöckner
c17e47cfd0 Add a way to lauch the map editor with the same dsektop file
similar to the extra options which Firefox has
with an right click one can launch the editor now
one could as well add an "cheating mode" option for -d

Many distributions use modified desktop files, and add a 2nd
to launch the map editor. I think that's a better idea, because
it's less hidden than this feature. However, I think one doesn't
out-rule the other.

The translations are taken from downstream's desktop files for
the map editor - unfortunately they aren't complete

[ci skip]
2018-03-12 04:38:45 +01:00
Charles Dang
3a90f86674 Addressed more whitespace issues from #2613
[ci skip]
2018-03-12 03:48:59 +11:00
Charles Dang
471c9e876a Addressed a large chunk of the whitespace issues from #2613
[ci skip]
2018-03-09 11:37:00 +11:00
loonycyborg
e251504b56 Made flatpak build use icu backend of boost.locale
without it addon dialog crashes with std::bad_cast exception
2018-03-02 21:54:42 +03:00
loonycyborg
4668010c4b flatpak-builder manifest: set wesnoth repo path to server's local git repo for now 2018-02-28 20:19:57 +03:00
Severin Glöckner
b5ec7b832e enhancements to the systemd unit file
This uses now the same options which are used when starting wesnothd from within the wesnoth UI.
Systemd sandboxing has been added as well as an documentation entry.
The socket file seems to be not removed in most cases, thus it gets deleted afterwards.
2018-02-24 01:53:43 +01:00
loonycyborg
c38ff3856f Add a manifest file for flatpak-builder 2018-02-21 03:54:20 +03:00
loonycyborg
89179e8bde Fixed broken tag in appdata.xml 2018-02-21 03:54:20 +03:00
Severin Glöckner
9cd5d03609 remove very old gentoo packaging file
[ci skip]
2018-02-03 00:07:07 +01:00
Severin Glöckner
3777a5b307 add an appdata file for appstream software centers
(closes #1831 & #2160)
2018-02-02 23:46:59 +01:00
Gregory A Lundberg
b5f76eff79
Bump copyright to 2018 2018-01-19 00:02:20 -06:00
lundberg
a05d48e80d Fix copyright defect and add missing icon 2017-11-27 15:15:40 -06:00
Severin Glöckner
e0cebdd402 desktop_entry: include high resolution icons
wesnoth-optipng has been applied to the new images
2017-11-27 01:52:36 +01:00
David Seifert
533c0b8005 Use GNUInstallDirs to specify directories
* GNUInstallDirs is the only Kitware-supported
  way to change the default directories. Most
  distributions have hooks for changing these
  directories, which makes integrating wesnoth
  easier and more consistent with the rest of
  the CMake ecosystem.
* Make build system perfectly out-of-source
  compatible. The build system should never
  touch files in the source tree.
2017-11-17 13:41:32 -06:00
Alexander van Gessel
77ebb27222 Modify other scons files too 2017-09-21 15:41:57 +02:00
loonycyborg
da721f7a77 scons: pass -F pe-i386 to windres for 32-bit multilib builds 2015-12-23 16:25:32 +03:00
loonycyborg
87e8fbb425 Update sidebar graphic for windows installer
Commit shadowm's updated banner image for installer's
sidebar fixing bug #24187
2015-12-18 17:58:19 +03:00
aquileia
e22555a107 Windows Installer: Remove --config-dir from shortcuts
Flag was superseded by 795dd8c42
2015-10-21 13:25:51 +02:00
aquileia
f986fe7063 Fixup Finnish translation in 10023c9290 2015-08-31 12:46:11 +02:00
aquileia
10023c9290 Windows uninstaller: Add option to delete userdata dir 2015-08-31 03:15:03 +02:00
aquileia
5c1047d372 Windows installer: Don't force GPL on end users
Fix bug #21769 by changing 'I Agree' to 'Next'.
2015-08-15 11:06:38 +02:00
aquileia
79b7bf1777 Windows Installer: Update icons 2015-08-08 04:24:01 +02:00
aquileia
d8b5e7b3c1 Windows installer: Remove userdata dir selection
Due to UAC, especially virtualization of the Programs directory, it is preferable to force 'My Games' as the location.
2015-08-08 03:53:05 +02:00
aquileia
c7ffe8dfd7 Windows installer: Update to NSIS 3
Compatibility changes:
- Plugins moved to a different directory

New Features:
- Unicode installer
- Could now detect Windows 8 - 10
2015-08-08 03:53:05 +02:00
aquileia
4a272b301d Windows installer: Use FILE /oname to avoid copying files 2015-08-08 03:53:04 +02:00
aquileia
1c3fa278ff Windows installer: Cut down on shortcuts
From the impressive number of 9 start menu shortcuts, 2 were removed.

An additional 4 were removed for Windows 8, where the app list can't collapse folders.
2015-08-08 03:53:04 +02:00
aquileia
12066d87c5 Windows Installer: Translate 'Battle for Wesnoth' and shortcuts
The title is now localized, as are the start menu shortcuts. As localized
titles can be longer than the English string, a third line was explicitly
added to the welcome page (else NSIS cuts the line in half).

The manual shortcut points to the translated manual version, if available.

Due to lack of Unicode support in NSIS 2, only translations matching the
codepage are displayed correctly.

The desktop.ini file isn't removed during uninstallation as it may contain
info on other programs, e.g. if the player chose to place the shortcuts in
'Games'.
2015-08-08 03:53:04 +02:00
aquileia
46af40eb61 Windows Installer: Add GPL translations
Source:
https://www.gnu.org/licenses/old-licenses/gpl-2.0-translations.html
http://www.gnu.org/licenses/translations.html

Changes:
- Links to the English original added in the headers.
- Portuguese translations reindented to fit width of textbox.
- Reference between Chinese GPLs removed.
- UTF8 BOM added (else NSIS doesn't recognize the encoding).

Thanks to @chisquare130 (Xara) for checking the Chinese versions.
2015-08-08 03:53:03 +02:00
aquileia
01dfc6783f Windows installer: Remove components page
We only have one module anyways, thus there's no choice in the component selection menu.
2015-08-08 03:53:03 +02:00
loonycyborg
add65e316a NSIS: Properly remove (with console) shortcut during uninstall 2015-07-29 19:54:14 +03:00
aquileia
ff34814956 Update Windows icon
Updated logo (new version by Srgt. Groovy), added 256x256 high-resolution version
2015-07-27 21:07:24 +02:00
aquileia
d279aa4afe vcproj: Fixes and cleanup
Fixed an issue caused by 659b9a4 - the 'Start Debugging' option was
basically useless as the process terminates itself if OMP_WAIT_POLICY
isn't defined.

Cleaned up unnecessary configurations for WindowsTimeout.

Fixed duplicate manifest.

Disabled WML unit tests on MSVC Debug builds as they would quintuple build
duration (over 60s per test).

Re-enabled stdout redirection in WML_tests.cmd to avoid spamming the
command line.

Updated vcproj for daa2140 (added multimenu widget).
2015-07-26 15:05:38 +02:00
Ignacio R. Morelle
c353981e88 Remove obsolete/unused resource file 2015-07-20 21:17:57 -04:00
Ignacio R. Morelle
877ead550a Add Windows resource file for wesnothd 2015-07-20 21:16:04 -04:00
loonycyborg
a6ae18a9b5 scons: ensure that windres finds config.h 2015-07-17 04:02:07 +03:00
Ignacio R. Morelle
7465f04e0a Add correct version numbers to the Windows resource file
For the numeric fields, this means we get to treat all X.Y.Z versions as
X.Y.Z.0, and there's no string suffix for those for obvious reasons. Not
that anyone cares, really.

Now we get a pretty name for our client process in the Task Manager too,
hooray!

(Also cleaned-up some of the placeholder code that was left here by
loonycyborg.)
2015-07-16 20:06:13 -04:00
Ignacio R. Morelle
055ce30ac8 Include windows.h instead of winuser.h directly
Otherwise we get additional definitions and includes which the Microsoft
Resource Compiler can't handle (resulting in RC4011 warnings, for
example).
2015-07-15 19:11:29 -03:00
loonycyborg
50d248c1db Windows: preliminary addition of VERSIONINFO resource
Need to figure out how to get actual version yet.
2015-07-15 13:38:14 +03:00
Ignacio R. Morelle
ec74ea24a4 Merge branch 'feature/gui2-game-version-dialog' 2015-07-14 20:51:52 -03:00
Ignacio R. Morelle
e119f4071f Add manifest declaring compatibility with Windows 8.1 and 10
This is needed so GetVersionEx doesn't lie to us on these versions.

MSVC++ people: I have no idea how this will interact with your building
procedure, if at all. In particular, I believe MSVC++ is supposed to
produce its own manifest declaring our dependencies on the MSVC++
runtime libraries, and it may or may not emit the compatibility
information as well.
2015-07-14 20:51:28 -03:00
Ignacio R. Morelle
aa924e7a5f Remove DISCARDABLE icon attribute from the Win32 resources table
<https://msdn.microsoft.com/en-us/library/windows/desktop/aa380908%28v=vs.85%29.aspx>
2015-07-14 20:51:28 -03:00
loonycyborg
980434ce96 Windows installer: added a start menu shortcut to run wesnoth with console 2015-07-14 19:03:40 +03:00
loonycyborg
88fa71e32d Remove "run now" option from windows installer
It causes wesnoth to be run with installer's privileges which is
security concern and also might result in confusing behavior wrt
location of stdout.txt and stderr.txt files.
2015-06-20 16:24:31 +03:00
Mark de Wever
a8bba9d597 Specify which server is started for systemd. 2012-08-25 07:06:16 +00:00