[Debian-on-mobile-maintainers] [Git][DebianOnMobile-team/phoc][rel-0.45_beta1] 2 commits: layout-transaction: Fix format specifier

Guido Günther (@agx) gitlab at salsa.debian.org
Sat Feb 1 17:14:21 GMT 2025



Guido Günther pushed to branch rel-0.45_beta1 at Debian On Mobile / phoc


Commits:
5a5c7f8b by Guido Günther at 2025-02-01T18:05:16+01:00
layout-transaction: Fix format specifier

- - - - -
eec186cf by Guido Günther at 2025-02-01T18:05:16+01:00
Document changes and release 0.45~git+beta1-1

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/layout-transaction-Fix-format-specifier.patch
- + debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,8 +1,16 @@
-phoc (0.45~git+beta1-1) UNRELEASED; urgency=medium
+phoc (0.45~git+beta1-1) unstable; urgency=medium
 
   * New upstream release
-
- -- Guido Günther <agx at sigxcpu.org>  Sat, 01 Feb 2025 16:59:46 +0100
+    * Switch to wlroots 0.18.x
+    * Support xdg-shell's surface suspend for fully occluded windows
+      (e.g. when screen is locked)
+    * Smoothen output mode/scale/transform changes
+    * Fix touch point and damage tracking debugging
+    * Allow to enable/disable touch point and damage tracking debugging at
+      runtime
+    * Lots of internal modernization, cleanup and robustness fixes
+
+ -- Guido Günther <agx at sigxcpu.org>  Sat, 01 Feb 2025 17:08:17 +0100
 
 phoc (0.45~git20250116.64b30aa-1) unstable; urgency=medium
 


=====================================
debian/patches/layout-transaction-Fix-format-specifier.patch
=====================================
@@ -0,0 +1,46 @@
+From: =?utf-8?q?Guido_G=C3=BCnther?= <agx at sigxcpu.org>
+Date: Sat, 1 Feb 2025 17:52:38 +0100
+Subject: layout-transaction: Fix format specifier
+MIME-Version: 1.0
+Content-Type: text/plain; charset="utf-8"
+Content-Transfer-Encoding: 8bit
+
+This unbreaks the build on 32bit. While at that adjust the types since
+g_get_monotonic_time() returns uses a signed type.
+
+Signed-off-by: Guido Günther <agx at sigxcpu.org>
+---
+ src/layout-transaction.c | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/layout-transaction.c b/src/layout-transaction.c
+index a8cb08d..b3e35d5 100644
+--- a/src/layout-transaction.c
++++ b/src/layout-transaction.c
+@@ -35,7 +35,7 @@ static GParamSpec *props[PROP_LAST_PROP];
+ struct _PhocLayoutTransaction {
+   GObject               parent;
+ 
+-  guint64               starttime;
++  gint64                starttime;
+   guint                 pending_configures;
+   guint                 timer_id;
+ };
+@@ -196,7 +196,7 @@ phoc_layout_transaction_add_dirty (PhocLayoutTransaction *self)
+ void
+ phoc_layout_transaction_notify_configured (PhocLayoutTransaction *self)
+ {
+-  guint64 now;
++  gint64 now;
+ 
+   g_assert (PHOC_IS_LAYOUT_TRANSACTION (self));
+ 
+@@ -210,7 +210,7 @@ phoc_layout_transaction_notify_configured (PhocLayoutTransaction *self)
+ 
+   /* All outstanding configures committed buffers */
+   now = g_get_monotonic_time ();
+-  g_debug ("Layout transaction finished after %ldms", (now - self->starttime) / 1000);
++  g_debug ("Layout transaction finished after %" G_GINT64_FORMAT "ms", (now - self->starttime) / 1000);
+   g_clear_handle_id (&self->timer_id, g_source_remove);
+   g_object_notify_by_pspec (G_OBJECT (self), props[PROP_ACTIVE]);
+ 


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+layout-transaction-Fix-format-specifier.patch



View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/phoc/-/compare/29629c8b7894a1defc8368aaeb934eb2eb7d5a9a...eec186cf022963a2882a1b1f984f2d122ff50567

-- 
View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/phoc/-/compare/29629c8b7894a1defc8368aaeb934eb2eb7d5a9a...eec186cf022963a2882a1b1f984f2d122ff50567
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-on-mobile-maintainers/attachments/20250201/ad3e603c/attachment-0001.htm>


More information about the Debian-on-mobile-maintainers mailing list