[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/, eclass/

2019-10-06 Thread Thomas Deutschmann
commit: 823290e520d72dbd88c3a6f6e327c8bb49c090cb
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Oct  6 11:32:42 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Oct  6 11:41:42 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=823290e5

www-client/firefox: drop virtual/cargo

Bug: https://bugs.gentoo.org/695698
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann  gentoo.org>

 eclass/mozconfig-v6.60.eclass| 2 --
 www-client/firefox/firefox-68.1.0.ebuild | 1 -
 www-client/firefox/firefox-69.0.2.ebuild | 1 -
 3 files changed, 4 deletions(-)

diff --git a/eclass/mozconfig-v6.60.eclass b/eclass/mozconfig-v6.60.eclass
index ae83ebd6c31..4cbf6fe9618 100644
--- a/eclass/mozconfig-v6.60.eclass
+++ b/eclass/mozconfig-v6.60.eclass
@@ -194,11 +194,9 @@ DEPEND="app-arch/zip
)
pulseaudio? ( media-sound/pulseaudio )
elibc_glibc? (
-   virtual/cargo
virtual/rust
)
elibc_musl? (
-   virtual/cargo
virtual/rust
)
${RDEPEND}"

diff --git a/www-client/firefox/firefox-68.1.0.ebuild 
b/www-client/firefox/firefox-68.1.0.ebuild
index cbc319d6760..c98776c20e7 100644
--- a/www-client/firefox/firefox-68.1.0.ebuild
+++ b/www-client/firefox/firefox-68.1.0.ebuild
@@ -163,7 +163,6 @@ DEPEND="${CDEPEND}
)
)
pulseaudio? ( media-sound/pulseaudio )
-   >=virtual/cargo-1.34.0
>=virtual/rust-1.34.0
wayland? ( >=x11-libs/gtk+-3.11:3[wayland] )
amd64? ( >=dev-lang/yasm-1.1 virtual/opengl )

diff --git a/www-client/firefox/firefox-69.0.2.ebuild 
b/www-client/firefox/firefox-69.0.2.ebuild
index c221342b1f9..98fb419fd60 100644
--- a/www-client/firefox/firefox-69.0.2.ebuild
+++ b/www-client/firefox/firefox-69.0.2.ebuild
@@ -165,7 +165,6 @@ DEPEND="${CDEPEND}
)
)
pulseaudio? ( media-sound/pulseaudio )
-   >=virtual/cargo-1.35.0
>=virtual/rust-1.35.0
wayland? ( >=x11-libs/gtk+-3.11:3[wayland] )
amd64? ( >=dev-lang/yasm-1.1 virtual/opengl )



[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/, eclass/

2019-03-17 Thread Thomas Deutschmann
commit: 5456cc63ca98978657246de6dd595efe7889736a
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Mar 17 22:17:44 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Mar 17 22:19:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5456cc63

www-client/firefox: USE=system-libevent requires dev-libs/libevent[threads]

Closes: https://bugs.gentoo.org/680638
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

 eclass/mozconfig-v6.60.eclass  | 2 +-
 www-client/firefox/firefox-65.0.2.ebuild   | 2 +-
 www-client/firefox/firefox-66.0_rc3.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/eclass/mozconfig-v6.60.eclass b/eclass/mozconfig-v6.60.eclass
index 5dfe34dcef1..89c4a71fb10 100644
--- a/eclass/mozconfig-v6.60.eclass
+++ b/eclass/mozconfig-v6.60.eclass
@@ -112,7 +112,7 @@ RDEPEND=">=app-text/hunspell-1.5.4:=
x11-libs/libXt
system-icu? ( >=dev-libs/icu-59.1:= )
system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
-   system-libevent? ( >=dev-libs/libevent-2.0:0= )
+   system-libevent? ( >=dev-libs/libevent-2.0:0=[threads] )
system-sqlite? ( >=dev-db/sqlite-3.23.1:3[secure-delete,debug=] )
system-libvpx? (
>=media-libs/libvpx-1.5.0:0=[postproc]

diff --git a/www-client/firefox/firefox-65.0.2.ebuild 
b/www-client/firefox/firefox-65.0.2.ebuild
index e376a6a307f..e63fa5bcdcd 100644
--- a/www-client/firefox/firefox-65.0.2.ebuild
+++ b/www-client/firefox/firefox-65.0.2.ebuild
@@ -90,7 +90,7 @@ CDEPEND="
system-harfbuzz? ( >=media-libs/harfbuzz-1.4.2:0= 
>=media-gfx/graphite2-1.3.9-r1 )
system-icu? ( >=dev-libs/icu-60.2:= )
system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
-   system-libevent? ( >=dev-libs/libevent-2.0:0= )
+   system-libevent? ( >=dev-libs/libevent-2.0:0=[threads] )
system-libvpx? (
>=media-libs/libvpx-1.7.0:0=[postproc]

[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/, eclass/

2019-03-12 Thread Thomas Deutschmann
commit: 6ba82e218f0136275cfbdab272f51b734c778665
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Mar 13 01:52:51 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Mar 13 01:56:50 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ba82e21

www-client/firefox: drop LLVM slot 4 & 5

 gentoo.org>

 eclass/mozconfig-v6.60.eclass | 16 
 www-client/firefox/firefox-65.0.2.ebuild  | 18 --
 www-client/firefox/firefox-66.0_beta14.ebuild | 18 --
 3 files changed, 52 deletions(-)

diff --git a/eclass/mozconfig-v6.60.eclass b/eclass/mozconfig-v6.60.eclass
index 821e63b1e41..5dfe34dcef1 100644
--- a/eclass/mozconfig-v6.60.eclass
+++ b/eclass/mozconfig-v6.60.eclass
@@ -183,22 +183,6 @@ DEPEND="app-arch/zip
sys-devel/llvm:6[gold]
)
)
-   (
-   sys-devel/clang:5
-   !clang? ( sys-devel/llvm:5 )
-   clang? (
-   =sys-devel/lld-5*
-   sys-devel/llvm:5[gold]
-   )
-   )
-   (
-   sys-devel/clang:4
-   !clang? ( sys-devel/llvm:4 )
-   clang? (
-   =sys-devel/lld-4*
-   sys-devel/llvm:4[gold]
-   )
-   )
)
pulseaudio? ( media-sound/pulseaudio )
elibc_glibc? (

diff --git a/www-client/firefox/firefox-65.0.2.ebuild 
b/www-client/firefox/firefox-65.0.2.ebuild
index 8c9fe12..cca1d1d0101 100644
--- a/www-client/firefox/firefox-65.0.2.ebuild
+++ b/www-client/firefox/firefox-65.0.2.ebuild
@@ -144,24 +144,6 @@ DEPEND="${CDEPEND}
pgo? ( 
=sys-libs/compiler-rt-sanitizers-6*[profile] )
)
)
-   (
-   sys-devel/clang:5
-   !clang? ( sys-devel/llvm:5 )
-   clang? (
-   =sys-devel/lld-5*
-   sys-devel/llvm:5[gold]
-   pgo? ( 
=sys-libs/compiler-rt-sanitizers-5*[profile] )
-   )
-   )
-   (
-   sys-devel/clang:4
-   !clang? ( sys-devel/llvm:4 )
-   clang? (
-   =sys-devel/lld-4*
-   sys-devel/llvm:4[gold]
-   pgo? ( 
=sys-libs/compiler-rt-sanitizers-4*[profile] )
-   )
-   )
)
pulseaudio? ( media-sound/pulseaudio )
>=virtual/cargo-1.30.0

