You are not logged in.

#1 2005-01-30 05:35:08

johnisevil
Member
From: Hamilton, ON Canada
Registered: 2003-08-07
Posts: 221
Website

Beagle

After some rebuilding of a package or two I finally got Beagle working under Arch, here's how I did it for those wanting to try it out.

1.  Make sure the following packages are installed: mono, gtk-sharp, firefox and sqlite2.

2.  If you have gmime installed, you'll need to rebuild it, here's my PKGBUILD of it.

pkgname=gmime
pkgver=2.1.10
pkgrel=1
pkgdesc="core mime parsing library"
url="http://spruce.sourceforge.net/gmime/"
license=""
depends=('glib2' 'bash' 'zlib' 'sharutils' 'mono')
source=(http://spruce.sourceforge.net/gmime/sources/v2.1/$pkgname-$pkgver.tar.gz)
md5sums=('4e82952bb0ca66f1b09fd64725bff9f8')

build() {
  [ "$MONO_PATH" = "" ] && . /etc/profile.d/mono.sh
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr --disable-gtk-doc --enable-mono
  make || return 1
  make DESTDIR=$startdir/pkg install

  mkdir -p $startdir/pkg/opt/mono/lib/
  mv $startdir/pkg/usr/lib/mono $startdir/pkg/opt/mono/lib
  sed -i 's|${exec_prefix}|/opt/mono|' $startdir/pkg/usr/lib/pkgconfig/gmime-sharp.pc
  sed -i 's|libdir=${prefix}/lib|libdir=/opt/mono/lib|' $startdir/pkg/usr/lib/pkgconfig/gmime-sharp.pc
  # To fix but #1607
  rm $startdir/pkg/usr/bin/uudecode
  rm $startdir/pkg/usr/bin/uuencode
}

3.  Build beagle.  Here's my PKGBUILD of it.

pkgname=beagle
pkgver=0.0.5
pkgrel=2
pkgdesc="Beagle is a GNOME desktop search tool"
url="http://www.gnome.org/projects/beagle"
depends=('mono' 'gtk-sharp' 'mozilla-firefox' 'sqlite2' 'gmime')
source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/0.0/$pkgname-$pkgver.tar.gz)

build() {
  [ "$MONO_PATH" = "" ] && . /etc/profile.d/mono.sh
  [ "$FIREFOX_PATH" = "" ] && . /etc/profile.d/mozilla-firefox.sh
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/opt/gnome --enable-mozilla=firefox
  make || return 1
  make DESTDIR=$startdir/pkg install
}

4.  Assuming that you're using Gnome, you'll need to alter the way that Gnome is started to make use of dbus.  Add exec dbus-launch gnome-session to your .xinitrc and log out of Gnome then log back in.

5.  Open a terminal and type beagled --fg --debug to not only make sure beagled starts without errors but to make sure that it begins to index your data correctly.

6.  From a terminal, run the best command to begin searching your data.

Offline

#2 2005-01-30 21:35:04

johnisevil
Member
From: Hamilton, ON Canada
Registered: 2003-08-07
Posts: 221
Website

Re: Beagle

As far as I can make out (noob warning), the PKGBUILD tries to get the firefox path from mozilla-firebird.sh which I don't seem to have therefore the build says it can't find firefox. I have firefox installed and working correctly but that file doesn't seem to exist (I have mozilla-common.sh in /etc/profile.d/ but not the firefox one). Can I paste in one from someone elses? Anyone volunteer to provide one?

Aside from that I assume I need an inotify enable kernel which I assume the stock arch one isn't.. How do I go about getting an inotify enabled kernel?

Thanks in advance

To get an inotify enabled kernel I recommend using the nitro patchset which has it included.  As for that mozilla error, you'll need this small bash script I made that adds Firefox's libraries and whatnot to the system environment.  Save this as /etc/profile.d/mozilla-firefox.sh

