From owner-svn-ports-all@freebsd.org Sat Oct 20 21:39:38 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 32AEAFF6CA4; Sat, 20 Oct 2018 21:39:38 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DBFA68A995; Sat, 20 Oct 2018 21:39:37 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D6DDB23C40; Sat, 20 Oct 2018 21:39:37 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9KLdbT9040614; Sat, 20 Oct 2018 21:39:37 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9KLdaMo040606; Sat, 20 Oct 2018 21:39:36 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201810202139.w9KLdaMo040606@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sat, 20 Oct 2018 21:39:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r482626 - in head: Mk mail/thunderbird/files www/firefox www/firefox-esr/files www/firefox/files www/palemoon www/seamonkey X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in head: Mk mail/thunderbird/files www/firefox www/firefox-esr/files www/firefox/files www/palemoon www/seamonkey X-SVN-Commit-Revision: 482626 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Oct 2018 21:39:38 -0000 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 +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 + #include +-#include + #include + #include + #include 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 +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 + #include +-#include + #include + #include + #include 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 + #include +-#include + #include + #include + #include 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