diff --git a/www-client/firefox/firefox-66.0_beta14.ebuild 
b/www-client/firefox/firefox-66.0_beta14.ebuild
index 27861531604..1e639816710 100644
--- a/www-client/firefox/firefox-66.0_beta14.ebuild
+++ b/www-client/firefox/firefox-66.0_beta14.ebuild
@@ -145,24 +145,6 @@ DEPEND="${CDEPEND}
pgo? ( 
=sys-libs/compiler-rt-sanitizers-6*[profile] )
)
)
-   (
-   sys-devel/clang:5
-   !clang? ( sys-devel/llvm:5 )
-   clang? (
-   =sys-devel/lld-5*
-   sys-devel/llvm:5[gold]
-   pgo? ( 
=sys-libs/compiler-rt-sanitizers-5*[profile] )
-   )
-   )
-   (
-   sys-devel/clang:4
-   !clang? ( sys-devel/llvm:4 )
-   clang? (
-   =sys-devel/lld-4*
-   sys-devel/llvm:4[gold]
-   pgo? ( 
=sys-libs/compiler-rt-sanitizers-4*[profile] )
-   )
-   )
)
pulseaudio? ( media-sound/pulseaudio )
>=virtual/cargo-1.30.0



[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/, eclass/

2019-03-09 Thread Thomas Deutschmann
commit: 29a1852e1e8c5802ed2e31000321bbea313e4ac2
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sat Mar  9 20:59:38 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Mar  9 21:02:39 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29a1852e

www-client/firefox: reorder LVM deps to start from best

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

 eclass/mozconfig-v6.60.eclass| 32 
 www-client/firefox/firefox-60.5.2.ebuild |  2 ++
 www-client/firefox/firefox-65.0.2.ebuild | 42 +---
 3 files changed, 40 insertions(+), 36 deletions(-)

diff --git a/eclass/mozconfig-v6.60.eclass b/eclass/mozconfig-v6.60.eclass
index 0cd728743e4..821e63b1e41 100644
--- a/eclass/mozconfig-v6.60.eclass
+++ b/eclass/mozconfig-v6.60.eclass
@@ -160,19 +160,19 @@ DEPEND="app-arch/zip
sys-apps/findutils
|| (
(
-   sys-devel/clang:4
-   !clang? ( sys-devel/llvm:4 )
+   sys-devel/clang:8
+   !clang? ( sys-devel/llvm:8 )
clang? (
-   =sys-devel/lld-4*
-   sys-devel/llvm:4[gold]
+   =sys-devel/lld-8*
+   sys-devel/llvm:8[gold]
)
)
(
-   sys-devel/clang:5
-   !clang? ( sys-devel/llvm:5 )
+   sys-devel/clang:7
+   !clang? ( sys-devel/llvm:7 )
clang? (
-   =sys-devel/lld-5*
-   sys-devel/llvm:5[gold]
+   =sys-devel/lld-7*
+   sys-devel/llvm:7[gold]
)
)
(
@@ -184,19 +184,19 @@ DEPEND="app-arch/zip
)
)
(
-   sys-devel/clang:7
-   !clang? ( sys-devel/llvm:7 )
+   sys-devel/clang:5
+   !clang? ( sys-devel/llvm:5 )
clang? (
-   =sys-devel/lld-7*
-   sys-devel/llvm:7[gold]
+   =sys-devel/lld-5*
+   sys-devel/llvm:5[gold]
)
)
(
-   sys-devel/clang:8
-   !clang? ( sys-devel/llvm:8 )
+   sys-devel/clang:4
+   !clang? ( sys-devel/llvm:4 )
clang? (
-   =sys-devel/lld-8*
-   sys-devel/llvm:8[gold]
+   =sys-devel/lld-4*
+   sys-devel/llvm:4[gold]
)
)
)

diff --git a/www-client/firefox/firefox-60.5.2.ebuild 
b/www-client/firefox/firefox-60.5.2.ebuild
index a96c670e53e..0b8b37bfe42 100644
--- a/www-client/firefox/firefox-60.5.2.ebuild
+++ b/www-client/firefox/firefox-60.5.2.ebuild
@@ -32,6 +32,8 @@ MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/releases;
 
 MOZCONFIG_OPTIONAL_WIFI=1
 
+LLVM_MAX_SLOT=8
+
 inherit check-reqs flag-o-matic toolchain-funcs eutils gnome2-utils llvm \
mozconfig-v6.60 pax-utils xdg-utils autotools mozlinguas-v2
 

diff --git a/www-client/firefox/firefox-65.0.2.ebuild 
b/www-client/firefox/firefox-65.0.2.ebuild
index df3ae98aab1..8c9fe12 100644
--- a/www-client/firefox/firefox-65.0.2.ebuild
+++ b/www-client/firefox/firefox-65.0.2.ebuild
@@ -30,6 +30,8 @@ fi
 PATCH="${PN}-65.0-patches-04"
 MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/releases;
 
+LLVM_MAX_SLOT=8
+
 inherit check-reqs eapi7-ver flag-o-matic toolchain-funcs eutils \
