Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libacars2 for openSUSE:Factory checked in at 2025-11-09 21:08:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libacars2 (Old) and /work/SRC/openSUSE:Factory/.libacars2.new.1980 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libacars2" Sun Nov 9 21:08:27 2025 rev:10 rq:1316543 version:2.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libacars2/libacars2.changes 2023-08-28 17:16:38.983741560 +0200 +++ /work/SRC/openSUSE:Factory/.libacars2.new.1980/libacars2.changes 2025-11-09 21:09:10.330333054 +0100 @@ -1,0 +2,6 @@ +Sun Nov 2 11:03:36 UTC 2025 - Martin Hauke <[email protected]> + +- Update to version 2.2.1 + * Fix compatibility with latest CMake versions. + +------------------------------------------------------------------- Old: ---- libacars-2.2.0.tar.gz New: ---- libacars-2.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libacars2.spec ++++++ --- /var/tmp/diff_new_pack.I3vbA1/_old 2025-11-09 21:09:11.030362329 +0100 +++ /var/tmp/diff_new_pack.I3vbA1/_new 2025-11-09 21:09:11.030362329 +0100 @@ -1,8 +1,8 @@ # # spec file for package libacars2 # -# Copyright (c) 2023 SUSE LLC -# Copyright (c) 2019-2023, Martin Hauke <[email protected]> +# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2019-2025, Martin Hauke <[email protected]> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ %define sover 2 %define libname libacars-2-%{sover} Name: libacars2 -Version: 2.2.0 +Version: 2.2.1 Release: 0 Summary: A library for decoding various ACARS message payloads License: MIT @@ -74,7 +74,7 @@ reports) %prep -%setup -q -n libacars-%{version} +%autosetup -n libacars-%{version} %build %cmake \ ++++++ libacars-2.2.0.tar.gz -> libacars-2.2.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libacars-2.2.0/.github/workflows/build.yml new/libacars-2.2.1/.github/workflows/build.yml --- old/libacars-2.2.0/.github/workflows/build.yml 2023-08-21 23:18:46.000000000 +0200 +++ new/libacars-2.2.1/.github/workflows/build.yml 2025-11-02 11:22:42.000000000 +0100 @@ -10,7 +10,7 @@ build: strategy: matrix: - os: [ ubuntu-latest, ubuntu-20.04, macos-latest, macos-11 ] + os: [ ubuntu-24.04, ubuntu-22.04, macos-15, macos-14 ] runs-on: ${{ matrix.os }} env: HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1 @@ -25,9 +25,9 @@ - name: Install packaged dependencies run: | if [[ "$RUNNER_OS" == "Linux" ]]; then sudo apt-get update; fi - if [[ "$RUNNER_OS" == "Linux" ]]; then sudo apt-get install libxml2-dev libjansson-dev; fi + if [[ "$RUNNER_OS" == "Linux" ]]; then sudo apt-get install libjansson-dev; fi if [[ "$RUNNER_OS" == "macOS" ]]; then brew update; fi - if [[ "$RUNNER_OS" == "macOS" ]]; then brew install libxml2 jansson; fi + if [[ "$RUNNER_OS" == "macOS" ]]; then brew install jansson; fi - name: Configure CMake run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libacars-2.2.0/CHANGELOG.md new/libacars-2.2.1/CHANGELOG.md --- old/libacars-2.2.0/CHANGELOG.md 2023-08-21 23:18:46.000000000 +0200 +++ new/libacars-2.2.1/CHANGELOG.md 2025-11-02 11:22:42.000000000 +0100 @@ -1,5 +1,9 @@ # ChangeLog +## Version 2.2.1 (2025-11-02) +* Fix compatibility with latest CMake versions +* Fix compilation error on Windows (thx @gvanem) + ## Version 2.2.0 (2023-08-21) * Support for decoding OHMA messages. These are diagnostic data exchanged with diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libacars-2.2.0/CMakeLists.txt new/libacars-2.2.1/CMakeLists.txt --- old/libacars-2.2.0/CMakeLists.txt 2023-08-21 23:18:46.000000000 +0200 +++ new/libacars-2.2.1/CMakeLists.txt 2025-11-02 11:22:42.000000000 +0100 @@ -1,9 +1,9 @@ -cmake_minimum_required (VERSION 3.1) +cmake_minimum_required (VERSION 3.12) project (libacars C) set (LA_VERSION_MAJOR 2) set (LA_VERSION_MINOR 2) -set (LA_VERSION_PATCH 0) +set (LA_VERSION_PATCH 1) set (LA_VERSION "${LA_VERSION_MAJOR}.${LA_VERSION_MINOR}.${LA_VERSION_PATCH}") set (LA_SUBDIR "${PROJECT_NAME}-${LA_VERSION_MAJOR}") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libacars-2.2.0/README.md new/libacars-2.2.1/README.md --- old/libacars-2.2.0/README.md 2023-08-21 23:18:46.000000000 +0200 +++ new/libacars-2.2.1/README.md 2025-11-02 11:22:42.000000000 +0100 @@ -2,7 +2,7 @@ libacars is a library for decoding ACARS message contents. -Current stable version: **2.2.0** (released August 21, 2023) +Current stable version: **2.2.1** (released November 2, 2025) ## Supported message types @@ -56,8 +56,8 @@ apt install libxml2-dev ``` -- OHMA messages contain JSON-encoded data. libacars may optionally pretty-print - these messages. This feature requires Jansson library: +- OHMA messages contain JSON-encoded data. Decoding these messages requires + libacars to be built with Jansson library: ``` apt install libjansson-dev @@ -75,16 +75,16 @@ ``` - **Option 2:** To run the latest development code which has not yet made it - into a stable release, clone the source repository and checkout the `unstable` + into a stable release, clone the source repository and checkout the `devel` branch: ``` git clone https://github.com/szpajder/libacars cd libacars -git checkout unstable +git checkout devel ``` -`master` branch is always in sync with the latest stable release. `unstable` +`master` branch is always in sync with the latest stable release. `devel` branch is where the latest cutting-edge code goes first. - Configure the build: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libacars-2.2.0/doc/API_REFERENCE.md new/libacars-2.2.1/doc/API_REFERENCE.md --- old/libacars-2.2.0/doc/API_REFERENCE.md 2023-08-21 23:18:46.000000000 +0200 +++ new/libacars-2.2.1/doc/API_REFERENCE.md 2025-11-02 11:22:42.000000000 +0100 @@ -888,7 +888,7 @@ The payload after the `OHMA` or `RYKO` string is a BASE64-encoded, zlib-compressed JSON string. Therefore libacars must be compiled with zlib -support in order to decode these messages. +and Jansson support in order to decode these messages. Large OHMA messages may be split across multiple ACARS blocks. In case this is not enough, OHMA has its own message fragmentation mechanism, which uses @@ -990,11 +990,10 @@ text indented by `indent` spaces and appends the result to `vstr` (which must be non-NULL). -If libacars has been built with Jansson library support and `prettify_json` -configuration variable is set to `true`, then the function attempts to parse the -message text as a JSON document. If parsing succeeds (meaning the message indeed -contains JSON), the text is pretty-printed (reformatted into multi-line output -with proper indentation). +If `prettify_json` configuration variable is set to `true`, then the function +attempts to parse the message text as a JSON document. If parsing succeeds +(meaning the message indeed contains JSON), the text is pretty-printed +(reformatted into multi-line output with proper indentation). ### la_ohma_format_json() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libacars-2.2.0/libacars/util.c new/libacars-2.2.1/libacars/util.c --- old/libacars-2.2.0/libacars/util.c 2023-08-21 23:18:46.000000000 +0200 +++ new/libacars-2.2.1/libacars/util.c 2025-11-02 11:22:42.000000000 +0100 @@ -247,9 +247,9 @@ return NULL; } - void const *haystack_end = (char const *)haystack + haystack_len - needle_len; - while (haystack <= haystack_end) { - void const *match = memchr(haystack, *(char const *)needle, haystack_end - haystack + 1); + char const *haystack_end = (char const *)haystack + haystack_len - needle_len; + while (haystack <= (const void *)haystack_end) { + const void *match = memchr(haystack, *(char const *)needle, haystack_end - (char const *)haystack + 1); if (match == NULL) { return NULL; }
