Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ismael Luceno (70c12fe66df7ab0d1be65a7348fabcef043dac69)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • 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 (70c12fe66df7ab0d1be65a7348fabcef043dac69)
  • Date: Fri, 6 Nov 2020 23:44:09 +0000

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

ChangeLog | 4 ++++
utils/gammastep/DEPENDS | 44 ++++++++++++++++++++++++++++++++++++++++++++
utils/gammastep/DETAILS | 17 +++++++++++++++++
utils/gammastep/HISTORY | 3 +++
utils/gammastep/PRE_BUILD | 4 ++++
utils/redshift/DEPENDS | 17 ++++++++---------
utils/redshift/DETAILS | 2 +-
utils/redshift/HISTORY | 5 +++++
utils/redshift/INSTALL | 6 ------
9 files changed, 86 insertions(+), 16 deletions(-)

New commits:
commit 70c12fe66df7ab0d1be65a7348fabcef043dac69
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

redshift: Add geoclue optional dep

commit c0436ff6ba7f29016d876d054733d9a59e7a64e6
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

redshift: Add redshift.conf.sample to DOCS

commit 795196998565d70472b4b2bcca1fb4dbd2ca9da6
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

gammastep: new spell, Adjust the color temperature of your screen

diff --git a/ChangeLog b/ChangeLog
index 48c33ef..9e423d3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2020-11-06 Ismael Luceno <ismael AT sourcemage.org>
+ * utils/gammastep: new spell, Adjust the color temperature of your
+ screen
+
2020-11-04 Treeve Jelbert <treeve AT sourcemage.org>
* kde5-apps/plasma-systemmonitor: system monitor

diff --git a/utils/gammastep/DEPENDS b/utils/gammastep/DEPENDS
new file mode 100755
index 0000000..125a725
--- /dev/null
+++ b/utils/gammastep/DEPENDS
@@ -0,0 +1,44 @@
+depends autoconf &&
+depends automake &&
+depends intltool &&
+
+optional_depends libdrm \
+ "--enable-drm" \
+ "--disable-drm" \
+ "for DRM method support" &&
+
+optional_depends libxcb \
+ "--enable-randr" \
+ "--disable-randr" \
+ "for RANDR method support" &&
+
+optional_depends libxxf86vm \
+ "--enable-vidmode" \
+ "--disable-vidmode" \
+ "for VidMode method (deprecated) support" &&
+if is_depends_enabled "$SPELL" libxxf86vm; then
+ depends libx11
+fi &&
+
+optional_depends geoclue \
+ "--enable-geoclue2" \
+ "--disable-geoclue2" \
+ "for Geoclue2 location provider support" &&
+if is_depends_enabled $SPELL geoclue; then
+ depends glib2
+fi &&
+
+optional_depends python3 \
+ "--enable-gui" \
+ "--disable-gui" \
+ "for GUI status icon" &&
+
+if is_depends_enabled $SPELL python3; then
+ depends pygobject3 &&
+ suggest_depends pyxdg "" "" "for optional autostart support in GUI"
+fi &&
+
+optional_depends GETTEXT \
+ "--enable-nls" \
+ "--disable-nls" \
+ "to use Native Language Support"
diff --git a/utils/gammastep/DETAILS b/utils/gammastep/DETAILS
new file mode 100755
index 0000000..2f4d732
--- /dev/null
+++ b/utils/gammastep/DETAILS
@@ -0,0 +1,17 @@
+ SPELL=gammastep
+ VERSION=2.0.2
+ SOURCE="$SPELL-v$VERSION.tar.bz2"
+
SOURCE_URL[0]=https://gitlab.com/chinstrap/$SPELL/-/archive/v$VERSION/$SOURCE
+
SOURCE_HASH=sha512:80403a76f6ee0ed71e17c17495fe4b2ccc25332d14775db1789285d964987511d82c9e7e7bd42e2ce1a656296976d7c8c1147c27997941911657aa23b21f368e
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-v$VERSION"
+ WEB_SITE="https://gitlab.com/chinstrap/gammastep/";
+ LICENSE[0]="GPL-3.0-or-later"
+ ENTERED=20201106
+ KEYWORDS=""
+ SHORT="Adjust the color temperature of your screen"
+ DOCS="gammastep.conf.sample DESIGN CONTRIBUTING.md ${DOCS}"
+cat << EOF
+Adjust the color temperature of your screen according to your
+surroundings. This may help your eyes hurt less if you are working in front
+of the screen at night.
+EOF
diff --git a/utils/gammastep/HISTORY b/utils/gammastep/HISTORY
new file mode 100644
index 0000000..4619c5a
--- /dev/null
+++ b/utils/gammastep/HISTORY
@@ -0,0 +1,3 @@
+2020-11-06 Ismael Luceno <ismael AT sourcemage.org>
+ * DEPENDS, DETAILS, PRE_BUILD: spell created,
+ based on the redshift spell
diff --git a/utils/gammastep/PRE_BUILD b/utils/gammastep/PRE_BUILD
new file mode 100755
index 0000000..ab1cf67
--- /dev/null
+++ b/utils/gammastep/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+./bootstrap
diff --git a/utils/redshift/DEPENDS b/utils/redshift/DEPENDS
index 79ed2fc..879111d 100755
--- a/utils/redshift/DEPENDS
+++ b/utils/redshift/DEPENDS
@@ -21,15 +21,14 @@ if is_depends_enabled ${SPELL} libxxf86vm; then
depends libx11
fi &&

