Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (b3856db66f03d83059e35ab774f14e045d481bee)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • 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 (b3856db66f03d83059e35ab774f14e045d481bee)
  • Date: Tue, 5 Sep 2023 05:51:17 +0000

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

ChangeLog | 5 +++++
graphics/nsxiv/BUILD | 1 +
graphics/nsxiv/CONFIGURE | 3 +++
graphics/nsxiv/CONFLICTS | 1 +
graphics/nsxiv/DEPENDS | 27 +++++++++++++++++++++++++++
graphics/nsxiv/DETAILS | 27 +++++++++++++++++++++++++++
graphics/nsxiv/FINAL | 5 +++++
graphics/nsxiv/HISTORY | 3 +++
graphics/nsxiv/INSTALL | 1 +
graphics/nsxiv/POST_REMOVE | 7 +++++++
graphics/nsxiv/POST_RESURRECT | 7 +++++++
graphics/sxiv/BUILD | 2 +-
graphics/sxiv/DETAILS | 9 ++++++---
graphics/sxiv/HISTORY | 3 +++
graphics/sxiv/INSTALL | 10 +---------
graphics/sxiv/PRE_BUILD | 1 +
graphics/sxiv/UP_TRIGGERS | 2 ++
17 files changed, 101 insertions(+), 13 deletions(-)

New commits:
commit b3856db66f03d83059e35ab774f14e045d481bee
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

nsxiv: new spell, Neo (or New or Not) Simple (or Small or Suckless) X
Image Viewe

commit 83fb4178b7f9d91dc0800ca126dbcb9012a3ac65
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

sxiv: spell deprecated

