]> git.pld-linux.org Git - packages/beagle.git/blobdiff - beagle-crawl.patch
- updated for 0.3.8
[packages/beagle.git] / beagle-crawl.patch
index d4a2092cf697caa929cb4d69c6baafe2bae4aaa5..7ea8829a3185a7bb7867834ac5ce609a0bd71ab3 100644 (file)
@@ -1,77 +1,54 @@
-diff -aurN beagle-0.1.1.orig/tools/beagle-crawl-system.crontab.in beagle-0.1.1/tools/beagle-crawl-system.crontab.in
---- beagle-0.1.1.orig/tools/beagle-crawl-system.crontab.in     2005-08-22 21:02:29.000000000 +0200
-+++ beagle-0.1.1/tools/beagle-crawl-system.crontab.in  2005-10-24 20:41:19.000000000 +0200
-@@ -1,4 +1,3 @@
--SHELL=/bin/sh
--
--# Run at 4:30 am every day
--30 4 * * *    root    @libexecdir@/beagle-crawl-system
-+#!/bin/sh
-+@libexecdir@/beagle-crawl-system
-+exit 0
-diff -aurN beagle-0.1.1.orig/tools/beagle-crawl-system.in beagle-0.1.1/tools/beagle-crawl-system.in
---- beagle-0.1.1.orig/tools/beagle-crawl-system.in     2005-08-17 22:35:19.000000000 +0200
-+++ beagle-0.1.1/tools/beagle-crawl-system.in  2005-10-24 21:24:18.000000000 +0200
-@@ -51,7 +51,7 @@
-           OPTIONS="$OPTIONS `test -n "$CRAWL_DENY_PATTERNS" && \
-                      echo --allow-pattern $CRAWL_DENY_PATTERNS`"
--          eval nice -n 19 su $CRAWL_USER -c \"@sbindir@/beagle-build-index --target @localstatedir@/cache/beagle/indexes/$CRAWL_INDEX_NAME $OPTIONS $CRAWL_PATHS\" 2> /dev/null
-+          eval nice -n 19 \"@sbindir@/beagle-build-index --target @localstatedir@/cache/beagle/indexes/$CRAWL_INDEX_NAME $OPTIONS $CRAWL_PATHS\" 2> /dev/null
-       fi
-     fi
- done
-diff -aurN beagle-0.1.1.orig/tools/crawl-rules/crawl-applications beagle-0.1.1/tools/crawl-rules/crawl-applications
---- beagle-0.1.1.orig/tools/crawl-rules/crawl-applications     2005-08-11 16:42:21.000000000 +0200
-+++ beagle-0.1.1/tools/crawl-rules/crawl-applications  2005-10-24 20:21:58.000000000 +0200
-@@ -2,10 +2,10 @@
+diff -urN beagle-0.3.8/conf-data/crawl-rules/crawl-applications beagle-0.3.8.new/conf-data/crawl-rules/crawl-applications
+--- beagle-0.3.8/conf-data/crawl-rules/crawl-applications      2008-01-03 10:22:37.000000000 +0100
++++ beagle-0.3.8.new/conf-data/crawl-rules/crawl-applications  2008-07-27 17:42:37.000000000 +0200
+@@ -2,7 +2,7 @@
  
  CRAWL_INDEX_NAME="applications"
  
--CRAWL_PATHS="/usr/share/applications /usr/local/shared/applications /opt/gnome/share/applications /opt/kde3/share/applications"
-+CRAWL_PATHS="/usr/share/applications"
+-CRAWL_PATHS="/usr/share/applications /usr/local/share/applications /opt/gnome/share/applications /opt/kde3/share/applications"
++CRAWL_PATHS="/usr/share/applications /usr/local/share/applications"
  
  CRAWL_RECURSIVE="yes"
  
- CRAWL_DISABLE_FILTERING="no"
--CRAWL_CACHE_TEXT="no"
-\ Brak znaku nowej linii na koƱcu pliku
-+CRAWL_CACHE_TEXT="no"
-diff -aurN beagle-0.1.1.orig/tools/crawl-rules/crawl-documentation beagle-0.1.1/tools/crawl-rules/crawl-documentation
---- beagle-0.1.1.orig/tools/crawl-rules/crawl-documentation    2005-08-11 23:54:14.000000000 +0200
-+++ beagle-0.1.1/tools/crawl-rules/crawl-documentation 2005-10-24 20:22:10.000000000 +0200
+diff -urN beagle-0.3.8/conf-data/crawl-rules/crawl-documentation beagle-0.3.8.new/conf-data/crawl-rules/crawl-documentation
+--- beagle-0.3.8/conf-data/crawl-rules/crawl-documentation     2008-01-03 10:22:37.000000000 +0100
++++ beagle-0.3.8.new/conf-data/crawl-rules/crawl-documentation 2008-07-27 17:45:43.000000000 +0200
 @@ -2,7 +2,7 @@
  
  CRAWL_INDEX_NAME="documentation"
  
