[arch-commits] Commit in gtkspell3/trunk (PKGBUILD enchant-2.patch)

Balló György bgyorgy at archlinux.org
Tue Dec 11 14:52:23 UTC 2018


    Date: Tuesday, December 11, 2018 @ 14:52:22
  Author: bgyorgy
Revision: 415352

upgpkg: gtkspell3 3.0.10-1

Update to new version

Modified:
  gtkspell3/trunk/PKGBUILD
Deleted:
  gtkspell3/trunk/enchant-2.patch

-----------------+
 PKGBUILD        |   17 ++++-------------
 enchant-2.patch |   20 --------------------
 2 files changed, 4 insertions(+), 33 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-11 14:48:29 UTC (rev 415351)
+++ PKGBUILD	2018-12-11 14:52:22 UTC (rev 415352)
@@ -3,8 +3,8 @@
 # Contributor: Ben <ben at benmazer.net>
 
 pkgname=gtkspell3
-pkgver=3.0.9
-pkgrel=3
+pkgver=3.0.10
+pkgrel=1
 url="http://gtkspell.sourceforge.net/"
 pkgdesc="Provides word-processor-style highlighting and replacement of misspelled words in a GtkTextView widget"
 arch=('x86_64')
@@ -11,18 +11,9 @@
 license=('GPL')
 depends=('gtk3' 'enchant')
 makedepends=('intltool' 'gobject-introspection' 'vala' 'python2')
-source=(https://downloads.sourceforge.net/gtkspell/$pkgname-$pkgver.tar.xz
-        enchant-2.patch)
-sha256sums=('a4f4a4a2789f7499563e26d96b22d8085222ebe278da47d026b2de782b8b4d26'
-            '17355439e8540e02591e398bc8fd2abfce708157cc116bfd93feab214613cbd3')
+source=(https://downloads.sourceforge.net/gtkspell/$pkgname-$pkgver.tar.xz)
+sha256sums=('b040f63836b347eb344f5542443dc254621805072f7141d49c067ecb5a375732')
 
-prepare() {
-  cd $pkgname-$pkgver
-  patch -Np1 -i ../enchant-2.patch
-  sed -e 's/enchant/enchant-2/g' -i configure.ac
-  autoreconf -vi
-}
-
 build() {
   cd $pkgname-$pkgver
   ./configure --prefix=/usr

Deleted: enchant-2.patch
===================================================================
--- enchant-2.patch	2018-12-11 14:48:29 UTC (rev 415351)
+++ enchant-2.patch	2018-12-11 14:52:22 UTC (rev 415352)
@@ -1,20 +0,0 @@
---- gtkspell3-3.0.9/gtkspell/gtkspell.c.orig	2016-08-06 09:43:17.000000000 +0000
-+++ gtkspell3-3.0.9/gtkspell/gtkspell.c	2017-11-22 12:07:52.716086700 +0000
-@@ -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);
- }
- 



More information about the arch-commits mailing list