git: 21a74b9aac80 - main - x11-toolkits/wlroots: dedup *_DEPENDS in consumers
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 18 Jan 2024 02:59:16 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=21a74b9aac80dc16a8b0392bb1cf9c410649c35c commit 21a74b9aac80dc16a8b0392bb1cf9c410649c35c Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2024-01-18 02:02:37 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2024-01-18 02:57:13 +0000 x11-toolkits/wlroots: dedup *_DEPENDS in consumers LIB_DEPENDS against a port with non-default USE_LDCONFIG can desync RUN_DEPENDS and BUILD_DEPENDS, leading to incorrectly registered dependencies when built in a dirty environment. $ make install -C x11-toolkits/wlroots $ make install -C x11-wm/hikari $ pkg info -xr wlroots wlroots-0.17.1: hikari-2.3.3_4 wlroots015-0.15.1_2: $ make run-depends-list -C x11-wm/hikari | fgrep wlroots /usr/ports/main/x11-toolkits/wlroots015 $ make actual-package-depends -C x11-wm/hikari | fgrep wlroots "wlroots": {origin: "x11-toolkits/wlroots", version: "0.17.1"} --- x11-toolkits/wlroots015/override.mk | 4 ++-- x11-toolkits/wlroots016/override.mk | 4 ++-- x11-wm/cage/Makefile | 3 +-- x11-wm/cagebreak/Makefile | 3 +-- x11-wm/dwl/Makefile | 3 +-- x11-wm/gamescope/Makefile | 3 +-- x11-wm/hikari/Makefile | 3 +-- x11-wm/hyprland/Makefile | 3 +-- x11-wm/labwc/Makefile | 3 +-- x11-wm/phoc/Makefile | 3 +-- x11-wm/river/Makefile | 1 - x11-wm/sway-devel/Makefile | 3 +-- x11-wm/sway/Makefile | 3 +-- x11-wm/wayfire/Makefile | 3 +-- 14 files changed, 15 insertions(+), 27 deletions(-) diff --git a/x11-toolkits/wlroots015/override.mk b/x11-toolkits/wlroots015/override.mk index 556e497fa9e2..c94d1ab53853 100644 --- a/x11-toolkits/wlroots015/override.mk +++ b/x11-toolkits/wlroots015/override.mk @@ -1,7 +1,7 @@ WLR_SUFFIX= 015 +SOVERSION= 10 -BUILD_DEPENDS:= ${BUILD_DEPENDS:S/wlroots/&${WLR_SUFFIX}/g} -LIB_DEPENDS:= ${LIB_DEPENDS:S/wlroots$/&${WLR_SUFFIX}/} +LIB_DEPENDS:= ${LIB_DEPENDS:S/wlroots.so/&.${SOVERSION}/:S/wlroots$/&${WLR_SUFFIX}/} USES+= localbase # -isystem CONFIGURE_ENV+= PKG_CONFIG_PATH="${LOCALBASE}/wlroots${WLR_SUFFIX}/libdata/pkgconfig" diff --git a/x11-toolkits/wlroots016/override.mk b/x11-toolkits/wlroots016/override.mk index 443008a3c69d..f690580b51dc 100644 --- a/x11-toolkits/wlroots016/override.mk +++ b/x11-toolkits/wlroots016/override.mk @@ -1,7 +1,7 @@ WLR_SUFFIX= 016 +SOVERSION= 11 -BUILD_DEPENDS:= ${BUILD_DEPENDS:S/wlroots/&${WLR_SUFFIX}/g} -LIB_DEPENDS:= ${LIB_DEPENDS:S/wlroots$/&${WLR_SUFFIX}/} +LIB_DEPENDS:= ${LIB_DEPENDS:S/wlroots.so/&.${SOVERSION}/:S/wlroots$/&${WLR_SUFFIX}/} USES+= localbase # -isystem CONFIGURE_ENV+= PKG_CONFIG_PATH="${LOCALBASE}/wlroots${WLR_SUFFIX}/libdata/pkgconfig" diff --git a/x11-wm/cage/Makefile b/x11-wm/cage/Makefile index 7b53b2cbd82e..37e4de888633 100644 --- a/x11-wm/cage/Makefile +++ b/x11-wm/cage/Makefile @@ -15,8 +15,7 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ - wayland-protocols>=1.14:graphics/wayland-protocols \ - wlroots>=0.16.0:x11-toolkits/wlroots + wayland-protocols>=1.14:graphics/wayland-protocols LIB_DEPENDS= libwayland-server.so:graphics/wayland \ libwlroots.so:x11-toolkits/wlroots \ libxkbcommon.so:x11/libxkbcommon diff --git a/x11-wm/cagebreak/Makefile b/x11-wm/cagebreak/Makefile index 795ac1e11843..e520686cdbdf 100644 --- a/x11-wm/cagebreak/Makefile +++ b/x11-wm/cagebreak/Makefile @@ -11,8 +11,7 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ - wayland-protocols>=1.14:graphics/wayland-protocols \ - wlroots>=0.17.0<0.18.0:x11-toolkits/wlroots + wayland-protocols>=1.14:graphics/wayland-protocols LIB_DEPENDS= libevdev.so:devel/libevdev \ libudev.so:devel/libudev-devd \ libwayland-server.so:graphics/wayland \ diff --git a/x11-wm/dwl/Makefile b/x11-wm/dwl/Makefile index 465224343006..42d471e31a8f 100644 --- a/x11-wm/dwl/Makefile +++ b/x11-wm/dwl/Makefile @@ -15,8 +15,7 @@ LICENSE_FILE_GPLv3+ = ${WRKSRC}/LICENSE LICENSE_FILE_MIT= ${WRKSRC}/LICENSE.dwm BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ - wayland-protocols>0:graphics/wayland-protocols \ - wlroots>=0.17.0:x11-toolkits/wlroots + wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libwayland-server.so:graphics/wayland \ libwlroots.so:x11-toolkits/wlroots \ libinput.so:x11/libinput \ diff --git a/x11-wm/gamescope/Makefile b/x11-wm/gamescope/Makefile index a264de4a3835..d6134b15e9ce 100644 --- a/x11-wm/gamescope/Makefile +++ b/x11-wm/gamescope/Makefile @@ -20,8 +20,7 @@ BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ vulkan-headers>0:graphics/vulkan-headers \ wayland-protocols>=1.17:graphics/wayland-protocols \ glm>0:math/glm \ - hwdata>0:misc/hwdata \ - wlroots>=0.17.0<0.18.0:x11-toolkits/wlroots + hwdata>0:misc/hwdata LIB_DEPENDS= libdrm.so:graphics/libdrm \ libliftoff.so:graphics/libliftoff \ libvulkan.so:graphics/vulkan-loader \ diff --git a/x11-wm/hikari/Makefile b/x11-wm/hikari/Makefile index 0077486cb809..fffc73477b11 100644 --- a/x11-wm/hikari/Makefile +++ b/x11-wm/hikari/Makefile @@ -12,8 +12,7 @@ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ - wayland-protocols>=1.14:graphics/wayland-protocols \ - wlroots>=0.15.0<0.16.0:x11-toolkits/wlroots + wayland-protocols>=1.14:graphics/wayland-protocols LIB_DEPENDS= libinput.so:x11/libinput \ libucl.so:textproc/libucl \ libwayland-server.so:graphics/wayland \ diff --git a/x11-wm/hyprland/Makefile b/x11-wm/hyprland/Makefile index 15a28b674686..cdf253e88808 100644 --- a/x11-wm/hyprland/Makefile +++ b/x11-wm/hyprland/Makefile @@ -13,8 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= cmake:devel/cmake-core \ evdev-proto>0:devel/evdev-proto \ - wayland-protocols>=1.25:graphics/wayland-protocols \ - wlroots>=0.17.0<0.18.0:x11-toolkits/wlroots + wayland-protocols>=1.25:graphics/wayland-protocols LIB_DEPENDS= libtomlplusplus.so:devel/tomlplusplus \ libdrm.so:graphics/libdrm \ libwayland-server.so:graphics/wayland \ diff --git a/x11-wm/labwc/Makefile b/x11-wm/labwc/Makefile index 7b80ec4cc6d9..d84a75e4c118 100644 --- a/x11-wm/labwc/Makefile +++ b/x11-wm/labwc/Makefile @@ -13,8 +13,7 @@ WWW= https://github.com/labwc/labwc LICENSE= GPLv2 BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ - wayland-protocols>0:graphics/wayland-protocols \ - wlroots>=0.17.0<0.18.0:x11-toolkits/wlroots + wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libpng.so:graphics/png \ libwayland-server.so:graphics/wayland \ libwlroots.so:x11-toolkits/wlroots \ diff --git a/x11-wm/phoc/Makefile b/x11-wm/phoc/Makefile index d8ca2a225323..23e5b42d70ba 100644 --- a/x11-wm/phoc/Makefile +++ b/x11-wm/phoc/Makefile @@ -12,8 +12,7 @@ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ - wayland-protocols>=1.15:graphics/wayland-protocols \ - wlroots>=0.17.0<0.18.0:x11-toolkits/wlroots + wayland-protocols>=1.15:graphics/wayland-protocols LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \ libwayland-server.so:graphics/wayland \ libwlroots.so:x11-toolkits/wlroots \ diff --git a/x11-wm/river/Makefile b/x11-wm/river/Makefile index b0e675dc55fe..254833be4e6a 100644 --- a/x11-wm/river/Makefile +++ b/x11-wm/river/Makefile @@ -12,7 +12,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>0:graphics/wayland-protocols \ - wlroots>=0.16.0:x11-toolkits/wlroots \ zig>=0.11.0:lang/zig LIB_DEPENDS= libevdev.so:devel/libevdev \ libwayland-server.so:graphics/wayland \ diff --git a/x11-wm/sway-devel/Makefile b/x11-wm/sway-devel/Makefile index b28783b7a6d9..0474e7026540 100644 --- a/x11-wm/sway-devel/Makefile +++ b/x11-wm/sway-devel/Makefile @@ -17,8 +17,7 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ - wayland-protocols>=1.24:graphics/wayland-protocols \ - wlroots>=0.17.0<0.18.0:x11-toolkits/wlroots + wayland-protocols>=1.24:graphics/wayland-protocols LIB_DEPENDS= libjson-c.so:devel/json-c \ libevdev.so:devel/libevdev \ libudev.so:devel/libudev-devd \ diff --git a/x11-wm/sway/Makefile b/x11-wm/sway/Makefile index e05b328e60d8..26a870c608ff 100644 --- a/x11-wm/sway/Makefile +++ b/x11-wm/sway/Makefile @@ -18,8 +18,7 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ - wayland-protocols>=1.24:graphics/wayland-protocols \ - wlroots>=0.16.0<0.17.0:x11-toolkits/wlroots + wayland-protocols>=1.24:graphics/wayland-protocols LIB_DEPENDS= libjson-c.so:devel/json-c \ libevdev.so:devel/libevdev \ libudev.so:devel/libudev-devd \ diff --git a/x11-wm/wayfire/Makefile b/x11-wm/wayfire/Makefile index 7fb927e0ee61..b4871b83d91d 100644 --- a/x11-wm/wayfire/Makefile +++ b/x11-wm/wayfire/Makefile @@ -20,8 +20,7 @@ BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wf-config>=0.8.0<0.9.0:devel/wf-config \ ${LOCALBASE}/include/xf86drmMode.h:graphics/libdrm \ wayland-protocols>=1.12:graphics/wayland-protocols \ - glm>=0.9.8:math/glm \ - wlroots>=0.16.0<0.17.0:x11-toolkits/wlroots + glm>=0.9.8:math/glm LIB_DEPENDS= libevdev.so:devel/libevdev \ libinotify.so:devel/libinotify \ libwf-config.so:devel/wf-config \