You are not logged in.
Would be nice if someone updated the old PKGBUILD and made news ones for the new dependencies.
Offline
Modified the pkgbuild for beagle, version, gmime-sharp dep and sqlite2
#Contributor: Shadowhand <woody.gilk@gmail.com>
pkgname=beagle
pkgver=0.1.0
pkgrel=1
pkgdesc="Search tool that ransacks your personal information space."
url="http://www.gnome.org/projects/beagle/"
depends=('mono' 'gtk-sharp' 'gecko-sharp' 'dbus' 'mozilla-firefox'
'gmime-sharp>=2.1.16' 'sqlite2')
source=("http://ftp.gnome.org/pub/GNOME/sources/beagle/0.1/$pkgname-$pkgver.tar.gz")
#md5sums=('d298ce3ccdc90af52f77f66ea32b8f2f')
build() {
export MONO_SHARED_DIR=$startdir/src/.wabi
mkdir -p $MONO_SHARED_DIR
cd $startdir/src/$pkgname-$pkgver
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/mozilla-firefox/lib/pkgconfig
sed -i 's/DBUS_PREFIX=`$PKG_CONFIG --variable=prefix dbus-sharp`/DBUS_PREFIX=`$PKG_CONFIG --variable=prefix dbus-1`/g' configure
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
rm -fr $MONO_SHARED_DIR
}
pkgname=gmime-sharp
pkgver=2.1.16
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.15')
source=(http://spruce.sourceforge.net/gmime/sources/v2.1/gmime-${pkgver}.tar.gz)
md5sums=('ca1992fba086c5dd0e7523b5eab4057c')
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)
DLL_CONFIG=`find -name gmime-sharp.dll.config`
sed -i -e "s/libgmime-2.0.so.$pkgver/libgmime-2.0.so/" "$DLL_CONFIG"
}
Offline
Thanks for the work willysilly, I'll test that out and see if it works, and hopefully update the AUR.
NOTE: Gmime-sharp isn't a requirement, Gmime is.
·¬»· i am shadowhand, powered by webfaction
Offline
AUR updated. I completely removed all the dependancies of Beagle this time, and started from scratch, updating deps as I went. Every dep in my PKGBUILD IS required, no extra stuff.
·¬»· i am shadowhand, powered by webfaction
Offline
Halleluja!!
Beagle actually works for the first time ever for me! This is lovely stuff. I haven't tested it at all, but at least it indexes my files. Thanks a lot, guys!
Offline
I've noticed that best doesn't run with the latest mozilla-firefox (1.0.7) installed. This is the output:
Unhandled Exception: System.NullReferenceException: Object reference not set t o an instance of an object
in <0x00000> <unknown method>
in (wrapper managed-to-native) Beagle.Util.GeckoUtils:blam_gecko_utils_init_se rvices ()
in <0x00007> Beagle.Util.GeckoUtils:Init ()
in <0x0006c> Best.Best:Main (System.String[] args)
With firefox 1.0.6, things work like they should. I've no clue if this is a best bug or a gecko bug, or no bug at all...
Offline
Nightfrost: I can't help you with issues related to using the Testing repo. My guess is that it's a Firefox 1.0.7 bug, or a bug in the Arch package. My suggestion is to downgrade to 1.0.6 I guess.
·¬»· i am shadowhand, powered by webfaction
Offline
Hi
When I try to make gmime-sharp, I get this
checking for mcs... no
configure: error: Could not find mcs
what is mcs? somehting from mono=
I have mono installed.
mic
Offline
Yeah, it's from mono. Make sure you are logging out after installing mono, because mono adds a new entry to your PATH (/opt/mono/bin) which is where mcs is installed.
·¬»· i am shadowhand, powered by webfaction
Offline
or you can do source /etc/profile, then compile
Offline
ok thanks
its starts now to compile but aborts with following
sed: can't read -: Datei oder Verzeichnis nicht gefunden (File or folder not found)
./PKGBUILD: line 42: ./mono/gmime-sharp.dll.config: Keine Berechtigung (permission denied)
==> ERROR: Build Failed. Aborting...
mic
Offline
fyi: you might not need gmime-sharp at all... I didn't... I added it as a depend because someone told me I needed it. *shrug*
·¬»· i am shadowhand, powered by webfaction
Offline
Nightfrost: I can't help you with issues related to using the Testing repo. My guess is that it's a Firefox 1.0.7 bug, or a bug in the Arch package. My suggestion is to downgrade to 1.0.6 I guess.
Thanks. Although, I only posted this to let other people know they can't run FF 1.07+beagle. For me, I just reverted to 1.06 since I'm not too concerned about the security flaw...
Offline
Shadowhand: its because you do need it
mic64: do su, then try compiling
Offline
You should not need to be root to build a package. The problem comes from the last two lines
DLL_CONFIG=`find -name gmime-sharp.dll.config`
sed -i -e "s/libgmime-2.0.so.$pkgver/libgmime-2.0.so/" "$DLL_CONFIG"
It seems that it tries to modify a file on the system. I'm not sure of its purpose. If these lines are needed, a proper .install file should take care of that.
Offline