Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (a408c369825136e630ce4c8e82a021b8fdedd9bb)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • 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 (a408c369825136e630ce4c8e82a021b8fdedd9bb)
  • Date: Sat, 24 May 2008 09:12:16 -0500

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

xfce/xfce4-dict/DETAILS | 4 ++--
xfce/xfce4-dict/HISTORY | 2 +-
xfce/xfce4-dict/PRE_BUILD | 4 ++++
xfce/xfce4-dict/common_c.patch | 19 +++++++++++++++++++
4 files changed, 26 insertions(+), 3 deletions(-)

New commits:
commit a408c369825136e630ce4c8e82a021b8fdedd9bb
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

xfce4-dict: added official patch to prevent crashing

diff --git a/xfce/xfce4-dict/DETAILS b/xfce/xfce4-dict/DETAILS
index 9983c11..babfb02 100755
--- a/xfce/xfce4-dict/DETAILS
+++ b/xfce/xfce4-dict/DETAILS
@@ -3,12 +3,12 @@
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
SOURCE_URL[0]=http://goodies.xfce.org/releases/$SPELL/$SOURCE
- WEB_SITE=http://goodies.xfce.org/projects/applications/xfce4-dict
+ WEB_SITE=http://goodies.xfce.org/
SOURCE_GPG=gurus.gpg:$SOURCE.sig
LICENSE[0]=BSD
ENTERED=20080524
KEYWORDS="xfce dictionary"
- SHORT="query a dictionary service for words or phrases"
+ SHORT="query a dictionary server with program/panel plugin"
cat << EOF
This program allows you to search different kinds of dictionary services for
words or phrases and shows you the result. Currently you can query a Dict
diff --git a/xfce/xfce4-dict/HISTORY b/xfce/xfce4-dict/HISTORY
index 8cb5d37..2944ab2 100644
--- a/xfce/xfce4-dict/HISTORY
+++ b/xfce/xfce4-dict/HISTORY
@@ -1,2 +1,2 @@
2008-05-24 Vlad Glagolev <stealth AT sourcemage.org>
- * CONFLICTS, DETAILS, DEPENDS: created spell
+ * CONFLICTS, DETAILS, DEPENDS, PRE_BUILD: created spell
diff --git a/xfce/xfce4-dict/PRE_BUILD b/xfce/xfce4-dict/PRE_BUILD
new file mode 100755
index 0000000..e852f2a
--- /dev/null
+++ b/xfce/xfce4-dict/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+
+patch -p0 < $SPELL_DIRECTORY/common_c.patch
diff --git a/xfce/xfce4-dict/common_c.patch b/xfce/xfce4-dict/common_c.patch
new file mode 100644
index 0000000..7a68c0c
--- /dev/null
+++ b/xfce/xfce4-dict/common_c.patch
@@ -0,0 +1,19 @@
+--- lib/common.c.orig Fri May 16 16:38:20 2008
++++ lib/common.c Fri May 16 16:38:35 2008
+@@ -309,7 +309,6 @@ void dict_read_rc_file(DictData *dd)
+ geo = xfce_rc_read_entry(rc, "geometry", geo);
+ parse_geometry(dd, geo);
+
+- xfce_rc_close(rc);
+ }
+
+ dd->mode_default = mode_default;
+@@ -326,6 +325,8 @@ void dict_read_rc_file(DictData *dd)
+ dd->dictionary = g_strdup(dict);
+ dd->spell_bin = g_strdup(spell_bin);
+ dd->spell_dictionary = g_strdup(spell_dictionary);
++
++ xfce_rc_close(rc);
+ }
+
+



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (a408c369825136e630ce4c8e82a021b8fdedd9bb), Vlad Glagolev, 05/24/2008

Archive powered by MHonArc 2.6.24.

Top of Page