Index | Thread | Search

From:
Matthieu Herrb <matthieu@openbsd.org>
Subject:
Re: update wayland/wf-config snapshot
To:
ports@openbsd.org, Landry Breuil <landry@openbsd.org>
Date:
Wed, 27 Aug 2025 23:02:36 +0200

Download raw body.

Thread
On Sun, Aug 17, 2025 at 04:54:40PM +0200, Matthieu Herrb wrote:
> This patch updates wf-config to the current git snapshot, needed
> to build wayfire current.
> 
> Note that one needs to pkg_delete wayfire before installing this as is
> conflicts with the old wayfire package.  I don't know if this can be
> described in quirks. But also see the note in the next mail to update
> wayfire...

wayfire and wf-config 0.10.0 have been released. New patch to upgrade
wf-config. Ok ?  (you need wlroots 0.19 too)

Index: Makefile
===================================================================
RCS file: /local/cvs/ports/wayland/wf-config/Makefile,v
diff -u -p -u -r1.7 Makefile
--- Makefile	20 Feb 2025 15:28:28 -0000	1.7
+++ Makefile	27 Aug 2025 20:46:44 -0000
@@ -1,17 +1,18 @@
 COMMENT =	configuration files library for wayfire
 
-V =		0.9.0
+V =		0.10.0
+GH_ACCOUNT =	WayfireWM
+GH_PROJECT =	wf-config
+GH_TAGNAME =	v${V}
 DISTNAME =	wf-config-${V}
 
-SHARED_LIBS +=	wf-config 0.1 # 0.0
+SHARED_LIBS +=	wf-config 0.2 # 0.0
 CATEGORIES =	wayland
 
 MAINTAINER =	Landry Breuil <landry@openbsd.org>
 # MIT
 PERMIT_PACKAGE =Yes
 
-SITES =		https://github.com/WayfireWM/wf-config/releases/download/v${V}/
-EXTRACT_SUFX =	.tar.xz
 
 # C++17
 COMPILER =	base-clang ports-gcc
Index: distinfo
===================================================================
RCS file: /local/cvs/ports/wayland/wf-config/distinfo,v
diff -u -p -u -r1.2 distinfo
--- distinfo	27 Aug 2024 17:24:33 -0000	1.2
+++ distinfo	27 Aug 2025 20:46:44 -0000
@@ -1,2 +1,2 @@
-SHA256 (wf-config-0.9.0.tar.xz) = 9oH+AoqpAm4MaJTXuUxUQjC4KFB48XYHaj2WT9Hfw3s=
-SIZE (wf-config-0.9.0.tar.xz) = 42612
+SHA256 (wf-config-0.10.0.tar.gz) = QmTt+fX1/5vMruGrP1smE6DbUmvJDBXXyC6wWj/IEwc=
+SIZE (wf-config-0.10.0.tar.gz) = 51553
Index: patches/patch-meson_build
===================================================================
RCS file: patches/patch-meson_build
diff -N patches/patch-meson_build
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-meson_build	27 Aug 2025 20:46:44 -0000
@@ -0,0 +1,14 @@
+This not yet 0.10
+
+Index: meson.build
+--- meson.build.orig
++++ meson.build
+@@ -1,7 +1,7 @@
+ project(
+ 	'wf-config',
+ 	'cpp',
+-	version: '0.10.0',
++	version: '0.9.0',
+ 	license: 'MIT',
+ 	meson_version: '>=0.47.0',
+ 	default_options: [
Index: pkg/PLIST
===================================================================
RCS file: /local/cvs/ports/wayland/wf-config/pkg/PLIST,v
diff -u -p -u -r1.1.1.1 PLIST
--- pkg/PLIST	21 Dec 2023 16:17:10 -0000	1.1.1.1
+++ pkg/PLIST	27 Aug 2025 20:46:44 -0000
@@ -9,6 +9,8 @@ include/wayfire/config/option.hpp
 include/wayfire/config/section.hpp
 include/wayfire/config/types.hpp
 include/wayfire/config/xml.hpp
+include/wayfire/nonstd/
+include/wayfire/nonstd/safe-list.hpp
 include/wayfire/util/
 include/wayfire/util/duration.hpp
 include/wayfire/util/log.hpp

-- 
Matthieu Herrb