sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (34b042d0e73b24ce7f61a4358eb4a88f48750f98)
- From: Vlad Glagolev <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (34b042d0e73b24ce7f61a4358eb4a88f48750f98)
- Date: Fri, 12 Apr 2019 02:25:23 +0000
GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:
ChangeLog | 2 ++
audio-soft/ncpamixer/BUILD | 6 ++++++
audio-soft/ncpamixer/DEPENDS | 12 ++++++++++++
audio-soft/ncpamixer/DETAILS | 13 +++++++++++++
audio-soft/ncpamixer/HISTORY | 2 ++
audio-soft/ncpamixer/PRE_BUILD | 6 ++++++
audio-soft/ncpamixer/build.patch | 22 ++++++++++++++++++++++
audio-soft/pamixer/BUILD | 3 +++
audio-soft/pamixer/DEPENDS | 3 +++
audio-soft/pamixer/DETAILS | 16 ++++++++++++++++
audio-soft/pamixer/HISTORY | 2 ++
audio-soft/pamixer/INSTALL | 1 +
x11/polybar/DEPENDS | 5 +++++
x11/polybar/HISTORY | 3 +++
xfce/mousepad/BUILD | 3 +++
xfce/mousepad/CONFIGURE | 3 +++
xfce/mousepad/DEPENDS | 14 ++++++++++++--
xfce/mousepad/DETAILS | 6 +++---
xfce/mousepad/HISTORY | 6 ++++++
19 files changed, 123 insertions(+), 5 deletions(-)
New commits:
commit 34b042d0e73b24ce7f61a4358eb4a88f48750f98
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
ncpamixer: new spell, ncurses PulseAudio mixer
commit 5fb57065f0bd80056a6cdd660726d59c09841d96
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
polybar: added pulseaudio optional dependency
commit aa77f013a9677b437193318378a4eb931d2ec97e
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
pamixer: new spell, PulseAudio command line mixer
commit ec84394085780db7ced660f82a2adb325a424b0b
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
mousepad: => 0.4.1
diff --git a/ChangeLog b/ChangeLog
index 601b8fe..6206a3d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2019-04-11 Vlad Glagolev <stealth AT sourcemage.org>
* wm-addons/fbautostart: new spell, Fluxbox XDG autostarter
+ * audio-soft/pamixer: new spell, PulseAudio command line mixer
+ * audio-soft/ncpamixer: new spell, ncurses PulseAudio mixer
2019-04-08 Treeve Jelbert <treeve AT sourcemage.org>
* utils/fwupd: added, firmware update manager
diff --git a/audio-soft/ncpamixer/BUILD b/audio-soft/ncpamixer/BUILD
new file mode 100755
index 0000000..c367241
--- /dev/null
+++ b/audio-soft/ncpamixer/BUILD
@@ -0,0 +1,6 @@
+if is_depends_enabled ${SPELL} llvm; then
+ CXXFLAGS="-stdlib=libc++ -I${INSTALL_ROOT}/usr/include ${CXXFLAGS}" &&
+ LDFLAGS="-lc++ -lc++abi ${LDFLAGS}"
+fi &&
+
+cmake_build
diff --git a/audio-soft/ncpamixer/DEPENDS b/audio-soft/ncpamixer/DEPENDS
new file mode 100755
index 0000000..c38a38b
--- /dev/null
+++ b/audio-soft/ncpamixer/DEPENDS
@@ -0,0 +1,12 @@
+depends cmake &&
+depends pulseaudio &&
+depends ncurses &&
+
+optional_depends llvm \
+ "-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++" \
+ "" \
+ "to build ncpamixer with clang++" &&
+
+if ! is_depends_enabled ${SPELL} llvm; then
+ depends -sub CXX gcc
+fi
diff --git a/audio-soft/ncpamixer/DETAILS b/audio-soft/ncpamixer/DETAILS
new file mode 100755
index 0000000..60a05aa
--- /dev/null
+++ b/audio-soft/ncpamixer/DETAILS
@@ -0,0 +1,13 @@
+ SPELL=ncpamixer
+ VERSION=1.3.3
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+ SOURCE_URL[0]=https://github.com/fulhax/${SPELL}/archive/${VERSION}.tar.gz
+
SOURCE_HASH=sha512:f86fe4a8c3e505399e4eae831ded56dffbf0dc00f4392873a90e6dac10f8964becba65dad2ddcee128de636635a488fb9769a10909c2f7e1202d69d016358da6
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE=https://github.com/fulhax/ncpamixer
+ LICENSE[0]=MIT
+ ENTERED=20190411
+ SHORT="ncurses PulseAudio mixer"
+cat << EOF
+ncpamixer is a ncurses mixer for PulseAudio inspired by pavucontrol.
+EOF
diff --git a/audio-soft/ncpamixer/HISTORY b/audio-soft/ncpamixer/HISTORY
new file mode 100644
index 0000000..3c2b91d
--- /dev/null
+++ b/audio-soft/ncpamixer/HISTORY
@@ -0,0 +1,2 @@
+2019-04-11 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, {PRE_,}BUILD: created spell, version 1.3.3
diff --git a/audio-soft/ncpamixer/PRE_BUILD b/audio-soft/ncpamixer/PRE_BUILD
new file mode 100755
index 0000000..2161f17
--- /dev/null
+++ b/audio-soft/ncpamixer/PRE_BUILD
@@ -0,0 +1,6 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+mv src/* . &&
+
+patch -p0 < "${SPELL_DIRECTORY}/build.patch"
diff --git a/audio-soft/ncpamixer/build.patch
b/audio-soft/ncpamixer/build.patch
new file mode 100644
index 0000000..117f03e
--- /dev/null
+++ b/audio-soft/ncpamixer/build.patch
@@ -0,0 +1,22 @@
+--- pa.cpp.orig
++++ pa.cpp
+@@ -1,7 +1,7 @@
+ #include "pa.hpp"
+
+ #include <unistd.h>
+-
++#include <iostream>
+ #include <cstring>
+ #include <functional>
+ #include <thread>
+--- ui/ui.cpp.orig
++++ ui/ui.cpp
+@@ -2,7 +2,7 @@
+
+ #include <sys/ioctl.h>
+ #include <unistd.h>
+-
++#include <locale>
+ #include <cstdio>
+ #include <cstring>
+ #include <string>
diff --git a/audio-soft/pamixer/BUILD b/audio-soft/pamixer/BUILD
new file mode 100755
index 0000000..b52c7f7
--- /dev/null
+++ b/audio-soft/pamixer/BUILD
@@ -0,0 +1,3 @@
+CXXFLAGS="-std=c++0x ${CXXFLAGS}" &&
+
+make
diff --git a/audio-soft/pamixer/DEPENDS b/audio-soft/pamixer/DEPENDS
new file mode 100755
index 0000000..b55ba44
--- /dev/null
+++ b/audio-soft/pamixer/DEPENDS
@@ -0,0 +1,3 @@
+depends -sub CXX gcc &&
+depends pulseaudio &&
+depends -sub PROGRAM_OPTIONS boost
diff --git a/audio-soft/pamixer/DETAILS b/audio-soft/pamixer/DETAILS
new file mode 100755
index 0000000..4b554c9
--- /dev/null
+++ b/audio-soft/pamixer/DETAILS
@@ -0,0 +1,16 @@
+ SPELL=pamixer
+ VERSION=1.4
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+
SOURCE_URL[0]=https://github.com/cdemoulins/${SPELL}/archive/${VERSION}.tar.gz
+
SOURCE_HASH=sha512:e3916ed8dc020bb43e57994a9f35a506147a0fde42b88c30c661cbeffa40e0f74cae66cd015394e524684c32f9674de3e3763a1396a3e1b9aecbfdc3ed117fe4
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE=https://github.com/cdemoulins/pamixer
+ LICENSE[0]=GPL
+ ENTERED=20190411
+ SHORT="PulseAudio command line mixer"
+cat << EOF
+pamixer is like amixer but for PulseAudio. It can control the volume levels
of
+the sinks.
+
+Also, this project can provide you a small C++ library to control PulseAudio.
+EOF
diff --git a/audio-soft/pamixer/HISTORY b/audio-soft/pamixer/HISTORY
new file mode 100644
index 0000000..3b2ebed
--- /dev/null
+++ b/audio-soft/pamixer/HISTORY
@@ -0,0 +1,2 @@
+2019-04-11 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, BUILD, INSTALL: created spell, version 1.4
diff --git a/audio-soft/pamixer/INSTALL b/audio-soft/pamixer/INSTALL
new file mode 100755
index 0000000..e72b41d
--- /dev/null
+++ b/audio-soft/pamixer/INSTALL
@@ -0,0 +1 @@
+make PREFIX="${INSTALL_ROOT}/usr" install
diff --git a/x11/polybar/DEPENDS b/x11/polybar/DEPENDS
index ad17b04..943e736 100755
--- a/x11/polybar/DEPENDS
+++ b/x11/polybar/DEPENDS
@@ -38,6 +38,11 @@ optional_depends alsa-lib \
"-DENABLE_ALSA=OFF" \
"for ALSA volume controls" &&
+optional_depends pulseaudio \
+ "-DENABLE_PULSEAUDIO=ON" \
+ "-DENABLE_PULSEAUDIO=OFF" \
+ "for PulseAudio volume controls" &&
+
optional_depends curl \
"-DENABLE_CURL=ON" \
"-DENABLE_CURL=OFF" \
diff --git a/x11/polybar/HISTORY b/x11/polybar/HISTORY
index 8bca64c..cb0937e 100644
--- a/x11/polybar/HISTORY
+++ b/x11/polybar/HISTORY
@@ -1,3 +1,6 @@
+2019-04-11 Vlad Glagolev <stealth AT sourcemage.org>
+ * DEPENDS: added pulseaudio optional dependency
+
2019-04-07 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 3.3.1
* CONFIGURE, BUILD: temporarily disabled buggy options
diff --git a/xfce/mousepad/BUILD b/xfce/mousepad/BUILD
new file mode 100755
index 0000000..b11f215
--- /dev/null
+++ b/xfce/mousepad/BUILD
@@ -0,0 +1,3 @@
+OPTS="${MOUSEPAD_OPTS} ${OPTS}" &&
+
+default_build
diff --git a/xfce/mousepad/CONFIGURE b/xfce/mousepad/CONFIGURE
new file mode 100755
index 0000000..07e4ddd
--- /dev/null
+++ b/xfce/mousepad/CONFIGURE
@@ -0,0 +1,3 @@
+config_query_option MOUSEPAD_OPTS "Use the GSettings keyfile backend rather
than the default?" n \
+ "--enable-keyfile-settings" \
+ "--disable-keyfile-settings"
diff --git a/xfce/mousepad/DEPENDS b/xfce/mousepad/DEPENDS
index 48bcf35..81f60a4 100755
--- a/xfce/mousepad/DEPENDS
+++ b/xfce/mousepad/DEPENDS
@@ -1,6 +1,16 @@
depends glib2 &&
-depends gtk+2 &&
-depends gtksourceview &&
+
+optional_depends gtk+3 \
+ "--enable-gtk3" \
+ "--disable-gtk3" \
+ "use GTK+ 3 instead of GTK+ 2" &&
+
+if is_depends_enabled ${SPELL} gtk+3; then
+ depends gtksourceview3
+else
+ depends gtk+2 &&
+ depends gtksourceview
+fi &&
optional_depends dbus-glib \
"--enable-dbus" \
diff --git a/xfce/mousepad/DETAILS b/xfce/mousepad/DETAILS
index 9d1d0c6..cd26d0b 100755
--- a/xfce/mousepad/DETAILS
+++ b/xfce/mousepad/DETAILS
@@ -1,11 +1,11 @@
SPELL=mousepad
- VERSION=0.3.0
+ VERSION=0.4.1
BRANCH=`echo $VERSION | cut -d . -f 1,2`
SOURCE=$SPELL-$VERSION.tar.bz2
-SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
SOURCE_URL[0]=http://archive.xfce.org/src/apps/$SPELL/$BRANCH/$SOURCE
+
SOURCE_HASH=sha512:2ffbb4245a3344437bd41f9f28cc066ae45062f6b6d169aa274e933f033c434f0b10845ccf42ab846dcad25ae7cee36ea6619bfb6889e8cd41c994be87b77be8
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
WEB_SITE=http://www.xfce.org/
-
SOURCE_HASH=sha512:4e8f7cd8f05265c7f3964f0f5196721136c501351aa8c7bae1e3a6056fcd61f40364f2bb226817d458afa3707334dd600efbae2f8d050d65841ef03085717e42
LICENSE[0]=GPL
ENTERED=20050128
KEYWORDS="xfce editors"
diff --git a/xfce/mousepad/HISTORY b/xfce/mousepad/HISTORY
index c71bde8..01c237f 100644
--- a/xfce/mousepad/HISTORY
+++ b/xfce/mousepad/HISTORY
@@ -1,3 +1,9 @@
+2019-04-11 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: updated spell to 0.4.1
+ * DEPENDS: updated
+ * CONFIGURE: added, for gsettings flags
+ * BUILD: added, to use MOUSEPAD_OPTS
+
2012-12-31 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 0.3.0
* DEPENDS: rewritten dependency list
- [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (34b042d0e73b24ce7f61a4358eb4a88f48750f98), Vlad Glagolev, 04/11/2019
Archive powered by MHonArc 2.6.24.