Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (f334dd0377870a57d0044843b8106ae6548a8070)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (f334dd0377870a57d0044843b8106ae6548a8070)
  • Date: Sat, 16 Sep 2023 23:33:08 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:

ChangeLog | 3 +++
libs/sdbus-cpp/BUILD | 3 +++
libs/sdbus-cpp/CONFIGURE | 5 +++++
libs/sdbus-cpp/DEPENDS | 25 +++++++++++++++++++++++++
libs/sdbus-cpp/DETAILS | 28 ++++++++++++++++++++++++++++
libs/sdbus-cpp/HISTORY | 4 ++++
libs/sdbus-cpp/PREPARE | 3 +++
utils/xdg-desktop-portal-hyprland/DEPENDS | 11 +++++------
utils/xdg-desktop-portal-hyprland/DETAILS | 4 ++--
utils/xdg-desktop-portal-hyprland/HISTORY | 4 ++++
10 files changed, 82 insertions(+), 8 deletions(-)

New commits:
commit f334dd0377870a57d0044843b8106ae6548a8070
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

utils/xdg-desktop-portal-hyprland: version 1.0.0

commit d7c371393c8a04634a107ceb0f9cea68af3b4a75
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

libs/sdbus-cpp: new spell, high-level C++ D-Bus library for Linux

diff --git a/ChangeLog b/ChangeLog
index 43c1dfa..688387e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2023-09-16 Pavel Vinogradov <public AT sorcemage.org>
+ * libs/sdbus-cpp: new spell, high-level C++ D-Bus library for Linux
+
2023-09-10 Treeve Jelbert <treeve AT sourcemage.org>
* qt6/qt6location: added, geolocation support for qt6

diff --git a/libs/sdbus-cpp/BUILD b/libs/sdbus-cpp/BUILD
new file mode 100755
index 0000000..aa32f11
--- /dev/null
+++ b/libs/sdbus-cpp/BUILD
@@ -0,0 +1,3 @@
+OPTS="${SDBUS_CPP_OPTS} ${OPTS}" &&
+
+default_build
diff --git a/libs/sdbus-cpp/CONFIGURE b/libs/sdbus-cpp/CONFIGURE
new file mode 100755
index 0000000..41cda6a
--- /dev/null
+++ b/libs/sdbus-cpp/CONFIGURE
@@ -0,0 +1,5 @@
+. "${GRIMOIRE}/CMAKE_CONFIGURE" &&
+
+config_query_option SDBUS_CPP_OPTS "Build docs?" n \
+ "-DBUILD_DOC=ON" \
+ "-DBUILD_DOC=OFF"
diff --git a/libs/sdbus-cpp/DEPENDS b/libs/sdbus-cpp/DEPENDS
new file mode 100755
index 0000000..00c0fac
--- /dev/null
+++ b/libs/sdbus-cpp/DEPENDS
@@ -0,0 +1,25 @@
+. "${GRIMOIRE}/CMAKE_DEPENDS" &&
+
+if [[ "${SDBUS_CPP_BRANCH}" == "scm" ]]; then
+ depends git
+fi
+
+if list_find "${SDBUS_CPP_OPTS}" "-DBUILD_DOC=ON"; then
+ optional_depends doxygen \
+ "-DBUILD_DOXYGEN_DOC=ON" \
+ "-DBUILD_DOXYGEN_DOC=OFF" \
+ "for building Doxygen documentation"
+fi &&
+
+optional_depends expat \
+ "-DBUILD_CODE_GEN=ON" \
+ "-DBUILD_CODE_GEN=OFF" \
+ "build code generator" &&
+
+optional_depends systemd \
+ "" \
+ "" \
+ "for using libsystemd (otherwise, elogind)" &&
+if ! is_depends_enabled "${SPELL}" "systemd"; then
+ depends elogind
+fi
diff --git a/libs/sdbus-cpp/DETAILS b/libs/sdbus-cpp/DETAILS
new file mode 100755
index 0000000..a0471df
--- /dev/null
+++ b/libs/sdbus-cpp/DETAILS
@@ -0,0 +1,28 @@
+. "${GRIMOIRE}/FUNCTIONS"
+. "${GRIMOIRE}/CMAKE_FUNCTIONS"
+ SPELL="sdbus-cpp"
+if [[ "${SDBUS_CPP_BRANCH}" == "scm" ]]; then
+ VERSION="$(get_scm_version)"
+ SOURCE="${SPELL}-scm.tar.xz"
+SOURCE_DIRECTORY="${bUILD_DIRECTORY}/${SPELL}-scm"
+
SOURCE_URL[0]="git_http://https://github.com/Kistler-Group/${SPELL}:${SPELL}-scm";
+ SOURCE_IGNORE="volatile"
+ FORCE_DOWNLOAD="on"
+else
+ VERSION="1.3.0"
+
SOURCE_HASH="sha512:8f4cb9ae88b1ec0db0bcc27e131fcb9ad8a8bc88e39721b3b73f63e057bae4cd36619894e25114ccddb1a8e6c21db2f80adcabb3263ff5d8b34b72af7563afe2"
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+
SOURCE_URL[0]="https://github.com/Kistler-Group/${SPELL}/archive/refs/tags/v${VERSION}.tar.gz";
+# Watch: https://github.com/Kistler-Group/sdbus-cpp/tags
tags/v([0-9.]+)[.]tar
+fi
+ WEB_SITE="https://github.com/Kistler-Group/sdbus-cpp/";
+ ENTERED="20230916"
+ LICENSE[0]="LGPL"
+ KEYWORDS="dbus c++ library"
+ SHORT="High-level C++ D-Bus library for Linux"
+cat << EOF
+sdbus-c++ is a high-level C++ D-Bus library for Linux designed to provide
+expressive, easy-to-use API in modern C++. It adds another layer of
+abstraction on top of sd-bus, a nice, fresh C D-Bus implementation by
systemd.
+EOF
diff --git a/libs/sdbus-cpp/HISTORY b/libs/sdbus-cpp/HISTORY
new file mode 100644
index 0000000..db2b0a4
--- /dev/null
+++ b/libs/sdbus-cpp/HISTORY
@@ -0,0 +1,4 @@
+2023-09-16 Pavel Vinogradov <public AT sorcemage.org>
+ * BUILD, CONFIGURE, DEPENDS, DETAILS, PREPARE: created the spell,
+ version 1.3.0
+
diff --git a/libs/sdbus-cpp/PREPARE b/libs/sdbus-cpp/PREPARE
new file mode 100755
index 0000000..97e40f4
--- /dev/null
+++ b/libs/sdbus-cpp/PREPARE
@@ -0,0 +1,3 @@
+. "${GRIMOIRE}/FUNCTIONS" &&
+
+prepare_select_branch stable scm
diff --git a/utils/xdg-desktop-portal-hyprland/DEPENDS
b/utils/xdg-desktop-portal-hyprland/DEPENDS
index b441d1b..c9b86ba 100755
--- a/utils/xdg-desktop-portal-hyprland/DEPENDS
+++ b/utils/xdg-desktop-portal-hyprland/DEPENDS
@@ -1,4 +1,3 @@
-. "$GRIMOIRE/depends_one_of.function" &&
. "${GRIMOIRE}/MESON_DEPENDS" &&
depends xdg-desktop-portal &&
depends pipewire &&
@@ -8,12 +7,12 @@ depends wayland-protocols &&
depends inih &&
depends mesa &&
depends libdrm &&
+depends sdbus-cpp &&

