You are not logged in.

#1 2005-09-18 16:46:46

lunke
Member
From: Sweden
Registered: 2005-05-21
Posts: 86

[Request] Beagle 0.1.0 + deps

Would be nice if someone updated the old PKGBUILD and made news ones for the new dependencies.

http://beaglewiki.org/

Offline

#2 2005-09-18 17:52:55

WillySilly
Member
Registered: 2005-01-14
Posts: 268

Re: [Request] Beagle 0.1.0 + deps

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

#3 2005-09-18 20:56:07

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: [Request] Beagle 0.1.0 + deps

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

#4 2005-09-18 21:45:11

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: [Request] Beagle 0.1.0 + deps

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.

http://aur.archlinux.org/packages.php?d … s=1&ID=756


·¬»· i am shadowhand, powered by webfaction

Offline

#5 2005-09-21 19:40:34

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: [Request] Beagle 0.1.0 + deps

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

#6 2005-09-22 13:04:20

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: [Request] Beagle 0.1.0 + deps

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

#7 2005-09-22 14:19:21

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: [Request] Beagle 0.1.0 + deps

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

#8 2005-09-22 16:05:23

mic64
Member
Registered: 2005-03-03
Posts: 173

Re: [Request] Beagle 0.1.0 + deps

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

#9 2005-09-22 20:51:31

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: [Request] Beagle 0.1.0 + deps

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

#10 2005-09-22 21:11:29

WillySilly
Member
Registered: 2005-01-14
Posts: 268

Re: [Request] Beagle 0.1.0 + deps

or you can do source /etc/profile, then compile

Offline

#11 2005-09-22 21:21:41

mic64
Member
Registered: 2005-03-03
Posts: 173

Re: [Request] Beagle 0.1.0 + deps

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

#12 2005-09-22 22:32:03

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: [Request] Beagle 0.1.0 + deps

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

#13 2005-09-22 22:33:41

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: [Request] Beagle 0.1.0 + deps

shadowhand wrote:

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

#14 2005-09-22 22:48:21

WillySilly
Member
Registered: 2005-01-14
Posts: 268

Re: [Request] Beagle 0.1.0 + deps

Shadowhand: its because you do need it tongue

mic64: do su, then try compiling

Offline

#15 2005-09-23 00:47:39

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [Request] Beagle 0.1.0 + deps

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

Board footer

Powered by FluxBB