export PATH=$PATH:/opt/mozilla-firefox/bin
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/mozilla-firefox/lib/pkgconfig
export FIREFOX_PATH=/opt/mozilla-firefox/lib

Offline

#3 2005-02-06 19:05:02

crimbil
Member
Registered: 2004-10-10
Posts: 20

Re: Beagle

First I got the same error as satellite posted.

checking which mozilla to use... configure: error: no mozilla installation found
make: *** No targets specified and no makefile found.  Stop.
==> ERROR: Build Failed.  Aborting...

So I changed the paths in /etc/profile.d/mozilla-firefox.sh to /opt/mozilla/... because this is where my firefox is installed. But the same error remained in the configure process.
I'm myself more or less a newbie, but I did a little research and took a look at beagle's configure --help and I changed ./configure --prefix=/opt/gnome --enable-mozilla=firefox to ./configure --prefix=/opt/gnome --with-mozilla=firefox after that.
Now I get the following error:

checking which mozilla to use... firefox
checking for firefox-gtkmozembed >= 0.10 firefox-xpcom >= 0.10... Package firefox-gtkmozembed was not found in the pkg-config search path.
Perhaps you should add the directory containing `firefox-gtkmozembed.pc'
to the PKG_CONFIG_PATH environment variable
No package 'firefox-gtkmozembed' found

configure: error: Library requirements (firefox-gtkmozembed >= 0.10 firefox-xpcom >= 0.10) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden.  Schluss.
==> ERROR: Build Failed.  Aborting...

It seems that the firefox package doesn't have any .pc file or a pkgconfig folder.


So I don't know what to do now...
Maybe someone could help  :?:

Offline

#4 2005-02-07 12:10:33

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Beagle

We removed those because you should either build against gecko-sdk or mozilla, not firefox.

Offline

#5 2005-02-07 14:30:52

ShiN
Member
Registered: 2005-01-20
Posts: 2

Re: Beagle

JGC wrote:

not firefox.

Why?

Offline

#6 2005-03-12 10:20:19

alexthelion
Member
From: Switzerland
Registered: 2004-03-06
Posts: 117

Re: Beagle

As for step 4 of the instructions: if you are starting Gnome using gdm instead of startx, you'll have to change this, because gdm is not reading .xinitrc. Instead, it uses .xprofile.

Alternatively (I think...) you can edit gdm's configurations scripts in /opt/gnome/etc/gdm if you want the dbus session to be established for all users.

I somebody informed about inotify? Is it already known when it will enter the mainline kernel? What's the easiest way of getting a kerne with inotify support?

Offline

#7 2005-03-24 19:07:15

krafty
Member
Registered: 2005-03-22
Posts: 15

Re: Beagle

johnisevil wrote:

To get an inotify enabled kernel I recommend using the nitro patchset which has it included.

Is inotify necessary?  I thought Beagle reverted to using polling in the absence of inotify.  Anyway, I've got Beagle installed, and I'm simply using the stock Arch Linux kernel (2.6.11).


:: it's not in rhyme or reason

Offline

#8 2005-03-24 21:10:22

johnisevil
Member
From: Hamilton, ON Canada
Registered: 2003-08-07
Posts: 221
Website

Re: Beagle

Is inotify necessary? I thought Beagle reverted to using polling in the absence of inotify. Anyway, I've got Beagle installed, and I'm simply using the stock Arch Linux kernel (2.6.11).

I remember reading that after 0.0.7, you could use Beagle without inotify and I think it will use fam instead.

Offline

#9 2005-03-24 23:42:23

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Beagle

it depends on gecko-sharp too.

i got it running, its ok, but it only seems to have indexed my imlogs, some programs and rss feeds from liferea or blam, not sure which.

Don't take life seriously, you'll never get out alive.

Offline

#10 2005-04-04 12:55:13

mdk
Member
From: Helsinki/Finland
Registered: 2005-04-04
Posts: 26
Website

Re: Beagle

Here is the PKGBUILD for evolution-sharp bindings, which are required to make Beagle index evolution contacts, etc. I'm working on a PKGBUILD for Beagle 0.0.8. It's totally cool software.

pkgname=evolution-sharp
pkgver=0.6
pkgrel=1
pkgdesc="C# bindings for Novell Evolution"
url="http://ftp.gnome.org/pub/GNOME/sources/evolution-sharp/"
makedepends=('mono' 'gtk-sharp' 'pkgconfig' 'evolution-data-server')
depends=('gtk-sharp' 'mono' 'evolution-data-server')
source=(http://ftp.gnome.org/pub/GNOME/sources/evolution-sharp/${pkgver}/${pkgname}-${pkgver}.tar.gz)
md5sums=('fafd8c40bf66b1e82b65acbf16231625')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/opt/mono
  make || return 1
  make DESTDIR=$startdir/pkg/ install
}

P.S Welcome everybody. I've been using Gentoo for the last year, but got tired eventually. Arch seems to be perfect.


MDK
Open Source Software Operations/Nokia
michael.kostrzewa (at) nokia.com

Offline

#11 2005-04-26 01:14:48

Forse
Member
From: /dev/null
Registered: 2005-01-17
Posts: 10
Website

Re: Beagle

Ah I am very interested in this smile Trying to use provided pkgbuilds I got gmime installed but beagle gives me:

checking SQLITE_CFLAGS... 
checking SQLITE_LIBS... -lsqlite 
checking X11/extensions/scrnsaver.h usability... no
checking X11/extensions/scrnsaver.h presence... yes
configure: WARNING: X11/extensions/scrnsaver.h: present but cannot be compiled
configure: WARNING: X11/extensions/scrnsaver.h:     check for missing prerequisite headers?
configure: WARNING: X11/extensions/scrnsaver.h: see the Autoconf documentation
configure: WARNING: X11/extensions/scrnsaver.h:     section "Present But Cannot Be Compiled"
configure: WARNING: X11/extensions/scrnsaver.h: proceeding with the preprocessor's result
configure: WARNING: X11/extensions/scrnsaver.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##
checking for X11/extensions/scrnsaver.h... yes
checking which mozilla to use... firefox
checking for firefox-gtkmozembed >= 0.10 firefox-xpcom >= 0.10... yes
checking MOZILLA_COMPONENT_CFLAGS... -I/opt/mozilla/include/firefox-1.0.3/gtkembedmoz -I/opt/mozilla/include/firefox-1.0.3/xpcom -I/opt/mozilla/include/firefox-1.0.3/string -I/opt/mozilla/include/firefox-1.0.3/nspr 
checking MOZILLA_COMPONENT_LIBS... -L/opt/mozilla/lib/firefox-1.0.3 -lgtkembedmoz -lxpcom 
checking for compiler -fshort-wchar option... yes
checking whether nsIFilePicker methods expect nsAString&... yes
checking whether nsIMIMEInfo methods expect nsAString&... no
checking for nsIXULChromeRegistry API... no
checking for /opt/mozilla/include/firefox-1.0.3/chrome/nsIChromeRegistrySea.h... no
checking for gtk+-2.0 >= 2.2 firefox-gtkmozembed... yes
checking LIBGECKOGLUE_CFLAGS... -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/opt/mozilla/include/firefox-1.0.3/gtkembedmoz -I/opt/mozilla/include/firefox-1.0.3/xpcom -I/opt/mozilla/include/firefox-1.0.3/string -I/opt/mozilla/include/firefox-1.0.3/nspr -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
checking LIBGECKOGLUE_LIBS... -L/opt/mozilla/lib/firefox-1.0.3 -lgtk-x11-2.0 -lgtkembedmoz 
checking for gtk-sharp glade-sharp gecko-sharp = 0.6 gnome-sharp dbus-sharp >= 0.23.4 gconf-sharp gmime-sharp >= 2.1.13... Package gecko-sharp was not found in the pkg-config search path. Perhaps you should add the directory containing `gecko-sharp.pc' to the PKG_CONFIG_PATH environment variable No package 'gecko-sharp' found
configure: error: Library requirements (gtk-sharp glade-sharp gecko-sharp = 0.6 gnome-sharp dbus-sharp >= 0.23.4 gconf-sharp gmime-sharp >= 2.1.13) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
make: *** No targets specified and no makefile found.  Stop.
==> ERROR: Build Failed.  Aborting...

