firefox: update to 13.0.

This commit is contained in:
Juan RP 2012-06-06 21:19:58 +02:00
parent 664afd9a8e
commit 6df6122686
5 changed files with 8 additions and 49 deletions

View File

@ -1,7 +1,7 @@
libpthread.so.0
libc.so.6
libjpeg.so.8
libpng14.so.14
libpng15.so.15
libffi.so.5
libssl3.so
libsmime3.so

View File

@ -1,12 +0,0 @@
Missing unistd header for read(2) and close(2).
--- ipc/chromium/src/base/file_util_linux.cc.orig 2012-04-23 14:10:57.674067160 +0200
+++ ipc/chromium/src/base/file_util_linux.cc 2012-04-23 14:11:10.376767750 +0200
@@ -5,6 +5,7 @@
#include "base/file_util.h"
#include <fcntl.h>
+#include <unistd.h>
#include <string>
#include <vector>

View File

@ -1,12 +0,0 @@
Missing unistd header for read(2) and close(2).
--- ipc/chromium/src/base/message_pump_libevent.cc.orig 2012-04-23 13:20:27.480505425 +0200
+++ ipc/chromium/src/base/message_pump_libevent.cc 2012-04-23 13:20:40.015211284 +0200
@@ -6,6 +6,7 @@
#include <errno.h>
#include <fcntl.h>
+#include <unistd.h>
#include "eintr_wrapper.h"
#include "base/logging.h"

View File

@ -1,12 +0,0 @@
Missing unistd.h header for _POSIX_MONOTONIC_CLOCK definition.
--- ipc/chromium/src/base/time_posix.cc.orig 2012-04-23 14:19:14.797094233 +0200
+++ ipc/chromium/src/base/time_posix.cc 2012-04-23 14:19:23.067898688 +0200
@@ -11,6 +11,7 @@
#ifdef ANDROID
#include <time64.h>
#else
+#include <unistd.h>
#include <time.h>
#endif

View File

@ -1,16 +1,17 @@
# Template build file for 'firefox'.
pkgname=firefox
version=12.0
wrksrc=mozilla-release
distfiles="${MOZILLA_SITE}/${pkgname}/releases/${version}/source/${pkgname}-${version}.source.tar.bz2"
depends="desktop-file-utils hicolor-icon-theme"
makedepends="unzip zip perl>=0 python>=2.7.2_3 yasm jpeg-devel libpng-devel pixman-devel libIDL-devel nss-devel>=3.13.3 sqlite-devel libXrender-devel libXScrnSaver-devel gtk+-devel libevent-devel libnotify-devel libvpx-devel GConf-devel startup-notification-devel dbus-glib-devel alsa-lib-devel hunspell-devel wireless_tools-devel"
version=13.0
revision=1
wrksrc=mozilla-release
depends="desktop-file-utils hicolor-icon-theme"
makedepends="unzip zip perl python yasm jpeg-devel libpng-devel>=1.5.10 pixman-devel libIDL-devel nss-devel>=3.13.3 sqlite-devel libXrender-devel libXScrnSaver-devel gtk+-devel libevent-devel libnotify-devel libvpx-devel GConf-devel startup-notification-devel dbus-glib-devel alsa-lib-devel hunspell-devel wireless_tools-devel"
gtk_iconcache_dirs="/usr/share/icons/hicolor"
short_desc="Lightweight gecko-based web browser"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.mozilla.org/projects/firefox"
license="MPL-1.1, GPL-2, LGPL-2.1"
checksum=9a232a10e5803b0e4a85bd986e3e88b87ccde7bdc3363ea7022d5761944dbb1d
distfiles="${MOZILLA_SITE}/${pkgname}/releases/${version}/source/${pkgname}-${version}.source.tar.bz2"
checksum=dc801286e752ba3c2006caa0728024cb5b92460d9a3a1636c111c1f4f4f50b55
long_desc="
Mozilla Firefox is a free, open-source and cross-platform web browser
for Windows, Linux, MacOS X and many other operating systems. It is
@ -22,17 +23,11 @@ long_desc="
can be extended by developers using industry standards such as XML,
CSS, JavaScript, C++, etc. Many extensions are available."
gtk_iconcache_dirs="/usr/share/icons/hicolor"
do_build() {
# Fix PRE_RELEASE_SUFFIX
sed -i '/^PRE_RELEASE_SUFFIX := ""/s/ ""//' browser/base/Makefile.in
cp -f ${FILESDIR}/mozconfig .mozconfig
export LDFLAGS="-Wl,-R/usr/lib/firefox"
# Fix for libvpx-1.0.0 detection.
sed -i -e "s|VPX_CODEC_USE_INPUT_PARTITION|VPX_CODEC_USE_INPUT_FRAGMENTS|g" configure
make ${makejobs} -f client.mk MOZ_MAKE_FLAGS="${makejobs}"
}