Commit Graph

55 Commits

Author SHA1 Message Date
Charles Dang
9ef8c90767 Bump min Boost version to 1.70 2025-02-24 01:05:16 -05:00
gfgtdf
06781df8f2
Update INSTALL.md for Charconv
Increases GCC requirement to 11 for Charconv support (which is part of c++17)

Technicially it also builds with older gcc versions when boost 1.85 is available but that combination seems unlikely and i didn't want to make INSTALL.md too complicated.

The upcoming clang 20 will also support charconv by itself, but again it felt silly to mention something that is not available yet.
2024-12-09 18:02:03 +01:00
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
pentarctagon
1c19eb0da0 mention cmake flag 2024-07-03 09:16:23 -05:00
Pentarctagon
9548f4c7b5
Hardware unit submerge effect using SDL_RenderGeometry. (#8687)
Original code from mesilliac in #6826. Made a separate PR for this since the relevant code moved to an entirely separate file and trying to "properly" fix the merge conflicts resulting from that isn't worth the time.
2024-04-11 12:58:56 -05:00
pentarctagon
6cb05eaacc add graph 2024-02-29 00:00:18 -06:00
pentarctagon
309abc7a21 needs GCC 8 now 2024-02-19 21:14:02 -06:00
P. J. McDermott
0d99cd045f Revert "Check for correct openssl version."
This reverts commits 7ce1bf9f7d and c6a2dc9317.

OpenSSL >= 3.0 was required (but only when building with CMake) so that
src/preferences/credentials.cpp could use EVP_EncryptInit_ex2() (commit
a880f01a31), but that change was reverted (commit 83ab05532a), all
within three hours.
2024-01-28 11:27:43 -06:00
lomekragow
bf27dc89dd
add "pkgconf" to vcpkg.json (#7913) 2023-09-19 22:50:08 -05:00
Pentarctagon
c6a2dc9317 update INSTALL.md. 2023-08-18 10:04:12 -05:00
alberic89
3fec9dd423 Update INSTALL.md 2023-03-23 10:57:20 -05:00
Pentarctagon
9315079389 Add curl-based functionality to download files from a URL.
This is a complement to #7416 where it replaces opening the replay's download URL in a browser with directly downloading it into the player's save folder.
2023-03-15 14:49:16 -05:00
Pentarctagon
87fd44ce7e Add a step. 2022-09-01 18:32:25 -05:00
Pentarctagon
c24146995a Update minumu pango required version. 2022-08-14 10:22:28 -05:00
Gunter Labes
2e87731e97
Clean up build options table 2022-07-19 13:02:57 +02:00
Pentarctagon
a24ad70c21
Update macOS minimum OS and SDL2 versions. 2022-07-17 15:26:28 -05:00
Wedge009
9fccea96ea SDL: Increase requirement to 2.0.10.
SDL_RenderCopyF and SDL_RenderCopyExF are only available from SDL 2.0.10 onwards.
2022-06-20 11:51:41 -05:00
Andrei BENCSIK
67758cf113 Coherence between readme and CMake script 2022-05-02 16:23:17 -05:00
Pentarctagon
94002d60dc
Add webp requirement. 2022-03-12 13:51:03 -06:00
Pentarctagon
d32cfb88c4 Update instructions and add warning to scons/cmake. 2022-03-09 15:01:37 -06:00
Pentarctagon
ba753f3425 Update INSTALL.md. 2021-12-19 17:51:47 -06:00
Pentarctagon
b1245e26a7
Add notes to the Windows INSTALL.md instructions. 2021-06-26 01:25:29 -05:00
Pentarctagon
b95d72f9c1 Use cmake to create VS project files.
Due to an upstream change in vcpkg that breaks the simple integration previously available with `vcpkg integrate install`, building using that setup method is no longer possible. In order to work correctly, cmake must instead be used to generate the VS project files, since that is able to integrate with vcpkg, since vcpkg also uses cmake to build all the library dependencies.

An additional benefit of this is that it will no longer be necessary to separately update the VS project files since it will read the same source_lists files as cmake (on linux) and scons do.

This also enables running the WML unit tests on Windows with this in order to confirm that a valid wesnoth.exe is in fact being generated as well as fixes building the boost unit tests.

The warning level for both release and debug builds are now at level three, the remaining warnings have been fixed, and therefore strict builds have been enabled - any warning will now cause the build to fail, just like for the linux jobs.

Known issues:
* The boost unit tests don't actually run successfully - they fail on CI at least with an exit code on 201 - however I don't know if this is a real problem or just a problem with running headless on CI.
* The debug build doesn't quite work since the executables are built against the non-debug dlls but cmake copies over the debug dlls into the output directory. For now this can be worked around by copying the release dlls into the debug directory.
* The instructions in INSTALL.md are not very good since I don't use Windows and thus can't write anything more detailed. Ideally someone who uses Windows can add more detailed step by step instructions at some point.

Fixes #5741
2021-05-07 00:02:02 -05:00
Grzegorz Halat
c0db7311bb Bump SDL2 version to 2.0.8 2021-04-27 04:53:27 -04:00
Iris Morelle
cbe6126969 Remove gzipped tarball instructions from INSTALL.md
They may end up confusing people. We haven't used gzipped tarballs in
over a decade.
2021-03-20 03:11:25 -03:00
Iris Morelle
196db7b413 Remove SDL_ttf and FriBidi mentions from INSTALL.md and the VS Readme
[ci skip]
2021-03-13 13:51:47 -03:00
Pentarctagon
1569ecfc9b
Update minimum requirements 2021-01-16 17:06:53 -06:00
Andrey Bienkowski
7e2b4dd5bd
Vorbisfile is called libvorbis on Fedora 2021-01-16 11:38:55 +00:00
Pentarctagon
bfee8bbf3b
Update INSTALL for boost 1.65 minimum. 2020-12-19 18:31:29 -06:00
Charles Dang
6adc9ab76f Bump SDL_Image dependency to 2.0.2 and enable jpg screenshots unconditionally 2020-12-05 09:30:17 +11:00
Pentarctagon
058bbf594f
Increase Boost minimum version for BOOST_DATA_TEST_CASE usage. 2020-11-27 13:03:42 -06:00
Pentarctagon
0c3cdd3a86 Remove VC14 (VS2015/VS2017 project files).
Reasons:
* These projectfiles are still 32-bit, whereas all other builds for all other OSes are now 64-bit.
* Relatedly, these projectfiles are dependent on the libraries kept at the aquileia/external repository.
* VS2019 is still listed as supporting Windows 7, so there is a minimal likelihood of developers not being able to use VS2019.
* The VS2019 projectfiles instead use vcpkg to get the required dependencies, which is easier to setup than the aquileia/external prebuilt libraries.
* It's one less thing that needs to be updated whenever source files are added/moved/removed.
* It's two fewer jobs that Travis needs to run, which means Travis builds will finish more quickly.
2020-07-03 12:23:34 -05:00
Pentarctagon
fd3f35b66f
Add links to the Windows/macOS readme files.
Also add a few more entries scons/cmake options.
2020-05-15 15:00:52 -05:00
Pentarctagon
d9fba7dd92
Remove VC12 reference - this no longer exists on master. 2020-05-15 14:39:08 -05:00
Charles Dang
a0ccc2dff4 Reformatted a large chunk of INSTALL.md 2019-10-13 06:35:52 +11:00
Charles Dang
cab843d0fd Removed mention of Boost Thread
[ci skip]
2019-09-29 02:32:41 +11:00
pentarctagon
eb65c9b2ce Revert "Note dependencies on OpenGL and GLEW in INSTALL.md"
This reverts commit f31b477e5b.
2018-12-31 13:31:59 -06:00
equal-l2
f31b477e5b Note dependencies on OpenGL and GLEW in INSTALL.md
They are required to build wesnoth client but not noted.
2018-12-31 10:41:34 +02:00
Martin Hrubý (hrubymar10)
674fda85b7 Migrate links to https if available - Fwd c18537edc0
(cherry-picked from commit bc4d22dc72)
2018-10-07 03:23:36 +00:00
pentarctagon
96f8b51383 Re-add boost-thread to INSTALL and changelog.
(cherry-picked from commit f4db76fe0f)
2018-10-07 03:19:30 +00:00
Charles Dang
32da54b059 Removed Boost Thread as a built-time dependency
We use std::thread now.

(cherry-picked from commit 9de7aff904)
2018-10-07 03:19:10 +00:00
Severin Glöckner
06751ff697 install.md: cmake version requirement had changed
[ci skip]

(cherry-picked from commit e0c9d7b9f6)
2018-10-07 03:18:20 +00:00
Severin Glöckner
d7d3bc692b remove outdated information from install.md
[ci skip]

(cherry-picked from commit 409c596fa1)
2018-10-07 03:18:18 +00:00
Iris Morelle
d0c9a02189 Revert "Revert "Bump min Boost version to 1.56.0""
This reverts commit cdf9b465c6.

May this noise be my vengeance.

(cherry-picked from commit f6a128579a)
2018-10-07 03:18:08 +00:00
Iris Morelle
777eb9ef2d Revert "Bump min Boost version to 1.56.0"
This reverts commit c82c1ff905.

(cherry-picked from commit cdf9b465c6)
2018-10-07 03:18:08 +00:00
gfgtdf
e14f712e73 update INSTALL.md for c++14 requirement
clang 3.8 is needed for "Money, Time, and hexfloat I/O manipulators (N2071)" (a c++11 feature)

(cherry-picked from commit 439340ce78)
2018-10-07 03:18:02 +00:00
Celtic Minstrel
c82c1ff905 Bump min Boost version to 1.56.0 2018-03-18 01:59:36 -04:00
Charles Dang
dfc42e8a8d Use SDL_Image to handle saving PNG screenshots instead of SDL_SavePNG
When iceiceice (@cbeck88) added "save screenshots as PNGs" support back in 2014
(8dfdc6b185) we had yet to switch to SDL 2. At the
time, SDL_Image didn't provide any method of saving PNG files on its own. However,
it does as of SDL_Image 2.0.0.

A small caveat is that this built-in PNG save functionality is a bit less efficient
at compression than SDL_SavePNG. A test in DiD S1 with SDL_SavePNG_RW vs IMG_SavePNG_RW
yielded a file ~ 1 MB larger in the latter case.

This removed SDL_SavePNG and it's optional build-time dependency of libpng.
2018-03-15 04:31:30 +11:00
Charles Dang
5c570841d3 Bump required Pango version from 1.21.3 to 1.22.0
Just enough to get rid of that conditional use of pango_cairo_font_map_create_context.
2018-02-17 12:18:17 +11:00