sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Quentin Rameau (bf9b780ade2679a18a652078c2a1b8d4c6620729)
- From: Quentin Rameau <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Quentin Rameau (bf9b780ade2679a18a652078c2a1b8d4c6620729)
- Date: Mon, 27 Jul 2009 08:34:33 -0500
GIT changes to master grimoire by Quentin Rameau <quinq AT sourcemage.org>:
http/surf/BUILD | 1
http/surf/DEPENDS | 3 ++
http/surf/DETAILS | 22 +++++++++++++++++++++
http/surf/DOWNLOAD | 45
++++++++++++++++++++++++++++++++++++++++++++
http/surf/HISTORY | 3 ++
http/surf/PREPARE | 1
http/surf/PRE_BUILD | 3 ++
python-pypi/chardet/DEPENDS | 1
python-pypi/chardet/DETAILS | 14 +++++++++++++
python-pypi/chardet/HISTORY | 2 +
spelling/pyenchant/BUILD | 1
spelling/pyenchant/DEPENDS | 3 ++
spelling/pyenchant/DETAILS | 17 ++++++++++++++++
spelling/pyenchant/HISTORY | 2 +
spelling/pyenchant/INSTALL | 1
video/gaupol/BUILD | 1
video/gaupol/CONFIGURE | 5 ++++
video/gaupol/DEPENDS | 13 ++++++++++++
video/gaupol/DETAILS | 16 +++++++++++++++
video/gaupol/FINAL | 1
video/gaupol/HISTORY | 3 ++
video/gaupol/INSTALL | 1
22 files changed, 159 insertions(+)
New commits:
commit 2f8413ee6c87c9059bdf49e5f82299b106d49844
Author: Quentin Rameau <quinq AT sourcemage.org>
Commit: Quentin Rameau <quinq AT sourcemage.org>
http/surf: new spell, simple webbrowser based on webkit/gtk+
commit 15f5f0ed6ccb6d83453d9d2b9c57db77f4cdd22d
Author: Quentin Rameau <quinq AT sourcemage.org>
Commit: Quentin Rameau <quinq AT sourcemage.org>
video/gaupol: new spell, gtk+ subtitle editor
commit d5e2e58bbb3227c7f69467428588803b0cb0698d
Author: Quentin Rameau <quinq AT sourcemage.org>
Commit: Quentin Rameau <quinq AT sourcemage.org>
spelling/pyenchant: new spell, spellchecking library in python, based on
the enchant library
commit ccc53a4e7414379d1136bd9124748480042421d5
Author: Quentin Rameau <quinq AT sourcemage.org>
Commit: Quentin Rameau <quinq AT sourcemage.org>
python-pypi/chardet: new spell, character encoding auto-detection tool
in python
diff --git a/http/surf/BUILD b/http/surf/BUILD
new file mode 100755
index 0000000..8f58e6d
--- /dev/null
+++ b/http/surf/BUILD
@@ -0,0 +1 @@
+make
diff --git a/http/surf/DEPENDS b/http/surf/DEPENDS
new file mode 100755
index 0000000..2a469bf
--- /dev/null
+++ b/http/surf/DEPENDS
@@ -0,0 +1,3 @@
+depends mercurial &&
+depends webkitgtk &&
+depends dmenu
diff --git a/http/surf/DETAILS b/http/surf/DETAILS
new file mode 100755
index 0000000..7fb768b
--- /dev/null
+++ b/http/surf/DETAILS
@@ -0,0 +1,22 @@
+ SPELL="surf"
+if [[ "${SURF_AUTOUPDATE}" == "y" ]]
+then
+ VERSION="$(date +%Y%m%d)"
+else
+ VERSION="scm"
+fi
+ SOURCE="${SPELL}-scm.tar.bz2"
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-scm"
+ SOURCE_URL[0]="hg_http://code.suckless.org/hg/${SPELL}:${SPELL}-scm"
+ FORCE_DOWNLOAD="on"
+ SOURCE_IGNORE="volatile"
+ WEB_SITE="http://surf.suckless.org/"
+ ENTERED="20090727"
+ LICENSE[0]="MIT/XCL"
+SHORT="simple webbrowser based on webkit/gtk+."
+cat << EOF
+Surf is a simple webbrowser which is based on webkit/gtk+. It is able to
display
+websites and follow links. It supports the Xembedded protocol which makes it
+possible to embed it into another application. Furthermore one can point
surf to
+another URI by setting it's XProperties.
+EOF
diff --git a/http/surf/DOWNLOAD b/http/surf/DOWNLOAD
new file mode 100755
index 0000000..c6c5535
--- /dev/null
+++ b/http/surf/DOWNLOAD
@@ -0,0 +1,45 @@
+#once the hg download handler hits stable sorcery this DOWNLOAD script would
+#only need to be removed, SOURCE_URL is compatible with the planned hg
handler
+
+function my_url_hg_http_crack() {
+
+ URL=$(url_strip_prefix "$1" hg_http)
+ HG_ROOT=$(echo $URL | sed "s#\(^[^/]*[^:]*\):.*#\1#")
+ HG_ROOT=http://$HG_ROOT
+ local HG_DIRECTORY_TAG=$(echo $URL | sed "s#^[^/]*[^:]*\(.*\)#\1#")
+ HG_DIRECTORY=$(echo $HG_DIRECTORY_TAG | cut -d : -f2)
+ local HG_TAGNAME=$(echo $HG_DIRECTORY_TAG | cut -d : -f3)
+ HG_TAG=${HG_TAGNAME:=default}
+
+}
+
+if [[ "${VERSION}" != "scm" && "${VERSION}" != "$(date +%Y%m%d)" ]]; then
+ default_download &&
+ return $?
+fi &&
+
+message "${MESSAGE_COLOR}Starting Mercurial checkout of" \
+ "${FILE_COLOR}${SOURCE}${MESSAGE_COLOR}...${DEFAULT_COLOR}" &&
+my_url_hg_http_crack $SOURCE_URL &&
+if [[ -f $SOURCE_CACHE/$SOURCE ]]; then
+ message "${MESSAGE_COLOR}Previous source found
unpacking...${DEFAULT_COLOR}" &&
+ tar -jxf $SOURCE_CACHE/$SOURCE &&
+ message "${MESSAGE_COLOR}Running hg pull...${DEFAULT_COLOR}" &&
+ ( cd $HG_DIRECTORY &&
+ echo hg pull $HG_ROOT &&
+ hg pull $HG_ROOT &&
+ echo hg update $HG_TAG &&
+ hg update $HG_TAG )
+else
+ message "${MESSAGE_COLOR}Running hg clone...${DEFAULT_COLOR}"
+ echo hg clone $HG_ROOT $HG_DIRECTORY
+ hg clone $HG_ROOT $HG_DIRECTORY &&
+ ( cd $HG_DIRECTORY &&
+ echo hg update $HG_TAG &&
+ hg update $HG_TAG )
+fi &&
+message "${MESSAGE_COLOR}Generating tarball...${DEFAULT_COLOR}" &&
+tar -jcf $SOURCE $HG_DIRECTORY &&
+cp $SOURCE $SOURCE_CACHE/$SOURCE &&
+rm $SOURCE &&
+message "${MESSAGE_COLOR}Mercurial checkout complete...${DEFAULT_COLOR}"
diff --git a/http/surf/HISTORY b/http/surf/HISTORY
new file mode 100644
index 0000000..d8cb002
--- /dev/null
+++ b/http/surf/HISTORY
@@ -0,0 +1,3 @@
+2009-07-22 Quentin Rameau <quinq AT sourcemage.org>
+ * PREPARE, DEPENDS, DETAILS,
+ DOWNLOAD, PRE_BUILD, BUILD, HISTORY: created this spell
diff --git a/http/surf/PREPARE b/http/surf/PREPARE
new file mode 100755
index 0000000..e1309e8
--- /dev/null
+++ b/http/surf/PREPARE
@@ -0,0 +1 @@
+config_query SURF_AUTOUPDATE "Update on every system update?" n
diff --git a/http/surf/PRE_BUILD b/http/surf/PRE_BUILD
new file mode 100755
index 0000000..a1a4cfe
--- /dev/null
+++ b/http/surf/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd ${SOURCE_DIRECTORY} &&
+sedit 's:^PREFIX = /usr/local$:PREFIX = /usr:' config.mk
diff --git a/python-pypi/chardet/DEPENDS b/python-pypi/chardet/DEPENDS
new file mode 100755
index 0000000..a86d429
--- /dev/null
+++ b/python-pypi/chardet/DEPENDS
@@ -0,0 +1 @@
+depends python
diff --git a/python-pypi/chardet/DETAILS b/python-pypi/chardet/DETAILS
new file mode 100755
index 0000000..a80bfdf
--- /dev/null
+++ b/python-pypi/chardet/DETAILS
@@ -0,0 +1,14 @@
+ SPELL="chardet"
+ VERSION="1.0.1"
+ SOURCE="python2-${SPELL}-${VERSION}.tgz"
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SOURCE%.tgz}"
+ SOURCE_URL[0]="http://${SPELL}.feedparser.org/download/${SOURCE}"
+
SOURCE_HASH="sha512:efc959fb00c834ca2d8c3ae1d41e6f34bc5d163bb5ff326a4eea17d78327fb62a16e4f23f2392e5210537cf76e099bd132dddd4daa5d7e6e6e3efb7351767bbe"
+ WEB_SITE="http://chardet.feedparser.org/"
+ ENTERED="20090727"
+ LICENSE[0]="LGPL"
+SHORT="Character encoding auto-detection"
+cat << EOF
+Universal Encoding Detector.
+Character encoding auto-detection in Python 2. As smart as your browser.
Open source.
+EOF
diff --git a/python-pypi/chardet/HISTORY b/python-pypi/chardet/HISTORY
new file mode 100644
index 0000000..657c76a
--- /dev/null
+++ b/python-pypi/chardet/HISTORY
@@ -0,0 +1,2 @@
+2009-07-27 Quentin Rameau <quinq AT sourcemage.org>
+ * DEPENDS, DETAILS, HISTORY: created this spell
diff --git a/spelling/pyenchant/BUILD b/spelling/pyenchant/BUILD
new file mode 100755
index 0000000..a05d2aa
--- /dev/null
+++ b/spelling/pyenchant/BUILD
@@ -0,0 +1 @@
+default_build_python
diff --git a/spelling/pyenchant/DEPENDS b/spelling/pyenchant/DEPENDS
new file mode 100755
index 0000000..12cf843
--- /dev/null
+++ b/spelling/pyenchant/DEPENDS
@@ -0,0 +1,3 @@
+depends python &&
+depends setuptools &&
+depends enchant
diff --git a/spelling/pyenchant/DETAILS b/spelling/pyenchant/DETAILS
new file mode 100755
index 0000000..f372162
--- /dev/null
+++ b/spelling/pyenchant/DETAILS
@@ -0,0 +1,17 @@
+ SPELL="pyenchant"
+ VERSION="1.5.3"
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SOURCE%.tar.gz}"
+
SOURCE_URL[0]="http://pypi.python.org/packages/source/p/${SPELL}/${SOURCE}"
+
SOURCE_HASH="sha512:7ce92d5e91bc9a4f2c804748cc36ab912ac26957a4fbb3237f0fbc83e24aacaeda9cac35e864b64f01cd6514c35e86faf7a51cd7386794f89c4974daa94bd4aa"
+ WEB_SITE="http://www.rfk.id.au/software/pyenchant/"
+ ENTERED="20090727"
+ LICENSE[0]="LGPL"
+SHORT="Spellchecking library for Python, based on the Enchant library."
+cat << EOF
+PyEnchant is a set of language bindings and some wrapper classes to make the
+excellent Enchant spellchecker available as a Python module. The bindings are
+created using ctypes. It includes all the functionality of Enchant with the
+flexibility of Python and a nice "Pythonic" object-oriented interface. It
also
+aims to provide some higher-level functionality than is available in the C
API.
+EOF
diff --git a/spelling/pyenchant/HISTORY b/spelling/pyenchant/HISTORY
new file mode 100644
index 0000000..dfca9d0
--- /dev/null
+++ b/spelling/pyenchant/HISTORY
@@ -0,0 +1,2 @@
+2009-07-27 Quentin Rameau <quinq AT sourcemage.org>
+ * DEPENDS, DETAILS, BUILD, INSTALL, HISTORY: created this spell
diff --git a/spelling/pyenchant/INSTALL b/spelling/pyenchant/INSTALL
new file mode 100755
index 0000000..46c6fba
--- /dev/null
+++ b/spelling/pyenchant/INSTALL
@@ -0,0 +1 @@
+default_install_python
diff --git a/video/gaupol/BUILD b/video/gaupol/BUILD
new file mode 100755
index 0000000..a05d2aa
--- /dev/null
+++ b/video/gaupol/BUILD
@@ -0,0 +1 @@
+default_build_python
diff --git a/video/gaupol/CONFIGURE b/video/gaupol/CONFIGURE
new file mode 100755
index 0000000..a023a1c
--- /dev/null
+++ b/video/gaupol/CONFIGURE
@@ -0,0 +1,5 @@
+. "${GRIMOIRE}/config_query_multi.function"
+config_query_multi GAUPOL_PLAYER "media player to enable preview" \
+ none \
+ mplayer \
+ vlc
diff --git a/video/gaupol/DEPENDS b/video/gaupol/DEPENDS
new file mode 100755
index 0000000..10987ad
--- /dev/null
+++ b/video/gaupol/DEPENDS
@@ -0,0 +1,13 @@
+depends python &&
+depends pygtk2 &&
+suggest_depends pyenchant \
+ "" "" "to enable spell-checking" &&
+if is_depends_enabled ${SPELL} pyenchant
+then
+ runtime_depends SPELLING &&
+ suggest_depends iso-codes \
+ "" "" "to translate language and country names"
+fi &&
+suggest_depends chardet \
+ "" "" "for character encoding auto-detection " &&
+[[ "${GAUPOL_PLAYER}" != "none" ]] && runtime_depends "${GAUPOL_PLAYER}"
diff --git a/video/gaupol/DETAILS b/video/gaupol/DETAILS
new file mode 100755
index 0000000..fe652b1
--- /dev/null
+++ b/video/gaupol/DETAILS
@@ -0,0 +1,16 @@
+ SPELL="gaupol"
+ VERSION="0.15"
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SOURCE%.tar.gz}"
+ SOURCE_URL[0]="http://download.gna.org/${SPELL}/${VERSION}/${SOURCE}"
+
SOURCE_HASH="sha512:d392e5723212727d65cf1e2ef72534ee2bd6b3fefc21d1a8d3474397448813cf2cbe28bc4583ca2f61c7ef93f5479478ef8348e47550822d8efe66fbb6a84369"
+ WEB_SITE="http://home.gna.org/gaupol/"
+ ENTERED="20090727"
+ LICENSE[0]="GPL"
+SHORT="GTK+ subtitle editor"
+cat << EOF
+Gaupol is an editor for text-based subtitle files. It supports multiple
subtitle
+file formats and provides means of correcting texts and timing subtitles to
+match video. The user interface is designed with attention to batch
processing
+of multiple documents and convenience of translating.
+EOF
diff --git a/video/gaupol/FINAL b/video/gaupol/FINAL
new file mode 100755
index 0000000..040a984
--- /dev/null
+++ b/video/gaupol/FINAL
@@ -0,0 +1 @@
+sedit 's:usr:/usr:' /usr/lib/python2.6/site-packages/gaupol/paths.py
diff --git a/video/gaupol/HISTORY b/video/gaupol/HISTORY
new file mode 100644
index 0000000..b1e763a
--- /dev/null
+++ b/video/gaupol/HISTORY
@@ -0,0 +1,3 @@
+2009-07-27 Quentin Rameau <quinq AT sourcemage.org>
+ * CONFIGURE, DEPENDS, DETAILS,
+ BUILD, INSTALL, FINAL, HISTORY: created this spell
diff --git a/video/gaupol/INSTALL b/video/gaupol/INSTALL
new file mode 100755
index 0000000..46c6fba
--- /dev/null
+++ b/video/gaupol/INSTALL
@@ -0,0 +1 @@
+default_install_python
- [SM-Commit] GIT changes to master grimoire by Quentin Rameau (bf9b780ade2679a18a652078c2a1b8d4c6620729), Quentin Rameau, 07/27/2009
Archive powered by MHonArc 2.6.24.