From 07daa66b5db68ee7e18adb2d5251cf1c1ecea10d Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Tue, 1 Mar 2016 09:05:52 +0000 Subject: [PATCH] Update to gspell-0.2.4. --- textproc/gspell/Makefile | 6 ++--- textproc/gspell/distinfo | 4 ++-- ...estsuite_test-inline-checker-text-buffer_c | 23 +++++++++++++++++++ textproc/gspell/pkg/PLIST | 10 ++++---- 4 files changed, 33 insertions(+), 10 deletions(-) create mode 100644 textproc/gspell/patches/patch-testsuite_test-inline-checker-text-buffer_c diff --git a/textproc/gspell/Makefile b/textproc/gspell/Makefile index ffafe1e9a1e..bc87495cec9 100644 --- a/textproc/gspell/Makefile +++ b/textproc/gspell/Makefile @@ -1,13 +1,13 @@ -# $OpenBSD: Makefile,v 1.7 2016/01/17 18:04:11 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.8 2016/03/01 09:05:52 ajacoutot Exp $ COMMENT= spell-checking library for GTK+ GNOME_PROJECT= gspell -GNOME_VERSION= 0.2.3 +GNOME_VERSION= 0.2.4 CATEGORIES= textproc -SHARED_LIBS += gspell-1 1.0 # 0.0 +SHARED_LIBS += gspell-1 2.0 # 0.0 # LGPLv2.1+ PERMIT_PACKAGE_CDROM= Yes diff --git a/textproc/gspell/distinfo b/textproc/gspell/distinfo index fa8e6c454ec..e91c38cfdd3 100644 --- a/textproc/gspell/distinfo +++ b/textproc/gspell/distinfo @@ -1,2 +1,2 @@ -SHA256 (gspell-0.2.3.tar.xz) = 47+pCgT2YO+x5byxgu6NB9E/eIF8zNAGmSU0JhtjNRA= -SIZE (gspell-0.2.3.tar.xz) = 363424 +SHA256 (gspell-0.2.4.tar.xz) = JNkzK8FNYp9SjYn6IDS3yFekHED5aaF0Gmqp/1+CsAs= +SIZE (gspell-0.2.4.tar.xz) = 370276 diff --git a/textproc/gspell/patches/patch-testsuite_test-inline-checker-text-buffer_c b/textproc/gspell/patches/patch-testsuite_test-inline-checker-text-buffer_c new file mode 100644 index 00000000000..d5bcea5233e --- /dev/null +++ b/textproc/gspell/patches/patch-testsuite_test-inline-checker-text-buffer_c @@ -0,0 +1,23 @@ +$OpenBSD: patch-testsuite_test-inline-checker-text-buffer_c,v 1.1 2016/03/01 09:05:53 ajacoutot Exp $ + +XXX needs gtk+3 >= 3.19 + +--- testsuite/test-inline-checker-text-buffer.c.orig Thu Feb 25 11:41:27 2016 ++++ testsuite/test-inline-checker-text-buffer.c Thu Feb 25 11:41:38 2016 +@@ -74,14 +74,14 @@ check_highlighted_words (GtkTextBuffer + gint expected_end_offset; + + start = iter; +- if (!gtk_text_iter_starts_tag (&start, tag)) ++ if (!gtk_text_iter_begins_tag (&start, tag)) + { + if (!gtk_text_iter_forward_to_tag_toggle (&start, tag)) + { + break; + } + +- g_assert (gtk_text_iter_starts_tag (&start, tag)); ++ g_assert (gtk_text_iter_begins_tag (&start, tag)); + } + + end = start; diff --git a/textproc/gspell/pkg/PLIST b/textproc/gspell/pkg/PLIST index c941199ce3a..72a20fc598a 100644 --- a/textproc/gspell/pkg/PLIST +++ b/textproc/gspell/pkg/PLIST @@ -1,14 +1,14 @@ -@comment $OpenBSD: PLIST,v 1.5 2016/01/17 18:04:11 ajacoutot Exp $ +@comment $OpenBSD: PLIST,v 1.6 2016/03/01 09:05:53 ajacoutot Exp $ include/gspell-1/ include/gspell-1/gspell/ include/gspell-1/gspell/gspell-checker-dialog.h include/gspell-1/gspell/gspell-checker.h -include/gspell-1/gspell/gspell-inline-checker-text.h +include/gspell-1/gspell/gspell-inline-checker-text-view.h include/gspell-1/gspell/gspell-language-chooser-button.h include/gspell-1/gspell/gspell-language-chooser-dialog.h include/gspell-1/gspell/gspell-language-chooser.h include/gspell-1/gspell/gspell-language.h -include/gspell-1/gspell/gspell-navigator-text.h +include/gspell-1/gspell/gspell-navigator-text-view.h include/gspell-1/gspell/gspell-navigator.h include/gspell-1/gspell/gspell-text-buffer.h include/gspell-1/gspell/gspell.h @@ -25,13 +25,13 @@ share/gtk-doc/html/ share/gtk-doc/html/gspell-1.0/ share/gtk-doc/html/gspell-1.0/GspellChecker.html share/gtk-doc/html/gspell-1.0/GspellCheckerDialog.html -share/gtk-doc/html/gspell-1.0/GspellInlineCheckerText.html +share/gtk-doc/html/gspell-1.0/GspellInlineCheckerTextView.html share/gtk-doc/html/gspell-1.0/GspellLanguage.html share/gtk-doc/html/gspell-1.0/GspellLanguageChooser.html share/gtk-doc/html/gspell-1.0/GspellLanguageChooserButton.html share/gtk-doc/html/gspell-1.0/GspellLanguageChooserDialog.html share/gtk-doc/html/gspell-1.0/GspellNavigator.html -share/gtk-doc/html/gspell-1.0/GspellNavigatorText.html +share/gtk-doc/html/gspell-1.0/GspellNavigatorTextView.html share/gtk-doc/html/gspell-1.0/annotation-glossary.html share/gtk-doc/html/gspell-1.0/api-index-full.html share/gtk-doc/html/gspell-1.0/ch01.html