gtkspell3: update to 3.0.10.
This commit is contained in:
parent
bacf9e2b4f
commit
a6255ca08d
|
@ -1,25 +0,0 @@
|
||||||
Source: Arch Linux
|
|
||||||
Upstream: Unknown
|
|
||||||
Reason: Allows compilation with enchant-2
|
|
||||||
|
|
||||||
--- gtkspell/gtkspell.c
|
|
||||||
+++ gtkspell/gtkspell.c
|
|
||||||
@@ -353,7 +353,7 @@
|
|
||||||
get_word_extents_from_mark (spell->priv->buffer, &start, &end, spell->priv->mark_click);
|
|
||||||
word = gtk_text_buffer_get_text (spell->priv->buffer, &start, &end, FALSE);
|
|
||||||
|
|
||||||
- enchant_dict_add_to_pwl (spell->priv->speller, word, strlen (word));
|
|
||||||
+ enchant_dict_add (spell->priv->speller, word, strlen (word));
|
|
||||||
|
|
||||||
gtk_spell_checker_recheck_all (spell);
|
|
||||||
|
|
||||||
@@ -1246,7 +1246,7 @@
|
|
||||||
void
|
|
||||||
gtk_spell_checker_add_to_dictionary (GtkSpellChecker *spell, const gchar *word)
|
|
||||||
{
|
|
||||||
- enchant_dict_add_to_pwl (spell->priv->speller, word, strlen (word));
|
|
||||||
+ enchant_dict_add (spell->priv->speller, word, strlen (word));
|
|
||||||
gtk_spell_checker_recheck_all (spell);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'gtkspell3'
|
# Template file for 'gtkspell3'
|
||||||
pkgname=gtkspell3
|
pkgname=gtkspell3
|
||||||
version=3.0.9
|
version=3.0.10
|
||||||
revision=4
|
revision=1
|
||||||
build_options="gir"
|
build_options="gir"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-silent-rules"
|
configure_args="--disable-silent-rules"
|
||||||
|
@ -13,11 +13,7 @@ maintainer="beefcurtains <beefcurtains@voidlinux.eu>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="http://${pkgname}.sourceforge.net/"
|
homepage="http://${pkgname}.sourceforge.net/"
|
||||||
distfiles="${SOURCEFORGE_SITE}/${pkgname::-1}/${version}/${pkgname}-${version}.tar.xz"
|
distfiles="${SOURCEFORGE_SITE}/${pkgname::-1}/${version}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=a4f4a4a2789f7499563e26d96b22d8085222ebe278da47d026b2de782b8b4d26
|
checksum=b040f63836b347eb344f5542443dc254621805072f7141d49c067ecb5a375732
|
||||||
|
|
||||||
pre_configure() {
|
|
||||||
sed -i 's|enchant|enchant-2|g' configure
|
|
||||||
}
|
|
||||||
|
|
||||||
# Enable gir and vala for non-cross builds
|
# Enable gir and vala for non-cross builds
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
|
|
Loading…
Reference in New Issue