Skip to Content.
Sympa Menu

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

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 (1b4a421ea501d874ac7b8c7af10d0b69deef8b61)
  • Date: Mon, 26 Dec 2016 23:04:04 +0000

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

ChangeLog | 3 +++
graphics/sxiv/BUILD | 1 +
graphics/sxiv/DEPENDS | 12 ++++++++++++
graphics/sxiv/DETAILS | 26 ++++++++++++++++++++++++++
graphics/sxiv/HISTORY | 2 ++
graphics/sxiv/INSTALL | 1 +
graphics/sxiv/PRE_BUILD | 4 ++++
graphics/sxiv/dep-opt.patch | 19 +++++++++++++++++++
8 files changed, 68 insertions(+)

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

sxiv: new spell, simple X image viewer

diff --git a/ChangeLog b/ChangeLog
index 40438f1..fa2467d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2016-12-26 Vlad Glagolev <stealth AT sourcemage.org>
+ * graphics/sxiv: new spell, simple X image viewer
+
2016-12-25 Treeve Jelbert <treeve AT sourcemage.org>
* crypto/polarssl: spell deprecated [replaced by mbedtls]

diff --git a/graphics/sxiv/BUILD b/graphics/sxiv/BUILD
new file mode 100755
index 0000000..e013570
--- /dev/null
+++ b/graphics/sxiv/BUILD
@@ -0,0 +1 @@
+make ${OPTS} PREFIX="${INSTALL_ROOT}/usr"
diff --git a/graphics/sxiv/DEPENDS b/graphics/sxiv/DEPENDS
new file mode 100755
index 0000000..724a21e
--- /dev/null
+++ b/graphics/sxiv/DEPENDS
@@ -0,0 +1,12 @@
+depends libx11 &&
+depends imlib2 &&
+
+optional_depends GIFLIB \
+ "WITH_GIFLIB=1" \
+ "WITH_GIFLIB=0" \
+ "for GIF animations support" &&
+
+optional_depends libexif \
+ "WITH_LIBEXIF=1" \
+ "WITH_LIBEXIF=0" \
+ "for JPEG auto-orientation and EXIF thumbnails support"
diff --git a/graphics/sxiv/DETAILS b/graphics/sxiv/DETAILS
new file mode 100755
index 0000000..179aba6
--- /dev/null
+++ b/graphics/sxiv/DETAILS
@@ -0,0 +1,26 @@
+ SPELL=sxiv
+ VERSION=1.3.2
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+
SOURCE_URL[0]=https://github.com/muennich/${SPELL}/archive/v${VERSION}/${SOURCE}
+
SOURCE_HASH=sha512:3bcf67a778a3e40cb6ae6b6fcc685cd57e303265df34c8a56d6ebb8ad0237e7136e738c44fee5c5504c73e4722d017f1e746691fac482568b2a960931f1ecdd5
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE=https://github.com/muennich/sxiv
+ LICENSE[0]=GPL
+ ENTERED=20161226
+ SHORT="simple X image viewer"
+cat << EOF
+The primary goal of sxiv is to create an image viewer, which only has the
most
+basic features required for fast image viewing. It has vi key bindings and
works
+nicely with tiling window managers. Its code base should be kept small and
clean
+to make it easy for you to dig into it and customize it for your needs.
+
+Features:
+
+* Basic image operations, e.g. zooming, panning, rotating
+* Customizable key and mouse button mappings (in config.h)
+* Thumbnail mode: grid of selectable previews of all images
+* Ability to cache thumbnails for fast re-loading
+* Basic support for multi-frame images
+* Load all frames from GIF files and play GIF animations
+* Display image information in status bar
+EOF
diff --git a/graphics/sxiv/HISTORY b/graphics/sxiv/HISTORY
new file mode 100644
index 0000000..693c0ee
--- /dev/null
+++ b/graphics/sxiv/HISTORY
@@ -0,0 +1,2 @@
+2016-12-26 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, {PRE_,}BUILD, INSTALL: created spell, version
1.3.2
diff --git a/graphics/sxiv/INSTALL b/graphics/sxiv/INSTALL
new file mode 100755
index 0000000..9645165
--- /dev/null
+++ b/graphics/sxiv/INSTALL
@@ -0,0 +1 @@
+make ${OPTS} PREFIX="${INSTALL_ROOT}/usr" install
diff --git a/graphics/sxiv/PRE_BUILD b/graphics/sxiv/PRE_BUILD
new file mode 100755
index 0000000..de4f0ce
--- /dev/null
+++ b/graphics/sxiv/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+patch -p0 < "${SPELL_DIRECTORY}/dep-opt.patch"
diff --git a/graphics/sxiv/dep-opt.patch b/graphics/sxiv/dep-opt.patch
new file mode 100644
index 0000000..4cb7602
--- /dev/null
+++ b/graphics/sxiv/dep-opt.patch
@@ -0,0 +1,19 @@
+--- Makefile.orig 2015-12-20 07:21:25.000000000 -0500
++++ Makefile 2016-12-26 17:24:03.031882664 -0500
+@@ -11,12 +11,15 @@
+
+ # optional dependencies:
+ # giflib: gif animations
++ifeq ($(WITH_GIFLIB), 1)
+ CPPFLAGS += -DHAVE_GIFLIB
+ LIBS += -lgif
++endif
+ # libexif: jpeg auto-orientation, exif thumbnails
++ifeq ($(WITH_LIBEXIF), 1)
+ CPPFLAGS += -DHAVE_LIBEXIF
+ LIBS += -lexif
+-
++endif
+
+ .PHONY: clean install uninstall
+



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (1b4a421ea501d874ac7b8c7af10d0b69deef8b61), Vlad Glagolev, 12/26/2016

Archive powered by MHonArc 2.6.24.

Top of Page