sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Ismael Luceno (c0ca9579ff4bef02cd48281e5ed782508e5a758c)
- From: Ismael Luceno <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (c0ca9579ff4bef02cd48281e5ed782508e5a758c)
- Date: Wed, 5 Apr 2023 14:55:50 +0000
GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:
ChangeLog | 4 ++
archive-libs/minizip/DETAILS | 1
libs/cereal/BUILD | 2 +
libs/cereal/CONFIGURE | 1
libs/cereal/DETAILS | 19 ++++++++++
libs/cereal/HISTORY | 2 +
libs/mosquitto/BUILD | 1
libs/mosquitto/DEPENDS | 13 +++++++
libs/mosquitto/DETAILS | 25 +++++++++++++
libs/mosquitto/HISTORY | 2 +
libs/mosquitto/INSTALL | 1
wm-addons/i3status/0001-disable-pulseaudio.patch | 42
-----------------------
wm-addons/i3status/BUILD | 1
wm-addons/i3status/DEPENDS | 3 +
wm-addons/i3status/DETAILS | 6 ++-
wm-addons/i3status/HISTORY | 5 ++
wm-addons/i3status/PRE_BUILD | 6 ---
17 files changed, 82 insertions(+), 52 deletions(-)
New commits:
commit c0ca9579ff4bef02cd48281e5ed782508e5a758c
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
i3status 2.14
commit e8066c88988b6feaf2e6aeac3cbc6895bde8e9e4
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
i3status: Add Watch line
commit 02f44f1ddba7cd0be96b37eb2381d7fd0f549143
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
minizip: Add Watch line
commit d921107ee511c5c267b06fa749079215ac174311
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
cereal: new spell, A C++11 library for serialization
commit 122374780ae8b4f51c4db2c21b8822a728dedd0d
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
mosquitto: new spell, Eclipse Mosquitto MQTT Broker
diff --git a/ChangeLog b/ChangeLog
index d94e3e1..af238f1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2023-04-05 Ismael Luceno <ismael AT sourcemage.org>
+ * libs/mosquitto: new spell, Eclipse Mosquitto MQTT Broker
+ * libs/cereal: new spell, A C++11 library for serialization
+
2023-04-05 Treeve Jelbert <treeve AT sourcemage.org>
* qt5-cmake/qtgreet: added, qt based greeter for greetd
diff --git a/archive-libs/minizip/DETAILS b/archive-libs/minizip/DETAILS
index 5ddb90f..b055478 100755
--- a/archive-libs/minizip/DETAILS
+++ b/archive-libs/minizip/DETAILS
@@ -1,3 +1,4 @@
+# Watch: https://github.com/nmoinvaz/minizip/tags /tags/([0-9.]+)[.]tar
SPELL=minizip
VERSION=3.0.2
SOURCE_HASH=sha512:eee4d35d273ab0a32972b119c8faabd8c242e2d9f506fab0dd21fdd24c78b932c01bf7f15e9cf7c452776fc4c2e27a5ff09e376adb7a706336d11114929182fc
diff --git a/libs/cereal/BUILD b/libs/cereal/BUILD
new file mode 100755
index 0000000..c279a27
--- /dev/null
+++ b/libs/cereal/BUILD
@@ -0,0 +1,2 @@
+OPTS+=' -DJUST_INSTALL_CEREAL=ON' &&
+default_build
diff --git a/libs/cereal/CONFIGURE b/libs/cereal/CONFIGURE
new file mode 100755
index 0000000..b1e2770
--- /dev/null
+++ b/libs/cereal/CONFIGURE
@@ -0,0 +1 @@
+. "$GRIMOIRE"/CMAKE_CONFIGURE
diff --git a/libs/cereal/DETAILS b/libs/cereal/DETAILS
new file mode 100755
index 0000000..f7bb1a1
--- /dev/null
+++ b/libs/cereal/DETAILS
@@ -0,0 +1,19 @@
+. "$GRIMOIRE"/CMAKE_FUNCTIONS
+ SPELL=cereal
+ VERSION=1.3.2
+ SOURCE="$SPELL-$VERSION.tar.gz"
+
SOURCE_URL[0]=https://github.com/USCiLab/$SPELL/archive/refs/tags/v$VERSION.tar.gz
+
SOURCE_HASH=sha512:98d306d6292789129675f1c5c5aedcb90cfcc1029c4482893a8f9b23f3c9755e5ed4762d7a528f215345cae6392e87cd8d89467115b6f031b41c8673d6b4b109
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE="https://uscilab.github.io/cereal/"
+ LICENSE[0]="BSD-3-Clause"
+ ENTERED=20230405
+ KEYWORDS=""
+ SHORT="A C++11 library for serialization"
+cat << EOF
+cereal is a header-only C++11 serialization library. cereal takes arbitrary
+data types and reversibly turns them into different representations, such
+as compact binary encodings, XML, or JSON. cereal was designed to be fast,
+light-weight, and easy to extend - it has no external dependencies and can
+be easily bundled with other code or used standalone.
+EOF
diff --git a/libs/cereal/HISTORY b/libs/cereal/HISTORY
new file mode 100644
index 0000000..ab8efe1
--- /dev/null
+++ b/libs/cereal/HISTORY
@@ -0,0 +1,2 @@
+2023-04-05 Ismael Luceno <ismael AT sourcemage.org>
+ * BUILD, CONFIGURE, DETAILS: spell created
diff --git a/libs/mosquitto/BUILD b/libs/mosquitto/BUILD
new file mode 100755
index 0000000..4eecd34
--- /dev/null
+++ b/libs/mosquitto/BUILD
@@ -0,0 +1 @@
+make -j "$MAKE_NJOBS" CC="${CC:-cc}" HOSTCC="${HOSTCC:-${CC:-cc}}" $OPTS
diff --git a/libs/mosquitto/DEPENDS b/libs/mosquitto/DEPENDS
new file mode 100755
index 0000000..2e085c4
--- /dev/null
+++ b/libs/mosquitto/DEPENDS
@@ -0,0 +1,13 @@
+depends c-ares &&
+optional_depends cjson \
+ "" \
+ WITH_CJSON=no \
+ "for client JSON output support" &&
+optional_depends libwebsocket \
+ WITH_WEBSOCKETS=yes \
+ "" \
+ "for Websockets support" &&
+optional_depends SSL \
+ "" \
+ "WITH_TLS=no" \
+ "for TLS support"
diff --git a/libs/mosquitto/DETAILS b/libs/mosquitto/DETAILS
new file mode 100755
index 0000000..502bb24
--- /dev/null
+++ b/libs/mosquitto/DETAILS
@@ -0,0 +1,25 @@
+ SPELL=mosquitto
+ VERSION=2.0.15
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+ SOURCE_URL[0]=https://${SPELL}.org/files/source/${SOURCE}
+
SOURCE_HASH=sha512:8a0c58222ea0b9304e7f096f6d13965478072baf1d1c9bc931b32a33f5ea8196c2dd54bde8d83fec7ed9cd413cb5fb115ce0a6701ca20664df52fdd7ca63ddaf
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE="https://mosquitto.org"
+ LICENSE[0]="EPL-2.0 OR BSD-3-Clause"
+ ENTERED=20230404
+ KEYWORDS=""
+ SHORT="Eclipse Mosquitto MQTT Broker"
+cat << EOF
+Eclipse Mosquitto is an open source (EPL/EDL licensed) message broker that
+implements the MQTT protocol versions 5.0, 3.1.1 and 3.1. Mosquitto is
+lightweight and is suitable for use on all devices from low power single
+board computers to full servers.
+
+The MQTT protocol provides a lightweight method of carrying out messaging
+using a publish/subscribe model. This makes it suitable for Internet of
Things
+messaging such as with low power sensors or mobile devices such as phones,
+embedded computers or microcontrollers.
+
+The Mosquitto project also provides a C library for implementing MQTT
clients,
+and the very popular mosquitto_pub and mosquitto_sub command line MQTT
clients.
+EOF
diff --git a/libs/mosquitto/HISTORY b/libs/mosquitto/HISTORY
new file mode 100644
index 0000000..a6e753e
--- /dev/null
+++ b/libs/mosquitto/HISTORY
@@ -0,0 +1,2 @@
+2023-04-04 Ismael Luceno <ismael AT sourcemage.org>
+ * BUILD, DEPENDS, DETAILS, INSTALL: spell created
diff --git a/libs/mosquitto/INSTALL b/libs/mosquitto/INSTALL
new file mode 100755
index 0000000..524e24e
--- /dev/null
+++ b/libs/mosquitto/INSTALL
@@ -0,0 +1 @@
+make install $OPTS
diff --git a/wm-addons/i3status/0001-disable-pulseaudio.patch
b/wm-addons/i3status/0001-disable-pulseaudio.patch
deleted file mode 100644
index 41300ee..0000000
--- a/wm-addons/i3status/0001-disable-pulseaudio.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 99e4891bb79a484932e6b4e6a5221fb3ae05a011 Mon Sep 17 00:00:00 2001
-From: Florian Franzmann <siflfran AT hawo.net>
-Date: Fri, 8 Jan 2016 22:56:14 +0100
-Subject: [PATCH] disable pulseaudio
-
----
- Makefile | 4 +---
- src/print_volume.c | 2 +-
- 2 files changed, 2 insertions(+), 4 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index bb90b1a..cbaf416 100644
---- a/Makefile
-+++ b/Makefile
-@@ -70,10 +70,8 @@ CFLAGS += -idirafter yajl-fallback
- OBJS:=$(wildcard src/*.c *.c)
- OBJS:=$(OBJS:.c=.o)
-
--ifeq ($(OS),OpenBSD)
- OBJS:=$(filter-out src/pulse.o, $(OBJS))
--LIBS:=$(filter-out -lpulse, $(LIBS)) -lpthread
--endif
-+LIBS:=$(filter-out -lpulse, $(LIBS))
-
- src/%.o: src/%.c include/i3status.h
- $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
-diff --git a/src/print_volume.c b/src/print_volume.c
-index 58cba2a..151f9b2 100644
---- a/src/print_volume.c
-+++ b/src/print_volume.c
-@@ -60,7 +60,7 @@ void print_volume(yajl_gen json_gen, char *buffer, const
char *fmt, const char *
- free(instance);
- }
-
--#ifndef __OpenBSD__
-+#if 0
- /* Try PulseAudio first */
-
- /* If the device name has the format "pulse[:N]" where N is the
---
-2.7.0
-
diff --git a/wm-addons/i3status/BUILD b/wm-addons/i3status/BUILD
deleted file mode 100755
index 8f58e6d..0000000
--- a/wm-addons/i3status/BUILD
+++ /dev/null
@@ -1 +0,0 @@
-make
diff --git a/wm-addons/i3status/CONFIGURE b/wm-addons/i3status/CONFIGURE
new file mode 100755
index 0000000..e69de29
diff --git a/wm-addons/i3status/DEPENDS b/wm-addons/i3status/DEPENDS
index 0a6b249..b1a8b12 100755
--- a/wm-addons/i3status/DEPENDS
+++ b/wm-addons/i3status/DEPENDS
@@ -1,6 +1,7 @@
+. "$GRIMOIRE"/MESON_DEPENDS &&
depends confuse &&
depends yajl &&
optional_depends alsa-lib '' '' "To get the current volume" &&
optional_depends libcap '' '' "To get the network status without root
permissions" &&
optional_depends asciidoc '' '' "To generate documentation" &&
-optional_depends pulseaudio '' '' "To query audio volume through pulseaudio"
+optional_depends pulseaudio pulseaudio={true,false} "To query audio volume
through pulseaudio"
diff --git a/wm-addons/i3status/DETAILS b/wm-addons/i3status/DETAILS
index a9bc3bf..7995bb4 100755
--- a/wm-addons/i3status/DETAILS
+++ b/wm-addons/i3status/DETAILS
@@ -1,6 +1,8 @@
+# Watch: https://i3wm.org/i3status/
+. "$GRIMOIRE"/MESON_FUNCTIONS
SPELL=i3status
- VERSION=2.10
- SOURCE="${SPELL}-${VERSION}.tar.bz2"
+ VERSION=2.14
+ SOURCE="${SPELL}-${VERSION}.tar.xz"
SOURCE2=$SOURCE.asc
SOURCE_URL[0]=http://i3wm.org/${SPELL}/${SOURCE}
SOURCE2_URL[0]=${SOURCE_URL[0]}.asc
diff --git a/wm-addons/i3status/HISTORY b/wm-addons/i3status/HISTORY
index 3b702a9..2f837b3 100644
--- a/wm-addons/i3status/HISTORY
+++ b/wm-addons/i3status/HISTORY
@@ -1,3 +1,8 @@
+2023-04-05 Ismael Luceno <ismael AT sourcemage.org>
+ * CONFIGURE, DEPENDS, DETAILS: updated spell to 2.14
+ * BUILD, PRE_BUILD, 0001-disable-pulseaudio.patch:
+ removed, no longer needed
+
2016-01-08 Florian Franzmann <bwlf AT bandrate.org>
* DETAILS: version 2.10
* DEPENDS: remove dependency on wireless_tools, add optional
dependency on
diff --git a/wm-addons/i3status/PRE_BUILD b/wm-addons/i3status/PRE_BUILD
deleted file mode 100755
index 59c18cf..0000000
--- a/wm-addons/i3status/PRE_BUILD
+++ /dev/null
@@ -1,6 +0,0 @@
-default_pre_build &&
-cd "${SOURCE_DIRECTORY}" &&
-
-if ! is_depends_enabled $SPELL pulseaudio; then
- patch -p1 < "$SPELL_DIRECTORY/0001-disable-pulseaudio.patch"
-fi
- [SM-Commit] GIT changes to master grimoire by Ismael Luceno (c0ca9579ff4bef02cd48281e5ed782508e5a758c), Ismael Luceno, 04/05/2023
Archive powered by MHonArc 2.6.24.