You are not logged in.

#1 2005-06-03 17:47:45

sven
Member
Registered: 2005-02-01
Posts: 311

[NEW] chromium

It is in AUR now - I made the package from RedHat's i386 binaries - so in the needed dependencies there is rpm2targz. The reason for choosing RedHat as source was that I had problems compiling it although I had sdl properly installed - and some others have had problems, too, with compiling.

Offline

#2 2005-06-03 18:16:45

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: [NEW] chromium

why build it from rpms?

Offline

#3 2005-06-03 19:32:51

sven
Member
Registered: 2005-02-01
Posts: 311

Re: [NEW] chromium

I tried to build from source but here is what I got when pacman ran make:

checking for dlopen in -ldl... yes
./configure: line 3747: syntax error near unexpected token `newline'
./configure: line 3747: `  yes:no:'
make[2]: Entering directory `/home/sven/setup/chromium2/src/Chromium-0.9/support/openal/linux'
make[2]: *** No targets specified and no makefile found.  Stop.
make[2]: Leaving directory `/home/sven/setup/chromium2/src/Chromium-0.9/support/openal/linux'
make[1]: *** [linux] Error 2
make[1]: Leaving directory `/home/sven/setup/chromium2/src/Chromium-0.9/support/openal'
make: *** [support/openal/] Error 2
==> ERROR: Build Failed.  Aborting...

and because the rpm version worked fine, I suppose I have all the dependencies needed for normal operation. Just there seems to be something odd with the source code that needs to be fixed or patched. I also installed openal package but that did not get rid of that error.

EDIT: I also made a package for the needed libglpng and retried to make and still no luck - the same error is printed out.

Offline

#4 2005-06-03 20:06:06

sven
Member
Registered: 2005-02-01
Posts: 311

Re: [NEW] chromium

Here are the codes I managed to finish this far:
PKGBULD:

pkgname=chromium
pkgver=0.9.12
pkgrel=1
pkgdesc="A 2D shooter"
url="http://www.reptilelabour.com/software/chromium/"
license=""
depends=('libglpng' 'openal' 'sdl')
makedepends=()
conflicts=()
replaces=()
backup=()
install=chromium.install
source=(http://www.reptilelabour.com/software/files/chromium/$pkgname-src-$pkgver.tar.gz
       http://www.reptilelabour.com/software/files/chromium/$pkgname-data-$pkgver.tar.gz )
md5sums=()

build() {
  cd $startdir/src/Chromium-0.9
  ./configure
  make || return 1
  make DESTDIR=$startdir/pkg install

  #data to place
  mkdir $startdir/pkg/usr/games/chromium/data
  cp -ax $startdir/src/Chromium-0.9/data/* $startdir/pkg/usr/games/chromium/data
}

chromium.install

post_install() {
  export CHROMIUM_DATA = /usr/games/chromium/data
}

op=$1
shift
$op $*

and libglpng PKGBUILD:

pkgname=libglpng
pkgver=1.45
pkgrel=1
pkgdesc="Binding PNG graphics files to an OpenGL texture"
url="http://www.wyatt100.freeserve.co.uk/download.htm"
license=""
depends=()
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://www.wyatt100.freeserve.co.uk/glpng.zip)
md5sums=()

build() {
  cd $startdir/src/src
  mv Makefile.LINUX Makefile
  make || return 1
  mkdir -p $startdir/pkg/usr/lib
  cp $startdir/src/lib/libglpng.a $startdir/pkg/usr/lib
}

Offline

Board footer

Powered by FluxBB