gnome2-utils llvm mozcoreconf-v6 pax-utils xdg-utils \
autotools mozlinguas-v2 virtualx
@@ -116,21 +118,21 @@ DEPEND="${CDEPEND}
sys-apps/findutils
|| (
(
-   sys-devel/clang:4
-   !clang? ( sys-devel/llvm:4 )
+   sys-devel/clang:8
+   !clang? ( sys-devel/llvm:8 )
clang? (
-   =sys-devel/lld-4*
-   sys-devel/llvm:4[gold]
-   pgo? ( 
=sys-libs/compiler-rt-sanitizers-4*[profile] )
+   =sys-devel/lld-8*
+   sys-devel/llvm:8[gold]
+   pgo? ( 
=sys-libs/compiler-rt-sanitizers-8*[profile] )
)
)
(
-   sys-devel/clang:5
-   !clang? ( 

[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/, eclass/

2019-03-08 Thread Thomas Deutschmann
commit: 318ff399443822e95b101f30dcf85b34856b78b9
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Mar  8 22:26:11 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Mar  8 22:49:56 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=318ff399

www-client/firefox: ensure that LLVM deps are in sync with used LLVM slot

Bug: https://bugs.gentoo.org/678098
Bug: https://bugs.gentoo.org/679598
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

 eclass/mozconfig-v6.60.eclass| 44 +--
 www-client/firefox/firefox-60.5.2.ebuild | 16 +--
 www-client/firefox/firefox-65.0.2.ebuild | 73 +---
 3 files changed, 120 insertions(+), 13 deletions(-)

diff --git a/eclass/mozconfig-v6.60.eclass b/eclass/mozconfig-v6.60.eclass
index 059ec55f2ca..0cd728743e4 100644
--- a/eclass/mozconfig-v6.60.eclass
+++ b/eclass/mozconfig-v6.60.eclass
@@ -158,9 +158,47 @@ DEPEND="app-arch/zip
app-arch/unzip
>=sys-devel/binutils-2.30
sys-apps/findutils
-   clang? (
-   >=sys-devel/llvm-4.0.1[gold]
-   >=sys-devel/lld-4.0.1
+   || (
+   (
+   sys-devel/clang:4
+   !clang? ( sys-devel/llvm:4 )
+   clang? (
+   =sys-devel/lld-4*
+   sys-devel/llvm:4[gold]
+   )
+   )
+   (
+   sys-devel/clang:5
+   !clang? ( sys-devel/llvm:5 )
+   clang? (
+   =sys-devel/lld-5*
+   sys-devel/llvm:5[gold]
+   )
+   )
+   (
+   sys-devel/clang:6
+   !clang? ( sys-devel/llvm:6 )
+   clang? (
+   =sys-devel/lld-6*
+   sys-devel/llvm:6[gold]
+   )
+   )
+   (
+   sys-devel/clang:7
+   !clang? ( sys-devel/llvm:7 )
+   clang? (
+   =sys-devel/lld-7*
+   sys-devel/llvm:7[gold]
+   )
+   )
+   (
+   sys-devel/clang:8
+   !clang? ( sys-devel/llvm:8 )
+   clang? (
+   =sys-devel/lld-8*
+   sys-devel/llvm:8[gold]
+   )
+   )
)
pulseaudio? ( media-sound/pulseaudio )
elibc_glibc? (

diff --git a/www-client/firefox/firefox-60.5.2.ebuild 
b/www-client/firefox/firefox-60.5.2.ebuild
index ec418bbfeee..a96c670e53e 100644
--- a/www-client/firefox/firefox-60.5.2.ebuild
+++ b/www-client/firefox/firefox-60.5.2.ebuild
@@ -63,8 +63,6 @@ RDEPEND="
selinux? ( sec-policy/selinux-mozilla )"
 
 DEPEND="${RDEPEND}
-   >=sys-devel/llvm-4.0.1
-   >=sys-devel/clang-4.0.1
amd64? ( ${ASM_DEPEND} virtual/opengl )
x86? ( ${ASM_DEPEND} virtual/opengl )"
 
@@ -81,7 +79,19 @@ if [[ -z $GMP_PLUGIN_LIST ]]; then
 fi
 
 llvm_check_deps() {
-   has_version "sys-devel/clang:${LLVM_SLOT}"
+   if ! has_version "sys-devel/clang:${LLVM_SLOT}" ; then
+   ewarn "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM 
slot ${LLVM_SLOT} ..."
+   return 1
+   fi
+
+   if use clang ; then
+   if ! has_version "=sys-devel/lld-${LLVM_SLOT}*" ; then
+   ewarn "=sys-devel/lld-${LLVM_SLOT}* is missing! Cannot 
use LLVM slot ${LLVM_SLOT} ..."
+   return 1
+   fi
+   fi
+
+   einfo "Will use LLVM slot ${LLVM_SLOT}!"
 }
 
 pkg_setup() {

diff --git a/www-client/firefox/firefox-65.0.2.ebuild 
b/www-client/firefox/firefox-65.0.2.ebuild
index 5d08b2b8a5b..b869ca7f95a 100644
--- a/www-client/firefox/firefox-65.0.2.ebuild
+++ b/www-client/firefox/firefox-65.0.2.ebuild
@@ -114,12 +114,52 @@ DEPEND="${CDEPEND}
>=net-libs/nodejs-8.11.0
>=sys-devel/binutils-2.30
sys-apps/findutils
-   >=sys-devel/llvm-4.0.1
-   >=sys-devel/clang-4.0.1
-   clang? (
-   >=sys-devel/llvm-4.0.1[gold]
-   >=sys-devel/lld-4.0.1
-   pgo? ( >=sys-libs/compiler-rt-sanitizers-4.0.1[profile] )
+   || (
+   (
+   sys-devel/clang:4
+   !clang? ( sys-devel/llvm:4 )
+   clang? (
+   =sys-devel/lld-4*
+   sys-devel/llvm:4[gold]
+   pgo? ( 
=sys-libs/compiler-rt-sanitizers-4*[profile] )
+   )
+   )
+   (
+   

[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/, eclass/

2018-09-27 Thread Thomas Deutschmann
commit: ef551905fbbf1b48750db051bc14fc9b80ca1b7f
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Sep 27 20:27:01 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Sep 27 20:28:19 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef551905

www-client/firefox: make hard- and softfloat distinguishable

Reported-by: stefson  yahoo.de>
Signed-off-by: Thomas Deutschmann  gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

 eclass/mozconfig-v6.60.eclass| 2 +-
 www-client/firefox/firefox-62.0.2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/mozconfig-v6.60.eclass b/eclass/mozconfig-v6.60.eclass
index a804ac77512..bde4203e688 100644
--- a/eclass/mozconfig-v6.60.eclass
+++ b/eclass/mozconfig-v6.60.eclass
@@ -345,7 +345,7 @@ mozconfig_config() {
mozconfig_annotate '' --with-thumb-interwork=no
fi
fi
-   if [[ ${CHOST} == armv* ]] ; then
+   if [[ ${CHOST} == armv*h* ]] ; then
mozconfig_annotate '' --with-float-abi=hard
if ! use system-libvpx ; then
sed -i -e "s|softfp|hard|" \

diff --git a/www-client/firefox/firefox-62.0.2.ebuild 
b/www-client/firefox/firefox-62.0.2.ebuild
index 68e3ed1ea93..5bfc9143834 100644
--- a/www-client/firefox/firefox-62.0.2.ebuild
+++ b/www-client/firefox/firefox-62.0.2.ebuild
@@ -330,7 +330,7 @@ src_configure() {
mozconfig_annotate '' --with-thumb-interwork=no
fi
fi
-   if [[ ${CHOST} == armv* ]] ; then
+   if [[ ${CHOST} == armv*h* ]] ; then
mozconfig_annotate '' --with-float-abi=hard
if ! use system-libvpx ; then
sed -i -e "s|softfp|hard|" \



[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/, eclass/

2018-01-28 Thread Ian Stakenvicius
commit: ab6c61a91b1e2d945cd9def0f9b9f2976a366efd
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Mon Jan 29 05:17:09 2018 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Mon Jan 29 05:21:48 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab6c61a9

www-client/firefox: bump to 58.0

Apulse users may have issues with sound support; pulseaudio and alsa seem solid 
however.

Bug: http://bugs.gentoo.org/645494
Package-Manager: Portage-2.3.13, Repoman-2.3.3

 eclass/mozconfig-v6.58.eclass  | 394 +
 www-client/firefox/Manifest| 186 +-
 .../{firefox-57.0.4.ebuild => firefox-58.0.ebuild} |  87 ++---
 3 files changed, 510 insertions(+), 157 deletions(-)

diff --git a/eclass/mozconfig-v6.58.eclass b/eclass/mozconfig-v6.58.eclass
new file mode 100644
index 000..c3d5bc5e3ca
--- /dev/null
+++ b/eclass/mozconfig-v6.58.eclass
@@ -0,0 +1,394 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+#
+# @ECLASS: mozconfig-v6.57.eclass
+# @MAINTAINER:
+# mozilla team 
+# @BLURB: the new mozilla common configuration eclass for FF33 and newer, v6
+# @DESCRIPTION:
+# This eclass is used in mozilla ebuilds (firefox, thunderbird, seamonkey)
+# to provide a single common place for the common mozilla engine compoments.
+#
+# The eclass provides all common dependencies as well as common use flags.
+#
+# Some use flags which may be optional in particular mozilla packages can be
+# supported through setting eclass variables.
+#
+# This eclass inherits mozconfig helper functions as defined in mozcoreconf-v3,
+# and so ebuilds inheriting this eclass do not need to inherit that.
+
+case ${EAPI} in
+   0|1|2|3|4)
+   die "EAPI=${EAPI} not supported"
+   ;;
+   5)
+   inherit multilib
+   ;;
+esac
+
+inherit flag-o-matic toolchain-funcs mozcoreconf-v5
+
+# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_WIFI
+# @DESCRIPTION:
+# Set this variable before the inherit line, when an ebuild needs to provide
+# optional necko-wifi support via IUSE="wifi".  Currently this would include
+# ebuilds for firefox, and potentially seamonkey.
+#
+# Leave the variable UNSET if necko-wifi support should not be available.
+# Set the variable to "enabled" if the use flag should be enabled by default.
+# Set the variable to any value if the use flag should exist but not be 
default-enabled.
+
+# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_JIT
+# @DESCRIPTION:
+# Set this variable before the inherit line, when an ebuild needs to provide
+# deterministic jit support via IUSE="jit".  The upstream default will be used
+# otherwise, which is generally to enable jit unless support for the platform
+# is missing.
+#
+# Set the variable to "enabled" if the use flag should be enabled by default.
+# Set the variable to any value if the use flag should exist but not be 
default-enabled.
+
+# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_GTK3
+# @DESCRIPTION:
+# Set this variable before the inherit line, when an ebuild can provide
+# optional gtk3 support via IUSE="force-gtk3".  Currently this would include
+# thunderbird and seamonkey in the future, once support is ready for testing.
+#
+# Leave the variable UNSET if gtk3 support should not be optionally available.
+# Set the variable to "enabled" if the use flag should be enabled by default.
+# Set the variable to any value if the use flag should exist but not be 
default-enabled.
+# If gtk+:3 is to be the standard toolkit, do not use this and instead use
+# MOZCONFIG_OPTIONAL_GTK2ONLY.
+
+# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_GTK2ONLY
+# @DESCRIPTION:
+# Set this variable before the inherit line, when an ebuild can provide
+# optional gtk2-only support via IUSE="gtk2".
+#
+# Note that this option conflicts directly with MOZCONFIG_OPTIONAL_GTK3, both
+# variables cannot be set at the same time and this variable will be ignored if
+# MOZCONFIG_OPTIONAL_GTK3 is set.
+#
+# Leave the variable UNSET if gtk2-only support should not be available.
+# Set the variable to "enabled" if the use flag should be enabled by default.
+# Set the variable to any value if the use flag should exist but not be 
default-enabled.
+
+# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_QT5
+# @DESCRIPTION:
+# Set this variable before the inherit line, when an ebuild can provide
+# optional qt5 support via IUSE="qt5".  Currently this would include
+# ebuilds for firefox, but thunderbird and seamonkey could follow in the 
future.
+#
+# Leave the variable UNSET if qt5 support should not be available.
+# Set the variable to "enabled" if the use flag should be enabled by default.
+# Set the variable to any value if the use flag should exist but not be 
default-enabled.
+
+# use-flags common among all mozilla ebuilds
+IUSE="${IUSE} dbus debug neon pulseaudio selinux startup-notification 
system-harfbuzz
+ system-icu system-jpeg 

[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/, eclass/

2016-09-21 Thread Ian Stakenvicius
commit: 34ceb9546b5bf9068565db8cbed4d51adaf2be3a
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Wed Sep 21 14:41:04 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Wed Sep 21 19:12:34 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34ceb954

www-client/firefox: version bump to 49.0, security bug 594616

Package-Manager: portage-2.2.28

 ...zconfig-v6.48.eclass => mozconfig-v6.49.eclass} |  13 +-
 www-client/firefox/Manifest| 174 ++---
 .../{firefox-48.0.1.ebuild => firefox-49.0.ebuild} |  12 +-
 3 files changed, 96 insertions(+), 103 deletions(-)

diff --git a/eclass/mozconfig-v6.48.eclass b/eclass/mozconfig-v6.49.eclass
similarity index 97%
rename from eclass/mozconfig-v6.48.eclass
rename to eclass/mozconfig-v6.49.eclass
index 17b41b9..5fa9db6 100644
--- a/eclass/mozconfig-v6.48.eclass
+++ b/eclass/mozconfig-v6.49.eclass
@@ -83,7 +83,7 @@ inherit flag-o-matic toolchain-funcs mozcoreconf-v4
 # Set the variable to any value if the use flag should exist but not be 
default-enabled.
 
 # use-flags common among all mozilla ebuilds
-IUSE="${IUSE} dbus debug +jemalloc3 neon pulseaudio selinux +skia 
startup-notification system-cairo
+IUSE="${IUSE} dbus debug +jemalloc neon pulseaudio selinux +skia 
startup-notification system-cairo
system-harfbuzz system-icu system-jpeg system-libevent system-sqlite 
system-libvpx"
 
 # some notes on deps:
@@ -119,10 +119,10 @@ RDEPEND=">=app-text/hunspell-1.2
x11-libs/libXrender
x11-libs/libXt
system-cairo? ( >=x11-libs/cairo-1.12[X,xcb] >=x11-libs/pixman-0.19.2 )
-   system-icu? ( >=dev-libs/icu-51.1:= )
+   system-icu? ( >=dev-libs/icu-56.1:= )
system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
system-libevent? ( =dev-libs/libevent-2.0*:0= )
-   system-sqlite? ( >=dev-db/sqlite-3.12.2:3[secure-delete,debug=] )
+   system-sqlite? ( >=dev-db/sqlite-3.13.0:3[secure-delete,debug=] )
system-libvpx? ( >=media-libs/libvpx-1.5.0:0=[postproc] )
system-harfbuzz? ( >=media-libs/harfbuzz-1.2.6:0=[graphite,icu] 
>=media-gfx/graphite2-1.3.8 )
 "
@@ -319,10 +319,9 @@ mozconfig_config() {
 
# Use jemalloc unless libc is not glibc >= 2.4
# at this time the minimum glibc in the tree is 2.9 so we should be 
safe.
-   if use elibc_glibc && use jemalloc3; then
-   # We must force-enable jemalloc 3 via .mozconfig
-   echo "export MOZ_JEMALLOC3=1" >> "${S}"/.mozconfig || die
-   mozconfig_annotate '' --enable-jemalloc
+   if use elibc_glibc && use jemalloc; then
+   # We must force-enable jemalloc 4 via .mozconfig
+   echo "export MOZ_JEMALLOC4=1" >> "${S}"/.mozconfig || die
mozconfig_annotate '' --enable-replace-malloc
fi
 

diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index bc99ac2..5c66e9d 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -166,90 +166,90 @@ DIST firefox-45.3.0esr-xh.xpi 432918 SHA256 
2bd00cf16339926c24217901196cd4135cf6
 DIST firefox-45.3.0esr-zh-CN.xpi 475797 SHA256 
89cb03bd98b25a8f2a3468ac509a1cd5a893a74ec62b5cd436fe0e9e2f105333 SHA512 
4c5a3d210ffda1c96d4a15fdb0de7d20ac72261b254c6fdc2fc68ced307b62b755cf96d462a3b3ce4ecbd377428aea9514ae6b7d9ae94afbfa97b2a31f1d2368
 WHIRLPOOL 
c690ff40ba372b0ad4e2de7b73897461190c39fd0f8414c65e6329c1d2f7111333b19cca638ac6873472fb760302505829b2706d88399428e30e3b5f58a3a894
 DIST firefox-45.3.0esr-zh-TW.xpi 466529 SHA256 
811561b65046f345531d95854c028ed345e99f57c919efeee887ef4fb9dee79f SHA512 
cac89f9a36e59cfe174af5d1ed2eabd419fcd80581df4af15d4045deb619ea00f1a3dfe08305268f7e97ee6e8f52ad109f84f86cd06e26bb7ac886dfe5e347b8
 WHIRLPOOL 
b0c053899dc5430416fd90a2e57889cbf14673ba83d17984f48c09aac66250c3fe8b065ac75ea94097f641ca06e76b97bf83331cf5b37ffb45c6f2d702fcfb57
 DIST firefox-45.3.0esr.source.tar.xz 185330580 SHA256 
922233c65c0aabd05371974c289495119c28d72fc7f8b06a22b58c5f70f8b8f7 SHA512 
ee618aec579625122c3e511a7ac83ac4db9718f5695b6fe6250717602178bae9bb7e5ebe8764f4d33ecf44d3db13abfed0d24c1ec71e64a1087fb6d5a579b0c0
 WHIRLPOOL 
aeb4e5888466e2ec5f142c0ff7b70e231860d144d613490064462c790810dfbd58928752621c70922834a83cea0e70beb6c4828e2c4c05e846d51d11d18f4d2c
-DIST firefox-48.0-patches-01.tar.xz 16080 SHA256 
d55daad02d60d8f1bd5ba63fdf46cf4ae25f908f7386f8b4d8a6ec0d5042d3f3 SHA512 
b213a726dfa15cd479be00e66e9266fc1fe329d178c9d371ee0d526818127991e0a619fb48a978f159d39ef6152e9f43051c05710ceb437f64868775725409df
 WHIRLPOOL 
c785d2ae55bdd643255de22738ff817fd0a9451480691cb718eef776e3afc3b234f6be1e009844a1ab2a26f57ea1d32d8141033140ab7deb80aa651bdbba1005
-DIST firefox-48.0.1-ach.xpi 433613 SHA256 
449d5fe2c123bad7af5e58efd53c15c897ce750740105c44ed3f16afbe3509bd SHA512 
b787fedf6ab5989c9c7abd0839fd63cc8529d70f9ab71714222f0032320cb8923176dc98ea6b3672b34cd423dafb6bff7bba05a33b1602ef5b6d481e106b94e9
 WHIRLPOOL 

[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/, eclass/

2016-08-04 Thread Ian Stakenvicius
commit: 66126cdffdddb9c8997b03b67d808767425e
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Thu Aug  4 13:46:39 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Thu Aug  4 13:47:18 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66126cdf

www-client/firefox-48.0: fix dependencies

Bug: http://bugs.gentoo.org/590424
Bug: http://bugs.gentoo.org/590426

Package-Manager: portage-2.2.28

 eclass/mozconfig-v6.48.eclass  | 2 +-
 www-client/firefox/firefox-48.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/mozconfig-v6.48.eclass b/eclass/mozconfig-v6.48.eclass
index 841fd48..e2d8934 100644
--- a/eclass/mozconfig-v6.48.eclass
+++ b/eclass/mozconfig-v6.48.eclass
@@ -122,7 +122,7 @@ RDEPEND=">=app-text/hunspell-1.2
system-icu? ( >=dev-libs/icu-51.1:= )
system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
system-libevent? ( =dev-libs/libevent-2.0*:0= )
-   system-sqlite? ( >=dev-db/sqlite-3.11.0:3[secure-delete,debug=] )
+   system-sqlite? ( >=dev-db/sqlite-3.12.2:3[secure-delete,debug=] )
system-libvpx? ( >=media-libs/libvpx-1.5.0:0=[postproc] )
system-harfbuzz? ( >=media-libs/harfbuzz-1.2.6:0=[graphite,icu] 
>=media-gfx/graphite2-1.3.8 )
 "

diff --git a/www-client/firefox/firefox-48.0.ebuild 
b/www-client/firefox/firefox-48.0.ebuild
index 5a6e3cf..9a6344c 100644
--- a/www-client/firefox/firefox-48.0.ebuild
+++ b/www-client/firefox/firefox-48.0.ebuild
@@ -54,7 +54,7 @@ SRC_URI="${SRC_URI}
 ASM_DEPEND=">=dev-lang/yasm-1.1"
 
 RDEPEND="
-   >=dev-libs/nss-3.23
+   >=dev-libs/nss-3.24
>=dev-libs/nspr-4.12
selinux? ( sec-policy/selinux-mozilla )"
 



[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/, eclass/

2016-07-06 Thread Ian Stakenvicius
commit: b5417f70dc4ad66b907c42a914a3b42211624f79
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Wed Jul  6 14:30:40 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Wed Jul  6 21:24:54 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5417f70

www-client/firefox: migrate LINGUAS to L10N

Bug: http://bugs.gentoo.org/587334

Package-Manager: portage-2.2.28

 eclass/mozlinguas-v2.eclass| 370 +
 www-client/firefox/firefox-47.0.ebuild |   2 +-
 2 files changed, 371 insertions(+), 1 deletion(-)

diff --git a/eclass/mozlinguas-v2.eclass b/eclass/mozlinguas-v2.eclass
new file mode 100644
index 000..4facb58
--- /dev/null
+++ b/eclass/mozlinguas-v2.eclass
@@ -0,0 +1,370 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# @ECLASS: mozlinguas-v2.eclass
+# @MAINTAINER:
+# mozi...@gentoo.org
+# @AUTHOR:
+# Nirbheek Chauhan 
+# Ian Stakenvicius 
+# @BLURB: Handle language packs for mozilla products
+# @DESCRIPTION:
+# Sets IUSE according to MOZ_LANGS (language packs available). Also exports
+# src_unpack, src_compile and src_install for use in ebuilds, and provides
+# supporting functions for langpack generation and installation.
+
+inherit mozextension
+
+case "${EAPI:-0}" in
+   0|1)
+   die "EAPI ${EAPI:-0} does not support the '->' SRC_URI 
operator";;
+   2|3|4|5|6)
+   EXPORT_FUNCTIONS src_unpack src_compile src_install;;
+   *)
+   die "EAPI ${EAPI} is not supported, contact eclass 
maintainers";;
+esac
+
+# @ECLASS-VARIABLE: MOZ_LANGS
+# @DESCRIPTION:
+# Array containing the list of language pack xpis available for
+# this release. The list can be updated with scripts/get_langs.sh from the
+# mozilla overlay.
+: ${MOZ_LANGS:=()}
+
+# @ECLASS-VARIABLE: MOZ_PV
+# @DESCRIPTION:
+# Ebuild package version converted to equivalent upstream version.
+# Defaults to ${PV}, and should be overridden for alphas, betas, and RCs
+: ${MOZ_PV:="${PV}"}
+
+# @ECLASS-VARIABLE: MOZ_PN
+# @DESCRIPTION:
+# Ebuild package name converted to equivalent upstream name.
+# Defaults to ${PN}, and should be overridden for binary ebuilds.
+: ${MOZ_PN:="${PN}"}
+
+# @ECLASS-VARIABLE: MOZ_P
+# @DESCRIPTION:
+# Ebuild package name + version converted to upstream equivalent.
+# Defaults to ${MOZ_PN}-${MOZ_PV}
+: ${MOZ_P:="${MOZ_PN}-${MOZ_PV}"}
+
+# @ECLASS-VARIABLE: MOZ_FTP_URI
+# @DESCRIPTION:
+# The ftp URI prefix for the release tarballs and language packs.
+: ${MOZ_FTP_URI:=""}
+
+# @ECLASS-VARIABLE: MOZ_HTTP_URI
+# @DESCRIPTION:
+# The http URI prefix for the release tarballs and language packs.
+: ${MOZ_HTTP_URI:=""}
+
+# @ECLASS-VARIABLE: MOZ_LANGPACK_PREFIX
+# @DESCRIPTION:
+# The relative path till the lang code in the langpack file URI.
+# Defaults to ${MOZ_PV}/linux-i686/xpi/
+: ${MOZ_LANGPACK_PREFIX:="${MOZ_PV}/linux-i686/xpi/"}
+
+# @ECLASS-VARIABLE: MOZ_LANGPACK_SUFFIX
+# @DESCRIPTION:
+# The suffix after the lang code in the langpack file URI.
+# Defaults to '.xpi'
+: ${MOZ_LANGPACK_SUFFIX:=".xpi"}
+
+# @ECLASS-VARIABLE: MOZ_LANGPACK_UNOFFICIAL
+# @DESCRIPTION:
+# The status of the langpack, used to differentiate within
+# Manifests and on Gentoo mirrors as to when the langpacks are
+# generated officially by Mozilla or if they were generated
+# unofficially by others (ie the Gentoo mozilla team).  When
+# this var is set, the distfile will have a .unofficial.xpi
+# suffix.
+: ${MOZ_LANGPACK_UNOFFICIAL:=""}
+
+# @ECLASS-VARIABLE: MOZ_GENERATE_LANGPACKS
+# @DESCRIPTION:
+# This flag specifies whether or not the langpacks should be
+# generated directly during the build process, rather than
+# being downloaded and installed from upstream pre-built
+# extensions.  Primarily it supports pre-release builds.
+# Defaults to empty.
+: ${MOZ_GENERATE_LANGPACKS:=""}
+
+# @ECLASS-VARIABLE: MOZ_L10N_SOURCEDIR
+# @DESCRIPTION:
+# The path that l10n sources can be found at, once unpacked.
+# Defaults to ${WORKDIR}/l10n-sources
+: ${MOZ_L10N_SOURCEDIR:="${WORKDIR}/l10n-sources"}
+
+# @ECLASS-VARIABLE: MOZ_L10N_URI_PREFIX
+# @DESCRIPTION:
+# The full URI prefix of the distfile for each l10n locale.  The
+# AB_CD and MOZ_L10N_URI_SUFFIX will be appended to this to complete the
+# SRC_URI when MOZ_GENERATE_LANGPACKS is set.  If empty, nothing will
+# be added to SRC_URI.
+# Defaults to empty.
+: ${MOZ_L10N_URI_PREFIX:=""}
+
+# @ECLASS-VARIABLE: MOZ_L10N_URI_SUFFIX
+# @DESCRIPTION:
+# The suffix of l10n source distfiles.
+# Defaults to '.tar.xz'
+: ${MOZ_L10N_URI_SUFFIX:=".tar.xz"}
+
+# @ECLASS-VARIABLE: MOZ_FORCE_UPSTREAM_L10N
+# @DESCRIPTION:
+# Set this to use upstream langpaks even if the package normally
+# shouldn't (ie it is an alpha or beta package)
+: ${MOZ_FORCE_UPSTREAM_L10N:=""}
+
+
+# @ECLASS-VARIABLE: MOZ_TOO_REGIONALIZED_FOR_L10N
+# @INTERNAL
+# @DESCRIPTION:
+# Upstream 

[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/, eclass/, www-client/firefox/files/, ...

2016-04-28 Thread Ian Stakenvicius
commit: 0bf6849a85f20f8815d870dd28b708dff06ec2ed
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Thu Apr 28 17:22:31 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Thu Apr 28 18:12:28 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bf6849a

firefox-45, thunderbird-45: support system harfbuzz and graphite2

This commit introduces changes to mozconfig-v6.45.eclass and related changes
to the existing mail-client/thunderbird-45.0 and the new version bump
www-client/firefox-45.1.0 to support using system copies of media-libs/harfbuzz
and media-gfx/graphite2 instead of the copies bundled inside of the mozilla
codebase.

www-client/firefox-45.1.0 was additionally bumped to support security bug 581326

Package-Manager: portage-2.2.26

 eclass/mozconfig-v6.45.eclass  |  64 +++-
 mail-client/thunderbird/Manifest   |   2 +-
 mail-client/thunderbird/metadata.xml   |   2 +
 mail-client/thunderbird/thunderbird-45.0.ebuild|   9 +-
 www-client/firefox/Manifest| 162 ++---
 ...arm64-4-link-chromium-mutex-based-atomics.patch |  59 
 .../arm64-5-mozjemalloc-no-static-page-sizes.patch |  22 +++
 ...firefox-45.0.1.ebuild => firefox-45.1.0.ebuild} |  28 ++--
 www-client/firefox/metadata.xml|   2 +
 9 files changed, 243 insertions(+), 107 deletions(-)

diff --git a/eclass/mozconfig-v6.45.eclass b/eclass/mozconfig-v6.45.eclass
index 1878b7a..7ff0f9d 100644
--- a/eclass/mozconfig-v6.45.eclass
+++ b/eclass/mozconfig-v6.45.eclass
@@ -23,7 +23,6 @@ case ${EAPI} in
die "EAPI=${EAPI} not supported"
;;
5)
-   # not needed for EAPI6 and above
inherit multilib
;;
 esac
@@ -72,7 +71,7 @@ inherit flag-o-matic toolchain-funcs mozcoreconf-v3
 
 # use-flags common among all mozilla ebuilds
 IUSE="${IUSE} dbus debug ffmpeg +gstreamer gstreamer-0 +jemalloc3 neon 
pulseaudio selinux startup-notification system-cairo
-   system-icu system-jpeg system-libevent system-sqlite system-libvpx"
+   system-harfbuzz system-icu system-jpeg system-libevent system-sqlite 
system-libvpx"
 
 # some notes on deps:
 # gtk:2 minimum is technically 2.10 but gio support (enabled by default) needs 
2.14
@@ -121,9 +120,18 @@ RDEPEND=">=app-text/hunspell-1.2
system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
system-libevent? ( =dev-libs/libevent-2.0*:0= )
system-sqlite? ( >=dev-db/sqlite-3.9.1:3[secure-delete,debug=] )
-   system-libvpx? ( >=media-libs/libvpx-1.3.0:0=[postproc] )
+   system-harfbuzz? ( >=media-libs/harfbuzz-1.1.3:0=[graphite,icu] 
>=media-gfx/graphite2-1.3.8 )
 "
 
+if [[ ${PV/45.0*/} == "" ]]; then
+   RDEPEND+="
+   system-libvpx? ( >=media-libs/libvpx-1.3.0:0=[postproc] )"
+else
+   # 45.1.0 and above bumped the libvpx requirement
+   RDEPEND+="
+   system-libvpx? ( >=media-libs/libvpx-1.5.0:0=[postproc] )"
+fi
+
 if [[ -n ${MOZCONFIG_OPTIONAL_GTK3} ]]; then
if [[ ${MOZCONFIG_OPTIONAL_GTK3} = "enabled" ]]; then
IUSE+=" +gtk3"
@@ -180,8 +188,11 @@ DEPEND="app-arch/zip
 RDEPEND+="
selinux? ( sec-policy/selinux-mozilla )"
 
-# only one of gstreamer and gstreamer-0 can be enabled at a time, so set 
REQUIRED_USE to signify this
-REQUIRED_USE="?? ( gstreamer gstreamer-0 )"
+# only one of gstreamer and gstreamer-0 can be enabled at a time, so set 
REQUIRED_USE to signify this.
+# also force system-icu if system-harfbuzz is set to avoid any potential ABI 
issues
+REQUIRED_USE="
+   ?? ( gstreamer gstreamer-0 )
+   system-harfbuzz? ( system-icu )"
 
 # only one of gtk3 or qt5 should be permitted to be selected, since only one 
will be used.
 [[ -n ${MOZCONFIG_OPTIONAL_GTK3} ]] && [[ -n ${MOZCONFIG_OPTIONAL_QT5} ]] && \
@@ -327,6 +338,8 @@ mozconfig_config() {
mozconfig_use_with system-jpeg
mozconfig_use_with system-icu
mozconfig_use_with system-libvpx
+   mozconfig_use_with system-harfbuzz
+   mozconfig_use_with system-harfbuzz system-graphite2
 
# Modifications to better support ARM, bug 553364
if use neon ; then
@@ -344,3 +357,44 @@ mozconfig_config() {
fi
fi
 }
+
+# @FUNCTION: mozconfig_install_prefs
+# @DESCRIPTION:
+# Set preferences into the prefs.js file specified as a parameter to
+# the function.  This sets both some common prefs to all mozilla
+# packages, and any prefs that may relate to the use flags administered
+# by mozconfig_config().
+#
+# Call this within src_install() phase, after copying the template
+# prefs file (if any) from ${FILESDIR}
+#
+# Example:
+#
+# inherit mozconfig-v6.46
+#
+# src_install() {
+#  cp "${FILESDIR}"/gentoo-default-prefs.js \
+#  "${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js"  
\
+#  || die
+#
+#  mozconfig_install_prefs \
+#  

[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/, eclass/

2016-04-28 Thread Ian Stakenvicius
commit: f5fa2b4c582bdece64a1a1fbdc716976c7ee4162
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Thu Apr 28 17:38:28 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Thu Apr 28 18:12:30 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5fa2b4c

www-client/firefox: version bump to 46.0

Cairo-gtk3 is now the upstream default in this version of firefox, and so
the USE flag was switched to make cairo-gtk2 optionally selectable via a
"force-gtk2" flag.

Bug: http://bugs.gentoo.org/555620

Package-Manager: portage-2.2.26

 eclass/mozconfig-v6.46.eclass  | 404 +
 www-client/firefox/Manifest|  81 +++
 www-client/firefox/firefox-46.0.ebuild | 367 ++
 www-client/firefox/metadata.xml|   1 +
 4 files changed, 853 insertions(+)

diff --git a/eclass/mozconfig-v6.46.eclass b/eclass/mozconfig-v6.46.eclass
new file mode 100644
index 000..90b11ef
--- /dev/null
+++ b/eclass/mozconfig-v6.46.eclass
@@ -0,0 +1,404 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+#
+# @ECLASS: mozconfig-v6.46.eclass
+# @MAINTAINER:
+# mozilla team 
+# @BLURB: the new mozilla common configuration eclass for FF33 and newer, v6
+# @DESCRIPTION:
+# This eclass is used in mozilla ebuilds (firefox, thunderbird, seamonkey)
+# to provide a single common place for the common mozilla engine compoments.
+#
+# The eclass provides all common dependencies as well as common use flags.
+#
+# Some use flags which may be optional in particular mozilla packages can be
+# supported through setting eclass variables.
+#
+# This eclass inherits mozconfig helper functions as defined in mozcoreconf-v3,
+# and so ebuilds inheriting this eclass do not need to inherit that.
+
+case ${EAPI} in
+   0|1|2|3|4)
+   die "EAPI=${EAPI} not supported"
+   ;;
+   5)
+   inherit multilib
+   ;;
+esac
+
+inherit flag-o-matic toolchain-funcs mozcoreconf-v3
+
+# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_WIFI
+# @DESCRIPTION:
+# Set this variable before the inherit line, when an ebuild needs to provide
+# optional necko-wifi support via IUSE="wifi".  Currently this would include
+# ebuilds for firefox, and potentially seamonkey.
+#
+# Leave the variable UNSET if necko-wifi support should not be available.
+# Set the variable to "enabled" if the use flag should be enabled by default.
+# Set the variable to any value if the use flag should exist but not be 
default-enabled.
+
+# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_JIT
+# @DESCRIPTION:
+# Set this variable before the inherit line, when an ebuild needs to provide
+# optional necko-wifi support via IUSE="jit".  Currently this would include
+# ebuilds for firefox, and potentially seamonkey.
+#
+# Leave the variable UNSET if optional jit support should not be available.
+# Set the variable to "enabled" if the use flag should be enabled by default.
+# Set the variable to any value if the use flag should exist but not be 
default-enabled.
+
+# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_GTK3
+# @DESCRIPTION:
+# Set this variable before the inherit line, when an ebuild can provide
+# optional gtk3 support via IUSE="gtk3".  Currently this would include
+# ebuilds for firefox, but thunderbird and seamonkey could follow in the 
future.
+#
+# Leave the variable UNSET if gtk3 support should not be available.
+# Set the variable to "enabled" if the use flag should be enabled by default.
+# Set the variable to any value if the use flag should exist but not be 
default-enabled.
+
+# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_GTK2ONLY
+# @DESCRIPTION:
+# Set this variable before the inherit line, when an ebuild can provide
+# optional gtk2-only support via IUSE="force-gtk2".
+#
+# Note that this option conflicts directly with MOZCONFIG_OPTIONAL_GTK3, both
+# variables cannot be set at the same time and this variable will be ignored if
+# MOZCONFIG_OPTIONAL_GTK3 is set.
+#
+# Leave the variable UNSET if gtk2-only support should not be available.
+# Set the variable to "enabled" if the use flag should be enabled by default.
+# Set the variable to any value if the use flag should exist but not be 
default-enabled.
+
+# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_QT5
+# @DESCRIPTION:
+# Set this variable before the inherit line, when an ebuild can provide
+# optional qt5 support via IUSE="qt5".  Currently this would include
+# ebuilds for firefox, but thunderbird and seamonkey could follow in the 
future.
+#
+# Leave the variable UNSET if qt5 support should not be available.
+# Set the variable to "enabled" if the use flag should be enabled by default.
+# Set the variable to any value if the use flag should exist but not be 
default-enabled.
+
+# use-flags common among all mozilla ebuilds
+IUSE="${IUSE} dbus debug +ffmpeg +jemalloc3 neon pulseaudio selinux 
startup-notification 

[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/, eclass/

2016-03-09 Thread Ian Stakenvicius
commit: d8d4ffd6cf49fd2ffa92da3c29de9252aae0a4a9
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Wed Mar  9 20:54:43 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Wed Mar  9 21:08:29 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8d4ffd6

www-client/firefox: bump to 45.0 for security, make ebuild and eclasses EAPI6

This is an initial pass of EAPI6 migration, the eclasses and ebuilds may be 
ported further
in the future to take advantage of any missing EAPI6 functionality.

Bug: https://bugs.gentoo.org/576862

Package-Manager: portage-2.2.26

 eclass/mozconfig-v6.45.eclass  | 345 +
 eclass/mozlinguas.eclass   |   2 +-
 www-client/firefox/Manifest|  81 +++
 www-client/firefox/firefox-45.0.ebuild | 383 +
 4 files changed, 810 insertions(+), 1 deletion(-)

diff --git a/eclass/mozconfig-v6.45.eclass b/eclass/mozconfig-v6.45.eclass
new file mode 100644
index 000..950c51d
--- /dev/null
+++ b/eclass/mozconfig-v6.45.eclass
@@ -0,0 +1,345 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+#
+# @ECLASS: mozconfig-v6.45.eclass
+# @MAINTAINER:
+# mozilla team 
+# @BLURB: the new mozilla common configuration eclass for FF33 and newer, v6
+# @DESCRIPTION:
+# This eclass is used in mozilla ebuilds (firefox, thunderbird, seamonkey)
+# to provide a single common place for the common mozilla engine compoments.
+#
+# The eclass provides all common dependencies as well as common use flags.
+#
+# Some use flags which may be optional in particular mozilla packages can be
+# supported through setting eclass variables.
+#
+# This eclass inherits mozconfig helper functions as defined in mozcoreconf-v3,
+# and so ebuilds inheriting this eclass do not need to inherit that.
+
+case ${EAPI} in
+   0|1|2|3|4)
+   die "EAPI=${EAPI} not supported"
+   ;;
+   5)
+   inherit multilib
+   ;;
+esac
+
+inherit flag-o-matic toolchain-funcs mozcoreconf-v3
+
+# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_WIFI
+# @DESCRIPTION:
+# Set this variable before the inherit line, when an ebuild needs to provide
+# optional necko-wifi support via IUSE="wifi".  Currently this would include
+# ebuilds for firefox, and potentially seamonkey.
+#
+# Leave the variable UNSET if necko-wifi support should not be available.
+# Set the variable to "enabled" if the use flag should be enabled by default.
+# Set the variable to any value if the use flag should exist but not be 
default-enabled.
+
+# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_JIT
+# @DESCRIPTION:
+# Set this variable before the inherit line, when an ebuild needs to provide
+# optional necko-wifi support via IUSE="jit".  Currently this would include
+# ebuilds for firefox, and potentially seamonkey.
+#
+# Leave the variable UNSET if optional jit support should not be available.
+# Set the variable to "enabled" if the use flag should be enabled by default.
+# Set the variable to any value if the use flag should exist but not be 
default-enabled.
+
+# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_GTK3
+# @DESCRIPTION:
+# Set this variable before the inherit line, when an ebuild can provide
+# optional gtk3 support via IUSE="gtk3".  Currently this would include
+# ebuilds for firefox, but thunderbird and seamonkey could follow in the 
future.
+#
+# Leave the variable UNSET if gtk3 support should not be available.
+# Set the variable to "enabled" if the use flag should be enabled by default.
+# Set the variable to any value if the use flag should exist but not be 
default-enabled.
+
+# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_QT5
+# @DESCRIPTION:
+# Set this variable before the inherit line, when an ebuild can provide
+# optional qt5 support via IUSE="qt5".  Currently this would include
+# ebuilds for firefox, but thunderbird and seamonkey could follow in the 
future.
+#
+# Leave the variable UNSET if qt5 support should not be available.
+# Set the variable to "enabled" if the use flag should be enabled by default.
+# Set the variable to any value if the use flag should exist but not be 
default-enabled.
+
+# use-flags common among all mozilla ebuilds
+IUSE="${IUSE} dbus debug ffmpeg +gstreamer gstreamer-0 +jemalloc3 neon 
pulseaudio selinux startup-notification system-cairo
+   system-icu system-jpeg system-libevent system-sqlite system-libvpx"
+
+# some notes on deps:
+# gtk:2 minimum is technically 2.10 but gio support (enabled by default) needs 
2.14
+# media-libs/mesa needs to be 10.2 or above due to a bug with flash+vdpau
+
+RDEPEND=">=app-text/hunspell-1.2
+   dev-libs/atk
+   dev-libs/expat
+   >=x11-libs/cairo-1.10[X]
+   >=x11-libs/gtk+-2.18:2
+   x11-libs/gdk-pixbuf
+   >=x11-libs/pango-1.22.0
+   >=media-libs/libpng-1.6.17:0=[apng]
+   >=media-libs/mesa-10.2:*
+   

[gentoo-commits] repo/gentoo:master commit in: www-client/firefox/, eclass/

2016-01-28 Thread Ian Stakenvicius
commit: 4a753a30e767e5d77e44111ca0fd2619d0847021
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Fri Jan 29 03:26:35 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Fri Jan 29 03:37:27 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a753a30

www-client/firefox: version bumps, 38.6 and 44.0

Package-Manager: portage-2.2.26

 eclass/mozconfig-v6.44.eclass| 341 +++
 www-client/firefox/Manifest  | 161 +
 www-client/firefox/firefox-38.6.0.ebuild | 382 ++
 www-client/firefox/firefox-44.0.ebuild   | 385 +++
 www-client/firefox/metadata.xml  |   2 +
 5 files changed, 1271 insertions(+)

diff --git a/eclass/mozconfig-v6.44.eclass b/eclass/mozconfig-v6.44.eclass
new file mode 100644
index 000..a833e91
--- /dev/null
+++ b/eclass/mozconfig-v6.44.eclass
@@ -0,0 +1,341 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+#
+# @ECLASS: mozconfig-v6.44.eclass
+# @MAINTAINER:
+# mozilla team 
+# @BLURB: the new mozilla common configuration eclass for FF33 and newer, v6
+# @DESCRIPTION:
+# This eclass is used in mozilla ebuilds (firefox, thunderbird, seamonkey)
+# to provide a single common place for the common mozilla engine compoments.
+#
+# The eclass provides all common dependencies as well as common use flags.
+#
+# Some use flags which may be optional in particular mozilla packages can be
+# supported through setting eclass variables.
+#
+# This eclass inherits mozconfig helper functions as defined in mozcoreconf-v3,
+# and so ebuilds inheriting this eclass do not need to inherit that.
+
+inherit multilib flag-o-matic toolchain-funcs mozcoreconf-v3
+
+case ${EAPI} in
+   0|1|2|3|4) die "EAPI=${EAPI} not supported"
+esac
+
+# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_WIFI
+# @DESCRIPTION:
+# Set this variable before the inherit line, when an ebuild needs to provide
+# optional necko-wifi support via IUSE="wifi".  Currently this would include
+# ebuilds for firefox, and potentially seamonkey.
+#
+# Leave the variable UNSET if necko-wifi support should not be available.
+# Set the variable to "enabled" if the use flag should be enabled by default.
+# Set the variable to any value if the use flag should exist but not be 
default-enabled.
+
+# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_JIT
+# @DESCRIPTION:
+# Set this variable before the inherit line, when an ebuild needs to provide
+# optional necko-wifi support via IUSE="jit".  Currently this would include
+# ebuilds for firefox, and potentially seamonkey.
+#
+# Leave the variable UNSET if optional jit support should not be available.
+# Set the variable to "enabled" if the use flag should be enabled by default.
+# Set the variable to any value if the use flag should exist but not be 
default-enabled.
+
+# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_GTK3
+# @DESCRIPTION:
+# Set this variable before the inherit line, when an ebuild can provide
+# optional gtk3 support via IUSE="gtk3".  Currently this would include
+# ebuilds for firefox, but thunderbird and seamonkey could follow in the 
future.
+#
+# Leave the variable UNSET if gtk3 support should not be available.
+# Set the variable to "enabled" if the use flag should be enabled by default.
+# Set the variable to any value if the use flag should exist but not be 
default-enabled.
+
+# @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_QT5
+# @DESCRIPTION:
+# Set this variable before the inherit line, when an ebuild can provide
+# optional qt5 support via IUSE="qt5".  Currently this would include
+# ebuilds for firefox, but thunderbird and seamonkey could follow in the 
future.
+#
+# Leave the variable UNSET if qt5 support should not be available.
+# Set the variable to "enabled" if the use flag should be enabled by default.
+# Set the variable to any value if the use flag should exist but not be 
default-enabled.
+
+# use-flags common among all mozilla ebuilds
+IUSE="${IUSE} dbus debug ffmpeg +gstreamer gstreamer-0 +jemalloc3 neon 
pulseaudio selinux startup-notification system-cairo
+   system-icu system-jpeg system-libevent system-sqlite system-libvpx"
+
+# some notes on deps:
+# gtk:2 minimum is technically 2.10 but gio support (enabled by default) needs 
2.14
+# media-libs/mesa needs to be 10.2 or above due to a bug with flash+vdpau
+
+RDEPEND=">=app-text/hunspell-1.2
+   dev-libs/atk
+   dev-libs/expat
+   >=dev-libs/libevent-1.4.7
+   >=x11-libs/cairo-1.10[X]
+   >=x11-libs/gtk+-2.18:2
+   x11-libs/gdk-pixbuf
+   >=x11-libs/pango-1.22.0
+   >=media-libs/libpng-1.6.17:0=[apng]
+   >=media-libs/mesa-10.2:*
+   media-libs/fontconfig
+   >=media-libs/freetype-2.4.10
+   kernel_linux? ( media-libs/alsa-lib )
+   pulseaudio? ( media-sound/pulseaudio )
+   virtual/freedesktop-icon-theme
+   dbus? (