pkgsrc-WIP-changes archive

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

sfwbar: fix network module



Module Name:	pkgsrc-wip
Committed By:	kikadf <kikadf.01%gmail.com@localhost>
Pushed By:	kikadf
Date:		Sun Feb 22 09:56:33 2026 +0100
Changeset:	fa86997384ba9ddddbd59ea6f647d7e22e80f429

Modified Files:
	sfwbar/Makefile
	sfwbar/distinfo
	sfwbar/patches/patch-modules_network.c

Log Message:
sfwbar: fix network module

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fa86997384ba9ddddbd59ea6f647d7e22e80f429

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

diffstat:
 sfwbar/Makefile                        | 25 +++----------------------
 sfwbar/distinfo                        |  2 +-
 sfwbar/patches/patch-modules_network.c |  2 ++
 3 files changed, 6 insertions(+), 23 deletions(-)

diffs:
diff --git a/sfwbar/Makefile b/sfwbar/Makefile
index bfa4dcd16e..33f9b30ba8 100644
--- a/sfwbar/Makefile
+++ b/sfwbar/Makefile
@@ -10,11 +10,9 @@ HOMEPAGE=	https://github.com/LBCrion/sfwbar/
 COMMENT=	S* Floating Window Bar for wayland compositors
 LICENSE=	gnu-gpl-v3
 
-#USE_CXX_FEATURES+=	filesystem
-USE_LANGUAGES=		c c++
-
+USE_LANGUAGES=	c c++
 USE_TOOLS+=	pkg-config
-#TOOL_DEPENDS+=	${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
+LDFLAGS+=	${COMPILER_RPATH_FLAG}${PREFIX}/lib/sfwbar
 
 MESON_ARGS+=	-Dpulse=disabled
 MESON_ARGS+=	-Dpipewire=disabled
@@ -24,29 +22,12 @@ MESON_ARGS+=	-Dnm=disabled
 MESON_ARGS+=	-Dxkb=enabled
 MESON_ARGS+=	-Ddbus=enabled
 
-#SUBST_CLASSES+=		nogit
-#SUBST_STAGE.nogit=	pre-configure
-#SUBST_MESSAGE.nogit=	Set version
-#SUBST_FILES.nogit+=	meson.build
-#SUBST_SED.nogit+=	-e 's/git =/\#git =/g'
-#SUBST_SED.nogit+=	-e 's/git.found()/false/g'
-#SUBST_SED.nogit+=	-e '/project_version/s/@0@/${PKGVERSION}/g'
-
-#SUBST_CLASSES+=		conf
-#SUBST_STAGE.conf=	pre-configure
-#SUBST_MESSAGE.conf=	Set SYSCONFDIR
-#SUBST_FILES.conf+=	src/config.cpp
-#SUBST_SED.conf+=	-e 's|SYSCONFDIR "|"${PKG_SYSCONFBASE}|g'
-
-#EGDIR=		${PREFIX}/share/examples/waybar
-#CONF_FILES=	${EGDIR}/config.jsonc ${PKG_SYSCONFDIR}/config.jsonc
-#CONF_FILES+=	${EGDIR}/style.css ${PKG_SYSCONFDIR}/style.css
-
 .include "../../wip/gtk-layer-shell/buildlink3.mk"
 
 .include "../../devel/meson/build.mk"
 .include "../../devel/wayland/buildlink3.mk"
 .include "../../devel/wayland-protocols/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../textproc/json-c/buildlink3.mk"
 .include "../../textproc/libxml2/buildlink3.mk"
 .include "../../x11/gtk3/buildlink3.mk"
diff --git a/sfwbar/distinfo b/sfwbar/distinfo
index dfe5cd32ea..6789614aae 100644
--- a/sfwbar/distinfo
+++ b/sfwbar/distinfo
@@ -3,4 +3,4 @@ $NetBSD$
 BLAKE2s (sfwbar-1.0_beta16.1-d30db7c77fde25093f55eae8203f5a4995768152.tar.gz) = a02801bb12d28d3917fbf0a3e70571741dbb81ff380ea9ae162326d2991a5ce7
 SHA512 (sfwbar-1.0_beta16.1-d30db7c77fde25093f55eae8203f5a4995768152.tar.gz) = a55c9c3b982ec1d452fa666cf664d760b45e45c990bcbe62d3e6eeebf0ba0e9fe2fd4707c3c5d311942103ff296bf1cdff239c9811dcdfaf8a6f9b7a45ccefbc
 Size (sfwbar-1.0_beta16.1-d30db7c77fde25093f55eae8203f5a4995768152.tar.gz) = 515619 bytes
-SHA1 (patch-modules_network.c) = 91f29ad52ddfb0e5acfe34eb3fa613629afe34e1
+SHA1 (patch-modules_network.c) = b91f130ff7b53a162315f6ab0372a8a383c49510
diff --git a/sfwbar/patches/patch-modules_network.c b/sfwbar/patches/patch-modules_network.c
index 328aa2a783..b730c9003d 100644
--- a/sfwbar/patches/patch-modules_network.c
+++ b/sfwbar/patches/patch-modules_network.c
@@ -1,5 +1,7 @@
 $NetBSD$
 
+* Add NetBSD support
+
 --- modules/network.c.orig	2026-02-15 14:18:39.000000000 +0000
 +++ modules/network.c
 @@ -374,7 +374,7 @@ static gboolean net_rt_parse (GIOChannel


Home | Main Index | Thread Index | Old Index