svn commit: r455086 - in head/www/palemoon: . files
Tobias Kortkamp
tobik at FreeBSD.org
Wed Nov 29 00:12:43 UTC 2017
Author: tobik
Date: Wed Nov 29 00:12:41 2017
New Revision: 455086
URL: https://svnweb.freebsd.org/changeset/ports/455086
Log:
www/palemoon: Update to 27.6.2
- Add SNDIO option
- Include bug fixes that improve A/V sync with SNDIO=on [1]
- Allow armv6 build
Changes: http://www.palemoon.org/releasenotes.shtml
PR: 223934, 215867 [1]
Submitted by: lichray at gmail.com (maintainer)
Security: 6056bf68-f570-4e70-b740-b9f606971283
Added:
head/www/palemoon/files/patch-bug1153151
- copied unchanged from r431408, head/www/firefox-esr/files/patch-bug1153151
head/www/palemoon/files/patch-bug1153179
- copied unchanged from r431408, head/www/firefox-esr/files/patch-bug1153179
head/www/palemoon/files/patch-gfx_skia_moz.build (contents, props changed)
Modified:
head/www/palemoon/Makefile
head/www/palemoon/distinfo
Modified: head/www/palemoon/Makefile
==============================================================================
--- head/www/palemoon/Makefile Tue Nov 28 23:54:32 2017 (r455085)
+++ head/www/palemoon/Makefile Wed Nov 29 00:12:41 2017 (r455086)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= palemoon
-DISTVERSION= 27.6.1
+DISTVERSION= 27.6.2
DISTVERSIONSUFFIX=_Release
CATEGORIES= www ipv6
@@ -42,7 +42,7 @@ MOZ_OPTIONS= --enable-application=browser \
--enable-jemalloc-lib
OPTIONS_DEFAULT= BUNDLED_CAIRO GTK2
-OPTIONS_EXCLUDE= DTRACE INTEGER_SAMPLES JACK SNDIO TEST
+OPTIONS_EXCLUDE= DTRACE INTEGER_SAMPLES JACK TEST
.include "${.CURDIR}/../../www/firefox/Makefile.options"
Modified: head/www/palemoon/distinfo
==============================================================================
--- head/www/palemoon/distinfo Tue Nov 28 23:54:32 2017 (r455085)
+++ head/www/palemoon/distinfo Wed Nov 29 00:12:41 2017 (r455086)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1510878123
-SHA256 (MoonchildProductions-Pale-Moon-27.6.1_Release_GH0.tar.gz) = bf426f51274472178dec248b258bfc8f2f33fbecb1cb70c36ee36a46a4dd6926
-SIZE (MoonchildProductions-Pale-Moon-27.6.1_Release_GH0.tar.gz) = 179623221
+TIMESTAMP = 1511899017
+SHA256 (MoonchildProductions-Pale-Moon-27.6.2_Release_GH0.tar.gz) = 124bee1630cf56f120220cdcadde4e24831b472db49d18da6480b7a847785d19
+SIZE (MoonchildProductions-Pale-Moon-27.6.2_Release_GH0.tar.gz) = 179622196
Copied: head/www/palemoon/files/patch-bug1153151 (from r431408, head/www/firefox-esr/files/patch-bug1153151)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/palemoon/files/patch-bug1153151 Wed Nov 29 00:12:41 2017 (r455086, copy of r431408, head/www/firefox-esr/files/patch-bug1153151)
@@ -0,0 +1,13 @@
+Bug 1153151 - make libcubeb sndio use non-blocking i/o
+
+--- media/libcubeb/src/cubeb_sndio.c.orig 2017-01-12 17:53:15 UTC
++++ media/libcubeb/src/cubeb_sndio.c
+@@ -187,7 +187,7 @@ sndio_stream_init(cubeb *context,
+ if (s == NULL)
+ return CUBEB_ERROR;
+ s->context = context;
+- s->hdl = sio_open(NULL, SIO_PLAY, 0);
++ s->hdl = sio_open(NULL, SIO_PLAY, 1);
+ if (s->hdl == NULL) {
+ free(s);
+ DPR("sndio_stream_init(), sio_open() failed\n");
Copied: head/www/palemoon/files/patch-bug1153179 (from r431408, head/www/firefox-esr/files/patch-bug1153179)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/palemoon/files/patch-bug1153179 Wed Nov 29 00:12:41 2017 (r455086, copy of r431408, head/www/firefox-esr/files/patch-bug1153179)
@@ -0,0 +1,40 @@
+Bug 1153179 - fix latency reporting in libcubeb sndio
+
+--- media/libcubeb/src/cubeb_sndio.c.orig 2017-01-12 17:53:15 UTC
++++ media/libcubeb/src/cubeb_sndio.c
+@@ -67,7 +67,7 @@ sndio_onmove(void *arg, int delta)
+ {
+ cubeb_stream *s = (cubeb_stream *)arg;
+
+- s->rdpos += delta;
++ s->rdpos += delta * s->bpf;
+ }
+
+ static void *
+@@ -135,7 +135,7 @@ sndio_mainloop(void *arg)
+ state = CUBEB_STATE_ERROR;
+ break;
+ }
+- s->wrpos = 0;
++ s->wrpos += n;
+ start += n;
+ }
+ }
+@@ -326,7 +336,7 @@ sndio_stream_get_position(cubeb_stream *
+ {
+ pthread_mutex_lock(&s->mtx);
+ DPR("sndio_stream_get_position() %lld\n", s->rdpos);
+- *p = s->rdpos;
++ *p = s->rdpos / s->bpf;
+ pthread_mutex_unlock(&s->mtx);
+ return CUBEB_OK;
+ }
+@@ -346,7 +356,7 @@ sndio_stream_get_latency(cubeb_stream *
+ {
+ // http://www.openbsd.org/cgi-bin/man.cgi?query=sio_open
+ // in the "Measuring the latency and buffers usage" paragraph.
+- *latency = stm->wrpos - stm->rdpos;
++ *latency = (stm->wrpos - stm->rdpos) / stm->bpf;
+ return CUBEB_OK;
+ }
+
Added: head/www/palemoon/files/patch-gfx_skia_moz.build
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/palemoon/files/patch-gfx_skia_moz.build Wed Nov 29 00:12:41 2017 (r455086)
@@ -0,0 +1,11 @@
+--- gfx/skia/moz.build.orig 2017-11-26 22:41:30 UTC
++++ gfx/skia/moz.build
+@@ -961,7 +961,7 @@ elif CONFIG['CLANG_CL']:
+ SOURCES['trunk/src/opts/SkBlurImage_opts_SSE4.cpp'].flags += ['-msse4.1']
+
+ if CONFIG['GNU_CXX'] and CONFIG['CPU_ARCH'] == 'arm':
+- SOURCES['skia/src/opts/SkBlitRow_opts_arm.cpp'].flags += ['-fomit-frame-pointer']
++ SOURCES['trunk/src/opts/SkBlitRow_opts_arm.cpp'].flags += ['-fomit-frame-pointer']
+
+ DEFINES['SKIA_IMPLEMENTATION'] = 1
+ DEFINES['GR_IMPLEMENTATION'] = 1
More information about the svn-ports-all
mailing list