pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/wm/awesome
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.109 -r1.110 pkgsrc/wm/awesome/Makefile
cvs rdiff -u -r1.30 -r1.31 pkgsrc/wm/awesome/distinfo
cvs rdiff -u -r0 -r1.1 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.109 pkgsrc/wm/awesome/Makefile:1.110
--- pkgsrc/wm/awesome/Makefile:1.109 Tue Sep 29 06:07:58 2026
+++ pkgsrc/wm/awesome/Makefile Mon Oct 5 10:40:06 2026
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.109 2026/09/29 06:07:58 wiz Exp $
+# $NetBSD: Makefile,v 1.110 2026/10/05 10:40:06 wiz Exp $
DISTNAME= awesome-4.3
-PKGREVISION= 24
+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.31
--- pkgsrc/wm/awesome/distinfo:1.30 Mon Aug 18 06:45:19 2025
+++ pkgsrc/wm/awesome/distinfo Mon Oct 5 10:40:06 2026
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.30 2025/08/18 06:45:19 wiz Exp $
+$NetBSD: distinfo,v 1.31 2026/10/05 10:40:06 wiz 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
--- /dev/null Mon Oct 5 10:40:06 2026
+++ pkgsrc/wm/awesome/patches/patch-lib_awful_spawn.lua Mon Oct 5 10:40:06 2026
@@ -0,0 +1,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)
Home |
Main Index |
Thread Index |
Old Index