svn commit: r482626 - in head: Mk mail/thunderbird/files www/firefox www/firefox-esr/files www/firefox/files www/palemoon www/seamonkey
Jan Beich
jbeich at FreeBSD.org
Sat Oct 20 21:39:38 UTC 2018
Author: jbeich
Date: Sat Oct 20 21:39:35 2018
New Revision: 482626
URL: https://svnweb.freebsd.org/changeset/ports/482626
Log:
gecko: expose Wayland support
Added:
head/mail/thunderbird/files/patch-bug1474265 (contents, props changed)
head/mail/thunderbird/files/patch-bug1500484 (contents, props changed)
head/www/firefox-esr/files/patch-bug1474265 (contents, props changed)
head/www/firefox-esr/files/patch-bug1500484 (contents, props changed)
head/www/firefox/files/patch-bug1500484 (contents, props changed)
Modified:
head/Mk/bsd.gecko.mk (contents, props changed)
head/www/firefox/Makefile.options (contents, props changed)
head/www/palemoon/Makefile (contents, props changed)
head/www/seamonkey/Makefile (contents, props changed)
Modified: head/Mk/bsd.gecko.mk
==============================================================================
--- head/Mk/bsd.gecko.mk Sat Oct 20 21:39:20 2018 (r482625)
+++ head/Mk/bsd.gecko.mk Sat Oct 20 21:39:35 2018 (r482626)
@@ -285,9 +285,11 @@ MOZ_EXPORT+= MOZ_GOOGLE_API_KEY=AIzaSyBsp9n41JLW8jCokw
.if ${PORT_OPTIONS:MGTK2}
MOZ_TOOLKIT= cairo-gtk2
+.elif ${PORT_OPTIONS:MWAYLAND}
+MOZ_TOOLKIT= cairo-gtk3-wayland
.endif
-.if ${MOZ_TOOLKIT:Mcairo-gtk3}
+.if ${MOZ_TOOLKIT:Mcairo-gtk3*}
BUILD_DEPENDS+= gtk3>=3.14.6:x11-toolkits/gtk30
USE_GNOME+= gdkpixbuf2 gtk20 gtk30
.else # gtk2, cairo-gtk2
@@ -573,6 +575,17 @@ gecko-moz-pis-patch:
.for moz in ${MOZ_PIS_SCRIPTS}
@${MOZCONFIG_SED} < ${FILESDIR}/${moz} > ${WRKDIR}/${moz}
.endfor
+
+pre-configure: gecko-pre-configure
+
+gecko-pre-configure:
+.if ${PORT_OPTIONS:MWAYLAND}
+# .if !exists() evaluates too early before gtk3 has a chance to be installed
+ @if ! pkg-config --exists gtk+-wayland-3.0; then \
+ ${ECHO_MSG} "${PKGNAME}: Needs gtk3 with WAYLAND support enabled."; \
+ ${FALSE}; \
+ fi
+.endif
pre-install: gecko-moz-pis-pre-install
post-install-script: gecko-create-plist
Added: head/mail/thunderbird/files/patch-bug1474265
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/thunderbird/files/patch-bug1474265 Sat Oct 20 21:39:35 2018 (r482626)
@@ -0,0 +1,28 @@
+commit 1e7aec82f43d
+Author: Martin Stransky <stransky at redhat.com>
+Date: Mon Jul 9 13:18:59 2018 +0200
+
+ Bug 1474265 - Add missing semicolon at DBusRemoteClient.cpp. r=jhorak, a=jcristau
+
+ MozReview-Commit-ID: HIz4gZOzfOE
+
+ --HG--
+ extra : source : f1f6e434d3a86d729a39aabf00e8c057c794bed5
+ extra : intermediate-source : f27de60fff477d7b61b5509fc2c9c9c098f5b953
+---
+ widget/xremoteclient/DBusRemoteClient.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git widget/xremoteclient/DBusRemoteClient.cpp widget/xremoteclient/DBusRemoteClient.cpp
+index 1919ad027a14..6b242f075913 100644
+--- widget/xremoteclient/DBusRemoteClient.cpp
++++ widget/xremoteclient/DBusRemoteClient.cpp
+@@ -142,7 +142,7 @@ DBusRemoteClient::GetRemoteDestinationName(const char *aProgram,
+ (bool (*)(const char *, DBusError *))
+ dlsym(RTLD_DEFAULT, "dbus_validate_bus_name");
+ if (!sDBusValidateBusName) {
+- return false
++ return false;
+ }
+
+ if (!sDBusValidateBusName(aDestinationName.get(), nullptr)) {
Added: head/mail/thunderbird/files/patch-bug1500484
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/thunderbird/files/patch-bug1500484 Sat Oct 20 21:39:35 2018 (r482626)
@@ -0,0 +1,12 @@
+Drop unused header breaking build on non-Linux
+
+--- widget/gtk/nsClipboardWayland.cpp
++++ widget/gtk/nsClipboardWayland.cpp
+@@ -29,7 +29,6 @@
+
+ #include <gtk/gtk.h>
+ #include <poll.h>
+-#include <sys/epoll.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <fcntl.h>
Added: head/www/firefox-esr/files/patch-bug1474265
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/firefox-esr/files/patch-bug1474265 Sat Oct 20 21:39:35 2018 (r482626)
@@ -0,0 +1,28 @@
+commit 1e7aec82f43d
+Author: Martin Stransky <stransky at redhat.com>
+Date: Mon Jul 9 13:18:59 2018 +0200
+
+ Bug 1474265 - Add missing semicolon at DBusRemoteClient.cpp. r=jhorak, a=jcristau
+
+ MozReview-Commit-ID: HIz4gZOzfOE
+
+ --HG--
+ extra : source : f1f6e434d3a86d729a39aabf00e8c057c794bed5
+ extra : intermediate-source : f27de60fff477d7b61b5509fc2c9c9c098f5b953
+---
+ widget/xremoteclient/DBusRemoteClient.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git widget/xremoteclient/DBusRemoteClient.cpp widget/xremoteclient/DBusRemoteClient.cpp
+index 1919ad027a14..6b242f075913 100644
+--- widget/xremoteclient/DBusRemoteClient.cpp
++++ widget/xremoteclient/DBusRemoteClient.cpp
+@@ -142,7 +142,7 @@ DBusRemoteClient::GetRemoteDestinationName(const char *aProgram,
+ (bool (*)(const char *, DBusError *))
+ dlsym(RTLD_DEFAULT, "dbus_validate_bus_name");
+ if (!sDBusValidateBusName) {
+- return false
++ return false;
+ }
+
+ if (!sDBusValidateBusName(aDestinationName.get(), nullptr)) {
Added: head/www/firefox-esr/files/patch-bug1500484
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/firefox-esr/files/patch-bug1500484 Sat Oct 20 21:39:35 2018 (r482626)
@@ -0,0 +1,12 @@
+Drop unused header breaking build on non-Linux
+
+--- widget/gtk/nsClipboardWayland.cpp
++++ widget/gtk/nsClipboardWayland.cpp
+@@ -29,7 +29,6 @@
+
+ #include <gtk/gtk.h>
+ #include <poll.h>
+-#include <sys/epoll.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <fcntl.h>
Modified: head/www/firefox/Makefile.options
==============================================================================
--- head/www/firefox/Makefile.options Sat Oct 20 21:39:20 2018 (r482625)
+++ head/www/firefox/Makefile.options Sat Oct 20 21:39:35 2018 (r482626)
@@ -2,7 +2,7 @@
OPTIONS_DEFINE+= BUNDLED_CAIRO CANBERRA DBUS DEBUG DTRACE FFMPEG GCONF \
INTEGER_SAMPLES LIBPROXY \
- OPTIMIZED_CFLAGS PROFILE TEST
+ OPTIMIZED_CFLAGS PROFILE TEST WAYLAND
OPTIONS_DEFAULT+= DBUS FFMPEG GCONF OPTIMIZED_CFLAGS PROFILE \
${OPTIONS_MULTI_AUDIO:NSNDIO} \
Added: head/www/firefox/files/patch-bug1500484
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/firefox/files/patch-bug1500484 Sat Oct 20 21:39:35 2018 (r482626)
@@ -0,0 +1,12 @@
+Drop unused header breaking build on non-Linux
+
+--- widget/gtk/nsClipboardWayland.cpp
++++ widget/gtk/nsClipboardWayland.cpp
+@@ -29,7 +29,6 @@
+
+ #include <gtk/gtk.h>
+ #include <poll.h>
+-#include <sys/epoll.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <fcntl.h>
Modified: head/www/palemoon/Makefile
==============================================================================
--- head/www/palemoon/Makefile Sat Oct 20 21:39:20 2018 (r482625)
+++ head/www/palemoon/Makefile Sat Oct 20 21:39:35 2018 (r482626)
@@ -41,7 +41,7 @@ MOZ_OPTIONS= --enable-application=browser \
--enable-jemalloc-lib
OPTIONS_DEFAULT= BUNDLED_CAIRO GTK2
-OPTIONS_EXCLUDE= DTRACE INTEGER_SAMPLES JACK TEST
+OPTIONS_EXCLUDE= DTRACE INTEGER_SAMPLES JACK TEST WAYLAND
.include "${.CURDIR}/../../www/firefox/Makefile.options"
Modified: head/www/seamonkey/Makefile
==============================================================================
--- head/www/seamonkey/Makefile Sat Oct 20 21:39:20 2018 (r482625)
+++ head/www/seamonkey/Makefile Sat Oct 20 21:39:35 2018 (r482626)
@@ -46,6 +46,7 @@ OPTIONS_DEFINE= LDAP LIGHTNING RUST
OPTIONS_SINGLE= TOOLKIT
OPTIONS_SINGLE_TOOLKIT= GTK2 GTK3
OPTIONS_DEFAULT=CANBERRA GTK3 LDAP LIGHTNING
+OPTIONS_EXCLUDE=WAYLAND
LDAP_DESC?= LDAP support for Mailnews
More information about the svn-ports-all
mailing list