head 1.1; access; symbols pkgsrc-2026Q3:1.1.0.2; locks; strict; comment @# @; 1.1 date 2026.10.05.10.40.06; author wiz; state Exp; branches 1.1.2.1; next ; commitid INUrdxIxyskEahYG; 1.1.2.1 date 2026.10.05.10.40.06; author maya; state dead; branches; next 1.1.2.2; commitid zvc1u3Phl66PdWYG; 1.1.2.2 date 2026.10.10.14.18.43; author maya; state Exp; branches; next ; commitid zvc1u3Phl66PdWYG; desc @@ 1.1 log @awesome: add upstream patch for glib2 compat Via Brian Gomes Bascoy in PR 60849. Bump PKGREVISION. @ text @$NetBSD$ 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) @ 1.1.2.1 log @file patch-lib_awful_spawn.lua was added on branch pkgsrc-2026Q3 on 2026-10-10 14:18:43 +0000 @ text @d1 35 @ 1.1.2.2 log @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. @ text @a0 35 $NetBSD: patch-lib_awful_spawn.lua,v 1.1 2026/10/05 10:40:06 wiz 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) @