NetBSD Problem Report #45455

From www@NetBSD.org  Wed Oct 12 04:50:18 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 1D08563D4F6
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 12 Oct 2011 04:50:18 +0000 (UTC)
Message-Id: <20111012045017.4763263B955@www.NetBSD.org>
Date: Wed, 12 Oct 2011 04:50:17 +0000 (UTC)
From: dhgutteridge@sympatico.ca
Reply-To: dhgutteridge@sympatico.ca
To: gnats-bugs@NetBSD.org
Subject: Patch to add grammar-checking functionality to editors/abiword-plugins
X-Send-Pr-Version: www-1.0

>Number:         45455
>Category:       pkg
>Synopsis:       Patch to add grammar-checking functionality to editors/abiword-plugins
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    adam
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 12 04:55:01 +0000 2011
>Last-Modified:  Wed Oct 12 04:59:16 +0000 2011
>Originator:     David H. Gutteridge
>Release:        Many
>Organization:
>Environment:
>Description:
The grammar-checking plug-in is easily enabled in Abiword with the
following trivial patches.  (The thesaurus plug-in can also be added
with other patches I can supply, if someone can look at my PR 44878,
which addresses the inclusion of the GTK component of aiksaurus, a
dependency of the thesaurus plug-in.)

Dave
>How-To-Repeat:

>Fix:
(editors/abiword Makefile:)

--- Makefile	2011-10-12 00:32:10.000000000 -0400
+++ Makefile.new	2011-10-12 00:26:13.000000000 -0400
@@ -17,7 +17,6 @@
 REPLACE_SH+=	${WRKDIR}/${DISTNAME}/abiword-docs/make-html.sh
 REPLACE_PERL+=	user/wp/scripts/abw2html.pl

-.include "../../textproc/enchant/buildlink3.mk"
 .include "../../databases/shared-mime-info/mimedb.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../mk/bsd.pkg.mk"

(editors/abiword Makefile.common:)

--- Makefile.common	2011-10-12 00:32:10.000000000 -0400
+++ Makefile.common.new	2011-10-12 00:26:31.000000000 -0400
@@ -37,5 +37,6 @@
 .include "../../graphics/png/buildlink3.mk"
 .include "../../print/libgnomeprintui/buildlink3.mk"
 .include "../../sysutils/gnome-vfs/buildlink3.mk"
+.include "../../textproc/enchant/buildlink3.mk"

 .include "../../mk/pthread.buildlink3.mk"

(editors/abiword-plugins Makefile:)

--- Makefile	2011-10-12 00:35:09.000000000 -0400
+++ Makefile.new	2011-10-12 00:27:56.000000000 -0400
@@ -13,8 +13,8 @@
 .include "../../mk/bsd.prefs.mk"

 # disabled plugins:
-#  aiksaurus mathview ots gda goffice grammar psiconv rsvg wordperfect wpg
-CONFIGURE_ARGS+=	--enable-plugins="applix babelfish bmp clarisworks collab command docbook eml freetranslation garble gdict gimp google hancom hrtext iscii kword latex loadbindings mht mif mswrite opendocument openwriter openxml opml paint passepartout pdb pdf presentation s5 sdw t602 urldict wikipedia wmf wml xslfo"
+#  aiksaurus mathview ots gda goffice psiconv rsvg wordperfect wpg
+CONFIGURE_ARGS+=	--enable-plugins="applix babelfish bmp clarisworks collab command docbook eml freetranslation garble gdict gimp google grammar hancom hrtext iscii kword latex loadbindings mht mif mswrite opendocument openwriter openxml opml paint passepartout pdb pdf presentation s5 sdw t602 urldict wikipedia wmf wml xslfo"

 BUILD_DIRS=	plugins

@@ -26,5 +26,5 @@
 .include "../../devel/boost-headers/buildlink3.mk"
 #.include "../../textproc/aiksaurus/buildlink3.mk"
 .include "../../textproc/libxslt/buildlink3.mk"
-#.include "../../textproc/link-grammar/buildlink3.mk"
+.include "../../textproc/link-grammar/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

(editors/abiword-plugins PLIST:)

--- PLIST	2011-10-12 00:32:39.000000000 -0400
+++ PLIST.new	2011-10-12 00:27:24.000000000 -0400
@@ -12,6 +12,7 @@
 lib/abiword-2.8/plugins/gdict.la
 lib/abiword-2.8/plugins/gimp.la
 lib/abiword-2.8/plugins/google.la
+lib/abiword-2.8/plugins/grammar.la
 lib/abiword-2.8/plugins/hancom.la
 lib/abiword-2.8/plugins/hrtext.la
 lib/abiword-2.8/plugins/iscii.la

(In summary, the grammar plug-in depends on enchant as well.)

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->adam
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Wed, 12 Oct 2011 04:59:16 +0000
Responsible-Changed-Why:
Over to maintainer.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.