Skip to content

Commit

Permalink
Release 2.5.5 compatible with CSFML 2.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrojo committed Oct 8, 2023
1 parent 62751b0 commit d2934c8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,22 @@ is Audio, System, Graphics, Window and Network.
parameters.
* Unicode is supported using `Wide_Wide_String` in Ada where the C API uses `sfUint32*`

## Compatibility with CSFML releases
The versioning scheme of ASFML follows the one of CSFML for the major
and minor numbers; while the patch number is, in principle,
independent. This means, for example, that 2.4.x releases are expected
to be compatible with all 2.4.x releases of CSFML. Note, however, that
some CSFML releases change the API to fix problems with the binding to
SFML and they release them as a patch. Consequently, there are cases,
like CSFML 2.5.2, which requires a specific patch level of ASFML, in this
case, ASFML 2.5.5. When this happens, the Alire dependencies reflect
the requirement.

Nevertheless, the usual problems that can be found when doing an
heterogeneous linking are only spotted when calling one of the
functions having changed between the releases. Otherwise, the
incompatibility will be latent.

## How to build with Alire

This library is available in [Alire](https://alire.ada.dev/) so building is as easy as installing Alire and then executing:
Expand Down
4 changes: 2 additions & 2 deletions alire.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "asfml"
description = "An Ada binding to SFML, the Simple and Fast Multimedia Library"
version = "2.5.5-dev"
version = "2.5.5"
long-description = """
[![ASFML logo](https://raw.githubusercontent.com/mgrojo/ASFML/master/images/ASFML_Logo.svg)](https://www.sfml-dev.org)
![Ada (GNAT)](https://github.com/mgrojo/ASFML/workflows/Ada%20(GNAT)/badge.svg)
Expand Down Expand Up @@ -31,4 +31,4 @@ website = "https://mgrojo.github.io/ASFML/"
tags = ["audio", "games", "opengl", "cross-platform", "multimedia", "binding", "graphics", "sfml"]

[[depends-on]]
libcsfml = "^2.5"
libcsfml = "^2.5.2"

0 comments on commit d2934c8

Please sign in to comment.