current firefox25 work
diff --git a/extra/firefox/PKGBUILD b/extra/firefox/PKGBUILD
index 1c5d5b4..549646d 100644
--- a/extra/firefox/PKGBUILD
+++ b/extra/firefox/PKGBUILD
@@ -112,6 +112,32 @@
# some last minute code fixes
sed -i '' -e 's@include "\(audio_device_utility_linux.h\)"@include "linux/\1"@' \
media/webrtc/trunk/webrtc/modules/audio_device/audio_device_impl.cc
+ # problems with _Unwind_Backtrace
+ sed -i '' -e 's@#elif HAVE_DLADDR @#elif 0 @' \
+ xpcom/base/nsStackWalk.cpp
+# # missing -lintl
+# sed -i '' -e '/^include.*config.rules.mk/i\
+#EXTRA_DSO_LDOPTS += -lintl' \
+# browser/components/build/Makefile.in
+
+ # Hmmmmmmm ports excludes these, but it probably doesn't matter...
+ #find . -name package | xargs rm -rf
+ #find . -name macbuild | xargs rm -rf
+
+ ## build plugin-container... otherwise package() won't find it
+ #mv ipc/moz.build{,.orig}
+ ## if this fails it means the file changed and the need for this has to be re-examined
+ #awk 'BEGIN { dirs=0; tools=0; }
+ # /^TOOL_DIRS \+= \['\'app\''\]/{ tools=1; $0 = "#" $0; }
+ # /^DIRS \+= \[/{ dirs=1; }
+ # /^]/{ if (dirs==1) { print("'\'app\''"); dirs=2; }}
+ # { print($0); }
+ # END {if (dirs != 2 || !tools) exit(1); }' \
+ # ipc/moz.build.orig > ipc/moz.build
+
+ # THESE ARE NOT INCLUDED ON PURPOSE...
+ mkdir -p obj-${CARCH}-unknown-freebsd10.0/ipc/app
+ cp "${srcdir}/../app-"{Makefile,backend.mk} obj-${CARCH}-unknown-freebsd10.0/ipc
}
build() {
@@ -125,6 +151,7 @@
export PATH="$srcdir/path:$PATH"
export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/lib/firefox"
export PYTHON="/usr/bin/python2"
+ #export LIBS="$LIBS -lpthread -lintl"
export LIBS="$LIBS -lpthread"
export CFLAGS="$CFLAGS -fPIC"
@@ -145,6 +172,7 @@
package() {
cd mozilla-release
gmake -j1 -f client.mk DESTDIR="$pkgdir" install
+ msg "REST"
install -dm755 "$pkgdir/usr/lib/firefox/defaults/preferences/"
install -m644 ../vendor.js "$pkgdir/usr/lib/firefox/defaults/preferences/vendor.js"
diff --git a/extra/firefox/mozconfig b/extra/firefox/mozconfig
index a1d8e8c..ff9f7a5 100644
--- a/extra/firefox/mozconfig
+++ b/extra/firefox/mozconfig
@@ -23,7 +23,7 @@
# Features
ac_add_options --enable-startup-notification
-#ac_add_options --enable-gstreamer
+ac_add_options --enable-gstreamer
ac_add_options --disable-crashreporter
ac_add_options --disable-updater