diff options
author | Pol Vinogradov | 2007-08-15 19:52:21 +0500 |
---|---|---|
committer | Pol Vinogradov | 2007-08-15 19:52:21 +0500 |
commit | 3d1561efa69a72ca323632b594f716b5e31ede98 (patch) | |
tree | c66fe4eef37d98d42e0161aa101e01aca3b901b7 /spelling | |
parent | 3addf27e428ddbb80c4d62df67afbf2ad064fa9a (diff) |
spelling/stardict:
DETAILS: updated to 3.0.0
DEPENDS: needs autoconf, automake and intltool, optionally depends on
enchant, espeak and gucharmap were added
PRE_BUILD, configure.patch, prefsdlg.patch: added to fix building
issues
Diffstat (limited to 'spelling')
-rwxr-xr-x | spelling/stardict/DEPENDS | 6 | ||||
-rwxr-xr-x | spelling/stardict/DETAILS | 4 | ||||
-rw-r--r-- | spelling/stardict/HISTORY | 8 | ||||
-rwxr-xr-x | spelling/stardict/PRE_BUILD | 14 | ||||
-rw-r--r-- | spelling/stardict/configure.patch | 24 | ||||
-rw-r--r-- | spelling/stardict/prefsdlg.patch | 20 |
6 files changed, 73 insertions, 3 deletions
diff --git a/spelling/stardict/DEPENDS b/spelling/stardict/DEPENDS index fdc2f0225f..ce4ca0bf06 100755 --- a/spelling/stardict/DEPENDS +++ b/spelling/stardict/DEPENDS @@ -1,5 +1,11 @@ +depends autoconf && +depends automake && depends g++ && depends gtk+2 && +depends intltool && depends xml-parser-expat && +optional_depends enchant "" "--disable-spell" "for spell plugin" && +optional_depends espeak "" "--disable-espeak" "for espeak TTS plugin" && +optional_depends gucharmap "" "--disable-gucharmap" "for gucharmap plugin" && optional_depends libgnomeui "" "--disable-gnome-support" "for gnome support" diff --git a/spelling/stardict/DETAILS b/spelling/stardict/DETAILS index fe30f85897..a028df5638 100755 --- a/spelling/stardict/DETAILS +++ b/spelling/stardict/DETAILS @@ -1,9 +1,9 @@ SPELL=stardict - VERSION=2.4.8 + VERSION=3.0.0 SOURCE=$SPELL-$VERSION.tar.bz2 SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION SOURCE_URL[0]=$SOURCEFORGE_URL/$SPELL/$SOURCE - SOURCE_HASH=sha512:a7453e361c3e108043862a118e3d89d6af17efd2010c734e868d3395a2890bd784ce0b588e01bfb95c8f94c6d13a931bc7ba44d4bfbe6877fcae5350bbf4a9e4 + SOURCE_HASH=sha512:5d9d900ae0c0e0f0ace6cb6393892e98e8bcc317c969cc35dc900db7b98eb2d62fb2b9b2fccefcd5667c364a11a50528ffad1d724a8d81c42535a321e4c3335c KEYWORDS="spelling" LICENSE[0]=GPL WEB_SITE=http://$SPELL.sourceforge.net diff --git a/spelling/stardict/HISTORY b/spelling/stardict/HISTORY index c1e697a851..2932791369 100644 --- a/spelling/stardict/HISTORY +++ b/spelling/stardict/HISTORY @@ -1,3 +1,10 @@ +2007-08-15 Pol Vinogradov <vin.public@gmail.com> + * DETAILS: updated to 3.0.0 + * DEPENDS: needs autoconf, automake and intltool, optionally depends on + enchant, espeak and gucharmap were added + * PRE_BUILD, configure.patch, prefsdlg.patch: added to fix building + issues + 2006-07-11 Pol Vinogradov <vin.public@gmail.com> * DETAILS: version 2.4.8 * BUILD: removed, not needed @@ -19,4 +26,3 @@ 2006-04-21 Pol Vinogradov <vin.public@gmail.com> * BUILD, DEPENDS, DETAILS, HISTORY: created spell - diff --git a/spelling/stardict/PRE_BUILD b/spelling/stardict/PRE_BUILD new file mode 100755 index 0000000000..34024acc5d --- /dev/null +++ b/spelling/stardict/PRE_BUILD @@ -0,0 +1,14 @@ +default_pre_build && +cd ${SOURCE_DIRECTORY} && + +patch -p0 < ${SCRIPT_DIRECTORY}/configure.patch && +patch -p0 < ${SCRIPT_DIRECTORY}/prefsdlg.patch && +intltoolize --force --copy && +echo n | libtoolize --copy --force && +aclocal -I m4 && +autoheader && +automake --add-missing --copy && +autoconf || true && +automake && + +OPTS="--disable-festival --disable-deprecations ${OPTS}" diff --git a/spelling/stardict/configure.patch b/spelling/stardict/configure.patch new file mode 100644 index 0000000000..56aa13343d --- /dev/null +++ b/spelling/stardict/configure.patch @@ -0,0 +1,24 @@ +--- configure.in.origin 2007-08-15 18:33:33.000000000 +0500 ++++ configure.in 2007-08-15 18:47:53.000000000 +0500 +@@ -11,6 +11,7 @@ + AM_DISABLE_STATIC + + AC_PATH_PROG(GCONFTOOL, gconftool-2) ++AC_PATH_PROG(PKG_CONFIG, pkg-config) + AC_PROG_INTLTOOL([0.22]) + + AC_CONFIG_MACRO_DIR(m4) +@@ -188,11 +189,11 @@ + AM_CONDITIONAL(MAEMO_SUPPORT, test "x${enable_maemo_support}" = "xyes") + + if test "x${enable_gpe_support}" = "xyes" ; then +- DEP_MODULES="gtk+-2.0 >= 2.4 glib-2.0 >= 2.2 libgpewidget >= 0.109" ++ DEP_MODULES="gtk+-2.0 >= 2.4 glib-2.0 >= 2.2 gthread-2.0 >= 2.1 libgpewidget >= 0.109" + elif test "x${enable_maemo_support}" = "xyes" ; then + DEP_MODULES="gtk+-2.0 >= 2.6 gconf-2.0 >= 2.6 hildon-libs >= 0.12" + elif test "x${enable_gnome_support}" = "xno" ; then +- DEP_MODULES="gtk+-2.0 >= 2.6" ++ DEP_MODULES="gtk+-2.0 >= 2.6 gthread-2.0 >= 2.1" + else + DEP_MODULES="libgnomeui-2.0 >= 2.2.0" + fi diff --git a/spelling/stardict/prefsdlg.patch b/spelling/stardict/prefsdlg.patch new file mode 100644 index 0000000000..ca6385fc16 --- /dev/null +++ b/spelling/stardict/prefsdlg.patch @@ -0,0 +1,20 @@ +--- src/prefsdlg.cpp.origin 2007-08-15 11:15:21.000000000 +0500 ++++ src/prefsdlg.cpp 2007-08-15 11:12:21.000000000 +0500 +@@ -735,7 +735,7 @@ + gtk_box_pack_start(GTK_BOX(vbox1),check_button,false,false,0); + #if defined(CONFIG_GTK) || defined(CONFIG_GPE) + GtkWidget *hbox2 = gtk_hbox_new(FALSE, 6); +- label=gtk_label_new(_("Command for playing wav files:")); ++ GtkWidget *label=gtk_label_new(_("Command for playing wav files:")); + gtk_box_pack_start(GTK_BOX(hbox2), label, FALSE, FALSE, 0); + GtkWidget *e = gtk_entry_new(); + gtk_widget_set_size_request(e, 50, -1); +@@ -748,7 +748,7 @@ + gtk_box_pack_start(GTK_BOX(vbox1), hbox2, FALSE, FALSE, 0); + #endif + +- GtkWidget *label = gtk_label_new(_("RealPeopleTTS search path:")); ++ label = gtk_label_new(_("RealPeopleTTS search path:")); + gtk_misc_set_alignment(GTK_MISC(label), 0, .5); + gtk_box_pack_start(GTK_BOX(vbox1),label,false,false,0); + tts_textview = gtk_text_view_new(); |