Page 1 of 1

Beagle - Gnome 的搜尋小獵犬

Posted: Sat Apr 16, 2005 8:53 am
by ww
Beagle - 我覺的這個真的是不錯的軟體。
其實 Mono 真的以經很穩了。

Beagle 要安裝也滿簡單的,完整的步驟就參考 Gentoo Wiki,這個是精簡版:


需求: gentoo-sources-2.6.10-r5 (目前最新的)
其它要注意的:
1. Beagle 不支援 Reiserfs4
2. 可能有人不知道... 現在已經沒有 gentoo-dev-sources 了,gentoo-sources 就是之前的 gentoo-dev-sources 。

然後 menuconfig:

Code: Select all

File Systems >
[*] Inotify file change notification support
然後這個: Extended Attributes

從 bugs.gentoo.org 抓 beagle-0.0.9.ebuild
放到自己的 portage overlay (步驟)

以下才是我簡化的部分: :41.gif:
1. 編輯 /etc/make.conf,加 mono, dbus, eds

2. 把這些加到 /etc/portage/package.keywords

Code: Select all

dev-lang/mono
sys-apps/dbus
app-misc/beagle
dev-libs/gmime
dev-dotnet/libgdiplus
=x11-libs/cairo-0.3.0
media-libs/libpixman
dev-dotnet/evolution-sharp
3. 把這些加到 /etc/portage/package.unmask

Code: Select all

dev-lang/mono
dev-dotnet/libgdiplus
=x11-libs/cairo-0.3.0
media-libs/libpixman
emerge beagle 會顯識:

Code: Select all

Calculating dependencies ...done!
[ebuild  N    ] dev-db/sqlite-2.8.16-r1  -doc +nls +tcltk 0 kB
[ebuild  N    ] dev-libs/gmime-2.1.14  -debug -doc -ipv6 -mono 781 kB
[ebuild     U ] sys-apps/dbus-0.23.4 [0.23-r3] +X -debug +gtk -mono* +python -qt +xml2 0 kB
[ebuild  N    ] media-libs/libpixman-0.1.4  366 kB
[ebuild  N    ] x11-libs/cairo-0.3.0  +X -glitz +png 763 kB
[ebuild  N    ] dev-dotnet/libgdiplus-1.1.5  +gif +jpeg +png +tiff 1,285 kB
[ebuild  N    ] dev-lang/mono-1.1.6  -debug -icu -nptl 13,430 kB
[ebuild  N    ] dev-dotnet/gtk-sharp-1.0.6  1,741 kB
[ebuild  N    ] dev-dotnet/art-sharp-1.0.6  0 kB
[ebuild  N    ] dev-dotnet/gnome-sharp-1.0.6  0 kB
[ebuild  N    ] dev-dotnet/glade-sharp-1.0.6  0 kB
[ebuild  N    ] dev-dotnet/gconf-sharp-1.0.6  0 kB
[ebuild  N    ] dev-dotnet/gecko-sharp-0.6  0 kB
[ebuild  N    ] app-misc/beagle-0.0.9  -debug -doc -epiphany +network 0 kB [1]

Total size of downloads: 18,368 k
有問題再反安裝回去就好了 :12.gif:

如果你之前沒有 dbus:

Code: Select all

rc-update add dbus default
我習慣 startx 進如 X,必須做以下的部分 (如果你是用 xdm,gdm 好像不必一下的步驟?):
編輯 ~/.xinitrc,加

Code: Select all

dbuslaunch="`which dbus-launch 2>/dev/null`"
if [ -n "$dbuslaunch" ] && [ -x "$dbuslaunch" ] && [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
  eval `$dbuslaunch --sh-syntax --exit-with-session`
    fi

exec gnome-session
然後在 Gnome session 加 “beagled” 。

完全登出你的 Linux account。重新回到 Gnome 就有 beagle 嘍。

打開 Firefox,輸入:

Code: Select all

file:///usr/share/beagle/beagle.xpi
這樣連 Firefox 的瀏覽過的網頁也可以搜尋。

還有,目前 Beagle 只讓你搜尋 ~/ 裡的東西,也許以後會有選詳可以全部搜尋,但我覺的目前這樣也夠用了。 :)

-----
http://www.gnome.org/projects/beagle/
http://gentoo-wiki.com/HOWTO_Beagle
http://forums.gentoo.org/viewtopic-t-28 ... t-125.html
Gentoo dev 對 Mono 的 blog: http://www.tenslashsix.com/index.php?p=60
之前的我的 blog: http://1337-tux.blogspot.com/2005/03/br ... entoo.html
http://joeshaw.org/