You are not logged in.

#1 2010-01-07 09:43:54

Berseker
Member
From: Near Lecco, Italy
Registered: 2008-04-24
Posts: 258

Emerillon, librest & ethos PKGBUILDs

Hi to all

Some time ago, I wanted to try this OpenMap reader ( http://www.novopia.com/emerillon/ ) and as this program wasn't in the AUR and anyone talked about it in the BBS, I tried to make the PKGBUILD myself ^^

here are my results, I had to build also 2 dependencies that weren't on the AUR too..

I posted this to ask your help, because I probably missed some deps (or make-deps), so please help me test these PKGBUILDs so we can put this on the AUR!

(please be kind with me, as these are my first 3 PKGBUILDS from scratch)

# Contributor: Berseker <berseker86 at gmail dot com>
pkgname=emerillon-git
pkgver=20100104
pkgrel=1
pkgdesc="An OpenMap Viewer"
arch=('i686' 'x86_64')
url="http://www.novopia.com/emerillon"
license=('GPL')
groups=()
depends=('libchamplain' 'geoclue')
makedepends=('git' 'ethos' 'librest' 'gnome-common')
provides=(emerillon)
conflicts=(emerillon)
backup=()
options=()
install=

_gitroot="git://git.gnome.org/emerillon/"
_gitname="emerillon"

build() {
  cd "$srcdir"
  msg "Connecting to GIT server...."

  if [ -d $_gitname ] ; then
    cd $_gitname && git pull origin
    msg "The local files are updated."
  else
    git clone $_gitroot
  fi

  msg "GIT checkout done or server timeout"
  msg "Starting make..."

  rm -rf "$srcdir/$_gitname-build"
  git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
  cd "$srcdir/$_gitname-build"

  ./autogen.sh
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR="$pkgdir/" install
}
# Contributor: Berseker <berseker86 at gmail dot com>
pkgname=librest
pkgver=0.6
pkgrel=1
pkgdesc="Library designed to make it easier to access web services"
arch=('i686' 'x86_64')
url="http://moblin.org/projects/librest/"
license=('GPL')
source=(http://moblin.org/sites/all/files/rest-$pkgver.tar.gz)

build() {
  cd "$srcdir/rest-$pkgver"

  ./configure --prefix=/usr
  make || return 1
  make DESTDIR="$pkgdir/" install
}

md5sums=('8f27683999eeb1de96ca2d955348b578')
# Contributor: Berseker <berseker86 at gmail dot com>
pkgname=ethos
pkgver=0.2.2
pkgrel=1
pkgdesc="A reusable plugin framework for glib and gtk+"
arch=('i686' 'x86_64')
url="http://git.dronelabs.com/ethos/"
license=('GPL')
source=(http://ftp.dronelabs.com/sources/ethos/0.2/$pkgname-$pkgver.tar.gz)

build() {
  cd "$srcdir/$pkgname-$pkgver"

  ./configure --prefix=/usr
  make || return 1
  make DESTDIR="$pkgdir/" install
}

md5sums=('36cf1ef444a224556bba4d441c400300')

I used the -git of emerellion since, as the website explains, there is no stable version released yet (even if on the site, you can find a .tar.bz2 contaning a 0.1.0 development version)

Last edited by Berseker (2010-01-08 11:43:07)

Offline

#2 2010-01-07 12:17:46

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: Emerillon, librest & ethos PKGBUILDs

Generally I've discovered that when creating a PKGBUILD from a git package their dependencies also have to be version control systems PKGBUILDs.  If they are not, there may be problems compiling new versions in the future (new feature added, requires newest library...).

From the quick look I did, I noticed that 'emerillon-git' has 'ethos' 'librest' 'gnome-common' as makedepends.  makedepends are libraries and programs necessary to build the program.  I could be wrong without looking further but I'd bet that 'gnome-common' is necessary for the program to run, and 'ethos' as well.  Not sure about 'librest' but it help me if there was a pkgdesc wink.

Overall the PKGBUILDs look good.  Nice work.

Btw, there is a librest-git in the AUR though it is marked "Out of Date".

Last edited by Gen2ly (2010-01-07 12:20:36)


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#3 2010-01-08 11:42:29

Berseker
Member
From: Near Lecco, Italy
Registered: 2008-04-24
Posts: 258

Re: Emerillon, librest & ethos PKGBUILDs

Well when I was trying to compile emerillon, I can assure you that I had to install ethos and librest packages in order to compile it succesfully; about gnome-common, I've opened a thread similar to this one on the Italian Arch Forum Board, and an user indicated that during the building, the following message appeared to him

You need to install gnome-common from the GNOME CVS

, altough the gnome-common in extra was enough to allow the build.

About the librest-git on AUR, I tried to use it at first, but I wasn't able to build it correctly (I don't remember why, sorry wink ) so I tried the "stable" version instead.

ps I've updated the librest PKGBUILD with a description

Offline

#4 2010-01-13 11:49:27

Berseker
Member
From: Near Lecco, Italy
Registered: 2008-04-24
Posts: 258

Re: Emerillon, librest & ethos PKGBUILDs

I can assume that no-one was curious to try this open map viewer! Anyway, I think I'm going to put these on AUR, so that if someone finds some other issues they can use the AUR comments wink

Offline

#5 2011-02-12 20:59:50

thechitowncubs
Member
From: Chicago
Registered: 2011-01-11
Posts: 28
Website

Re: Emerillon, librest & ethos PKGBUILDs

I'm getting an error, I'd like to use your package. But it depends on rest-0.6 and i have librest 0.7 installed?

Any advice?

Offline

Board footer

Powered by FluxBB