diff --git a/41256a58.patch b/41256a58.patch deleted file mode 100644 index e4c6b9a..0000000 --- a/41256a58.patch +++ /dev/null @@ -1,52 +0,0 @@ -From 41256a5842dc9d95494bf0bbd6e97875b817197f Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Florian=20M=C3=BCllner?= -Date: Fri, 16 Jun 2023 21:40:24 +0200 -Subject: [PATCH] build: Only define GjsContext autocleanup if necessary - -Gjs now calls G_DEFINE_AUTOPTR_CLEANUP_FUNC itself, so only define -it for older versions to avoid a compiler warning. - -Part-of: ---- - meson.build | 8 ++++++++ - src/polari.c | 2 ++ - 2 files changed, 10 insertions(+) - -diff --git a/meson.build b/meson.build -index b667f931..a2f74160 100644 ---- a/meson.build -+++ b/meson.build -@@ -42,8 +42,16 @@ conf = configuration_data() - conf.set_quoted('PKGLIBDIR', pkglibdir) - - cc = meson.get_compiler('c') -+gjs_has_autocleanup = cc.compiles( -+''' -+#include -+void main(void) { g_autoptr(GjsContext) context = NULL; } -+''', -+ dependencies: [gjs]) -+ - conf.set('HAVE_STRCASESTR', cc.has_function('strcasestr')) - conf.set('SNAPSHOT', get_option('snapshot')) -+conf.set('GJS_HAS_AUTOCLEANUP', gjs_has_autocleanup) - - config_h = declare_dependency( - sources: configure_file( -diff --git a/src/polari.c b/src/polari.c -index 8cb9d454..8f3ddc18 100644 ---- a/src/polari.c -+++ b/src/polari.c -@@ -3,7 +3,9 @@ - - #include "config.h" - -+#ifndef GJS_HAS_AUTOCLEANUP - G_DEFINE_AUTOPTR_CLEANUP_FUNC (GjsContext, g_object_unref) -+#endif - - #define JS_MAIN "resource:///org/gnome/Polari/js/main.js" - --- -GitLab - diff --git a/polari-43.0.tar.xz b/polari-43.0.tar.xz deleted file mode 100644 index 294084e..0000000 --- a/polari-43.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:17a192dee61f58e3cd4472500be7011946b99fbe52bc5ac124faaeac2f334147 -size 1128316 diff --git a/polari-45.0.tar.xz b/polari-45.0.tar.xz new file mode 100644 index 0000000..4623399 --- /dev/null +++ b/polari-45.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9db7ddc094aa8557f19177e164c42d8be167f54724b927130b7621c829c1d4a1 +size 1060220 diff --git a/polari.changes b/polari.changes index 3b99484..bba411b 100644 --- a/polari.changes +++ b/polari.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Sat Sep 16 21:59:28 UTC 2023 - Bjørn Lie + +- Update to version 45.0: + + Remove GNOME from networks list + + Port to new Adwaita widgets + + Improve visuals + + Fix selecting existing room in mobile view + + Fix user-online notification + + Misc. bug fixes and cleanups + + Updated translations. +- Drop 41256a58.patch: Fixed upstream. + ------------------------------------------------------------------- Tue Jul 11 17:53:48 UTC 2023 - Bjørn Lie diff --git a/polari.spec b/polari.spec index 412425e..98cc4ae 100644 --- a/polari.spec +++ b/polari.spec @@ -18,17 +18,14 @@ Name: polari -Version: 43.0 +Version: 45.0 Release: 0 Summary: An IRC Client for GNOME License: GPL-2.0-or-later AND LGPL-2.1-or-later Group: Productivity/Networking/IRC URL: https://wiki.gnome.org/Apps/Polari -Source0: https://download.gnome.org/sources/polari/43/%{name}-%{version}.tar.xz +Source0: https://download.gnome.org/sources/polari/45/%{name}-%{version}.tar.xz Source99: polari-rpmlintrc -# PATCH-FIX-UPSTREAM 41256a58.patch -- build: Only define GjsContext autocleanup if necessary -Patch1: https://gitlab.gnome.org/GNOME/polari/-/commit/41256a58.patch - BuildRequires: appstream-glib BuildRequires: desktop-file-utils