Commit graph

22 commits

Author SHA1 Message Date
Kreeblah 6ec1f8a196
Require SDL 2 for macOS builds 2022-11-11 11:23:52 -08:00
Kp fc9de58302 Raise clang version in INSTALL.markdown 2022-10-31 00:51:32 +00:00
Kreeblah bfdeff93b2
Added Brewfile and updated macOS compilation instructions 2022-08-14 19:36:02 -07:00
Kp aee963c015 Switch dialect to C++20
Future commits will introduce tests for and uses of C++20 features.
2022-07-02 18:10:45 +00:00
Kp 1f263e30ae Update minimum supported tool versions in INSTALL.markdown 2022-06-11 15:00:02 +00:00
Kreeblah b7ff72c364
Embed dylibs in app bundles 2021-03-26 02:07:06 -07:00
Edward E c1e1a4570d Add Windows/MSYS2 build instructions
Also user scripts for running the produced executable
2021-02-07 23:51:41 -06:00
Kp ac97d00698 Remove support for PhysFS 1, PhysFS 2
The last PhysFS 1 release was in March 2009.  The last PhysFS 2 release
was in August 2017, shortly before the release of PhysFS 3 in September
2017.  Most distributions have moved to PhysFS 3.  Drop support for
PhysFS 1 and PhysFS 2.  PhysFS 2 support could be restored if there is
interest.
2020-12-27 22:03:09 +00:00
Kreeblah dcb6280ef4
Added missing Homebrew dependencies 2020-11-12 02:30:14 -08:00
Kp cbf9fb9b9e Remove reference to gcc5 in INSTALL.markdown section for Homebrew
According to a comment from Kreeblah[1], homebrew guarantees a new
enough C++ compiler.  Additionally, gcc5 was once new enough, but is now
below the minimum supported version, so installing it is not useful.
Remove the reference to it.

[1]: https://github.com/dxx-rebirth/dxx-rebirth/pull/540#discussion_r486059009
2020-09-21 03:18:12 +00:00
Kp 3114874713 Delegate PCX loading to SDL_image
This adds a new dependency, but most systems likely already have
SDL_image installed.  Use of SDL_image can be disabled, but this is
discouraged, because various in-game interfaces assume the use of the
original background.

The old implementation automatically corrected for filename case.  The
new implementation expects that the supplied filename can be passed to
PYHSFS_openRead as-is.  All known uses in-game have been corrected to
satisfy this requirement.  If the new stricter match requirement becomes
a problem, a variant of PHYSFSRWOPS_openRead that adjusts filename case
could be created for use here.

- Update install instructions
- Update ebuild
- Update Arch PKGBUILD
2020-05-17 23:35:26 +00:00
Kp f9b90d4e8c Raise minimum required gcc version to gcc-7
gcc-4.9 support is now difficult to test due to system libraries linking
to newer symbols.  gcc-4.9 is unsupported upstream, as are gcc-5 and
gcc-6.  Raise the minimum required gcc version to the minimum version
supported upstream.

Debian Jessie shipped gcc-4.9.2, and support for this target was the
primary motivator for retaining gcc-4.9 support.  Jessie ended regular
support in June 2018, and will end Long Term Support in June 2020.  It
seems unlikely that Jessie would receive a snapshot build of Rebirth in
the months it has left.

Debian Stretch shipped gcc-6, but is currently considered "oldstable"
and has been superseded by Debian Buster.  Further, Debian Stretch
provides a package for gcc-7, so Stretch users can still build Rebirth
using only packages available from the package manager.
2020-04-19 20:47:07 +00:00
Kp 1d6d5234ea Add documentation warning not to use paths with spaces
Rebirth handles this as best it can, but some prerequisites print paths
without quoting.  Advise users to avoid the problem by avoiding paths
with embedded spaces.
2019-12-28 21:26:37 +00:00
Kp ff42ee719f Improve install documentation regarding header/library paths 2019-12-28 21:26:37 +00:00
Kp 5f0e99b472 Update installation documentation
- Recommend Python 3.  Python2 will be end of life soon.
- Recommend PhysFS 3.
- Update link for SCons to current version.
-- Remove the obsolete note disclaiming Python3 support.
- Remove the obsolete note disclaiming SDL2 support.  SDL2 works well
  now.
- Recommend libpng, since SConstruct will try to use it in the default
  configuration.
- Note the presence of Linux packaging files for Arch, RPM systems, and
  Gentoo.

Reported-by: AlumiuN <https://github.com/dxx-rebirth/dxx-rebirth/issues/473>
2019-11-18 05:05:56 +00:00
Kp 12b57e84e6 Switch most in-tree http:// links to https://
For each link given as http://, verify that the site is accessible over
https:// and, if so, switch to it.  These domains were converted:

* llvm.org
* clang.llvm.org
* en.cppreference.com
* www.dxx-rebirth.com
* www.libsdl.org
* www.scons.org
2018-09-02 00:57:29 +00:00
Kp e952ebdd4a Restore GOG reference in INSTALL.markdown
GOG.com resumed selling Descent 1 and Descent 2, albeit as separate SKUs
rather than the historical bundled SKU.  Restore the GOG reference in
INSTALL.markdown.

Reported-by: derhass <https://forum.dxx-rebirth.com/showthread.php?tid=1004>
2017-11-25 01:56:51 +00:00
Kp 720e5661d6 Update INSTALL.markdown to reflect dropped support for <gcc-4.9
Using <gcc-4.9 has been unsupported since introduction of `extern
constexpr` variables broke using gcc-4.8.  Update the install
instructions accordingly.

When referencing 4.9, qualify it as 4.9.4 due to gcc bug #66501 [1]
(present in 4.9.2, fixed in 4.9.4).  As discussed in "Socket error upon
hosting or joining a second multiplayer game"
<https://github.com/dxx-rebirth/dxx-rebirth/issues/289>, this bug caused
a strange miscompilation in Rebirth.  Although that specific
miscompilation has been worked around, there is no guarantee that the
code is and will remain free of other constructs that gcc-4.9.2
mishandles due to that bug.  Using 4.9.2 (as Debian Jessie did) mostly
works, but there is no sense encouraging users to use a known buggy
compiler when a fixed version is readily available.

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66501
2017-11-11 18:03:08 +00:00
Kp efe5a574a7 Fix Ubuntu package name in INSTALL.markdown
Reported-by: ryusei117 <https://github.com/dxx-rebirth/dxx-rebirth/issues/288>
2016-12-23 02:56:55 +00:00
Kp a578c48c53 Add kreator's elaborations to Mac OS X install instructions
Kreator suggested some additional guidance for OS X users who want to
compile Rebirth from source.  This commit is based strongly on his text,
with light editing from me for markdown rules and consistency with other
parts of the document.

Reported-by: kreatordxx <https://github.com/dxx-rebirth/dxx-rebirth/issues/215>
Patch-by: kreatordxx <https://github.com/dxx-rebirth/dxx-rebirth/files/465803/mac_tools_doc.patch.txt>
2016-09-11 18:49:16 +00:00
Kp cf0cc3b85b Remove GOG reference from INSTALL.markdown
GOG ceased selling Descent data at the end of 2015 due to licensing
issues.  Remove the reference to their game page.
2016-09-11 18:49:16 +00:00
Kp 1a8fad28cb Add basic instructions on building Rebirth 2015-09-26 21:17:14 +00:00