pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [pkgsrc-2026Q3] pkgsrc/wm/awesome



Module Name:    pkgsrc
Committed By:   maya
Date:           Sat Oct 10 14:18:44 UTC 2026

Modified Files:
        pkgsrc/wm/awesome [pkgsrc-2026Q3]: Makefile distinfo
Added Files:
        pkgsrc/wm/awesome/patches [pkgsrc-2026Q3]: patch-lib_awful_spawn.lua

Log Message:
Pullup ticket #7266 - requested by bsiegert
wm/awesome: Bug fix

Revisions pulled up:
- wm/awesome/Makefile                                           1.110
- wm/awesome/distinfo                                           1.31
- wm/awesome/patches/patch-lib_awful_spawn.lua                  1.1

---
   Module Name: pkgsrc
   Committed By:        wiz
   Date:                Mon Oct  5 10:40:06 UTC 2026

   Modified Files:
        pkgsrc/wm/awesome: Makefile distinfo
   Added Files:
        pkgsrc/wm/awesome/patches: patch-lib_awful_spawn.lua

   Log Message:
   awesome: add upstream patch for glib2 compat

   Via Brian Gomes Bascoy in PR 60849.

   Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.107.2.1 pkgsrc/wm/awesome/Makefile
cvs rdiff -u -r1.30 -r1.30.10.1 pkgsrc/wm/awesome/distinfo
cvs rdiff -u -r0 -r1.1.2.2 \
    pkgsrc/wm/awesome/patches/patch-lib_awful_spawn.lua

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/wm/awesome/Makefile
diff -u pkgsrc/wm/awesome/Makefile:1.107 pkgsrc/wm/awesome/Makefile:1.107.2.1
--- pkgsrc/wm/awesome/Makefile:1.107    Wed Sep  2 19:04:52 2026
+++ pkgsrc/wm/awesome/Makefile  Sat Oct 10 14:18:43 2026
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.107 2026/09/02 19:04:52 wiz Exp $
+# $NetBSD: Makefile,v 1.107.2.1 2026/10/10 14:18:43 maya Exp $
 
 DISTNAME=      awesome-4.3
-PKGREVISION=   22
+PKGREVISION=   25
 CATEGORIES=    wm lua
 EXTRACT_SUFX=  .tar.xz
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=awesomeWM/}

Index: pkgsrc/wm/awesome/distinfo
diff -u pkgsrc/wm/awesome/distinfo:1.30 pkgsrc/wm/awesome/distinfo:1.30.10.1
--- pkgsrc/wm/awesome/distinfo:1.30     Mon Aug 18 06:45:19 2025
+++ pkgsrc/wm/awesome/distinfo  Sat Oct 10 14:18:43 2026
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.30 2025/08/18 06:45:19 wiz Exp $
+$NetBSD: distinfo,v 1.30.10.1 2026/10/10 14:18:43 maya Exp $
 
 BLAKE2s (awesome-4.3.tar.xz) = 996ff487c8d2f850bf78d26f151ea5269c96cff94ccae95626ec2e0cb59e55d4
 SHA512 (awesome-4.3.tar.xz) = c5ef1e8dc593e7783b895d22143154aea8f211beeda24672a7ee4ed5112b4f4284043f848a151f3d3c4f569e91308670367a4353f705b20511b36495b22fa3f5
 Size (awesome-4.3.tar.xz) = 1037816 bytes
 SHA1 (patch-CMakeLists.txt) = ce684afe20430a5e030e8e4ee574fb22e3e16b9f
+SHA1 (patch-lib_awful_spawn.lua) = 637f1dfff662327419530081546136bd1484bb94

Added files:

Index: pkgsrc/wm/awesome/patches/patch-lib_awful_spawn.lua
diff -u /dev/null pkgsrc/wm/awesome/patches/patch-lib_awful_spawn.lua:1.1.2.2
--- /dev/null   Sat Oct 10 14:18:44 2026
+++ pkgsrc/wm/awesome/patches/patch-lib_awful_spawn.lua Sat Oct 10 14:18:43 2026
@@ -0,0 +1,35 @@
+$NetBSD: patch-lib_awful_spawn.lua,v 1.1.2.2 2026/10/10 14:18:43 maya Exp $
+
+lib, tests: use GioUnix to use platform-specific Gio classes (#4022)
+* lib, tests: use GioUnix to use platform-specific Gio classes
+
+In newest glib GioUnix symbols are not anymore exposed in GioUnix,
+while lua-lgi should handle the change transparently, it's better to
+adapt awesome to just use the right namespace.
+
+https://github.com/awesomeWM/awesome/commit/179e2b483800dd37bec8663f053313a8e614db13
+
+--- lib/awful/spawn.lua.orig   2019-01-28 06:53:24.000000000 +0000
++++ lib/awful/spawn.lua
+@@ -225,6 +225,7 @@ local Gio = lgi.Gio
+ }
+ local lgi = require("lgi")
+ local Gio = lgi.Gio
++local GioUnix = lgi.GioUnix
+ local GLib = lgi.GLib
+ local util   = require("awful.util")
+ local gtable = require("gears.table")
+@@ -411,11 +412,11 @@ function spawn.with_line_callback(cmd, callbacks)
+         end
+     end
+     if have_stdout then
+-        spawn.read_lines(Gio.UnixInputStream.new(stdout, true),
++        spawn.read_lines(GioUnix.InputStream.new(stdout, true),
+                 stdout_callback, step_done, true)
+     end
+     if have_stderr then
+-        spawn.read_lines(Gio.UnixInputStream.new(stderr, true),
++        spawn.read_lines(GioUnix.InputStream.new(stderr, true),
+                 stderr_callback, step_done, true)
+     end
+     assert(stdin == nil)



Home | Main Index | Thread Index | Old Index