Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Florian Franzmann (c66821d5ab2adeec6860ff40327b3491f38b28a6)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Florian Franzmann <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Florian Franzmann (c66821d5ab2adeec6860ff40327b3491f38b28a6)
  • Date: Sun, 20 Mar 2016 16:16:03 +0000

GIT changes to master grimoire by Florian Franzmann
<siflfran AT hawo.stw.uni-erlangen.de>:

ChangeLog | 4 ++
utils/duc/0001-do-not-include-ncursesw-ncurses.h.patch | 25
++++++++++++++++
utils/duc/BUILD | 11 +++++++
utils/duc/DEPENDS | 12 +++++++
utils/duc/DETAILS | 26
+++++++++++++++++
utils/duc/HISTORY | 4 ++
utils/duc/PRE_BUILD | 6 +++
7 files changed, 88 insertions(+)

New commits:
commit c66821d5ab2adeec6860ff40327b3491f38b28a6
Author: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>

utils/duc: new spell, a collection of tools for indexing, inspecting and
visualizing disk usage

diff --git a/ChangeLog b/ChangeLog
index d914c42..bf1e6fd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-03-20 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * utils/duc: new spell, a collection of tools for indexing,
inspecting and
+ visualizing disk usage
+
2016-03-19 Thomas Orgis <sobukus AT sourcemage.org>
* FUNCTIONS: fix function names (dependee -> depender)

diff --git a/utils/duc/0001-do-not-include-ncursesw-ncurses.h.patch
b/utils/duc/0001-do-not-include-ncursesw-ncurses.h.patch
new file mode 100644
index 0000000..471f104
--- /dev/null
+++ b/utils/duc/0001-do-not-include-ncursesw-ncurses.h.patch
@@ -0,0 +1,25 @@
+From d1b8cb81f53ea37d10d0b553330be4187c1bd39c Mon Sep 17 00:00:00 2001
+From: Florian Franzmann <siflfran AT hawo.net>
+Date: Sun, 20 Mar 2016 16:01:57 +0100
+Subject: [PATCH] do not include ncursesw/ncurses.h
+
+---
+ src/duc/cmd-ui.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/duc/cmd-ui.c b/src/duc/cmd-ui.c
+index fa34ad9..c729a93 100644
+--- a/src/duc/cmd-ui.c
++++ b/src/duc/cmd-ui.c
+@@ -27,7 +27,7 @@
+ #endif
+ #endif
+ #ifdef HAVE_LIBNCURSESW
+-#include <ncursesw/ncurses.h>
++#include <ncurses.h>
+ #endif
+
+ enum {
+--
+2.7.4
+
diff --git a/utils/duc/BUILD b/utils/duc/BUILD
new file mode 100755
index 0000000..8649e69
--- /dev/null
+++ b/utils/duc/BUILD
@@ -0,0 +1,11 @@
+if is_depends_enabled $SPELL cairo; then
+ CFLAGS="-lX11 $CFLAGS" &&
+ CXXFLAGS="-lX11 $CXXFLAGS"
+fi &&
+if is_depends_enabled $SPELL $(get_spell_provider $SPELL OPENGL); then
+ CFLAGS="-lGL $CFLAGS" &&
+ CXXFLAGS="-lGL $CXXFLAGS"
+fi &&
+LDFLAGS="-pthread $LDFLAGS" \
+ CFLAGS="-pthread $CFLAGS" \
+ CXXFLAGS="-pthread $CXXFLAGS" default_build
diff --git a/utils/duc/DEPENDS b/utils/duc/DEPENDS
new file mode 100755
index 0000000..238668d
--- /dev/null
+++ b/utils/duc/DEPENDS
@@ -0,0 +1,12 @@
+depends sqlite "--with-db-backend=sqlite3" &&
+optional_depends cairo \
+ "--enable-cairo" \
+ "--disable-cairo" \
+ "for a graphical user interface" &&
+if is_depends_enabled $SPELL cairo; then
+ depends libx11 "--enable-x11 --disable-opengl"
+fi &&
+optional_depends ncurses \
+ "--enable-ui" \
+ "--disable-ui" \
+ "for an ncurses based user interface"
diff --git a/utils/duc/DETAILS b/utils/duc/DETAILS
new file mode 100755
index 0000000..4b8ca2b
--- /dev/null
+++ b/utils/duc/DETAILS
@@ -0,0 +1,26 @@
+ SPELL=duc
+ VERSION=1.4.1
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+ SOURCE_URL[0]=https://github.com/zevv/${SPELL}/archive/${VERSION}.tar.gz
+
SOURCE_HASH=sha512:33771a53139fffede375c25f664ee799a2800d36199c1f8d5c1e4ba451a22704aa5799f70739ed512d6aa2fd9ccc582f58027b5d59ee46deed82aa20bc342ace
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE="http://duc.zevv.nl/";
+ LICENSE[0]=GPL
+ ENTERED=20160320
+ SHORT="a collection of tools for indexing, inspecting and
visualizing disk usage"
+cat << EOF
+Duc is a collection of tools for indexing, inspecting and visualizing disk
+usage. Duc maintains a database of accumulated sizes of directories of
+the file system, and allows you to query this database with some tools,
+or create fancy graphs showing you where your bytes are.
+
+Duc is built to scale to huge filesystems: it will index and display hundreds
+of millions of files on petabytes of storage without problems.
+
+Duc stores the disk usage in a optimized database, resulting in a fast user
+interface. No wait times once the index is complete.
+
+Duc comes with a number of user interfaces for quering the database: use
+Duc on the console with a command line or ncurses interface, on graphical
+desktops with an X or OpenGL GUI, or over the web using the CGI interface.
+EOF
diff --git a/utils/duc/HISTORY b/utils/duc/HISTORY
new file mode 100644
index 0000000..ca85d46
--- /dev/null
+++ b/utils/duc/HISTORY
@@ -0,0 +1,4 @@
+2016-03-20 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * BUILD, DEPENDS, DETAILS, PRE_BUILD,
+ 0001-do-not-include-ncursesw-ncurses.h.patch: spell created
+
diff --git a/utils/duc/PRE_BUILD b/utils/duc/PRE_BUILD
new file mode 100755
index 0000000..b2c6a8e
--- /dev/null
+++ b/utils/duc/PRE_BUILD
@@ -0,0 +1,6 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+patch -p1 < "$SPELL_DIRECTORY/0001-do-not-include-ncursesw-ncurses.h.patch"
&&
+
+autoreconf -fi



  • [SM-Commit] GIT changes to master grimoire by Florian Franzmann (c66821d5ab2adeec6860ff40327b3491f38b28a6), Florian Franzmann, 03/20/2016

Archive powered by MHonArc 2.6.24.

Top of Page