[arch-commits] CVS update of extra/gnome/beagle (PKGBUILD beagle-0.2.1-spew.patch)
Jan de Groot
jgc at archlinux.org
Wed May 16 22:06:15 UTC 2007
Date: Wednesday, May 16, 2007 @ 18:06:15
Author: jgc
Path: /home/cvs-extra/extra/gnome/beagle
Added: beagle-0.2.1-spew.patch (1.1)
Modified: PKGBUILD (1.25 -> 1.26)
upgpkg: beagle 0.2.17-2
Add patch to disable debug. Check patch for environment var if you want it enabled again
-------------------------+
PKGBUILD | 11 +++++++----
beagle-0.2.1-spew.patch | 32 ++++++++++++++++++++++++++++++++
2 files changed, 39 insertions(+), 4 deletions(-)
Index: extra/gnome/beagle/PKGBUILD
diff -u extra/gnome/beagle/PKGBUILD:1.25 extra/gnome/beagle/PKGBUILD:1.26
--- extra/gnome/beagle/PKGBUILD:1.25 Wed May 16 16:59:03 2007
+++ extra/gnome/beagle/PKGBUILD Wed May 16 18:06:15 2007
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD,v 1.25 2007/05/16 20:59:03 jgc Exp $
+# $Id: PKGBUILD,v 1.26 2007/05/16 22:06:15 jgc Exp $
# Maintainer: Jan de Groot <jgc at archlinux.org>
# Contributor: Shadowhand <woody.gilk at gmail.com>
pkgname=beagle
pkgver=0.2.17
-pkgrel=1
+pkgrel=2
pkgdesc="Search tool that ransacks your personal information space"
arch=(i686 x86_64)
url="http://www.gnome.org/projects/beagle/"
@@ -14,8 +14,9 @@
backup=('etc/beagle/crawl-applications' 'etc/beagle/crawl-documentation'
'etc/beagle/crawl-windows')
install=beagle.install
-source=(http://ftp.gnome.org/pub/GNOME/sources/beagle/0.2/beagle-${pkgver}.tar.bz2)
-md5sums=('75903ca41fe8b7729d1a02987625e90f')
+source=(http://ftp.gnome.org/pub/GNOME/sources/beagle/0.2/beagle-${pkgver}.tar.bz2
+ beagle-0.2.1-spew.patch)
+md5sums=('75903ca41fe8b7729d1a02987625e90f' '5fe9b30040a8f0a324ea8fc18e940f9a')
build() {
export MONO_SHARED_DIR=${startdir}/src/.wabi
@@ -23,6 +24,8 @@
cd ${startdir}/src/${pkgname}-${pkgver}
sed -i -e 's/CRAWL_USER=beagleindex/CRAWL_USER=beaglidx/' tools/beagle-crawl-system.in
+ patch -Np1 -i ${startdir}/src/beagle-0.2.1-spew.patch || return 1
+
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--enable-inotify \
--disable-libbeagle \
Index: extra/gnome/beagle/beagle-0.2.1-spew.patch
diff -u /dev/null extra/gnome/beagle/beagle-0.2.1-spew.patch:1.1
--- /dev/null Wed May 16 18:06:15 2007
+++ extra/gnome/beagle/beagle-0.2.1-spew.patch Wed May 16 18:06:15 2007
@@ -0,0 +1,32 @@
+--- beagle-0.2.1/beagled/IndexHelper/IndexHelper.cs.spew 2006-02-24 01:19:59.000000000 -0500
++++ beagle-0.2.1/beagled/IndexHelper/IndexHelper.cs 2006-02-24 01:43:33.000000000 -0500
+@@ -59,16 +59,13 @@
+ bool run_by_hand = (Environment.GetEnvironmentVariable ("BEAGLE_RUN_HELPER_BY_HAND") != null);
+ bool log_in_fg = (Environment.GetEnvironmentVariable ("BEAGLE_LOG_IN_THE_FOREGROUND_PLEASE") != null);
+
+- // FIXME: We always turn on full debugging output! We are still
+- // debugging this code, after all...
+- //bool debug = (Environment.GetEnvironmentVariable ("BEAGLE_DEBUG_FLAG_IS_SET") != null);
++ bool debug = (Environment.GetEnvironmentVariable ("BEAGLE_DEBUG_FLAG_IS_SET") != null);
+
+ last_activity = DateTime.Now;
+
+ Log.Initialize (PathFinder.LogDir,
+ "IndexHelper",
+- //debug ? LogLevel.Debug : LogLevel.Warn,
+- LogLevel.Debug,
++ debug ? LogLevel.Debug : LogLevel.Error,
+ run_by_hand || log_in_fg);
+
+ Application.InitCheck ("IndexHelper", ref args);
+--- beagle-0.2.1/beagled/BeagleDaemon.cs.spew 2006-02-24 01:26:56.000000000 -0500
++++ beagle-0.2.1/beagled/BeagleDaemon.cs 2006-02-24 01:28:44.000000000 -0500
+@@ -377,7 +377,7 @@
+ // FIXME: We always turn on full debugging output! We are still
+ // debugging this code, after all...
+ //arg_debug ? LogLevel.Debug : LogLevel.Warn,
+- LogLevel.Debug,
++ arg_debug ? LogLevel.Debug : LogLevel.Error,
+ arg_fg);
+
+ Logger.Log.Info ("Starting Beagle Daemon (version {0})", ExternalStringsHack.Version);
More information about the arch-commits
mailing list