4 Commits

7 changed files with 65 additions and 13 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:79c7457c3175baeaaf08bee3e3ae476083d3abeea4009ba09b2abc2523dd108a
size 126124

Binary file not shown.

View File

@@ -0,0 +1,34 @@
From 7f002cd889ff18ddad2f9a6f2b713a31e2ba3332 Mon Sep 17 00:00:00 2001
From: Jacki <jacki@thejackimonster.de>
Date: Sun, 21 Dec 2025 05:29:05 +0100
Subject: [PATCH] Adjust usage of utf8_tolower()-function
Signed-off-by: Jacki <jacki@thejackimonster.de>
---
src/gnunet_chat_util.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/src/gnunet_chat_util.c b/src/gnunet_chat_util.c
index 13e2d42..76e3a20 100644
--- a/src/gnunet_chat_util.c
+++ b/src/gnunet_chat_util.c
@@ -360,12 +360,11 @@ util_get_lower(const char *name)
{
GNUNET_assert(name);
- char *lower = GNUNET_malloc(strlen(name) + 1);
- if (GNUNET_OK == GNUNET_STRINGS_utf8_tolower(name, lower))
- return lower;
+ char *lower = GNUNET_STRINGS_utf8_tolower(name);
+ if (lower == NULL)
+ return GNUNET_strdup(name);
- GNUNET_free(lower);
- return GNUNET_strdup(name);
+ return lower;
}
int
--
2.52.0

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:14e7feaa4efbf301f90b7a3d1be54c147c88dd437ac9e565443c3e2074999b57
size 133381

Binary file not shown.

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Thu Dec 25 15:46:54 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- Update to version 0.6.1:
* Fix build compatibility with GNUnet 0.26.0
- add libgnunetchat-0.6.1-gnunet-0.26.2.patch to fix build with
GNUnet 0.26.2
-------------------------------------------------------------------
Fri Sep 26 18:53:06 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- Update to version 0.6.0:
* Fix issues regarding group creation, leaving chats and
invitations
* Optimize automatic requests and message graph merges
-------------------------------------------------------------------
Mon Jan 13 22:48:06 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@@ -17,7 +17,7 @@
Name: libgnunetchat
Version: 0.5.2
Version: 0.6.1
Release: 0
Summary: Library for applications to utilize the Messenger service of GNUnet
License: AGPL-3.0-or-later
@@ -26,17 +26,19 @@ Source: https://ftp.gnu.org/pub/gnu/gnunet/%{name}-%{version}.tar.gz
Source2: https://ftp.gnu.org/pub/gnu/gnunet/%{name}-%{version}.tar.gz.sig
# https://gnunet.org/~schanzen/3D11063C10F98D14BD24D1470B0998EF86F59B6A
Source3: %{name}.keyring
Patch4: libgnunetchat-0.6.1-gnunet-0.26.2.patch
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gnunetarm) >= 0.21.2
BuildRequires: pkgconfig(gnunetfs) >= 0.21.2
BuildRequires: pkgconfig(gnunetgns) >= 0.21.2
BuildRequires: pkgconfig(gnunetidentity) >= 0.21.2
BuildRequires: pkgconfig(gnunetmessenger) >= 0.21.2
BuildRequires: pkgconfig(gnunetnamestore) >= 0.21.2
BuildRequires: pkgconfig(gnunetreclaim) >= 0.21.2
BuildRequires: pkgconfig(gnunetregex) >= 0.21.2
BuildRequires: pkgconfig(gnunetutil) >= 0.21.2
BuildRequires: pkgconfig(gnunetarm)
BuildRequires: pkgconfig(gnunetfs)
BuildRequires: pkgconfig(gnunetgns)
BuildRequires: pkgconfig(gnunetgnsrecord)
BuildRequires: pkgconfig(gnunetidentity)
BuildRequires: pkgconfig(gnunetmessenger)
BuildRequires: pkgconfig(gnunetnamestore)
BuildRequires: pkgconfig(gnunetreclaim)
BuildRequires: pkgconfig(gnunetregex)
BuildRequires: pkgconfig(gnunetutil)
%description
This library is an abstraction layer using the client API from different GNUnet