You are not logged in.

#1 2004-06-13 20:34:26

SavageMessiah
Member
Registered: 2004-03-20
Posts: 76

Request: Monodoc, Monodevelop

The current packages are out of date. Both programs were updated with beta2 that came out on June 1st. I'm trying to make the packages, but I'm having problems with SharpZipLib.

Offline

#2 2004-06-13 20:50:45

SavageMessiah
Member
Registered: 2004-03-20
Posts: 76

Re: Request: Monodoc, Monodevelop

I fixed the ziplib problem, so until I'm sure I've sorted out all the dependencies and gotten a full set of packages together, here's the PKGBUILD for the new monodoc

pkgname=monodoc
pkgver=0.16
pkgrel=1
pkgdesc=""
url="http://www.go-mono.org/"
depends=('mono' 'gtk-sharp')
makedepends=()
source=(http://www.go-mono.org/archive/beta2/$pkgname-$pkgver.tar.gz)
md5sums=('0ce70d3bf52f1d67a3e3b92e3071d196')

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

Offline

#3 2004-06-13 22:17:54

SavageMessiah
Member
Registered: 2004-03-20
Posts: 76

Re: Request: Monodoc, Monodevelop

Monodoc, gtksourceview-sharp and gecko-sharp are now in incoming.

Still working on monodevelop.

EDIT: This is turning into a blow by blow account of my first attempt at package building! Recorded for posterity! tongue

I'm not going to upload monodevelop right now. I got this PKGBUILD to work but it's kind of a hack. The makefile is trying to update a mime database that isn't there. It's looking for it in /opt/gnome/share/mime, but I think it's in /opt/gnome/share/mime-info. Maybe I need to install the full gnome package. I don't know. Regardless, here it is, if anyone wants to try it.

pkgname=monodevelop
pkgver=0.4
pkgrel=1
pkgdesc=" MonoDevelop is a project to port SharpDevelop to Gtk#"
depends=('gtksourceview-sharp' 'gecko-sharp' 'monodoc' 'mono'
'orbit2' 'gnome-vfs' 'perlxml')
source=(http://www.go-mono.com/archive/beta2/$pkgname-$pkgver.tar.gz)
url="http://www.go-mono.com"
md5sums=('b57c29af39bfc44842799cc211d6564d')

build() {
   cd $startdir/src/$pkgname-$pkgver
   mkdir  /opt/gnome/share/mime
   export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome/lib/pkgconfig
   ./configure --prefix=/usr
   make || return 1
   make DESTDIR=$startdir/pkg install
   cp /opt/gnome/share/mime/monodevelop.mime /opt/gnome/share/mime-info
   rm -r /opt/gnome/share/mime
}

Offline

#4 2004-06-14 21:40:55

bleak
Member
Registered: 2004-05-11
Posts: 24

Re: Request: Monodoc, Monodevelop

Thanks for sharing but i do not agree with a few things.

I'm also not an expert in makepkg but you should never do something like "cp /opt/gnome/share/mime/monodevelop.mime /opt/gnome/share/mime-info". If you need to copy something copy it to "$startdir/pkg/".

There is also a script you can run to do post_install, post_upgrade, pre_remove and post_remove stuff. I think this sort of things should be in there. Check out install.proto in /var/abs.

One other thing, "/opt/gnome/share/mime-info" is a directory and assuming "monodevelop.mime" is a file, I don't understand. Even if it was a file you shouldn't replace it.

As I said I'm also not very experienced with this stuff and if someone could confirm this, please do it.

Offline

#5 2004-06-15 15:11:58

SavageMessiah
Member
Registered: 2004-03-20
Posts: 76

Re: Request: Monodoc, Monodevelop

Like I said, it's kind of a hack. At the time I didn't know a better way to do it. If I release the package I'll be sure to fix it.

Offline

#6 2004-06-17 13:16:22

Lovechild
Member
From: Århus, Denmark
Registered: 2003-09-24
Posts: 64

Re: Request: Monodoc, Monodevelop

I did PKBUILD files a while back while trying to learn ABS, maybe we can work together on getting beta3 and later final into Arch ?

http://bbs.archlinux.org/viewtopic.php?t=4571


I'm proud to be a a freedomloving infidel piece of treehugging eurotrash.

Offline

#7 2004-06-21 14:51:40

SavageMessiah
Member
Registered: 2004-03-20
Posts: 76

Re: Request: Monodoc, Monodevelop

I like your monodevelop pkgbuild better than mine, lovechild. I think I might just skip beta3 and wait for the final, it shouldn't be very long.

Offline

#8 2004-06-23 20:33:36

Lovechild
Member
From: Århus, Denmark
Registered: 2003-09-24
Posts: 64

Re: Request: Monodoc, Monodevelop

I was unable to make Mono and specifically MonoDevelop run nicely on Arch so I had to replace it with Fedora Core 2, which is officially supported, and there are no problems.

Oh and I had beta3 running, it's fairly nice,but I'm guessing everything won't be peachy till gtk# hits 1.0 and thus API stability.

*sigh*


I'm proud to be a a freedomloving infidel piece of treehugging eurotrash.

Offline

Board footer

Powered by FluxBB