Port gtkhtml314 to enchant2, bump revision.diff -r1.89 -r1.90 pkgsrc/www/gtkhtml314/Makefile
(bsiegert)
@@ -1,37 +1,37 @@ | @@ -1,37 +1,37 @@ | |||
1 | # $NetBSD: Makefile,v 1.89 2018/11/14 22:22:36 kleink Exp $ | 1 | # $NetBSD: Makefile,v 1.90 2018/11/27 20:32:06 bsiegert Exp $ | |
2 | # | 2 | # | |
3 | # PKGNAME derives from the supported API (still from | 3 | # PKGNAME derives from the supported API (still from | |
4 | # release 3.14). See also PLIST. | 4 | # release 3.14). See also PLIST. | |
5 | # | 5 | # | |
6 | 6 | |||
7 | DISTNAME= gtkhtml-3.32.2 | 7 | DISTNAME= gtkhtml-3.32.2 | |
8 | PKGNAME= ${DISTNAME:S/gtkhtml/gtkhtml314/} | 8 | PKGNAME= ${DISTNAME:S/gtkhtml/gtkhtml314/} | |
9 | PKGREVISION= 44 | 9 | PKGREVISION= 45 | |
10 | CATEGORIES= www gnome | 10 | CATEGORIES= www gnome | |
11 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtkhtml/3.32/} | 11 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtkhtml/3.32/} | |
12 | EXTRACT_SUFX= .tar.bz2 | 12 | EXTRACT_SUFX= .tar.bz2 | |
13 | 13 | |||
14 | MAINTAINER= pkgsrc-users@NetBSD.org | 14 | MAINTAINER= pkgsrc-users@NetBSD.org | |
15 | HOMEPAGE= https://www.gnome.org/ | 15 | HOMEPAGE= https://www.gnome.org/ | |
16 | COMMENT= Lightweight HTML rendering/printing/editing engine | 16 | COMMENT= Lightweight HTML rendering/printing/editing engine | |
17 | LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2 | 17 | LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2 | |
18 | 18 | |||
19 | GNU_CONFIGURE= yes | 19 | GNU_CONFIGURE= yes | |
20 | CONFIGURE_ARGS+= --disable-deprecated_warning_flags | 20 | CONFIGURE_ARGS+= --disable-deprecated_warning_flags | |
21 | USE_LIBTOOL= yes | 21 | USE_LIBTOOL= yes | |
22 | USE_PKGLOCALEDIR= yes | 22 | USE_PKGLOCALEDIR= yes | |
23 | USE_TOOLS+= gmake intltool msgfmt pkg-config | 23 | USE_TOOLS+= gmake intltool msgfmt pkg-config | |
24 | 24 | |||
25 | PKGCONFIG_OVERRIDE+= components/editor/gtkhtml-editor.pc.in | 25 | PKGCONFIG_OVERRIDE+= components/editor/gtkhtml-editor.pc.in | |
26 | PKGCONFIG_OVERRIDE+= gtkhtml/libgtkhtml.pc.in | 26 | PKGCONFIG_OVERRIDE+= gtkhtml/libgtkhtml.pc.in | |
27 | 27 | |||
28 | .include "../../devel/gettext-lib/buildlink3.mk" | 28 | .include "../../devel/gettext-lib/buildlink3.mk" | |
29 | .include "../../devel/GConf/buildlink3.mk" | 29 | .include "../../devel/GConf/buildlink3.mk" | |
30 | .include "../../devel/pango/buildlink3.mk" | 30 | .include "../../devel/pango/buildlink3.mk" | |
31 | .include "../../graphics/gnome-icon-theme/buildlink3.mk" | 31 | .include "../../graphics/gnome-icon-theme/buildlink3.mk" | |
32 | .include "../../net/ORBit2/buildlink3.mk" | 32 | .include "../../net/ORBit2/buildlink3.mk" | |
33 | .include "../../net/libsoup/buildlink3.mk" | 33 | .include "../../net/libsoup/buildlink3.mk" | |
34 | .include "../../textproc/enchant/buildlink3.mk" | 34 | .include "../../textproc/enchant2/buildlink3.mk" | |
35 | .include "../../textproc/iso-codes/buildlink3.mk" | 35 | .include "../../textproc/iso-codes/buildlink3.mk" | |
36 | .include "../../x11/gtk2/buildlink3.mk" | 36 | .include "../../x11/gtk2/buildlink3.mk" | |
37 | .include "../../mk/bsd.pkg.mk" | 37 | .include "../../mk/bsd.pkg.mk" |
@@ -1,17 +1,17 @@ | @@ -1,17 +1,17 @@ | |||
1 | # $NetBSD: buildlink3.mk,v 1.20 2012/09/15 10:06:46 obache Exp $ | 1 | # $NetBSD: buildlink3.mk,v 1.21 2018/11/27 20:32:06 bsiegert Exp $ | |
2 | 2 | |||
3 | BUILDLINK_TREE+= gtkhtml314 | 3 | BUILDLINK_TREE+= gtkhtml314 | |
4 | 4 | |||
5 | .if !defined(GTKHTML314_BUILDLINK3_MK) | 5 | .if !defined(GTKHTML314_BUILDLINK3_MK) | |
6 | GTKHTML314_BUILDLINK3_MK:= | 6 | GTKHTML314_BUILDLINK3_MK:= | |
7 | 7 | |||
8 | BUILDLINK_API_DEPENDS.gtkhtml314+= gtkhtml314>=3.24.0 | 8 | BUILDLINK_API_DEPENDS.gtkhtml314+= gtkhtml314>=3.24.0 | |
9 | BUILDLINK_ABI_DEPENDS.gtkhtml314+= gtkhtml314>=3.32.2nb9 | 9 | BUILDLINK_ABI_DEPENDS.gtkhtml314+= gtkhtml314>=3.32.2nb9 | |
10 | BUILDLINK_PKGSRCDIR.gtkhtml314?= ../../www/gtkhtml314 | 10 | BUILDLINK_PKGSRCDIR.gtkhtml314?= ../../www/gtkhtml314 | |
11 | 11 | |||
12 | .include "../../devel/GConf/buildlink3.mk" | 12 | .include "../../devel/GConf/buildlink3.mk" | |
13 | .include "../../textproc/enchant/buildlink3.mk" | 13 | .include "../../textproc/enchant2/buildlink3.mk" | |
14 | .include "../../textproc/iso-codes/buildlink3.mk" | 14 | .include "../../textproc/iso-codes/buildlink3.mk" | |
15 | .endif # GTKHTML314_BUILDLINK3_MK | 15 | .endif # GTKHTML314_BUILDLINK3_MK | |
16 | 16 | |||
17 | BUILDLINK_TREE+= -gtkhtml314 | 17 | BUILDLINK_TREE+= -gtkhtml314 |
@@ -1,6 +1,7 @@ | @@ -1,6 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.29 2015/11/04 02:46:54 agc Exp $ | 1 | $NetBSD: distinfo,v 1.30 2018/11/27 20:32:06 bsiegert Exp $ | |
2 | 2 | |||
3 | SHA1 (gtkhtml-3.32.2.tar.bz2) = db8a943ddeec0b86766e671e8f8c427706dbcdd4 | 3 | SHA1 (gtkhtml-3.32.2.tar.bz2) = db8a943ddeec0b86766e671e8f8c427706dbcdd4 | |
4 | RMD160 (gtkhtml-3.32.2.tar.bz2) = b71afbd07c658c2ec6ac285cc428ac1943d39e46 | 4 | RMD160 (gtkhtml-3.32.2.tar.bz2) = b71afbd07c658c2ec6ac285cc428ac1943d39e46 | |
5 | SHA512 (gtkhtml-3.32.2.tar.bz2) = a641a6e2208ad9db9ab3c3dc4696cf010b70f64d302b6f889a275db396544570ee5c894835a18ea94699375d0e2fd91fd7414a0546ce5f62bcb6d603d331b1d5 | 5 | SHA512 (gtkhtml-3.32.2.tar.bz2) = a641a6e2208ad9db9ab3c3dc4696cf010b70f64d302b6f889a275db396544570ee5c894835a18ea94699375d0e2fd91fd7414a0546ce5f62bcb6d603d331b1d5 | |
6 | Size (gtkhtml-3.32.2.tar.bz2) = 1217025 bytes | 6 | Size (gtkhtml-3.32.2.tar.bz2) = 1217025 bytes | |
7 | SHA1 (patch-components_editor_gtkhtml-spell-checker.c) = 4d10e8b18ec7ecb7db1105f91bd5eed996b6accc |
$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);
}