You are not logged in.

#1 2008-01-15 17:26:55

Theomachos
Member
From: Germany
Registered: 2007-07-31
Posts: 67
Website

[Request] Xulrunner 1.9

Since Conkeror now depends on Xulrunner 1.9 I'm using the precompiled xulrunner-binaries at the moment.
This is very un-arch.... sad

Unfortunately there are so many patches in the current PKGBUILD, that I have no idea what i can remove, etc. and how to build my own.

Anyone here to help me ? smile

BTW.: Conkeror is GREAT ! They have removed the slow number-indexing and integrated new functions to follow links: Old number-indexing activated by hotkey, pattern matching, etc. ....


There is one thing even more vital to science than intelligent methods; and that is, the sincere desire to find out the truth, whatever it may be.
Charles S. Peirce

Offline

#2 2008-03-03 10:38:01

fatdev
Member
Registered: 2007-04-19
Posts: 2

Re: [Request] Xulrunner 1.9

I would like to second this request.

After reading this: http://hackety.org/2008/02/29/conkerorComesUnstuck.html, I really want to try out Conkeror. Unfortunately I was not able to get it working.

It would be nice to have seperate Conkeror package also wink

Offline

#3 2008-04-03 23:53:45

escondida
Package Maintainer (PM)
Registered: 2008-04-03
Posts: 157

Re: [Request] Xulrunner 1.9

I tried to look into this request, and after looking around a bit, it turns out that development sources (just release sources) are not publicly available at the moment. As such, I didn't manage to get my hands on a copy of the v1.9 source tree. Anyway, if you want xulrunner 1.9, at the moment the solution seems to be using the precompiled binaries (yes, I know that's exactly what the OP was asking about getting around). I suppose it's possible that asking very nicely at irc.mozilla.org - #xulrunner might get you a copy of the source from someone hanging out there, but not necessarily.

Anyway, good luck! I'm looking forward to this being in Arch as well--I'm curious to see what's been added to Conkeror since the days it was a Firefox extension!

Offline

#4 2008-04-20 16:35:35

CuleX
Member
Registered: 2007-09-15
Posts: 107

Re: [Request] Xulrunner 1.9

joyfulgirl wrote:

I tried to look into this request, and after looking around a bit, it turns out that development sources (just release sources) are not publicly available at the moment. As such, I didn't manage to get my hands on a copy of the v1.9 source tree. Anyway, if you want xulrunner 1.9, at the moment the solution seems to be using the precompiled binaries (yes, I know that's exactly what the OP was asking about getting around).

^^ http://developer.mozilla.org/en/docs/Mo … de_Via_CVS
Short:

$ cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot login
$ cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co mozilla/client.mk
$ cd mozilla
$ MOZ_CO_PROJECT=xulrunner make -f client.mk checkout
And compile it

I have no idea how to compile it, it's chaotic. Anyway, that's how to get the source. At least, that SHOULD get the source.

Good luck!

Offline

#5 2008-05-04 23:10:58

ganlu
Member
From: ChongQing, China
Registered: 2004-01-04
Posts: 360

Re: [Request] Xulrunner 1.9

PKGBUILD:

pkgname=xulrunner-cvs
pkgver=20080505
pkgrel=1
pkgdesc="Mozilla Runtime Environment"
arch=(i686 x86_64)
license=('MPL' 'GPL' 'LGPL')
depends=('gtk2>=2.12' 'pango>=1.18.4' 'gcc-libs' 'libidl2' 'mozilla-common' 'nss>=3.11.7' 'libxt')
makedepends=('zip' 'pkgconfig' 'diffutils' 'gcc' 'cvs')
provides=(gecko-sdk)
replaces=(gecko-sdk)
conflicts=(xulrunner)
url="http://wiki.mozilla.org/XUL:Xul_Runner"
source=(mozconfig)

_cvsroot=":pserver:anonymous:@cvs-mirror.mozilla.org:2401/cvsroot"
_cvsmod="mozilla/client.mk"

build() {
  msg "updating source via CVS..."
  cvs -z9 -q -d $_cvsroot co -D $pkgver -f $_cvsmod
  cd $startdir/src/mozilla
  MOZ_CO_PROJECT=xulrunner make -f client.mk checkout
  msg "CVS checkout done or server timeout"

  msg "Creating .mozconfig file"  
  export MAKEFLAGS="-j1"
  sed "s/#CFLAGS#/${CFLAGS}/g" ${startdir}/src/mozconfig >.mozconfig

  msg "Starting build..."
  make -f client.mk build || return 1
  make DESTDIR=${startdir}/pkg DISTDIR=${startdir}/pkg install || return 1

  cd ${startdir}/pkg/usr/lib && ln -sf xulrunner-${pkgver} xulrunner
  cd ${startdir}/pkg/usr/include && ln -sf xulrunner-${pkgver} xulrunner
  cd ${startdir}/pkg/usr/share/idl && ln -sf xulrunner-${pkgver} xulrunner

  rm -rf ${startdir}/pkg/usr/bin/defaults

  #NSPR and NSS aren't built anyways, remove pkgconfig files for it
  rm -f ${startdir}/pkg/usr/lib/pkgconfig/xulrunner-ns{s,pr}.pc
  #Remove versioned directories from .pc files, fixes problems with updates
  sed -i -e "s/xulrunner-${pkgver}/xulrunner/" \
      ${startdir}/pkg/usr/lib/pkgconfig/*.pc
}

mozconfig:

mk_add_options MOZILLA_OFFICIAL=0
mk_add_options BUILD_OFFICIAL=0
mk_add_options MOZ_MAKE_FLAGS=-j1

# load defaults from src tarball
. $topsrcdir/xulrunner/config/mozconfig
# add our own options

ac_add_options --with-system-nspr
ac_add_options --with-system-nss
ac_add_options --with-system-jpeg
ac_add_options --with-system-zlib
ac_add_options --with-system-png
ac_add_options --with-system-mng
ac_add_options --disable-tests
ac_add_options --disable-installer
ac_add_options --enable-canvas
ac_add_options --enable-svg
#ac_add_options --enable-xft
ac_add_options --enable-pango
ac_add_options --enable-ldap
ac_add_options --enable-cairo
ac_add_options --disable-freetype2
ac_add_options --prefix=/usr
ac_add_options --enable-optimize="#CFLAGS#"
ac_add_options --enable-default-toolkit=cairo-gtk2
ac_add_options --enable-system-cairo
ac_add_options --disable-xprint
ac_add_options --disable-gnomevfs
ac_add_options --with-default-mozilla-five-home=/usr/lib/xulrunner
ac_add_options --enable-strip
ac_add_options --disable-debug
ac_add_options --disable-javaxpcom
ac_add_options --enable-extensions=default,cookie,permissions,spellcheck
ac_add_options --disable-gnomeui

Good luck.

Last edited by ganlu (2008-05-04 23:12:07)

Offline

Board footer

Powered by FluxBB