Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Pol Vinogradov (d89c1980f8d9c83b6371f187c18436d13b8c5cd7)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pol Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Pol Vinogradov (d89c1980f8d9c83b6371f187c18436d13b8c5cd7)
  • Date: Mon, 11 Aug 2014 20:10:18 -0500

GIT changes to master grimoire by Pol Vinogradov <vin.public AT gmail.com>:

ChangeLog | 3 +++
disk/whdd/BUILD | 1 +
disk/whdd/DEPENDS | 9 +++++++++
disk/whdd/DETAILS | 16 ++++++++++++++++
disk/whdd/HISTORY | 2 ++
disk/whdd/PREPARE | 2 ++
utils/dialog/BUILD | 2 +-
utils/dialog/CONFIGURE | 2 ++
utils/dialog/HISTORY | 4 ++++
utils/dialog/INSTALL | 6 +++++-
utils/dialog/PRE_SUB_DEPENDS | 5 +++++
utils/dialog/REPAIR^all^PRE_SUB_DEPENDS | 5 +++++
utils/dialog/SUB_DEPENDS | 5 +++++
13 files changed, 60 insertions(+), 2 deletions(-)

New commits:
commit d89c1980f8d9c83b6371f187c18436d13b8c5cd7
Author: Pol Vinogradov <vin.public AT gmail.com>
Commit: Pol Vinogradov <vin.public AT gmail.com>

disk/whdd: new spell, a HDD diagnostic and recovery tool for Linux

commit f4ec354201aaf8995acc79cbc3fef8a52dca0b10
Author: Pol Vinogradov <vin.public AT gmail.com>
Commit: Pol Vinogradov <vin.public AT gmail.com>

utils/dialog: added option for shared library

diff --git a/ChangeLog b/ChangeLog
index a30eec9..4be764b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2014-08-11 Pol Vinogradov <vin.public AT gmail.com>
+ * disk/whdd: new spell, a HDD diagnostic and recovery tool for Linux
+
2014-08-06 Ladislav Hagara <hgr AT vabo.cz>
* audio-players/qmmp-plugin-pack: new spell, extra plugins for qmmp

diff --git a/disk/whdd/BUILD b/disk/whdd/BUILD
new file mode 100755
index 0000000..e013b8d
--- /dev/null
+++ b/disk/whdd/BUILD
@@ -0,0 +1 @@
+cmake_build
diff --git a/disk/whdd/DEPENDS b/disk/whdd/DEPENDS
new file mode 100755
index 0000000..52c9637
--- /dev/null
+++ b/disk/whdd/DEPENDS
@@ -0,0 +1,9 @@
+depends -sub CXX gcc &&
+depends -sub SHARED dialog &&
+depends ncurses &&
+depends git &&
+depends cmake &&
+optional_depends smartmontools \
+ "" \
+ "" \
+ "to display S.M.A.R.T. information"
diff --git a/disk/whdd/DETAILS b/disk/whdd/DETAILS
new file mode 100755
index 0000000..4120452
--- /dev/null
+++ b/disk/whdd/DETAILS
@@ -0,0 +1,16 @@
+. "$GRIMOIRE/FUNCTIONS"
+ SPELL=whdd
+ VERSION=$(get_scm_version)
+ SOURCE=$SPELL-git.tar.bz2
+ SOURCE_URL[0]=git://github.com/krieger-od/whdd:whdd-git
+ FORCE_DOWNLOAD=on
+ SOURCE_IGNORE=volatile
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-git
+ WEB_SITE=http://whdd.org
+ ENTERED=20140811
+ LICENSE[0]=GPL
+ KEYWORDS="disk"
+ SHORT="WHDD is HDD diagnostic and recovery tool for Linux"
+cat << EOF
+A HDD diagnostic and recovery tool for Linux
+EOF
diff --git a/disk/whdd/HISTORY b/disk/whdd/HISTORY
new file mode 100644
index 0000000..6aa9016
--- /dev/null
+++ b/disk/whdd/HISTORY
@@ -0,0 +1,2 @@
+2014-08-11 Pol Vinogradov <vin.public AT gmail.com>
+ * BUILD, DETAILS, DEPENDS, PREPARE: created spell
diff --git a/disk/whdd/PREPARE b/disk/whdd/PREPARE
new file mode 100755
index 0000000..a68f274
--- /dev/null
+++ b/disk/whdd/PREPARE
@@ -0,0 +1,2 @@
+. ${GRIMOIRE}/FUNCTIONS &&
+prepare_select_branch scm
diff --git a/utils/dialog/BUILD b/utils/dialog/BUILD
index 225da64..fd85f8e 100755
--- a/utils/dialog/BUILD
+++ b/utils/dialog/BUILD
@@ -1,4 +1,4 @@
-OPTS="$OPTS --build=${BUILD}" &&
+OPTS="$DIALOG_SO $OPTS --build=${BUILD}" &&
[[ $CROSS_INSTALL == on ]] && OPTS="$OPTS --host=${HOST}"

