Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Alexander Tsamutali (010772dfee90e9f1c27dfca3d33f5a5904559987)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Alexander Tsamutali <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Alexander Tsamutali (010772dfee90e9f1c27dfca3d33f5a5904559987)
  • Date: Tue, 11 Dec 2007 22:59:00 -0600

GIT changes to master grimoire by Alexander Tsamutali <astsmtl AT gmail.com>:

ChangeLog | 3 +++
wm-addons/xmonad-contrib/BUILD | 2 ++
wm-addons/xmonad-contrib/DEPENDS | 4 ++++
wm-addons/xmonad-contrib/DETAILS | 16 ++++++++++++++++
wm-addons/xmonad-contrib/HISTORY | 3 +++
wm-addons/xmonad-contrib/INSTALL | 4 ++++
wm-addons/xmonad-contrib/POST_REMOVE | 2 ++
wm-addons/xmonad-contrib/POST_RESURRECT | 14 ++++++++++++++
wm-addons/xmonad-contrib/PRE_RESURRECT | 7 +++++++
9 files changed, 55 insertions(+)

New commits:
commit 010772dfee90e9f1c27dfca3d33f5a5904559987
Author: Alexander Tsamutali <astsmtl AT gmail.com>
Commit: Alexander Tsamutali <astsmtl AT gmail.com>

wm-addons/xmonad-contrib: new spell, third party extensions for xmonad

