Mon Jan 9 13:20:34 2023 UTC ()
libxkbcommon: update to 1.5.0.

libxkbcommon 1.5.0 - 2023-01-02
==================

- Add `xkb_context` flag `XKB_CONTEXT_NO_SECURE_GETENV` and `rxkb_context` flag
  `RXKB_CONTEXT_NO_SECURE_GETENV`.

  xkbcommon uses `getenv_secure()` to obtain environment variables. This flag
  makes xkbcommon use `getenv()` instead.

  This is useful for some clients that have relatively benign capabilities set,
  like CAP_SYS_NICE, that also want to use e.g. the XKB configuration from the
  environment and user configs in XDG_CONFIG_HOME.

  Contributed by Ronan Pigott.

- Fix crash in `xkbcli interactive-wayland` under a compositor which supports
  new versions of the xdg-shell protocol.

  Contributed by Jan Alexander Steffens (heftig).

- Fix some MSVC build issues.

- Fix some issues when including xkbcommon as a meson subproject.

- meson>=0.51 is now required.


(wiz)
diff -r1.42 -r1.43 pkgsrc/x11/libxkbcommon/Makefile
diff -r1.30 -r1.31 pkgsrc/x11/libxkbcommon/distinfo

cvs diff -r1.42 -r1.43 pkgsrc/x11/libxkbcommon/Makefile (switch to unified diff)

--- pkgsrc/x11/libxkbcommon/Makefile 2022/11/23 16:21:25 1.42
+++ pkgsrc/x11/libxkbcommon/Makefile 2023/01/09 13:20:33 1.43
@@ -1,41 +1,40 @@ @@ -1,41 +1,40 @@
1# $NetBSD: Makefile,v 1.42 2022/11/23 16:21:25 adam Exp $ 1# $NetBSD: Makefile,v 1.43 2023/01/09 13:20:33 wiz Exp $
2 2
3DISTNAME= libxkbcommon-1.4.1 3DISTNAME= libxkbcommon-1.5.0
4PKGREVISION= 1 
5CATEGORIES= x11 4CATEGORIES= x11
6MASTER_SITES= https://xkbcommon.org/download/ 5MASTER_SITES= https://xkbcommon.org/download/
7EXTRACT_SUFX= .tar.xz 6EXTRACT_SUFX= .tar.xz
8 7
9MAINTAINER= ryoon@NetBSD.org 8MAINTAINER= ryoon@NetBSD.org
10HOMEPAGE= https://xkbcommon.org/ 9HOMEPAGE= https://xkbcommon.org/
11COMMENT= Library to handle keyboard descriptions 10COMMENT= Library to handle keyboard descriptions
12LICENSE= mit 11LICENSE= mit
13 12
14USE_TOOLS+= bison pkg-config 13USE_TOOLS+= bison pkg-config
15 14
16MESON_ARGS+= -Denable-wayland=false 15MESON_ARGS+= -Denable-wayland=false
17 16
18MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}/output 17MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}/output
19 18
20PYTHON_FOR_BUILD_ONLY= tool 19PYTHON_FOR_BUILD_ONLY= tool
21 20
22PKGCONFIG_OVERRIDE+= output/meson-private/xkbcommon.pc 21PKGCONFIG_OVERRIDE+= output/meson-private/xkbcommon.pc
23PKGCONFIG_OVERRIDE+= output/meson-private/xkbcommon-x11.pc 22PKGCONFIG_OVERRIDE+= output/meson-private/xkbcommon-x11.pc
24PKGCONFIG_OVERRIDE_STAGE= post-configure 23PKGCONFIG_OVERRIDE_STAGE= post-configure
25 24
26.include "options.mk" 25.include "options.mk"
27 26
28.if ${OPSYS} == "Darwin" || ${OPSYS} == "SunOS" 27.if ${OPSYS} == "Darwin" || ${OPSYS} == "SunOS"
29BUILDLINK_TRANSFORM+= rm:-Wl,--version-script=./xkbcommon.map 28BUILDLINK_TRANSFORM+= rm:-Wl,--version-script=./xkbcommon.map
30BUILDLINK_TRANSFORM+= rm:-Wl,--version-script=./xkbcommon-x11.map 29BUILDLINK_TRANSFORM+= rm:-Wl,--version-script=./xkbcommon-x11.map
31.endif 30.endif
32 31
33.include "../../devel/xorg-util-macros/buildlink3.mk" 32.include "../../devel/xorg-util-macros/buildlink3.mk"
34BUILDLINK_API_DEPENDS.libxcb+= libxcb>=1.10 33BUILDLINK_API_DEPENDS.libxcb+= libxcb>=1.10
35.include "../../x11/libxcb/buildlink3.mk" 34.include "../../x11/libxcb/buildlink3.mk"
36.include "../../x11/xkeyboard-config/buildlink3.mk" 35.include "../../x11/xkeyboard-config/buildlink3.mk"
37.include "../../textproc/libxml2/buildlink3.mk" 36.include "../../textproc/libxml2/buildlink3.mk"
38.include "../../devel/meson/build.mk" 37.include "../../devel/meson/build.mk"
39# for tests 38# for tests
40.include "../../lang/python/tool.mk" 39.include "../../lang/python/tool.mk"
41.include "../../mk/bsd.pkg.mk" 40.include "../../mk/bsd.pkg.mk"

cvs diff -r1.30 -r1.31 pkgsrc/x11/libxkbcommon/distinfo (switch to unified diff)

--- pkgsrc/x11/libxkbcommon/distinfo 2022/05/28 08:27:27 1.30
+++ pkgsrc/x11/libxkbcommon/distinfo 2023/01/09 13:20:33 1.31
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.30 2022/05/28 08:27:27 wiz Exp $ 1$NetBSD: distinfo,v 1.31 2023/01/09 13:20:33 wiz Exp $
2 2
3BLAKE2s (libxkbcommon-1.4.1.tar.xz) = 6bda1eb4e262ca1e2a6bcb7d37f80c015a99f0335614a3319ac40cac5fb9949a 3BLAKE2s (libxkbcommon-1.5.0.tar.xz) = 8aebec0d715a93b8ae1563cdf5facc98da23142befbaf26a4d9b1ce34fc49cc1
4SHA512 (libxkbcommon-1.4.1.tar.xz) = 757b340aeab6d187917807a88015b5113475ab2172aaaa8e530b40ea60619b3fbdfa668fd62707d66ed8fb763e68fee19394fcbd519af7c01d8975c59fdf0d89 4SHA512 (libxkbcommon-1.5.0.tar.xz) = bbba6665f052c04c7450413cc5e2badd6bfd41326b0e4c60e3ec01d730cae695fd34ce2662b8a91ece7a76b974a0ea330f7462dd5d2db148b0d0da26264ced9c
5Size (libxkbcommon-1.4.1.tar.xz) = 471824 bytes 5Size (libxkbcommon-1.5.0.tar.xz) = 472700 bytes