Is there something I should do? I got all deps installed...

Offline

#12 2005-04-26 07:09:25

alexthelion
Member
From: Switzerland
Registered: 2004-03-06
Posts: 117

Re: Beagle

Same thing here, trying to build from CVS. Probably the dbus package is the problem, Arch's version being a 0.23.2, beagle wants 0.23.4.

Offline

#13 2005-04-26 09:10:06

neri
Forum Fellow
From: Victoria, Canada
Registered: 2003-05-04
Posts: 553

Re: Beagle

Hi,

<hint type="a_bit_arrogant">

Package gecko-sharp was not found in the pkg-config search path.

[tobias@buran ~]$ pacman -Ss gecko
testing/gecko-sharp 0.7-1
    a C# binding to gtkmozembedded

</hint>

HTH,
-neri

Offline

#14 2005-04-26 10:52:52

mdk
Member
From: Helsinki/Finland
Registered: 2005-04-04
Posts: 26
Website

Re: Beagle

Methinks Beagle needs gecko-sharp 0.6. The version in the arch repositories is 0.7, which is actually gecko-sharp2. Here is the pkgbuild for gecko-sharp1 (0.6).

pkgname=gecko-sharp-1
pkgver=0.6
pkgrel=2
pkgdesc="C# bindings for gecko/mozilla"
makedepends=('pkgconfig' 'gtk-sharp' )
depends=('glib2' 'glibc')
source=(http://www.go-mono.com/packagers/gecko-sharp/gecko-sharp-0.6.tar.gz)

build() {
        cd $startdir/src/gecko-sharp-0.6
        ./configure --prefix=/opt/mono
        make || return 1
        make DESTDIR=$startdir/pkg/ install

        # We don't need that example files, as they conflict with 0.7
        rm -f $startdir/pkg/opt/mono/bin/webshot
        rm -f $startdir/pkg/opt/mono/lib/gecko-sharp/WebThumbnailer.exe

}

Here is the PKGBUILD for evolution-sharp (which is needed if you want to index your mail/contacts)

pkgname=evolution-sharp
pkgver=0.6
pkgrel=1
pkgdesc="C# bindings for Novell Evolution"
url="http://ftp.gnome.org/pub/GNOME/sources/evolution-sharp/"
makedepends=('mono' 'gtk-sharp' 'pkgconfig' 'evolution-data-server')
depends=('gtk-sharp' 'mono' 'evolution-data-server')
source=(http://ftp.gnome.org/pub/GNOME/sources/evolution-sharp/${pkgver}/${pkgname}-${pkgver}.tar.gz)
md5sums=('fafd8c40bf66b1e82b65acbf16231625')

build() {
        cd $startdir/src/$pkgname-$pkgver
        ./configure --prefix=/opt/mono
        make || return 1
        make DESTDIR=$startdir/pkg/ install
}

a here for gmime-sharp

pkgname=gmime-sharp
pkgver=2.1.14
pkgrel=1
pkgdesc="C# bindings for gmime"
url="http://spruce.sourceforge.net/gmime/"
makedepends=('mono' 'gtk-sharp' 'pkgconfig' 'glib2')
depends=('gtk-sharp' 'mono' 'glib2' 'gmime>=2.1.13')
source=(http://spruce.sourceforge.net/gmime/sources/v2.1/gmime-${pkgver}.tar.gz)
md5sums=('bf5c74ddaf6bc5e06d9f9abc423ca4db')

build() {
        cd $startdir/src/gmime-$pkgver
        ./configure --prefix=/opt/mono --enable-mono
        make || return 1
        make DESTDIR=$startdir/pkg/ install

        #We don't need gmime, just the bindings
        rm -f $startdir/pkg/opt/mono/bin/*
        rmdir $startdir/pkg/opt/mono/bin

        # remove includes
        rm -f $startdir/pkg/opt/mono/include/gmime-2.0/gmime/*
        rmdir $startdir/pkg/opt/mono/include/gmime-2.0/gmime
        rmdir $startdir/pkg/opt/mono/include/gmime-2.0
        rmdir $startdir/pkg/opt/mono/include

        # remove the pkg-config (gmime, not gmime-sharp)
        rm -f $startdir/pkg/opt/mono/lib/pkgconfig/gmime-2.0.pc
        rm -f $startdir/pkg/opt/mono/lib/*

        #gtk-doc documentation
        rm -f $startdir/pkg/opt/mono/share/gtk-doc/html/gmime/*
        rmdir $startdir/pkg/opt/mono/share/gtk-doc/html/gmime
        rmdir $startdir/pkg/opt/mono/share/gtk-doc/html
        rmdir $startdir/pkg/opt/mono/share/gtk-doc

        # We need to use find as the dir name is not constant
        # (depends on mono version we're using to compile)
        cd $startdir/pkg/
        DLL_CONFIG=`find -name gmime-sharp.dll.config`

        sed -i -e "s/libgmime-2.0.so.$pkgver/libgmime-2.0.so/" "$DLL_CONFIG"

}

MDK
Open Source Software Operations/Nokia
michael.kostrzewa (at) nokia.com

Offline

#15 2005-04-26 11:02:45

neri
Forum Fellow
From: Victoria, Canada
Registered: 2003-05-04
Posts: 553

Re: Beagle

Hi,

am gecko-sharp-0.7 is in testing and 0.6 is in extra, they either are available from the repos.

-neri

Offline

#16 2005-04-26 19:06:32

Forse
Member
From: /dev/null
Registered: 2005-01-17
Posts: 10
Website

Re: Beagle

Thanks for reply. I got required stuff installed except beagle smile. Now I get this error when trying to makepkg beagle:

checking LIBTRAYICON_CFLAGS... -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0  
checking LIBTRAYICON_LIBS... -lgdk-x11-2.0 -latk-1.0  
checking for evolution-sharp >= 0.6... checking for gsf-sharp >= 0.2... checking for gst-sharp >= __DISABLE_FOR_NOW__... checking for libexif >= 0.5... yes
checking LIBEXIF_CFLAGS... -I/usr/include/libexif  
checking LIBEXIF_LIBS... -lexif -lm  
checking for gmime-sharp >= 2.1.13 gtk-sharp dbus-sharp >= 0.23.4 gconf-sharp... yes
checking BEAGLED_CFLAGS...  
checking BEAGLED_LIBS... -r:/opt/mono/lib/mono/gmime-sharp/gmime-sharp.dll -r:/opt/mono/lib/mono/gtk-sharp/glib-sharp.dll -r:/opt/mono/lib/mono/gtk-sharp/pango-sharp.dll -r:/opt/mono/lib/mono/gtk-sharp/atk-sharp.dll -r:/opt/mono/lib/mono/gtk-sharp/gdk-sharp.dll -r:/opt/mono/lib/mono/gtk-sharp/gtk-sharp.dll -r:/opt/mono/lib/mono/dbus-sharp/dbus-sharp.dll -r:/opt/mono/lib/mono/gtk-sharp/gconf-sharp.dll -r:/opt/mono/lib/mono/gtk-sharp/gconf-sharp-peditors.dll -r:/opt/mono/lib/mono/gtk-sharp/gnome-sharp.dll -r:/opt/mono/lib/mono/gtk-sharp/art-sharp.dll  
checking for dbus-sharp >= 0.23.2 dbus-sharp < 0.30... configure: error: Unable to find dbus headers.  You'll need to install the dbus devel package
make: *** No targets specified and no makefile found.  Stop.
==> ERROR: Build Failed.  Aborting...

P.S. I also pretty sure I have dbus headers installed.

Offline

#17 2005-04-26 19:23:17

neri
Forum Fellow
From: Victoria, Canada
Registered: 2003-05-04
Posts: 553

Re: Beagle

hi,

sorry, once again:

[tobias@sojus ~]$ pacman -Ss dbus
testing/dbus 0.32-2
    A message bus system
testing/dbus-sharp 0.32-1
    Mono bindings for DBUS
extra/dbus 0.23.2-3
    A message bus system
extra/dbus-sharp 0.23.2-1
    Mono bindings for DBUS

now guess what wink

-neri

Offline

#18 2005-04-26 19:32:57

Forse
Member
From: /dev/null
Registered: 2005-01-17
Posts: 10
Website

Re: Beagle

neri wrote:

hi,

sorry, once again:

[tobias@sojus ~]$ pacman -Ss dbus
testing/dbus 0.32-2
    A message bus system
testing/dbus-sharp 0.32-1
    Mono bindings for DBUS
extra/dbus 0.23.2-3
    A message bus system
extra/dbus-sharp 0.23.2-1
    Mono bindings for DBUS

now guess what wink

-neri

Thnak you for VERY useful comment. I had all those installed and it still gave me that error (I did mention in my post "I have all deps installed") -_-;;

Offline

#19 2005-04-26 20:37:41

neri
Forum Fellow
From: Victoria, Canada
Registered: 2003-05-04
Posts: 553

Re: Beagle

Forse wrote:

Thnak you for VERY useful comment. I had all those installed and it still gave me that error (I did mention in my post "I have all deps installed") -_-;;

going back to normal mode, sorry for that.

The dbus-sharp package is not mentioned in the depends of the previously
posted PKGBUILDs and it likely is a dependency. If there is an issue that it
doesn't find the actual dbus headers (.h) files there are some pathing issues.

-neri

Offline

#20 2005-05-20 22:41:04

nuopus
Member
From: Mesa, AZ
Registered: 2005-03-09
Posts: 60

Re: Beagle

neri wrote:
Forse wrote:

Thnak you for VERY useful comment. I had all those installed and it still gave me that error (I did mention in my post "I have all deps installed") -_-;;

going back to normal mode, sorry for that.

The dbus-sharp package is not mentioned in the depends of the previously
posted PKGBUILDs and it likely is a dependency. If there is an issue that it
doesn't find the actual dbus headers (.h) files there are some pathing issues.

-neri

I am getting same issues. It cannot find the dbus-sharp header files.

It is not a pathing issue since doing pacman -Ql dbus-sharp does not show header files anywhere in the package that is in repos. Maybe we should build it from scratch?

Offline

#21 2005-05-21 11:56:48

neri
Forum Fellow
From: Victoria, Canada
Registered: 2003-05-04
Posts: 553

Re: Beagle

Hi,

my apologies to all you beagle fans, but getting it working is indeed a PITA.
There are two main issues:
- firstly beagle doesn't like our layout keeping mono in /opt. It is possible to
  tweak the configure script and fool the pathes. This is where your dbus.h
  error comes from
- secondly, and this is even worse, a brand new issue. Now when mono has
  been brought to 1.1.7 and monodevelop to 0.7, gecko-sharp-2.0-0.10 is
  needed. beagle needs gecko-sharp-0.6, no other option. The two libs can't
  be installed side by side. So either you don't have monodevelop and friends
  installed then there is no love from beagle. Or you grab an old gecko-sharp-0.6
  from an mirror that keeps old packages, install it by hand, and tell
  pacman.conf about your issue

Now, how to get the mess working:
gmime-sharp

pkgname=gmime-sharp
_srcname=gmime
pkgver=2.1.13
pkgrel=1
pkgdesc="core mime parsing library"
url="http://spruce.sourceforge.net/gmime/"
license="GPL"
depends=('gmime' 'gtk-sharp')
source=(http://spruce.sourceforge.net/gmime/sources/v2.1/$_srcname-$pkgver.tar.gz)
md5sums=('b850375426c98e70e4834db70407bc3f')

build() {
   # get rid of that .wapi errors in fakeroot
  mkdir -p $startdir/pkg/weird
  export MONO_SHARED_DIR=$startdir/pkg/weird
   # import pathes
  [ -f /etc/profile.d/gnome.sh ] && . /etc/profile.d/gnome.sh
  [ -f /etc/profile.d/mono.sh ] && . /etc/profile.d/mono.sh
   #start the build
  cd $startdir/src/$_srcname-$pkgver
  ./configure --prefix=/usr --enable-mono
  make || return 1
  # make DESTDIR=$startdir/pkg install
  cd mono
  make DESTDIR=$startdir/pkg prefix=/opt/mono install

   # handle monolibs
  sed -i 's|^prefix.*$|prefix=/opt/mono|' 
     $startdir/pkg/opt/mono/lib/pkgconfig/gmime-sharp.pc
 # housecleaning
  rm -rf $startdir/pkg/weird
}

beagle itself

pkgname=beagle
pkgver=0.0.9
pkgrel=1
pkgdesc="Beagle is a GNOME desktop search tool"
url="http://www.gnome.org/projects/beagle"
depends=('mono' 'gtk-sharp' 'mozilla-firefox' 'sqlite2' 'gmime-sharp' 
         'dbus-sharp' 'gecko-sharp=0.6')
source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/0.0/$pkgname-$pkgver.tar.gz)

build() {
   # get rid of that .wapi errors in fakeroot
  mkdir -p $startdir/pkg/weird
  export MONO_SHARED_DIR=$startdir/pkg/weird
   # import pathes
  [ -f /etc/profile.d/gnome.sh ] && . /etc/profile.d/gnome.sh
  [ -f /etc/profile.d/mono.sh ] && . /etc/profile.d/mono.sh
  [ -f /etc/profile.d/mozilla-common.sh ] && . /etc/profile.d/mozilla-common.sh
  cd $startdir/src/$pkgname-$pkgver
   # start a handish patch party to fool some pathes
  sed -i 's|$DBUS_PREFIX/include/|/usr/include/|' configure
   #start the build
  ./configure --prefix=/opt/gnome --enable-mozilla=firefox
  make || return 1
  make DESTDIR=$startdir/pkg install
 # housecleaning
  rm -rf $startdir/pkg/weird
}

now don't forget to remount your drives(all the drives you wanna index)
and no love for reiser3 here AFAIK:

/dev/hda3     /home     ext3     defaults,user_xattr     1 2

mount -o remount /home

beagled --fg --debug

to see what it does

when this is done, which takes a while, you can fire "best" to search data

-neri

Offline

#22 2005-05-25 13:39:25

neri
Forum Fellow
From: Victoria, Canada
Registered: 2003-05-04
Posts: 553

Re: Beagle

Ok,

after some research and some really annoying versioning issues I found in
gecko-sharp, gecko-sharp is back is back in the repos - as 0.6.
gecko-sharp-0.7 is infact a gecko-sharp-2.0-0.7 but was released as
gecko-sharp-0.7. Hence it conflicts with gecko-sharp-0.7. But
gecko-sharp-0.6 has internally the old versioning and works nicely along
with gecko-sharp-2.0, read it can be installed side by side. If you are
confused now - fine, so was I.
End of story:
gecko-sharp-0.6-4 is back in the repos, providing what you need for blam,
beagle and some other stuff. It will never be updated to 0.7. If anybody
ever flags that out of date - I'll find you, it's gonna hurt  wink
gecko-sharp-2.0-0.10-2 is there, not conflicting/providing gecko-sharp
anymore.
Moreover, I just rebuild gmime-2.1.13 with mono enabled in the repos. As
of pkgrelease -2 it shouldn't be necessary to rebuild all stuff for beagle.
Now building beagle should work out of the box. I don't wanna introduce it
right now. Please grab the following PKGBUILD and report  your issues.

pkgname=beagle
pkgver=0.0.9
pkgrel=2
pkgdesc="Beagle is a GNOME desktop search tool"
url="http://www.gnome.org/projects/beagle"
depends=('mono' 'gtk-sharp' 'mozilla-firefox' 'sqlite2' 'gmime>=2.1.13-2' 
         'dbus-sharp' 'gecko-sharp=0.6')
source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/0.0/$pkgname-$pkgver.tar.gz)

build() {
   # get rid of that .wapi errors in fakeroot
  mkdir -p $startdir/pkg/weird
  export MONO_SHARED_DIR=$startdir/pkg/weird
   # import pathes
  [ -f /etc/profile.d/gnome.sh ] && . /etc/profile.d/gnome.sh
  [ -f /etc/profile.d/mono.sh ] && . /etc/profile.d/mono.sh
  [ -f /etc/profile.d/mozilla-common.sh ] && . /etc/profile.d/mozilla-common.sh
  cd $startdir/src/$pkgname-$pkgver
   # start a handish patch party to fool some pathes
  sed -i 's|$DBUS_PREFIX/include/|/usr/include/|' configure
   #start the build
  ./configure --prefix=/opt/gnome --enable-mozilla=firefox
  make || return 1
  make DESTDIR=$startdir/pkg install
 # housecleaning
  rm -rf $startdir/pkg/weird
}

Offline

#23 2005-05-25 23:28:17

viniosity
Member
From: New York, NY
Registered: 2005-01-22
Posts: 404
Website

Re: Beagle

I know that beagle is a moving targe and hard to keep up to date with.  The May 21st entry from Joe Shaw at planetbeagle says that they removed the dbus dependency.

Offline

#24 2005-06-23 20:12:51

viniosity
Member
From: New York, NY
Registered: 2005-01-22
Posts: 404
Website

Re: Beagle

I decided to try to get beagle working.. based on the posting above, I installed dbus-sharp, gecko-sharp, and downloaded the pkgbuild for gmime-cvs.

When running the pkgbuild for gmime-csv I got this error:

make[2]: Leaving directory `/home/viniosity/PKG/beagle/gmime-cvs/src/gmime'
make[1]: Leaving directory `/home/viniosity/PKG/beagle/gmime-cvs/src/gmime'
mv: cannot stat `/home/viniosity/PKG/beagle/gmime-cvs/pkg/usr/share/gapi': No such file or directory
mv: cannot stat `/home/viniosity/PKG/beagle/gmime-cvs/pkg/usr/lib/mono': No such file or directory
sed: can't read /home/viniosity/PKG/beagle/gmime-cvs/pkg/usr/lib/pkgconfig/gmime-sharp.pc: No such file or directory
==> ERROR: Build Failed.  Aborting...

Indeed the only directories under pkg/usr are /bin /include and /lib with no /share to be found.  Any idea where it went astray?  Could there be a problem with beagle now that it's up to 0.11?

Offline

#25 2005-06-24 11:29:37

glitz
Member
Registered: 2005-06-15
Posts: 19

Re: Beagle

Have you tried building beagle with the non-cvs gmime package installed?  I've got that package, and beagle built without any problems..

Offline

Board footer

Powered by FluxBB