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

2018-12-11 Thread Balló György via arch-commits
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
===
--- PKGBUILD2018-12-11 14:48:29 UTC (rev 415351)
+++ PKGBUILD2018-12-11 14:52:22 UTC (rev 415352)
@@ -3,8 +3,8 @@
 # Contributor: Ben 
 
 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.0 
+
-+++ gtkspell3-3.0.9/gtkspell/gtkspell.c2017-11-22 12:07:52.716086700 
+
-@@ -353,7 +353,7 @@
-   get_word_extents_from_mark (spell->priv->buffer, , , 
spell->priv->mark_click);
-   word = gtk_text_buffer_get_text (spell->priv->buffer, , , 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);
- }
- 


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

2017-11-22 Thread Jan de Groot
Date: Wednesday, November 22, 2017 @ 12:13:21
  Author: jgc
Revision: 267944

upgpkg: gtkspell3 3.0.9-2

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

-+
 PKGBUILD|   13 ++---
 enchant-2.patch |   20 
 2 files changed, 30 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-11-22 12:12:34 UTC (rev 267943)
+++ PKGBUILD2017-11-22 12:13:21 UTC (rev 267944)
@@ -5,7 +5,7 @@
 
 pkgname=gtkspell3
 pkgver=3.0.9
-pkgrel=1
+pkgrel=2
 url="http://gtkspell.sourceforge.net/;
 pkgdesc="Provides word-processor-style highlighting and replacement of 
misspelled words in a GtkTextView widget"
 arch=('x86_64')
@@ -12,9 +12,16 @@
 license=('GPL')
 depends=('gtk3' 'enchant')
 makedepends=('intltool' 'gobject-introspection' 'vala' 'python2')
-source=(https://downloads.sourceforge.net/gtkspell/$pkgname-$pkgver.tar.xz)
-sha256sums=('a4f4a4a2789f7499563e26d96b22d8085222ebe278da47d026b2de782b8b4d26')
+source=(https://downloads.sourceforge.net/gtkspell/$pkgname-$pkgver.tar.xz
+enchant-2.patch)
+sha256sums=('a4f4a4a2789f7499563e26d96b22d8085222ebe278da47d026b2de782b8b4d26'
+'17355439e8540e02591e398bc8fd2abfce708157cc116bfd93feab214613cbd3')
 
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../enchant-2.patch
+}
+
 build() {
   cd $pkgname-$pkgver
   ./configure --prefix=/usr

Added: enchant-2.patch
===
--- enchant-2.patch (rev 0)
+++ enchant-2.patch 2017-11-22 12:13:21 UTC (rev 267944)
@@ -0,0 +1,20 @@
+--- gtkspell3-3.0.9/gtkspell/gtkspell.c.orig   2016-08-06 09:43:17.0 
+
 gtkspell3-3.0.9/gtkspell/gtkspell.c2017-11-22 12:07:52.716086700 
+
+@@ -353,7 +353,7 @@
+   get_word_extents_from_mark (spell->priv->buffer, , , 
spell->priv->mark_click);
+   word = gtk_text_buffer_get_text (spell->priv->buffer, , , 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);
+ }
+