Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/text
In directory 
sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv27894/10.7/stable/main/finkinfo/text

Added Files:
        dict.info dict.patch 
Log Message:
Newest upstreams (unless there are newer not on SF.net) work on 10.8.
Give lesser folk a chance to use them, too. :-)


--- NEW FILE: dict.patch ---
diff -Nurd -x'*~' dictd-1.12.0.orig/Makefile.in dictd-1.12.0/Makefile.in
--- dictd-1.12.0.orig/Makefile.in       2011-01-09 14:34:55.000000000 -0500
+++ dictd-1.12.0/Makefile.in    2011-09-26 11:28:56.000000000 -0400
@@ -67,7 +67,7 @@
 
 LEXLIB=        @LEXLIB@
 
-CFLAGS= @CPPFLAGS@ @DEFS@ @CFLAGS@ -DDICT_PLUGIN_PATH=\"$(PLUGIN_DIR)/\" 
-DDICT_DICTIONARY_PATH=\"$(DICT_DIR)/\" -DDICT_VERSION=\"$(DICT_VERSION)\" 
-DDICT_CONFIG_PATH=\"$(CONF_DIR)/\" -I. -I$(srcdir)
+CFLAGS= @DEFS@ @CFLAGS@ -DDICT_PLUGIN_PATH=\"$(PLUGIN_DIR)/\" 
-DDICT_DICTIONARY_PATH=\"$(DICT_DIR)/\" -DDICT_VERSION=\"$(DICT_VERSION)\" 
-DDICT_CONFIG_PATH=\"$(CONF_DIR)/\" -I. -I$(srcdir) @CPPFLAGS@
 
 LIBMAA=                @LIBMAA@
 LIBS=          @LIBS@ ${LIBMAA}
@@ -122,7 +122,7 @@
        $(LIBTOOL) --tag=CXX --mode=compile $(CXX) -c $(CFLAGS) $< -o $@
 
 %: %.o
-       $(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ -static \
+       $(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ \
                $^ $(OBJS) $(LDFLAGS) -lz ${LIBS}
 
 include $(srcdir)/deps
diff -Nurd -x'*~' dictd-1.12.0.orig/dict.conf dictd-1.12.0/dict.conf
--- dictd-1.12.0.orig/dict.conf 1969-12-31 19:00:00.000000000 -0500
+++ dictd-1.12.0/dict.conf      2011-09-26 11:28:56.000000000 -0400
@@ -0,0 +1,16 @@
+#  /etc/dict.conf Written by Bob Hilliard <hilli...@debian.org>
+#  1998/03/20.  Last revised Sun, 22 Nov 1998 18:10:04 -0500 This is
+#  the configuration file for /usr/bin/dict.  In most cases only the
+#  server keyword need be specified.
+
+#  This default configuration will try to access a dictd server on the
+#  local host, failing that, it will try the public server.  In many
+#  cases this will be slow, so you should comment out the line for the
+#  server that you don't want to use. To use any other server, enter
+#  its IP address in place of "dict.org".
+
+#  Refer to the dict manpage (man dict) for other options that could
+#  be inserted in here.
+
+server localhost
+server dict.org
diff -Nurd -x'*~' dictd-1.12.0.orig/dictzip.c dictd-1.12.0/dictzip.c
--- dictd-1.12.0.orig/dictzip.c 2011-01-08 10:43:30.000000000 -0500
+++ dictd-1.12.0/dictzip.c      2011-09-26 11:28:56.000000000 -0400
@@ -21,6 +21,7 @@
 #include "dictzip.h"
 #include "data.h"
 
+#include <sys/types.h>
 #include <sys/stat.h>
 
 void dict_data_print_header( FILE *str, dictData *header )

--- NEW FILE: dict.info ---
Package: dict
Version: 1.12.1
Revision: 1
Description: Dictionary-lookup client
License: GPL
Maintainer: None <fink-de...@lists.sourceforge.net>
Source: mirror:sourceforge:%n/dictd/dictd-%v.tar.gz
Source-MD5: 62696491174c22079f664830d07c0623
BuildDepends: <<
        fink (>= 0.24.12),
        fink-package-precedence,
        libdbi-dev,
        libmaa,
        libtool2
<<
Depends: <<
        libdbi-shlibs,
        libmaa-shlibs
<<
PatchFile: %n.patch
PatchFile-MD5: 85fc13cebe0224efcb85ac2f6636e82d
PatchScript: <<
        %{default_script}
        perl -pi -e 's/-module/-module -avoid-version -shared/' Makefile.in
<<
SetCPPFLAGS: -MD
ConfigureParams: --libexecdir=%p/lib/%n --with-plugin-dbi --without-plugin-judy 
LIBTOOL=glibtool
CompileScript: <<
        %{default_script}
        fink-package-precedence --depfile-ext='\.d' .
<<
InstallScript: <<
        make install.dict install.plugins DESTDIR=%d
        mkdir -p %i/etc
        install -m 644 dict.conf %i/etc
<<
DocFiles: ANNOUNCE INSTALL COPYING ChangeLog README TODO doc/rfc2229.txt
#SplitOff: <<
#  Package: %Nd
#  Description: DICT protocol dictionary server
#  InstallScript: <<
#    mkdir -p %i/etc %i/var/lib/%n %i/share/doc/%n/examples
#    make install.dictd prefix=%i man8_prefix=%i/share/man/man8
#    make install.dictzip prefix=%i man1_prefix=%i/share/man/man1
#  <<
#  DescDetail:<<
#   dictd is a TCP based server that allows a client to access dictionary
#   definitions from a set of natural language dictionary databases.
#  <<
#<<
ConfFiles: %p/etc/dict.conf
Homepage: http://www.dict.org
DescDetail: <<
Dict and dictd allow you to lookup words from network dictionary servers
and to host such servers respectively. This package contains only the client.
<<
DescPackaging: <<
Previously maintained by Christian Swinehart <cswineh...@users.sourceforge.net>
<<
DescPort: <<
#       Create a proper autotooling instead of the hacked
#       linux-centric upstream mess?
        Nah, for now do just enough hacking to get it compileable
<<


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to