sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (46e519e98f3f8053160c42b4a6db0aeee70880f5)
- From: Vlad Glagolev <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (46e519e98f3f8053160c42b4a6db0aeee70880f5)
- Date: Tue, 31 Mar 2015 10:10:52 -0500
GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:
news/fbnews/DETAILS | 1 +
news/fbnews/HISTORY | 5 +++++
news/fbnews/PRE_BUILD | 3 +--
news/fbnews/fbnews.patch | 20 ++++++++++++++++++++
4 files changed, 27 insertions(+), 2 deletions(-)
New commits:
commit 46e519e98f3f8053160c42b4a6db0aeee70880f5
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
fbnews: fix closing parenthesis parsing
diff --git a/news/fbnews/DETAILS b/news/fbnews/DETAILS
index f4fb66e..991dfd4 100755
--- a/news/fbnews/DETAILS
+++ b/news/fbnews/DETAILS
@@ -1,5 +1,6 @@
SPELL=fbnews
VERSION=0.5.1
+ PATCHLEVEL=1
# wrong version in a package
VERSIONX=${VERSION%.*}
SOURCE=${SPELL}-${VERSIONX}.tar.gz
diff --git a/news/fbnews/HISTORY b/news/fbnews/HISTORY
index b9d81f2..9fbf108 100644
--- a/news/fbnews/HISTORY
+++ b/news/fbnews/HISTORY
@@ -1,2 +1,7 @@
+2015-03-31 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: PATCHLEVEL=1
+ * PRE_BUILD: merge encoding fix into the fbnews.patch
+ * fbnews.patch: added, to fix closing parenthesis parsing
+
2015-01-16 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS, DEPENDS, {PRE_,}BUILD, INSTALL: created spell, version 0.5
diff --git a/news/fbnews/PRE_BUILD b/news/fbnews/PRE_BUILD
index 39afd77..375b5e6 100755
--- a/news/fbnews/PRE_BUILD
+++ b/news/fbnews/PRE_BUILD
@@ -1,5 +1,4 @@
default_pre_build &&
cd "${SOURCE_DIRECTORY}" &&
-# use utf-8 encoding
-sedit "s:iso8859_15:utf-8:" fbnews.py
+patch -p0 < "$SPELL_DIRECTORY/fbnews.patch"
diff --git a/news/fbnews/fbnews.patch b/news/fbnews/fbnews.patch
new file mode 100644
index 0000000..e7fe4fb
--- /dev/null
+++ b/news/fbnews/fbnews.patch
@@ -0,0 +1,20 @@
+--- fbnews.py.orig 2005-05-31 19:02:24.000000000 +0400
++++ fbnews.py 2015-03-31 18:03:11.204129918 +0300
+@@ -24,7 +24,7 @@
+ __revision__ = "0.5"
+
+ DEBUG = False
+-ENCODING = 'iso8859_15'
++ENCODING = 'utf-8'
+
+ import urllib, time, os, codecs, sys, getopt, StringIO
+ import fbnconf
+@@ -77,7 +77,7 @@
+ format += config.siteformat(caption) + ') {}\n'
+
+ for key in lst[1].keys():
+- format += u'[exec] (' + key + ') {' \
++ format += u'[exec] (' + key.replace(')', '\\)') + ') {' \
+ + config.browser(lst[1][key]) + u'}\n'
+
+ format += '[end]\n'
- [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (46e519e98f3f8053160c42b4a6db0aeee70880f5), Vlad Glagolev, 03/31/2015
Archive powered by MHonArc 2.6.24.