From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F2AA1139085 for ; Sat, 21 Jan 2017 20:34:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 65A582340CD; Sat, 21 Jan 2017 20:34:37 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3967B2340CD for ; Sat, 21 Jan 2017 20:34:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4126334169D for ; Sat, 21 Jan 2017 20:34:36 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AA0732BB4 for ; Sat, 21 Jan 2017 20:34:34 +0000 (UTC) From: "Jory Pratt" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jory Pratt" Message-ID: <1485030801.d237dc80f3481dd2f36b423385793ab0b13cc205.anarchy@gentoo> Subject: [gentoo-commits] proj/mozilla:master commit in: www-client/firefox/ X-VCS-Repository: proj/mozilla X-VCS-Files: www-client/firefox/firefox-51.0_beta14.ebuild www-client/firefox/metadata.xml X-VCS-Directories: www-client/firefox/ X-VCS-Committer: anarchy X-VCS-Committer-Name: Jory Pratt X-VCS-Revision: d237dc80f3481dd2f36b423385793ab0b13cc205 X-VCS-Branch: master Date: Sat, 21 Jan 2017 20:34:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ddfa939a-3f3f-499d-91d5-87a220abf3f5 X-Archives-Hash: fe5dfc4758dadfdf3571ae38f42a92e5 commit: d237dc80f3481dd2f36b423385793ab0b13cc205 Author: Jory A. Pratt gentoo org> AuthorDate: Sat Jan 21 20:33:21 2017 +0000 Commit: Jory Pratt gentoo org> CommitDate: Sat Jan 21 20:33:21 2017 +0000 URL: https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=d237dc80 www-client/firefox: Add basic rust support, is only useful for developers at the moment. Feature should not be enabled in portage tree. Update metadata.xml for rust and gtk3 useflag www-client/firefox/firefox-51.0_beta14.ebuild | 10 +++++++++- www-client/firefox/metadata.xml | 2 ++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/www-client/firefox/firefox-51.0_beta14.ebuild b/www-client/firefox/firefox-51.0_beta14.ebuild index 18a1ce5..2fa3902 100644 --- a/www-client/firefox/firefox-51.0_beta14.ebuild +++ b/www-client/firefox/firefox-51.0_beta14.ebuild @@ -41,7 +41,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-lin SLOT="0" LICENSE="MPL-2.0 GPL-2 LGPL-2.1" -IUSE="bindist hardened hwaccel jack pgo selinux +gmp-autoupdate test" +IUSE="bindist +gmp-autoupdate hardened hwaccel jack pgo rust selinux test" RESTRICT="!bindist? ( bindist )" PATCH_URIS=( https://dev.gentoo.org/~{anarchy,axs,polynomial-c}/mozilla/patchsets/${PATCH}.tar.xz ) @@ -61,6 +61,7 @@ RDEPEND=" DEPEND="${RDEPEND} pgo? ( >=sys-devel/gcc-4.5 ) + rust? ( dev-lang/rust ) amd64? ( ${ASM_DEPEND} virtual/opengl ) x86? ( ${ASM_DEPEND} virtual/opengl )" @@ -95,6 +96,11 @@ pkg_setup() { ewarn "You will do a double build for profile guided optimization." ewarn "This will result in your build taking at least twice as long as before." fi + + if use rust; then + einfo + ewarn "This is very experimental, should only be used by those developing firefox." + fi } pkg_pretend() { @@ -210,6 +216,8 @@ src_configure() { mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}" + mozconfig_use_enable rust + # Allow for a proper pgo build if use pgo; then echo "mk_add_options PROFILE_GEN_SCRIPT='EXTRA_TEST_ARGS=10 \$(MAKE) -C \$(MOZ_OBJDIR) pgo-profile-run'" >> "${S}"/.mozconfig diff --git a/www-client/firefox/metadata.xml b/www-client/firefox/metadata.xml index 63e6523..73dd758 100644 --- a/www-client/firefox/metadata.xml +++ b/www-client/firefox/metadata.xml @@ -11,6 +11,7 @@ Build with user-specified compiler optimizations (-Os, -O0, -O1, -O2, -O3) from CFLAGS (unsupported) Use the cairo-gtk2 rendering engine + Use the cairo-gtk3 rendering engine Allow Gecko Media Plugins (binary blobs) to be automatically downloaded and kept up-to-date in user profiles Use gstreamer:0.10 instead of gstreamer:1 for media support @@ -20,6 +21,7 @@ Add support for profile-guided optimization using gcc-4.5, for faster binaries. This option will double the compile time. Enable the SKIA engine for 2D rendering as an alternative to cairo + Enable support for using rust compiler (experimental) Use the system-wide x11-libs/cairo instead of bundled. Use the system-wide media-libs/harfbuzz