./configure --prefix="$TRACK_ROOT/usr" \
diff --git a/utils/dialog/CONFIGURE b/utils/dialog/CONFIGURE
new file mode 100755
index 0000000..6b400ea
--- /dev/null
+++ b/utils/dialog/CONFIGURE
@@ -0,0 +1,2 @@
+config_query_option DIALOG_SO "Install shared library and headers?" n \
+ "--with-shared" ""
diff --git a/utils/dialog/HISTORY b/utils/dialog/HISTORY
index d2b23bc..956747e 100644
--- a/utils/dialog/HISTORY
+++ b/utils/dialog/HISTORY
@@ -1,3 +1,7 @@
+2014-08-11 Pol Vinogradov <vin.public AT gmail.com>
+ * BUILD, CONFIGURE, *SUB_DEPENDS, INSTALL: added option to build
+ shared library
+
2013-09-10 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 1.2-20130902

diff --git a/utils/dialog/INSTALL b/utils/dialog/INSTALL
index 2e4bd1e..a78aad9 100755
--- a/utils/dialog/INSTALL
+++ b/utils/dialog/INSTALL
@@ -1 +1,5 @@
-make install DESTDIR="$INSTALL_ROOT"
+make install DESTDIR="$INSTALL_ROOT" &&
+
+if [[ $DIALOG_SO == "--with-shared" ]]; then
+ cp dialog.h dlg_config.h $INSTALL_ROOT/usr/include
+fi
diff --git a/utils/dialog/PRE_SUB_DEPENDS b/utils/dialog/PRE_SUB_DEPENDS
new file mode 100755
index 0000000..8b15146
--- /dev/null
+++ b/utils/dialog/PRE_SUB_DEPENDS
@@ -0,0 +1,5 @@
+case $THIS_SUB_DEPENDS in
+ SHARED) if [[ $DIALOG_SO != "--with-shared" ]]; then return 1; fi ;;
+ *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL
$THIS_SUB_DEPENDS${DEFAULT_COLOR}" ;
+ return 1;;
+esac
diff --git a/utils/dialog/REPAIR^all^PRE_SUB_DEPENDS
b/utils/dialog/REPAIR^all^PRE_SUB_DEPENDS
new file mode 100755
index 0000000..8b15146
--- /dev/null
+++ b/utils/dialog/REPAIR^all^PRE_SUB_DEPENDS
@@ -0,0 +1,5 @@
+case $THIS_SUB_DEPENDS in
+ SHARED) if [[ $DIALOG_SO != "--with-shared" ]]; then return 1; fi ;;
+ *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL
$THIS_SUB_DEPENDS${DEFAULT_COLOR}" ;
+ return 1;;
+esac
diff --git a/utils/dialog/SUB_DEPENDS b/utils/dialog/SUB_DEPENDS
new file mode 100755
index 0000000..da60b93
--- /dev/null
+++ b/utils/dialog/SUB_DEPENDS
@@ -0,0 +1,5 @@
+case $THIS_SUB_DEPENDS in
+ SHARED) message "Shared library requested, forcing it" &&
DIALOG_SO="--with-shared" ;;
+ *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL
$THIS_SUB_DEPENDS${DEFAULT_COLOR}" ;
+ return 1;;
+esac



  • [SM-Commit] GIT changes to master grimoire by Pol Vinogradov (d89c1980f8d9c83b6371f187c18436d13b8c5cd7), Pol Vinogradov, 08/11/2014

Archive powered by MHonArc 2.6.24.

Top of Page