Skip to Content.
Sympa Menu

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

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 (79df35f5b108cfbbe1b337b5a92df26a7eaf3fc2)
  • Date: Sat, 11 Aug 2007 17:25:04 -0500

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

ChangeLog | 9 +++++++++
haskell/FUNCTIONS | 34 ++++++++++++++++++++++++++++++++++
haskell/haskell-mtl/DEPENDS | 1 +
haskell/haskell-mtl/DETAILS | 16 ++++++++++++++++
haskell/haskell-mtl/HISTORY | 2 ++
haskell/haskell-x11-extras/DEPENDS | 2 ++
haskell/haskell-x11-extras/DETAILS | 17 +++++++++++++++++
haskell/haskell-x11-extras/HISTORY | 2 ++
haskell/haskell-x11/DEPENDS | 2 ++
haskell/haskell-x11/DETAILS | 17 +++++++++++++++++
haskell/haskell-x11/HISTORY | 2 ++
windowmanagers/xmonad/BUILD | 2 ++
windowmanagers/xmonad/CONFIGURE | 5 +++++
windowmanagers/xmonad/DEPENDS | 4 ++++
windowmanagers/xmonad/DETAILS | 20 ++++++++++++++++++++
windowmanagers/xmonad/HISTORY | 3 +++
windowmanagers/xmonad/INSTALL | 1 +
windowmanagers/xmonad/PRE_BUILD | 11 +++++++++++
18 files changed, 150 insertions(+)

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

windowmanagers/xmonad: new spell, a lightweight X11 window manager

commit 9f139158bfab206100b76df20671035938fd6248
Author: Alexander Tsamutali <astsmtl AT gmail.com>
Commit: Alexander Tsamutali <astsmtl AT gmail.com>

haskell/haskell-x11-extras: new spell, missing Haskell bindings to
the X11 graphics library

commit cdd4ee99390d348c06131a823ec15cf64c5191d7
Author: Alexander Tsamutali <astsmtl AT gmail.com>
Commit: Alexander Tsamutali <astsmtl AT gmail.com>

haskell/haskell-x11: new spell, a binding to the X11 graphics library

commit f758c837c9e1f971a4bd7d047a0c385e6e6feca7
Author: Alexander Tsamutali <astsmtl AT gmail.com>
Commit: Alexander Tsamutali <astsmtl AT gmail.com>

haskell/haskell-mtl: new spell, monad transformer library

commit d6584b76a673d4f11154c8c60aef97a25524b839
Author: Alexander Tsamutali <astsmtl AT gmail.com>
Commit: Alexander Tsamutali <astsmtl AT gmail.com>

new section: haskell

