pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45455: Patch to add grammar-checking functionality to editors/abiword-plugins



>Number:         45455
>Category:       pkg
>Synopsis:       Patch to add grammar-checking functionality to 
>editors/abiword-plugins
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 12 04:55:01 +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.)



Home | Main Index | Thread Index | Old Index