You are not logged in.

#1 2008-05-05 12:37:53

scrawler
Member
Registered: 2005-06-07
Posts: 318

code-browser for arch64

There's already a code-browser pkgbuild in the aur, but the build fails for me on my 64 bit machine.
Little help?

(from aur:)

# Contributor: Arto Puranen <purcher@gmail.com>

pkgname=code-browser
pkgver=3.0
pkgrel=9
pkgdesc="Code Browser is a folding text editor, designed to hierarchically structure any kind of text file and especially source code."
arch=(i686)
url="http://code-browser.sourceforge.net/index.html"
license=('GPL')
depends=(gtk2)
source=(http://surfnet.dl.sourceforge.net/sourceforge/code-browser/$pkgname-$pkgver-src.tar.gz code-browser.desktop cb.png)

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

  sed -i 's|/local||' Makefile
  sed -i '/INSTALL/ s|\$(bindir)|\$(DESTDIR)&|' Makefile
  sed -i '/INSTALL/ s|\$(CONFIGDIR)|\$(DESTDIR)&|' Makefile
  mkdir -p $startdir/pkg/usr/bin
  make || return 1
  make DESTDIR="$pkgdir" install

  install -D -m644 ../code-browser.desktop ${startdir}/pkg/usr/share/applications/code-browser.desktop || return 1
  install -D -m644 ../cb.png ${startdir}/pkg/usr/share/icons/hicolor/32x32/apps//cb.png || return 1
}

# vim:set ts=2 sw=2 et:
md5sums=('a3ab418148a224b98c9d363973030568'
         '05b38d1b5cd303042aaaf50714655d83'
         '153dab5bcff69701d74ee911d80d6f83')

Offline

#2 2008-05-05 12:54:36

arunvragh
Member
Registered: 2007-04-17
Posts: 111

Re: code-browser for arch64

Dont you think you should change arch from 'i686' to 'x86_64' ??

Offline

#3 2008-05-05 13:13:37

scrawler
Member
Registered: 2005-06-07
Posts: 318

Re: code-browser for arch64

it may be that easy, but I may have already tried it...
I'm on a 686 box right now and pasted the pkgbuild I have here.

Offline

#4 2008-05-07 02:52:14

scrawler
Member
Registered: 2005-06-07
Posts: 318

Re: code-browser for arch64

it wasn't that easy.  Does any brave soul feel like trying to build it for me?

Offline

#5 2008-05-07 03:28:55

peart
Member
From: Kanuckistan
Registered: 2003-07-28
Posts: 510

Re: code-browser for arch64

I built the pkg just fine on both arches with the PKGBUILD in the first post.  There's a bunch of warnings during the x86_64 compilation, but the app still works.  What's not working at your end?

Offline

#6 2008-05-07 06:20:05

ghostHack
Member
From: Bristol UK
Registered: 2008-02-29
Posts: 261

Re: code-browser for arch64

scrawler, have you modified the MAKEFLAGS variable in /etc/makepkg.conf?  If so try adding

options=(!makeflags)

to the PKGBUILD.  For me, this package doesn't like -j3

Last edited by ghostHack (2008-05-07 06:20:29)

Offline

Board footer

Powered by FluxBB