-depends_one_of SD_BUS \
- systemd 'sd-bus-provider=libsystemd systemd=enabled' \
- elogind 'sd-bus-provider=libelogind' \
- basu 'sd-bus-provider=basu' \
- 'sd-bus-provider' &&
+optional_depends systemd \
+ 'systemd=enabled' \
+ 'systemd=disabled' \
+ 'for systemd unit' &&

optional_depends qt6base "" "" "for hyprland-share-picker" &&
if is_depends_enabled "${SPELL}" "qt6base"; then
diff --git a/utils/xdg-desktop-portal-hyprland/DETAILS
b/utils/xdg-desktop-portal-hyprland/DETAILS
index 5937b13..520a743 100755
--- a/utils/xdg-desktop-portal-hyprland/DETAILS
+++ b/utils/xdg-desktop-portal-hyprland/DETAILS
@@ -1,6 +1,6 @@
. "${GRIMOIRE}/MESON_FUNCTIONS"
SPELL=xdg-desktop-portal-hyprland
- VERSION=0.5.0
+ VERSION=1.0.0
COMMIT_ID_PROTO=4d29e48433270a2af06b8bc711ca1fe5109746cd
SOURCE=${SPELL}-${VERSION}.tar.gz
SOURCE2=hyprland-protocols-${COMMIT_ID_PROTO}.tar.gz
@@ -9,7 +9,7 @@ SOURCE_DIRECTORY="$BUILD_DIRECTORY/${SPELL}-${VERSION}"

SOURCE2_URL[0]=https://github.com/hyprwm/hyprland-protocols/archive/${COMMIT_ID_PROTO}.tar.gz
# Watch: https://github.com/hyprwm/xdg-desktop-portal-hyprland/tags
tags/v([0-9.]+)[.]tar
WEB_SITE=https://www.github.com/hyprwm/xdg-desktop-portal-hyprland/
-
SOURCE_HASH=sha256:d346cbe170e7042d5e364242a715d021d9b8da2078a169771cf84cda13f24e76
+
SOURCE_HASH=sha256:558ff12ad20d8421f3279d5bd39dd431eccc667cc19babd5479edaaf21487f10

SOURCE2_HASH=sha256:5f6be4d870e94314f05ec7ff9c9c1f028748230ff80a7f89aeaf66c08e5c70e0
ENTERED=20230329
LICENSE=MIT
diff --git a/utils/xdg-desktop-portal-hyprland/HISTORY
b/utils/xdg-desktop-portal-hyprland/HISTORY
index 7bcd088..d536289 100644
--- a/utils/xdg-desktop-portal-hyprland/HISTORY
+++ b/utils/xdg-desktop-portal-hyprland/HISTORY
@@ -1,3 +1,7 @@
+2023-09-16 Pavel Vinogradov <public AT sorcemage.org>
+ * DETAILS: version 1.0.0
+ * DEPENDS: added sdbus-cpp, now optionally depends on systemd only
+
2023-08-06 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 0.5.0




  • [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (f334dd0377870a57d0044843b8106ae6548a8070), Pavel Vinogradov, 09/16/2023

Archive powered by MHonArc 2.6.24.

Top of Page