You are not logged in.

#1 2005-09-24 21:04:29

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

can I bottow some eyes....

I have made two pkgbuild for fox-1.5.6 and for fxdesktop 0.6.1

i had to make one for fox-1.5.6 even though we have a verion of fox 1.4 I think as fxdesktop depends on the later version but in the depends variable I can not get it to accept the version of fox, but will accept fox.
the conundrum id that it the other version is used the build will fail.. here are the pkgbuilds... fox-1.5.6

# Contributor: mpie <michael.kyne-phillips1@ntlworld.com>

pkgname=fox
pkgver=1.5.6
pkgrel=1
pkgdesc="Free Objects for X: GUI Toolkit for C++"
url="http://www.fox-toolkit.org/"
depends=('cups' 'x-server' 'bzip2')
source=(http://www.fox-toolkit.org/ftp/$pkgname-$pkgver.tar.gz)
md5sums=('09980d90c52a8fce51ebb7fe0aafb59a')


build() {
  cd $startdir/src/$pkgname-$pkgver

  CPPFLAGS="$CPPFLAGS -I/usr/include/freetype2"

  ./configure   --prefix=/usr
                --enable-release
                --with-xft=yes
                --enable-cups
                --with-opengl=yes
  make || return 1
  make DESTDIR=$startdir/pkg/ install

  cd $startdir/src/$pkgname-$pkgver/tests
  make ControlPanel || return 1
  cp $startdir/src/$pkgname-$pkgver/tests/.libs/ControlPanel $startdir/pkg/usr/bin/
}


fxdesktop...

Contributor: mpie <michael.kyne-phillips1@ntlworld.com>

pkgname=fxdesktop
pkgver=0.1.6
pkgrel=1
pkgdesc="Fox dektop enviroment"
url="http://www.fifthplanet.net/"
depends=('fox')
source=(http://www.fifthplanet.net/files/$pkgname-$pkgver.tar.bz2)
md5sums=('4f2c0ef732027362ead5742c5ae9f0d9')


build() {
  cd $startdir/src/$pkgname-$pkgver
    mkdir $startdir/pkg/usr
    mkdir $startdir/pkg/usr/bin
  ./gb   --prefix=/usr
                --with-xft=yes
                --enable-cups
                --with-opengl=yes
  ./gb || return 1
  ./gb install --prefix=$startdir/pkg/usr

}

they both work and install fine but the depends could be a problem if used without payning attention any ideas?

Offline

#2 2005-09-24 21:12:09

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

Re: can I bottow some eyes....

For fxdesktop use:
depends=('fox>=1.5.6')

EDIT: Other suggestion: As fox 1.5.6 is unstable (according to fox dev), you can change the name of your fox package to fox-devel.  Then use depends=('fox-devel').

Offline

#3 2005-09-24 21:18:23

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: can I bottow some eyes....

DOH...... :oops:

I has tried that but without the =......

thank you

Offline

#4 2005-09-24 21:32:10

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

Re: can I bottow some eyes....

I make that error at first. You need the = sign.

man makepkg wrote:

They can  also  include  a  version  requirement  of  the  form name<>version,  where  <>  is one of these three comparisons: >= (greater than equal to), <= (less than or equal to), or =  (equal  to).

Offline

Board footer

Powered by FluxBB