diff --git a/ChangeLog b/ChangeLog
index a0fa70a..4a3a4de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-09-04 Vlad Glagolev <stealth AT sourcemage.org>
+ * graphics/sxiv: spell deprecated
+ * graphics/nsxiv: new spell, Neo (or New or Not) Simple (or Small or
+ Suckless) X Image Viewer
+
2023-09-04 Pavel Vinogradov <public AT sorcemage.org>
* libs/fast_float: new spell, a fast and exact implementation of the
C++
from_chars functions for float and double types
diff --git a/graphics/nsxiv/BUILD b/graphics/nsxiv/BUILD
new file mode 100755
index 0000000..e9f13aa
--- /dev/null
+++ b/graphics/nsxiv/BUILD
@@ -0,0 +1 @@
+make CC=cc ${OPTS} ${NSXIV_OPTS} PREFIX="${INSTALL_ROOT}/usr"
diff --git a/graphics/nsxiv/CONFIGURE b/graphics/nsxiv/CONFIGURE
new file mode 100755
index 0000000..1815ad2
--- /dev/null
+++ b/graphics/nsxiv/CONFIGURE
@@ -0,0 +1,3 @@
+config_query_option NSXIV_OPTS "Enable autoreload support?" y \
+ "HAVE_INOTIFY=1" \
+ "HAVE_INOTIFY=0"
diff --git a/graphics/nsxiv/CONFLICTS b/graphics/nsxiv/CONFLICTS
new file mode 100755
index 0000000..a7ad4f3
--- /dev/null
+++ b/graphics/nsxiv/CONFLICTS
@@ -0,0 +1 @@
+conflicts sxiv y
diff --git a/graphics/nsxiv/DEPENDS b/graphics/nsxiv/DEPENDS
new file mode 100755
index 0000000..781d4ee
--- /dev/null
+++ b/graphics/nsxiv/DEPENDS
@@ -0,0 +1,27 @@
+depends libx11 &&
+depends imlib2 &&
+
+optional_depends libxft \
+ "HAVE_LIBFONTS=1" \
+ "HAVE_LIBFONTS=0" \
+ "for status bar support" &&
+
+if is_depends_enabled ${SPELL} libxft; then
+ depends fontconfig &&
+ depends freetype2
+fi &&
+
+optional_depends GIFLIB \
+ "HAVE_GIFLIB=1" \
+ "HAVE_GIFLIB=0" \
+ "for GIF animations support" &&
+
+optional_depends libwebp \
+ "HAVE_LIBWEBP=1" \
+ "HAVE_LIBWEBP=0" \
+ "for webp animations support" &&
+
+optional_depends libexif \
+ "HAVE_LIBEXIF=1" \
+ "HAVE_LIBEXIF=0" \
+ "for JPEG auto-orientation and EXIF thumbnails support"
diff --git a/graphics/nsxiv/DETAILS b/graphics/nsxiv/DETAILS
new file mode 100755
index 0000000..032ce30
--- /dev/null
+++ b/graphics/nsxiv/DETAILS
@@ -0,0 +1,27 @@
+ SPELL=nsxiv
+ VERSION=31
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+
SOURCE_URL[0]=https://codeberg.org/${SPELL}/${SPELL}/archive/v${VERSION}.tar.gz
+
SOURCE_HASH=sha512:64139d3a0c74a96eb01f21689a5d9af64012dd02d85ab6984eb4881218eb095f05134bbd91da5ff6fe8246782121a90f6b3524f5a51296de0dfbe852f600cfaa
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}"
+ WEB_SITE=https://nsxiv.codeberg.page
+ LICENSE[0]=GPL
+ ENTERED=20230904
+ SHORT="Neo (or New or Not) Simple (or Small or Suckless) X Image
Viewer"
+cat << EOF
+nsxiv is a fork of the now-unmaintained sxiv with the purpose of being a
+(mostly) drop-in replacement for sxiv, maintaining its interface and adding
+simple, sensible features. nsxiv is free software licensed under GPLv2 and
aims
+to be easy to modify and customize.
+
+Features:
+o Basic image operations like zooming, panning, rotating
+o Basic support for animated/multi-frame images
+o Thumbnail mode: grid of selectable previews of all images
+o Ability to cache thumbnails for fast re-loading
+o Automatically refreshing modified images
+o Customizable keyboard and mouse mappings via config.h
+o Scriptability via key-handler
+o Displaying image information in status bar via image-info & thumb-info
+o Customizable window title via win-title
+EOF
diff --git a/graphics/nsxiv/FINAL b/graphics/nsxiv/FINAL
new file mode 100755
index 0000000..2b7a47d
--- /dev/null
+++ b/graphics/nsxiv/FINAL
@@ -0,0 +1,5 @@
+update_desktop_database &&
+
+if [ -x "${INSTALL_ROOT}/usr/bin/gtk-update-icon-cache" ]; then
+ gtk-update-icon-cache -q -t -f "${INSTALL_ROOT}/usr/share/icons/hicolor"
+fi
diff --git a/graphics/nsxiv/HISTORY b/graphics/nsxiv/HISTORY
new file mode 100644
index 0000000..52a7288
--- /dev/null
+++ b/graphics/nsxiv/HISTORY
@@ -0,0 +1,3 @@
+2023-09-03 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, {PRE_,}BUILD, INSTALL, FINAL,
POST_RE{MOVE,SURRECT},
+ CONFLICTS: created spell, version 31
diff --git a/graphics/nsxiv/INSTALL b/graphics/nsxiv/INSTALL
new file mode 100755
index 0000000..35a736e
--- /dev/null
+++ b/graphics/nsxiv/INSTALL
@@ -0,0 +1 @@
+make CC=cc ${OPTS} ${NSXIV_OPTS} PREFIX="${INSTALL_ROOT}/usr" install-all
diff --git a/graphics/nsxiv/POST_REMOVE b/graphics/nsxiv/POST_REMOVE
new file mode 100755
index 0000000..6e4a9b7
--- /dev/null
+++ b/graphics/nsxiv/POST_REMOVE
@@ -0,0 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS" &&
+
+update_desktop_database &&
+
+if [ -x "${INSTALL_ROOT}/usr/bin/gtk-update-icon-cache" ]; then
+ gtk-update-icon-cache -q -t -f "${INSTALL_ROOT}/usr/share/icons/hicolor"
+fi
diff --git a/graphics/nsxiv/POST_RESURRECT b/graphics/nsxiv/POST_RESURRECT
new file mode 100755
index 0000000..6e4a9b7
--- /dev/null
+++ b/graphics/nsxiv/POST_RESURRECT
@@ -0,0 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS" &&
+
+update_desktop_database &&
+
+if [ -x "${INSTALL_ROOT}/usr/bin/gtk-update-icon-cache" ]; then
+ gtk-update-icon-cache -q -t -f "${INSTALL_ROOT}/usr/share/icons/hicolor"
+fi
diff --git a/graphics/sxiv/BUILD b/graphics/sxiv/BUILD
index c044324..27ba77d 100755
--- a/graphics/sxiv/BUILD
+++ b/graphics/sxiv/BUILD
@@ -1 +1 @@
-make ${OPTS} ${SXIV_OPTS} PREFIX="${INSTALL_ROOT}/usr"
+true
diff --git a/graphics/sxiv/DETAILS b/graphics/sxiv/DETAILS
index 9904859..b39afac 100755
--- a/graphics/sxiv/DETAILS
+++ b/graphics/sxiv/DETAILS
@@ -1,8 +1,11 @@
SPELL=sxiv
VERSION=26
- SOURCE=${SPELL}-${VERSION}.tar.gz
-
SOURCE_URL[0]=https://github.com/muennich/${SPELL}/archive/v${VERSION}/${SOURCE}
-
SOURCE_HASH=sha512:c4bd56ea14e520ea9b116e275009f2089e5c434d6894281215b09d07572b2d3190c3c3eca015a2933328d704afb7d443a66e858b4e6904a3d4d45378b35d22cb
+ PATCHLEVEL=1
+# SOURCE=${SPELL}-${VERSION}.tar.gz
+#
SOURCE_URL[0]=https://github.com/muennich/${SPELL}/archive/v${VERSION}/${SOURCE}
+#
SOURCE_HASH=sha512:c4bd56ea14e520ea9b116e275009f2089e5c434d6894281215b09d07572b2d3190c3c3eca015a2933328d704afb7d443a66e858b4e6904a3d4d45378b35d22cb
+ ARCHIVE=off
+ GATHER_DOCS=off
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
WEB_SITE=https://github.com/muennich/sxiv
LICENSE[0]=GPL
diff --git a/graphics/sxiv/HISTORY b/graphics/sxiv/HISTORY
index ad5137d..3d16116 100644
--- a/graphics/sxiv/HISTORY
+++ b/graphics/sxiv/HISTORY
@@ -1,3 +1,6 @@
+2023-09-04 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, BUILD, INSTALL: spell deprecated in favor of nsxiv
+
2020-04-02 Vlad Glagolev <stealth AT sourcemage.org>
* CONFIGURE: dropped font configuration, not supported anymore
* PRE_BUILD: removed
diff --git a/graphics/sxiv/INSTALL b/graphics/sxiv/INSTALL
index 667b26b..27ba77d 100755
--- a/graphics/sxiv/INSTALL
+++ b/graphics/sxiv/INSTALL
@@ -1,9 +1 @@
-for md in . icon; do
- make -C "$md" ${OPTS} PREFIX="${INSTALL_ROOT}/usr" install
-done &&
-
-if [ ! -d "${INSTALL_ROOT}/usr/share/applications" ]; then
- install -d -vm 755 "${INSTALL_ROOT}/usr/share/applications"
-fi &&
-
-install -vm 644 sxiv.desktop "${INSTALL_ROOT}/usr/share/applications/"
+true
diff --git a/graphics/sxiv/PRE_BUILD b/graphics/sxiv/PRE_BUILD
new file mode 100755
index 0000000..27ba77d
--- /dev/null
+++ b/graphics/sxiv/PRE_BUILD
@@ -0,0 +1 @@
+true
diff --git a/graphics/sxiv/UP_TRIGGERS b/graphics/sxiv/UP_TRIGGERS
new file mode 100755
index 0000000..8e04b60
--- /dev/null
+++ b/graphics/sxiv/UP_TRIGGERS
@@ -0,0 +1,2 @@
+up_trigger sxiv dispel_self
+up_trigger nsxiv cast_self



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (b3856db66f03d83059e35ab774f14e045d481bee), Vlad Glagolev, 09/05/2023

Archive powered by MHonArc 2.6.24.

Top of Page