- use lynx(1) instead of w3m for indexing html contents

This commit is contained in:
ajacoutot 2009-05-22 10:18:14 +00:00
parent c0d15916fc
commit 75c4365a15
2 changed files with 30 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.8 2009/05/03 17:13:26 kili Exp $
# $OpenBSD: Makefile,v 1.9 2009/05/22 10:18:14 ajacoutot Exp $
COMMENT= powerful desktop search tool and indexer
@ -6,7 +6,7 @@ COMMENT= powerful desktop search tool and indexer
# as tracker-search.
GNOME_PROJECT= tracker
GNOME_VERSION= 0.6.94
PKGNAME= tracker-search-${VERSION}p0
PKGNAME= tracker-search-${VERSION}p1
SHARED_LIBS += stemmer 0.0 # .694.0
SHARED_LIBS += tracker-common 0.0 # .694.0
@ -59,7 +59,6 @@ BUILD_DEPENDS= ::devel/xdg-utils \
RUN_DEPENDS= ::devel/glib2,-fam \
::devel/xdg-utils \
::textproc/odt2txt \
::www/w3m \
::x11/gnome/deskbar-applet
DESKTOP_FILES= Yes

View File

@ -0,0 +1,28 @@
$OpenBSD: patch-filters_text_html_filter,v 1.1 2009/05/22 10:18:14 ajacoutot Exp $
Use lynx(1) from base instead of the w3m package for indexing
html files content.
--- filters/text/html_filter.orig Tue Apr 14 11:57:40 2009
+++ filters/text/html_filter Fri May 22 11:59:34 2009
@@ -1,15 +1,9 @@
#!/bin/sh
-nice -n19 w3m \
- -o indent_incr=0 \
- -o multicol=false \
- -o no_cache=true \
- -o use_cookie=false \
- -o display_charset=utf8 \
- -o system_charset=utf8 \
- -o follow_locale=false \
- -o use_language_tag=true \
- -o ucs_conv=true \
- -T text/html \
+nice -n19 lynx \
+ -assume_charset=UTF-8 \
+ -assume_local_charset=UTF-8 \
+ -assume_unrec_charset=UTF-8 \
+ -nolist \
-dump \
"$1"