diff options
-rw-r--r-- | deskutils/Makefile | 1 | ||||
-rw-r--r-- | deskutils/pinot/Makefile | 75 | ||||
-rw-r--r-- | deskutils/pinot/distinfo | 3 | ||||
-rw-r--r-- | deskutils/pinot/pkg-descr | 24 | ||||
-rw-r--r-- | deskutils/pinot/pkg-plist | 66 |
5 files changed, 169 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile index 3d2efebe3ab8..c6b0d24324cc 100644 --- a/deskutils/Makefile +++ b/deskutils/Makefile @@ -143,6 +143,7 @@ SUBDIR += phpgroupware SUBDIR += phpicalendar SUBDIR += phprojekt + SUBDIR += pinot SUBDIR += plan SUBDIR += planner SUBDIR += planner.el diff --git a/deskutils/pinot/Makefile b/deskutils/pinot/Makefile new file mode 100644 index 000000000000..d080c568a5a2 --- /dev/null +++ b/deskutils/pinot/Makefile @@ -0,0 +1,75 @@ +# New ports collection makefile for: pinot +# Date created: 2006-11-19 +# Whom: Thierry Thomas <thierry@pompo.net> +# +# $FreeBSD$ + +PORTNAME= pinot +PORTVERSION= 0.64 +CATEGORIES= deskutils +MASTER_SITES= ${MASTER_SITE_BERLIOS} +# http://www.chez.com/colinf/pinot/ \ +# http://amra.dyndns.org/ +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= thierry@FreeBSD.org +COMMENT= Personal search and metasearch for the Free Desktop + +BUILD_DEPENDS= update-desktop-database:${PORTSDIR}/devel/desktop-file-utils +LIB_DEPENDS= xapian.12:${PORTSDIR}/databases/xapian-core \ + gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24 \ + textcat.0:${PORTSDIR}/textproc/libtextcat \ + dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \ + xml\\+\\+-2.6:${PORTSDIR}/textproc/libxml++26 \ + boost_thread.3:${PORTSDIR}/devel/boost \ + gmime-2.0:${PORTSDIR}/mail/gmime2 \ + tag.5:${PORTSDIR}/audio/taglib \ + curl.3:${PORTSDIR}/ftp/curl +RUN_DEPENDS= update-mime-database:${PORTSDIR}/misc/shared-mime-info \ + antiword:${PORTSDIR}/textproc/antiword \ + pdftotext:${PORTSDIR}/graphics/xpdf \ + unzip:${PORTSDIR}/archivers/unzip \ + unrtf:${PORTSDIR}/textproc/unrtf + +# pinot-0.64 is not ready for gsoap_2.7.8c +.if !defined(WITHOUT_SOAP) +BUILD_DEPENDS+= ${LOCALBASE}/lib/libgsoap.a:${PORTSDIR}/devel/gsoap +CONFIGURE_ARGS+= --with-soap=yes +.endif + +GNU_CONFIGURE= yes +#USE_AUTOTOOLS= libtool:15 +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ARGS= --with-http=curl +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" + +USE_GETTEXT= yes +USE_XLIB= yes +USE_SQLITE= 3 +USE_PYTHON= yes + +INSTALLS_ICONS= yes + +MAN1= pinot-collect.1 pinot-dbus-daemon.1 pinot-index.1 \ + pinot-search.1 pinot.1 + +LM2FIX= textcat_conf.txt textcat3_conf.txt +SHR2FIX= Search/pinot-search.1 README +UL2FIX= Utils/xdgmime/xdgmime.c + +pre-configure: + ${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/configure + ${REINPLACE_CMD} -e 's|/usr/share|${LOCALBASE}/share|' \ + ${LM2FIX:S|^|${WRKSRC}/|} + ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ + ${UL2FIX:S|^|${WRKSRC}/|} + ${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \ + ${SHR2FIX:S|^|${WRKSRC}/|} + +post-install: + @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ + ${PREFIX}/lib/deskbar-applet/handlers + @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ + ${PREFIX}/lib/deskbar-applet/handlers + +.include <bsd.port.mk> diff --git a/deskutils/pinot/distinfo b/deskutils/pinot/distinfo new file mode 100644 index 000000000000..f2c52d0bc42f --- /dev/null +++ b/deskutils/pinot/distinfo @@ -0,0 +1,3 @@ +MD5 (pinot-0.64.tar.gz) = 2e165c0ccb739d8b989e35e3dbde76a2 +SHA256 (pinot-0.64.tar.gz) = a9c7a7cb550ce40ac3fdd1b5704e13feb5dd0042604841c5d498f033f36626e8 +SIZE (pinot-0.64.tar.gz) = 761865 diff --git a/deskutils/pinot/pkg-descr b/deskutils/pinot/pkg-descr new file mode 100644 index 000000000000..ee9bdf8071dc --- /dev/null +++ b/deskutils/pinot/pkg-descr @@ -0,0 +1,24 @@ +Pinot is a D-Bus service that crawls, indexes your documents and monitors them +for changes, with a GTK-based user interface that enables to query the index +built by the service or your favourite Web engine, and display and analyze the +results. All code is covered by the GNU GPL. + +Features: +- full use of Xapian's advanced indexing and search facilities. +- language detection with libtextcat. +- dynamic document summaries. +- results ranking history. +- easy labelling of documents. +- open all documents with your favourite applications, as defined in your + shared-mime-info database. +- support for indexing common file types (plain text, HTML, PDF, RTF, MS Word, + XML, OpenDocument/StarOffice, mbox, MP3 and Ogg Vorbis). +- support for search plugins, either Open Search Description XML or Sherlock + files as used by FireFox, as well as the Google SOAP API. +- able to query any index built with other Xapian-based tools, even if served + remotely. +- D-Bus interface for easy integration with other applications (eg Deskbar + Applet). +- not bound to a specific Desktop Environment. + +WWW: http://pinot.berlios.de/ diff --git a/deskutils/pinot/pkg-plist b/deskutils/pinot/pkg-plist new file mode 100644 index 000000000000..14f95b3c53d6 --- /dev/null +++ b/deskutils/pinot/pkg-plist @@ -0,0 +1,66 @@ +bin/pinot +bin/pinot-collect +bin/pinot-dbus-daemon +bin/pinot-index +bin/pinot-search +etc/xdg/autostart/pinot-dbus-daemon.desktop +lib/deskbar-applet/handlers/pinot-live.py +lib/deskbar-applet/handlers/pinot-live.pyc +lib/deskbar-applet/handlers/pinot-live.pyo +share/applications/pinot.desktop +share/dbus-1/services/de.berlios.Pinot.service +share/icons/hicolor/48x48/apps/pinot.png +share/locale/es/LC_MESSAGES/pinot.mo +share/locale/fr/LC_MESSAGES/pinot.mo +share/locale/nl/LC_MESSAGES/pinot.mo +share/locale/sv/LC_MESSAGES/pinot.mo +%%DATADIR%%/AmazonAPI.src +%%DATADIR%%/engines/A9.src +%%DATADIR%%/engines/Accoona.src +%%DATADIR%%/engines/Ask.src +%%DATADIR%%/engines/BitTorrent.src +%%DATADIR%%/engines/Clusty.src +%%DATADIR%%/engines/CreativeCommons.src +%%DATADIR%%/engines/Exalead.src +%%DATADIR%%/engines/Freshmeat.src +%%DATADIR%%/engines/Google.src +%%DATADIR%%/engines/GoogleCodeSearch.src +%%DATADIR%%/engines/KodersDescription.xml +%%DATADIR%%/engines/MSN.src +%%DATADIR%%/engines/MozDexDescription.xml +%%DATADIR%%/engines/OmegaDescription.xml +%%DATADIR%%/engines/RollYOTopNews.src +%%DATADIR%%/engines/Topix.src +%%DATADIR%%/engines/Wikipedia.src +%%DATADIR%%/engines/WiseNut.src +%%DATADIR%%/engines/Yahoo.src +%%DATADIR%%/engines/YahooAPI.src +%%DATADIR%%/globalconfig.xml +%%DATADIR%%/metase-gtk2.glade +%%DATADIR%%/metase-gtk2.gladep +%%DATADIR%%/pinot-dbus-daemon.xml +%%DATADIR%%/textcat3_conf.txt +%%DATADIR%%/textcat_conf.txt +%%DATADIR%%/tokenizers/libopendocumenttokenizer.so +%%DATADIR%%/tokenizers/libopendocumenttokenizer.so.0 +%%DATADIR%%/tokenizers/libpdftokenizer.so +%%DATADIR%%/tokenizers/libpdftokenizer.so.0 +%%DATADIR%%/tokenizers/librtftokenizer.so +%%DATADIR%%/tokenizers/librtftokenizer.so.0 +%%DATADIR%%/tokenizers/libtaglibtokenizer.so +%%DATADIR%%/tokenizers/libtaglibtokenizer.so.0 +%%DATADIR%%/tokenizers/libwordtokenizer.so +%%DATADIR%%/tokenizers/libwordtokenizer.so.0 +%%DATADIR%%/xapian-powered.png +@dirrm %%DATADIR%%/tokenizers +@dirrm %%DATADIR%%/engines +@dirrm %%DATADIR%% +@dirrmtry share/icons/hicolor/48x48/apps +@dirrmtry share/icons/hicolor/48x48 +@dirrmtry share/icons/hicolor +@dirrmtry share/icons +@dirrmtry share/applications +@dirrmtry lib/deskbar-applet/handlers +@dirrmtry lib/deskbar-applet +@dirrmtry etc/xdg/autostart +@dirrmtry etc/xdg |