[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-ports
Subject:    Re: [UPDATE] textproc/hunspell
From:       Jiri B <jirib () devio ! us>
Date:       2015-03-31 16:17:13
Message-ID: 20150331161713.GC9171 () wolfman ! devio ! us
[Download RAW message or body]

Updated hunspell diff.

(Hm, I see following warnings when using hunspell against
my UTF-8 Czech file and Czech dicts.)

cvs server: Diffing hunspell/
Index: hunspell//Makefile
===================================================================
RCS file: /cvs/ports/textproc/hunspell/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- hunspell//Makefile	22 Jun 2013 09:31:51 -0000	1.10
+++ hunspell//Makefile	31 Mar 2015 16:12:58 -0000
@@ -2,8 +2,7 @@
 
 COMMENT =	spelling, stemming, morphological analysis and generation
 
-DISTNAME =	hunspell-1.3.2
-REVISION =	0
+DISTNAME =	hunspell-1.3.3
 
 SHARED_LIBS =	hunspell-1.3 	0.0 #	.0.0
 
@@ -33,6 +32,10 @@ CONFIGURE_ARGS =	${CONFIGURE_SHARED} \
 RUN_DEPENDS =		textproc/mozilla-dicts/en-GB
 
 TEST_DEPENDS =	shells/bash
+
+post-extract:
+	perl -i -pe 's!/usr!${PREFIX}!g;' \
+		${WRKSRC}/man{,/hu}/hunspell.1
 
 pre-configure:
 	${SUBST_CMD} ${WRKSRC}/tests/test.sh \
Index: hunspell//distinfo
===================================================================
RCS file: /cvs/ports/textproc/hunspell/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- hunspell//distinfo	21 Mar 2013 08:57:49 -0000	1.3
+++ hunspell//distinfo	31 Mar 2015 16:12:58 -0000
@@ -1,2 +1,2 @@
-SHA256 (hunspell-1.3.2.tar.gz) = tO3UpO6UTLn0hbNUc+Rrcp7XaOnSTajnjkxMbKVq3b0=
-SIZE (hunspell-1.3.2.tar.gz) = 975917
+SHA256 (hunspell-1.3.3.tar.gz) = p7LA3g4s4XQmgh3BrI6xFQKZWbOtqdgKgXOfoZNzJGw=
+SIZE (hunspell-1.3.3.tar.gz) = 986081
cvs server: Diffing hunspell//patches
Index: hunspell//patches/patch-man_hu_hunspell_1
===================================================================
RCS file: hunspell//patches/patch-man_hu_hunspell_1
diff -N hunspell//patches/patch-man_hu_hunspell_1
--- hunspell//patches/patch-man_hu_hunspell_1	14 Nov 2010 14:25:23 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,40 +0,0 @@
-$OpenBSD: patch-man_hu_hunspell_1,v 1.2 2010/11/14 14:25:23 sthen Exp $
---- man/hu/hunspell.1.orig	Tue Feb 23 10:08:52 2010
-+++ man/hu/hunspell.1	Sat Sep 25 11:39:53 2010
-@@ -65,12 +65,12 @@ a javaslattevést). Az első szótár mindig alapszót
- .PP
- Az alapértelmezett szótár a környezet nyelvi beállításától függ
- az Unix rendszereken. Locale hiányában a
--.BR /usr/share/hunspell/default
-+.BR ${PREFIX}/share/hunspell/default
- az alapértelmezett szótár. 
- .PP
- A megadott útvonal lehet abszolút és relatív is. Relatív
- útvonal esetén először az aktuális, majd a
--.BR /usr/share/hunspell
-+.BR ${PREFIX}/share/hunspell
- és még több más könyvtárban keresi a szótárt a program. L. \-D és a
- .BR PÉLDÁK.
- .TP
-@@ -307,7 +307,7 @@ macka
- .TP
- .B hunspell \-d en_US english.html
- Az amerikai angol helyesírási szótár kiválasztása (aktuális, vagy a
--.BR /usr/share/hunspell
-+.BR ${PREFIX}/share/hunspell
- könyvtárból.
- .TP
- .B hunspell \-d /opt/OpenOffice.org1.0.1/share/dict/ooo/de_DE
-@@ -335,10 +335,10 @@ A saját szótár helyének megadására szolgál. Sze
- .I \-p
- kapcsolóval.
- .SH ÁLLOMÁNYOK
--.BI /usr/share/default.aff
-+.BI ${PREFIX}/share/default.aff
- Az alapértelmezett ragozási táblázat. Lásd hunspell(4).
- .PP
--.BI /usr/share/default.dic
-+.BI ${PREFIX}/share/default.dic
- Az alapértelmezett szótár az előző ragozási táblázathoz.
- Lásd hunspell(4).
- .BI $HOME/.hunspell_default
Index: hunspell//patches/patch-man_hunspell_1
===================================================================
RCS file: hunspell//patches/patch-man_hunspell_1
diff -N hunspell//patches/patch-man_hunspell_1
--- hunspell//patches/patch-man_hunspell_1	21 Mar 2013 08:57:49 -0000	1.3
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,16 +0,0 @@
-$OpenBSD: patch-man_hunspell_1,v 1.3 2013/03/21 08:57:49 fgsch Exp $
---- man/hunspell.1.orig	Fri Jan 21 16:53:05 2011
-+++ man/hunspell.1	Tue Mar  5 20:17:54 2013
-@@ -369,10 +369,10 @@ following environment variables are searched: LC_ALL,
- LC_MESSAGES, and LANG. If none are set then the following
- fallbacks are used:
- 
--.BI /usr/share/myspell/default.aff
-+.BI ${PREFIX}/share/myspell/default.aff
- Path of default affix file. See hunspell(4).
- .PP
--.BI /usr/share/myspell/default.dic
-+.BI ${PREFIX}/share/myspell/default.dic
- Path of default dictionary file.
- See hunspell(4).
- .PP
Index: hunspell//patches/patch-src_tools_hunspell_cxx
===================================================================
RCS file: /cvs/ports/textproc/hunspell/patches/patch-src_tools_hunspell_cxx,v
retrieving revision 1.3
diff -u -p -r1.3 patch-src_tools_hunspell_cxx
--- hunspell//patches/patch-src_tools_hunspell_cxx	21 Mar 2013 08:57:49 -0000	1.3
+++ hunspell//patches/patch-src_tools_hunspell_cxx	31 Mar 2015 16:12:58 -0000
@@ -1,8 +1,8 @@
 $OpenBSD: patch-src_tools_hunspell_cxx,v 1.3 2013/03/21 08:57:49 fgsch Exp $
---- src/tools/hunspell.cxx.orig	Fri Jan 21 17:01:29 2011
-+++ src/tools/hunspell.cxx	Tue Mar  5 22:56:02 2013
-@@ -61,28 +61,14 @@
- #include "firstparser.hxx"
+--- src/tools/hunspell.cxx.orig	Mon Jun  2 13:35:50 2014
++++ src/tools/hunspell.cxx	Tue Mar 31 17:45:48 2015
+@@ -68,28 +68,14 @@
+ #include "odfparser.hxx"
  
  #define LIBDIR \
 -    "/usr/share/hunspell:" \
@@ -18,7 +18,7 @@ $OpenBSD: patch-src_tools_hunspell_cxx,v
 -    ".openoffice.org2/user/wordbook:" \
 -    ".openoffice.org2.0/user/wordbook:" \
 -    "Library/Spelling"
-+    ".config/libreoffice/3/user/wordbook"
++    ".config/libreoffice/4/user/wordbook"
  #define OOODIR \
 -    "/opt/openoffice.org/basis3.0/share/dict/ooo:" \
 -    "/usr/lib/openoffice.org/basis3.0/share/dict/ooo:" \
cvs server: Diffing hunspell//pkg
Index: hunspell//pkg/PLIST
===================================================================
RCS file: /cvs/ports/textproc/hunspell/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- hunspell//pkg/PLIST	21 Mar 2013 08:57:49 -0000	1.3
+++ hunspell//pkg/PLIST	31 Mar 2015 16:12:58 -0000
@@ -33,19 +33,15 @@ include/hunspell/w_char.hxx
 lib/libhunspell-1.3.a
 lib/libhunspell-1.3.la
 @lib lib/libhunspell-1.3.so.${LIBhunspell-1.3_VERSION}
-lib/libparsers.a
-lib/pkgconfig/
 lib/pkgconfig/hunspell.pc
 man/hu/
 man/hu/man1/
 @man man/hu/man1/hunspell.1
-man/hu/man4/
-@man man/hu/man4/hunspell.4
 @man man/man1/hunspell.1
 @man man/man1/hunzip.1
 @man man/man1/hzip.1
 @man man/man3/hunspell.3
-@man man/man4/hunspell.4
+@man man/man5/hunspell.5
 share/hunspell/
 share/hunspell/default.aff
 share/hunspell/default.dic

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic