[SM-Commit] GIT changes to master grimoire by Arjan Bouter (3e0f0dc88c716d79ce14a69e3c66d252a519a675)

Arjan Bouter scm at sourcemage.org
Tue Jun 7 09:53:59 EDT 2011


GIT changes to master grimoire by Arjan Bouter <abouter at sourcemage.org>:

 ChangeLog                 |    5 +++++
 libs/yajl/BUILD           |    1 +
 libs/yajl/DEPENDS         |    2 ++
 libs/yajl/DETAILS         |   14 ++++++++++++++
 libs/yajl/DOWNLOAD        |    5 +++++
 libs/yajl/HISTORY         |    3 +++
 windowmanagers/i3/BUILD   |    1 +
 windowmanagers/i3/DEPENDS |    8 ++++++++
 windowmanagers/i3/DETAILS |   13 +++++++++++++
 windowmanagers/i3/HISTORY |    3 +++
 windowmanagers/i3/INSTALL |    2 ++
 windowmanagers/i3/starti3 |   22 ++++++++++++++++++++++
 wm-addons/i3lock/BUILD    |    5 +++++
 wm-addons/i3lock/DEPENDS  |    4 ++++
 wm-addons/i3lock/DETAILS  |   24 ++++++++++++++++++++++++
 wm-addons/i3lock/HISTORY  |    3 +++
 16 files changed, 115 insertions(+)

New commits:
commit 3e0f0dc88c716d79ce14a69e3c66d252a519a675
Author: Arjan Bouter <abouter at sourcemage.org>
Commit: Arjan Bouter <abouter at sourcemage.org>

    yajl: new spell, yet another json lib

commit 58d8e25238e8916cce9f12d6824b494c8b80e30d
Author: Arjan Bouter <abouter at sourcemage.org>
Commit: Arjan Bouter <abouter at sourcemage.org>

    i3lock: new spell, improved screen locker

commit d16139d95889823e0b250bf107ac8d6b2f635689
Author: Arjan Bouter <abouter at sourcemage.org>
Commit: Arjan Bouter <abouter at sourcemage.org>

    i3: new spell, tiling windowmanager

diff --git a/ChangeLog b/ChangeLog
index 46a8624..5eef170 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-06-07 Arjan Bouter <abouter at sourcemage.org>
+	* windowmanagers/i3: new spell, tiling windowmanager
+	* wm-addons: i3lock: new spell, improved screen locker
+	* libs/yajl: new spell, yet another json lib
+
 2011-06-04 Treeve Jelbert <treeve at sourcemage.org>
 	* python-pypi/sqlalchemy-migrate: new spell, tool to migrate sqlalchemy versions
 
diff --git a/libs/yajl/BUILD b/libs/yajl/BUILD
new file mode 100755
index 0000000..e013b8d
--- /dev/null
+++ b/libs/yajl/BUILD
@@ -0,0 +1 @@
+cmake_build
diff --git a/libs/yajl/DEPENDS b/libs/yajl/DEPENDS
new file mode 100755
index 0000000..9ab0cd6
--- /dev/null
+++ b/libs/yajl/DEPENDS
@@ -0,0 +1,2 @@
+depends  cmake  &&
+optional_depends  doxygen  ''  ''  'to generate documentation'
diff --git a/libs/yajl/DETAILS b/libs/yajl/DETAILS
new file mode 100755
index 0000000..7e7e01a
--- /dev/null
+++ b/libs/yajl/DETAILS
@@ -0,0 +1,14 @@
+           SPELL=yajl
+         VERSION=1.0.9
+          SOURCE="${SPELL}-${VERSION}.tar.gz"
+   SOURCE_URL[0]=https://github.com/downloads/lloyd/${SPELL}/${SOURCE}
+     SOURCE_HASH=sha512:7d62dc111000709d47e0593f3dcf43a87610fe8d03540b2c105503e363d15b9f73fc9d4cc7f85622f7da9e2283522183d92f013c74a61aa7fcdd869fa87b2b0e
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+        WEB_SITE="https://github.com/lloyd/yajl"
+      LICENSE[0]=BSD/ISC
+         ENTERED=20110607
+           SHORT="Yet Another JSON Library"
+cat << EOF
+Yet Another JSON Library A Portable JSON parsing and serialization library
+in ANSI C
+EOF
diff --git a/libs/yajl/DOWNLOAD b/libs/yajl/DOWNLOAD
new file mode 100755
index 0000000..8db0a71
--- /dev/null
+++ b/libs/yajl/DOWNLOAD
@@ -0,0 +1,5 @@
+if [[ ! -e "${SOURCE_CACHE}/${SOURCE}" ]]; then
+  wget -c --no-check-certificate -O ${SOURCE} ${SOURCE_URL}  &&
+  mv ${SOURCE} ${SOURCE_CACHE}/
+fi
+
diff --git a/libs/yajl/HISTORY b/libs/yajl/HISTORY
new file mode 100644
index 0000000..f728c99
--- /dev/null
+++ b/libs/yajl/HISTORY
@@ -0,0 +1,3 @@
+2011-06-07 Arjan Bouter <abouter at sourcemage.org>
+	* BUILD, DETAILS, DEPENDS, DOWNLOAD: spell created
+
diff --git a/windowmanagers/i3/BUILD b/windowmanagers/i3/BUILD
new file mode 100755
index 0000000..4919bc7
--- /dev/null
+++ b/windowmanagers/i3/BUILD
@@ -0,0 +1 @@
+make DESTDIR="${INSTALL_ROOT}" PREFIX=/usr
diff --git a/windowmanagers/i3/DEPENDS b/windowmanagers/i3/DEPENDS
new file mode 100755
index 0000000..074dfcd
--- /dev/null
+++ b/windowmanagers/i3/DEPENDS
@@ -0,0 +1,8 @@
+depends  xcb-util  &&
+depends  libev  &&
+depends  yajl  &&
+optional_depends  asciidoc  ''  ''  'for the hacking-howto'  &&
+optional_depends  xmlto  ''  ''  'for the manpage'  &&
+optional_depends  xmessage  ''  ''  'for the welcome message'  &&
+suggest_depends  i3lock  ''  ''  'for a screen locker'  &&
+suggest_depends  dmenu  ''  ''  'for an application launcher'
diff --git a/windowmanagers/i3/DETAILS b/windowmanagers/i3/DETAILS
new file mode 100755
index 0000000..0a550af
--- /dev/null
+++ b/windowmanagers/i3/DETAILS
@@ -0,0 +1,13 @@
+           SPELL=i3
+         VERSION=3.e-bf3
+          SOURCE="${SPELL}-${VERSION}.tar.bz2"
+   SOURCE_URL[0]=http://${SPELL}wm.org/downloads/${SOURCE}
+     SOURCE_HASH=sha512:a044c508aa01deb48a0471b7c9135b7e53f33a4c18d11d9fe812ab34b2387a4158024bacc7a41a9518d2717ef06f1eb986aa28ad0f52653a7264f15e9e7181e4
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+        WEB_SITE="http://i3wm.org/"
+      LICENSE[0]=BSD
+         ENTERED=20110607
+           SHORT="improved tiling wm"
+cat << EOF
+i3 is a tiling windowmanager inspired by wmii.
+EOF
diff --git a/windowmanagers/i3/HISTORY b/windowmanagers/i3/HISTORY
new file mode 100644
index 0000000..dbabdfc
--- /dev/null
+++ b/windowmanagers/i3/HISTORY
@@ -0,0 +1,3 @@
+2011-06-07 Arjan Bouter <abouter at sourcemage.org>
+	* BUILD, DEPENDS, DETAILS, INSTALL, starti3: spell created
+
diff --git a/windowmanagers/i3/INSTALL b/windowmanagers/i3/INSTALL
new file mode 100755
index 0000000..02d47d7
--- /dev/null
+++ b/windowmanagers/i3/INSTALL
@@ -0,0 +1,2 @@
+default_install &&
+cp "${SCRIPT_DIRECTORY}/starti3" "${INSTALL_ROOT}/usr/bin/"
diff --git a/windowmanagers/i3/starti3 b/windowmanagers/i3/starti3
new file mode 100755
index 0000000..8558da2
--- /dev/null
+++ b/windowmanagers/i3/starti3
@@ -0,0 +1,22 @@
+#!/bin/sh
+#
+#  starti3
+#
+#  Copyright (C) 2011 Arjan Bouter <abouter at sourcemage.org>
+#
+#  This program is free software; you can redistribute it and/or modify
+#  it under the terms of the GNU General Public License as published by
+#  the Free Software Foundation; either version 2 of the License, or
+#  (at your option) any later version.
+#
+#  This program is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#  GNU General Public License for more details.
+#
+#  You should have received a copy of the GNU General Public License
+#  along with this program; if not, write to the Free Software
+#  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
+
+exec  i3
diff --git a/wm-addons/i3lock/BUILD b/wm-addons/i3lock/BUILD
new file mode 100755
index 0000000..7e59e30
--- /dev/null
+++ b/wm-addons/i3lock/BUILD
@@ -0,0 +1,5 @@
+if ( is_depends_enabled $SPELL cairo ); then
+  make
+else
+  make NOLIBCAIRO=y
+fi
diff --git a/wm-addons/i3lock/DEPENDS b/wm-addons/i3lock/DEPENDS
new file mode 100755
index 0000000..a7d3089
--- /dev/null
+++ b/wm-addons/i3lock/DEPENDS
@@ -0,0 +1,4 @@
+depends  linux-pam  &&
+depends  xcb-util  &&
+depends  pkgconfig  &&
+optional_depends  cairo  ''  ''  'for image support'
diff --git a/wm-addons/i3lock/DETAILS b/wm-addons/i3lock/DETAILS
new file mode 100755
index 0000000..40358d1
--- /dev/null
+++ b/wm-addons/i3lock/DETAILS
@@ -0,0 +1,24 @@
+           SPELL=i3lock
+         VERSION=2.1
+          SOURCE="${SPELL}-${VERSION}.tar.gz"
+   SOURCE_URL[0]=http://i3wm.org/${SPELL}/${SOURCE}
+     SOURCE_HASH=sha512:3ca94ba2eb0b320655593c729b2baaf1d8cb1d642a683d5861d333494f83d4fba8dce4c6b1b0db3702d2c491d9e34765548861f0195252a59d9bdcecf1e57b28
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+        WEB_SITE="http://i3wm.org/i3lock/"
+      LICENSE[0]=BSD
+         ENTERED=20110607
+           SHORT="improved screen locker"
+cat << EOF
+i3lock is a simple screen locker like slock.  After starting it, you will
+see a white screen (you can configure the color/an image).  You can return
+to your screen by entering your password.
+
+Improvements * i3lock forks, so you can combine it with an alias to suspend
+to RAM (run
+  "i3lock && echo mem > /sys/power/state" to get a locked screen after waking
+  up your computer from suspend to RAM)
+* You can specify either a background color or a PNG image which will be
+displayed while your screen is locked.  * You can specify whether i3lock
+should bell upon a wrong password.  * i3lock uses PAM and therefore is
+compatible with LDAP etc.
+EOF
diff --git a/wm-addons/i3lock/HISTORY b/wm-addons/i3lock/HISTORY
new file mode 100644
index 0000000..a2520b4
--- /dev/null
+++ b/wm-addons/i3lock/HISTORY
@@ -0,0 +1,3 @@
+2011-06-07 Arjan Bouter <abouter at sourcemage.org>
+	* BUILD, DEPENDS, DETAILS: spell created
+


More information about the SM-Commit mailing list