public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/gtk-vnc] rawhide: Update to 1.6.0 release
Date: Thu, 05 Nov 2026 17:55:13 GMT [thread overview]
Message-ID: <179390131388.1.10084584922551711622.rpms-gtk-vnc-04db0b301fa6@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/gtk-vnc
Branch : rawhide
Commit : 04db0b301fa67aadcdc9dc1d905ea87233ad704f
Author : Daniel P. Berrangé <berrange@redhat.com>
Date : 2026-11-05T17:54:39+00:00
Stats : +2/-132 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/gtk-vnc/c/04db0b301fa67aadcdc9dc1d905ea87233ad704f?branch=rawhide
Log:
Update to 1.6.0 release
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
diff --git a/0001-make-gtk-vnc-debug-work-with-new-glib.patch b/0001-make-gtk-vnc-debug-work-with-new-glib.patch
deleted file mode 100644
index c7afc8e..0000000
--- a/0001-make-gtk-vnc-debug-work-with-new-glib.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-From ad62a80a4a3b4861e680e17f8877ffdbe024fbda Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Wed, 19 Feb 2025 15:18:10 +0000
-Subject: [PATCH 1/2] make --gtk-vnc-debug work with new glib
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Glib 2.80 changed its logging impl so that G_MESSAGES_DEBUG is
-only ever read once, which makes it impossible for --gtk-vnc-debug
-to change in many cases.
-
-The only viable way to change logging at runtime is to register
-a custom handler and print to the console ourselves. This is what
-we probably should have done from the start.
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- src/vncutil.c | 25 ++++++++++++++++++-------
- 1 file changed, 18 insertions(+), 7 deletions(-)
-
-diff --git a/src/vncutil.c b/src/vncutil.c
-index b9ad611..ec14ff7 100644
---- a/src/vncutil.c
-+++ b/src/vncutil.c
-@@ -27,6 +27,15 @@
-
-
- static gboolean debugFlag = FALSE;
-+static guint debugHandler = 0;
-+
-+static void vnc_log_handler(
-+ const gchar *log_domain G_GNUC_UNUSED,
-+ GLogLevelFlags log_level G_GNUC_UNUSED,
-+ const gchar *message,
-+ gpointer user_data G_GNUC_UNUSED) {
-+ g_printerr("%s\n", message);
-+}
-
- /**
- * vnc_util_set_debug:
-@@ -38,13 +47,15 @@ static gboolean debugFlag = FALSE;
- void vnc_util_set_debug(gboolean enabled)
- {
- if (enabled) {
-- const gchar *doms = g_getenv("G_MESSAGES_DEBUG");
-- if (!doms) {
-- g_setenv("G_MESSAGES_DEBUG", G_LOG_DOMAIN, 1);
-- } else if (!strstr(doms, G_LOG_DOMAIN)) {
-- gchar *newdoms = g_strdup_printf("%s %s", doms, G_LOG_DOMAIN);
-- g_setenv("G_MESSAGES_DEBUG", newdoms, 1);
-- g_free(newdoms);
-+ if (debugHandler == 0) {
-+ debugHandler =
-+ g_log_set_handler(G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG,
-+ vnc_log_handler, NULL);
-+ }
-+ } else {
-+ if (debugHandler != 0) {
-+ g_log_remove_handler(G_LOG_DOMAIN, debugHandler);
-+ debugHandler = 0;
- }
- }
- debugFlag = enabled;
---
-2.47.1
-
diff --git a/0002-Expand-log-message-to-include-log-domain-and-timesta.patch b/0002-Expand-log-message-to-include-log-domain-and-timesta.patch
deleted file mode 100644
index bfc6a94..0000000
--- a/0002-Expand-log-message-to-include-log-domain-and-timesta.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From 333032105927ab9ae53563f889a3edd9beba0704 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
-Date: Wed, 19 Feb 2025 16:22:14 +0000
-Subject: [PATCH 2/2] Expand log message to include log domain and timestamp
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-This helps correlate and distinguish logs from other components
-
-Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
----
- src/vncutil.c | 15 +++++++++++++--
- 1 file changed, 13 insertions(+), 2 deletions(-)
-
-diff --git a/src/vncutil.c b/src/vncutil.c
-index ec14ff7..18fe41e 100644
---- a/src/vncutil.c
-+++ b/src/vncutil.c
-@@ -28,13 +28,21 @@
-
- static gboolean debugFlag = FALSE;
- static guint debugHandler = 0;
-+static GTimeZone *debugTZ = NULL;
-
- static void vnc_log_handler(
-- const gchar *log_domain G_GNUC_UNUSED,
-+ const gchar *log_domain,
- GLogLevelFlags log_level G_GNUC_UNUSED,
- const gchar *message,
- gpointer user_data G_GNUC_UNUSED) {
-- g_printerr("%s\n", message);
-+ GDateTime *now = g_date_time_new_now(debugTZ);
-+ gchar *nowstr = g_date_time_format(now, "%H:%M:%S");
-+ g_printerr("%s: %s.%d: %s\n",
-+ log_domain, nowstr,
-+ g_date_time_get_microsecond(now)/1000,
-+ message);
-+ g_free(nowstr);
-+ g_date_time_unref(now);
- }
-
- /**
-@@ -51,11 +59,14 @@ void vnc_util_set_debug(gboolean enabled)
- debugHandler =
- g_log_set_handler(G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG,
- vnc_log_handler, NULL);
-+ debugTZ = g_time_zone_new_utc();
- }
- } else {
- if (debugHandler != 0) {
- g_log_remove_handler(G_LOG_DOMAIN, debugHandler);
- debugHandler = 0;
-+ g_time_zone_unref(debugTZ);
-+ debugTZ = NULL;
- }
- }
- debugFlag = enabled;
---
-2.47.1
-
diff --git a/gtk-vnc.spec b/gtk-vnc.spec
index 449cde3..2722ae1 100644
--- a/gtk-vnc.spec
+++ b/gtk-vnc.spec
@@ -14,12 +14,10 @@
Summary: A GTK widget for VNC clients
Name: gtk-vnc
-Version: 1.5.0
+Version: 1.6.0
Release: %autorelease
License: LGPL-2.1-or-later
Source: https://download.gnome.org/sources/%{name}/%{verdir}/%{name}-%{version}.tar.xz
-Patch: 0001-make-gtk-vnc-debug-work-with-new-glib.patch
-Patch: 0002-Expand-log-message-to-include-log-domain-and-timesta.patch
URL: https://gitlab.gnome.org/GNOME/gtk-vnc
Requires: gvnc = %{version}-%{release}
BuildRequires: gcc
diff --git a/sources b/sources
index 46894fa..7abcf5b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (gtk-vnc-1.5.0.tar.xz) = 8bf6a008eb9a425ab7d1eedfe8d3cfac76ec9dceb8b9f71afbb72ab74f54cdce36a232d2c858f60ac991ad191e206a9930d012e17372265a88f9c05303b3e6e0
+SHA512 (gtk-vnc-1.6.0.tar.xz) = af50fc31ed45e2032abe8888dcf2c3d87e566097f81bbbe5386096e574f497c5b4c40673c67f45296c8991d6845e9efae3b46b183923467241af3a7ab49effe0
reply other threads:[~2026-11-05 17:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179390131388.1.10084584922551711622.rpms-gtk-vnc-04db0b301fa6@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox