diff --git a/x11-toolkits/libspelling/Makefile b/x11-toolkits/libspelling/Makefile index 341a9e73f389..03a372535a72 100644 --- a/x11-toolkits/libspelling/Makefile +++ b/x11-toolkits/libspelling/Makefile @@ -1,28 +1,30 @@ PORTNAME= libspelling -DISTVERSION= 0.2.1 -PORTREVISION= 1 +DISTVERSION= 0.4.8 CATEGORIES= x11-toolkits MASTER_SITES= GNOME +DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Spellcheck library for GTK 4 WWW= https://gitlab.gnome.org/GNOME/libspelling LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING -USES= gnome meson pkgconfig tar:xz vala:build +USES= gettext gnome meson pkgconfig tar:xz vala:build USE_GNOME= gtk40 gtksourceview5 introspection:build USE_LDCONFIG= yes +MESON_ARGS= -Dsysprof=false + OPTIONS_DEFINE= DOCS ENCHANT OPTIONS_DEFAULT=ENCHANT DOCS_BUILD_DEPENDS= gi-docgen:textproc/py-gi-docgen DOCS_MESON_TRUE= docs ENCHANT_LIB_DEPENDS= libicuuc.so:devel/icu \ libenchant-2.so:textproc/enchant2 ENCHANT_MESON_ENABLED= enchant .include diff --git a/x11-toolkits/libspelling/distinfo b/x11-toolkits/libspelling/distinfo index 7ba8851117d4..b21f27d92e5e 100644 --- a/x11-toolkits/libspelling/distinfo +++ b/x11-toolkits/libspelling/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1709512768 -SHA256 (libspelling-0.2.1.tar.xz) = 7a787b467bd493f6baffb44138dbc4bef78aaab60efb76a7db88b243bf0f6343 -SIZE (libspelling-0.2.1.tar.xz) = 46136 +TIMESTAMP = 1744986147 +SHA256 (gnome/libspelling-0.4.8.tar.xz) = 277646285818da7b295ef007b2c5ebd815d0930b3ad097505b3ced96965af517 +SIZE (gnome/libspelling-0.4.8.tar.xz) = 72560 diff --git a/x11-toolkits/libspelling/files/patch-lib_meson.build b/x11-toolkits/libspelling/files/patch-lib_meson.build deleted file mode 100644 index 4a29930c8133..000000000000 --- a/x11-toolkits/libspelling/files/patch-lib_meson.build +++ /dev/null @@ -1,13 +0,0 @@ -lib/meson.build:34:2: ERROR: Dependency lookup for gtksourceview-5 with method 'pkgconfig' failed: Invalid version, need 'gtksourceview-5' ['>= 5.6'] found '5.4.2'. - ---- lib/meson.build.orig 2024-03-04 00:39:28 UTC -+++ lib/meson.build -@@ -31,7 +31,7 @@ libspelling_deps = [ - libspelling_deps = [ - dependency('gio-2.0'), - dependency('gtk4', version: '>= 4.8'), -- dependency('gtksourceview-5', version: '>= 5.6'), -+ dependency('gtksourceview-5', version: '>= 5.4'), - ] - - if get_option('enchant').enabled() diff --git a/x11-toolkits/libspelling/files/patch-meson.build b/x11-toolkits/libspelling/files/patch-meson.build index bfb612fcf6c0..0419c1ac74ed 100644 --- a/x11-toolkits/libspelling/files/patch-meson.build +++ b/x11-toolkits/libspelling/files/patch-meson.build @@ -1,17 +1,15 @@ -$ make clean all WITHOUT=ENCHANT -[...] -ld: error: undefined symbol: spelling_enchant_provider_new ->>> referenced by spelling-provider.c ->>> libspelling-1.a.p/spelling-provider.c.o:(spelling_provider_get_default) in archive lib/libspelling-1.a - ---- meson.build.orig 2024-03-04 00:39:28 UTC +--- meson.build.orig 2025-04-17 21:40:06 UTC +++ meson.build -@@ -13,7 +13,7 @@ config_h.set_quoted('PACKAGE_LOCALE_DIR', join_paths(g +@@ -17,7 +17,11 @@ config_h.set_quoted('PACKAGE_LOCALE_DIR', join_paths(g config_h.set_quoted('PACKAGE_VERSION', meson.project_version()) config_h.set_quoted('GETTEXT_PACKAGE', 'libspelling') config_h.set_quoted('PACKAGE_LOCALE_DIR', join_paths(get_option('prefix'), get_option('datadir'), 'locale')) -config_h.set10('HAVE_ENCHANT', get_option('enchant').enabled()) -+config_h.set('HAVE_ENCHANT', get_option('enchant').enabled()) ++if get_option('enchant').enabled() ++ config_h.set('HAVE_ENCHANT', 1) ++else ++ config_h.set('HAVE_ENCHANT', 0) ++endif - # Detect and set symbol visibility - if get_option('default_library') != 'static' + # libsysprof-capture support for profiling + if get_option('sysprof') diff --git a/x11-toolkits/libspelling/pkg-plist b/x11-toolkits/libspelling/pkg-plist index 9185f14a2bfe..068e5b931cb5 100644 --- a/x11-toolkits/libspelling/pkg-plist +++ b/x11-toolkits/libspelling/pkg-plist @@ -1,122 +1,177 @@ include/libspelling-1/libspelling.h include/libspelling-1/spelling-checker.h +include/libspelling-1/spelling-dictionary.h include/libspelling-1/spelling-init.h -include/libspelling-1/spelling-language-info.h include/libspelling-1/spelling-language.h include/libspelling-1/spelling-provider.h include/libspelling-1/spelling-text-buffer-adapter.h include/libspelling-1/spelling-types.h include/libspelling-1/spelling-version-macros.h include/libspelling-1/spelling-version.h lib/girepository-1.0/Spelling-1.typelib lib/libspelling-1.so -lib/libspelling-1.so.1 -lib/libspelling-1.so.1.0.0 +lib/libspelling-1.so.2 +lib/libspelling-1.so.2.0.0 libdata/pkgconfig/libspelling-1.pc %%PORTDOCS%%%%DOCSDIR%%-1/RedHatDisplay-Black.woff %%PORTDOCS%%%%DOCSDIR%%-1/RedHatDisplay-Black.woff2 %%PORTDOCS%%%%DOCSDIR%%-1/RedHatDisplay-BlackItalic.woff %%PORTDOCS%%%%DOCSDIR%%-1/RedHatDisplay-BlackItalic.woff2 %%PORTDOCS%%%%DOCSDIR%%-1/RedHatDisplay-Bold.woff %%PORTDOCS%%%%DOCSDIR%%-1/RedHatDisplay-Bold.woff2 %%PORTDOCS%%%%DOCSDIR%%-1/RedHatDisplay-BoldItalic.woff %%PORTDOCS%%%%DOCSDIR%%-1/RedHatDisplay-BoldItalic.woff2 %%PORTDOCS%%%%DOCSDIR%%-1/RedHatDisplay-Italic.woff %%PORTDOCS%%%%DOCSDIR%%-1/RedHatDisplay-Italic.woff2 %%PORTDOCS%%%%DOCSDIR%%-1/RedHatDisplay-Medium.woff %%PORTDOCS%%%%DOCSDIR%%-1/RedHatDisplay-Medium.woff2 %%PORTDOCS%%%%DOCSDIR%%-1/RedHatDisplay-MediumItalic.woff %%PORTDOCS%%%%DOCSDIR%%-1/RedHatDisplay-MediumItalic.woff2 %%PORTDOCS%%%%DOCSDIR%%-1/RedHatDisplay-Regular.woff %%PORTDOCS%%%%DOCSDIR%%-1/RedHatDisplay-Regular.woff2 %%PORTDOCS%%%%DOCSDIR%%-1/RedHatText-Bold.woff %%PORTDOCS%%%%DOCSDIR%%-1/RedHatText-Bold.woff2 %%PORTDOCS%%%%DOCSDIR%%-1/RedHatText-BoldItalic.woff %%PORTDOCS%%%%DOCSDIR%%-1/RedHatText-BoldItalic.woff2 %%PORTDOCS%%%%DOCSDIR%%-1/RedHatText-Italic.woff %%PORTDOCS%%%%DOCSDIR%%-1/RedHatText-Italic.woff2 %%PORTDOCS%%%%DOCSDIR%%-1/RedHatText-Medium.woff %%PORTDOCS%%%%DOCSDIR%%-1/RedHatText-Medium.woff2 %%PORTDOCS%%%%DOCSDIR%%-1/RedHatText-MediumItalic.woff %%PORTDOCS%%%%DOCSDIR%%-1/RedHatText-MediumItalic.woff2 %%PORTDOCS%%%%DOCSDIR%%-1/RedHatText-Regular.woff %%PORTDOCS%%%%DOCSDIR%%-1/RedHatText-Regular.woff2 %%PORTDOCS%%%%DOCSDIR%%-1/SourceCodePro-It.ttf.woff %%PORTDOCS%%%%DOCSDIR%%-1/SourceCodePro-Regular.ttf.woff %%PORTDOCS%%%%DOCSDIR%%-1/SourceCodePro-Semibold.ttf.woff %%PORTDOCS%%%%DOCSDIR%%-1/Spelling.toml %%PORTDOCS%%%%DOCSDIR%%-1/class.Checker.html +%%PORTDOCS%%%%DOCSDIR%%-1/class.Dictionary.html %%PORTDOCS%%%%DOCSDIR%%-1/class.Language.html -%%PORTDOCS%%%%DOCSDIR%%-1/class.LanguageInfo.html %%PORTDOCS%%%%DOCSDIR%%-1/class.Provider.html %%PORTDOCS%%%%DOCSDIR%%-1/class.TextBufferAdapter.html %%PORTDOCS%%%%DOCSDIR%%-1/classes_hierarchy.html %%PORTDOCS%%%%DOCSDIR%%-1/ctor.Checker.new.html %%PORTDOCS%%%%DOCSDIR%%-1/ctor.TextBufferAdapter.new.html %%PORTDOCS%%%%DOCSDIR%%-1/fonts.css %%PORTDOCS%%%%DOCSDIR%%-1/func.DEPRECATED_FOR.html %%PORTDOCS%%%%DOCSDIR%%-1/func.DEPRECATED_IN_1_0_FOR.html %%PORTDOCS%%%%DOCSDIR%%-1/func.UNAVAILABLE.html %%PORTDOCS%%%%DOCSDIR%%-1/func.init.html %%PORTDOCS%%%%DOCSDIR%%-1/fzy.js %%PORTDOCS%%%%DOCSDIR%%-1/go-up-symbolic.png %%PORTDOCS%%%%DOCSDIR%%-1/index.html %%PORTDOCS%%%%DOCSDIR%%-1/index.json %%PORTDOCS%%%%DOCSDIR%%-1/libspelling-1.devhelp2 %%PORTDOCS%%%%DOCSDIR%%-1/libspelling.svg %%PORTDOCS%%%%DOCSDIR%%-1/main.js %%PORTDOCS%%%%DOCSDIR%%-1/method.Checker.add_word.html %%PORTDOCS%%%%DOCSDIR%%-1/method.Checker.check_word.html %%PORTDOCS%%%%DOCSDIR%%-1/method.Checker.get_extra_word_chars.html %%PORTDOCS%%%%DOCSDIR%%-1/method.Checker.get_language.html %%PORTDOCS%%%%DOCSDIR%%-1/method.Checker.get_provider.html %%PORTDOCS%%%%DOCSDIR%%-1/method.Checker.ignore_word.html %%PORTDOCS%%%%DOCSDIR%%-1/method.Checker.list_corrections.html %%PORTDOCS%%%%DOCSDIR%%-1/method.Checker.set_language.html -%%PORTDOCS%%%%DOCSDIR%%-1/method.Language.add_word.html -%%PORTDOCS%%%%DOCSDIR%%-1/method.Language.contains_word.html +%%PORTDOCS%%%%DOCSDIR%%-1/method.Dictionary.add_word.html +%%PORTDOCS%%%%DOCSDIR%%-1/method.Dictionary.contains_word.html +%%PORTDOCS%%%%DOCSDIR%%-1/method.Dictionary.get_code.html +%%PORTDOCS%%%%DOCSDIR%%-1/method.Dictionary.get_extra_word_chars.html +%%PORTDOCS%%%%DOCSDIR%%-1/method.Dictionary.ignore_word.html +%%PORTDOCS%%%%DOCSDIR%%-1/method.Dictionary.list_corrections.html %%PORTDOCS%%%%DOCSDIR%%-1/method.Language.get_code.html -%%PORTDOCS%%%%DOCSDIR%%-1/method.Language.get_extra_word_chars.html -%%PORTDOCS%%%%DOCSDIR%%-1/method.Language.ignore_word.html -%%PORTDOCS%%%%DOCSDIR%%-1/method.Language.list_corrections.html -%%PORTDOCS%%%%DOCSDIR%%-1/method.LanguageInfo.get_code.html -%%PORTDOCS%%%%DOCSDIR%%-1/method.LanguageInfo.get_group.html -%%PORTDOCS%%%%DOCSDIR%%-1/method.LanguageInfo.get_name.html +%%PORTDOCS%%%%DOCSDIR%%-1/method.Language.get_group.html +%%PORTDOCS%%%%DOCSDIR%%-1/method.Language.get_name.html %%PORTDOCS%%%%DOCSDIR%%-1/method.Provider.get_default_code.html %%PORTDOCS%%%%DOCSDIR%%-1/method.Provider.get_display_name.html -%%PORTDOCS%%%%DOCSDIR%%-1/method.Provider.get_language.html %%PORTDOCS%%%%DOCSDIR%%-1/method.Provider.list_languages.html +%%PORTDOCS%%%%DOCSDIR%%-1/method.Provider.load_dictionary.html %%PORTDOCS%%%%DOCSDIR%%-1/method.Provider.supports_language.html %%PORTDOCS%%%%DOCSDIR%%-1/method.TextBufferAdapter.get_buffer.html %%PORTDOCS%%%%DOCSDIR%%-1/method.TextBufferAdapter.get_checker.html %%PORTDOCS%%%%DOCSDIR%%-1/method.TextBufferAdapter.get_enabled.html %%PORTDOCS%%%%DOCSDIR%%-1/method.TextBufferAdapter.get_language.html %%PORTDOCS%%%%DOCSDIR%%-1/method.TextBufferAdapter.get_menu_model.html %%PORTDOCS%%%%DOCSDIR%%-1/method.TextBufferAdapter.get_tag.html %%PORTDOCS%%%%DOCSDIR%%-1/method.TextBufferAdapter.invalidate_all.html %%PORTDOCS%%%%DOCSDIR%%-1/method.TextBufferAdapter.set_checker.html %%PORTDOCS%%%%DOCSDIR%%-1/method.TextBufferAdapter.set_enabled.html %%PORTDOCS%%%%DOCSDIR%%-1/method.TextBufferAdapter.set_language.html +%%PORTDOCS%%%%DOCSDIR%%-1/method.TextBufferAdapter.update_corrections.html %%PORTDOCS%%%%DOCSDIR%%-1/opensearch.xml %%PORTDOCS%%%%DOCSDIR%%-1/overview.html %%PORTDOCS%%%%DOCSDIR%%-1/property.Checker.language.html %%PORTDOCS%%%%DOCSDIR%%-1/property.Checker.provider.html +%%PORTDOCS%%%%DOCSDIR%%-1/property.Dictionary.code.html %%PORTDOCS%%%%DOCSDIR%%-1/property.Language.code.html -%%PORTDOCS%%%%DOCSDIR%%-1/property.LanguageInfo.code.html -%%PORTDOCS%%%%DOCSDIR%%-1/property.LanguageInfo.group.html -%%PORTDOCS%%%%DOCSDIR%%-1/property.LanguageInfo.name.html +%%PORTDOCS%%%%DOCSDIR%%-1/property.Language.group.html +%%PORTDOCS%%%%DOCSDIR%%-1/property.Language.name.html %%PORTDOCS%%%%DOCSDIR%%-1/property.Provider.display-name.html %%PORTDOCS%%%%DOCSDIR%%-1/property.TextBufferAdapter.buffer.html %%PORTDOCS%%%%DOCSDIR%%-1/property.TextBufferAdapter.checker.html %%PORTDOCS%%%%DOCSDIR%%-1/property.TextBufferAdapter.enabled.html %%PORTDOCS%%%%DOCSDIR%%-1/property.TextBufferAdapter.language.html %%PORTDOCS%%%%DOCSDIR%%-1/search.js %%PORTDOCS%%%%DOCSDIR%%-1/solarized-dark.css %%PORTDOCS%%%%DOCSDIR%%-1/solarized-light.css %%PORTDOCS%%%%DOCSDIR%%-1/style.css %%PORTDOCS%%%%DOCSDIR%%-1/type_func.Checker.get_default.html %%PORTDOCS%%%%DOCSDIR%%-1/type_func.Provider.get_default.html %%PORTDOCS%%%%DOCSDIR%%-1/urlmap.js share/gir-1.0/Spelling-1.gir +share/locale/ab/LC_MESSAGES/libspelling.mo +share/locale/be/LC_MESSAGES/libspelling.mo +share/locale/bg/LC_MESSAGES/libspelling.mo +share/locale/ca/LC_MESSAGES/libspelling.mo +share/locale/cs/LC_MESSAGES/libspelling.mo +share/locale/da/LC_MESSAGES/libspelling.mo +share/locale/de/LC_MESSAGES/libspelling.mo +share/locale/el/LC_MESSAGES/libspelling.mo +share/locale/en_GB/LC_MESSAGES/libspelling.mo +share/locale/eo/LC_MESSAGES/libspelling.mo +share/locale/es/LC_MESSAGES/libspelling.mo +share/locale/eu/LC_MESSAGES/libspelling.mo +share/locale/fa/LC_MESSAGES/libspelling.mo +share/locale/fi/LC_MESSAGES/libspelling.mo +share/locale/fr/LC_MESSAGES/libspelling.mo +share/locale/fur/LC_MESSAGES/libspelling.mo +share/locale/gl/LC_MESSAGES/libspelling.mo +share/locale/he/LC_MESSAGES/libspelling.mo +share/locale/hi/LC_MESSAGES/libspelling.mo +share/locale/hr/LC_MESSAGES/libspelling.mo +share/locale/hu/LC_MESSAGES/libspelling.mo +share/locale/ia/LC_MESSAGES/libspelling.mo +share/locale/id/LC_MESSAGES/libspelling.mo +share/locale/ie/LC_MESSAGES/libspelling.mo +share/locale/is/LC_MESSAGES/libspelling.mo +share/locale/it/LC_MESSAGES/libspelling.mo +share/locale/ja/LC_MESSAGES/libspelling.mo +share/locale/ka/LC_MESSAGES/libspelling.mo +share/locale/kab/LC_MESSAGES/libspelling.mo +share/locale/kk/LC_MESSAGES/libspelling.mo +share/locale/ko/LC_MESSAGES/libspelling.mo +share/locale/lt/LC_MESSAGES/libspelling.mo +share/locale/lv/LC_MESSAGES/libspelling.mo +share/locale/nb/LC_MESSAGES/libspelling.mo +share/locale/ne/LC_MESSAGES/libspelling.mo +share/locale/nl/LC_MESSAGES/libspelling.mo +share/locale/oc/LC_MESSAGES/libspelling.mo +share/locale/pa/LC_MESSAGES/libspelling.mo +share/locale/pl/LC_MESSAGES/libspelling.mo +share/locale/pt/LC_MESSAGES/libspelling.mo +share/locale/pt_BR/LC_MESSAGES/libspelling.mo +share/locale/ro/LC_MESSAGES/libspelling.mo +share/locale/ru/LC_MESSAGES/libspelling.mo +share/locale/sk/LC_MESSAGES/libspelling.mo +share/locale/sl/LC_MESSAGES/libspelling.mo +share/locale/sr/LC_MESSAGES/libspelling.mo +share/locale/sv/LC_MESSAGES/libspelling.mo +share/locale/th/LC_MESSAGES/libspelling.mo +share/locale/tr/LC_MESSAGES/libspelling.mo +share/locale/uk/LC_MESSAGES/libspelling.mo +share/locale/uz/LC_MESSAGES/libspelling.mo +share/locale/vi/LC_MESSAGES/libspelling.mo +share/locale/zh_CN/LC_MESSAGES/libspelling.mo +share/locale/zh_TW/LC_MESSAGES/libspelling.mo share/vala/vapi/libspelling-1.deps share/vala/vapi/libspelling-1.vapi