Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Conner Clere (4ace0d7a11d1444f47c99731cfd06aead5955863)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Conner Clere <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Conner Clere (4ace0d7a11d1444f47c99731cfd06aead5955863)
  • Date: Wed, 1 Mar 2023 06:04:25 +0000

GIT changes to master grimoire by Conner Clere <xenanthropy AT sourcemage.org>:

ChangeLog | 1 +
utils/slurp/CONFIGURE | 1 +
utils/slurp/DEPENDS | 11 +++++++++++
utils/slurp/DETAILS | 26 ++++++++++++++++++++++++++
utils/slurp/HISTORY | 3 +++
5 files changed, 42 insertions(+)

New commits:
commit 4ace0d7a11d1444f47c99731cfd06aead5955863
Author: Conner Clere <xenanthropy AT sourcemage.org>
Commit: Conner Clere <xenanthropy AT sourcemage.org>

slurp: new spell, wayland region selection tool

diff --git a/ChangeLog b/ChangeLog
index 1145900..0981785 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
2023-02-28 Conner Clere <xenanthropy AT sourcemage.org>
* utils/grim: new spell, wayland screenshot utility
+ * utils/slurp: new spell, wayland region selection tool

2023-02-27 Conner Clere <xenanthropy AT sourcemage.org>
* libs/libappindicator: new spell, menu exporting library
diff --git a/utils/slurp/CONFIGURE b/utils/slurp/CONFIGURE
new file mode 100755
index 0000000..9f48d22
--- /dev/null
+++ b/utils/slurp/CONFIGURE
@@ -0,0 +1 @@
+. "${GRIMOIRE}/MESON_CONFIGURE"
diff --git a/utils/slurp/DEPENDS b/utils/slurp/DEPENDS
new file mode 100755
index 0000000..957dcb3
--- /dev/null
+++ b/utils/slurp/DEPENDS
@@ -0,0 +1,11 @@
+. "${GRIMOIRE}/MESON_DEPENDS" &&
+depends PKG-CONFIG &&
+depends wayland &&
+depends wayland-protocols &&
+depends cairo &&
+depends libxkbcommon &&
+
+optional_depends scdoc \
+ 'man-pages=enabled' \
+ 'man-pages=disabled' \
+ 'Generate and install man-pages?'
diff --git a/utils/slurp/DETAILS b/utils/slurp/DETAILS
new file mode 100755
index 0000000..c3b6df2
--- /dev/null
+++ b/utils/slurp/DETAILS
@@ -0,0 +1,26 @@
+. "${GRIMOIRE}/MESON_FUNCTIONS"
+ SPELL=slurp
+ VERSION=1.4.0
+ SOURCE=$SPELL-$VERSION.tar.gz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
+ SOURCE_URL[0]=https://github.com/emersion/slurp/archive/v${VERSION}.tar.gz
+
SOURCE_HASH=sha256:a332bd40168eb73361ea811eae01d6d1210f9eadb0a486e2dd7a03efb81a3772
+ LICENSE[0]=MIT
+ WEB_SITE=https://wayland.emersion.fr/slurp/
+ ENTERED=20230228
+ KEYWORDS="wayland"
+ SHORT="wayland region selector"
+cat << EOF
+slurp is a command-line utility to select a region from Wayland compositors
+which support the layer-shell protocol. It lets the user hold the pointer
+to select, or click to cancel the selection.
+
+If the standard input is not a TTY or the -r option is used, slurp will read
+a list of predefined rectangles for quick selection. Each line must be in the
+form "<x>,<y> <width>x<height> [label]". The label is optional and can be any
+string that doesn't contain newlines. It can be accessed using the "%l"
sequence
+in a format string.
+
+If the Esc key is pressed, selection is cancelled. If the Space key is held,
+the selection is moved instead of being resized.
+EOF
diff --git a/utils/slurp/HISTORY b/utils/slurp/HISTORY
new file mode 100644
index 0000000..6164a4a
--- /dev/null
+++ b/utils/slurp/HISTORY
@@ -0,0 +1,3 @@
+2023-02-28 Conner Clere <xenanthropy AT sourcemage.org>
+ * DETAILS, CONFIGURE, DEPENDS: version 1.4.0, new spell
+



  • [SM-Commit] GIT changes to master grimoire by Conner Clere (4ace0d7a11d1444f47c99731cfd06aead5955863), Conner Clere, 03/01/2023

Archive powered by MHonArc 2.6.24.

Top of Page