--CRAWL_PATHS="/usr/share/doc /opt/kde3/share/doc /opt/gnome/share/gnome/help"
-+CRAWL_PATHS="/usr/share/doc"
+-CRAWL_PATHS="/usr/share/doc /usr/local/share/doc /opt/kde3/share/doc /opt/gnome/share/gnome/help /usr/share/gnome/help /opt/gnome/share/gtk-doc/html /usr/share/gtk-doc/html /usr/share/gnome/html"
++CRAWL_PATHS="/usr/share/doc /usr/local/share/doc /usr/share/gnome/help"
  
- CRAWL_ALLOW_PATTERNS="*.xml,*.html,*.docbook"
+ CRAWL_ALLOW_PATTERNS="*.xml,*.html,*.docbook,*.pdf"
  
-diff -aurN beagle-0.1.1.orig/tools/Makefile.am beagle-0.1.1/tools/Makefile.am
---- beagle-0.1.1.orig/tools/Makefile.am        2005-08-29 08:05:48.000000000 +0200
-+++ beagle-0.1.1/tools/Makefile.am     2005-10-24 20:45:00.000000000 +0200
-@@ -35,19 +35,18 @@
-       chmod +x $(CRAWL_WRAPPER)
+diff -urN beagle-0.3.8/conf-data/crawl-rules/crawl-executables beagle-0.3.8.new/conf-data/crawl-rules/crawl-executables
+--- beagle-0.3.8/conf-data/crawl-rules/crawl-executables       2008-04-26 04:47:25.000000000 +0200
++++ beagle-0.3.8.new/conf-data/crawl-rules/crawl-executables   2008-07-27 17:46:08.000000000 +0200
+@@ -3,7 +3,7 @@
+ # Use the same index as the applications index
+ CRAWL_INDEX_NAME="applications"
  
- CRAWL_RULES = \
--      $(srcdir)/crawl-rules/crawl-windows             \
-       $(srcdir)/crawl-rules/crawl-applications        \
-       $(srcdir)/crawl-rules/crawl-documentation
+-CRAWL_PATHS="/bin /sbin /usr/bin /usr/sbin /usr/local/bin/ /usr/local/sbin"
++CRAWL_PATHS="/bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin"
  
- libexec_SCRIPTS = $(CRAWL_WRAPPER)
+ # Only index files in the gives directories
+ CRAWL_RECURSIVE="no"
+diff -urN beagle-0.3.8/conf-data/crawl-rules/crawl-monodoc beagle-0.3.8.new/conf-data/crawl-rules/crawl-monodoc
+--- beagle-0.3.8/conf-data/crawl-rules/crawl-monodoc   2008-01-03 10:22:37.000000000 +0100
++++ beagle-0.3.8.new/conf-data/crawl-rules/crawl-monodoc       2008-07-27 17:46:32.000000000 +0200
+@@ -1,4 +1,4 @@
+-CRAWL_ENABLED="no"
++CRAWL_ENABLED="yes"
  
--CRAWL_WRAPPER_CRONTAB = beagle-crawl-system.crontab
-+CRAWL_WRAPPER_CRONTAB = beagle-crawl-system
- CRAWL_WRAPPER_CRONTAB_IN = beagle-crawl-system.crontab.in
+ CRAWL_INDEX_NAME="monodoc"
  
- $(CRAWL_WRAPPER_CRONTAB): $(CRAWL_WRAPPER_CRONTAB_IN)
-       $(WRAPPER_SED) < $(srcdir)/$(CRAWL_WRAPPER_CRONTAB_IN) > $@
+diff -urN beagle-0.3.8/conf-data/crawl-rules/crawl-windows beagle-0.3.8.new/conf-data/crawl-rules/crawl-windows
+--- beagle-0.3.8/conf-data/crawl-rules/crawl-windows   2008-01-03 10:22:37.000000000 +0100
++++ beagle-0.3.8.new/conf-data/crawl-rules/crawl-windows       2008-07-27 17:47:00.000000000 +0200
+@@ -1,4 +1,4 @@
+-CRAWL_ENABLED="yes"
++CRAWL_ENABLED="no"
  
--crondir = $(sysconfdir)/cron.d
-+crondir = $(sysconfdir)/cron.daily
- cron_DATA = $(CRAWL_WRAPPER_CRONTAB)
+ CRAWL_INDEX_NAME="windows"
  
- # FIXME: Per-distribution specific crawl rules
This page took 0.786428 seconds and 4 git commands to generate.