diff --git a/ChangeLog b/ChangeLog
index 8043e69..8fe4953 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2007-12-12 Alexander Tsamutali <astsmtl AT gmail.com>
+ * wm-addons/xmonad-contrib: new spell, third party extensions for
xmonad
+
2007-12-11 Treeve Jelbert <treeve AT sourcemage.org>
* kde4/kphotoalbum4: new spell, for kde4
* kde4/kgraphviewer4: new spell for kde4
diff --git a/wm-addons/xmonad-contrib/BUILD b/wm-addons/xmonad-contrib/BUILD
new file mode 100755
index 0000000..de96a0c
--- /dev/null
+++ b/wm-addons/xmonad-contrib/BUILD
@@ -0,0 +1,2 @@
+runhaskell Setup.lhs configure --prefix=${INSTALL_ROOT}/usr &&
+runhaskell Setup.lhs build
diff --git a/wm-addons/xmonad-contrib/DEPENDS
b/wm-addons/xmonad-contrib/DEPENDS
new file mode 100755
index 0000000..96c60fc
--- /dev/null
+++ b/wm-addons/xmonad-contrib/DEPENDS
@@ -0,0 +1,4 @@
+depends ghc &&
+depends haskell-x11 &&
+depends haskell-mtl &&
+depends xmonad
diff --git a/wm-addons/xmonad-contrib/DETAILS
b/wm-addons/xmonad-contrib/DETAILS
new file mode 100755
index 0000000..11f3aa9
--- /dev/null
+++ b/wm-addons/xmonad-contrib/DETAILS
@@ -0,0 +1,16 @@
+ SPELL=xmonad-contrib
+ VERSION=0.5
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+
SOURCE_URL[0]=http://hackage.haskell.org/packages/archive/${SPELL}/${VERSION}/${SOURCE}
+
SOURCE_HASH=sha512:d194fcf8ec40f514cd9cc88680a2537d12f7f5f8171fcc77c3ac112b4bbfecf85c470bb735ae9a2df45efdcc0692dc4dd4230601c8024a2cc59e9b30531b9188
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE="http://xmonad.org";
+ LICENSE[0]=BSD3
+ ENTERED=20071212
+ SHORT="third party extensions for xmonad"
+cat << EOF
+A huge library of extensions to xmonad is available. These scripts provide
new
+layout algorithms, key bindings, window tabbing, emulation of other window
+managers and more. A stable version of the extension library is available
with
+each xmonad release.
+EOF
diff --git a/wm-addons/xmonad-contrib/HISTORY
b/wm-addons/xmonad-contrib/HISTORY
new file mode 100644
index 0000000..66079d8
--- /dev/null
+++ b/wm-addons/xmonad-contrib/HISTORY
@@ -0,0 +1,3 @@
+2007-12-12 Alexander Tsamutali <astsmtl AT gmail.com>
+ * DETAILS, DEPENDS, BUILD, INSTALL, POST_REMOVE, PRE_RESURRECT,
+ POST_RESURRECT, HISTORY: created this spell
diff --git a/wm-addons/xmonad-contrib/INSTALL
b/wm-addons/xmonad-contrib/INSTALL
new file mode 100755
index 0000000..b288692
--- /dev/null
+++ b/wm-addons/xmonad-contrib/INSTALL
@@ -0,0 +1,4 @@
+runhaskell Setup.lhs install &&
+SHARE_DIR=${INSTALL_ROOT}/usr/share/${SPELL} &&
+mkdir -vp $SHARE_DIR &&
+cp -v xmonad-contrib.cabal $SHARE_DIR
diff --git a/wm-addons/xmonad-contrib/POST_REMOVE
b/wm-addons/xmonad-contrib/POST_REMOVE
new file mode 100755
index 0000000..a4709be
--- /dev/null
+++ b/wm-addons/xmonad-contrib/POST_REMOVE
@@ -0,0 +1,2 @@
+message "${MESSAGE_COLOR}Unregistering package with
ghc-pkg...${DEFAULT_COLOR}"
+ghc-pkg unregister xmonad-contrib
diff --git a/wm-addons/xmonad-contrib/POST_RESURRECT
b/wm-addons/xmonad-contrib/POST_RESURRECT
new file mode 100755
index 0000000..b4befb1
--- /dev/null
+++ b/wm-addons/xmonad-contrib/POST_RESURRECT
@@ -0,0 +1,14 @@
+# We need to restore package.conf and package.conf.old after resurrection.
+# Also we need to register package with ghc-pkg.
+
+message "${MESSAGE_COLOR}Restoring package.conf and
package.conf.old...${DEFAULT_COLOR}"
+GHC_VERSION=$(ghc --version | tr -d ' ,[:alpha:]')
+GHC_DIR=${INSTALL_ROOT}/usr/lib/ghc-${GHC_VERSION}
+mv -v ${GHC_DIR}/package.conf.bak ${GHC_DIR}/package.conf
+mv -v ${GHC_DIR}/package.conf.old.bak ${GHC_DIR}/package.conf.old
+
+message "${MESSAGE_COLOR}Registering package with ghc-pkg...${DEFAULT_COLOR}"
+CABAL_FILE=${INSTALL_ROOT}/usr/share/xmonad/xmonad-contrib.cabal
+ghc-pkg register --force-files $CABAL_FILE
+message "${MESSAGE_COLOR}Exposing package with ghc-pkg...${DEFAULT_COLOR}"
+ghc-pkg expose xmonad-contrib
diff --git a/wm-addons/xmonad-contrib/PRE_RESURRECT
b/wm-addons/xmonad-contrib/PRE_RESURRECT
new file mode 100755
index 0000000..96595c8
--- /dev/null
+++ b/wm-addons/xmonad-contrib/PRE_RESURRECT
@@ -0,0 +1,7 @@
+# We need to backup package.conf and package.conf.old before resurrection
+
+message "${MESSAGE_COLOR}Backuping package.conf and
package.conf.old...${DEFAULT_COLOR}"
+GHC_VERSION=$(ghc --version | tr -d ' ,[:alpha:]')
+GHC_DIR=${INSTALL_ROOT}/usr/lib/ghc-${GHC_VERSION}
+cp -v ${GHC_DIR}/package.conf ${GHC_DIR}/package.conf.bak
+cp -v ${GHC_DIR}/package.conf.old ${GHC_DIR}/package.conf.old.bak



  • [SM-Commit] GIT changes to master grimoire by Alexander Tsamutali (010772dfee90e9f1c27dfca3d33f5a5904559987), Alexander Tsamutali, 12/11/2007

Archive powered by MHonArc 2.6.24.

Top of Page