diff options
author | Peter Alfredsen <loki_val@gentoo.org> | 2009-09-05 11:21:34 +0000 |
---|---|---|
committer | Peter Alfredsen <loki_val@gentoo.org> | 2009-09-05 11:21:34 +0000 |
commit | c356932eac1cbec966c79a6cd210ff511b60b5c4 (patch) | |
tree | deb75752f97454eb5d8582fb6eaa895a784409cf /app-misc | |
parent | Version bump (diff) | |
download | historical-c356932eac1cbec966c79a6cd210ff511b60b5c4.tar.gz historical-c356932eac1cbec966c79a6cd210ff511b60b5c4.tar.bz2 historical-c356932eac1cbec966c79a6cd210ff511b60b5c4.zip |
Backport patch from upstream to fix bug 283740, problems with firefox extension and >=firefox-3.5 in 0.3.9-r2. Restrict 0.3.9-r1 to older versions of firefox. Clean out old patches.
Package-Manager: portage-2.2_rc40/cvs/Linux x86_64
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/beagle/ChangeLog | 14 | ||||
-rw-r--r-- | app-misc/beagle/Manifest | 11 | ||||
-rw-r--r-- | app-misc/beagle/beagle-0.3.9-r1.ebuild | 8 | ||||
-rw-r--r-- | app-misc/beagle/beagle-0.3.9-r2.ebuild (renamed from app-misc/beagle/beagle-0.3.9.ebuild) | 22 | ||||
-rw-r--r-- | app-misc/beagle/files/beagle-0.2.18-mono-1.9.1.patch | 12 | ||||
-rw-r--r-- | app-misc/beagle/files/beagle-0.2.7-crawltweek.patch | 22 | ||||
-rw-r--r-- | app-misc/beagle/files/beagle-0.3.7-evo-sharp.patch | 116 | ||||
-rw-r--r-- | app-misc/beagle/files/beagle-0.3.9-firefox-3.5.patch | 177 |
8 files changed, 209 insertions, 173 deletions
diff --git a/app-misc/beagle/ChangeLog b/app-misc/beagle/ChangeLog index 84a9995738fc..281086cbe94b 100644 --- a/app-misc/beagle/ChangeLog +++ b/app-misc/beagle/ChangeLog @@ -1,6 +1,18 @@ # ChangeLog for app-misc/beagle # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/beagle/ChangeLog,v 1.101 2009/06/01 16:24:06 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/beagle/ChangeLog,v 1.102 2009/09/05 11:21:33 loki_val Exp $ + +*beagle-0.3.9-r2 (05 Sep 2009) + + 05 Sep 2009; Peter Alfredsen <loki_val@gentoo.org> + -files/beagle-0.2.7-crawltweek.patch, + -files/beagle-0.2.18-mono-1.9.1.patch, + -files/beagle-0.3.7-evo-sharp.patch, -beagle-0.3.9.ebuild, + beagle-0.3.9-r1.ebuild, +beagle-0.3.9-r2.ebuild, + +files/beagle-0.3.9-firefox-3.5.patch: + Backport patch from upstream to fix bug 283740, problems with firefox + extension and >=firefox-3.5 in 0.3.9-r2. Restrict 0.3.9-r1 to older + versions of firefox. Clean out old patches. 01 Jun 2009; nixnut <nixnut@gentoo.org> beagle-0.3.9-r1.ebuild: ppc stable #269875 diff --git a/app-misc/beagle/Manifest b/app-misc/beagle/Manifest index 54f46151604e..3103b25eee5c 100644 --- a/app-misc/beagle/Manifest +++ b/app-misc/beagle/Manifest @@ -1,11 +1,8 @@ -AUX beagle-0.2.18-mono-1.9.1.patch 551 RMD160 ceb0449d09d91e960f79daea4a04eff367a8cc50 SHA1 4ad1d977d98a8daf403cb531c56ef245d6015dfa SHA256 19da8f23d5d9116470d8f7ab764886d9317cdb390ed8658627df73e3802f3871 -AUX beagle-0.2.7-crawltweek.patch 1206 RMD160 73925987e7ced184351fed4dcded49671d062a5c SHA1 76e325807be790e1d75e8212ade97ee74f5be987 SHA256 3d5b8b0b87d46b9bba4af6b08c09a769a62ff608e4fc1a4257342b40f659096d -AUX beagle-0.3.7-evo-sharp.patch 4796 RMD160 32388714ef8efc445541cdcddb81cdcb6625523c SHA1 aad4c8b8eff698176a31b96eb96a4ad6262a087e SHA256 df9c3f03130da9a93ee95d481a59b0c83f291f2cb4a4d8289c7fa081737e52a0 +AUX beagle-0.3.9-firefox-3.5.patch 7426 RMD160 aa674eb63cf320d5500e243659ac1196594ebe06 SHA1 fe1ba593e445ef4b29671800e78c694982e9b112 SHA256 2091b5519bef802124bd37387501270a688a715c1f06f382c9ed825eee86d4ba AUX beagle-log-level-warn.patch 2014 RMD160 444a772662d0cf1e2b32865c87ad8308c36537c2 SHA1 7b4abc9699922c3d681b3283ca9dc2dfe0710e88 SHA256 1f8664518210dfd54ea0e229cff30cc7e41dd0651ad5ed5f608afecb49afc48e AUX crawl-portage 295 RMD160 979f70ae6172ffbbba21fcf8ab22964d10bf6b1a SHA1 6c8da69912829a6dd8f1bdcacc3d59acb31a9f63 SHA256 14b8423c0590ce9bc8b43ee75b7c51c02ec46031d89baeee8c0100bdc6adb31b -DIST beagle-0.3.8-patches.tar.lzma 6817 RMD160 a52dd21ecde6dfe8d6a264dde620db50da50b67a SHA1 fb98afd9485b5b18e00642c4d546d4c4ef11db85 SHA256 232b0177f538997562cf4518ea257ff6149f7f0b7160dd57a6f965f657e3b6e8 DIST beagle-0.3.9.tar.bz2 1895453 RMD160 f8e26ceeea50e33b04837e1d22f1a6f18fa84c1a SHA1 5fdba6ffd4a210076a954cc22f5b940705b71a6e SHA256 4252710247809df393f318450a391298fa57a3ad7b6043962734997035caf488 -EBUILD beagle-0.3.9-r1.ebuild 5675 RMD160 d25aa298a309d1f70d76f7874a961bd79a437f51 SHA1 15f47cac9980189679683d5a25296faa415e0c83 SHA256 0b03a496f4cefa0f6cddbf66acdc25f76c159cd8ddb806e4b37addcbbf698792 -EBUILD beagle-0.3.9.ebuild 5829 RMD160 b64adbb461974d77658b5608df29f8ed3d065349 SHA1 f0736b267c60c67324d43c3baef2bb6ef5c7e333 SHA256 42792d9dae4f50e1627d2f73963c5e099004726d5cc3fc3af002d39be6d65d34 -MISC ChangeLog 16997 RMD160 b3bee4d45f71dfa4ec615287639286889ad4e923 SHA1 4ac2d3a71a47442170c63598c502a5060d3f9f83 SHA256 a460d479b53ff7a72c77ff2b65a7008f100e991b2cdb312eae7b6077745d6579 +EBUILD beagle-0.3.9-r1.ebuild 5751 RMD160 5591adcfd76d75c16f8edc47fec45f452f326142 SHA1 7b4290866ea465bb47eba273c5517bf3ab44accb SHA256 89236040796ae40a783f3304c60b31a0604f358e235b02f5079365f95c0e555c +EBUILD beagle-0.3.9-r2.ebuild 5769 RMD160 f813313f96f73d97a78270fcc8595b2a2efbc959 SHA1 167cfb4eead26391e37b55c1850c4995d36b4f86 SHA256 5897112f45b56c49fda187f2e2c40c49bfb15ae38172e2f6cb06e44529d21fb6 +MISC ChangeLog 17507 RMD160 cbec32b2181def6261e1e169ebd3f0d8b0198f27 SHA1 c823c7be8f45fd9e0aba4218acf51fc24be3d35c SHA256 8df11da71aefce68d3c348c1d46d7240cd551060d538dae3d49c72d3bbb75174 MISC metadata.xml 2635 RMD160 04de0c5e6bb7c6610c2a611fc421fd04b3b14332 SHA1 c572b7e74e85c852156ec59ff41d35756c58d0e5 SHA256 d64623a36f93a4207d15850e4ceb8ae275eeb99f9f2e1c477cb1f126050cfff6 diff --git a/app-misc/beagle/beagle-0.3.9-r1.ebuild b/app-misc/beagle/beagle-0.3.9-r1.ebuild index 3f4255a717c9..4873188e58a7 100644 --- a/app-misc/beagle/beagle-0.3.9-r1.ebuild +++ b/app-misc/beagle/beagle-0.3.9-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/beagle/beagle-0.3.9-r1.ebuild,v 1.4 2009/06/01 16:24:06 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/beagle/beagle-0.3.9-r1.ebuild,v 1.5 2009/09/05 11:21:33 loki_val Exp $ EAPI=2 @@ -62,8 +62,10 @@ RDEPEND="!!sci-libs/beagle ) firefox? ( || ( - >=www-client/mozilla-firefox-1.5 - >=www-client/mozilla-firefox-bin-1.5 + =www-client/mozilla-firefox-2* + =www-client/mozilla-firefox-3.0* + =www-client/mozilla-firefox-bin-2* + =www-client/mozilla-firefox-bin-3.0* ) ) epiphany? ( diff --git a/app-misc/beagle/beagle-0.3.9.ebuild b/app-misc/beagle/beagle-0.3.9-r2.ebuild index c3783969aba3..7ea3b9a9ff57 100644 --- a/app-misc/beagle/beagle-0.3.9.ebuild +++ b/app-misc/beagle/beagle-0.3.9-r2.ebuild @@ -1,18 +1,16 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/beagle/beagle-0.3.9.ebuild,v 1.7 2009/04/04 14:52:55 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/beagle/beagle-0.3.9-r2.ebuild,v 1.1 2009/09/05 11:21:33 loki_val Exp $ EAPI=2 -inherit base gnome.org eutils autotools mono mozextension +inherit base gnome.org eutils mono mozextension autotools DESCRIPTION="Search tool that ransacks your personal information space to find whatever you're looking for" HOMEPAGE="http://www.beagle-project.org/" -SRC_URI="${SRC_URI} - mirror://gentoo/${PN}-0.3.8-patches.tar.lzma" LICENSE="MIT Apache-1.1" SLOT="0" -KEYWORDS="amd64 ppc x86" +KEYWORDS="~amd64 ~ppc ~x86" IUSE="avahi chm debug doc epiphany eds firefox +galago gtk +pdf +inotify +ole thunderbird +google +xscreensaver" #See bug 248331 for blocker reason. @@ -33,7 +31,7 @@ RDEPEND="!!sci-libs/beagle >=dev-dotnet/glade-sharp-2.12.6 >=dev-dotnet/gnome-sharp-2.24.0 >=dev-dotnet/gnomevfs-sharp-2.24.0 - dev-libs/gmime:2.4[mono] + dev-libs/gmime:0[mono] x11-misc/xdg-utils >=x11-libs/gtk+-2.14.0 >=dev-libs/atk-1.22.0 @@ -42,7 +40,7 @@ RDEPEND="!!sci-libs/beagle >=dev-dotnet/evolution-sharp-0.18.1 >=dev-dotnet/gconf-sharp-2.24.0 >=dev-dotnet/glib-sharp-2.12.6 - dev-libs/gmime:2.4[mono] + dev-libs/gmime:0[mono] ) ole? ( >=app-text/wv-1.2.3 @@ -52,7 +50,7 @@ RDEPEND="!!sci-libs/beagle x11-misc/shared-mime-info >=dev-dotnet/glib-sharp-2.12.6 - dev-libs/gmime:2.4[mono] + dev-libs/gmime:0[mono] chm? ( dev-libs/chmlib ) pdf? ( >=virtual/poppler-utils-0.8 ) galago? ( >=dev-dotnet/galago-sharp-0.5.0 ) @@ -92,21 +90,21 @@ pkg_setup() { eerror "You have enabled the thunderbird use flag. This use-flag depends on the inotify use-flag." eerror "Please enable the inotify use-flag also." eerror "See http://bugs.gentoo.org/263781 for more information." - die "Please enable inotify use-flag." + die "Please enable the inotify use-flag." fi fi } src_prepare() { - epatch "${WORKDIR}/patches/${PN}-0.3.8-gmime-2.4.patch" - #Fix bug 248703 sed -i -e 's:VALID_EPIPHANY_VERSIONS=":VALID_EPIPHANY_VERSIONS="2.26 2.25 2.24 :' \ - configure.in || die "epiphany sed failed" + configure || die "epiphany sed failed" #Fix bugs.gnome.org/556243 sed -i -e "s:libgnome-desktop-2.so.2:libgnome-desktop-2.so:" \ search/Beagle.Search.exe.config || die "gnome-desktop sed failed" + #Fix bug 283740 + epatch "${FILESDIR}/${P}-firefox-3.5.patch" eautoreconf } diff --git a/app-misc/beagle/files/beagle-0.2.18-mono-1.9.1.patch b/app-misc/beagle/files/beagle-0.2.18-mono-1.9.1.patch deleted file mode 100644 index d38532538bbd..000000000000 --- a/app-misc/beagle/files/beagle-0.2.18-mono-1.9.1.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ru beagle-0.2.18~/search/UIManager.cs beagle-0.2.18/search/UIManager.cs ---- beagle-0.2.18~/search/UIManager.cs 2008-06-29 15:14:28.000000000 +0200 -+++ beagle-0.2.18/search/UIManager.cs 2008-06-29 15:15:00.000000000 +0200 -@@ -394,7 +394,7 @@ - if (ScopeChanged == null) - return; - -- ScopeType scope = (ScopeType) System.Enum.Parse (typeof (ScopeType), ((Action) obj).Name); -+ ScopeType scope = (ScopeType) System.Enum.Parse (typeof (ScopeType), ((Gtk.Action) obj).Name); - - ScopeChanged (scope, ((ToggleAction) obj).Active); - } diff --git a/app-misc/beagle/files/beagle-0.2.7-crawltweek.patch b/app-misc/beagle/files/beagle-0.2.7-crawltweek.patch deleted file mode 100644 index 2a081a0bd7b0..000000000000 --- a/app-misc/beagle/files/beagle-0.2.7-crawltweek.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- tools/crawl-rules/crawl-applications.orig 2006-06-20 02:48:47.966755392 +0100 -+++ tools/crawl-rules/crawl-applications 2006-06-20 02:49:26.025969512 +0100 -@@ -2,7 +2,7 @@ - - CRAWL_INDEX_NAME="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 /opt/gnome/share/applications /opt/kde3/share/applications /usr/kde/*/share/applications" - - CRAWL_RECURSIVE="yes" - ---- tools/crawl-rules/crawl-documentation.orig 2006-06-20 02:49:41.780574448 +0100 -+++ tools/crawl-rules/crawl-documentation 2006-06-20 02:50:29.751281792 +0100 -@@ -2,7 +2,7 @@ - - CRAWL_INDEX_NAME="documentation" - --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 /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 /usr/kde/*/share/doc" - - CRAWL_ALLOW_PATTERNS="*.xml,*.html,*.docbook" - diff --git a/app-misc/beagle/files/beagle-0.3.7-evo-sharp.patch b/app-misc/beagle/files/beagle-0.3.7-evo-sharp.patch deleted file mode 100644 index db5c87aada3e..000000000000 --- a/app-misc/beagle/files/beagle-0.3.7-evo-sharp.patch +++ /dev/null @@ -1,116 +0,0 @@ -diff -ru beagle-0.3.7~/beagled/EvolutionMailQueryable/EvolutionMailIndexableGenerator.cs beagle-0.3.7/beagled/EvolutionMailQueryable/EvolutionMailIndexableGenerator.cs ---- beagle-0.3.7~/beagled/EvolutionMailQueryable/EvolutionMailIndexableGenerator.cs 2008-06-07 16:23:11.000000000 +0200 -+++ beagle-0.3.7/beagled/EvolutionMailQueryable/EvolutionMailIndexableGenerator.cs 2008-06-07 16:28:57.000000000 +0200 -@@ -36,7 +36,7 @@ - using Beagle.Util; - using Beagle.Daemon; - --using Camel = Beagle.Util.Camel; -+using B_U_Camel = Beagle.Util.Camel; - - namespace Beagle.Daemon.EvolutionMailQueryable { - -@@ -309,7 +309,7 @@ - } - } - -- private static bool CheckFlags (uint flags, Camel.CamelFlags test) -+ private static bool CheckFlags (uint flags, B_U_Camel.CamelFlags test) - { - return (flags & (uint) test) == (uint) test; - } -@@ -317,7 +317,7 @@ - private Indexable GMimeMessageToIndexable (string uid, GMime.Message message, uint flags) - { - // Don't index messages flagged as junk -- if (CheckFlags (flags, Camel.CamelFlags.Junk)) -+ if (CheckFlags (flags, B_U_Camel.CamelFlags.Junk)) - return null; - - System.Uri uri = EvolutionMailQueryable.EmailUri (this.account_name, this.folder_name, uid); -@@ -362,22 +362,22 @@ - flag_prop.IsMutable = true; - indexable.AddProperty (flag_prop); - -- if (CheckFlags (flags, Camel.CamelFlags.Answered)) -+ if (CheckFlags (flags, B_U_Camel.CamelFlags.Answered)) - indexable.AddProperty (Property.NewFlag ("fixme:isAnswered")); - -- if (CheckFlags (flags, Camel.CamelFlags.Deleted)) -+ if (CheckFlags (flags, B_U_Camel.CamelFlags.Deleted)) - indexable.AddProperty (Property.NewFlag ("fixme:isDeleted")); - -- if (CheckFlags (flags, Camel.CamelFlags.Draft)) -+ if (CheckFlags (flags, B_U_Camel.CamelFlags.Draft)) - indexable.AddProperty (Property.NewFlag ("fixme:isDraft")); - -- if (CheckFlags (flags, Camel.CamelFlags.Flagged)) -+ if (CheckFlags (flags, B_U_Camel.CamelFlags.Flagged)) - indexable.AddProperty (Property.NewFlag ("fixme:isFlagged")); - -- if (CheckFlags (flags, Camel.CamelFlags.Seen)) -+ if (CheckFlags (flags, B_U_Camel.CamelFlags.Seen)) - indexable.AddProperty (Property.NewFlag ("fixme:isSeen")); - -- if (CheckFlags (flags, Camel.CamelFlags.AnsweredAll)) -+ if (CheckFlags (flags, B_U_Camel.CamelFlags.AnsweredAll)) - indexable.AddProperty (Property.NewFlag ("fixme:isAnsweredAll")); - - indexable.SetBinaryStream (message.Stream); -@@ -427,7 +427,7 @@ - private FileInfo summary_info; - private string imap_name; - private ImapBackendType backend_type; -- private Camel.Summary summary; -+ private B_U_Camel.Summary summary; - private IEnumerator summary_enumerator; - private EvolutionSummaryTracker tracker; - private DateTime start_crawl_time; -@@ -593,9 +593,9 @@ - if (this.summary == null) { - try { - if (this.backend_type == ImapBackendType.Imap) -- this.summary = Camel.Summary.LoadImapSummary (this.summary_info.FullName); -+ this.summary = B_U_Camel.Summary.LoadImapSummary (this.summary_info.FullName); - else -- this.summary = Camel.Summary.LoadImap4Summary (this.summary_info.FullName); -+ this.summary = B_U_Camel.Summary.LoadImap4Summary (this.summary_info.FullName); - } catch (Exception e) { - Logger.Log.Warn (e, "Unable to index {0}:", this.folder_name); - this.queryable.RemoveGenerator (this); -@@ -660,7 +660,7 @@ - return indexable; - } - -- Camel.MessageInfo mi = (Camel.MessageInfo) this.summary_enumerator.Current; -+ B_U_Camel.MessageInfo mi = (B_U_Camel.MessageInfo) this.summary_enumerator.Current; - - ++this.count; - -@@ -717,12 +717,12 @@ - return indexable; - } - -- private Uri CamelMessageUri (Camel.MessageInfo message_info) -+ private Uri CamelMessageUri (B_U_Camel.MessageInfo message_info) - { - return EvolutionMailQueryable.EmailUri (this.account_name, this.folder_name, message_info.uid); - } - -- private Indexable CamelMessageToIndexable (Camel.MessageInfo messageInfo, string msg_file) -+ private Indexable CamelMessageToIndexable (B_U_Camel.MessageInfo messageInfo, string msg_file) - { - // Don't index messages flagged as junk - if (messageInfo.IsJunk) -Only in beagle-0.3.7/beagled/EvolutionMailQueryable: EvolutionMailIndexableGenerator.cs.orig -diff -ru beagle-0.3.7~/beagled/EvolutionMailQueryable/EvolutionMailQueryable.cs beagle-0.3.7/beagled/EvolutionMailQueryable/EvolutionMailQueryable.cs ---- beagle-0.3.7~/beagled/EvolutionMailQueryable/EvolutionMailQueryable.cs 2008-06-07 16:23:11.000000000 +0200 -+++ beagle-0.3.7/beagled/EvolutionMailQueryable/EvolutionMailQueryable.cs 2008-06-07 16:25:36.000000000 +0200 -@@ -31,7 +31,6 @@ - using System.Threading; - - using Beagle.Util; --using Camel = Beagle.Util.Camel; - - namespace Beagle.Daemon.EvolutionMailQueryable { - diff --git a/app-misc/beagle/files/beagle-0.3.9-firefox-3.5.patch b/app-misc/beagle/files/beagle-0.3.9-firefox-3.5.patch new file mode 100644 index 000000000000..9302ed535c47 --- /dev/null +++ b/app-misc/beagle/files/beagle-0.3.9-firefox-3.5.patch @@ -0,0 +1,177 @@ +Fix bug 283740 +Backport of: +From a56102700eb77cc6563b99b68acdc699a6716e73 Mon Sep 17 00:00:00 2001 +From: Tao Fei <Filia.Tao@gmail.com> +Date: Fri, 03 Jul 2009 11:20:56 +0000 +Subject: fix name confilct bug in beaglePrefs.js (for firefox 3.5) + +remove some debug msg (break in firefox 3.5) +update zh-cn locale for beagle search history sidebar +update max firfox version to 3.5.* +update version number to 1.1.2 + +From upstream git. +Link: http://git.gnome.org/cgit/beagle/commit/?id=a56102700eb77cc6563b99b68acdc699a6716e73 + +diff -NrU5 beagle-0.3.9.orig/firefox-extension/chrome/content/beaglePrefs.js beagle-0.3.9/firefox-extension/chrome/content/beaglePrefs.js +--- beagle-0.3.9.orig/firefox-extension/chrome/content/beaglePrefs.js 2009-09-05 12:28:10.000000000 +0200 ++++ beagle-0.3.9/firefox-extension/chrome/content/beaglePrefs.js 2009-09-05 12:29:07.000000000 +0200 +@@ -2,11 +2,11 @@ + * Beagle Extension: Index webpages you visit using the Beagle Indexing Engine. + * An Extension for the Firefox Browser. + */ + + // Initiate a new preference instance. +-var gPrefService = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces.nsIPrefBranch); ++_prefService = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces.nsIPrefBranch); + + var beaglePref = { + + //some constant + RULE_INCLUDE : 1, +@@ -29,18 +29,18 @@ + + + //functions used to get/set pref + func_factory:{ + 'get':{ +- 'bool': Function.bind(gPrefService.getBoolPref,gPrefService), +- 'int': Function.bind(gPrefService.getIntPref,gPrefService), +- 'string' : Function.bind(gPrefService.getCharPref,gPrefService) ++ 'bool': Function.bind(_prefService.getBoolPref,_prefService), ++ 'int': Function.bind(_prefService.getIntPref,_prefService), ++ 'string' : Function.bind(_prefService.getCharPref,_prefService) + }, + 'set':{ +- 'bool': Function.bind(gPrefService.setBoolPref,gPrefService), +- 'int' : Function.bind(gPrefService.setIntPref,gPrefService), +- 'string' : Function.bind(gPrefService.setCharPref,gPrefService) ++ 'bool': Function.bind(_prefService.setBoolPref,_prefService), ++ 'int' : Function.bind(_prefService.setIntPref,_prefService), ++ 'string' : Function.bind(_prefService.setCharPref,_prefService) + } + }, + + prefObject : {}, + +@@ -318,8 +318,8 @@ + } + catch(ex){ + log("first run import error"); + log(ex); + } +- }, ++ } + } + +diff -NrU5 beagle-0.3.9.orig/firefox-extension/chrome/content/jslib/io/dir.js beagle-0.3.9/firefox-extension/chrome/content/jslib/io/dir.js +--- beagle-0.3.9.orig/firefox-extension/chrome/content/jslib/io/dir.js 2009-09-05 12:28:10.000000000 +0200 ++++ beagle-0.3.9/firefox-extension/chrome/content/jslib/io/dir.js 2009-09-05 12:29:07.000000000 +0200 +@@ -219,11 +219,11 @@ + " readDir(aDirPath);\n"; + + return help; + }); + +-jslibDebug('*** load: '+JS_DIR_FILE+' OK'); ++//jslibDebug('*** load: '+JS_DIR_FILE+' OK'); + + } else { + dump("JSLIB library not loaded:\n" + + " \tTo load use: chrome://jslib/content/jslib.js\n" + + " \tThen: include(jslib_dir);\n\n"); +diff -NrU5 beagle-0.3.9.orig/firefox-extension/chrome/content/jslib/io/dirUtils.js beagle-0.3.9/firefox-extension/chrome/content/jslib/io/dirUtils.js +--- beagle-0.3.9.orig/firefox-extension/chrome/content/jslib/io/dirUtils.js 2009-09-05 12:28:10.000000000 +0200 ++++ beagle-0.3.9/firefox-extension/chrome/content/jslib/io/dirUtils.js 2009-09-05 12:29:07.000000000 +0200 +@@ -171,11 +171,11 @@ + return help; + } + + }; //END CLASS + +-jslibDebug('*** load: '+JS_DIRUTILS_FILE+' OK'); ++//jslibDebug('*** load: '+JS_DIRUTILS_FILE+' OK'); + + } // END BLOCK JS_LIB_LOADED CHECK + + else { + dump("JSLIB library not loaded:\n" + +diff -NrU5 beagle-0.3.9.orig/firefox-extension/chrome/content/jslib/io/file.js beagle-0.3.9/firefox-extension/chrome/content/jslib/io/file.js +--- beagle-0.3.9.orig/firefox-extension/chrome/content/jslib/io/file.js 2009-09-05 12:28:10.000000000 +0200 ++++ beagle-0.3.9/firefox-extension/chrome/content/jslib/io/file.js 2009-09-05 12:29:07.000000000 +0200 +@@ -756,11 +756,11 @@ + " help;\n"; + + return help; + }) + +-jslibDebug('*** load: '+JS_FILE_FILE+' OK'); ++//jslibDebug('*** load: '+JS_FILE_FILE+' OK'); + + } // END BLOCK JS_LIB_LOADED CHECK + + // If jslib base library is not loaded, dump this error. + else +diff -NrU5 beagle-0.3.9.orig/firefox-extension/chrome/content/jslib/io/fileUtils.js beagle-0.3.9/firefox-extension/chrome/content/jslib/io/fileUtils.js +--- beagle-0.3.9.orig/firefox-extension/chrome/content/jslib/io/fileUtils.js 2009-09-05 12:28:10.000000000 +0200 ++++ beagle-0.3.9/firefox-extension/chrome/content/jslib/io/fileUtils.js 2009-09-05 12:29:07.000000000 +0200 +@@ -582,11 +582,11 @@ + return help; + } + + }; + +-jslibDebug('*** load: '+JS_FILEUTILS_FILE+' OK'); ++//jslibDebug('*** load: '+JS_FILEUTILS_FILE+' OK'); + + } // END BLOCK JS_LIB_LOADED CHECK + + // If jslib base library is not loaded, dump this error. + else +diff -NrU5 beagle-0.3.9.orig/firefox-extension/chrome/locale/zh-CN/beagle.dtd beagle-0.3.9/firefox-extension/chrome/locale/zh-CN/beagle.dtd +--- beagle-0.3.9.orig/firefox-extension/chrome/locale/zh-CN/beagle.dtd 2009-09-05 12:28:10.000000000 +0200 ++++ beagle-0.3.9/firefox-extension/chrome/locale/zh-CN/beagle.dtd 2009-09-05 12:29:07.000000000 +0200 +@@ -29,11 +29,13 @@ + <!ENTITY beagle.run.never.index.label "从不索引这个站点"> + <!ENTITY beagle.run.preferences.label "选项"> + <!ENTITY beagle.run.context.menu.label "Beagle"> + <!ENTITY beagle.run.index.link.label "索引链接"> + <!ENTITY beagle.run.index.image.label "索引图片"> +- + <!ENTITY beagle.index.link.start.label "开始"> + <!ENTITY beagle.index.link.stop.label "停止"> + + <!ENTITY beagle.bookmark.index.modified.label "索引更改过的书签"> + ++<!ENTITY beagle.sidebar.title "Beagle 搜索历史侧边栏"> ++<!ENTITY beagle.sidebar.commandkey "B"> ++<!ENTITY beagle.sidebar.modifierskey "shift 键"> +diff -NrU5 beagle-0.3.9.orig/firefox-extension/install.rdf.in beagle-0.3.9/firefox-extension/install.rdf.in +--- beagle-0.3.9.orig/firefox-extension/install.rdf.in 2009-09-05 12:28:10.000000000 +0200 ++++ beagle-0.3.9/firefox-extension/install.rdf.in 2009-09-05 12:29:50.000000000 +0200 +@@ -21,11 +21,11 @@ +
+ <em:targetApplication>
+ <Description>
+ <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
+ <em:minVersion>0.8</em:minVersion>
+- <em:maxVersion>3.0.*</em:maxVersion>
++ <em:maxVersion>3.5.*</em:maxVersion>
+ </Description>
+ </em:targetApplication>
+
+ </Description>
+
+diff -NrU5 beagle-0.3.9.orig/firefox-extension/Makefile.am beagle-0.3.9/firefox-extension/Makefile.am +--- beagle-0.3.9.orig/firefox-extension/Makefile.am 2009-09-05 12:28:10.000000000 +0200 ++++ beagle-0.3.9/firefox-extension/Makefile.am 2009-09-05 12:29:07.000000000 +0200 +@@ -1,8 +1,8 @@ + + PROJECT = beagle +-VERSION = 1.1.0 ++VERSION = 1.1.2 + + INSTALL_RDF = install.rdf + INSTALL_RDF_IN = $(INSTALL_RDF).in + VERSION_SED = sed -e "s|\@VERSION\@|$(VERSION)|g" + |