[dbus] Fix build on FreeBSD and in /opt (#47000)

This commit is contained in:
CQ_Undefine 2025-09-04 10:07:09 +02:00 committed by GitHub
parent b3e47eb102
commit b08f541526
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 23 additions and 2 deletions

View File

@ -13,6 +13,7 @@ vcpkg_from_gitlab(
getpeereid.patch # missing check from configure.ac
libsystemd.patch
remove-path.patch
remove-var-lib-dbus-creation.patch
)
vcpkg_check_features(OUT_FEATURE_OPTIONS options

View File

@ -0,0 +1,14 @@
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
index 5caf5de5..d8124818 100644
--- a/tools/CMakeLists.txt
+++ b/tools/CMakeLists.txt
@@ -130,9 +130,6 @@ if(NOT WIN32)
install(TARGETS dbus-uuidgen ${INSTALL_TARGETS_DEFAULT_ARGS})
endif()
-# create the /var/lib/dbus directory for dbus-uuidgen
-install(DIRECTORY DESTINATION ${CMAKE_INSTALL_FULL_LOCALSTATEDIR}/lib/dbus)
-
set(EXAMPLES_SCRIPTS
GetAllMatchRules.py
)

View File

@ -1,7 +1,7 @@
{
"name": "dbus",
"version": "1.16.2",
"port-version": 1,
"port-version": 2,
"description": "D-Bus specification and reference implementation, including libdbus and dbus-daemon",
"homepage": "https://gitlab.freedesktop.org/dbus/dbus",
"license": "AFL-2.1 OR GPL-2.0-or-later",

View File

@ -2232,6 +2232,7 @@ aravis[introspection]:arm64-windows = skip # needs arm64 host
atk[introspection]:arm64-windows = skip # needs arm64 host
cairo[x11](android | osx) = skip # No x11 on osx
clapack(x64 & windows & static) = skip # conflicts with lapack-reference which provides blas
dbus[x11](osx) = skip # No x11 on osx
entt[experimental] = skip # required head build
freerdp[x11](osx) = skip # No x11 on osx
gdk-pixbuf[introspection]:arm64-windows = skip # needs arm64 host

View File

@ -2362,7 +2362,7 @@
},
"dbus": {
"baseline": "1.16.2",
"port-version": 1
"port-version": 2
},
"dcmtk": {
"baseline": "3.6.9",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "a29fd7f168a1d2a3de4267941c2e28965ea1125e",
"version": "1.16.2",
"port-version": 2
},
{
"git-tree": "53859bc14ee6f5ac022edc297a6569bc880abdec",
"version": "1.16.2",