-# TODO: add geoclue2 spell
-#optional_depends geoclue2 \
-# "--enable-geoclue2" \
-# "--disable-geoclue2" \
-# "for Geoclue2 location provider support" &&
-#
-#if is_depends_enabled ${SPELL} geoclue2; then
-# depends glib2
-#fi &&
+optional_depends geoclue \
+ "--enable-geoclue2" \
+ "--disable-geoclue2" \
+ "for Geoclue2 location provider support" &&
+
+if is_depends_enabled $SPELL geoclue; then
+ depends glib2
+fi &&

optional_depends python3 \
"--enable-gui" \
diff --git a/utils/redshift/DETAILS b/utils/redshift/DETAILS
index 9f9c9c8..9811c1a 100755
--- a/utils/redshift/DETAILS
+++ b/utils/redshift/DETAILS
@@ -4,7 +4,7 @@
SOURCE_URL[0]=https://github.com/jonls/${SPELL}/archive/v${VERSION}.tar.gz

SOURCE_HASH=sha512:6763f6964b577fc146191af1c67a283a60df5bbdd3a74bfc94f66d5f9f3bef8835a479c6ec8a648b650b83a0e245928884a0f628606ace8c3f58d8319d35036f
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
- DOCS="DESIGN CONTRIBUTING.md ${DOCS}"
+ DOCS="redshift.conf.sample DESIGN CONTRIBUTING.md ${DOCS}"
WEB_SITE="http://jonls.dk/redshift/";
LICENSE[0]=GPL
ENTERED=20180403
diff --git a/utils/redshift/HISTORY b/utils/redshift/HISTORY
index ce0b233..21d2b70 100644
--- a/utils/redshift/HISTORY
+++ b/utils/redshift/HISTORY
@@ -1,3 +1,8 @@
+2020-11-06 Ismael Luceno <ismael AT sourcemage.org>
+ * INSTALL: removed, no longer needed
+ * DETAILS: added redshift.conf.sample to DOCS
+ * DEPENDS: enabled geoclue dependency
+
2019-05-18 Ismael Luceno <ismael AT sourcemage.org>
* DEPENDS: Update dependency; s/gettext/GETTEXT/

diff --git a/utils/redshift/INSTALL b/utils/redshift/INSTALL
deleted file mode 100755
index 1a5cce9..0000000
--- a/utils/redshift/INSTALL
+++ /dev/null
@@ -1,6 +0,0 @@
-default_install &&
-
-local EXAMPLE_DIR="${INSTALL_ROOT}/usr/share/${SPELL}/examples" &&
-
-install -vm 755 -d "${EXAMPLE_DIR}" &&
-install -vm 644 redshift.conf.sample "${EXAMPLE_DIR}"



  • [SM-Commit] GIT changes to master grimoire by Ismael Luceno (70c12fe66df7ab0d1be65a7348fabcef043dac69), Ismael Luceno, 11/06/2020

Archive powered by MHonArc 2.6.24.

Top of Page