diff --git a/ChangeLog b/ChangeLog
index 6f61f14..9894cf9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2007-08-12 Alexander Tsamutali <astsmtl AT gmail.com>
+ * new section: haskell
+ * haskell/FUNCTIONS: default_build, default_install for haskell spells
+ * haskell/haskell-mtl: new spell, monad transformer library
+ * haskell/haskell-x11: new spell, a binding to the X11 graphics
library
+ * haskell/haskell-x11-extras: new spell, missing Haskell bindings to
+ the X11 graphics library
+ * windowmanagers/xmonad: new spell, a lightweight X11 window manager
+
2007-08-11 Martin Spitzbarth <m.spitzbarth AT gmx.de>
* libs/iksemel: new spell
XML parser and Jabber protocol library, needed by the
diff --git a/haskell/FUNCTIONS b/haskell/FUNCTIONS
new file mode 100755
index 0000000..c53bce9
--- /dev/null
+++ b/haskell/FUNCTIONS
@@ -0,0 +1,34 @@
+#-------------------------------------------------------------------------
+## Setup file detection function.
+#-------------------------------------------------------------------------
+function detect_setup_file() {
+ if [ -r Setup.hs ] ; then
+ echo Setup.hs
+ elif [ -r Setup.lhs ] ; then
+ echo Setup.lhs
+ else
+ message "${PROBLEM_COLOR}Cannot detect setup file!${DEFAULT_COLOR}"
+ return 1
+ fi
+}
+
+#-------------------------------------------------------------------------
+## Section-default build script.
+#-------------------------------------------------------------------------
+function default_build() {
+ local setup_file
+
+ setup_file=$(detect_setup_file)
+ runhaskell $setup_file configure --prefix=${INSTALL_ROOT}/usr
+ runhaskell $setup_file build
+}
+
+#-------------------------------------------------------------------------
+## Section-default install script.
+#-------------------------------------------------------------------------
+function default_install() {
+ local setup_file
+
+ setup_file=$(detect_setup_file)
+ runhaskell $setup_file install
+}
diff --git a/haskell/haskell-mtl/DEPENDS b/haskell/haskell-mtl/DEPENDS
new file mode 100755
index 0000000..8eace53
--- /dev/null
+++ b/haskell/haskell-mtl/DEPENDS
@@ -0,0 +1 @@
+depends ghc
diff --git a/haskell/haskell-mtl/DETAILS b/haskell/haskell-mtl/DETAILS
new file mode 100755
index 0000000..f1cd252
--- /dev/null
+++ b/haskell/haskell-mtl/DETAILS
@@ -0,0 +1,16 @@
+ SPELL=haskell-mtl
+ VERSION=1.0
+ SOURCE="mtl-${VERSION}.tar.gz"
+
SOURCE_URL[0]=http://hackage.haskell.org/packages/archive/mtl/${VERSION}/${SOURCE}
+
SOURCE_HASH=sha512:ee4deeac05ac4650faca744da2103292ac1bd0c669aa4df78724b4ab0d5896fd0855fb55678fd644504dc99f7074e0d2ba31362a2cd5e09a31563ada1a1fb0a3
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/mtl-${VERSION}"
+
WEB_SITE="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/mtl";
+ LICENSE[0]=BSD3
+ ENTERED=20070812
+ SHORT="monad transformer library"
+cat << EOF
+A monad transformer library, inspired by the paper "Functional Programming
+with Overloading and Higher-Order Polymorphism", by Mark P Jones
+(http://www.cse.ogi.edu/~mpj/), Advanced School of Functional Programming,
+1995.
+EOF
diff --git a/haskell/haskell-mtl/HISTORY b/haskell/haskell-mtl/HISTORY
new file mode 100644
index 0000000..0aa49fe
--- /dev/null
+++ b/haskell/haskell-mtl/HISTORY
@@ -0,0 +1,2 @@
+2007-08-12 Alexander Tsamutali <astsmtl AT gmail.com>
+ * DETAILS, DEPENDS, HISTORY: created spell
diff --git a/haskell/haskell-x11-extras/DEPENDS
b/haskell/haskell-x11-extras/DEPENDS
new file mode 100755
index 0000000..438f798
--- /dev/null
+++ b/haskell/haskell-x11-extras/DEPENDS
@@ -0,0 +1,2 @@
+depends ghc &&
+depends haskell-x11
diff --git a/haskell/haskell-x11-extras/DETAILS
b/haskell/haskell-x11-extras/DETAILS
new file mode 100755
index 0000000..e4381fa
--- /dev/null
+++ b/haskell/haskell-x11-extras/DETAILS
@@ -0,0 +1,17 @@
+ SPELL=haskell-x11-extras
+ VERSION=0.2
+ SOURCE="X11-extras-${VERSION}.tar.gz"
+
SOURCE_URL[0]=http://hackage.haskell.org/packages/archive/X11-extras/${VERSION}/${SOURCE}
+
SOURCE_HASH=sha512:51aa73b9821687e57c2ed03abbc5b4c6760e765af54aa95ae79f63529405300a5653451dc2dc125040db603abed44967cd1764114b011475bf788450d69e11ea
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/X11-extras-${VERSION}"
+
WEB_SITE="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/X11-extras";
+ LICENSE[0]=BSD3
+ ENTERED=20070812
+ SHORT="missing Haskell bindings to the X11 graphics library"
+cat << EOF
+Missing bindings to the X11 graphics library.
+
+The binding is a direct translation of the C binding; for documentation of
+these calls, refer to "The Xlib Programming Manual", available online at
+<http://tronche.com/gui/x/xlib/>.
+EOF
diff --git a/haskell/haskell-x11-extras/HISTORY
b/haskell/haskell-x11-extras/HISTORY
new file mode 100644
index 0000000..0aa49fe
--- /dev/null
+++ b/haskell/haskell-x11-extras/HISTORY
@@ -0,0 +1,2 @@
+2007-08-12 Alexander Tsamutali <astsmtl AT gmail.com>
+ * DETAILS, DEPENDS, HISTORY: created spell
diff --git a/haskell/haskell-x11/DEPENDS b/haskell/haskell-x11/DEPENDS
new file mode 100755
index 0000000..2e46c5f
--- /dev/null
+++ b/haskell/haskell-x11/DEPENDS
@@ -0,0 +1,2 @@
+depends ghc &&
+depends X11-LIBS
diff --git a/haskell/haskell-x11/DETAILS b/haskell/haskell-x11/DETAILS
new file mode 100755
index 0000000..b2e1295
--- /dev/null
+++ b/haskell/haskell-x11/DETAILS
@@ -0,0 +1,17 @@
+ SPELL=haskell-x11
+ VERSION=1.2.2
+ SOURCE="X11-${VERSION}.tar.gz"
+
SOURCE_URL[0]=http://hackage.haskell.org/packages/archive/X11/${VERSION}/${SOURCE}
+
SOURCE_HASH=sha512:19390535a08672326133196380b51c704c4534f18de5a2befdbb7d0aae2ab33f75ca1d49c466dc0beb23e833d86757800de7c86aa64c505ad6243c5d66e23d13
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/X11-${VERSION}"
+
WEB_SITE="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/X11";
+ LICENSE[0]=BSD3
+ ENTERED=20070812
+ SHORT="a binding to the X11 graphics library"
+cat << EOF
+A Haskell binding to the X11 graphics library.
+
+The binding is a direct translation of the C binding; for documentation of
+these calls, refer to "The Xlib Programming Manual", available online at
+http://tronche.com/gui/x/xlib/
+EOF
diff --git a/haskell/haskell-x11/HISTORY b/haskell/haskell-x11/HISTORY
new file mode 100644
index 0000000..0aa49fe
--- /dev/null
+++ b/haskell/haskell-x11/HISTORY
@@ -0,0 +1,2 @@
+2007-08-12 Alexander Tsamutali <astsmtl AT gmail.com>
+ * DETAILS, DEPENDS, HISTORY: created spell
diff --git a/windowmanagers/xmonad/BUILD b/windowmanagers/xmonad/BUILD
new file mode 100755
index 0000000..de96a0c
--- /dev/null
+++ b/windowmanagers/xmonad/BUILD
@@ -0,0 +1,2 @@
+runhaskell Setup.lhs configure --prefix=${INSTALL_ROOT}/usr &&
+runhaskell Setup.lhs build
diff --git a/windowmanagers/xmonad/CONFIGURE b/windowmanagers/xmonad/CONFIGURE
new file mode 100755
index 0000000..287f190
--- /dev/null
+++ b/windowmanagers/xmonad/CONFIGURE
@@ -0,0 +1,5 @@
+config_query MY_CONFIG "Do you want to supply your own Config.hs?" y
+if [ "$MY_CONFIG" == "y" ] ; then
+ config_query_string MY_CONFIG_PATH "Please enter path to your Config.hs"
~/xmonad/Config.hs
+fi
+config_query EDIT_CONFIG "Do you want to edit Config.hs?" y
diff --git a/windowmanagers/xmonad/DEPENDS b/windowmanagers/xmonad/DEPENDS
new file mode 100755
index 0000000..8aa37e3
--- /dev/null
+++ b/windowmanagers/xmonad/DEPENDS
@@ -0,0 +1,4 @@
+depends ghc &&
+depends haskell-x11 &&
+depends haskell-x11-extras &&
+depends haskell-mtl
diff --git a/windowmanagers/xmonad/DETAILS b/windowmanagers/xmonad/DETAILS
new file mode 100755
index 0000000..015cfbd
--- /dev/null
+++ b/windowmanagers/xmonad/DETAILS
@@ -0,0 +1,20 @@
+ SPELL=xmonad
+ VERSION=0.2
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+
SOURCE_URL[0]=http://hackage.haskell.org/packages/archive/${SPELL}/${VERSION}/${SOURCE}
+
SOURCE_HASH=sha512:ea2b9907160d93bd01b30d5397c2d0c780148646381898a3b1a7875b512348b660ebd7b71d1c5095d3cacb5ad1505c806fff0872d15deebe2b6a90c82d1848a8
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE="http://xmonad.org";
+ LICENSE[0]=BSD3
+ ENTERED=20070812
+ SHORT="a lightweight X11 window manager"
+cat << EOF
+Xmonad is a minimalist tiling window manager for X, written in Haskell.
Windows
+are managed using automatic layout algorithms, which can be dynamically
+reconfigured. At any time windows are arranged so as to maximise the use of
+screen real estate. All features of the window manager are accessible purely
+from the keyboard: a mouse is entirely optional. Xmonad is configured in
+Haskell, and custom layout algorithms may be implemented by the user in
+config files. A principle of Xmonad is predictability: the user should know
+in advance precisely the window arrangement that will result from any action.
+EOF
diff --git a/windowmanagers/xmonad/HISTORY b/windowmanagers/xmonad/HISTORY
new file mode 100644
index 0000000..7af8550
--- /dev/null
+++ b/windowmanagers/xmonad/HISTORY
@@ -0,0 +1,3 @@
+2007-08-12 Alexander Tsamutali <astsmtl AT gmail.com>
+ * DETAILS, DEPENDS, CONFIGURE, PRE_BUILD, BUILD, INSTALL, HISTORY:
+ created spell
diff --git a/windowmanagers/xmonad/INSTALL b/windowmanagers/xmonad/INSTALL
new file mode 100755
index 0000000..0d81129
--- /dev/null
+++ b/windowmanagers/xmonad/INSTALL
@@ -0,0 +1 @@
+runhaskell Setup.lhs install
diff --git a/windowmanagers/xmonad/PRE_BUILD b/windowmanagers/xmonad/PRE_BUILD
new file mode 100755
index 0000000..a3d6f8c
--- /dev/null
+++ b/windowmanagers/xmonad/PRE_BUILD
@@ -0,0 +1,11 @@
+default_pre_build &&
+
+CONFIG=${SOURCE_DIRECTORY}/Config.hs
+
+if [ "$MY_CONFIG" == "y" ] ; then
+ cp -v $MY_CONFIG_PATH $CONFIG
+fi &&
+
+if [ "$EDIT_CONFIG" == "y" ] ; then
+ $EDITOR $CONFIG
+fi



  • [SM-Commit] GIT changes to master grimoire by Alexander Tsamutali (79df35f5b108cfbbe1b337b5a92df26a7eaf3fc2), Alexander Tsamutali, 08/11/2007

Archive powered by MHonArc 2.6.24.

Top of Page