1
0
forked from ports/opt

koffice libwv2 libwpd wordnet: import from CLC

This commit is contained in:
Nick Steeves 2005-12-14 09:48:50 +00:00
parent 8f3353ddfa
commit 0d9da856c7
14 changed files with 4272 additions and 0 deletions

3902
koffice/.footprint Normal file

File diff suppressed because it is too large Load Diff

1
koffice/.md5sum Normal file
View File

@ -0,0 +1 @@
6b456fb7d54c84b11396b27a96ae0cf8 koffice-1.4.2.tar.bz2

19
koffice/Pkgfile Normal file
View File

@ -0,0 +1,19 @@
# Description: KDE Integrated Office Suite
# Maintainer: sten, nick dot steeves at shaw dot ca
# Packager:
# URL: http://www.koffice.org/
# Depends on: kdebase, imagemagick, libwv2, python, aspell, libwpd, wordnet, tetex
name=koffice
version=1.4.2
release=1
source=(http://download.kde.org/stable/$name-$version/src/$name-$version.tar.bz2)
build(){
cd $name-$version
./configure --prefix=/usr \
--enable-final
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/doc
}

41
koffice/README Normal file
View File

@ -0,0 +1,41 @@
Recommended dependencies:
libwv2 (needed for anything resembling decent .doc support)
libwpd (needed to import Wordperfect documents)
wordnet (run-time dependency of kthesaurus. It is very, very useful imho)
imagemagick (adds proper image support)
Optional dependencies:
tetex (needed for writing of TeX documents)
note: as of koffice-1.3.3, reading TeX documents is not supported
Here's an example of WordNet's output (kthesaurus):
There are another NINE types of output. (many of which are closer to a "normal"
thesaurus)
--
Synonyms/Hypernyms of noun crux
Sense 1
Southern Cross, Crux, Crux Australis -- (a small conspicuous constellation in
the southern hemisphere in the Milky Way near Centaurus)
=> constellation (a configuration of stars as seen from the earth)
Sense 2
crux, crux of the matter -- (the most important point)
=> point (a brief version of the essential meaning of something; "get
to the point"; "he missed the point of the joke"; "life has lost its
point")
Holonyms of noun crux
Sense 1
Southern Cross, Crux, Crux Australis -- (a small conspicuous constellation in
the southern hemisphere in the Milky Way near Centaurus)
MEMBER OF: Milky Way, Milky Way Galaxy, Milky Way System -- (the galaxy
containing the solar system; consists of millions of stars that can
be seen as a diffuse band of light stretching across the night sky)

30
libwpd/.footprint Normal file
View File

@ -0,0 +1,30 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/wpd2html
-rwxr-xr-x root/root usr/bin/wpd2raw
-rwxr-xr-x root/root usr/bin/wpd2text
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/libwpd-0.8/
drwxr-xr-x root/root usr/include/libwpd-0.8/libwpd/
-rw-r--r-- root/root usr/include/libwpd-0.8/libwpd/GSFStream.h
-rw-r--r-- root/root usr/include/libwpd-0.8/libwpd/WPDocument.h
-rw-r--r-- root/root usr/include/libwpd-0.8/libwpd/WPXHLListenerImpl.h
-rw-r--r-- root/root usr/include/libwpd-0.8/libwpd/WPXProperty.h
-rw-r--r-- root/root usr/include/libwpd-0.8/libwpd/WPXPropertyList.h
-rw-r--r-- root/root usr/include/libwpd-0.8/libwpd/WPXPropertyListVector.h
-rw-r--r-- root/root usr/include/libwpd-0.8/libwpd/WPXStream.h
-rw-r--r-- root/root usr/include/libwpd-0.8/libwpd/WPXString.h
-rw-r--r-- root/root usr/include/libwpd-0.8/libwpd/libwpd.h
-rw-r--r-- root/root usr/include/libwpd-0.8/libwpd/libwpd_types.h
drwxr-xr-x root/root usr/lib/
-rwxr-xr-x root/root usr/lib/libwpd-0.8.la
lrwxrwxrwx root/root usr/lib/libwpd-0.8.so -> libwpd-0.8.so.8.0.3
lrwxrwxrwx root/root usr/lib/libwpd-0.8.so.8 -> libwpd-0.8.so.8.0.3
-rwxr-xr-x root/root usr/lib/libwpd-0.8.so.8.0.3
-rwxr-xr-x root/root usr/lib/libwpd-stream-0.8.la
lrwxrwxrwx root/root usr/lib/libwpd-stream-0.8.so -> libwpd-stream-0.8.so.8.0.3
lrwxrwxrwx root/root usr/lib/libwpd-stream-0.8.so.8 -> libwpd-stream-0.8.so.8.0.3
-rwxr-xr-x root/root usr/lib/libwpd-stream-0.8.so.8.0.3
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/libwpd-0.8.pc
-rw-r--r-- root/root usr/lib/pkgconfig/libwpd-stream-0.8.pc

1
libwpd/.md5sum Normal file
View File

@ -0,0 +1 @@
f34404f8dc6123aca156d203c37e3e5d libwpd-0.8.3.tar.gz

20
libwpd/Pkgfile Normal file
View File

@ -0,0 +1,20 @@
# Description: a general purpose library for reading, and/or interpreting WordPerfect files
# URL: http://libwpd.sourceforge.net/
# Maintainer: sten, nick dot steeves at shaw dot ca
# Packager:
# Depends on: libgsf
name=libwpd
version=0.8.3
release=1
source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz)
build() {
cd $name-$version
./configure --prefix=/usr \
--disable-debug
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/locale
rm -rf $PKG/usr/share/doc
}

34
libwv2/.footprint Normal file
View File

@ -0,0 +1,34 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/wv2-config
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/wv2/
-rw-r--r-- root/root usr/include/wv2/associatedstrings.h
-rw-r--r-- root/root usr/include/wv2/convert.h
-rw-r--r-- root/root usr/include/wv2/dllmagic.h
-rw-r--r-- root/root usr/include/wv2/fields.h
-rw-r--r-- root/root usr/include/wv2/fonts.h
-rw-r--r-- root/root usr/include/wv2/functor.h
-rw-r--r-- root/root usr/include/wv2/functordata.h
-rw-r--r-- root/root usr/include/wv2/global.h
-rw-r--r-- root/root usr/include/wv2/handlers.h
-rw-r--r-- root/root usr/include/wv2/lists.h
-rw-r--r-- root/root usr/include/wv2/olestorage.h
-rw-r--r-- root/root usr/include/wv2/olestream.h
-rw-r--r-- root/root usr/include/wv2/paragraphproperties.h
-rw-r--r-- root/root usr/include/wv2/parser.h
-rw-r--r-- root/root usr/include/wv2/parserfactory.h
-rw-r--r-- root/root usr/include/wv2/sharedptr.h
-rw-r--r-- root/root usr/include/wv2/styles.h
-rw-r--r-- root/root usr/include/wv2/textconverter.h
-rw-r--r-- root/root usr/include/wv2/ustring.h
-rw-r--r-- root/root usr/include/wv2/utilities.h
-rw-r--r-- root/root usr/include/wv2/word95_generated.h
-rw-r--r-- root/root usr/include/wv2/word97_generated.h
-rw-r--r-- root/root usr/include/wv2/word_helper.h
-rw-r--r-- root/root usr/include/wv2/wvlog.h
drwxr-xr-x root/root usr/lib/
-rwxr-xr-x root/root usr/lib/libwv2.la
lrwxrwxrwx root/root usr/lib/libwv2.so -> libwv2.so.1.0.7
lrwxrwxrwx root/root usr/lib/libwv2.so.1 -> libwv2.so.1.0.7
-rwxr-xr-x root/root usr/lib/libwv2.so.1.0.7

1
libwv2/.md5sum Normal file
View File

@ -0,0 +1 @@
d05318852b6c599270c7e0376834c413 wv2-0.2.2.tar.bz2

17
libwv2/Pkgfile Normal file
View File

@ -0,0 +1,17 @@
# Description: a library which elegantly, and robustly handles Microsoft Word files
# URL: http://wvware.sourceforge.net/
# Maintainer: sten, nick dot steeves at shaw dot ca
# Packager:
# Depends on: libgsf, libpng, imagemagick
name=libwv2
version=0.2.2
release=1
source=(http://dl.sourceforge.net/sourceforge/wvware/wv2-$version.tar.bz2)
build() {
cd wv2-$version
./configure --prefix=/usr
make
make DESTDIR=$PKG install
}

69
wordnet/.footprint Normal file
View File

@ -0,0 +1,69 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-r-xr-xr-x root/root usr/bin/wishwn
-r-xr-xr-x root/root usr/bin/wn
-r-xr-xr-x root/root usr/bin/wnb
drwxr-xr-x root/root usr/include/
-r--r--r-- root/root usr/include/license.h
-r--r--r-- root/root usr/include/setutil.h
-r--r--r-- root/root usr/include/wn.h
-r--r--r-- root/root usr/include/wnconsts.h
-r--r--r-- root/root usr/include/wnglobal.h
-r--r--r-- root/root usr/include/wnhelp.h
-r--r--r-- root/root usr/include/wnrtl.h
-r--r--r-- root/root usr/include/wntypes.h
drwxr-xr-x root/root usr/lib/
-r--r--r-- root/root usr/lib/libwn.a
drwxr-xr-x root/root usr/lib/wnres/
-r--r--r-- root/root usr/lib/wnres/license.txt
-r--r--r-- root/root usr/lib/wnres/wn.xbm
-r--r--r-- root/root usr/lib/wnres/wnb.man
-r--r--r-- root/root usr/lib/wnres/wngloss.man
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-r--r--r-- root/root usr/man/man1/wn.1.gz
-r--r--r-- root/root usr/man/man1/wnb.1.gz
-r--r--r-- root/root usr/man/man1/wnintro.1.gz
drwxr-xr-x root/root usr/man/man3/
-r--r--r-- root/root usr/man/man3/binsrch.3.gz
-r--r--r-- root/root usr/man/man3/morph.3.gz
-r--r--r-- root/root usr/man/man3/wnintro.3.gz
-r--r--r-- root/root usr/man/man3/wnsearch.3.gz
-r--r--r-- root/root usr/man/man3/wnutil.3.gz
drwxr-xr-x root/root usr/man/man5/
-r--r--r-- root/root usr/man/man5/cntlist.5.gz
-r--r--r-- root/root usr/man/man5/lexnames.5.gz
-r--r--r-- root/root usr/man/man5/senseidx.5.gz
-r--r--r-- root/root usr/man/man5/wndb.5.gz
-r--r--r-- root/root usr/man/man5/wninput.5.gz
-r--r--r-- root/root usr/man/man5/wnintro.5.gz
drwxr-xr-x root/root usr/man/man7/
-r--r--r-- root/root usr/man/man7/morphy.7.gz
-r--r--r-- root/root usr/man/man7/uniqbeg.7.gz
-r--r--r-- root/root usr/man/man7/wngloss.7.gz
-r--r--r-- root/root usr/man/man7/wngroups.7.gz
-r--r--r-- root/root usr/man/man7/wnintro.7.gz
-r--r--r-- root/root usr/man/man7/wnlicens.7.gz
-r--r--r-- root/root usr/man/man7/wnpkgs.7.gz
-r--r--r-- root/root usr/man/man7/wnstats.7.gz
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/wordnet/
drwxr-xr-x root/root usr/share/wordnet/dict/
-r--r--r-- root/root usr/share/wordnet/dict/adj.exc
-r--r--r-- root/root usr/share/wordnet/dict/adv.exc
-r--r--r-- root/root usr/share/wordnet/dict/cntlist
-r--r--r-- root/root usr/share/wordnet/dict/cntlist.rev
-r--r--r-- root/root usr/share/wordnet/dict/data.adj
-r--r--r-- root/root usr/share/wordnet/dict/data.adv
-r--r--r-- root/root usr/share/wordnet/dict/data.noun
-r--r--r-- root/root usr/share/wordnet/dict/data.verb
-r--r--r-- root/root usr/share/wordnet/dict/index.adj
-r--r--r-- root/root usr/share/wordnet/dict/index.adv
-r--r--r-- root/root usr/share/wordnet/dict/index.noun
-r--r--r-- root/root usr/share/wordnet/dict/index.sense
-r--r--r-- root/root usr/share/wordnet/dict/index.verb
-r--r--r-- root/root usr/share/wordnet/dict/lexnames
-r--r--r-- root/root usr/share/wordnet/dict/noun.exc
-r--r--r-- root/root usr/share/wordnet/dict/sentidx.vrb
-r--r--r-- root/root usr/share/wordnet/dict/sents.vrb
-r--r--r-- root/root usr/share/wordnet/dict/verb.exc

2
wordnet/.md5sum Normal file
View File

@ -0,0 +1,2 @@
42faaf63f391bb1e13f59ca83490634d WordNet-2.0.tar.gz
11aa5a2d6c247447a60ef135e02502ea wordnet-2.0.patch

18
wordnet/Pkgfile Normal file
View File

@ -0,0 +1,18 @@
# Description: electronic lexical database of the English language (aka: a superb thesaurus)
# URL: http://www.cogsci.princeton.edu/~wn/
# Maintainer: sten, nick dot steeves at shaw dot ca
# Packager:
# Depends on: tk
name=wordnet
version=2.0
release=3
source=(ftp://ftp.cogsci.princeton.edu/pub/wordnet/2.0/WordNet-$version.tar.gz wordnet-$version.patch)
build() {
cd WordNet-$version
patch -p1 < ../wordnet-$version.patch
make SrcWorld
chown -R root.root $PKG/usr
rm -rf $PKG/usr/share/doc
}

117
wordnet/wordnet-2.0.patch Normal file
View File

@ -0,0 +1,117 @@
diff -rU1 ./dict/Makefile /tmp/WordNet-2.0/dict/Makefile
--- ./dict/Makefile 2003-07-17 08:27:36.000000000 -0600
+++ /tmp/WordNet-2.0/dict/Makefile 2005-01-28 01:26:47.711865240 -0700
@@ -4,4 +4,4 @@
-WN_ROOT = /usr/local/WordNet-2.0
-WN_INSTALLDIR = $(WN_ROOT)/dict
+WN_ROOT = /usr
+WN_INSTALLDIR = $(WN_ROOT)/share/wordnet/dict
diff -rU1 ./include/wnconsts.h /tmp/WordNet-2.0/include/wnconsts.h
--- ./include/wnconsts.h 2003-06-16 09:49:43.000000000 -0600
+++ /tmp/WordNet-2.0/include/wnconsts.h 2005-01-28 01:26:48.293776776 -0700
@@ -18,4 +18,4 @@
#define DICTDIR "/dict"
-#define DEFAULTPATH "/usr/local/WordNet-2.0/dict"
-#define DEFAULTBIN "/usr/local/WordNet-2.0/bin"
+#define DEFAULTPATH "/usr/share/wordnet/dict"
+#define DEFAULTBIN "/usr/bin"
#define DATAFILE "%s/data.%s"
diff -rU1 ./Makefile /tmp/WordNet-2.0/Makefile
--- ./Makefile 2003-06-16 10:09:25.000000000 -0600
+++ /tmp/WordNet-2.0/Makefile 2005-01-28 01:26:48.293776776 -0700
@@ -36,3 +36,3 @@
-PLATFORM = solaris
+PLATFORM = linux
#PLATFORM = irix
@@ -64,3 +64,3 @@
-WN_ROOT = /usr/local/WordNet-2.0
+WN_ROOT = $(PKG)/usr
@@ -78,3 +78,3 @@
-WN_DICTDIR = $(WN_ROOT)/dict
+WN_DICTDIR = $(PKG)/usr/share/wordnet/dict
@@ -106,4 +106,4 @@
-WN_MANDIR = $(WN_ROOT)/man
-WN_DOCDIR = $(WN_ROOT)/doc
+WN_MANDIR = $(PKG)/usr/man
+WN_DOCDIR = $(PKG)/usr/share/doc/wordnet-2.0
@@ -120,6 +120,6 @@
# Use this for Solaris
-LOCAL_LDFLAGS = -R/usr/openwin/lib:/usr/lib:/usr/local/lib
+#LOCAL_LDFLAGS = -R/usr/openwin/lib:/usr/lib:/usr/local/lib
# Use this for Irix and Linux
-#LOCAL_LDFLAGS =
+LOCAL_LDFLAGS = -L/usr/X11R6/lib
@@ -127,3 +127,3 @@
-LOCAL_CFLAGS = -O -DUNIX
+LOCAL_CFLAGS = $(CFLAGS) -DUNIX #-I$PKG/usr/include
@@ -144,8 +144,8 @@
-TCL_INCDIR = /usr/local/include
-TCL_LIBDIR = /usr/local/lib
-TK_INCDIR = /usr/local/include
-TK_LIBDIR = /usr/local/lib
-X11_INCDIR = /usr/openwin/include
-X11_LIBDIR = /usr/openwin/lib
+#TCL_INCDIR = /usr/local/include
+#TCL_LIBDIR = /usr/local/lib
+#TK_INCDIR = /usr/local/include
+#TK_LIBDIR = /usr/local/lib
+#X11_INCDIR = /usr/openwin/include
+#X11_LIBDIR = /usr/openwin/lib
@@ -162,8 +162,8 @@
-#TCL_INCDIR = /usr/include
-#TCL_LIBDIR = /usr/lib
-#TK_INCDIR = /usr/include
-#TK_LIBDIR = /usr/lib
-#X11_INCDIR = /usr/X11R6/include
-#X11_LIBDIR = /usr/X11R6/lib
+TCL_INCDIR = /usr/include
+TCL_LIBDIR = /usr/lib
+TK_INCDIR = /usr/include
+TK_LIBDIR = /usr/lib
+X11_INCDIR = /usr/X11R6/include
+X11_LIBDIR = /usr/X11R6/lib
@@ -171,3 +171,3 @@
-WNB_LIBS = -ltk8.3 -ltcl8.3 -lX11 -lm -lsocket -lnsl -ldl -lpthread
+#WNB_LIBS = -ltk8.3 -ltcl8.3 -lX11 -lm -lsocket -lnsl -ldl -lpthread
@@ -180,3 +180,3 @@
-#WNB_LIBS = -ltk -ltcl -lX11 -lm -lnsl -ldl -lpthread
+WNB_LIBS = -ltk8.4 -ltcl8.4 -lX11 -lm -lnsl -ldl -lpthread
diff -rU1 ./src/include/wnconsts.h /tmp/WordNet-2.0/src/include/wnconsts.h
--- ./src/include/wnconsts.h 2003-06-16 09:49:43.000000000 -0600
+++ /tmp/WordNet-2.0/src/include/wnconsts.h 2005-01-28 01:26:47.709865544 -0700
@@ -18,4 +18,4 @@
#define DICTDIR "/dict"
-#define DEFAULTPATH "/usr/local/WordNet-2.0/dict"
-#define DEFAULTBIN "/usr/local/WordNet-2.0/bin"
+#define DEFAULTPATH "/usr/share/wordnet/dict"
+#define DEFAULTBIN "/usr/bin"
#define DATAFILE "%s/data.%s"
diff -rU1 ./src/wnb/wnb /tmp/WordNet-2.0/src/wnb/wnb
--- ./src/wnb/wnb 2003-08-01 08:20:42.000000000 -0600
+++ /tmp/WordNet-2.0/src/wnb/wnb 2005-01-28 01:26:47.709865544 -0700
@@ -99,3 +99,3 @@
if {[lsearch -exact [array names env] WNHOME] == -1} {
- set resourcedir "/usr/local/WordNet-2.0/lib/wnres"
+ set resourcedir "/usr/lib/wnres"
} else {