Brad [2006-07-12, 13:21:39]:
> On Wed, Jul 12, 2006 at 10:35:25AM -0600, Chris Kuethe wrote:
> > On 7/12/06, steven mestdagh <[EMAIL PROTECTED]> wrote:
> > >I'm still seeing the error "Could not load the dictionary for the
> > >English (US) [en-US] language" soon after I start typing.
> > >
> > >when selecting edit/preferences, the following warning appears
> > >(abiword:28186): libglade-WARNING **: Could not load support for
> > >`gnome': File not found
> > >
> > >I did some light testing on amd64, it seems to be working reasonably ok.
> >
> > quoth ktrace:
> > 5859 AbiWord-2.4 NAMI "/home/ckuethe/.AbiSuite/dictionary/american.hash"
> > 5859 AbiWord-2.4 NAMI
> > "/usr/local/share/AbiSuite-2.4/dictionary/american.hash"
> >
> > A few symlinks did the trick.
> > # mkdir -p ~/.AbiSuite/dictionary
> > # rm -f ~/.AbiSuite/dictionary/*hash
> > # ln -s /usr/local/lib/ispell/*hash ~/.AbiSuite/dictionary/
>
> To me that just seems so wrong. Abiword should be able to find
> the dictionaries in the default location, without any end-user
> interaction, unless of course the end-user wanted to override
> the default dictionaries.
the american.hash provided by abiword gives illegal hash format errors,
that's probably why it was commented in PLIST.
i think we can safely put a symlink in the share/AbiSuite... directory.
then users can still override stuff in their ~/.AbiSuite dir.
Index: Makefile
===================================================================
RCS file: /cvs/ports/editors/abiword/Makefile,v
retrieving revision 1.54
diff -u -r1.54 Makefile
--- Makefile 2006/06/13 13:22:36 1.54
+++ Makefile 2006/07/15 12:17:43
@@ -2,10 +2,9 @@
COMMENT= "free cross-platform WYSIWYG word processor"
-VERSION= 2.4.4
+VERSION= 2.4.5
MAJORVER= ${VERSION:C/..$//}
DISTNAME= abiword-${VERSION}
-PKGNAME= ${DISTNAME}p0
CATEGORIES= editors
HOMEPAGE= http://www.abisource.com/
@@ -13,7 +12,7 @@
MODULES= devel/gettext
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
-
+RUN_DEPENDS= :ispell-*:textproc/ispell
LIB_DEPENDS= fribidi::devel/fribidi \
gdk-x11-2.0.0.0,gdk_pixbuf-2.0.0.0,gtk-x11-2.0.0.0::x11/gtk+2 \
gnomeprintui-2-2::x11/gnome/libgnomeprintui
@@ -70,5 +69,8 @@
${PREFIX}/share/doc/abiword/Manual
cd ${WRKDIST}/abiword-docs/Tutorials && tar cf - jmp klw | \
tar xf - -C ${PREFIX}/share/doc/abiword/Tutorials
+ rm -f ${PREFIX}/share/AbiSuite-2.4/dictionary/american.hash
+ ln -s ${LOCALBASE}/lib/ispell/american.hash \
+ ${PREFIX}/share/AbiSuite-2.4/dictionary/american.hash
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/editors/abiword/distinfo,v
retrieving revision 1.15
diff -u -r1.15 distinfo
--- distinfo 2006/04/19 13:36:50 1.15
+++ distinfo 2006/07/15 12:17:43
@@ -1,4 +1,4 @@
-MD5 (abiword-2.4.4.tar.gz) = 5a2710c2ed89608f30fa8dbed001719c
-RMD160 (abiword-2.4.4.tar.gz) = 122fb06bc19a209e05249c5bb6188ea55cfbea83
-SHA1 (abiword-2.4.4.tar.gz) = 37e66143d889adb9937137a243f7e29b9b643fab
-SIZE (abiword-2.4.4.tar.gz) = 30215680
+MD5 (abiword-2.4.5.tar.gz) = e05f15936535c4b737deaa721adf8d09
+RMD160 (abiword-2.4.5.tar.gz) = a64dec6f13de03ca34d4a41842d0a58e3c77d823
+SHA1 (abiword-2.4.5.tar.gz) = 958a7e1778b1379ebb0c4eebd14898ef591a8a16
+SIZE (abiword-2.4.5.tar.gz) = 30465183
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/editors/abiword/pkg/PLIST,v
retrieving revision 1.17
diff -u -r1.17 PLIST
--- pkg/PLIST 2005/10/19 22:24:12 1.17
+++ pkg/PLIST 2006/07/15 12:17:43
@@ -75,6 +75,7 @@
share/AbiSuite-${MAJORVER}/AbiWord/strings/ga-IE.strings
share/AbiSuite-${MAJORVER}/AbiWord/strings/gl-ES.strings
share/AbiSuite-${MAJORVER}/AbiWord/strings/he-IL.strings
+share/AbiSuite-${MAJORVER}/AbiWord/strings/hr-HR.strings
share/AbiSuite-${MAJORVER}/AbiWord/strings/hu-HU.strings
share/AbiSuite-${MAJORVER}/AbiWord/strings/id-ID.strings
share/AbiSuite-${MAJORVER}/AbiWord/strings/it-IT.strings
@@ -88,6 +89,7 @@
share/AbiSuite-${MAJORVER}/AbiWord/strings/mk-MK.strings
share/AbiSuite-${MAJORVER}/AbiWord/strings/ms-MY.strings
share/AbiSuite-${MAJORVER}/AbiWord/strings/nb-NO.strings
+share/AbiSuite-${MAJORVER}/AbiWord/strings/ne-NP.strings
share/AbiSuite-${MAJORVER}/AbiWord/strings/nl-NL.strings
share/AbiSuite-${MAJORVER}/AbiWord/strings/nn-NO.strings
share/AbiSuite-${MAJORVER}/AbiWord/strings/pl-PL.strings
@@ -208,7 +210,7 @@
share/AbiSuite-${MAJORVER}/clipart/weather.png
share/AbiSuite-${MAJORVER}/clipart/write.png
share/AbiSuite-${MAJORVER}/dictionary/
[EMAIL PROTECTED] share/AbiSuite-${MAJORVER}/dictionary/american.hash
+share/AbiSuite-${MAJORVER}/dictionary/american.hash
share/AbiSuite-${MAJORVER}/dictionary/ispell_dictionary_list.xml
share/AbiSuite-${MAJORVER}/icons/
share/AbiSuite-${MAJORVER}/icons/abiword_16.xpm
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm