From 799fa8399811439d71c4fbe4e9a31e5bdb8378a2 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 21 Dec 2009 23:07:47 +0100 Subject: [PATCH] Added xulrunner-1.9.1.6 build template. --HG-- extra : convert_revision : 60e1fee1d51395a4b9eeb802b367dcdd9f53d97b --- srcpkgs/xulrunner-devel | 1 + srcpkgs/xulrunner/depends | 2 + .../xulrunner/patches/xulrunner-version.patch | 11 +++++ srcpkgs/xulrunner/template | 48 +++++++++++++++++++ srcpkgs/xulrunner/xulrunner-devel.template | 24 ++++++++++ 5 files changed, 86 insertions(+) create mode 120000 srcpkgs/xulrunner-devel create mode 100644 srcpkgs/xulrunner/depends create mode 100644 srcpkgs/xulrunner/patches/xulrunner-version.patch create mode 100644 srcpkgs/xulrunner/template create mode 100644 srcpkgs/xulrunner/xulrunner-devel.template diff --git a/srcpkgs/xulrunner-devel b/srcpkgs/xulrunner-devel new file mode 120000 index 0000000000..fdbd534f92 --- /dev/null +++ b/srcpkgs/xulrunner-devel @@ -0,0 +1 @@ +xulrunner \ No newline at end of file diff --git a/srcpkgs/xulrunner/depends b/srcpkgs/xulrunner/depends new file mode 100644 index 0000000000..ede626b552 --- /dev/null +++ b/srcpkgs/xulrunner/depends @@ -0,0 +1,2 @@ +abi_depends=">=1.9.1" +api_depends="${abi_depends}" diff --git a/srcpkgs/xulrunner/patches/xulrunner-version.patch b/srcpkgs/xulrunner/patches/xulrunner-version.patch new file mode 100644 index 0000000000..0a7e097046 --- /dev/null +++ b/srcpkgs/xulrunner/patches/xulrunner-version.patch @@ -0,0 +1,11 @@ +--- xulrunner/installer/Makefile.in.ver 2007-12-14 09:51:34.000000000 +0100 ++++ xulrunner/installer/Makefile.in 2007-12-14 09:52:03.000000000 +0100 +@@ -44,6 +44,8 @@ VPATH = @srcdir@ + + include $(DEPTH)/config/autoconf.mk + ++MOZ_APP_VERSION="1.9.1" ++ + NO_PKG_FILES = \ + xulrunner-config \ + regchrome* \ diff --git a/srcpkgs/xulrunner/template b/srcpkgs/xulrunner/template new file mode 100644 index 0000000000..7f2a5976dc --- /dev/null +++ b/srcpkgs/xulrunner/template @@ -0,0 +1,48 @@ +# Template build file for 'xulrunner'. +pkgname=xulrunner +_xulver=1.9.1 +_ffver=3.5.6 +version=${_xulver}.6 +wrksrc=mozilla-${_xulver} +distfiles="${MOZILLA_SITE}/firefox/releases/${_ffver}/source/firefox-${_ffver}.source.tar.bz2" +build_style=gnu_configure +LDFLAGS="-Wl,-R/usr/lib/${pkgname}-${_xulver}" +configure_args="--enable-application=xulrunner --enable-libxul +--disable-crashreporter --disable-tests --disable-debug --enable-dbus +--enable-startup-notification --enable-canvas --enable-svg +--disable-mochitest --enable-strip --enable-pango --enable-optimize +--disable-embedding-tests --disable-installer --disable-oji +--disable-javaxpcom --disable-necko-wifi --disable-updater +--disable-gnomevfs --disable-gnomeui --disable-dbm --with-pthreads +--with-system-zlib --with-system-bz2 --enable-system-cairo +--with-system-png --with-system-jpeg --with-system-sqlite +--with-system-nspr --with-system-nss --enable-safe-browsing" +short_desc="XML User Interface Language runtime environment" +maintainer="Juan RP " +checksum=60462020c1935702cf87928a886778b3b52e73b0121a8264630b72d370ea3fd1 +long_desc=" + XULRunner is a runtime environment for applications using the + XML User Interface Language, XUL. It is the successor of the Gecko + runtime environment" + +subpackages="$pkgname-devel" +Add_dependency run libstdc++ +Add_dependency run gtk+ +Add_dependency run alsa-lib +Add_dependency run sqlite +Add_dependency run libIDL +Add_dependency run nss +Add_dependency run libnotify +Add_dependency run dbus-glib +Add_dependency run startup-notification +Add_dependency build zip +Add_dependency build python +Add_dependency build bison +Add_dependency build gtk+-devel +Add_dependency build alsa-lib-devel +Add_dependency build sqlite-devel +Add_dependency build libIDL-devel +Add_dependency build nss-devel +Add_dependency build libnotify-devel +Add_dependency build dbus-glib-devel +Add_dependency build startup-notification-devel diff --git a/srcpkgs/xulrunner/xulrunner-devel.template b/srcpkgs/xulrunner/xulrunner-devel.template new file mode 100644 index 0000000000..da03a0d5f5 --- /dev/null +++ b/srcpkgs/xulrunner/xulrunner-devel.template @@ -0,0 +1,24 @@ +# Template file for 'xulrunner-devel'. +# +short_desc="${short_desc} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run gtk+-devel +Add_dependency run dbus-glib-devel +Add_dependency run libIDL-devel +Add_dependency run sqlite-devel +Add_dependency run nss-devel +Add_dependency run startup-notification-devel +Add_dependency run alsa-lib-devel +Add_dependency run xulrunner + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/xulrunner-devel-* ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr +}