1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00

Add doodle.

Doodle is a tool to quickly search the documents on a computer. Doodle
builds an index using meta-data contained in the documents and allows
fast searches on the resulting database. Doodle uses libextractor to
support obtaining meta-data from various file-formats. The database
used by doodle is a suffix tree, resulting in fast lookups. Doodle
supports approximate searches.

WWW: http://gnunet.org/doodle/

Submitted by:	Tom McLaughlin <tmclaugh@sdf.lonestar.org>, myself
This commit is contained in:
Jean-Yves Lefort 2005-06-26 15:17:56 +00:00
parent d6ddc22771
commit 89e567e0eb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=138041
8 changed files with 88 additions and 0 deletions

View File

@ -17,6 +17,7 @@
SUBDIR += checkrdf
SUBDIR += dailystrips
SUBDIR += dlume
SUBDIR += doodle
SUBDIR += dragstack
SUBDIR += drivel
SUBDIR += egroupware

35
deskutils/doodle/Makefile Normal file
View File

@ -0,0 +1,35 @@
# New ports collection makefile for: doodle
# Date created: 26 June 2005
# Whom: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
# Jean-Yves Lefort <jylefort@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= doodle
PORTVERSION= 0.6.2
CATEGORIES= deskutils
MASTER_SITES= http://gnunet.org/doodle/download/
MAINTAINER= jylefort@FreeBSD.org
COMMENT= Quickly search documents
LIB_DEPENDS= extractor.1:${PORTSDIR}/textproc/libextractor
USE_REINPLACE= yes
USE_LIBTOOL_VER=15
USE_GETTEXT= yes
USE_FAM= yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
MAN1= doodle.1 doodled.1
MAN3= libdoodle.3
post-patch:
@${REINPLACE_CMD} -e \
's|,\$$PTHREAD_CPPFLAGS,|,${PTHREAD_CFLAGS},|; \
s|,\$$PTHREAD_LIBS,|,${PTHREAD_LIBS},|; \
s|,\$$PTHREAD_LDFLAGS,|,,|;' ${WRKSRC}/configure
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
MD5 (doodle-0.6.2.tar.gz) = ed36ea99f918b005d7d2ca53cab7e941
SIZE (doodle-0.6.2.tar.gz) = 465271

View File

@ -0,0 +1,10 @@
--- src/doodle/getopt.c.orig Sun Jun 26 15:11:31 2005
+++ src/doodle/getopt.c Sun Jun 26 15:12:05 2005
@@ -84,6 +84,7 @@
#endif
#include "gettext.h"
+#include "helper1.h"
/* This version of `getopt' appears to the caller like standard Unix `getopt'
but it behaves differently for the user, since it allows the user

View File

@ -0,0 +1,10 @@
--- src/doodle/semaphore.c.orig Sun Jun 26 15:20:32 2005
+++ src/doodle/semaphore.c Sun Jun 26 15:20:45 2005
@@ -36,7 +36,6 @@
#include <semaphore.h>
#endif
#if SOMEBSD
-# include <pthread_np.h>
#endif
#if SOMEBSD || OSX
# include <sys/file.h>

View File

@ -0,0 +1,11 @@
--- src/doodle/tree.c.orig Sun Jun 26 15:13:51 2005
+++ src/doodle/tree.c Sun Jun 26 15:14:00 2005
@@ -1815,7 +1815,7 @@
/* make certain that the dirty marker is on
disk... */
flush_buffer(ret->fd);
- fdatasync(ret->fd->fd);
+ fsync(ret->fd->fd);
ret->modified = 1;
}

View File

@ -0,0 +1,8 @@
Doodle is a tool to quickly search the documents on a computer. Doodle
builds an index using meta-data contained in the documents and allows
fast searches on the resulting database. Doodle uses libextractor to
support obtaining meta-data from various file-formats. The database
used by doodle is a suffix tree, resulting in fast lookups. Doodle
supports approximate searches.
WWW: http://gnunet.org/doodle/

View File

@ -0,0 +1,11 @@
bin/doodle
bin/doodled
include/doodle.h
lib/libdoodle.a
lib/libdoodle.so
lib/libdoodle.so.2
share/locale/de/LC_MESSAGES/doodle.mo
share/locale/eu/LC_MESSAGES/doodle.mo
share/locale/ga/LC_MESSAGES/doodle.mo
share/locale/nl/LC_MESSAGES/doodle.mo
share/locale/sq/LC_MESSAGES/doodle.mo