git: 07cee16dc7be - main - devel/sdbus-cpp: update to 1.1.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Dec 2021 13:11:17 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=07cee16dc7bec309ad06e56ae81cfb88f9031bf1
commit 07cee16dc7bec309ad06e56ae81cfb88f9031bf1
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-12-22 13:00:45 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-12-22 13:10:37 +0000
devel/sdbus-cpp: update to 1.1.0
Changes: https://github.com/Kistler-Group/sdbus-cpp/releases/tag/v1.1.0
Reported by: GitHub (watch releases)
---
devel/sdbus-cpp/Makefile | 2 +-
devel/sdbus-cpp/distinfo | 6 +++---
devel/sdbus-cpp/files/patch-basu | 22 +++++-----------------
devel/sdbus-cpp/pkg-plist | 2 +-
4 files changed, 10 insertions(+), 22 deletions(-)
diff --git a/devel/sdbus-cpp/Makefile b/devel/sdbus-cpp/Makefile
index ddeba68570af..614f0323d95a 100644
--- a/devel/sdbus-cpp/Makefile
+++ b/devel/sdbus-cpp/Makefile
@@ -1,6 +1,6 @@
PORTNAME= sdbus-cpp
DISTVERSIONPREFIX= v
-DISTVERSION= 1.0.0
+DISTVERSION= 1.1.0
CATEGORIES= devel
MAINTAINER= jbeich@FreeBSD.org
diff --git a/devel/sdbus-cpp/distinfo b/devel/sdbus-cpp/distinfo
index 9e0e6fe34089..9336a3d49d28 100644
--- a/devel/sdbus-cpp/distinfo
+++ b/devel/sdbus-cpp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1635145357
-SHA256 (Kistler-Group-sdbus-cpp-v1.0.0_GH0.tar.gz) = 3db82112c0d8a171a4115d761e3a592b62091fa7600988736652595178ae4e94
-SIZE (Kistler-Group-sdbus-cpp-v1.0.0_GH0.tar.gz) = 202061
+TIMESTAMP = 1640175451
+SHA256 (Kistler-Group-sdbus-cpp-v1.1.0_GH0.tar.gz) = 35e939fdd9c796522702c9c8762dd59b5c47f3440c01ba9feb9921c042780b55
+SIZE (Kistler-Group-sdbus-cpp-v1.1.0_GH0.tar.gz) = 201532
diff --git a/devel/sdbus-cpp/files/patch-basu b/devel/sdbus-cpp/files/patch-basu
index aae455b3c498..beb0e0c696cd 100644
--- a/devel/sdbus-cpp/files/patch-basu
+++ b/devel/sdbus-cpp/files/patch-basu
@@ -1,8 +1,8 @@
libsystemd is Linux-only, so replace with basu
---- CMakeLists.txt.orig 2021-10-25 07:02:37 UTC
+--- CMakeLists.txt.orig 2021-12-22 12:17:31 UTC
+++ CMakeLists.txt
-@@ -16,15 +16,14 @@ option(BUILD_LIBSYSTEMD "Build libsystemd static libra
+@@ -16,7 +16,7 @@ option(BUILD_LIBSYSTEMD "Build libsystemd static libra
if(NOT BUILD_LIBSYSTEMD)
find_package(PkgConfig REQUIRED)
@@ -10,8 +10,9 @@ libsystemd is Linux-only, so replace with basu
+ pkg_check_modules(Systemd IMPORTED_TARGET GLOBAL basu)
if(NOT TARGET PkgConfig::Systemd)
message(FATAL_ERROR "libsystemd of version at least 236 is required, but was not found "
- "(you may turn BUILD_LIBSYSTEMD on for sdbus-c++ to try downloading "
- "and building libsystemd in as part of sdbus-c++ during configuration)")
+ "(if you have systemd in your OS, you may want to install package containing pkgconfig "
+@@ -25,8 +25,7 @@ if(NOT BUILD_LIBSYSTEMD)
+ "and incorporate libsystemd as embedded library within sdbus-c++)")
endif()
add_library(Systemd::Libsystemd ALIAS PkgConfig::Systemd)
- string(REGEX MATCHALL "([0-9]+)" SYSTEMD_VERSION_LIST "${Systemd_VERSION}")
@@ -186,19 +187,6 @@ libsystemd is Linux-only, so replace with basu
#include <stdbool.h>
#ifdef __cplusplus
---- tests/integrationtests/AdaptorAndProxy_test.cpp.orig 2021-10-25 07:02:37 UTC
-+++ tests/integrationtests/AdaptorAndProxy_test.cpp
-@@ -510,8 +510,8 @@ TEST_F(SdbusTestObject, AnswersMachineUuidViaPeerInter
- // a non-systemd Linux), org.freedesktop.DBus.Peer.GetMachineId() will not work. To solve
- // this, you can create /etc/machine-id yourself as symlink to /var/lib/dbus/machine-id,
- // and then org.freedesktop.DBus.Peer.GetMachineId() will start to work.
-- if (::access("/etc/machine-id", F_OK) == -1)
-- GTEST_SKIP() << "/etc/machine-id file does not exist, GetMachineId() will not work";
-+ if (::access("/var/lib/dbus/machine-id", F_OK) == -1)
-+ GTEST_SKIP() << "/var/lib/dbus/machine-id file does not exist, GetMachineId() will not work";
-
- ASSERT_NO_THROW(m_proxy->GetMachineId());
- }
--- tests/integrationtests/DBusStandardInterfacesTests.cpp.orig 2021-10-25 07:02:37 UTC
+++ tests/integrationtests/DBusStandardInterfacesTests.cpp
@@ -65,8 +65,8 @@ TEST_F(SdbusTestObject, AnswersMachineUuidViaPeerInter
diff --git a/devel/sdbus-cpp/pkg-plist b/devel/sdbus-cpp/pkg-plist
index 4fafa806f51a..63bed691297b 100644
--- a/devel/sdbus-cpp/pkg-plist
+++ b/devel/sdbus-cpp/pkg-plist
@@ -24,6 +24,6 @@ lib/cmake/sdbus-c++/sdbus-c++-targets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/sdbus-c++/sdbus-c++-targets.cmake
lib/libsdbus-c++.so
lib/libsdbus-c++.so.1
-lib/libsdbus-c++.so.1.0.0
+lib/libsdbus-c++.so.1.1.0
libdata/pkgconfig/sdbus-c++-tools.pc
libdata/pkgconfig/sdbus-c++.pc