From 2baee4d23481f708b86b8b7b3c4f28ca91f4fec4 Mon Sep 17 00:00:00 2001 From: freetard Date: Fri, 10 Apr 2026 12:40:45 -0700 Subject: [PATCH] profanity: update to 0.18.0 --- ...ssing-includes-for-libomemo-c-builds.patch | 75 ------------------- srcpkgs/profanity/template | 4 +- 2 files changed, 2 insertions(+), 77 deletions(-) delete mode 100644 srcpkgs/profanity/patches/0001-fix-omemo-add-missing-includes-for-libomemo-c-builds.patch diff --git a/srcpkgs/profanity/patches/0001-fix-omemo-add-missing-includes-for-libomemo-c-builds.patch b/srcpkgs/profanity/patches/0001-fix-omemo-add-missing-includes-for-libomemo-c-builds.patch deleted file mode 100644 index e9a3708d6319f3..00000000000000 --- a/srcpkgs/profanity/patches/0001-fix-omemo-add-missing-includes-for-libomemo-c-builds.patch +++ /dev/null @@ -1,75 +0,0 @@ -From 9a501e6ecdaf65d28362e5888a0529fb734a353e Mon Sep 17 00:00:00 2001 -From: Leon Adomaitis -Date: Fri, 27 Mar 2026 02:18:55 +0100 -Subject: [PATCH] fix(omemo): add missing includes for libomemo-c builds - -Signed-off-by: Leon Adomaitis ---- - src/omemo/crypto.h | 7 +++++++ - src/omemo/store.c | 2 +- - src/omemo/store.h | 8 ++++++-- - 3 files changed, 14 insertions(+), 3 deletions(-) - -diff --git a/src/omemo/crypto.h b/src/omemo/crypto.h -index 313fcf4ac166..8bca9794e299 100644 ---- a/src/omemo/crypto.h -+++ b/src/omemo/crypto.h -@@ -8,7 +8,14 @@ - */ - #include - #include -+#include "config.h" -+ -+#ifdef HAVE_LIBOMEMO_C -+#include -+#else - #include -+#endif -+ - #include - - #define AES128_GCM_KEY_LENGTH 16 -diff --git a/src/omemo/store.c b/src/omemo/store.c -index 3630076e0b2f..761e9b0e0b2f 100644 ---- a/src/omemo/store.c -+++ b/src/omemo/store.c -@@ -7,6 +7,7 @@ - * SPDX-License-Identifier: GPL-3.0-or-later WITH OpenSSL-exception - */ - #include -+#include "config.h" - - #ifdef HAVE_LIBOMEMO_C - #include -@@ -14,7 +15,6 @@ - #include - #endif - --#include "config.h" - #include "log.h" - #include "omemo/omemo.h" - #include "omemo/store.h" -diff --git a/src/omemo/store.h b/src/omemo/store.h -index 99d1678892dd..23378d76c95c 100644 ---- a/src/omemo/store.h -+++ b/src/omemo/store.h -@@ -6,10 +6,14 @@ - * - * SPDX-License-Identifier: GPL-3.0-or-later WITH OpenSSL-exception - */ --#include -- - #include "config.h" - -+#ifdef HAVE_LIBOMEMO_C -+#include -+#else -+#include -+#endif -+ - #define OMEMO_STORE_GROUP_IDENTITY "identity" - #define OMEMO_STORE_GROUP_PREKEYS "prekeys" - #define OMEMO_STORE_GROUP_SIGNED_PREKEYS "signed_prekeys" --- -2.53.0 - diff --git a/srcpkgs/profanity/template b/srcpkgs/profanity/template index 90be67da218824..561fa41700974e 100644 --- a/srcpkgs/profanity/template +++ b/srcpkgs/profanity/template @@ -1,6 +1,6 @@ # Template file for 'profanity' pkgname=profanity -version=0.17.0 +version=0.18.0 revision=1 build_style=meson configure_args="-Dnotifications=enabled -Dotr=enabled -Dpgp=enabled @@ -19,7 +19,7 @@ license="GPL-3.0-or-later" homepage="https://profanity-im.github.io/" changelog="https://raw.githubusercontent.com/profanity-im/profanity/master/CHANGELOG" distfiles="https://github.com/profanity-im/profanity/archive/refs/tags/${version}.tar.gz" -checksum=1b3282e1ce22178570616b2309019c40c4c97f0b30562bd4b455f60534a4e170 +checksum=6d5571ba15968bbc010c43d4f31a2274718cbfe431cc309f3838c8012c1c54d7 case "$XBPS_TARGET_MACHINE" in arm*)