diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2018-11-27 20:32:06 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2018-11-27 20:32:06 +0000 |
commit | d24c5d37937526197f2a229fa08f47d14d594bad (patch) | |
tree | ddca4c48087c2b278e23d90e95a603088ac5a599 /www/gtkhtml314 | |
parent | 7b97234901a508483b2ffccd1a43330d9a2a3883 (diff) | |
download | pkgsrc-d24c5d37937526197f2a229fa08f47d14d594bad.tar.gz |
Port gtkhtml314 to enchant2, bump revision.
Diffstat (limited to 'www/gtkhtml314')
-rw-r--r-- | www/gtkhtml314/Makefile | 6 | ||||
-rw-r--r-- | www/gtkhtml314/buildlink3.mk | 4 | ||||
-rw-r--r-- | www/gtkhtml314/distinfo | 3 | ||||
-rw-r--r-- | www/gtkhtml314/patches/patch-components_editor_gtkhtml-spell-checker.c | 15 |
4 files changed, 22 insertions, 6 deletions
diff --git a/www/gtkhtml314/Makefile b/www/gtkhtml314/Makefile index 0b9bf517cb1..5917ea895e1 100644 --- a/www/gtkhtml314/Makefile +++ b/www/gtkhtml314/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.89 2018/11/14 22:22:36 kleink Exp $ +# $NetBSD: Makefile,v 1.90 2018/11/27 20:32:06 bsiegert Exp $ # # PKGNAME derives from the supported API (still from # release 3.14). See also PLIST. @@ -6,7 +6,7 @@ DISTNAME= gtkhtml-3.32.2 PKGNAME= ${DISTNAME:S/gtkhtml/gtkhtml314/} -PKGREVISION= 44 +PKGREVISION= 45 CATEGORIES= www gnome MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtkhtml/3.32/} EXTRACT_SUFX= .tar.bz2 @@ -31,7 +31,7 @@ PKGCONFIG_OVERRIDE+= gtkhtml/libgtkhtml.pc.in .include "../../graphics/gnome-icon-theme/buildlink3.mk" .include "../../net/ORBit2/buildlink3.mk" .include "../../net/libsoup/buildlink3.mk" -.include "../../textproc/enchant/buildlink3.mk" +.include "../../textproc/enchant2/buildlink3.mk" .include "../../textproc/iso-codes/buildlink3.mk" .include "../../x11/gtk2/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/gtkhtml314/buildlink3.mk b/www/gtkhtml314/buildlink3.mk index b149af98792..3e17deaabe8 100644 --- a/www/gtkhtml314/buildlink3.mk +++ b/www/gtkhtml314/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.20 2012/09/15 10:06:46 obache Exp $ +# $NetBSD: buildlink3.mk,v 1.21 2018/11/27 20:32:06 bsiegert Exp $ BUILDLINK_TREE+= gtkhtml314 @@ -10,7 +10,7 @@ BUILDLINK_ABI_DEPENDS.gtkhtml314+= gtkhtml314>=3.32.2nb9 BUILDLINK_PKGSRCDIR.gtkhtml314?= ../../www/gtkhtml314 .include "../../devel/GConf/buildlink3.mk" -.include "../../textproc/enchant/buildlink3.mk" +.include "../../textproc/enchant2/buildlink3.mk" .include "../../textproc/iso-codes/buildlink3.mk" .endif # GTKHTML314_BUILDLINK3_MK diff --git a/www/gtkhtml314/distinfo b/www/gtkhtml314/distinfo index c6436f210eb..a70e0eaa392 100644 --- a/www/gtkhtml314/distinfo +++ b/www/gtkhtml314/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.29 2015/11/04 02:46:54 agc Exp $ +$NetBSD: distinfo,v 1.30 2018/11/27 20:32:06 bsiegert Exp $ SHA1 (gtkhtml-3.32.2.tar.bz2) = db8a943ddeec0b86766e671e8f8c427706dbcdd4 RMD160 (gtkhtml-3.32.2.tar.bz2) = b71afbd07c658c2ec6ac285cc428ac1943d39e46 SHA512 (gtkhtml-3.32.2.tar.bz2) = a641a6e2208ad9db9ab3c3dc4696cf010b70f64d302b6f889a275db396544570ee5c894835a18ea94699375d0e2fd91fd7414a0546ce5f62bcb6d603d331b1d5 Size (gtkhtml-3.32.2.tar.bz2) = 1217025 bytes +SHA1 (patch-components_editor_gtkhtml-spell-checker.c) = 4d10e8b18ec7ecb7db1105f91bd5eed996b6accc diff --git a/www/gtkhtml314/patches/patch-components_editor_gtkhtml-spell-checker.c b/www/gtkhtml314/patches/patch-components_editor_gtkhtml-spell-checker.c new file mode 100644 index 00000000000..f4d0cc99732 --- /dev/null +++ b/www/gtkhtml314/patches/patch-components_editor_gtkhtml-spell-checker.c @@ -0,0 +1,15 @@ +$NetBSD: patch-components_editor_gtkhtml-spell-checker.c,v 1.1 2018/11/27 20:32:06 bsiegert Exp $ + +Replace deprecated function (removed in enchant2). + +--- components/editor/gtkhtml-spell-checker.c.orig 2010-09-13 12:16:10.000000000 +0000 ++++ components/editor/gtkhtml-spell-checker.c +@@ -376,7 +376,7 @@ gtkhtml_spell_checker_add_word (GtkhtmlS + if ((dict = spell_checker_request_dict (checker)) == NULL) + return; + +- enchant_dict_add_to_pwl (dict, word, length); ++ enchant_dict_add (dict, word, length); + g_signal_emit (G_OBJECT (checker), signals[ADDED], 0, word, length); + } + |