Skip to Content.
Sympa Menu

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

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 (0dbc2ae4d4b29af9f4a86a1f6771fb3e2eadd6c9)
  • Date: Mon, 28 Aug 2023 01:05:43 +0000

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

ChangeLog | 1 +
libs/libqb/BUILD | 4 ++++
libs/libqb/DEPENDS | 20 ++++++++++++++++++++
libs/libqb/DETAILS | 31 +++++++++++++++++++++++++++++++
libs/libqb/HISTORY | 4 ++++
libs/libqb/PREPARE | 2 ++
libs/libqb/PRE_BUILD | 6 ++++++
7 files changed, 68 insertions(+)

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

libs/libqb: new spell, a library for logging, tracing, ipc, and poll

diff --git a/ChangeLog b/ChangeLog
index 38779b6..1f7a94f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
2023-08-27 Pavel Vinogradov <public AT sorcemage.org>
* FUNCTIONS: more improvements in apply_patch_dir, now checks for
*.diff
and/or *.patch specifically before applying them
+ * libs/libqb: new spell, a library for logging, tracing, ipc, and poll

2023-08-26 Pavel Vinogradov <public AT sorcemage.org>
* FUNCTIONS: simplified apply_patch_dir, removed apply_patch_dir_find
diff --git a/libs/libqb/BUILD b/libs/libqb/BUILD
new file mode 100755
index 0000000..d91977d
--- /dev/null
+++ b/libs/libqb/BUILD
@@ -0,0 +1,4 @@
+# cross compilation fails
+OPTS="--host=${BUILD} ${OPTS}" &&
+
+default_build
\ No newline at end of file
diff --git a/libs/libqb/DEPENDS b/libs/libqb/DEPENDS
new file mode 100755
index 0000000..45884d5
--- /dev/null
+++ b/libs/libqb/DEPENDS
@@ -0,0 +1,20 @@
+if [[ "${LIBQB_BRANCH}" == "scm" ]]; then
+ depends autoconf &&
+ depends automake &&
+ depends git
+fi &&
+
+depends glib2 &&
+
+optional_depends check "" "" "for tests" &&
+
+optional_depends doxygen"" "" "for documentation" &&
+if is_depends_enabled "${SPELL}" "doxygen"; then
+ depends graphviz &&
+ depends libxml2
+fi &&
+
+optional_depends systemd \
+ "--enable-systemd-journal" \
+ "--disable-systemd-journal" \
+ "for logging to systemd journal"
\ No newline at end of file
diff --git a/libs/libqb/DETAILS b/libs/libqb/DETAILS
new file mode 100755
index 0000000..fb1dd48
--- /dev/null
+++ b/libs/libqb/DETAILS
@@ -0,0 +1,31 @@
+. "$GRIMOIRE/FUNCTIONS"
+ SPELL="libqb"
+if [[ "${LIBQB_BRANCH}" == "scm" ]]; then
+ VERSION="$(get_scm_version)"
+ SOURCE="${SPELL}-scm.tar.xz"
+SOURCE_DIRECTORY="${bUILD_DIRECTORY}/${SPELL}-scm"
+
SOURCE_URL[0]="git_http://github.com/ClusterLabs/${SPELL}:${SPELL}-scm:main";
+ SOURCE_IGNORE="volatile"
+ FORCE_DOWNLOAD="on"
+else
+ VERSION="2.0.8"
+
SOURCE_HASH="sha256:b42531fc20b8ac02f4c6d0a4dc49f7c4a1eef09bdb13af5f6927b7fc49522ee6:UPSTREAM_HASH"
+ SOURCE="${SPELL}-${VERSION}.tar.xz"
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+
SOURCE_URL[0]="https://github.com/ClusterLabs/${SPELL}/releases/download/v${VERSION}/${SOURCE}";
+# Watch: https://github.com/ClusterLabs/libqb/tags tags/v([0-9.]+)[.]tar
+fi
+ WEB_SITE="https://clusterlabs.github.io/libqb/";
+ ENTERED="20230827"
+ LICENSE[0]="LGPL"
+ KEYWORDS="ipc libs logging tracing poll"
+ SHORT="library for logging, tracing, ipc, and poll"
+cat << EOF
+libqb is a library with the primary purpose of providing high-performance,
+reusable features for client-server architecture, such as logging, tracing,
+inter-process communication (IPC), and polling.
+
+libqb is not intended to be an all-encompassing library, but instead provide
+focused APIs that are highly tuned for maximum performance for client-server
+applications.
+EOF
diff --git a/libs/libqb/HISTORY b/libs/libqb/HISTORY
new file mode 100644
index 0000000..9e2e8a5
--- /dev/null
+++ b/libs/libqb/HISTORY
@@ -0,0 +1,4 @@
+2023-08-27 Pavel Vinogradov <public AT sorcemage.org>
+ * BUILD, DEPENDS. DETAILS, PRE_BUILD, PREPARE: created the spell,
+ version 2.0.8
+
diff --git a/libs/libqb/PREPARE b/libs/libqb/PREPARE
new file mode 100755
index 0000000..e38d86f
--- /dev/null
+++ b/libs/libqb/PREPARE
@@ -0,0 +1,2 @@
+. "${GRIMOIRE}/FUNCTIONS" &&
+prepare_select_branch stable scm
diff --git a/libs/libqb/PRE_BUILD b/libs/libqb/PRE_BUILD
new file mode 100755
index 0000000..26dcc2e
--- /dev/null
+++ b/libs/libqb/PRE_BUILD
@@ -0,0 +1,6 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+if [[ "${LIBQB_BRANCH}" == "scm" ]]; then
+ ./autogen.sh
+fi



  • [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (0dbc2ae4d4b29af9f4a86a1f6771fb3e2eadd6c9), Pavel Vinogradov, 08/27/2023

Archive powered by MHonArc 2.6.24.

Top of Page