firefox: update to 12.0.
This commit is contained in:
parent
1392d299ed
commit
d6ed8ac305
|
@ -15,7 +15,8 @@ ac_add_options --with-system-libvpx
|
|||
ac_add_options --enable-system-hunspell
|
||||
ac_add_options --enable-system-sqlite
|
||||
ac_add_options --enable-system-ffi
|
||||
ac_add_options --enable-system-cairo
|
||||
# Disable system cairo for now, random crashes with cairo-1.12.
|
||||
ac_add_options --disable-system-cairo
|
||||
ac_add_options --enable-system-pixman
|
||||
ac_add_options --with-pthreads
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ libm.so.6
|
|||
libgcc_s.so.1
|
||||
ld-linux-x86-64.so.2
|
||||
libdbus-glib-1.so.2
|
||||
libgconf-2.so.4
|
||||
libnotify.so.4
|
||||
ld-linux.so.2
|
||||
libvpx.so.1
|
||||
libbz2.so.1
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
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>
|
|
@ -0,0 +1,12 @@
|
|||
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"
|
|
@ -0,0 +1,12 @@
|
|||
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
|
||||
|
|
@ -1,13 +1,13 @@
|
|||
# Template build file for 'firefox'.
|
||||
pkgname=firefox
|
||||
version=11.0
|
||||
version=12.0
|
||||
wrksrc=mozilla-release
|
||||
distfiles="${MOZILLA_SITE}/${pkgname}/releases/${version}/source/${pkgname}-${version}.source.tar.bz2"
|
||||
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=2fda6bcfe455c2449a8a69bc16bf13f6ea6006badb0657dae63107e52f051701
|
||||
checksum=9a232a10e5803b0e4a85bd986e3e88b87ccde7bdc3363ea7022d5761944dbb1d
|
||||
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
|
||||
|
@ -21,9 +21,6 @@ long_desc="
|
|||
|
||||
gtk_iconcache_dirs="/usr/share/icons/hicolor"
|
||||
|
||||
Add_dependency run desktop-file-utils
|
||||
Add_dependency run hicolor-icon-theme
|
||||
|
||||
Add_dependency build unzip
|
||||
Add_dependency build zip
|
||||
Add_dependency build perl ">=0"
|
||||
|
@ -48,11 +45,14 @@ Add_dependency build alsa-lib-devel
|
|||
Add_dependency build hunspell-devel
|
||||
Add_dependency build wireless_tools-devel
|
||||
|
||||
Add_dependency run desktop-file-utils
|
||||
Add_dependency run hicolor-icon-theme
|
||||
|
||||
do_build() {
|
||||
# Fix PRE_RELEASE_SUFFIX
|
||||
sed -i '/^PRE_RELEASE_SUFFIX := ""/s/ ""//' browser/base/Makefile.in
|
||||
cp -f ${FILESDIR}/mozconfig .mozconfig
|
||||
export LDFLAGS="$XBPS_LDFLAGS -Wl,-R/usr/lib/firefox"
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue