[gentoo-commits] proj/mozilla:master commit in: eclass/, www-client/firefox/files/, mail-client/thunderbird/, ...

2018-10-02 Thread Thomas Deutschmann
commit: 006e55b3995e2f3d2075be68f2600e3b12cdf70b
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Tue Oct  2 14:09:15 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue Oct  2 14:09:15 2018 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=006e55b3

synchronize with Gentoo repository

Signed-off-by: Thomas Deutschmann  gentoo.org>

 eclass/mozconfig-v6.60.eclass  |  12 +-
 eclass/mozcoreconf-v6.eclass   |  18 +-
 mail-client/thunderbird/thunderbird-60.0-r3.ebuild |   6 +-
 www-client/firefox/Manifest|  93 +++
 www-client/firefox/files/bug_1461221.patch |  36 
 .../files/firefox-52.9.0-blessings-TERM.patch  |  56 +++
 ...efox-60.2.1-r1.ebuild => firefox-52.9.0.ebuild} | 186 ++---
 www-client/firefox/firefox-60.2.1-r1.ebuild|   7 +-
 www-client/firefox/firefox-62.0.2.ebuild   |  11 +-
 www-client/firefox/metadata.xml|   7 +
 10 files changed, 322 insertions(+), 110 deletions(-)

diff --git a/eclass/mozconfig-v6.60.eclass b/eclass/mozconfig-v6.60.eclass
index b86fa2a..de09ebc 100644
--- a/eclass/mozconfig-v6.60.eclass
+++ b/eclass/mozconfig-v6.60.eclass
@@ -101,7 +101,7 @@ RDEPEND=">=app-text/hunspell-1.5.4:=
>=x11-libs/pixman-0.19.2
>=dev-libs/glib-2.26:2
>=sys-libs/zlib-1.2.3
-   >=virtual/libffi-3.0.10
+   >=virtual/libffi-3.0.10:=
virtual/ffmpeg
x11-libs/libX11
x11-libs/libXcomposite
@@ -203,7 +203,7 @@ mozconfig_config() {
# Force gcc
einfo "Enforcing the use of gcc due to USE=-clang ..."
CC=${CHOST}-gcc
-   CXX=${CHOST}-gcc++
+   CXX=${CHOST}-g++
strip-unsupported-flags
fi
 
@@ -212,9 +212,6 @@ mozconfig_config() {
--with-system-zlib \
--with-system-bz2
 
-   # Stylo is only broken on x86 builds
-   use x86 && mozconfig_annotate 'Upstream bug 1341234' --disable-stylo
-
# Stylo is horribly broken on arm, renders GUI unusable
use arm && mozconfig_annotate 'breaks UI on arm' --disable-stylo
 
@@ -331,7 +328,10 @@ mozconfig_config() {
mozconfig_use_with system-harfbuzz
mozconfig_use_with system-harfbuzz system-graphite2
 
-   if use arm ; then
+   if use clang ; then
+   # https://bugzilla.mozilla.org/show_bug.cgi?id=1423822
+   mozconfig_annotate 'elf-hack is broken when using Clang' 
--disable-elf-hack
+   elif use arm ; then
mozconfig_annotate 'elf-hack is broken on arm' 
--disable-elf-hack
fi
 

diff --git a/eclass/mozcoreconf-v6.eclass b/eclass/mozcoreconf-v6.eclass
index 571f195..862d632 100644
--- a/eclass/mozcoreconf-v6.eclass
+++ b/eclass/mozcoreconf-v6.eclass
@@ -204,7 +204,14 @@ mozconfig_init() {
case "${ARCH}" in
arm)
# Reduce the memory requirements for linking
-   append-ldflags -Wl,--no-keep-memory 
-Wl,--reduce-memory-overheads
+   if use clang ; then
+   # Nothing to do
+   :;
+   elif tc-ld-is-gold ; then
+   append-ldflags -Wl,--no-keep-memory
+   else
+   append-ldflags -Wl,--no-keep-memory 
-Wl,--reduce-memory-overheads
+   fi
;;
alpha)
# Historically we have needed to add -fPIC manually for 64-bit.
@@ -219,7 +226,14 @@ mozconfig_init() {
ppc64)
append-flags -fPIC -mminimal-toc
# Reduce the memory requirements for linking
-   append-ldflags -Wl,--no-keep-memory 
-Wl,--reduce-memory-overheads
+   if use clang ; then
+   # Nothing to do
+   :;
+   elif tc-ld-is-gold ; then
+   append-ldflags -Wl,--no-keep-memory
+   else
+   append-ldflags -Wl,--no-keep-memory 
-Wl,--reduce-memory-overheads
+   fi
;;
esac
 

diff --git a/mail-client/thunderbird/thunderbird-60.0-r3.ebuild 
b/mail-client/thunderbird/thunderbird-60.0-r3.ebuild
index 246f6b1..b10d1f6 100644
--- a/mail-client/thunderbird/thunderbird-60.0-r3.ebuild
+++ b/mail-client/thunderbird/thunderbird-60.0-r3.ebuild
@@ -9,7 +9,7 @@ MOZ_LIGHTNING_VER="6.2"
 MOZ_LIGHTNING_GDATA_VER="4.4.1"
 
 PYTHON_COMPAT=( python3_{5,6,7} )
-PYTHON_REQ_USE='ncurses,sqlite,ssl,threads'
+PYTHON_REQ_USE='ncurses,sqlite,ssl,threads(+)'
 
 # This list can be updated using scripts/get_langs.sh from the mozilla overlay
 MOZ_LANGS=(ar ast be bg br ca cs cy da de el en en-GB en-US es-AR
@@ -79,7 +79,7 @@ CDEPEND="
>=x11-libs/pixman-0.19.2
>=dev-libs/glib-2.26:2
>=sys-libs/zlib-1.2.3
-   >=virtual/libffi-3.0.10
+   >=virtual/libffi-3.0.10:=

[gentoo-commits] proj/mozilla:master commit in: eclass/

2018-08-16 Thread Ian Stakenvicius
commit: 408e29e61818bc84c435605e725a651eaac77e0f
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Thu Aug 16 16:47:14 2018 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Thu Aug 16 16:47:14 2018 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=408e29e6

mozconfig-v6.52.eclass: inherit mozcoreconf-v5 not v6

Gentoo repo inherits mozcoreconf-v5, and v6 is meant for mozilla-60 and above.
Make it match in mozilla-overlay as well

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

 eclass/mozconfig-v6.52.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/mozconfig-v6.52.eclass b/eclass/mozconfig-v6.52.eclass
index eb5273a..8dbb55f 100644
--- a/eclass/mozconfig-v6.52.eclass
+++ b/eclass/mozconfig-v6.52.eclass
@@ -26,7 +26,7 @@ case ${EAPI} in
;;
 esac
 
-inherit flag-o-matic toolchain-funcs mozcoreconf-v6
+inherit flag-o-matic toolchain-funcs mozcoreconf-v5
 
 # @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_WIFI
 # @DESCRIPTION:



[gentoo-commits] proj/mozilla:master commit in: eclass/

2018-08-15 Thread Ian Stakenvicius
commit: 50586bb389633f379e627c69600952adbb95df16
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Wed Aug 15 21:02:01 2018 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Wed Aug 15 21:02:01 2018 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=50586bb3

Revert "mozcoreconf: attempt workaround for occasional setupterm-based build 
error"

This reverts commit 10516a58d09b92067afd195622d2b021563582b8.  It did not have 
the
intended effect, so trashing it

 eclass/mozcoreconf-v6.eclass | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/eclass/mozcoreconf-v6.eclass b/eclass/mozcoreconf-v6.eclass
index b797696..930122f 100644
--- a/eclass/mozcoreconf-v6.eclass
+++ b/eclass/mozcoreconf-v6.eclass
@@ -101,9 +101,6 @@ moz_pkgsetup() {
# ensure MOZCONFIG is not defined
unset MOZCONFIG
 
-   # recent builds call setupterm, ensure TERM has a value
-   export TERM=${TERM:-dumb}
-
# set MOZILLA_FIVE_HOME
export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
 



[gentoo-commits] proj/mozilla:master commit in: eclass/

2018-08-15 Thread Ian Stakenvicius
commit: 10516a58d09b92067afd195622d2b021563582b8
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Wed Aug 15 19:29:35 2018 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Wed Aug 15 19:29:35 2018 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=10516a58

mozcoreconf: attempt workaround for occasional setupterm-based build error

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

 eclass/mozcoreconf-v6.eclass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/eclass/mozcoreconf-v6.eclass b/eclass/mozcoreconf-v6.eclass
index 930122f..b797696 100644
--- a/eclass/mozcoreconf-v6.eclass
+++ b/eclass/mozcoreconf-v6.eclass
@@ -101,6 +101,9 @@ moz_pkgsetup() {
# ensure MOZCONFIG is not defined
unset MOZCONFIG
 
+   # recent builds call setupterm, ensure TERM has a value
+   export TERM=${TERM:-dumb}
+
# set MOZILLA_FIVE_HOME
export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
 



[gentoo-commits] proj/mozilla:master commit in: eclass/

2018-08-15 Thread Ian Stakenvicius
commit: 1c6ba8dbc954b16d309fa1f61a833fc5027df320
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Wed Aug 15 17:10:42 2018 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Wed Aug 15 17:13:30 2018 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=1c6ba8db

eclass/mozcoreconf-v6.eclass: adjust for PYTHON3 support in ebuilds

As python2 only has one slot, but python3 support is required for v61
and newer AND may be different from one mozilla release to another,
this commit honours the setting of PYTHON_COMPAT and PYTHON_REQ_USE
in the header of ebuilds so that python3 variants can be chosen
via python-any-r1.  If not specified, the previous python2-only
values are set for compatibility.

If a python3 variant is specified in PYTHON_COMPAT, then
after python-any-r1 has chosen the correct python variant to use
this value is set in the PYTHON3 environment variable, and then
PYTHON itself is forced back to python2 (since mozilla requires
both to build for the forseeable future)

 eclass/mozcoreconf-v6.eclass | 14 --
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/eclass/mozcoreconf-v6.eclass b/eclass/mozcoreconf-v6.eclass
index 46d9cd3..930122f 100644
--- a/eclass/mozcoreconf-v6.eclass
+++ b/eclass/mozcoreconf-v6.eclass
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 #
-# @ECLASS: mozcoreconf-v5.eclass
+# @ECLASS: mozcoreconf-v6.eclass
 # @MAINTAINER:
 # Mozilla team 
 # @BLURB: core options and configuration functions for mozilla
@@ -16,8 +16,11 @@
 
 if [[ ! ${_MOZCORECONF} ]]; then
 
+# for compatibility with packages prior to v1
+if [[ -z ${PYTHON_COMPAT[@]} ]]; then
 PYTHON_COMPAT=( python2_7 )
 PYTHON_REQ_USE='ncurses,sqlite,ssl,threads'
+fi
 
 inherit multilib toolchain-funcs flag-o-matic python-any-r1 versionator
 
@@ -112,6 +115,11 @@ moz_pkgsetup() {
fi
 
python-any-r1_pkg_setup
+   # workaround to set python3 into PYTHON3 until mozilla doesn't need py2
+   if [[ "${PYTHON_COMPAT[@]}" != "${PYTHON_COMPAT[@]#python3*}" ]]; then
+   export PYTHON3=${PYTHON}
+   python_export python2_7 PYTHON EPYTHON
+   fi
 }
 
 # @FUNCTION: mozconfig_init
@@ -146,10 +154,12 @@ mozconfig_init() {
seamonkey)
# Must create the initial mozconfig to enable 
application
: >.mozconfig || die "initial mozconfig creation failed"
+   # NOTE--this is not compatible with mozilla prior to v60
mozconfig_annotate "" --enable-application=comm/suite ;;
*thunderbird)
# Must create the initial mozconfig to enable 
application
: >.mozconfig || die "initial mozconfig creation failed"
+   # NOTE--this is not compatible with mozilla prior to v60
mozconfig_annotate "" --enable-application=comm/mail ;;
esac
 



[gentoo-commits] proj/mozilla:master commit in: eclass/, mail-client/thunderbird/

2018-07-16 Thread Ian Stakenvicius
commit: 83c9c132c36b97730860ce17f6d436eb1e0167b2
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Tue Jul 17 02:28:27 2018 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Tue Jul 17 02:29:25 2018 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=83c9c132

thunderbird: add ebuild for 60.0b10 for testing

 eclass/mozcoreconf-v6.eclass   |   4 +-
 mail-client/thunderbird/Manifest   |   3 +
 .../thunderbird/thunderbird-60.0_beta10.ebuild | 360 +
 3 files changed, 365 insertions(+), 2 deletions(-)

diff --git a/eclass/mozcoreconf-v6.eclass b/eclass/mozcoreconf-v6.eclass
index 2f1b0e3..46d9cd3 100644
--- a/eclass/mozcoreconf-v6.eclass
+++ b/eclass/mozcoreconf-v6.eclass
@@ -146,11 +146,11 @@ mozconfig_init() {
seamonkey)
# Must create the initial mozconfig to enable 
application
: >.mozconfig || die "initial mozconfig creation failed"
-   mozconfig_annotate "" --enable-application=suite ;;
+   mozconfig_annotate "" --enable-application=comm/suite ;;
*thunderbird)
# Must create the initial mozconfig to enable 
application
: >.mozconfig || die "initial mozconfig creation failed"
-   mozconfig_annotate "" --enable-application=mail ;;
+   mozconfig_annotate "" --enable-application=comm/mail ;;
esac
 


diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
index ca72d55..e550085 100644
--- a/mail-client/thunderbird/Manifest
+++ b/mail-client/thunderbird/Manifest
@@ -1,5 +1,7 @@
 DIST firefox-52.5-patches-02.tar.xz 15084 BLAKE2B 
538dd61dbb7b290add4782b323a62f9ab4dbc57326a9a085710d207752118c504eb030a8741c1eed2e281c8d18e5453210b1905d71439250caa588137bbc37d0
 SHA512 
b80f9acaf49226cd5c2864714826c5b0e7e918e94c31ec81521b90c47edbb88ea85faa34fc22791efefbcd3867ddc413c563de58ca0f8ce21e10a3858899efce
+DIST firefox-60.0-patches-02.tar.xz 111088 BLAKE2B 
9564d55b243c5e759a83b6d48076d3de9060c7bd99498df3ced477077b5ce2e2582452979872f0707ee681633d04a9761e2887282d69cced7e20bf39efc38c2c
 SHA512 
919ffdb0624f1fa68a7e457f5270833e69c8f29e1764a46edfc345056c4e8ada1e85e53de3766fd9a0b2afc1a959c15762e27f43e29f5945176f9ade362407ac
 DIST gdata-provider-3.3.tar.xz 85628 BLAKE2B 
2ccde620b181a2d8678f50d7107373886f3b2e7d1d1e8861c4e42602cedb02108d28e0bf5e5cd9e31474356b70cb99baa7870e20436bc72e25cd8a8fc1353d14
 SHA512 
ae0c0e6fd42d6e7088256ca8a4be5b0bac84b2f331b51afdc982354caef60b6ba631d4f76bfba7523000b49235c8f8c63704d90acf24b34b14696b709be9342b
+DIST lightning-5.4.8.tar.xz 1891528 BLAKE2B 
8b15d2058171d09b8fc1e992b48d36f024ae9405803c0626060bbdb75318a6ce652cc1b527cc2a30041c81f2ea215c63950912a8783d55e4042c2fcc270bfccf
 SHA512 
9c36ad58ef77f9e7a1e34c07db0357d4db75a44c837068016e1413e31cc762f2cc1b4cf1edf8a78124077053db6ec68c17ba42da91c2a05dc87616f742dc
 DIST lightning-5.4.9.tar.xz 1891752 BLAKE2B 
90b777814db2962ff669430cea5a29ba1612a842fbb0edaca597539e6e2d728a9d90114ec6196fe0d4758a4738a15bc0c985a345e1062cb125617eb84ecf79e1
 SHA512 
8e54865d50118154c3918d5dec5dade4fb026c24bc697ad2e360db9741509cbdbb71ba9477508a9b209be6c8a8190fb0b5e03d2e8fedcc2cae18f5c9e5a3a496
 DIST thunderbird-52.9.0-ar.xpi 604235 BLAKE2B 
976fa2de5d2d132dd1aa835292c3991a1faaddd542a0eb9f72a75ae200c68edaccc921d5263a6c69324af8b189ada47f016863d1df147b3e54951fb7d3f1ad12
 SHA512 
50b9e878463ffdaae09fbe1e5567200892f20c3c593e9c53ac7524f58c688711e58b2cd8a668a5ae82e3cf96f0c178f5ff111d2f56f049bf3c771b881715a67c
 DIST thunderbird-52.9.0-ast.xpi 541173 BLAKE2B 
3aa4e92287ba968f22d10c9fab41fc790042705544ddb998a43d91ac0912f9b028de63fe18cd982c40183aaddc628a4c547428db96c99df7e11e20223f573469
 SHA512 
70d8168751acf69915f3c6643feb23fce813a313243a392bd3979db24c4f8641b56f92a9f5861aa4224549ff621fadaf4b0f1ad924cf68b9daf6687d15d886c8
@@ -58,3 +60,4 @@ DIST thunderbird-52.9.0-vi.xpi 637164 BLAKE2B 
3b1e661c3d7b628d201b73de0edd19e3bc
 DIST thunderbird-52.9.0-zh-CN.xpi 593612 BLAKE2B 
bfeba596b07feafccf24da7fe945fdafe24d596818f601e189eca1d8dae4e98b6f57a4b3535d313fa0fc1629bc58a84ff688d824e3afd451c1fc4530b6a3be4d
 SHA512 
2edc8f16f4dce60c5ab8f29758f380885dec06360d6c39f18aceeff2647da71c6c53f5bb3e4b718acfa17ad1692b87df7320cd2966c3de64b0091879337cd0fd
 DIST thunderbird-52.9.0-zh-TW.xpi 595729 BLAKE2B 
33702ec38ee830913c9b27dd102c38d7f6b7ce5f0b68cab14a71941f6a86dbb9dc785c5324dfd04acc8f5fab3562c439f3efab95eee8401c061efa8f38d4a2dd
 SHA512 
a8b9cf32945efb8ed958ac53ab11e327f8dba8af29ef7c18af66d4cc9c7d86bfbab3e44e61d14a5eb40b82d63c9ea3a875672bc96c0baf08d841df7b7e3dfba0
 DIST thunderbird-52.9.0.source.tar.xz 230441012 BLAKE2B 
d39dc94f4e46af1b651e2b4139738a2bfc11a76506847bbf5b2340c96a300d7ec9534c38faf6f2fc6a574c186334dc92ff9057d92c560a8d1e4620138e64721e
 SHA512 

[gentoo-commits] proj/mozilla:master commit in: eclass/

2018-06-17 Thread Jory Pratt
commit: fbeda725940aeb0be30afc1fd3cd0da53a693a19
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Mon Jun 18 04:40:05 2018 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Mon Jun 18 04:40:05 2018 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=fbeda725

eclass: add support for torbrowser

 eclass/mozconfig-v6.52.eclass | 2 +-
 eclass/mozcoreconf-v6.eclass  | 4 
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/eclass/mozconfig-v6.52.eclass b/eclass/mozconfig-v6.52.eclass
index 8dbb55f..eb5273a 100644
--- a/eclass/mozconfig-v6.52.eclass
+++ b/eclass/mozconfig-v6.52.eclass
@@ -26,7 +26,7 @@ case ${EAPI} in
;;
 esac
 
-inherit flag-o-matic toolchain-funcs mozcoreconf-v5
+inherit flag-o-matic toolchain-funcs mozcoreconf-v6
 
 # @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_WIFI
 # @DESCRIPTION:

diff --git a/eclass/mozcoreconf-v6.eclass b/eclass/mozcoreconf-v6.eclass
index cb80b3f..2f1b0e3 100644
--- a/eclass/mozcoreconf-v6.eclass
+++ b/eclass/mozcoreconf-v6.eclass
@@ -124,6 +124,7 @@ mozconfig_init() {
declare FF=$([[ ${PN} == firefox ]] && echo true || echo false)
declare SM=$([[ ${PN} == seamonkey ]] && echo true || echo false)
declare TB=$([[ ${PN} == thunderbird ]] && echo true || echo false)
+   declare TRB=$([[ ${PN} == torbrowser ]] && echo true || echo false)
 

#
@@ -139,6 +140,9 @@ mozconfig_init() {
*firefox)
cp browser/config/mozconfig .mozconfig \
|| die "cp browser/config/mozconfig failed" ;;
+   *torbrowser)
+   cp browser/config/mozconfig .mozconfig \
+   || die "cp browser/config/mozconfig failed" ;;
seamonkey)
# Must create the initial mozconfig to enable 
application
: >.mozconfig || die "initial mozconfig creation failed"



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

2018-06-16 Thread Jory Pratt
commit: ff920a6a051b44e18a8060c9e688e99827bbe64d
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Sat Jun 16 15:14:35 2018 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Sat Jun 16 15:14:35 2018 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=ff920a6a

www-client/firefox: Version bump beta14, adjust mozcoreconf-v6 to only
default to -O2 with gcc-7

 eclass/mozcoreconf-v6.eclass   |   2 +-
 www-client/firefox/Manifest| 184 ++---
 0_beta13.ebuild => firefox-61.0_beta14.ebuild} |   0
 3 files changed, 93 insertions(+), 93 deletions(-)

diff --git a/eclass/mozcoreconf-v6.eclass b/eclass/mozcoreconf-v6.eclass
index 64e0e3d..cb80b3f 100644
--- a/eclass/mozcoreconf-v6.eclass
+++ b/eclass/mozcoreconf-v6.eclass
@@ -156,7 +156,7 @@ mozconfig_init() {

 
# Set optimization level
-   if [[ $(gcc-major-version) -ge 7 ]]; then
+   if [[ $(gcc-major-version) -eq 7 ]]; then
mozconfig_annotate "Workaround known breakage" 
--enable-optimize=-O2
elif [[ ${ARCH} == hppa ]]; then
mozconfig_annotate "more than -O0 causes a segfault on hppa" 
--enable-optimize=-O0

diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index ed7c16a..5cbd2cf 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -92,95 +92,95 @@ DIST firefox-60.0.1-zh-CN.xpi 542802 BLAKE2B 
642f75a9d76c45f4aa7f214a30f7b130c6f
 DIST firefox-60.0.1-zh-TW.xpi 541124 BLAKE2B 
98e83600cf9530caf498ef6d7dda35f9557d85026802da9e19be80845ff5cdc3e8baf72c61f93b445ef21f52c0cc290b3d5248d106a2ce1103f814f6e1431956
 SHA512 
801b4e89bda0f288d4235d1ef6db4dae9a8f90eb0bfec9073aaa20d33a8f6d8dfd2655be36935f9ec20186d353e4e7300a116143f54645a18728d3dea4bfe6c9
 DIST firefox-60.0.1.source.tar.xz 267804748 BLAKE2B 
2ea8d3e4b7b912e159ca618a1c152123535fb4f9779348d91e8f467a4181cf9fe8d81440590b21d95a23403cc3b8ef48754955fa2a50c47df20c266faa584eeb
 SHA512 
160fe83fc9101930521bdefefa8e32458a7438f454114aa5b1206ab4f63ce89566d84d4b7aca4c2c8d4fda529b33e29aa8a5228a643961e4b3e09b18d0c13510
 DIST firefox-61.0-patches-01.tar.xz 11488 BLAKE2B 
5a55ba4f096763db97a91f7266b0c5edb9c41dfddf57fdb133e7fdaa18e93a1a3217a560a8cf0103d809d0df9dfdee0543e0a54c8ff5e2a17f59b18a79153078
 SHA512 
99b0c34614f57335ded294826047426a2983c1571405ac648d9172e3cf2fe26658606fe64fb20ce4f419f4360776fc085c30295301f0d2d648ec57948c3c1a37
-DIST firefox-61.0b13-ach.xpi 468311 BLAKE2B 
f2e17233f646cccd3ffab7c9586dc5654e5f1df07319b82d0f0668e891adf07a8e5cb3bc72f4e12336748cf1b18fa999f08954fce9bfd81d440e85623ebcc3f6
 SHA512 
98b68ab299272e22e9e191903fec29154c46a5c9aea4b61e2b1edf432f7f669cea9c4b2001c200eb7bca62460ca707623fbc2a70b491a8e01d7a90957ac3ebd2
-DIST firefox-61.0b13-af.xpi 458278 BLAKE2B 
655b3c104495521465a34576bb265d183cea7ae51b48239770b980c255bf9ea34ff4a3954e289a6bbf85eab266fb3e80526470e0e54fea4aff2b4ebc8a7fbd36
 SHA512 
630543ecae9d9417e6c3e1902868cce573416b70da8bda09bb31f835e8d5f3eb2393a6dabf40a8b6263f9a7b90f8b40eeaf5715b9e88950be05e5bcebfc72f71
-DIST firefox-61.0b13-an.xpi 492779 BLAKE2B 
06a9ef2654a78ad922d4bccf89faaea5844269abec1eb7a304d88069ac11be4097899f6037dbf0ac2940f69859248199378727be3cb8bf88803ff5b69c79b5bb
 SHA512 
9e5fff8f2623fd0a6740fe381e1fa5f6d79db0bdb37c01a5ab1f1fe13cd02059ba86ded0b31b475ed8032a78c1582c35b9cbf91bc619120d94e36589d54301b4
-DIST firefox-61.0b13-ar.xpi 514908 BLAKE2B 
0c2f33bd17263b20631e3339f9851c22da499a6e10f8292049077c4483201466ce685d211b10440abd1b7ddcf821569b07564f244980cb866b428e1ae0cc9c8d
 SHA512 
ad133344f2579d3ff5b1cf749bddf1b65e5ebbb0e2ef061540b53e4108e4ee6beba41428d7b162cb40f2bd29f1d7da72edbc3cf6be6ed6ed6a555d0e096a761f
-DIST firefox-61.0b13-as.xpi 498330 BLAKE2B 
0cbb3d2a51d1b6655ca088e1c247ae5cff9fa049a3a23e2437e3aae4983861466d1bcbab707ac076fb091ddde104f222d3a3034eb2502c5ba6af38773fc1bba0
 SHA512 
b62065a85b7aea3325b63386b2022798cb3ce6e290c455bc89e45503aa2dc53a16d6af47db0436e6a9d4704ddd2492425bf38425e894e2c2376bf1ebe84eec91
-DIST firefox-61.0b13-ast.xpi 478590 BLAKE2B 
1cfd5d2c6dfa652ef3fd502bfd4c967806557ee756b5d23ad5c9325adb30622084a930bc70d6ce519810d5ae45e43dc3e67c8b2310b1886a2c79d53797209030
 SHA512 
c48ac1ad4a36178143b1dc370581545fbd8ce834e698d9bcae8f0e0ca74276e105cadb83b8d2609bc9c4dfcd8ef8207457787ea12f6776badf952e2bcb8c52c0
-DIST firefox-61.0b13-az.xpi 494067 BLAKE2B 
36d21f38a4f5f23e2ae72f664e6e4a39047232b2caecac13ddd168872a4709a4b1c137d7a399245c9a9e4a8b8723e41148eddfb9b5d0e0a6a130290f3790c605
 SHA512 
c130a8dcd21ced8030d7774c93335f656a39d0960a56759687efa6f5f51ede219d1fb354bcb23e64822fe96827de4af3b41603d588532c267dadf843c3ae871a
-DIST firefox-61.0b13-bg.xpi 540209 BLAKE2B 
b4cadd463062737bb228c1434294821fb82c9124c9aeeb8130483572ed0e87dac7c668fba3b9e39f1e0d7385108925acb68174ea193cc1fb50d2bacfb84bad04
 SHA512 
b75d742937ac26cfbe34cd26020f07dce983aeb1fb8881110018ab98708c1bdc6f36f29e4f25dd70f8b633496715c19b56133db55bd3bdbf1d16eed5c090b6a0
-DIST 

[gentoo-commits] proj/mozilla:master commit in: eclass/

2018-05-22 Thread Jory Pratt
commit: 320097f70156db4cb8935aaba3d5159649241868
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Tue May 22 13:43:00 2018 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Tue May 22 13:44:01 2018 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=320097f7

eclas/mozconfig - Fix missing whitespace around rust/cargo deps

 eclass/mozconfig-v6.60.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/mozconfig-v6.60.eclass b/eclass/mozconfig-v6.60.eclass
index 10144f8..ac0652a 100644
--- a/eclass/mozconfig-v6.60.eclass
+++ b/eclass/mozconfig-v6.60.eclass
@@ -169,10 +169,10 @@ DEPEND="app-arch/zip
( >=dev-lang/rust-1.24.0[-extended(-)] >=dev-util/cargo-0.25.0 )
>=dev-lang/rust-1.24.0[extended]
( >=dev-lang/rust-bin-1.24.0 >=dev-util/cargo-0.25.0 )
-   ))
+   ) )
elibc_musl? ( || ( >=dev-lang/rust-1.24.0
>=dev-util/cargo-0.25.0
-   ))
+   ) )
${RDEPEND}"
 
 RDEPEND+="



[gentoo-commits] proj/mozilla:master commit in: eclass/

2018-05-21 Thread Jory Pratt
commit: dc46b6348e92578c37220eafc2f030b5b5921bf6
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Tue May 22 01:19:15 2018 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Tue May 22 01:19:15 2018 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=dc46b634

eclass/mozconfig-v6.60 - add cargo/rust dep based on libc

 eclass/mozconfig-v6.60.eclass | 10 --
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/eclass/mozconfig-v6.60.eclass b/eclass/mozconfig-v6.60.eclass
index 98ece56..10144f8 100644
--- a/eclass/mozconfig-v6.60.eclass
+++ b/eclass/mozconfig-v6.60.eclass
@@ -165,8 +165,14 @@ DEPEND="app-arch/zip
>=sys-devel/binutils-2.16.1
sys-apps/findutils
pulseaudio? ( media-sound/pulseaudio )
-   >=dev-lang/rust-1.24.0
-   >=dev-util/cargo-0.25.0
+   elibc_glibc? ( || (
+   ( >=dev-lang/rust-1.24.0[-extended(-)] >=dev-util/cargo-0.25.0 )
+   >=dev-lang/rust-1.24.0[extended]
+   ( >=dev-lang/rust-bin-1.24.0 >=dev-util/cargo-0.25.0 )
+   ))
+   elibc_musl? ( || ( >=dev-lang/rust-1.24.0
+   >=dev-util/cargo-0.25.0
+   ))
${RDEPEND}"
 
 RDEPEND+="



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

2018-05-20 Thread Jory Pratt
commit: 11ba4503436aedfb03bab0cc5523bd79a14ee045
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Mon May 21 00:10:24 2018 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Mon May 21 00:11:22 2018 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=11ba4503

www-client/firefox - firefox-60.0.1 bump, remove rust,cargo dep hack
which breaks musl systems.

 eclass/mozconfig-v6.60.eclass  |   7 +-
 www-client/firefox/Manifest| 184 ++---
 .../{firefox-60.0.ebuild => firefox-60.0.1.ebuild} |   0
 3 files changed, 94 insertions(+), 97 deletions(-)

diff --git a/eclass/mozconfig-v6.60.eclass b/eclass/mozconfig-v6.60.eclass
index 8208305..98ece56 100644
--- a/eclass/mozconfig-v6.60.eclass
+++ b/eclass/mozconfig-v6.60.eclass
@@ -165,11 +165,8 @@ DEPEND="app-arch/zip
>=sys-devel/binutils-2.16.1
sys-apps/findutils
pulseaudio? ( media-sound/pulseaudio )
-   || (
-   ( >=dev-lang/rust-1.24.0[-extended(-)] >=dev-util/cargo-0.25.0 )
-   >=dev-lang/rust-1.24.0[extended]
-   ( >=dev-lang/rust-bin-1.24.0 >=dev-util/cargo-0.25.0 )
-   )
+   >=dev-lang/rust-1.24.0
+   >=dev-util/cargo-0.25.0
${RDEPEND}"
 
 RDEPEND+="

diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index c41ebaf..f32e96b 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -1,93 +1,93 @@
-DIST firefox-60.0-ach.xpi 496060 BLAKE2B 
6a9600447736f1ed7c7b04dc68bcf7766ace6c5c7736e29c55bb8022f01a2d1af9f886dcb9f0580ba23d3238261de504c7f94b39c25688c06ecec284b6dc3f7f
 SHA512 
4000fc74a943d8d48a118fff171e65620eab992007a98c169a9133b7deb4c69a543c834f9b765ffe43c907e6cb98e96e2d4a0a71077ea22d2e1d3c3f86a6b238
-DIST firefox-60.0-af.xpi 486533 BLAKE2B 
df0323c5d59e21968ce51883225e8cffeca2ff532bb8e91f1a6ac9a6d1324d70c3c95123e35b891f035c4c59d9ea436d65a95d3e9ceecd547b055846a85953f6
 SHA512 
ad4d0d5e3d748c195ce53f73a4e3f6fd3b009388d709b99c37fd95075b2727bf9b1d4d527af8c9d2b2602c89699f7878b28e35be177a5e658323e239510c75ef
-DIST firefox-60.0-an.xpi 519732 BLAKE2B 
e2526c661c0272f442f39bb608d3e9cbc17f004a65a0ffcd66b5f35123bbf8eac8bb3d457a9fd9f2dc03d0db98286575aa1a9c27c21a0db14e4d64a6c13932d7
 SHA512 
564adac606bd9e3220b5eb0dfe11ed999b75c24352c063ed4879eab065e0740f91c4214bb219f7c66e073d0c47a1ec55644b928e9914d4fab1cccfc733fe5dfb
-DIST firefox-60.0-ar.xpi 546957 BLAKE2B 
f9423c9879a6043dca0fdd7fc460e43107028947275e087e600bb53eb44424ec954069e8167b8ab69c4359f08e4553ac698dc84a7f301d149fc5fc55bbd70f4f
 SHA512 
841fddf65fdad6a312608e59958b53c29ffb43b67339d40381692117625500be00553ff7ddbe4e6db04df5519deaef5d38992240d08534738fef3bd0b63f7fb0
-DIST firefox-60.0-as.xpi 529947 BLAKE2B 
f84d8296f572cea468cda3b5010bd4f5824c3f3ed7cf8d858d5f709cdcc040054fd6020810180732917319fd5f9727db2192cd5b482868a1db5a8d9677349208
 SHA512 
da1ff316077ae5fef02f14c3ac5fca5543e16864d1a08fb0bce8b184ee9dc2dcbb5721e3501ffa3a915c7662f1170f1d654c8661906062d8cd676b0a59f8902c
-DIST firefox-60.0-ast.xpi 507866 BLAKE2B 
0be4fdffbcc51b20ef35464f0a3488fea9eeb1bbec01375dc40343f02353b85feb5a0a185259cfba7f6d5de851fa7f4b75c4bb0d9701dbd8fc556d18c0f495f6
 SHA512 
283f636f2a1b64d908742cebfbd04bac2f485d2473f1e5c560c113a84e67e1e880791aaec6a88c3c441312cec84d7ba461d0f597d5453d20886f7183aff68a9e
-DIST firefox-60.0-az.xpi 523975 BLAKE2B 
2e76c1374259b690361c0ce23bd239577ad6f0db4df545fc4c207132a50ffd020fd00cd1429aabc7ed94d3f744eea03cad1fd3d75d562fa51e90679c27ef68c5
 SHA512 
7215828146713d1bdbf1a419c76bc24823fde8400662ac6265bbf26543b13fdff9b5824e99d702481df6c97da497eff105668a5ec82001d68a681e9e4780e949
-DIST firefox-60.0-bg.xpi 573075 BLAKE2B 
95cfc43e00eaec80283af639bcecd81fa5b4f54115b104210ad361b8257c7e317b0d6620f6b2a9c9e8bc14b0e2c17c44d6a406dce96b89203c6752253c527457
 SHA512 
365a4f828b0022d6d7022fcae75e081ac656249769f269b141d99bc8b0b7e4a7bf4480094d4a7b646b58a581edca9d69797fb51f9281c3f0fc58e1f02676df15
-DIST firefox-60.0-bn-BD.xpi 589638 BLAKE2B 
9c22b41b603effe7a3b79b801fbbd712c994cdb627eee06e180c77f29952e42e624d74ec62cc7ed5d1cb1b32fe411a07d57b8307a4c0bb4ad8da911f22c28488
 SHA512 
91400026814b98f5f9d9180b2cea58bb2d8f13a8df4edd012689709f0c46b41291db50b17289d3acaa3a4555072c2b1f8bdd1e71b89dbe72aa0adde45c81e794
-DIST firefox-60.0-bn-IN.xpi 570084 BLAKE2B 
8e1d7fc5f72e3d4223d3e2e4b6182f0e239f4c0832b249c5f0623e3c271eb8859d7a979b5adaaa4f6751e5c56ca2c060ce4826c9d31ba7e3f04be84b623d6aa7
 SHA512 
f2f3934062ce87bdd6652419623472828cf1596abe01a698b39014a0faa2a1cd8c01c135313d2b1e1737da6dae6e2f31d9158ea4e47dab4d9f4cd07a822e84dd
-DIST firefox-60.0-br.xpi 511252 BLAKE2B 
81512330ccf917cabe85b03e2c2d76ecd90791903e4d76963e4409c6fa01897da2671d3069a84642efe80d15a23f3652794756190cf1b1ff96aa81d36d632e0f
 SHA512 
7258f991dd35cd2cb0eb09396c30ea2149d3061e677610312a93c2be55feccc9b649c3ae44c09bcebbee0be878c5c4186478a12d5e8425d01267f5bf1eac0290
-DIST firefox-60.0-bs.xpi 513930 BLAKE2B 

[gentoo-commits] proj/mozilla:master commit in: eclass/

2018-05-13 Thread Lars Wendler
commit: 302577ae7209120ffefc341056020b6a934fabe5
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun May 13 09:05:48 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun May 13 09:09:11 2018 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=302577ae

mozconfig-v6.60.eclass: Fixed cargo dependency.

Thanks to thican for filing the bug and providing a fix.

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

 eclass/mozconfig-v6.60.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/mozconfig-v6.60.eclass b/eclass/mozconfig-v6.60.eclass
index 464f14d..8208305 100644
--- a/eclass/mozconfig-v6.60.eclass
+++ b/eclass/mozconfig-v6.60.eclass
@@ -166,9 +166,9 @@ DEPEND="app-arch/zip
sys-apps/findutils
pulseaudio? ( media-sound/pulseaudio )
|| (
-   ( >=dev-lang/rust-1.24.0[-extended(-)] >=dev-util/cargo-0.24.0 )
+   ( >=dev-lang/rust-1.24.0[-extended(-)] >=dev-util/cargo-0.25.0 )
>=dev-lang/rust-1.24.0[extended]
-   ( >=dev-lang/rust-bin-1.24.0 >=dev-util/cargo-0.24.0 )
+   ( >=dev-lang/rust-bin-1.24.0 >=dev-util/cargo-0.25.0 )
)
${RDEPEND}"
 



[gentoo-commits] proj/mozilla:master commit in: eclass/

2018-02-19 Thread Jory Pratt
commit: c4d832dc7dfc223b7cd586a944007f050397243c
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Mon Feb 19 12:21:28 2018 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Mon Feb 19 12:21:28 2018 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=c4d832dc

eclass/mozconfig-v6.58 - pass --enable-system-pixman for good measure

 eclass/mozconfig-v6.58.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/mozconfig-v6.58.eclass b/eclass/mozconfig-v6.58.eclass
index c0a337e..4aab9a4 100644
--- a/eclass/mozconfig-v6.58.eclass
+++ b/eclass/mozconfig-v6.58.eclass
@@ -266,6 +266,7 @@ mozconfig_config() {
mozconfig_annotate '' --enable-system-ffi
mozconfig_annotate '' --disable-gconf
mozconfig_annotate '' --with-intl-api
+   mozconfig_annotate '' --enable-system-pixman
 
# skia has no support for big-endian platforms
if [[ $(tc-endian) == "big" ]]; then



[gentoo-commits] proj/mozilla:master commit in: eclass/

2018-01-31 Thread Ian Stakenvicius
commit: 264702c0fc4e7161298ee79af2690c722626d8ba
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Wed Jan 31 15:25:38 2018 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Wed Jan 31 15:25:38 2018 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=264702c0

mozcoreconf-*.eclass:  remove " append-flags $MAKEEDIT_FLAGS "

We do not inherit makeedit in this eclass and so the only ebuilds that had
anything to append were thunderbird ones.  Removing for simplicity rather
than inheriting makeedit.eclass to make the append work.

 eclass/mozcoreconf-v4.eclass | 3 ---
 eclass/mozcoreconf-v5.eclass | 3 ---
 2 files changed, 6 deletions(-)

diff --git a/eclass/mozcoreconf-v4.eclass b/eclass/mozcoreconf-v4.eclass
index dd24ca2..983a260 100644
--- a/eclass/mozcoreconf-v4.eclass
+++ b/eclass/mozcoreconf-v4.eclass
@@ -216,9 +216,6 @@ mozconfig_init() {
append-cxxflags -fno-delete-null-pointer-checks 
-fno-lifetime-dse -fno-schedule-insns2
fi
 
-   # Go a little faster; use less RAM
-   append-flags "$MAKEEDIT_FLAGS"
-
# Use the MOZILLA_FIVE_HOME for the rpath
append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags
# Set MOZILLA_FIVE_HOME in mozconfig

diff --git a/eclass/mozcoreconf-v5.eclass b/eclass/mozcoreconf-v5.eclass
index e845329..70dc868 100644
--- a/eclass/mozcoreconf-v5.eclass
+++ b/eclass/mozcoreconf-v5.eclass
@@ -218,9 +218,6 @@ mozconfig_init() {
append-cxxflags -fno-delete-null-pointer-checks 
-fno-lifetime-dse -fno-schedule-insns2
fi
 
-   # Go a little faster; use less RAM
-   append-flags "$MAKEEDIT_FLAGS"
-
# Use the MOZILLA_FIVE_HOME for the rpath
append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags
# Set MOZILLA_FIVE_HOME in mozconfig



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

2018-01-29 Thread Ian Stakenvicius
commit: 7dcd4a38bc022fc30526bfcd94d585c52ac2792a
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Tue Jan 30 04:05:36 2018 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Tue Jan 30 04:05:36 2018 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=7dcd4a38

adjust rust atoms for {firefox,mozconfig}-58 to match portage, from
Arfrever's suggestion in bug 646078

 eclass/mozconfig-v6.58.eclass| 11 +++
 www-client/firefox/firefox-58.0.1.ebuild |  2 --
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/eclass/mozconfig-v6.58.eclass b/eclass/mozconfig-v6.58.eclass
index c77e88e..c0a337e 100644
--- a/eclass/mozconfig-v6.58.eclass
+++ b/eclass/mozconfig-v6.58.eclass
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 #
-# @ECLASS: mozconfig-v6.57.eclass
+# @ECLASS: mozconfig-v6.58.eclass
 # @MAINTAINER:
 # mozilla team 
 # @BLURB: the new mozilla common configuration eclass for FF33 and newer, v6
@@ -165,8 +165,11 @@ DEPEND="app-arch/zip
>=sys-devel/binutils-2.16.1
sys-apps/findutils
pulseaudio? ( media-sound/pulseaudio )
-   >=virtual/rust-1.19.0
-   dev-util/cargo
+   || (
+   ( >=dev-lang/rust-1.21.0 >=dev-util/cargo-0.22.0 )
+   >=dev-lang/rust-1.21.0[extended]
+   ( >=dev-lang/rust-bin-1.21.0 >=dev-util/cargo-0.22.0 )
+   )
${RDEPEND}"
 
 RDEPEND+="

diff --git a/www-client/firefox/firefox-58.0.1.ebuild 
b/www-client/firefox/firefox-58.0.1.ebuild
index 4bcc046..02c0a80 100644
--- a/www-client/firefox/firefox-58.0.1.ebuild
+++ b/www-client/firefox/firefox-58.0.1.ebuild
@@ -56,8 +56,6 @@ RDEPEND="
selinux? ( sec-policy/selinux-mozilla )"
 
 DEPEND="${RDEPEND}
-   >=virtual/rust-1.21.0
-   >=dev-util/cargo-0.22.0
>=sys-devel/llvm-4.0.1
>=sys-devel/clang-4.0.1
amd64? ( ${ASM_DEPEND} virtual/opengl )



[gentoo-commits] proj/mozilla:master commit in: eclass/

2018-01-28 Thread Ian Stakenvicius
commit: 142e53e2913e00711827d3a984a7e9608c7957e8
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Mon Jan 29 05:11:35 2018 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Mon Jan 29 05:11:35 2018 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=142e53e2

mozconfig-v6.58: drop doubled pulseaudio dep

 eclass/mozconfig-v6.58.eclass | 2 --
 1 file changed, 2 deletions(-)

diff --git a/eclass/mozconfig-v6.58.eclass b/eclass/mozconfig-v6.58.eclass
index c3d5bc5..c77e88e 100644
--- a/eclass/mozconfig-v6.58.eclass
+++ b/eclass/mozconfig-v6.58.eclass
@@ -103,8 +103,6 @@ RDEPEND=">=app-text/hunspell-1.5.4:=
media-libs/fontconfig
>=media-libs/freetype-2.4.10
kernel_linux? ( !pulseaudio? ( media-libs/alsa-lib ) )
-   pulseaudio? ( || ( media-sound/pulseaudio
-   >=media-sound/apulse-0.1.9 ) )
virtual/freedesktop-icon-theme
dbus? ( >=sys-apps/dbus-0.60
>=dev-libs/dbus-glib-0.72 )



[gentoo-commits] proj/mozilla:master commit in: eclass/

2018-01-25 Thread Ian Stakenvicius
commit: 36d008f3dc566a979750b31ab226e63d73fc8642
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Fri Jan 26 04:26:52 2018 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Fri Jan 26 04:26:52 2018 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=36d008f3

mozconfig-v6.58.eclass: dependency bumps for ff58

 eclass/mozconfig-v6.58.eclass | 394 ++
 1 file changed, 394 insertions(+)

diff --git a/eclass/mozconfig-v6.58.eclass b/eclass/mozconfig-v6.58.eclass
new file mode 100644
index 000..c3d5bc5
--- /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 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.5.4:=
+   dev-libs/atk
+   dev-libs/expat
+  

[gentoo-commits] proj/mozilla:master commit in: eclass/

2018-01-25 Thread Ian Stakenvicius
commit: 39aa655a9a53a215c146027487168ad4a1f9fc72
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Thu Jan 25 22:01:13 2018 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Thu Jan 25 22:01:13 2018 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=39aa655a

mozextension.eclass: initial support for manifest.json exensions

Thanks to Sven B. for some initial legwork on this.  Work is not complete as
the extension installations should somehow also auto-validate themselves, but
it will at least prevent bugs such as bug 645636

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

 eclass/mozextension.eclass | 12 ++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/eclass/mozextension.eclass b/eclass/mozextension.eclass
index 9d22166..425da7e 100644
--- a/eclass/mozextension.eclass
+++ b/eclass/mozextension.eclass
@@ -69,10 +69,18 @@ xpi_install() {
[[ ${#} -ne 1 ]] && die "$FUNCNAME takes exactly one argument, please 
specify an xpi to unpack"
 
x="${1}"
-   cd ${x}
+   #cd ${x}
# determine id for extension
+   if [[ -f "${x}"/install.rdf ]]; then
emid="$(sed -n -e '/install-manifest/,$ { /em:id/!d; 
s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${x}"/install.rdf)" \
-   || die "failed to determine extension id"
+   || die "failed to determine extension id from install.rdf"
+   elif [[ -f "${x}"/manifest.json ]]; then
+   emid="$( sed -n 's/.*"id": "\(.*\)",/\1/p' "${x}"/manifest.json 
)" \
+   || die "failed to determine extension id from 
manifest.json"
+   else
+   die "failed to determine extension id"
+   fi
+
if [[ -n ${MOZEXTENSION_TARGET} ]]; then
insinto "${MOZILLA_FIVE_HOME}"/${MOZEXTENSION_TARGET%/}/${emid}
elif $(mozversion_extension_location) ; then



[gentoo-commits] proj/mozilla:master commit in: eclass/

2017-12-21 Thread Jory Pratt
commit: e9ceec84b04a5a1676f1fd10f028f1352e846a37
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Thu Dec 21 14:15:00 2017 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Thu Dec 21 14:15:00 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=e9ceec84

eclass/mozcoreconf-v5 - add AR and RANLIB back for toolchain detection

 eclass/mozcoreconf-v5.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/mozcoreconf-v5.eclass b/eclass/mozcoreconf-v5.eclass
index 02ade39..e845329 100644
--- a/eclass/mozcoreconf-v5.eclass
+++ b/eclass/mozcoreconf-v5.eclass
@@ -87,7 +87,7 @@ moz_pkgsetup() {
# Ensure we use correct toolchain
export HOST_CC="$(tc-getBUILD_CC)"
export HOST_CXX="$(tc-getBUILD_CXX)"
-   tc-export CC CXX LD PKG_CONFIG
+   tc-export CC CXX LD PKG_CONFIG AR RANLIB
 
# Ensure that we have a sane build enviroment
export MOZILLA_CLIENT=1



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

2017-12-21 Thread Jory Pratt
commit: cd64d7a99838e64000fa9d95da3b94da4b2e28ed
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Thu Dec 21 14:09:10 2017 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Thu Dec 21 14:09:10 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=cd64d7a9

www-client/firefox - Revert eclass and remove unsupported configure
option via ebuild

 eclass/mozcoreconf-v5.eclass  | 6 ++
 www-client/firefox/firefox-58.0_beta12.ebuild | 3 +++
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/eclass/mozcoreconf-v5.eclass b/eclass/mozcoreconf-v5.eclass
index e62193d..02ade39 100644
--- a/eclass/mozcoreconf-v5.eclass
+++ b/eclass/mozcoreconf-v5.eclass
@@ -87,7 +87,7 @@ moz_pkgsetup() {
# Ensure we use correct toolchain
export HOST_CC="$(tc-getBUILD_CC)"
export HOST_CXX="$(tc-getBUILD_CXX)"
-   tc-export CC CXX LD PKG_CONFIG AR RANLIB
+   tc-export CC CXX LD PKG_CONFIG
 
# Ensure that we have a sane build enviroment
export MOZILLA_CLIENT=1
@@ -224,9 +224,7 @@ mozconfig_init() {
# Use the MOZILLA_FIVE_HOME for the rpath
append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags
# Set MOZILLA_FIVE_HOME in mozconfig
-   if [[ ${PV} -lt 58.0 ]]; then
-   mozconfig_annotate '' 
--with-default-mozilla-five-home=${MOZILLA_FIVE_HOME}
-   fi
+   mozconfig_annotate '' 
--with-default-mozilla-five-home=${MOZILLA_FIVE_HOME}
 

#

diff --git a/www-client/firefox/firefox-58.0_beta12.ebuild 
b/www-client/firefox/firefox-58.0_beta12.ebuild
index 4b786b2..cf52f93 100644
--- a/www-client/firefox/firefox-58.0_beta12.ebuild
+++ b/www-client/firefox/firefox-58.0_beta12.ebuild
@@ -211,6 +211,9 @@ src_configure() {
echo "mk_add_options MOZ_OBJDIR=${BUILD_OBJ_DIR}" >> "${S}"/.mozconfig
echo "mk_add_options XARGS=/usr/bin/xargs" >> "${S}"/.mozconfig
 
+   # Default mozilla_five_home no longer valid option
+   sed '/with-default-mozilla-five-home=/d' -i "${S}"/.mozconfig
+
# Finalize and report settings
mozconfig_final
 



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

2017-11-25 Thread Jory Pratt
commit: 845bff3386e574fe474a22636a5604a636e9ce1d
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Sun Nov 26 02:10:29 2017 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Sun Nov 26 02:10:29 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=845bff33

www-client/firefox - initial 58.0 beta ebuild, many updates and bug
fixes are still needed use at own risk!!!

 eclass/mozcoreconf-v5.eclass   |   4 +-
 www-client/firefox/Manifest| 278 +++--
 ...refox-57.0.ebuild => firefox-58.0_beta6.ebuild} |  13 +-
 3 files changed, 102 insertions(+), 193 deletions(-)

diff --git a/eclass/mozcoreconf-v5.eclass b/eclass/mozcoreconf-v5.eclass
index e845329..e62193d 100644
--- a/eclass/mozcoreconf-v5.eclass
+++ b/eclass/mozcoreconf-v5.eclass
@@ -224,7 +224,9 @@ mozconfig_init() {
# Use the MOZILLA_FIVE_HOME for the rpath
append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags
# Set MOZILLA_FIVE_HOME in mozconfig
-   mozconfig_annotate '' 
--with-default-mozilla-five-home=${MOZILLA_FIVE_HOME}
+   if [[ ${PV} -lt 58.0 ]]; then
+   mozconfig_annotate '' 
--with-default-mozilla-five-home=${MOZILLA_FIVE_HOME}
+   fi
 

#

diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index 416b544..3ccfc2f 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -184,188 +184,96 @@ DIST firefox-56.0-xh.xpi 477837 SHA256 
bac603f5117493d0abb645efa8a63adabafb970f1
 DIST firefox-56.0-zh-CN.xpi 498978 SHA256 
91e2e7ca6b338bed8df0fdea0d4d773f5d7ca3f2749f0aa0617f622b4df8cff1 SHA512 
010407cc2160781aa4b033a8bc16a14cf6162a0cb672383941709eb9b8b3a63ad85d250493ce5ed29a5d2f3db369147685bafddd7bf692b2351eefdc367038f2
 WHIRLPOOL 
a14aec212e21662a26556d61b1fd38eaf3c61e6d6fb395ecb9ce35738fce9b626f412e9461e9eefaf7c5d3547e3907fc32e8259bb06b26ef70d51e70919019ff
 DIST firefox-56.0-zh-TW.xpi 497763 SHA256 
92f2d02297eb2cc688fabe0d5e3e62e70648292d0895fb564a27b906762435c6 SHA512 
c8bffbea3c010e03e14366c0d9b60ceaf7c56fe12369c2fb495e90da2b1397586aa960aa1b7e06786497519b6804f27c44531990ed5e083a8d3d0950df067082
 WHIRLPOOL 
07534cf2072d454998c26f5b1d3685ce93f1fa51e81ecbfcda56e378a2ba1498a267529316eb81c4c101af95766877a689459d353d28e5baa1a1a8f5afbfca9b
 DIST firefox-56.0.source.tar.xz 255389204 SHA256 
0d8b7e91429f622c25509b7e73530807506ef3ff9f749d962251a35ed2bfed7e SHA512 
3aeb0ff54e10c83894f61734daa4f0801a1bb499d4667adad9c78520e588eae809d0e4d61e9227206466d62c3b453e2ce9ca8198f59f5354cd1b6804c00f0990
 WHIRLPOOL 
0e1b3d0acd0fd17ef62d85aefd15165026f456c4d7ee5061ebed9dd69074f95367f910c929644b9295fe9b746643d834097fceeeb991059798b7053c7a723c79
-DIST firefox-57.0-ach.xpi 441112 SHA256 
ff5bbdfcca5270cf978173eb13ce10bfb4b51dbd1faeb9b69c50f689a1eb3dc4 SHA512 
38f9f9c5c19560b0b9f94d09f750dc1b5f03aefc611e12efa481521657452762e31045b8e35c8f33f4ad7acf80cf1ab2dfddf59b80325632a872378ec8b78601
 WHIRLPOOL 
dda54c92956f6c2aedf1b04fb48386094bcbb8123662cece9332c8841b7ffc789ce3d7730f3198fbffa71bdbc4f17179ce379f8d3e0d8cc8d77ccd7bc224340e
-DIST firefox-57.0-af.xpi 442205 SHA256 
65459a5914dba1de876bee7d867699ff033a9722a957675f973b5cf1213366b9 SHA512 
621e461c6e9be4a2c22460a3cd9b0e74749df10fd71c1ec5c52b4f6010ada217228c718d705004917d30cb62617655fb05ba34e0042c025ecd1b640f01eb1151
 WHIRLPOOL 
ae4da6f62a6b38c57e62840b3b404b7336c1ea56cc04846a712fefdb12f3ebe613e808f094221117254e05e5454400e09d939dc127d7ac1f88df05ec8281ebec
-DIST firefox-57.0-an.xpi 462777 SHA256 
d24b77cfdf3d5badd492c04f5984171bedbafcee31fb447930925e2c911e5261 SHA512 
59a341629b9eca3cc5bf6622e5302a89617cf1ed3710d747d05db2c2b8cae6690461f4eb78d7d03ed00bf748680e4c73b9e27ef1a48a3985f09dbc43ef145f86
 WHIRLPOOL 
79a19a7f4853c47d3525aac3ee62bea943937d691b06497c157ef19e574a5ba073bd7b06b2e07c08f158cab87fbd734fa67dc979014a4e386325c9b7b4db5cd6
-DIST firefox-57.0-ar.xpi 488159 SHA256 
06b0d8f7f34eb661f8f4944c26ddeee81e84bb00dd07dec4f1f06e54f1cdbe6f SHA512 
17f26986bf11096c937dca5428be82b138bb848632302c491b1613a125b4cb4f001ddaa5f8cff85882592ef3c5fc7d3a48f367065680d948cb85a0d29902
 WHIRLPOOL 
f23599046017b26105066ae5374bdcaca15dbe9378867e437fbee20cf956bd6d97d9ce979ace6d1eb2eab9f419e1a170e1cc95b3fe017cedeb47f70a99b3ecdd
-DIST firefox-57.0-as.xpi 491074 SHA256 
8229d02b5f8b88dea2a6e8f83db6c335c951ebf786f4d73fe28dde8457ae4d59 SHA512 
2ae732451c43f5cf1a1e529569f372720a6ecb2e766ea030126f7f08ebed3d91bd44e9fafc06f27ebee5f6c40f8df0f44d7b7bf77744cfce459e27941ee3032c
 WHIRLPOOL 
65b66e419a958050cdb54e19f171e3a74ec425c492dd24d60ab9c512e0c989fc238671e0523d206d4f632e596c4ce008a1d645165aef4d619d6c697172de9b3a
-DIST firefox-57.0-ast.xpi 455503 SHA256 
0f46b1d36c23ec86656208241e692f2f4fef6338285dd54621939a53672d497d SHA512 
ee684edbbf3b2e38bb71f1989c5c687b2768ebb0dd10226db9a6ca0fd37d4dacce0adb3de2f79f5c10841fe46fd778800d0f4a9c35316082a99777cc944cd1d6
 WHIRLPOOL 

[gentoo-commits] proj/mozilla:master commit in: eclass/

2017-11-14 Thread Ian Stakenvicius
commit: 4384a23daa6fa5b5bc5db36d07dd153716dbbd97
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Tue Nov 14 16:02:33 2017 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Tue Nov 14 16:02:33 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=4384a23d

add dev-util/cargo dependency, bug 621832

 eclass/mozconfig-v6.57.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/mozconfig-v6.57.eclass b/eclass/mozconfig-v6.57.eclass
index e31556e..8aed435 100644
--- a/eclass/mozconfig-v6.57.eclass
+++ b/eclass/mozconfig-v6.57.eclass
@@ -168,6 +168,7 @@ DEPEND="app-arch/zip
sys-apps/findutils
pulseaudio? ( media-sound/pulseaudio )
>=virtual/rust-1.19.0
+   dev-util/cargo
${RDEPEND}"
 
 RDEPEND+="



[gentoo-commits] proj/mozilla:master commit in: eclass/

2017-10-26 Thread Lars Wendler
commit: ea5382beffb39aa75cfd30924363c437ba66
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Oct 26 08:51:30 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Oct 26 08:52:28 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=ea53

mozextension.eclass: Prepare for usage with palemoon.

 eclass/mozextension.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/mozextension.eclass b/eclass/mozextension.eclass
index 58d04b2..9d22166 100644
--- a/eclass/mozextension.eclass
+++ b/eclass/mozextension.eclass
@@ -22,7 +22,7 @@ DEPEND="app-arch/unzip"
 
 mozversion_extension_location() {
case ${PN} in
-   firefox|firefox-bin)
+   firefox|firefox-bin|palemoon)
if [[ $(get_version_component_range 1) -ge 21 ]] ; then
return 0
fi



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

2017-10-25 Thread Jory Pratt
commit: 3f61a6740746d2d65876ee96776e5ccdbebc78d1
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Thu Oct 26 01:00:32 2017 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Thu Oct 26 01:00:32 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=3f61a674

www-client/firefox - enable stylo support for amd64

 eclass/mozconfig-v6.57.eclass | 393 ++
 www-client/firefox/firefox-57.0_beta10.ebuild |  15 +-
 2 files changed, 403 insertions(+), 5 deletions(-)

diff --git a/eclass/mozconfig-v6.57.eclass b/eclass/mozconfig-v6.57.eclass
new file mode 100644
index 000..e31556e
--- /dev/null
+++ b/eclass/mozconfig-v6.57.eclass
@@ -0,0 +1,393 @@
+# 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 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
+

[gentoo-commits] proj/mozilla:master commit in: eclass/

2017-09-28 Thread Ian Stakenvicius
commit: 58c93e029d17298214f58031b361d5cb370b56db
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Thu Sep 28 17:07:24 2017 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Thu Sep 28 17:07:24 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=58c93e02

mozconfig-v6.56.eclass: bump libpng dep to 1.6.31

 eclass/mozconfig-v6.56.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/mozconfig-v6.56.eclass b/eclass/mozconfig-v6.56.eclass
index b2bebb3..53057f0 100644
--- a/eclass/mozconfig-v6.56.eclass
+++ b/eclass/mozconfig-v6.56.eclass
@@ -98,7 +98,7 @@ RDEPEND=">=app-text/hunspell-1.5.4:=
>=x11-libs/gtk+-2.18:2
x11-libs/gdk-pixbuf
>=x11-libs/pango-1.22.0
-   >=media-libs/libpng-1.6.28:0=[apng]
+   >=media-libs/libpng-1.6.31:0=[apng]
>=media-libs/mesa-10.2:*
media-libs/fontconfig
>=media-libs/freetype-2.4.10



[gentoo-commits] proj/mozilla:master commit in: eclass/

2017-09-10 Thread Jory Pratt
commit: eeb075f6b755c0f13824590dbcbe8a3df4bcc42a
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Sun Sep 10 21:55:41 2017 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Sun Sep 10 21:55:41 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=eeb075f6

eclass/mozconfig-v6.56 - update icu dep

 eclass/mozconfig-v6.56.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/mozconfig-v6.56.eclass b/eclass/mozconfig-v6.56.eclass
index f1e7262..b2bebb3 100644
--- a/eclass/mozconfig-v6.56.eclass
+++ b/eclass/mozconfig-v6.56.eclass
@@ -121,7 +121,7 @@ RDEPEND=">=app-text/hunspell-1.5.4:=
x11-libs/libXfixes
x11-libs/libXrender
x11-libs/libXt
-   system-icu? ( >=dev-libs/icu-58.1:= )
+   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-sqlite? ( >=dev-db/sqlite-3.19.3:3[secure-delete,debug=] )



[gentoo-commits] proj/mozilla:master commit in: eclass/

2017-08-28 Thread Jory Pratt
commit: dc4967299a9f7e0ec39906bb14e9ab95fb61eb06
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Tue Aug 29 00:11:09 2017 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Tue Aug 29 00:11:09 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=dc496729

eclass/mozconfig-6.56 - add gold useflag for those wanting to use gold
linker

 eclass/mozconfig-v6.56.eclass | 10 ++
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/eclass/mozconfig-v6.56.eclass b/eclass/mozconfig-v6.56.eclass
index 0b3df0e..f1e7262 100644
--- a/eclass/mozconfig-v6.56.eclass
+++ b/eclass/mozconfig-v6.56.eclass
@@ -84,7 +84,7 @@ inherit flag-o-matic toolchain-funcs mozcoreconf-v5
 # 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
+IUSE="${IUSE} dbus debug gold neon pulseaudio selinux startup-notification 
system-harfbuzz
  system-icu system-jpeg system-libevent system-sqlite system-libvpx"
 
 # some notes on deps:
@@ -200,8 +200,11 @@ mozconfig_config() {
# Disable for testing purposes only
mozconfig_annotate 'Upstream bug 1341234' --disable-stylo
 
-   # Enable release to we use system ld
-   mozconfig_annotate 'gentoo ld support' --enable-release
+   # Must pass release in order to properly select linker via gold useflag
+   mozconfig_annotate 'Enable by Gentoo' --enable-release
+
+   # Must pass --enable-gold if using ld.gold
+   mozconfig_use_enable gold
 
if has bindist ${IUSE}; then
mozconfig_use_enable !bindist official-branding
@@ -254,7 +257,6 @@ mozconfig_config() {
mozconfig_annotate '' --disable-crashreporter
mozconfig_annotate 'Gentoo default' --with-system-png
mozconfig_annotate '' --enable-system-ffi
-   mozconfig_annotate 'Gentoo default to honor system linker' 
--disable-gold
mozconfig_annotate '' --disable-gconf
mozconfig_annotate '' --with-intl-api
 



[gentoo-commits] proj/mozilla:master commit in: eclass/

2017-08-22 Thread Lars Wendler
commit: e0c7313e6174286bc2574005ee9bfee91824f951
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Aug 22 14:56:08 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Aug 22 14:57:21 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=e0c7313e

mozcoreconf-v5.eclass: change 'eval unset' to 'unset'

 eclass/mozcoreconf-v5.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/mozcoreconf-v5.eclass b/eclass/mozcoreconf-v5.eclass
index eec3dd9..e845329 100644
--- a/eclass/mozcoreconf-v5.eclass
+++ b/eclass/mozcoreconf-v5.eclass
@@ -96,7 +96,7 @@ moz_pkgsetup() {
export USE_PTHREADS=1
export ALDFLAGS=${LDFLAGS}
# ensure MOZCONFIG is not defined
-   eval unset MOZCONFIG
+   unset MOZCONFIG
 
# set MOZILLA_FIVE_HOME
export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"



[gentoo-commits] proj/mozilla:master commit in: eclass/, profiles/, www-client/firefox/

2017-08-18 Thread Jory Pratt
commit: 6c4c2c651d59cf3c89778ad0b5204a4ef29b0409
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Fri Aug 18 11:47:17 2017 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Fri Aug 18 11:47:54 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=6c4c2c65

www-client/firefox - start preperation for 56.0 release

 eclass/mozconfig-v6.56.eclass| 386 +
 profiles/package.mask|   4 +-
 www-client/firefox/Manifest  |  93 +++
 www-client/firefox/firefox-56.0_beta2.ebuild | 402 +++
 4 files changed, 884 insertions(+), 1 deletion(-)

diff --git a/eclass/mozconfig-v6.56.eclass b/eclass/mozconfig-v6.56.eclass
new file mode 100644
index 000..760abb1
--- /dev/null
+++ b/eclass/mozconfig-v6.56.eclass
@@ -0,0 +1,386 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+#
+# @ECLASS: mozconfig-v6.55.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 system-libevent system-sqlite system-libvpx"
+
+# some notes on deps:
+# gtk:2 minimum is technically 2.10 but 

[gentoo-commits] proj/mozilla:master commit in: eclass/

2017-08-17 Thread Lars Wendler
commit: 44796ff061731a4f36b1ef98ee81c51e77ea72dc
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Aug 17 09:30:47 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Aug 17 09:30:47 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=44796ff0

mozconfig-v6.55.eclass: Adjusted libpng dependency (bug #628088).

 eclass/mozconfig-v6.55.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/mozconfig-v6.55.eclass b/eclass/mozconfig-v6.55.eclass
index 0b133c0..4c20d97 100644
--- a/eclass/mozconfig-v6.55.eclass
+++ b/eclass/mozconfig-v6.55.eclass
@@ -98,7 +98,7 @@ RDEPEND=">=app-text/hunspell-1.5.4:=
>=x11-libs/gtk+-2.18:2
x11-libs/gdk-pixbuf
>=x11-libs/pango-1.22.0
-   >=media-libs/libpng-1.6.28:0=[apng]
+   >=media-libs/libpng-1.6.29:0=[apng]
>=media-libs/mesa-10.2:*
media-libs/fontconfig
>=media-libs/freetype-2.4.10



[gentoo-commits] proj/mozilla:master commit in: eclass/

2017-07-24 Thread Ian Stakenvicius
commit: 7b2534d207753f9f0775c62461d61aac9f5144ab
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Mon Jul 24 18:19:09 2017 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Mon Jul 24 18:19:09 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=7b2534d2

export AR and RANLIB along with the other toolchain variables

 eclass/mozcoreconf-v5.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/mozcoreconf-v5.eclass b/eclass/mozcoreconf-v5.eclass
index 9a15798..eec3dd9 100644
--- a/eclass/mozcoreconf-v5.eclass
+++ b/eclass/mozcoreconf-v5.eclass
@@ -87,7 +87,7 @@ moz_pkgsetup() {
# Ensure we use correct toolchain
export HOST_CC="$(tc-getBUILD_CC)"
export HOST_CXX="$(tc-getBUILD_CXX)"
-   tc-export CC CXX LD PKG_CONFIG
+   tc-export CC CXX LD PKG_CONFIG AR RANLIB
 
# Ensure that we have a sane build enviroment
export MOZILLA_CLIENT=1



[gentoo-commits] proj/mozilla:master commit in: eclass/

2017-06-06 Thread Jory Pratt
commit: 5df57a6c6ba6b0ac3b13a53a840d0cf038389ec2
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Tue Jun  6 17:52:41 2017 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Tue Jun  6 17:52:41 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=5df57a6c

eclass/mozcoreconf-v5: Force -O2 optimization if gcc-7 or better is used

 eclass/mozcoreconf-v5.eclass | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/eclass/mozcoreconf-v5.eclass b/eclass/mozcoreconf-v5.eclass
index 4ecfbd8..9a15798 100644
--- a/eclass/mozcoreconf-v5.eclass
+++ b/eclass/mozcoreconf-v5.eclass
@@ -156,7 +156,9 @@ mozconfig_init() {

 
# Set optimization level
-   if [[ ${ARCH} == hppa ]]; then
+   if [[ $(gcc-major-version) -ge 7 ]]; then
+   mozconfig_annotate "Workaround known breakage" 
--enable-optimize=-O2
+   elif [[ ${ARCH} == hppa ]]; then
mozconfig_annotate "more than -O0 causes a segfault on hppa" 
--enable-optimize=-O0
elif [[ ${ARCH} == x86 ]]; then
mozconfig_annotate "less then -O2 causes a segfault on x86" 
--enable-optimize=-O2



[gentoo-commits] proj/mozilla:master commit in: eclass/

2017-05-31 Thread Jory Pratt
commit: b991ecbf4b64801c61eb85687e55ce4078159c4a
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Wed May 31 20:38:36 2017 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Wed May 31 20:38:36 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=b991ecbf

Revert "Revert "Revert "eclass/mozcoreconf-v5: Work around broken optimization 
level of -Os"""

This reverts commit bd950bc8aaa8170b0495f46218a77912396d0046. Maybe it
will not revert the revert this time around

 eclass/mozcoreconf-v5.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/mozcoreconf-v5.eclass b/eclass/mozcoreconf-v5.eclass
index 854b3cb..4ecfbd8 100644
--- a/eclass/mozcoreconf-v5.eclass
+++ b/eclass/mozcoreconf-v5.eclass
@@ -158,8 +158,8 @@ mozconfig_init() {
# Set optimization level
if [[ ${ARCH} == hppa ]]; then
mozconfig_annotate "more than -O0 causes a segfault on hppa" 
--enable-optimize=-O0
-   elif [[ ${ARCH} =~ (x86|amd64) ]]; then
-   mozconfig_annotate "Work around broken gcc optimization level" 
--enable-optimize=-O2
+   elif [[ ${ARCH} == x86 ]]; then
+   mozconfig_annotate "less then -O2 causes a segfault on x86" 
--enable-optimize=-O2
elif use custom-optimization || [[ ${ARCH} =~ (alpha|ia64) ]]; then
# Set optimization level based on CFLAGS
if is-flag -O0; then



[gentoo-commits] proj/mozilla:master commit in: eclass/

2017-05-31 Thread Jory Pratt
commit: bd950bc8aaa8170b0495f46218a77912396d0046
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Wed May 31 20:37:19 2017 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Wed May 31 20:37:19 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=bd950bc8

Revert "Revert "eclass/mozcoreconf-v5: Work around broken optimization level of 
-Os""

This reverts commit d0ba26e4a868bddfe2166dd1c37b48f51f8f2d86.

 eclass/mozcoreconf-v5.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/mozcoreconf-v5.eclass b/eclass/mozcoreconf-v5.eclass
index 4ecfbd8..854b3cb 100644
--- a/eclass/mozcoreconf-v5.eclass
+++ b/eclass/mozcoreconf-v5.eclass
@@ -158,8 +158,8 @@ mozconfig_init() {
# Set optimization level
if [[ ${ARCH} == hppa ]]; then
mozconfig_annotate "more than -O0 causes a segfault on hppa" 
--enable-optimize=-O0
-   elif [[ ${ARCH} == x86 ]]; then
-   mozconfig_annotate "less then -O2 causes a segfault on x86" 
--enable-optimize=-O2
+   elif [[ ${ARCH} =~ (x86|amd64) ]]; then
+   mozconfig_annotate "Work around broken gcc optimization level" 
--enable-optimize=-O2
elif use custom-optimization || [[ ${ARCH} =~ (alpha|ia64) ]]; then
# Set optimization level based on CFLAGS
if is-flag -O0; then



[gentoo-commits] proj/mozilla:master commit in: eclass/

2017-05-31 Thread Jory Pratt
commit: d0ba26e4a868bddfe2166dd1c37b48f51f8f2d86
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Wed May 31 20:37:11 2017 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Wed May 31 20:37:11 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=d0ba26e4

Revert "eclass/mozcoreconf-v5: Work around broken optimization level of -Os"

This reverts commit 96e3a035a6d0c39b3816a750eb2282fd60dff3e4.

 eclass/mozcoreconf-v5.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/mozcoreconf-v5.eclass b/eclass/mozcoreconf-v5.eclass
index 854b3cb..4ecfbd8 100644
--- a/eclass/mozcoreconf-v5.eclass
+++ b/eclass/mozcoreconf-v5.eclass
@@ -158,8 +158,8 @@ mozconfig_init() {
# Set optimization level
if [[ ${ARCH} == hppa ]]; then
mozconfig_annotate "more than -O0 causes a segfault on hppa" 
--enable-optimize=-O0
-   elif [[ ${ARCH} =~ (x86|amd64) ]]; then
-   mozconfig_annotate "Work around broken gcc optimization level" 
--enable-optimize=-O2
+   elif [[ ${ARCH} == x86 ]]; then
+   mozconfig_annotate "less then -O2 causes a segfault on x86" 
--enable-optimize=-O2
elif use custom-optimization || [[ ${ARCH} =~ (alpha|ia64) ]]; then
# Set optimization level based on CFLAGS
if is-flag -O0; then



[gentoo-commits] proj/mozilla:master commit in: eclass/

2017-05-31 Thread Jory Pratt
commit: 96e3a035a6d0c39b3816a750eb2282fd60dff3e4
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Wed May 31 20:19:07 2017 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Wed May 31 20:19:07 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=96e3a035

eclass/mozcoreconf-v5: Work around broken optimization level of -Os

 eclass/mozcoreconf-v5.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/mozcoreconf-v5.eclass b/eclass/mozcoreconf-v5.eclass
index 4ecfbd8..854b3cb 100644
--- a/eclass/mozcoreconf-v5.eclass
+++ b/eclass/mozcoreconf-v5.eclass
@@ -158,8 +158,8 @@ mozconfig_init() {
# Set optimization level
if [[ ${ARCH} == hppa ]]; then
mozconfig_annotate "more than -O0 causes a segfault on hppa" 
--enable-optimize=-O0
-   elif [[ ${ARCH} == x86 ]]; then
-   mozconfig_annotate "less then -O2 causes a segfault on x86" 
--enable-optimize=-O2
+   elif [[ ${ARCH} =~ (x86|amd64) ]]; then
+   mozconfig_annotate "Work around broken gcc optimization level" 
--enable-optimize=-O2
elif use custom-optimization || [[ ${ARCH} =~ (alpha|ia64) ]]; then
# Set optimization level based on CFLAGS
if is-flag -O0; then



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

2017-05-18 Thread Ian Stakenvicius
commit: 4570c0ce38f479568c9f0f78ed1bb0e9e5127814
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Fri May 19 03:02:25 2017 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Fri May 19 03:03:22 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=4570c0ce

Revert "Added USE=+webrtc to firefox, thunderbird, etc." and "update manifest 
for ff52.1.1"

This reverts commit b8653e68e9c450fa40c85296660b7a01815168fd and
commit b189371fa92c6b2d8f762b9ddd43d0185a1a4bda.  USE=-webrtc still doesnt build
and so needs further work before it will be reintroduced.

 eclass/mozconfig-v6.52.eclass  |   3 +-
 eclass/mozconfig-v6.53.eclass  |   3 +-
 www-client/firefox/Manifest| 184 ++---
 ...efox-52.1.1.ebuild => firefox-52.1.0-r1.ebuild} |   0
 4 files changed, 94 insertions(+), 96 deletions(-)

diff --git a/eclass/mozconfig-v6.52.eclass b/eclass/mozconfig-v6.52.eclass
index 5d5770c..c859aa7 100644
--- a/eclass/mozconfig-v6.52.eclass
+++ b/eclass/mozconfig-v6.52.eclass
@@ -85,7 +85,7 @@ inherit flag-o-matic toolchain-funcs mozcoreconf-v5
 
 # use-flags common among all mozilla ebuilds
 IUSE="${IUSE} dbus debug +jemalloc neon pulseaudio selinux 
startup-notification system-cairo
-   system-harfbuzz system-icu system-jpeg system-libevent system-sqlite 
system-libvpx +webrtc"
+   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
@@ -311,7 +311,6 @@ mozconfig_config() {
if use kernel_linux && ! use pulseaudio ; then
mozconfig_annotate '-pulseaudio' --enable-alsa
fi
-   use webrtc || mozconfig_annotate '-webrtc' --disable-webrtc
 
mozconfig_use_enable system-cairo
mozconfig_use_enable system-sqlite

diff --git a/eclass/mozconfig-v6.53.eclass b/eclass/mozconfig-v6.53.eclass
index 38ae6a2..d15c47e 100644
--- a/eclass/mozconfig-v6.53.eclass
+++ b/eclass/mozconfig-v6.53.eclass
@@ -85,7 +85,7 @@ inherit flag-o-matic toolchain-funcs mozcoreconf-v5
 
 # use-flags common among all mozilla ebuilds
 IUSE="${IUSE} dbus debug +jemalloc neon pulseaudio selinux 
startup-notification system-cairo
-   system-harfbuzz system-icu system-jpeg system-libevent system-sqlite 
system-libvpx +webrtc"
+   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
@@ -314,7 +314,6 @@ mozconfig_config() {
if use kernel_linux && ! use pulseaudio ; then
mozconfig_annotate '-pulseaudio' --enable-alsa
fi
-   use webrtc || mozconfig_annotate '-webrtc' --disable-webrtc
 
mozconfig_use_enable system-cairo
mozconfig_use_enable system-sqlite

diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index 56eb060..8965075 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -1,96 +1,96 @@
 DIST firefox-52.0-patches-08.tar.xz 10084 SHA256 
2acdd54fd4268a1a1a12905fb3586981d55bad5269b8f380a54aa65fc4268a4f SHA512 
974edc753230429a52c820c82d8b78ea727b1e42a10fcd562b9e4173920f369a78550e6517e32cfea64d19a92c658ef1cebb29c59165fe8aaa587ec20107c835
 WHIRLPOOL 
ab2c1520bf795ef48e564fb81ce812e11e7f4f4a2fe472ad85b045011344f359c62ec0c4c83e4ad196d3d891eef8ef52b462a77b6f1485a75eeabc1487462410
-DIST firefox-52.1.1esr-ach.xpi 427640 SHA256 
348be72fd695283aae6cecea8436b89e17db304ad860438a4d72edf2b377c60a SHA512 
d4825d5cabfc1a568a210c193860e014c78e49c03c88916988ea65711d33e706c64be1ec2b0b04a5e9b671483cbac7f97127dbcd686940d28c419ecd3199ed5f
 WHIRLPOOL 
81b7110002b69962715101041d209cdb3e62d12837bc23a7a089738a4c99a1dc0221cd6ff979b0fbaf1fe83892d6ed4a270acd5cecbe2d8774212bfde88f4d88
-DIST firefox-52.1.1esr-af.xpi 436823 SHA256 
96a2b0ab5f2d0ad80e63726fe02914ed4f345c6a504183b471f6c1293619f31c SHA512 
0587a16f00e900c0427439fb29672b64e83c2df547e293cc36aaea39b7874eee1d8904eabca98d8606db55e6ef1928c476651cf563b51a5455e5561787fa9b41
 WHIRLPOOL 
d14342ba731298c991a7b5133b7c8ece31e4638a4ad53a15438eddbf3cbaada28a98c38cfec29338d2e8a216b37a3d2f0f7dd3092c4f6e4e7c06f2498bd013d8
-DIST firefox-52.1.1esr-an.xpi 445142 SHA256 
20f6874bb15b8de911ef3268ae1d4a40accefe02fa7438df341aabbf7ebe SHA512 
85ee6c6a3d59c323c8f8ff27e05fcade431c5c1ade7bbd8892d100c60b961fd77c14e4fa2c2fb7bdcec31dded97362cbe2df0536ef97f4496250f7371b1e5118
 WHIRLPOOL 
b80c58be4e63bdad696251833f266392ef471676ed78852e30d350030ce1f6168db6479002b1eebf6081a0633ee669ef376688afc575d64bc96beb17febac4e7
-DIST firefox-52.1.1esr-ar.xpi 473381 SHA256 
7e98ee43e2855b844541269bbccde59f8ce741428c3cf9919aed044e6e43ef98 SHA512 
7eec626c6439a6f011782ef04a261543e5367a3aabec35b5c7d63578adcc52b57c3f3b65823da74b85aff5c2a65b3bd3e2882fb265aaae02ac5efe43b592aa35
 WHIRLPOOL 

[gentoo-commits] proj/mozilla:master commit in: eclass/

2017-05-04 Thread Ian Stakenvicius
commit: e864fe3daa606444a43535c4a95e6215d8165cd1
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Thu May  4 17:46:02 2017 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Thu May  4 17:46:02 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=e864fe3d

Add support for EXTRA_ECONF processing

 eclass/mozconfig-v6.52.eclass |   2 +-
 eclass/mozconfig-v6.53.eclass |   6 +-
 eclass/mozcoreconf-v5.eclass  | 278 ++
 3 files changed, 282 insertions(+), 4 deletions(-)

diff --git a/eclass/mozconfig-v6.52.eclass b/eclass/mozconfig-v6.52.eclass
index 9b3ca13..c859aa7 100644
--- a/eclass/mozconfig-v6.52.eclass
+++ b/eclass/mozconfig-v6.52.eclass
@@ -26,7 +26,7 @@ case ${EAPI} in
;;
 esac
 
-inherit flag-o-matic toolchain-funcs mozcoreconf-v4
+inherit flag-o-matic toolchain-funcs mozcoreconf-v5
 
 # @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_WIFI
 # @DESCRIPTION:

diff --git a/eclass/mozconfig-v6.53.eclass b/eclass/mozconfig-v6.53.eclass
index 9222c7b..d15c47e 100644
--- a/eclass/mozconfig-v6.53.eclass
+++ b/eclass/mozconfig-v6.53.eclass
@@ -1,7 +1,7 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 #
-# @ECLASS: mozconfig-v6.52.eclass
+# @ECLASS: mozconfig-v6.53.eclass
 # @MAINTAINER:
 # mozilla team 
 # @BLURB: the new mozilla common configuration eclass for FF33 and newer, v6
@@ -26,7 +26,7 @@ case ${EAPI} in
;;
 esac
 
-inherit flag-o-matic toolchain-funcs mozcoreconf-v4
+inherit flag-o-matic toolchain-funcs mozcoreconf-v5
 
 # @ECLASS-VARIABLE: MOZCONFIG_OPTIONAL_WIFI
 # @DESCRIPTION:

diff --git a/eclass/mozcoreconf-v5.eclass b/eclass/mozcoreconf-v5.eclass
new file mode 100644
index 000..4ecfbd8
--- /dev/null
+++ b/eclass/mozcoreconf-v5.eclass
@@ -0,0 +1,278 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+#
+# @ECLASS: mozcoreconf-v5.eclass
+# @MAINTAINER:
+# Mozilla team 
+# @BLURB: core options and configuration functions for mozilla
+# @DESCRIPTION:
+#
+# inherit mozconfig-v6.* or above for mozilla configuration support
+
+# @ECLASS-VARIABLE: MOZILLA_FIVE_HOME
+# @DESCRIPTION:
+# This is an eclass-generated variable that defines the rpath that the mozilla
+# product will be installed in.  Read-only
+
+if [[ ! ${_MOZCORECONF} ]]; then
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE='ncurses,sqlite,ssl,threads'
+
+inherit multilib toolchain-funcs flag-o-matic python-any-r1 versionator
+
+IUSE="${IUSE} custom-cflags custom-optimization"
+
+DEPEND="virtual/pkgconfig
+   ${PYTHON_DEPS}"
+
+# @FUNCTION: mozconfig_annotate
+# @DESCRIPTION:
+# add an annotated line to .mozconfig
+#
+# Example:
+# mozconfig_annotate "building on ultrasparc" --enable-js-ultrasparc
+# => ac_add_options --enable-js-ultrasparc # building on ultrasparc
+mozconfig_annotate() {
+   declare reason=$1 x ; shift
+   [[ $# -gt 0 ]] || die "mozconfig_annotate missing flags for ${reason}\!"
+   for x in ${*}; do
+   echo "ac_add_options ${x} # ${reason}" >>.mozconfig
+   done
+}
+
+# @FUNCTION: mozconfig_use_enable
+# @DESCRIPTION:
+# add a line to .mozconfig based on a USE-flag
+#
+# Example:
+# mozconfig_use_enable truetype freetype2
+# => ac_add_options --enable-freetype2 # +truetype
+mozconfig_use_enable() {
+   declare flag=$(use_enable "$@")
+   mozconfig_annotate "$(use $1 && echo +$1 || echo -$1)" "${flag}"
+}
+
+# @FUNCTION mozconfig_use_with
+# @DESCRIPTION
+# add a line to .mozconfig based on a USE-flag
+#
+# Example:
+# mozconfig_use_with kerberos gss-api /usr/$(get_libdir)
+# => ac_add_options --with-gss-api=/usr/lib # +kerberos
+mozconfig_use_with() {
+   declare flag=$(use_with "$@")
+   mozconfig_annotate "$(use $1 && echo +$1 || echo -$1)" "${flag}"
+}
+
+# @FUNCTION mozconfig_use_extension
+# @DESCRIPTION
+# enable or disable an extension based on a USE-flag
+#
+# Example:
+# mozconfig_use_extension gnome gnomevfs
+# => ac_add_options --enable-extensions=gnomevfs
+mozconfig_use_extension() {
+   declare minus=$(use $1 || echo -)
+   mozconfig_annotate "${minus:-+}$1" --enable-extensions=${minus}${2}
+}
+
+moz_pkgsetup() {
+   # Ensure we use C locale when building
+   export LANG="C"
+   export LC_ALL="C"
+   export LC_MESSAGES="C"
+   export LC_CTYPE="C"
+
+   # Ensure we use correct toolchain
+   export HOST_CC="$(tc-getBUILD_CC)"
+   export HOST_CXX="$(tc-getBUILD_CXX)"
+   tc-export CC CXX LD PKG_CONFIG
+
+   # Ensure that we have a sane build enviroment
+   export MOZILLA_CLIENT=1
+   export BUILD_OPT=1
+   export NO_STATIC_LIB=1
+   export USE_PTHREADS=1
+   export ALDFLAGS=${LDFLAGS}
+   # ensure MOZCONFIG is not defined
+   eval unset MOZCONFIG
+
+   # set MOZILLA_FIVE_HOME
+ 

[gentoo-commits] proj/mozilla:master commit in: eclass/

2017-04-28 Thread Ian Stakenvicius
commit: 1fc67dfbf0f9e5bbd0ab78631187c93c4cb5c39e
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Fri Apr 28 13:58:10 2017 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Fri Apr 28 13:58:10 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=1fc67dfb

bump graphite2 version requirements to ensure un-vulnerable for firefox-53

 eclass/mozconfig-v6.53.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/mozconfig-v6.53.eclass b/eclass/mozconfig-v6.53.eclass
index 18d5c0f..9222c7b 100644
--- a/eclass/mozconfig-v6.53.eclass
+++ b/eclass/mozconfig-v6.53.eclass
@@ -126,7 +126,7 @@ RDEPEND=">=app-text/hunspell-1.5.4:=
system-libevent? ( >=dev-libs/libevent-2.0:0= )
system-sqlite? ( >=dev-db/sqlite-3.17.0:3[secure-delete,debug=] )
system-libvpx? ( >=media-libs/libvpx-1.5.0:0=[postproc] )
-   system-harfbuzz? ( >=media-libs/harfbuzz-1.3.3:0= 
>=media-gfx/graphite2-1.3.8 )
+   system-harfbuzz? ( >=media-libs/harfbuzz-1.3.3:0= 
>=media-gfx/graphite2-1.3.9-r1 )
 "
 
 if [[ -n ${MOZCONFIG_OPTIONAL_GTK3} ]]; then



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

2017-04-26 Thread Ian Stakenvicius
commit: 7c968e3cf79024eb6440c3628474ebc8b5401a33
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Wed Apr 26 20:30:18 2017 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Wed Apr 26 20:30:18 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=7c968e3c

disable cairo-gtk2 toolkit support for 53 and newer via new mozconfig eclass

 eclass/mozconfig-v6.53.eclass  | 388 +
 www-client/firefox/firefox-53.0.ebuild |   9 +-
 2 files changed, 389 insertions(+), 8 deletions(-)

diff --git a/eclass/mozconfig-v6.53.eclass b/eclass/mozconfig-v6.53.eclass
new file mode 100644
index 000..18d5c0f
--- /dev/null
+++ b/eclass/mozconfig-v6.53.eclass
@@ -0,0 +1,388 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+#
+# @ECLASS: mozconfig-v6.52.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-v4
+
+# @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 +jemalloc neon pulseaudio selinux 
startup-notification system-cairo
+   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
+# media-libs/mesa needs to be 10.2 or 

[gentoo-commits] proj/mozilla:master commit in: eclass/

2017-04-19 Thread Ian Stakenvicius
commit: ed71e116374035350f0a2f48a691568938461e6a
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Wed Apr 19 20:58:59 2017 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Wed Apr 19 20:59:43 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=ed71e116

mozconfig-v6.52.eclass: fix trailing whitespace

 eclass/mozconfig-v6.52.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/mozconfig-v6.52.eclass b/eclass/mozconfig-v6.52.eclass
index a6bab7a..9b3ca13 100644
--- a/eclass/mozconfig-v6.52.eclass
+++ b/eclass/mozconfig-v6.52.eclass
@@ -201,7 +201,7 @@ mozconfig_config() {
fi
fi
 
-   # Enable position independent executables 
+   # Enable position independent executables
mozconfig_annotate 'enabled by Gentoo' --enable-pie
mozconfig_use_enable debug
mozconfig_use_enable debug tests



[gentoo-commits] proj/mozilla:master commit in: eclass/

2017-04-19 Thread Ian Stakenvicius
commit: 702da39ce75491b2dd91b612ad86e2d6ee585b8e
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Wed Apr 19 20:31:22 2017 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Wed Apr 19 20:39:49 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=702da39c

mozconfig-v6.52.eclass: remove obsolete USE=skia conditional on arm

Thanks to Zdeněk Žamberský for the patch.

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

 eclass/mozconfig-v6.52.eclass | 4 
 1 file changed, 4 deletions(-)

diff --git a/eclass/mozconfig-v6.52.eclass b/eclass/mozconfig-v6.52.eclass
index f66ed06..a6bab7a 100644
--- a/eclass/mozconfig-v6.52.eclass
+++ b/eclass/mozconfig-v6.52.eclass
@@ -328,10 +328,6 @@ mozconfig_config() {
fi
if [[ ${CHOST} == armv* ]] ; then
mozconfig_annotate '' --with-float-abi=hard
-   if ! use skia ; then
-   mozconfig_annotate 'Gentoo forces skia for arm' 
--enable-skia
-   fi
-
if ! use system-libvpx ; then
sed -i -e "s|softfp|hard|" \
"${S}"/media/libvpx/moz.build



[gentoo-commits] proj/mozilla:master commit in: eclass/

2017-04-19 Thread Ian Stakenvicius
commit: 4536b7c764a769967eb6dd000f48ec156bc9ea17
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Wed Apr 19 13:46:22 2017 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Wed Apr 19 20:39:47 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=4536b7c7

mozconfig-v6.52.eclass: fix a missed gtk3 -> force-gtk3 flag migration

 eclass/mozconfig-v6.52.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/mozconfig-v6.52.eclass b/eclass/mozconfig-v6.52.eclass
index 783a0ed..f66ed06 100644
--- a/eclass/mozconfig-v6.52.eclass
+++ b/eclass/mozconfig-v6.52.eclass
@@ -262,9 +262,9 @@ mozconfig_config() {
local toolkit="cairo-gtk2"
local toolkit_comment=""
if [[ -n ${MOZCONFIG_OPTIONAL_GTK3} ]]; then
-   if use gtk3; then
+   if use force-gtk3; then
toolkit="cairo-gtk3"
-   toolkit_comment="gtk3 use flag"
+   toolkit_comment="force-gtk3 use flag"
fi
fi
if [[ -n ${MOZCONFIG_OPTIONAL_GTK2ONLY} ]]; then



[gentoo-commits] proj/mozilla:master commit in: eclass/

2017-04-13 Thread Ian Stakenvicius
commit: 3bb4e9bf65b18417198de98dadb1a9164c951f8d
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Thu Apr 13 02:13:22 2017 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Thu Apr 13 17:34:46 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=3bb4e9bf

mozconfig-v6.52.eclass: add media-sound/pulseaudio to DEPEND

 eclass/mozconfig-v6.52.eclass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/eclass/mozconfig-v6.52.eclass b/eclass/mozconfig-v6.52.eclass
index 1486b4e..783a0ed 100644
--- a/eclass/mozconfig-v6.52.eclass
+++ b/eclass/mozconfig-v6.52.eclass
@@ -163,9 +163,12 @@ DEPEND="app-arch/zip
app-arch/unzip
>=sys-devel/binutils-2.16.1
sys-apps/findutils
+   pulseaudio? ( media-sound/pulseaudio )
${RDEPEND}"
 
 RDEPEND+="
+   pulseaudio? ( || ( media-sound/pulseaudio
+   >=media-sound/apulse-0.1.9 ) )
selinux? ( sec-policy/selinux-mozilla )"
 
 # @FUNCTION: mozconfig_config



[gentoo-commits] proj/mozilla:master commit in: eclass/

2017-04-04 Thread Ian Stakenvicius
commit: 9dc9f89c5993a894a689b47937bb0883fdfd18b1
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Tue Apr  4 19:42:45 2017 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Tue Apr  4 19:42:45 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=9dc9f89c

fixed dependency on apulse to make it an alternative to pulseaudio instead of a 
requirement

 eclass/mozconfig-v6.52.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/mozconfig-v6.52.eclass b/eclass/mozconfig-v6.52.eclass
index 409c8ad..1486b4e 100644
--- a/eclass/mozconfig-v6.52.eclass
+++ b/eclass/mozconfig-v6.52.eclass
@@ -103,8 +103,8 @@ RDEPEND=">=app-text/hunspell-1.2:=
media-libs/fontconfig
>=media-libs/freetype-2.4.10
kernel_linux? ( !pulseaudio? ( media-libs/alsa-lib ) )
-   pulseaudio? ( media-sound/pulseaudio
-   >=media-sound/apulse-0.1.9 )
+   pulseaudio? ( || ( media-sound/pulseaudio
+   >=media-sound/apulse-0.1.9 ) )
virtual/freedesktop-icon-theme
dbus? ( >=sys-apps/dbus-0.60
>=dev-libs/dbus-glib-0.72 )



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

2017-03-21 Thread Ian Stakenvicius
commit: 7b9108ac1812fc53d9dfc00d0cf0312bf3ee697b
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Tue Mar 21 19:29:35 2017 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Tue Mar 21 19:29:35 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=7b9108ac

bump ESR to firefox-52.0.1, integrate recent fixes from gentoo repo

 eclass/mozconfig-v6.52.eclass  |   5 +-
 www-client/firefox/Manifest| 273 ++-
 www-client/firefox/firefox-45.8.0.ebuild   | 369 -
 .../{firefox-52.0.ebuild => firefox-52.0.1.ebuild} |   7 +-
 4 files changed, 99 insertions(+), 555 deletions(-)

diff --git a/eclass/mozconfig-v6.52.eclass b/eclass/mozconfig-v6.52.eclass
index 801d4c8..c260153 100644
--- a/eclass/mozconfig-v6.52.eclass
+++ b/eclass/mozconfig-v6.52.eclass
@@ -99,7 +99,7 @@ RDEPEND=">=app-text/hunspell-1.2:=
>=media-libs/mesa-10.2:*
media-libs/fontconfig
>=media-libs/freetype-2.4.10
-   kernel_linux? ( media-libs/alsa-lib )
+   kernel_linux? ( !pulseaudio? ( media-libs/alsa-lib ) )
pulseaudio? ( media-sound/pulseaudio )
virtual/freedesktop-icon-theme
dbus? ( >=sys-apps/dbus-0.60
@@ -301,6 +301,9 @@ mozconfig_config() {
mozconfig_annotate '' --host="${CBUILD:-${CHOST}}"
 
mozconfig_use_enable pulseaudio
+   if ! use pulseaudio ; then
+   mozconfig_annotate '-pulseaudio' --enable-alsa
+   fi
 
mozconfig_use_enable system-cairo
mozconfig_use_enable system-sqlite

diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index 3d1aecd..650d6d8 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -1,180 +1,93 @@
-DIST firefox-45.0-patches-12.tar.xz 22040 SHA256 
563d7bbe67aa4379ab0a9b460aa397aa2a8e9d1cadcf776490beb7349230c6c1 SHA512 
be9981818e549d79f8557427dd506b9c473922c0043384563c1fd92e4c6c96c91afb8bb01d4499a3a61b463ecf2875bc776fef0f279c0f2fc3625602cb47880b
 WHIRLPOOL 
4f100eadb5aae49731344d526ba482c97dfecebfd20de533e4986e3a0463ebe31853bf1f9faf914a6fcfab82936a52cbda2add84c019fd6ab15ea086115e5bef
-DIST firefox-45.8.0esr-ach.xpi 426530 SHA256 
e8337d1951aa8484bfade7a3157529a78a0d6882c4d332e880e1ac1063e028f1 SHA512 
d28c5bed4cc0fe07825859e6b0894c45de183be642a0a1152faea336e323428ebba201add73ff4e4e44f4a9255ef4e579372f7aac1d70a10bad99d082179e663
 WHIRLPOOL 
43a3d9d9e3cee0f371218e87eab80fa87bf60c2df7c6f556aca3f616cadba8e149eea2f7bf7aeba9a6ded69d9f3470e18b38c57d9ffcdf81a52757f6fc2d
-DIST firefox-45.8.0esr-af.xpi 439353 SHA256 
b0d0ff680ae288fca3f319fa54a2607f980845c0384e153523b764fcf4d475b4 SHA512 
262f715bd7e89a33a95755b79d84d446bdc1c614948129eeb82bc0c4314679e91309adf0e1c5a4a1b5eab19aafb15e738332113ff74b51a32f6a014b2c4980cd
 WHIRLPOOL 
8713b616c58feb07ffb7a38c45342bab1f02957dcc1da57fc6a6213804171a332686fd2f0b07619d39318f101db5ffafe0768c2d92adf3c881a3721fafad657e
-DIST firefox-45.8.0esr-an.xpi 449036 SHA256 
8897ebf779339512753770d00cafad01e514e8eec6f89e1887cde3c5c5256209 SHA512 
3c12373e2c3ff3aacf0a1e1ccc768ca62a14489d9350cb9a1fcf818570587b25c08cb9388f1425f7fd569d6dfa46c75a336e12ead6b50fe47887d221c543e7f8
 WHIRLPOOL 
e53e3827f728f1d73969d15ca75d83ec5fbab2f998ba4da16cbe614f77fb077ec92b31974b41b73c9562b22e57427fba57f354114045d555bf401695428d69a6
-DIST firefox-45.8.0esr-ar.xpi 474961 SHA256 
7a2142e9eee1f9d798070da889301b0750b7c80aaea511fac6dfa38dc1e2e873 SHA512 
2a685db116c88707b19077a03c966e0fd7e0b0d548c35c34c4c997133d757e58da10a438c840af712bbd7f04c10974b3ef0058a1370e62b717f914a5236f9047
 WHIRLPOOL 
c0de95563be2c88271fad35fecc6e85e7469f284ba0976b12434f398a724ead1831f50901c6b234dca09684d1c3633324ed62d79aae0f5cd88a7b231b6509300
-DIST firefox-45.8.0esr-as.xpi 483096 SHA256 
58a788699e8f2930085b72edbfa03939e82f170258db92bdc7d8b44a4ec695e6 SHA512 
f974f57a3e5668ddc9806968dd17efc27f51138bdfaade9eddb29b84252c729599972c63ec7392c7637f28d62c27004b22877e889c2f83b2bcebfeb8b63807a5
 WHIRLPOOL 
47bca8425dc4b6fca2306e898189143753a88c2f891bec1bb0296de7cb048e5c8be76b192ded07febcaa683f78bbe98835c6177634a957da6479955dd9238c1d
-DIST firefox-45.8.0esr-ast.xpi 419250 SHA256 
b0dabf6bd67b1bece44728ad600c919bfa0498bc593228b5a2ca46ad0574c7a5 SHA512 
adb5956de20b336778e044a3f1886a47fab94d0ed75cd22d3ff6ff7efecc4e5258a80cda751ea61eaab0b9374af53b20bc566b6ef898c44a40a2d7f10db33e7a
 WHIRLPOOL 
e18f7e644518d26867559222d455137e232295a156aa48a7c5630ba254710aa32c96669cb89fa1dabe16d96c44b57582fbc13e41410b189c47bf02de91e8959a
-DIST firefox-45.8.0esr-az.xpi 464018 SHA256 
e794b077c1a3e1d0c560dc95f69dcb90a03168032f34ab7822eb44c31ac5782a SHA512 
fae45159368a162582cb29dd55d21d8de918d1f5a0145a84a28b7fb9b9e2543bd3eb603989059f9f6fb33bac4c99d65db886ccff307fbe3c84ef42977da14274
 WHIRLPOOL 
03d3c4e3829c832272f229289f529673fe9ead6d6c26288fef74584a413f0842a6eda695b2a07f712463d49b0dda2406c0d451d8d8c4f6e216a12565c527
-DIST firefox-45.8.0esr-be.xpi 442619 SHA256 

[gentoo-commits] proj/mozilla:master commit in: eclass/

2017-03-20 Thread Andrew Savchenko
commit: 623bf962a02fc6faa417ec9d5bbbc1016eb33eb1
Author: Andrew Savchenko  gmail  com>
AuthorDate: Mon Mar 20 21:45:06 2017 +
Commit: Andrew Savchenko  gentoo  org>
CommitDate: Mon Mar 20 21:45:06 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=623bf962

Revert apulse changes

PA headers must be installed in order to compile firefox, this
should be fixed at media-sound/pulseaudio first.

 eclass/mozconfig-v6.52.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/mozconfig-v6.52.eclass b/eclass/mozconfig-v6.52.eclass
index 1dcf64f..801d4c8 100644
--- a/eclass/mozconfig-v6.52.eclass
+++ b/eclass/mozconfig-v6.52.eclass
@@ -100,7 +100,7 @@ RDEPEND=">=app-text/hunspell-1.2:=
media-libs/fontconfig
>=media-libs/freetype-2.4.10
kernel_linux? ( media-libs/alsa-lib )
-   pulseaudio? || ( media-sound/pulseaudio >=media-sound/apulse-0.1.9 )
+   pulseaudio? ( media-sound/pulseaudio )
virtual/freedesktop-icon-theme
dbus? ( >=sys-apps/dbus-0.60
>=dev-libs/dbus-glib-0.72 )



[gentoo-commits] proj/mozilla:master commit in: eclass/

2017-03-20 Thread Andrew Savchenko
commit: 224593c5a4db93fe1d3043da01168fcd4e907654
Author: Andrew Savchenko  gmail  com>
AuthorDate: Mon Mar 20 19:22:16 2017 +
Commit: Andrew Savchenko  gentoo  org>
CommitDate: Mon Mar 20 19:22:16 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=224593c5

Forgot || () clause, sorry :/

 eclass/mozconfig-v6.52.eclass | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/eclass/mozconfig-v6.52.eclass b/eclass/mozconfig-v6.52.eclass
index d2cedd9..1dcf64f 100644
--- a/eclass/mozconfig-v6.52.eclass
+++ b/eclass/mozconfig-v6.52.eclass
@@ -100,8 +100,7 @@ RDEPEND=">=app-text/hunspell-1.2:=
media-libs/fontconfig
>=media-libs/freetype-2.4.10
kernel_linux? ( media-libs/alsa-lib )
-   pulseaudio? ( >=media-sound/apulse-0.1.9
-   media-sound/pulseaudio )
+   pulseaudio? || ( media-sound/pulseaudio >=media-sound/apulse-0.1.9 )
virtual/freedesktop-icon-theme
dbus? ( >=sys-apps/dbus-0.60
>=dev-libs/dbus-glib-0.72 )



[gentoo-commits] proj/mozilla:master commit in: eclass/

2017-03-20 Thread Andrew Savchenko
commit: bdc42409698c7231e66560b6bd97bba105066fb0
Author: Andrew Savchenko  gmail  com>
AuthorDate: Mon Mar 20 17:30:47 2017 +
Commit: Andrew Savchenko  gentoo  org>
CommitDate: Mon Mar 20 17:30:47 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=bdc42409

Add apulse as alternative pulseaudio backend

>=media-sound/apulse-0.1.9 is suitable for firefox

 eclass/mozconfig-v6.52.eclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/eclass/mozconfig-v6.52.eclass b/eclass/mozconfig-v6.52.eclass
index 22c6d44..a63084a 100644
--- a/eclass/mozconfig-v6.52.eclass
+++ b/eclass/mozconfig-v6.52.eclass
@@ -101,7 +101,8 @@ RDEPEND=">=app-text/hunspell-1.2:=
media-libs/fontconfig
>=media-libs/freetype-2.4.10
kernel_linux? ( media-libs/alsa-lib )
-   pulseaudio? ( media-sound/pulseaudio )
+   pulseaudio? ( >=media-sound/apulse-0.1.9
+   media-sound/pulseaudio )
virtual/freedesktop-icon-theme
dbus? ( >=sys-apps/dbus-0.60
>=dev-libs/dbus-glib-0.72 )



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

2017-03-20 Thread Ian Stakenvicius
commit: 0379fb90513ccbf78f47a7fd89af58a3f2ed0b35
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Mon Mar 20 14:54:02 2017 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Mon Mar 20 14:54:02 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=0379fb90

firefox-52.0: fix a few outstanding bugs, still some left before release

 eclass/mozconfig-v6.52.eclass  | 6 +-
 www-client/firefox/firefox-52.0.ebuild | 3 +++
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/eclass/mozconfig-v6.52.eclass b/eclass/mozconfig-v6.52.eclass
index 5465168..22c6d44 100644
--- a/eclass/mozconfig-v6.52.eclass
+++ b/eclass/mozconfig-v6.52.eclass
@@ -123,7 +123,7 @@ RDEPEND=">=app-text/hunspell-1.2:=
system-libevent? ( >=dev-libs/libevent-2.0:0= )
system-sqlite? ( >=dev-db/sqlite-3.17.0:3[secure-delete,debug=] )
system-libvpx? ( >=media-libs/libvpx-1.5.0:0=[postproc] )
-   system-harfbuzz? ( >=media-libs/harfbuzz-1.3.3:0=[icu] 
>=media-gfx/graphite2-1.3.8 )
+   system-harfbuzz? ( >=media-libs/harfbuzz-1.3.3:0= 
>=media-gfx/graphite2-1.3.8 )
 "
 
 if [[ -n ${MOZCONFIG_OPTIONAL_GTK3} ]]; then
@@ -172,10 +172,6 @@ DEPEND="app-arch/zip
 RDEPEND+="
selinux? ( sec-policy/selinux-mozilla )"
 
-# force system-icu if system-harfbuzz is selected, to avoid potential ABI 
issues
-REQUIRED_USE="
-   system-harfbuzz? ( system-icu )"
-
 # @FUNCTION: mozconfig_config
 # @DESCRIPTION:
 # Set common configure options for mozilla packages.

diff --git a/www-client/firefox/firefox-52.0.ebuild 
b/www-client/firefox/firefox-52.0.ebuild
index 36a447d..7bffa3c 100644
--- a/www-client/firefox/firefox-52.0.ebuild
+++ b/www-client/firefox/firefox-52.0.ebuild
@@ -124,6 +124,9 @@ src_unpack() {
 }
 
 src_prepare() {
+   # Remove obsolete patches
+   rm "${WORKDIR}"/firefox/2003_include_sysmacros_h.patch
+
# Apply our patches
eapply "${WORKDIR}/firefox"
 



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

2017-03-17 Thread Ian Stakenvicius
commit: a6efa746ea755cf23560018dc4c4833a4dc1fda8
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Sat Mar 18 00:44:25 2017 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Sat Mar 18 00:44:25 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=a6efa746

firefox-52.0 version bump, still has bugs

 eclass/mozconfig-v6.52.eclass  |  6 +-
 www-client/firefox/Manifest| 93 +-
 ...refox-52.0_beta8.ebuild => firefox-52.0.ebuild} |  2 -
 3 files changed, 95 insertions(+), 6 deletions(-)

diff --git a/eclass/mozconfig-v6.52.eclass b/eclass/mozconfig-v6.52.eclass
index 35ec0d9..5465168 100644
--- a/eclass/mozconfig-v6.52.eclass
+++ b/eclass/mozconfig-v6.52.eclass
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 #
-# @ECLASS: mozconfig-v6.46.eclass
+# @ECLASS: mozconfig-v6.52.eclass
 # @MAINTAINER:
 # mozilla team 
 # @BLURB: the new mozilla common configuration eclass for FF33 and newer, v6
@@ -118,12 +118,12 @@ 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-56.1:= )
+   system-icu? ( >=dev-libs/icu-58.1:= )
system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
system-libevent? ( >=dev-libs/libevent-2.0:0= )
system-sqlite? ( >=dev-db/sqlite-3.17.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 )
+   system-harfbuzz? ( >=media-libs/harfbuzz-1.3.3:0=[icu] 
>=media-gfx/graphite2-1.3.8 )
 "
 
 if [[ -n ${MOZCONFIG_OPTIONAL_GTK3} ]]; then

diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index 3fa738b..3d1aecd 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -85,5 +85,96 @@ DIST firefox-45.8.0esr-xh.xpi 432918 SHA256 
d77e888447b44be1716f36f36f599823ea61
 DIST firefox-45.8.0esr-zh-CN.xpi 475797 SHA256 
295990f964e9926f20b6a5f06e06686a88a9199a7e4a48e9fa2132e6338cff0c SHA512 
5060fae862325558a1965c17d40fc5dd106da92b07fe1d9e89858597d3251737667166d4df073ca701f633b5ec5f4a3f8321abb59c85a5829f2bcb58b75f08df
 WHIRLPOOL 
00056c6e442134a0895da420ee18c07806d2c41658d396dea6e4917238cf2b7a1dc8cf51790dea46fa826b0b64c0cbe9a6fa0fca9600ae9160a6595dcafd9abf
 DIST firefox-45.8.0esr-zh-TW.xpi 466529 SHA256 
004c22566602ef5c3905f0d8818018fc77d9f8022c97e15bb9f2841c9711fde3 SHA512 
5cca12667ee2c283ed13912369c3cc20983c891be4e31a912c3167da7eaa9b6eee84d7ae2c67ae09c336d6e03360181d366575f89690d4c9761c5d80a9c7edc3
 WHIRLPOOL 
600d0e128284513b2e24bb951ce30769d27423290ac68b5e7309c46ac0c9fdb17bfc46317236e220145d950cb13c45ff02b808412496816750ef48a4e7dff889
 DIST firefox-45.8.0esr.source.tar.xz 185229628 SHA256 
7e28decd81f78070b433c69ebd7498f2e46e7cc5c5c6bff9a8cd7380d09da17a SHA512 
f7b5e0c659b2e824cee7f3784e2d72c562915af91c7e316ec1519305755d2126d91b74c47f96c8b4fc7377710f295545c58b2f989c65c268fc23677ef8cf5c85
 WHIRLPOOL 
75f04e3666cfca5eee698c1ee9724b6ffdc5fc71569e356385ddb9a161667b870f52f00dde5d914a81e39253a1db0574b31612507330d6c0f884db0b9a40732c
+DIST firefox-52.0-ach.xpi 427636 SHA256 
3cbbcf4422b7789f28e3086ef788fc1a44db2f6a9ce4a5629a3d4c8287a3dcad SHA512 
4bcbbe3dc1530eb4490f906fef260f69814303f6497fbaff3d1118d634252f415d57a6c52cf69deca8916c448f4fc72c437860ee07eb6cbff5b1ee9ecde66aae
 WHIRLPOOL 
676dad37bfc15ebcd41a44c9d5d76e4095da92bb8115bda33e3e4ace4f9acc8778d52c91ba947fae1803241066f6af14cdea522aa00ac0f4620d6ef3b922d1ea
+DIST firefox-52.0-af.xpi 436820 SHA256 
fcf4684463e6476dd26686d7b7c6196fd1310a0df317fbcc88f9e9147d947864 SHA512 
783e6b0ccfb6e807a57a6741166111078fdabca40919e3f100ad35bbd2c22ad143be6c103bdae2b6a393310f22684fbef7615b1207310060b66152e19d6a19d8
 WHIRLPOOL 
e220b7434311fad6075d0d05bcbfe1b8ed8c2da44065b50a91bb0b98bdeb3aabbd7fcc255f20d905ed1e3d28c9ba2ca9af103ea65468c781ff5196221e4fc73f
+DIST firefox-52.0-an.xpi 445139 SHA256 
78436260d053e966c9b663d26c72122bace217a56a15d181f551d45add1601d5 SHA512 
2c5add1a6efd0ac20598876b6d1552fc3881763b32e79e707155a378fe8fcb7c4b083fa26f9202b4169f0c4452d86be9a6fb45009a86cac826264c02272be5a5
 WHIRLPOOL 
bc39a6f0f7892607e945af5cad413a6c6270f23765acc2c0462e081df1608d082a80ceae1b9cfa901ce2f33bd22b7375cd563dcb8a61496ce99a62bbe2a81364
+DIST firefox-52.0-ar.xpi 473379 SHA256 
95fa9333298e64c9c9943bcc455126a483d3904b5ade6810f2deed091234ed76 SHA512 
045169044d042dc35ade23a894f024eb3bb04c6c03c0dd4af69c035b3e7f053f7c1087b79e96b0c7d95411a531ab33b7f4e8512bee1cce36897568131cc0b148
 WHIRLPOOL 
a8a33e7ca97964aed20670d276f036271dba08b4114dab366eae07cbcdb42ea36b31ace6c96e3063c7c06654f7f5b8ba21f1fbecc19ef191101a3cd6fbdea017
+DIST firefox-52.0-as.xpi 486885 SHA256 
b66741a77e99c5021a7fa4e0e780223829ae53829a0947493f9fbbbf7f5319c2 SHA512 

[gentoo-commits] proj/mozilla:master commit in: eclass/, www-client/firefox/, dev-db/sqlite/files/, dev-db/sqlite/, ...

2017-02-20 Thread Jory Pratt
commit: d4ae11d6bc50ac6c3ba4d474ecf90c5c46ccfb80
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Tue Feb 21 02:13:09 2017 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Tue Feb 21 02:13:09 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=d4ae11d6

dev-db/sqlite,www-client/firefox,mail-client/thunderbird: Update sqlite
dep, update beta versions

 dev-db/sqlite/Manifest |   3 +
 .../files/sqlite-3.16.0-full_tarball-build.patch   | 147 
 .../sqlite-3.16.0-nonfull_tarball-build.patch  |  14 ++
 dev-db/sqlite/metadata.xml |  19 ++
 dev-db/sqlite/sqlite-3.17.0.ebuild | 261 +
 eclass/mozconfig-v6.52.eclass  |   2 +-
 mail-client/thunderbird/Manifest   |   4 +-
 ..._beta2.ebuild => thunderbird-52.0_beta3.ebuild} |   4 +-
 www-client/firefox/Manifest|   2 +-
 ...52.0_beta6.ebuild => firefox-52.0_beta8.ebuild} |   2 +-
 10 files changed, 451 insertions(+), 7 deletions(-)

diff --git a/dev-db/sqlite/Manifest b/dev-db/sqlite/Manifest
new file mode 100644
index 000..68bd2ce
--- /dev/null
+++ b/dev-db/sqlite/Manifest
@@ -0,0 +1,3 @@
+DIST sqlite-autoconf-317.tar.gz 2515143 SHA256 
a4e485ad3a16e054765baf6371826b5000beed07e626510896069c0bf013874c SHA512 
bebf2693ade1c99b6a178bbe663f64911bf7751932a2524506994cbbb19ab254e7febe3693a76084e55853c1ea85db9e4ece87192422583555fbe569915a2ca8
 WHIRLPOOL 
c3ddeb9691470dfd10950ef36bca8f05f06faa171e3ee87da66d431ba364b7dd903b1350b8ab1aae445a2696ea56dd3f0c50e07d25bc83a09d673a9b92c84e3f
+DIST sqlite-doc-317.zip 5533032 SHA256 
3102d9eab879074776216357e4c9e272f63d0cda975a0819ec5baba5e0922ff6 SHA512 
6a7813be301416dc59401b7732733f44efad60b458ded0f4ed8d845aab0843a1123dd20d1e6f209dd32184a87bcd7e68e213e3676c43d1d05d2df5acc2c64b74
 WHIRLPOOL 
dc1c9b6802985be34ac7819e08883c456a0a76fb1822eff46b26613760063b72888d34323cf15f0f48be69555c0b07b99424a85f29ac580c4ad8fa46b990b723
+DIST sqlite-src-317.zip 10120844 SHA256 
86754bee6bcaf1f2a6bf4a02676eb3a43d22d4e5d8339e217424cb2be6b748c3 SHA512 
e60381de33fbf566507454e4f1dfb7d3ada554e5c919f05f0dd2f96a6f266adaa62681437f21fdea1c24de57fb6141b798f97854918faa189b507f12f11e0d36
 WHIRLPOOL 
535c598f7bb9ddbecdd1ca841c0ecf398831c494c99c38542d1cbb756d8333260d6891aa36167aeba75df83fbaf402465dc65c9b3a7fb6685fa54420cb1a1342

diff --git a/dev-db/sqlite/files/sqlite-3.16.0-full_tarball-build.patch 
b/dev-db/sqlite/files/sqlite-3.16.0-full_tarball-build.patch
new file mode 100644
index 000..60907e7
--- /dev/null
+++ b/dev-db/sqlite/files/sqlite-3.16.0-full_tarball-build.patch
@@ -0,0 +1,147 @@
+Link executables against libsqlite3.so.
+Increase timeout for fuzzcheck.
+Fix building with dlopen() not available.
+
+--- Makefile.in
 Makefile.in
+@@ -562,6 +562,7 @@
+ #
+ SHELL_OPT = -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_FTS4
+ # SHELL_OPT += -DSQLITE_ENABLE_FTS5
++SHELL_OPT += -DSQLITE_ENABLE_DBSTAT_VTAB
+ SHELL_OPT += -DSQLITE_ENABLE_EXPLAIN_COMMENTS
+ SHELL_OPT += -DSQLITE_ENABLE_UNKNOWN_SQL_FUNCTION
+ FUZZERSHELL_OPT = -DSQLITE_ENABLE_JSON1
+@@ -586,25 +587,25 @@
+ 
+ libtclsqlite3.la: tclsqlite.lo libsqlite3.la
+   $(LTLINK) -no-undefined -o $@ tclsqlite.lo \
+-  libsqlite3.la @TCL_STUB_LIB_SPEC@ $(TLIBS) \
++  libsqlite3.la @TCL_STUB_LIB_SPEC@ \
+   -rpath "$(TCLLIBDIR)" \
+   -version-info "8:6:8" \
+   -avoid-version
+ 
+-sqlite3$(TEXE):   $(TOP)/src/shell.c sqlite3.c
+-  $(LTLINK) $(READLINE_FLAGS) $(SHELL_OPT) -o $@ \
+-  $(TOP)/src/shell.c sqlite3.c \
+-  $(LIBREADLINE) $(TLIBS) -rpath "$(libdir)"
++sqlite3$(TEXE):   $(TOP)/src/shell.c libsqlite3.la
++  $(LTLINK) $(READLINE_FLAGS) -o $@ \
++  $(TOP)/src/shell.c libsqlite3.la \
++  $(LIBREADLINE)
+ 
+-sqldiff$(TEXE):   $(TOP)/tool/sqldiff.c sqlite3.lo sqlite3.h
+-  $(LTLINK) -o $@ $(TOP)/tool/sqldiff.c sqlite3.lo $(TLIBS)
++sqldiff$(TEXE):   $(TOP)/tool/sqldiff.c libsqlite3.la
++  $(LTLINK) -o $@ $(TOP)/tool/sqldiff.c libsqlite3.la
+ 
+-dbhash$(TEXE):$(TOP)/tool/dbhash.c sqlite3.lo sqlite3.h
+-  $(LTLINK) -o $@ $(TOP)/tool/dbhash.c sqlite3.lo $(TLIBS)
++dbhash$(TEXE):$(TOP)/tool/dbhash.c libsqlite3.la
++  $(LTLINK) -o $@ $(TOP)/tool/dbhash.c libsqlite3.la
+ 
+-scrub$(TEXE): $(TOP)/ext/misc/scrub.c sqlite3.lo
++scrub$(TEXE): $(TOP)/ext/misc/scrub.c libsqlite3.la
+   $(LTLINK) -o $@ -I. -DSCRUB_STANDALONE \
+-  $(TOP)/ext/misc/scrub.c sqlite3.lo $(TLIBS)
++  $(TOP)/ext/misc/scrub.c libsqlite3.la
+ 
+ srcck1$(BEXE):$(TOP)/tool/srcck1.c
+   $(BCC) -o srcck1$(BEXE) $(TOP)/tool/srcck1.c
+@@ -679,7 +680,7 @@
+ # Rule to build the amalgamation
+ #
+ sqlite3.lo:   sqlite3.c
+-  $(LTCOMPILE) $(TEMP_STORE) -c sqlite3.c
++  $(LTCOMPILE) $(SHELL_OPT) $(TEMP_STORE) -c sqlite3.c
+ 
+ # Rules 

[gentoo-commits] proj/mozilla:master commit in: eclass/

2017-02-05 Thread Jory Pratt
commit: 6f170f91d36420b53be07a169095eedf2b33f5c5
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Mon Feb  6 02:29:35 2017 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Mon Feb  6 02:29:58 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=6f170f91

eclass/* : remove obsolete eclasses

 eclass/mozconfig-v6.38.eclass | 256 -
 eclass/mozconfig-v6.39.eclass | 240 
 eclass/mozconfig-v6.41.eclass | 263 --
 eclass/mozconfig-v6.42.eclass | 282 
 eclass/mozconfig-v6.44.eclass | 340 --
 eclass/mozconfig-v6.46.eclass | 408 
 eclass/mozconfig-v6.47.eclass | 420 --
 eclass/mozconfig-v6.48.eclass | 409 
 eclass/mozcoreconf-v3.eclass  | 261 --
 eclass/mozlinguas.eclass  | 321 
 10 files changed, 3200 deletions(-)

diff --git a/eclass/mozconfig-v6.38.eclass b/eclass/mozconfig-v6.38.eclass
deleted file mode 100644
index 7f70597..000
--- a/eclass/mozconfig-v6.38.eclass
+++ /dev/null
@@ -1,256 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-#
-# @ECLASS: mozconfig-v5.33.eclass
-# @MAINTAINER:
-# mozilla team 
-# @BLURB: the new mozilla common configuration eclass for FF33 and newer, v5
-# @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.
-
-# use-flags common among all mozilla ebuilds
-IUSE="${IUSE} dbus debug gstreamer gstreamer-0 +jemalloc3 neon pulseaudio 
selinux startup-notification system-cairo system-icu system-jpeg 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.16: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? ( >=sys-apps/dbus-0.60
-   >=dev-libs/dbus-glib-0.72 )
-   startup-notification? ( >=x11-libs/startup-notification-0.8 )
-   >=dev-libs/glib-2.26:2
-   >=sys-libs/zlib-1.2.3
-   >=virtual/libffi-3.0.10
-   gstreamer? (
-   >=media-libs/gstreamer-1.4.5:1.0
-   >=media-libs/gst-plugins-base-1.4.5:1.0
-   >=media-libs/gst-plugins-good-1.4.5:1.0
-   >=media-plugins/gst-plugins-libav-1.4.5:1.0
-   )
-   gstreamer-0? (
-   media-plugins/gst-plugins-meta:0.10[ffmpeg]
-   )
-   x11-libs/libX11
-   x11-libs/libXcomposite
-   x11-libs/libXdamage
-   x11-libs/libXext
-   x11-libs/libXfixes
-   x11-libs/libXrender
-   x11-libs/libXt
-   system-cairo? ( >=x11-libs/cairo-1.12[X] 

[gentoo-commits] proj/mozilla:master commit in: eclass/

2017-02-04 Thread Jory Pratt
commit: 8ee02457326d71cbbf1700f9308f65f1bb38b7f5
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Sat Feb  4 18:30:09 2017 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Sat Feb  4 18:30:09 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=8ee02457

mozconfig-v6.45 : fix space error in previous commit

 eclass/mozconfig-v6.45.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/mozconfig-v6.45.eclass b/eclass/mozconfig-v6.45.eclass
index 2c4fbee..15e65ab 100644
--- a/eclass/mozconfig-v6.45.eclass
+++ b/eclass/mozconfig-v6.45.eclass
@@ -118,7 +118,7 @@ RDEPEND=">=app-text/hunspell-1.2:=
system-cairo? ( >=x11-libs/cairo-1.12[X,xcb] >=x11-libs/pixman-0.19.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-libevent? ( >=dev-libs/libevent-2.0:0= )
system-sqlite? ( >=dev-db/sqlite-3.9.1:3[secure-delete,debug=] )
system-harfbuzz? ( >=media-libs/harfbuzz-1.1.3:0=[graphite,icu] 
>=media-gfx/graphite2-1.3.8 )
 "



[gentoo-commits] proj/mozilla:master commit in: eclass/

2017-02-02 Thread Jory Pratt
commit: af41d67611aa734ac98f3261819ec93b889a0c86
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Fri Feb  3 03:40:33 2017 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Fri Feb  3 03:40:33 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=af41d676

eclass/mozconfig-v6.51 : Remove all QT references code was removed in
50.0

 eclass/mozconfig-v6.51.eclass | 33 -
 1 file changed, 33 deletions(-)

diff --git a/eclass/mozconfig-v6.51.eclass b/eclass/mozconfig-v6.51.eclass
index d27e22a..638309f 100644
--- a/eclass/mozconfig-v6.51.eclass
+++ b/eclass/mozconfig-v6.51.eclass
@@ -149,24 +149,6 @@ else
RDEPEND+="
>=x11-libs/gtk+-2.18:2"
 fi
-if [[ -n ${MOZCONFIG_OPTIONAL_QT5} ]]; then
-   inherit qmake-utils
-   if [[ ${MOZCONFIG_OPTIONAL_QT5} = "enabled" ]]; then
-   IUSE+=" +qt5"
-   else
-   IUSE+=" qt5"
-   fi
-   RDEPEND+="
-   qt5? (
-   dev-qt/qtcore:5
-   dev-qt/qtgui:5
-   dev-qt/qtnetwork:5
-   dev-qt/qtprintsupport:5
-   dev-qt/qtwidgets:5
-   dev-qt/qtxml:5
-   dev-qt/qtdeclarative:5
-   )"
-fi
 if [[ -n ${MOZCONFIG_OPTIONAL_WIFI} ]]; then
if [[ ${MOZCONFIG_OPTIONAL_WIFI} = "enabled" ]]; then
IUSE+=" +wifi"
@@ -180,13 +162,6 @@ if [[ -n ${MOZCONFIG_OPTIONAL_WIFI} ]]; then
net-misc/networkmanager )
)"
 fi
-if [[ -n ${MOZCONFIG_OPTIONAL_JIT} ]]; then
-   if [[ ${MOZCONFIG_OPTIONAL_JIT} = "enabled" ]]; then
-   IUSE+=" +jit"
-   else
-   IUSE+=" jit"
-   fi
-fi
 
 DEPEND="app-arch/zip
app-arch/unzip
@@ -201,14 +176,6 @@ RDEPEND+="
 REQUIRED_USE="
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} ]] && \
-   REQUIRED_USE+=" ?? ( gtk3 qt5 )"
-
-# only one of gtk2 or qt5 should be permitted to be selected, since only one 
will be used.
-[[ -n ${MOZCONFIG_OPTIONAL_GTK2ONLY} ]] && [[ -n ${MOZCONFIG_OPTIONAL_QT5} ]] 
&& \
-   REQUIRED_USE+=" ?? ( gtk2 qt5 )"
-
 # @FUNCTION: mozconfig_config
 # @DESCRIPTION:
 # Set common configure options for mozilla packages.



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

2017-02-01 Thread Jory Pratt
commit: c411efec7ca1c033380bc0ccd219b34356055272
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Thu Feb  2 03:42:36 2017 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Thu Feb  2 03:42:36 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=c411efec

www-client/firefox : 52.0_beta2 update, fix skia breakage in eclass

 eclass/mozconfig-v6.51.eclass   | 2 +-
 www-client/firefox/Manifest | 2 +-
 .../firefox/{firefox-52.0_beta1.ebuild => firefox-52.0_beta2.ebuild}| 0
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/mozconfig-v6.51.eclass b/eclass/mozconfig-v6.51.eclass
index 1e451f8..d27e22a 100644
--- a/eclass/mozconfig-v6.51.eclass
+++ b/eclass/mozconfig-v6.51.eclass
@@ -286,7 +286,7 @@ mozconfig_config() {
mozconfig_annotate 'Gentoo default' --with-system-png
mozconfig_annotate '' --enable-system-ffi
mozconfig_annotate 'Gentoo default to honor system linker' 
--disable-gold
-   mozconfig_annotate '' skia
+   mozconfig_annotate '' --enable-skia
mozconfig_annotate '' --disable-gconf
mozconfig_annotate '' --with-intl-api
 

diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index 589fcfe..fcd2bb7 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -86,4 +86,4 @@ DIST firefox-45.7.0esr-zh-CN.xpi 475797 SHA256 
0e8eb9173e890e5ec2726c60706548f8b
 DIST firefox-45.7.0esr-zh-TW.xpi 466529 SHA256 
8c2ce7bf8a2c95eb065ae9491e3b557d1775be578f7c523080eb204de68c3b49 SHA512 
3f5370fcec1c8605a1a3d724bec8aa5fedd7e6bead2eee88209d8077a8dd8cd6096b3003d7de534f82e8e62a82c96729b4a4f95cecf71676e070b1eaf260c011
 WHIRLPOOL 
51616ece696f77d5774adee33b1c25b7b9dd06f972fc13804772f03d71caa1742c183adbf43add2f608ddce3439fb0a2c6dc7fd628a0f3c3bc5c43f85461dde9
 DIST firefox-45.7.0esr.source.tar.xz 184131284 SHA256 
4b5610691d32b77dd0dec25902f0d19e530c184cedc11babb530621cbdd33143 SHA512 
6424101b6958191ce654d0619950dfbf98d4aa6bdd979306a2df8d6d30d3fecf1ab44638061a2b4fb1af85fe972f5ff49400e8eeda30cdcb9087c4b110b97a7d
 WHIRLPOOL 
ec9ad46ec711135fa1846e60d9d3a430b446584e8156e26f88902452d8674b4a9acdee1f3672820408afe1e689bf55edc5f6bb3cde0014faa609ab70e954a022
 DIST firefox-52.0-patches-03.tar.xz 9664 SHA256 
be636821859fe86e04f3aebba677a2b55507c03a8916b4d9ba619b5a7dcbee4a SHA512 
6300168e45205fb012809e050f8e06b7388e0b63ab1405126550863a3b717da20ce342cbbb3bebbaf55e0d348c2e409410f0739d7e5cceedd3da6ad61dab702a
 WHIRLPOOL 
44fd28c56f921d23a57f04dca2d9ff99bbcfc5f1416d7e8700c025bcf07c21525bfd42343c65f0dc483efa83ccaa44d255d2c464d62169cc2e9aaf94b47df746
-DIST firefox-52.0b1.source.tar.xz 206276464 SHA256 
f82151bdae3c12818d3444084e0bbdd3975bf5861beccfcb3afdd37bae9c880b SHA512 
02d76db9d1f45149f11aef671ce533be5bc980ee0be04a2fc3eb1761932d0c22fec813cb7bbeeb9e039579e9d8d03005e1b9a2320a5cc896ca88304b68c65033
 WHIRLPOOL 
aadd3f4cb6ba12d1395d241de684a225b55fa74e21a3b42bffce20eafc6a92fe06a50d5ed83e70282a9b2b3d4c78c3aea5c7332505dd33d1531c992767ed
+DIST firefox-52.0b2.source.tar.xz 206110112 SHA256 
a3384b5b795b9729d45525ce993a0e487de7afb0330a8268c322343b488cecd9 SHA512 
baebbeb5060077ad2e8e02a802bc2b145bd46e66cc2ac6887d648e8c6f727733271642297bcda077f9a673e08df07eca12f25b95b3bf71ef5743986339a7
 WHIRLPOOL 
a125e51bddfc1215fba7cb6cd76863fcc879a21a484bc30bb4cfd4b258666046596e2d3dd82d15bf07fb72592273d291f1829bb949c18d1293e815489ee27810

diff --git a/www-client/firefox/firefox-52.0_beta1.ebuild 
b/www-client/firefox/firefox-52.0_beta2.ebuild
similarity index 100%
rename from www-client/firefox/firefox-52.0_beta1.ebuild
rename to www-client/firefox/firefox-52.0_beta2.ebuild



[gentoo-commits] proj/mozilla:master commit in: eclass/

2017-02-01 Thread Jory Pratt
commit: 7c0970a092e19fd8c1df802d029d8bf630fc73ec
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Thu Feb  2 03:01:57 2017 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Thu Feb  2 03:01:57 2017 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=7c0970a0

eclass/mozconfig-v6.51 : Remove skia support as being optional and force
it to be default

 eclass/mozconfig-v6.51.eclass | 12 ++--
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/eclass/mozconfig-v6.51.eclass b/eclass/mozconfig-v6.51.eclass
index 7bbed9a..1e451f8 100644
--- a/eclass/mozconfig-v6.51.eclass
+++ b/eclass/mozconfig-v6.51.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 +jemalloc neon pulseaudio selinux +skia 
startup-notification system-cairo
+IUSE="${IUSE} dbus debug +jemalloc neon pulseaudio selinux 
startup-notification system-cairo
system-harfbuzz system-icu system-jpeg system-libevent system-sqlite 
system-libvpx"
 
 # some notes on deps:
@@ -286,7 +286,7 @@ mozconfig_config() {
mozconfig_annotate 'Gentoo default' --with-system-png
mozconfig_annotate '' --enable-system-ffi
mozconfig_annotate 'Gentoo default to honor system linker' 
--disable-gold
-   mozconfig_use_enable skia
+   mozconfig_annotate '' skia
mozconfig_annotate '' --disable-gconf
mozconfig_annotate '' --with-intl-api
 
@@ -404,12 +404,4 @@ mozconfig_install_prefs() {
echo 
"sticky_pref(\"gfx.font_rendering.graphite.enabled\",true);" \
>>"${prefs_file}" || die
fi
-
-   # force cairo as the canvas renderer if USE=skia is disabled
-   if ! use skia ; then
-   echo "lockPref(\"gfx.canvas.azure.backends\",\"cairo\");" \
-   >>"${prefs_file}" || die
-   echo "lockPref(\"gfx.content.azure.backends\",\"cairo\");" \
-   >>"${prefs_file}" || die
-   fi
 }



[gentoo-commits] proj/mozilla:master commit in: eclass/

2016-12-01 Thread Lars Wendler
commit: d3c8e2368a60cb467e290fffa3804da9fda4a391
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Dec  1 08:49:51 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Dec  1 08:54:51 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=d3c8e236

mozconfig-v6.49.eclass: Make dependency on gtk+:2 optional (bug #601326).

 eclass/mozconfig-v6.49.eclass | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/eclass/mozconfig-v6.49.eclass b/eclass/mozconfig-v6.49.eclass
index 1b52c1a..7f9ed15 100644
--- a/eclass/mozconfig-v6.49.eclass
+++ b/eclass/mozconfig-v6.49.eclass
@@ -94,7 +94,6 @@ 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.21:0=[apng]
@@ -135,7 +134,8 @@ if [[ -n ${MOZCONFIG_OPTIONAL_GTK3} ]]; then
IUSE+=" gtk3"
fi
RDEPEND+="
-   gtk3? ( >=x11-libs/gtk+-3.4.0:3 )"
+   gtk3? ( >=x11-libs/gtk+-3.4.0:3 )
+   !gtk3? ( >=x11-libs/gtk+-2.18:2 )"
 elif [[ -n ${MOZCONFIG_OPTIONAL_GTK2ONLY} ]]; then
if [[ ${MOZCONFIG_OPTIONAL_GTK2ONLY} = "enabled" ]]; then
IUSE+=" +gtk2"
@@ -143,7 +143,11 @@ elif [[ -n ${MOZCONFIG_OPTIONAL_GTK2ONLY} ]]; then
IUSE+=" gtk2"
fi
RDEPEND+="
+   gtk2? ( >=x11-libs/gtk+-2.18:2 )
!gtk2? ( >=x11-libs/gtk+-3.4.0:3 )"
+else
+   RDEPEND+="
+   >=x11-libs/gtk+-2.18:2"
 fi
 if [[ -n ${MOZCONFIG_OPTIONAL_QT5} ]]; then
inherit qmake-utils



[gentoo-commits] proj/mozilla:master commit in: eclass/

2016-11-29 Thread Lars Wendler
commit: 694d8eaf22ede120535905337c0860f7cab4ff0a
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Nov 29 17:16:27 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Nov 29 17:16:27 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=694d8eaf

mozconfig-*.eclass: added sub-slot dependency for app-text/hunspell.

 eclass/mozconfig-v6.38.eclass | 2 +-
 eclass/mozconfig-v6.39.eclass | 2 +-
 eclass/mozconfig-v6.41.eclass | 2 +-
 eclass/mozconfig-v6.42.eclass | 2 +-
 eclass/mozconfig-v6.44.eclass | 2 +-
 eclass/mozconfig-v6.45.eclass | 2 +-
 eclass/mozconfig-v6.46.eclass | 2 +-
 eclass/mozconfig-v6.47.eclass | 2 +-
 eclass/mozconfig-v6.48.eclass | 2 +-
 eclass/mozconfig-v6.49.eclass | 2 +-
 10 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/eclass/mozconfig-v6.38.eclass b/eclass/mozconfig-v6.38.eclass
index 15925cb..7f70597 100644
--- a/eclass/mozconfig-v6.38.eclass
+++ b/eclass/mozconfig-v6.38.eclass
@@ -51,7 +51,7 @@ IUSE="${IUSE} dbus debug gstreamer gstreamer-0 +jemalloc3 
neon pulseaudio selinu
 # 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
+RDEPEND=">=app-text/hunspell-1.2:=
dev-libs/atk
dev-libs/expat
>=dev-libs/libevent-1.4.7

diff --git a/eclass/mozconfig-v6.39.eclass b/eclass/mozconfig-v6.39.eclass
index 7f7d353..3e71ac7 100644
--- a/eclass/mozconfig-v6.39.eclass
+++ b/eclass/mozconfig-v6.39.eclass
@@ -51,7 +51,7 @@ IUSE="${IUSE} dbus debug gstreamer gstreamer-0 +jemalloc3 
pulseaudio selinux sta
 # 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
+RDEPEND=">=app-text/hunspell-1.2:=
dev-libs/atk
dev-libs/expat
>=dev-libs/libevent-1.4.7

diff --git a/eclass/mozconfig-v6.41.eclass b/eclass/mozconfig-v6.41.eclass
index 25a9471..6ff9a2a 100644
--- a/eclass/mozconfig-v6.41.eclass
+++ b/eclass/mozconfig-v6.41.eclass
@@ -61,7 +61,7 @@ IUSE="${IUSE} dbus debug gstreamer gstreamer-0 +jemalloc3 
pulseaudio selinux sta
 # 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
+RDEPEND=">=app-text/hunspell-1.2:=
dev-libs/atk
dev-libs/expat
>=dev-libs/libevent-1.4.7

diff --git a/eclass/mozconfig-v6.42.eclass b/eclass/mozconfig-v6.42.eclass
index d0c8abf..29a75f9 100644
--- a/eclass/mozconfig-v6.42.eclass
+++ b/eclass/mozconfig-v6.42.eclass
@@ -61,7 +61,7 @@ IUSE="${IUSE} dbus debug +gstreamer gstreamer-0 +jemalloc3 
neon pulseaudio selin
 # 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
+RDEPEND=">=app-text/hunspell-1.2:=
dev-libs/atk
dev-libs/expat
>=dev-libs/libevent-1.4.7

diff --git a/eclass/mozconfig-v6.44.eclass b/eclass/mozconfig-v6.44.eclass
index c050a49..275f1a5 100644
--- a/eclass/mozconfig-v6.44.eclass
+++ b/eclass/mozconfig-v6.44.eclass
@@ -72,7 +72,7 @@ IUSE="${IUSE} dbus debug ffmpeg +gstreamer gstreamer-0 
+jemalloc3 neon pulseaudi
 # 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
+RDEPEND=">=app-text/hunspell-1.2:=
dev-libs/atk
dev-libs/expat
>=x11-libs/cairo-1.10[X]

diff --git a/eclass/mozconfig-v6.45.eclass b/eclass/mozconfig-v6.45.eclass
index be5c49a..d4b7601 100644
--- a/eclass/mozconfig-v6.45.eclass
+++ b/eclass/mozconfig-v6.45.eclass
@@ -77,7 +77,7 @@ IUSE="${IUSE} dbus debug ffmpeg +gstreamer gstreamer-0 
+jemalloc3 neon pulseaudi
 # 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
+RDEPEND=">=app-text/hunspell-1.2:=
dev-libs/atk
dev-libs/expat
>=x11-libs/cairo-1.10[X]

diff --git a/eclass/mozconfig-v6.46.eclass b/eclass/mozconfig-v6.46.eclass
index 7b8c901..1cdf881 100644
--- a/eclass/mozconfig-v6.46.eclass
+++ b/eclass/mozconfig-v6.46.eclass
@@ -90,7 +90,7 @@ IUSE="${IUSE} dbus debug +ffmpeg +jemalloc3 neon pulseaudio 
selinux startup-noti
 # 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
+RDEPEND=">=app-text/hunspell-1.2:=
dev-libs/atk
dev-libs/expat
>=x11-libs/cairo-1.10[X]

diff --git a/eclass/mozconfig-v6.47.eclass b/eclass/mozconfig-v6.47.eclass
index 

[gentoo-commits] proj/mozilla:master commit in: eclass/

2016-10-16 Thread Jory Pratt
commit: 8d479279bddc1f8f9fccdf2dd4ec007a0b13f564
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Sun Oct 16 21:49:15 2016 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Sun Oct 16 21:49:15 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=8d479279

eclass/mozconfig-v6.49 : enable pie support by default

 eclass/mozconfig-v6.49.eclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/eclass/mozconfig-v6.49.eclass b/eclass/mozconfig-v6.49.eclass
index 5fa9db6..497e747 100644
--- a/eclass/mozconfig-v6.49.eclass
+++ b/eclass/mozconfig-v6.49.eclass
@@ -235,6 +235,8 @@ mozconfig_config() {
fi
fi
 
+   # Enable position independent executables 
+   mozconfig_annotate 'enabled by Gentoo' --enable-pie
mozconfig_use_enable debug
mozconfig_use_enable debug tests
 



[gentoo-commits] proj/mozilla:master commit in: eclass/

2016-10-09 Thread Jory Pratt
commit: b274bf3d793259dac057d5620915eb753cb8cfbf
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Sun Oct  9 17:58:48 2016 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Sun Oct  9 17:58:48 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=b274bf3d

eclass/mozcoreconf-v4 : Fix typo for gcc-6 support

 eclass/mozcoreconf-v4.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/mozcoreconf-v4.eclass b/eclass/mozcoreconf-v4.eclass
index 43a585b..2f51166 100644
--- a/eclass/mozcoreconf-v4.eclass
+++ b/eclass/mozcoreconf-v4.eclass
@@ -214,7 +214,7 @@ mozconfig_init() {
 
# We need to append flags for gcc-6 support
if [[ $(gcc-major-version) -ge 6 ]]; then
-   append-cxxflags fno-delete-null-pointer-checks 
-fno-lifetime-dse -fno-schedule-insns2
+   append-cxxflags -fno-delete-null-pointer-checks 
-fno-lifetime-dse -fno-schedule-insns2
fi
 
# Go a little faster; use less RAM



[gentoo-commits] proj/mozilla:master commit in: eclass/

2016-10-09 Thread Ian Stakenvicius
commit: 6eaad5d28bac53ac7fc7f7eb0c58b26ad0fde795
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Sun Oct  9 14:35:34 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Sun Oct  9 14:35:34 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=6eaad5d2

added cxxflags to support gcc-6 compilation

 eclass/mozcoreconf-v4.eclass | 5 +
 1 file changed, 5 insertions(+)

diff --git a/eclass/mozcoreconf-v4.eclass b/eclass/mozcoreconf-v4.eclass
index 07afd44..43a585b 100644
--- a/eclass/mozcoreconf-v4.eclass
+++ b/eclass/mozcoreconf-v4.eclass
@@ -212,6 +212,11 @@ mozconfig_init() {
;;
esac
 
+   # We need to append flags for gcc-6 support
+   if [[ $(gcc-major-version) -ge 6 ]]; then
+   append-cxxflags fno-delete-null-pointer-checks 
-fno-lifetime-dse -fno-schedule-insns2
+   fi
+
# Go a little faster; use less RAM
append-flags "$MAKEEDIT_FLAGS"
 



[gentoo-commits] proj/mozilla:master commit in: eclass/

2016-09-08 Thread Ian Stakenvicius
commit: 3ab1892587300864ec2a82515bb479900137f6fb
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Thu Sep  8 13:22:40 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Thu Sep  8 22:16:27 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=3ab18925

Ensure --host is always set, bug 590498

 eclass/mozconfig-v6.46.eclass | 6 ++
 eclass/mozconfig-v6.47.eclass | 6 ++
 eclass/mozconfig-v6.48.eclass | 6 ++
 3 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/eclass/mozconfig-v6.46.eclass b/eclass/mozconfig-v6.46.eclass
index 3a481e5..7b8c901 100644
--- a/eclass/mozconfig-v6.46.eclass
+++ b/eclass/mozconfig-v6.46.eclass
@@ -334,11 +334,9 @@ mozconfig_config() {
# Instead of the standard --build= and --host=, mozilla uses --host 
instead
# of --build, and --target intstead of --host.
# Note, mozilla also has --build but it does not do what you think it 
does.
+   # Set both --target and --host as mozilla uses python to guess values 
otherwise
mozconfig_annotate '' --target="${CHOST}"
-   if [[ "${CBUILD:-${CHOST}}" != "${CHOST}" ]]; then
-   # set --host only when cross-compiling
-   mozconfig_annotate '' --host="${CBUILD:-${CHOST}}"
-   fi
+   mozconfig_annotate '' --host="${CBUILD:-${CHOST}}"
 
use ffmpeg || mozconfig_annotate '-ffmpeg' --disable-ffmpeg
mozconfig_use_enable pulseaudio

diff --git a/eclass/mozconfig-v6.47.eclass b/eclass/mozconfig-v6.47.eclass
index ab0803f..5d52d7c 100644
--- a/eclass/mozconfig-v6.47.eclass
+++ b/eclass/mozconfig-v6.47.eclass
@@ -347,11 +347,9 @@ mozconfig_config() {
# Instead of the standard --build= and --host=, mozilla uses --host 
instead
# of --build, and --target intstead of --host.
# Note, mozilla also has --build but it does not do what you think it 
does.
+   # Set both --target and --host as mozilla uses python to guess values 
otherwise
mozconfig_annotate '' --target="${CHOST}"
-   if [[ "${CBUILD:-${CHOST}}" != "${CHOST}" ]]; then
-   # set --host only when cross-compiling
-   mozconfig_annotate '' --host="${CBUILD:-${CHOST}}"
-   fi
+   mozconfig_annotate '' --host="${CBUILD:-${CHOST}}"
 
mozconfig_use_enable pulseaudio
 

diff --git a/eclass/mozconfig-v6.48.eclass b/eclass/mozconfig-v6.48.eclass
index 9eea075..0c3197d 100644
--- a/eclass/mozconfig-v6.48.eclass
+++ b/eclass/mozconfig-v6.48.eclass
@@ -328,11 +328,9 @@ mozconfig_config() {
# Instead of the standard --build= and --host=, mozilla uses --host 
instead
# of --build, and --target intstead of --host.
# Note, mozilla also has --build but it does not do what you think it 
does.
+   # Set both --target and --host as mozilla uses python to guess values 
otherwise
mozconfig_annotate '' --target="${CHOST}"
-   if [[ "${CBUILD:-${CHOST}}" != "${CHOST}" ]]; then
-   # set --host only when cross-compiling
-   mozconfig_annotate '' --host="${CBUILD:-${CHOST}}"
-   fi
+   mozconfig_annotate '' --host="${CBUILD:-${CHOST}}"
 
mozconfig_use_enable pulseaudio
 



[gentoo-commits] proj/mozilla:master commit in: eclass/

2016-09-04 Thread Jory Pratt
commit: d1f86411c687aca1cb14354b151f00fecaefa83e
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Sun Sep  4 19:10:28 2016 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Sun Sep  4 19:10:28 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=d1f86411

mozconfig-v6.48 - force enable jemalloc 4, rename jemalloc3 useflag to
plain jemalloc

 eclass/mozconfig-v6.48.eclass | 9 -
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/eclass/mozconfig-v6.48.eclass b/eclass/mozconfig-v6.48.eclass
index e2d8934..9eea075 100644
--- a/eclass/mozconfig-v6.48.eclass
+++ b/eclass/mozconfig-v6.48.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:
@@ -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
 



[gentoo-commits] proj/mozilla:master commit in: eclass/

2016-09-04 Thread Jory Pratt
commit: 8fe6aab614c366de47b6fcb24f10882063a2006c
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Sun Sep  4 14:56:45 2016 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Sun Sep  4 14:56:45 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=8fe6aab6

mozcoreconf-v4 - reduce memory footprint for mozilla products on arm,ppc

 eclass/mozcoreconf-v4.eclass | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/eclass/mozcoreconf-v4.eclass b/eclass/mozcoreconf-v4.eclass
index 2ab508b..07afd44 100644
--- a/eclass/mozcoreconf-v4.eclass
+++ b/eclass/mozcoreconf-v4.eclass
@@ -191,20 +191,24 @@ mozconfig_init() {
 
# Additional ARCH support
case "${ARCH}" in
+   arm)
+   # Reduce the memory requirements for linking
+   append-ldflags -Wl,--no-keep-memory 
-Wl,--reduce-memory-overheads
+   ;;
alpha)
# Historically we have needed to add -fPIC manually for 64-bit.
# Additionally, alpha should *always* build with -mieee for 
correct math
# operation
append-flags -fPIC -mieee
;;
-
ia64)
# Historically we have needed to add this manually for 64-bit
append-flags -fPIC
;;
-
ppc64)
append-flags -fPIC -mminimal-toc
+   # Reduce the memory requirements for linking
+   append-ldflags -Wl,--no-keep-memory 
-Wl,--reduce-memory-overheads
;;
esac
 



[gentoo-commits] proj/mozilla:master commit in: eclass/

2016-08-04 Thread Ian Stakenvicius
commit: 22f98c5ec52038e287a0e21d1ac96e062318d84c
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Thu Aug  4 16:09:25 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Thu Aug  4 16:09:25 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=22f98c5e

mozcoreconf-v4.eclass: drop long ago removed config options for dynstr-gc and 
js-ultrasparc

 eclass/mozcoreconf-v4.eclass | 11 ---
 1 file changed, 11 deletions(-)

diff --git a/eclass/mozcoreconf-v4.eclass b/eclass/mozcoreconf-v4.eclass
index b411326..2ab508b 100644
--- a/eclass/mozcoreconf-v4.eclass
+++ b/eclass/mozcoreconf-v4.eclass
@@ -227,17 +227,6 @@ mozconfig_init() {
--disable-strip \
--disable-install-strip
 
-   # Here is a strange one...
-   if is-flag '-mcpu=ultrasparc*' || is-flag '-mtune=ultrasparc*'; then
-   mozconfig_annotate "building on ultrasparc" 
--enable-js-ultrasparc
-   fi
-
-   # Currently --enable-elf-dynstr-gc only works for x86,
-   # thanks to Jason Wever  for the fix.
-   if use x86 && [[ ${enable_optimize} != -O0 ]]; then
-   mozconfig_annotate "${ARCH} optimized build" 
--enable-elf-dynstr-gc
-   fi
-
# jemalloc won't build with older glibc
! has_version ">=sys-libs/glibc-2.4" && mozconfig_annotate "we have old 
glibc" --disable-jemalloc
 }



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

2016-08-04 Thread Ian Stakenvicius
commit: 11a6aa3ee540c1298a589496e3622785f8f4563a
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Thu Aug  4 14:13:14 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Thu Aug  4 14:13:14 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=11a6aa3e

www-client/firefox-48.0: fix dependencies

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

 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 ba956d2..ede05ab 100644
--- a/www-client/firefox/firefox-48.0.ebuild
+++ b/www-client/firefox/firefox-48.0.ebuild
@@ -53,7 +53,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] proj/mozilla:master commit in: eclass/

2016-07-25 Thread Ian Stakenvicius
commit: c49445493193a4b4efc99add9cf229767bd2a78d
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Mon Jul 25 21:27:17 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Mon Jul 25 21:27:17 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=c4944549

mozconfig-v6.48.eclass: also force gfx.content.azure.backends to cairo if 
USE=-skia

 eclass/mozconfig-v6.48.eclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/eclass/mozconfig-v6.48.eclass b/eclass/mozconfig-v6.48.eclass
index d5040e0..841fd48 100644
--- a/eclass/mozconfig-v6.48.eclass
+++ b/eclass/mozconfig-v6.48.eclass
@@ -406,5 +406,7 @@ mozconfig_install_prefs() {
if ! use skia ; then
echo "lockPref(\"gfx.canvas.azure.backends\",\"cairo\");" \
>>"${prefs_file}" || die
+   echo "lockPref(\"gfx.content.azure.backends\",\"cairo\");" \
+   >>"${prefs_file}" || die
fi
 }



[gentoo-commits] proj/mozilla:master commit in: eclass/

2016-07-25 Thread Ian Stakenvicius
commit: 6f4641f7b41d6876c22394a4b6da62ac69448452
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Mon Jul 25 20:13:48 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Mon Jul 25 20:13:48 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=6f4641f7

mozcoreconf-v4.eclass: allow -O4 when custom-optimization flag is set

End-users want to experiment with clang and -O4, so let them.

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

 eclass/mozcoreconf-v4.eclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/eclass/mozcoreconf-v4.eclass b/eclass/mozcoreconf-v4.eclass
index 3a43905..b411326 100644
--- a/eclass/mozcoreconf-v4.eclass
+++ b/eclass/mozcoreconf-v4.eclass
@@ -167,6 +167,8 @@ mozconfig_init() {
mozconfig_annotate "from CFLAGS" --enable-optimize=-O0
elif [[ ${ARCH} == ppc ]] && has_version 
'>=sys-libs/glibc-2.8'; then
mozconfig_annotate "more than -O1 segfaults on ppc with 
glibc-2.8" --enable-optimize=-O1
+   elif is-flag -O4; then
+   mozconfig_annotate "from CFLAGS" --enable-optimize=-O4
elif is-flag -O3; then
mozconfig_annotate "from CFLAGS" --enable-optimize=-O3
elif is-flag -O1; then



[gentoo-commits] proj/mozilla:master commit in: eclass/

2016-07-25 Thread Ian Stakenvicius
commit: 1f8ecb453394246af0a2e20a3dd6086fabd8fbd1
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Mon Jul 25 20:10:50 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Mon Jul 25 20:10:53 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=1f8ecb45

firefox-48 - use skia by default

Skia is the default upstream 2D canvas renderer, and it is highly recommended
though not yet fully required to use it.  This commit enables it as a USE flag
(default-enabled), and in order to circumvent a bug, forces a pref to the
value 'cairo' (instead of the erroneous default value 'skia') when the flag
is disabled.

 eclass/mozconfig-v6.48.eclass | 10 --
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/eclass/mozconfig-v6.48.eclass b/eclass/mozconfig-v6.48.eclass
index 266b13b..d5040e0 100644
--- a/eclass/mozconfig-v6.48.eclass
+++ b/eclass/mozconfig-v6.48.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 
startup-notification system-cairo
+IUSE="${IUSE} dbus debug +jemalloc3 neon pulseaudio selinux +skia 
startup-notification system-cairo
system-harfbuzz system-icu system-jpeg system-libevent system-sqlite 
system-libvpx"
 
 # some notes on deps:
@@ -280,7 +280,7 @@ mozconfig_config() {
mozconfig_annotate 'Gentoo default' --with-system-png
mozconfig_annotate '' --enable-system-ffi
mozconfig_annotate 'Gentoo default to honor system linker' 
--disable-gold
-   mozconfig_annotate 'Gentoo default' --disable-skia
+   mozconfig_use_enable skia
mozconfig_annotate '' --disable-gconf
mozconfig_annotate '' --with-intl-api
 
@@ -401,4 +401,10 @@ mozconfig_install_prefs() {
echo 
"sticky_pref(\"gfx.font_rendering.graphite.enabled\",true);" \
>>"${prefs_file}" || die
fi
+
+   # force cairo as the canvas renderer if USE=skia is disabled
+   if ! use skia ; then
+   echo "lockPref(\"gfx.canvas.azure.backends\",\"cairo\");" \
+   >>"${prefs_file}" || die
+   fi
 }



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

2016-07-24 Thread Ian Stakenvicius
commit: 1381b58fb1b197a96cd4aac4f9cf170dab8704f5
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Tue Jul 19 18:31:33 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Mon Jul 25 01:32:15 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=1381b58f

firefox-48 eclass and ebuild -- note this segfaults practically always but 
maybe its just me

 eclass/mozconfig-v6.48.eclass| 404 +++
 www-client/firefox/Manifest  |   2 +
 www-client/firefox/firefox-48.0_beta9.ebuild | 359 
 3 files changed, 765 insertions(+)

diff --git a/eclass/mozconfig-v6.48.eclass b/eclass/mozconfig-v6.48.eclass
new file mode 100644
index 000..266b13b
--- /dev/null
+++ b/eclass/mozconfig-v6.48.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-v4
+
+# @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="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 +jemalloc3 neon pulseaudio selinux 
startup-notification system-cairo
+   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
+# media-libs/mesa needs to be 10.2 

[gentoo-commits] proj/mozilla:master commit in: eclass/

2016-07-12 Thread Ian Stakenvicius
commit: f50652d2e2e95edc9a1cca4d4ecf66c95005299f
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Tue Jul 12 19:43:37 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Tue Jul 12 19:43:37 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=f50652d2

mozlinguas-v2.eclass: adjust mozlinguas_xpistage_langpacks to support new forms

The packaging of locales in the chatzilla extension uses a form that was not 
taken
into account yet in mozlinguas_xpistage_langpacks(), some additional code was 
added
to take this new form into account and be more careful about extension-langpack
processing in general.

 eclass/mozlinguas-v2.eclass | 12 
 1 file changed, 12 insertions(+)

diff --git a/eclass/mozlinguas-v2.eclass b/eclass/mozlinguas-v2.eclass
index 215141c..df4c8b2 100644
--- a/eclass/mozlinguas-v2.eclass
+++ b/eclass/mozlinguas-v2.eclass
@@ -331,6 +331,18 @@ mozlinguas_xpistage_langpacks() {
cp -RLp -t "${modpath}/chrome" 
"${srcprefix}-${l}/chrome/${c}-${l}" || die
grep "locale ${c} ${l} chrome/" 
"${srcprefix}-${l}/chrome.manifest" \
>>"${modpath}/chrome.manifest" || die
+   elif [[ -e "${srcprefix}-${l}/chrome/${c}/locale" ]]; then
+   if grep "locale ${c} ${l}" 
"${srcprefix}-${l}/chrome.manifest" &>/dev/null; then
+   grep "locale ${c} ${l} chrome/" 
"${srcprefix}-${l}/chrome.manifest" \
+   >>"${modpath}/chrome.manifest" || die
+   cp -RLp -t "${modpath}/chrome" 
"${srcprefix}-${l}/chrome/${c}" || die
+   elif grep "locale ${c} ${l}" 
"${srcprefix}-${l}/chrome/${c}.manifest" &>/dev/null ; then
+   grep "locale ${c} ${l}" 
"${srcprefix}-${l}/chrome/${c}.manifest" \
+   >>"${modpath}/chrome/${c}.manifest" || 
die
+   cp -RLp -t "${modpath}/chrome" 
"${srcprefix}-${l}/chrome/${c}" || die
+   else
+   ewarn "Locale ${l} could not be processed for 
${c}, skipping."
+   fi
elif [[ -e "${srcprefix}/chrome/${c}-${l}" ]]; then
cp -RLp -t "${modpath}/chrome" 
"${srcprefix}/chrome/${c}-${l}" || die
grep "locale ${c} ${l} chrome/" 
"${srcprefix}/chrome.manifest" \



[gentoo-commits] proj/mozilla:master commit in: eclass/

2016-07-11 Thread Ian Stakenvicius
commit: 41cf33a1f2dc3f590aaccb032133ad06dc5c64ef
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Mon Jul 11 18:04:19 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Mon Jul 11 18:04:19 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=41cf33a1

mozlinguas-v2.eclass: minor adjustments

Added a locale to the L10N generalization list, dropped some debug output,
fixed the eclass name in the header.

 eclass/mozlinguas-v2.eclass | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/eclass/mozlinguas-v2.eclass b/eclass/mozlinguas-v2.eclass
index 240f219..215141c 100644
--- a/eclass/mozlinguas-v2.eclass
+++ b/eclass/mozlinguas-v2.eclass
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-# @ECLASS: mozlinguas.eclass
+# @ECLASS: mozlinguas-v2.eclass
 # @MAINTAINER:
 # mozi...@gentoo.org
 # @AUTHOR:
@@ -123,7 +123,7 @@ esac
 # @INTERNAL
 # @DESCRIPTION:
 # Upstream identifiers that should not contain region subtags in L10N
-MOZ_TOO_REGIONALIZED_FOR_L10N=( fy-NL ga-IE hi-IN hy-AM nb-NO nn-NO pa-IN 
sv-SE )
+MOZ_TOO_REGIONALIZED_FOR_L10N=( fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO nn-NO 
pa-IN sv-SE )
 
 # Add l10n_* to IUSE according to available language packs
 # No language packs for alphas and betas
@@ -353,7 +353,6 @@ mozlinguas_src_install() {
mkdir -p "${repopath}" || die
pushd "${BUILD_OBJ_DIR:-.}"/dist/*/xpi > /dev/null || die
for x in "${mozlinguas[@]}"; do
-   einfo "${MOZ_P}.${x}.langpack.xpi to 
${repopath}/${MOZ_P}-${x}${MOZ_LANGPACK_UNOFFICIAL:+.unofficial}.xpi"  
cp "${MOZ_P}.${x}.langpack.xpi" \

"${repopath}/${MOZ_P}-${x}${MOZ_LANGPACK_UNOFFICIAL:+.unofficial}.xpi" || die
xpi_unpack 
"${repopath}/${MOZ_P}-${x}${MOZ_LANGPACK_UNOFFICIAL:+.unofficial}.xpi"



[gentoo-commits] proj/mozilla:master commit in: eclass/

2016-07-08 Thread Ian Stakenvicius
commit: 7d8dc5bcc9d2b25bd68a27c50239390e9a81265b
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Sat Jul  9 03:14:25 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Sat Jul  9 03:14:25 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=7d8dc5bc

mozcoreconf-v4.eclass: honour toolchain even for build tools

HOST_CC and HOST_CXX are used to build tools like nsinstall which are needed
to install later on.  Until now, these values were undefined and for whatever
reason were never autodetected to match the CHOST based tools.  This commit
should resolve that issue.

Other minor cleanups to eclass also occurred

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

 eclass/mozcoreconf-v4.eclass | 12 +++-
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/eclass/mozcoreconf-v4.eclass b/eclass/mozcoreconf-v4.eclass
index e6771cc..3a43905 100644
--- a/eclass/mozcoreconf-v4.eclass
+++ b/eclass/mozcoreconf-v4.eclass
@@ -2,20 +2,20 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 #
-# @ECLASS: mozcoreconf.eclass
+# @ECLASS: mozcoreconf-v4.eclass
 # @MAINTAINER:
 # Mozilla team 
 # @BLURB: core options and configuration functions for mozilla
 # @DESCRIPTION:
 #
-# inherit mozconfig-v5.* or above for mozilla configuration support
+# inherit mozconfig-v6.* or above for mozilla configuration support
 
 # @ECLASS-VARIABLE: MOZILLA_FIVE_HOME
-# @DESCCRIPTION:
+# @DESCRIPTION:
 # This is an eclass-generated variable that defines the rpath that the mozilla
 # product will be installed in.  Read-only
 
-if [[ ! ${_MOZCORECONF_V3} ]]; then
+if [[ ! ${_MOZCORECONF} ]]; then
 
 PYTHON_COMPAT=( python2_7 )
 PYTHON_REQ_USE='ncurses,sqlite,ssl,threads'
@@ -86,6 +86,8 @@ moz_pkgsetup() {
export LC_CTYPE="C"
 
# Ensure we use correct toolchain
+   export HOST_CC="$(tc-getBUILD_CC)"
+   export HOST_CXX="$(tc-getBUILD_CXX)"
tc-export CC CXX LD PKG_CONFIG
 
# Ensure that we have a sane build enviroment
@@ -263,5 +265,5 @@ mozconfig_final() {
echo "ac_add_options --enable-extensions=${exts// /,}" >> .mozconfig
 }
 
-_MOZCORECONF_V3=1
+_MOZCORECONF=1
 fi



[gentoo-commits] proj/mozilla:master commit in: eclass/

2016-07-08 Thread Ian Stakenvicius
commit: 1727e88276251a2868478f4f8b24b5c673d6a7c6
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Sat Jul  9 00:56:25 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Sat Jul  9 00:56:25 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=1727e882

mozlinguas-v2.eclass: minor corrections related to L10N migration

Some of the L10N-migrated code did not work properly when generating
langpacks as part of the build process.  This commit fixes those issues
and completes the LINGUAS to L10N migration

 eclass/mozlinguas-v2.eclass | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/eclass/mozlinguas-v2.eclass b/eclass/mozlinguas-v2.eclass
index 9f76d31..240f219 100644
--- a/eclass/mozlinguas-v2.eclass
+++ b/eclass/mozlinguas-v2.eclass
@@ -175,7 +175,7 @@ else
if [[ -n ${MOZ_L10N_URI_PREFIX} ]]; then
SRC_URI+=" l10n_${xflag/[_@]/-}? ( 
${MOZ_L10N_URI_PREFIX}${x}${MOZ_L10N_URI_SUFFIX} )"
fi
-   IUSE+=" l10n_${x/[_@]/-}"
+   IUSE+=" l10n_${xflag/[_@]/-}"
done
 fi
 unset x xflag
@@ -348,11 +348,12 @@ mozlinguas_xpistage_langpacks() {
 mozlinguas_src_install() {
local x
mozlinguas_export
-   if [[ -n ${MOZ_GENERATE_LANGPACKS} ]]; then
+   if [[ -n ${MOZ_GENERATE_LANGPACKS} ]] && [[ -n ${mozlinguas[*]} ]]; then
local repopath="${WORKDIR}/${PN}-generated-langpacks"
-   mkdir -p "${repopath}"
+   mkdir -p "${repopath}" || die
pushd "${BUILD_OBJ_DIR:-.}"/dist/*/xpi > /dev/null || die
for x in "${mozlinguas[@]}"; do
+   einfo "${MOZ_P}.${x}.langpack.xpi to 
${repopath}/${MOZ_P}-${x}${MOZ_LANGPACK_UNOFFICIAL:+.unofficial}.xpi"  
cp "${MOZ_P}.${x}.langpack.xpi" \

"${repopath}/${MOZ_P}-${x}${MOZ_LANGPACK_UNOFFICIAL:+.unofficial}.xpi" || die
xpi_unpack 
"${repopath}/${MOZ_P}-${x}${MOZ_LANGPACK_UNOFFICIAL:+.unofficial}.xpi"



[gentoo-commits] proj/mozilla:master commit in: eclass/

2016-07-04 Thread Ian Stakenvicius
commit: 384d5109c2385903f80b2327f234d2d155b1e761
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Wed Jun 29 19:15:30 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Wed Jun 29 19:15:30 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=384d5109

refactor some configuration options from mozcoreconf-v4 to mozconfig

 eclass/mozconfig-v6.45.eclass | 15 ++-
 eclass/mozconfig-v6.47.eclass | 15 ++-
 eclass/mozcoreconf-v4.eclass  | 14 ++
 3 files changed, 30 insertions(+), 14 deletions(-)

diff --git a/eclass/mozconfig-v6.45.eclass b/eclass/mozconfig-v6.45.eclass
index 544321f..be5c49a 100644
--- a/eclass/mozconfig-v6.45.eclass
+++ b/eclass/mozconfig-v6.45.eclass
@@ -15,7 +15,7 @@
 # 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,
+# This eclass inherits mozconfig helper functions as defined in mozcoreconf-v4,
 # and so ebuilds inheriting this eclass do not need to inherit that.
 
 case ${EAPI} in
@@ -216,6 +216,19 @@ REQUIRED_USE="
 # }
 
 mozconfig_config() {
+   # Migrated from mozcoreconf-v3
+   mozconfig_annotate 'more disable_update_strip' \
+   --disable-pedantic \
+   --disable-installer \
+   --disable-strip-libs
+
+   if [[ ${PN} != seamonkey ]]; then
+   mozconfig_annotate 'basic_profile' \
+   --disable-profilelocking \
+   --enable-single-profile \
+   --disable-profilesharing
+   fi
+
# Migrated from mozcoreconf-2
mozconfig_annotate 'system_libs' \
--with-system-zlib \

diff --git a/eclass/mozconfig-v6.47.eclass b/eclass/mozconfig-v6.47.eclass
index 263f4c0..ab0803f 100644
--- a/eclass/mozconfig-v6.47.eclass
+++ b/eclass/mozconfig-v6.47.eclass
@@ -15,7 +15,7 @@
 # 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,
+# This eclass inherits mozconfig helper functions as defined in mozcoreconf-v4,
 # and so ebuilds inheriting this eclass do not need to inherit that.
 
 case ${EAPI} in
@@ -222,6 +222,19 @@ REQUIRED_USE="
 # }
 
 mozconfig_config() {
+   # Migrated from mozcoreconf-v3
+   mozconfig_annotate 'more disable_update_strip' \
+   --disable-pedantic \
+   --disable-installer \
+   --disable-strip-libs
+
+   if [[ ${PN} != seamonkey ]]; then
+   mozconfig_annotate 'basic_profile' \
+   --disable-profilelocking \
+   --enable-single-profile \
+   --disable-profilesharing
+   fi
+
# Migrated from mozcoreconf-2
mozconfig_annotate 'system_libs' \
--with-system-zlib \

diff --git a/eclass/mozcoreconf-v4.eclass b/eclass/mozcoreconf-v4.eclass
index 88f7b4b..e6771cc 100644
--- a/eclass/mozcoreconf-v4.eclass
+++ b/eclass/mozcoreconf-v4.eclass
@@ -208,7 +208,7 @@ mozconfig_init() {
append-flags "$MAKEEDIT_FLAGS"
 
# Use the MOZILLA_FIVE_HOME for the rpath
-   append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}"
+   append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags
# Set MOZILLA_FIVE_HOME in mozconfig
mozconfig_annotate '' 
--with-default-mozilla-five-home=${MOZILLA_FIVE_HOME}
 
@@ -219,19 +219,9 @@ mozconfig_init() {

 
mozconfig_annotate disable_update_strip \
-   --disable-pedantic \
--disable-updater \
--disable-strip \
-   --disable-install-strip \
-   --disable-installer \
-   --disable-strip-libs
-
-   if [[ ${PN} != seamonkey ]]; then
-   mozconfig_annotate basic_profile \
-   --disable-profilelocking \
-   --enable-single-profile \
-   --disable-profilesharing
-   fi
+   --disable-install-strip
 
# Here is a strange one...
if is-flag '-mcpu=ultrasparc*' || is-flag '-mtune=ultrasparc*'; then



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

2016-06-07 Thread Ian Stakenvicius
commit: 6ba505914bec42f3536f2d66b8163f7280b6062e
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Tue Jun  7 18:08:24 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Tue Jun  7 19:40:19 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=6ba50591

firefox-47.0 version bump, made ffmpeg a hard dependency

 eclass/mozconfig-v6.47.eclass  |  7 +-
 www-client/firefox/Manifest| 92 +-
 ...refox-47.0_beta9.ebuild => firefox-47.0.ebuild} | 12 ++-
 3 files changed, 99 insertions(+), 12 deletions(-)

diff --git a/eclass/mozconfig-v6.47.eclass b/eclass/mozconfig-v6.47.eclass
index f4ecb24..263f4c0 100644
--- a/eclass/mozconfig-v6.47.eclass
+++ b/eclass/mozconfig-v6.47.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 +ffmpeg +jemalloc3 neon pulseaudio selinux 
startup-notification system-cairo
+IUSE="${IUSE} dbus debug +jemalloc3 neon pulseaudio selinux 
startup-notification system-cairo
system-harfbuzz system-icu system-jpeg system-libevent system-sqlite 
system-libvpx"
 
 # some notes on deps:
@@ -110,7 +110,7 @@ RDEPEND=">=app-text/hunspell-1.2
>=dev-libs/glib-2.26:2
>=sys-libs/zlib-1.2.3
>=virtual/libffi-3.0.10
-   ffmpeg? ( virtual/ffmpeg )
+   virtual/ffmpeg
x11-libs/libX11
x11-libs/libXcomposite
x11-libs/libXdamage
@@ -124,7 +124,7 @@ RDEPEND=">=app-text/hunspell-1.2
system-libevent? ( =dev-libs/libevent-2.0*:0= )
system-sqlite? ( >=dev-db/sqlite-3.11.0:3[secure-delete,debug=] )
system-libvpx? ( >=media-libs/libvpx-1.5.0:0=[postproc] )
-   system-harfbuzz? ( >=media-libs/harfbuzz-1.1.3:0=[graphite,icu] 
>=media-gfx/graphite2-1.3.8 )
+   system-harfbuzz? ( >=media-libs/harfbuzz-1.2.2:0=[graphite,icu] 
>=media-gfx/graphite2-1.3.8 )
 "
 
 if [[ -n ${MOZCONFIG_OPTIONAL_GTK3} ]]; then
@@ -340,7 +340,6 @@ mozconfig_config() {
mozconfig_annotate '' --host="${CBUILD:-${CHOST}}"
fi
 
-   use ffmpeg || mozconfig_annotate '-ffmpeg' --disable-ffmpeg
mozconfig_use_enable pulseaudio
 
mozconfig_use_enable system-cairo

diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index 1136360..125e327 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -79,5 +79,95 @@ DIST firefox-45.1.0esr-xh.xpi 432913 SHA256 
24f08d22e7d90f211a005b7c6f5580512268
 DIST firefox-45.1.0esr-zh-CN.xpi 475791 SHA256 
5532eaf005914abca2e28a9c455029a98357bd17b305a0460e020ca37f4fd864 SHA512 
020a4747e6e0b9d9ecec7049a7a6d537a344491920d7bbe1a59b52090c40502e988157087a37736ffcb30101a3618495bc3a30eae834b741563e91de930201a0
 WHIRLPOOL 
879344813df8b3948cfece2327e52d15de0de8022c7af609d6fc5b2b89dee73095aed273d0c8512012f544f972abc0f0d50df01b6e66dba5fc6c43511940c8f0
 DIST firefox-45.1.0esr-zh-TW.xpi 466524 SHA256 
5127eb60caead072b71dac2a3a75a0b28fc85f7532ef78f75e4bd834557a0aab SHA512 
265f3503557dc25646623e0fc56c22de350c765bc07d3746101ee0667428f18a4114979204dfc13e19293550c08f16d096bb0a8edfc6c67f7dcb7ca7b7c53351
 WHIRLPOOL 
81f216b0e239541a2934745378dfe06ff4acebf91135a285a9f3a13ae4feaaf5d23f6e6d661149258574605c5524a71a86f3a7a54624e2f96569602bc9f37f7d
 DIST firefox-45.1.0esr.source.tar.xz 184373664 SHA256 
8bdc4a0f6d0ca4f28e888ca0044ba735ddc78302820b5ffcc25cd65064ff40a1 SHA512 
0190cc133171ff731ba2ae7a5296e44b95ee2371c36c016dd0838fd8da8765d607ab2ebf6c7d32abdee2aa1ad5e52c58d40d73cc887e2caaad1f863d04211463
 WHIRLPOOL 
229f0cff3723cb290d910771d3d49df3de750b35b39337d89fc9e2e95f9745d9ccdf5587f95c80f3ff54f0d8baa8cdc973e20361bd973ccbc61bb1cbd5c17d1f
+DIST firefox-47.0-ach.xpi 425996 SHA256 
90d6783f1e1a8b56fe4bd9275ea00c194bbc742148eca0a72136f791107f6b67 SHA512 
358a8dde50a17a535342d74cb690e403de4eb9d68edc5c81d267b36711ed32b5adf27302149485626d9d2bdb8ef3ed5bc9f6b910eb13a8a04194ad16da6ccb7d
 WHIRLPOOL 
4373ed048e3d304c784c8be05041dea3a7025b1904580459d403ae865a5ac3841d3024c114621e10f125834f6a5b240860c40fe47600b512c236c8275536cda7
+DIST firefox-47.0-af.xpi 441513 SHA256 
63242ab9f9c417a16a67011bebf561a8ff4d464b5b7b875ea068133199215965 SHA512 
68b9e86b7b457c76bfdfa0762ef1a2f82dda2fdc6914e40a2a3e73d1b86efbca5ea884d6f12d51e45a71933f800e226709a84d8f36d818a6eaba02c2b348b4e3
 WHIRLPOOL 
82ba0d66b5bb92da2599b50704a031daddd4e3af5567575f040f482519f3017616e81f1ec5043a407d9a8781b1f24c99edcee7d25f32e0cce296501c3cd83010
+DIST firefox-47.0-an.xpi 453259 SHA256 
f2745a4aec44a791a07b0055de10258dd92535fe8e34372875a2b8fe7ce94b59 SHA512 
6fa15015f4db9abd06bd542ea098534b2120b2df4b6037ca03dfbb9c076ea01f12dc6eb2ea98b4962ae7625650079cc62f690eaa71ccac934083063de3dc5b91
 WHIRLPOOL 
e7cb23f67b9cdfa7de70b8f68b8e6f8ffeda6a95e04e41f385887e4daa758d64b2b42d0e95a49e5ab7d901c11a7a13be97dd37aca9f4ce0613e3debf5d404b2b
+DIST 

[gentoo-commits] proj/mozilla:master commit in: eclass/

2016-04-27 Thread Lars Wendler
commit: 7d1f01e9fd49bc1ea40af54376c40584224c3f8d
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Apr 28 05:47:31 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Apr 28 05:49:02 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=7d1f01e9

Fixed harfbuzz's USE dependency (it's "graphite", not "graphite2")

Signed-off-by: Lars Wendler  gentoo.org>

 eclass/mozconfig-v6.45.eclass | 2 +-
 eclass/mozconfig-v6.46.eclass | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/mozconfig-v6.45.eclass b/eclass/mozconfig-v6.45.eclass
index 6d1586b..05127d2 100644
--- a/eclass/mozconfig-v6.45.eclass
+++ b/eclass/mozconfig-v6.45.eclass
@@ -120,7 +120,7 @@ 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-harfbuzz? ( >=media-libs/harfbuzz-1.1.3:0=[graphite2,icu] 
>=media-gfx/graphite2-1.3.8 )
+   system-harfbuzz? ( >=media-libs/harfbuzz-1.1.3:0=[graphite,icu] 
>=media-gfx/graphite2-1.3.8 )
 "
 
 if [[ ${PV} == "45.0" ]]; then

diff --git a/eclass/mozconfig-v6.46.eclass b/eclass/mozconfig-v6.46.eclass
index 8149082..90b11ef 100644
--- a/eclass/mozconfig-v6.46.eclass
+++ b/eclass/mozconfig-v6.46.eclass
@@ -124,7 +124,7 @@ RDEPEND=">=app-text/hunspell-1.2
system-libevent? ( =dev-libs/libevent-2.0*:0= )
system-sqlite? ( >=dev-db/sqlite-3.10.2:3[secure-delete,debug=] )
system-libvpx? ( >=media-libs/libvpx-1.3.0:0=[postproc,svc(-)] )
-   system-harfbuzz? ( >=media-libs/harfbuzz-1.1.3:0=[graphite2,icu] 
>=media-gfx/graphite2-1.3.8 )
+   system-harfbuzz? ( >=media-libs/harfbuzz-1.1.3:0=[graphite,icu] 
>=media-gfx/graphite2-1.3.8 )
 "
 
 if [[ -n ${MOZCONFIG_OPTIONAL_GTK3} ]]; then



[gentoo-commits] proj/mozilla:master commit in: eclass/

2016-04-27 Thread Ian Stakenvicius
commit: 8f9f5e9c5e13ed61de409d2b60722f5dd8fa60a0
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Wed Apr 27 21:23:24 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Wed Apr 27 21:23:24 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=8f9f5e9c

mozconfig-v6.45.eclass: do not require newer libvpx on thunderbird-45.0

 eclass/mozconfig-v6.45.eclass | 10 +-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/eclass/mozconfig-v6.45.eclass b/eclass/mozconfig-v6.45.eclass
index 4347827..6d1586b 100644
--- a/eclass/mozconfig-v6.45.eclass
+++ b/eclass/mozconfig-v6.45.eclass
@@ -120,10 +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.5.0:0=[postproc,svc] )
system-harfbuzz? ( >=media-libs/harfbuzz-1.1.3:0=[graphite2,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"



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

2016-04-23 Thread Ian Stakenvicius
commit: 7eaaabf232470e21d2206ba7a74c832c2278d55f
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Sat Apr 23 14:48:47 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Sat Apr 23 14:48:53 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=7eaaabf2

force the graphite pref when system-harfbuzz is enabled

As system-harfbuzz is a mozconfig-based pref, a helper function has been added
to the mozconfig eclass that will add common entries into the specified prefs
file based on values from use flags or settings controlled by mozconfig.

 eclass/mozconfig-v6.46.eclass | 41 +++
 www-client/firefox/firefox-46.0_beta11.ebuild |  9 ++
 2 files changed, 44 insertions(+), 6 deletions(-)

diff --git a/eclass/mozconfig-v6.46.eclass b/eclass/mozconfig-v6.46.eclass
index 7cb2322..62cc189 100644
--- a/eclass/mozconfig-v6.46.eclass
+++ b/eclass/mozconfig-v6.46.eclass
@@ -361,3 +361,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 \
+#  "${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js"
+#
+#  ...
+# }
+
+mozconfig_install_prefs() {
+   local prefs_file="${1}"
+
+   einfo "Adding prefs from mozconfig to ${prefs_file}"
+
+   # set dictionary path, to use system hunspell
+   echo "pref(\"spellchecker.dictionary_path\", 
\"${EPREFIX}/usr/share/myspell\");" \
+   >>"${prefs_file}" || die
+
+   # force the graphite pref if system-harfbuzz is enabled, since the pref 
cant disable it
+   if use system-harfbuzz ; then
+   echo 
"sticky_pref(\"gfx.font_rendering.graphite.enabled\",true);" \
+   >>"${prefs_file}" || die
+   fi
+}

diff --git a/www-client/firefox/firefox-46.0_beta11.ebuild 
b/www-client/firefox/firefox-46.0_beta11.ebuild
index 7e8f883..3cccb6c 100644
--- a/www-client/firefox/firefox-46.0_beta11.ebuild
+++ b/www-client/firefox/firefox-46.0_beta11.ebuild
@@ -256,7 +256,6 @@ src_compile() {
 
 src_install() {
MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
-   DICTPATH="\"${EPREFIX}/usr/share/myspell\""
 
cd "${BUILD_OBJ_DIR}" || die
 
@@ -265,6 +264,9 @@ src_install() {

"${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" \
|| die
 
+   mozconfig_install_prefs \
+   
"${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js"
+
# Augment this with hwaccel prefs
if use hwaccel ; then
cat "${FILESDIR}"/gentoo-hwaccel-prefs.js-1 >> \
@@ -272,11 +274,6 @@ src_install() {
|| die
fi
 
-   # Set default path to search for dictionaries.
-   echo "pref(\"spellchecker.dictionary_path\", ${DICTPATH});" \
-   >> 
"${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" \
-   || die
-
echo "pref(\"extensions.autoDisableScopes\", 3);" >> \

"${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" \
|| die



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

2016-04-22 Thread Ian Stakenvicius
commit: c139b8900a5f6bfb66de3bbbde170d72a3356920
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Sat Apr 23 00:08:25 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Sat Apr 23 00:08:25 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=c139b890

bump firefox-46 to beta11, patch to allow system-harfbuzz and system-graphite2

 eclass/mozconfig-v6.46.eclass  | 14 +---
 www-client/firefox/Manifest|  4 +--
 ...6.0_beta6.ebuild => firefox-46.0_beta11.ebuild} | 41 +++---
 3 files changed, 24 insertions(+), 35 deletions(-)

diff --git a/eclass/mozconfig-v6.46.eclass b/eclass/mozconfig-v6.46.eclass
index 9400121..7cb2322 100644
--- a/eclass/mozconfig-v6.46.eclass
+++ b/eclass/mozconfig-v6.46.eclass
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 #
-# @ECLASS: mozconfig-v6.45.eclass
+# @ECLASS: mozconfig-v6.46.eclass
 # @MAINTAINER:
 # mozilla team 
 # @BLURB: the new mozilla common configuration eclass for FF33 and newer, v6
@@ -84,7 +84,7 @@ inherit flag-o-matic toolchain-funcs mozcoreconf-v3
 
 # use-flags common among all mozilla ebuilds
 IUSE="${IUSE} dbus debug +ffmpeg +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
@@ -124,6 +124,7 @@ RDEPEND=">=app-text/hunspell-1.2
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,svc(-)] )
+   system-harfbuzz? ( >=media-libs/harfbuzz-1.1.3:0=[graphite2,icu] 
>=media-gfx/graphite2-1.3.8 )
 "
 
 if [[ -n ${MOZCONFIG_OPTIONAL_GTK3} ]]; then
@@ -191,8 +192,9 @@ DEPEND="app-arch/zip
 RDEPEND+="
selinux? ( sec-policy/selinux-mozilla )"
 
-# ensure REQUIRED_USE is set just in case += fails otherwise
-: ${REQUIRED_USE:=""}
+# force system-icu if system-harfbuzz is selected, to avoid potential ABI 
issues
+REQUIRED_USE="
+   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} ]] && \
@@ -209,7 +211,7 @@ RDEPEND+="
 #
 # Example:
 #
-# inherit mozconfig-v5.33
+# inherit mozconfig-v6.46
 #
 # src_configure() {
 #  mozconfig_init
@@ -340,6 +342,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

diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index 6232e95..a5d0593 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -79,5 +79,5 @@ DIST firefox-45.0.1-xh.xpi 429734 SHA256 
638b3ac560c1e61f410ff8ee53125e58d6a0fe7
 DIST firefox-45.0.1-zh-CN.xpi 469931 SHA256 
69dcf93c1e3ea55d248834f653d2d80706a1c91038f745b183f9f670116728e2 SHA512 
21ad24eb635321ddf979217181c6f8c42b673ffc266e35d22078508ac7d6857986955299070b01ffb9a45938d3bf19905ce24c7ca4fc759b040491a8a4c2d4a8
 WHIRLPOOL 
eeed1f803a52558dfe48a0eab30dfbcad69652ff748355e76dcd6d0e7ad2bffbc74e9f91a12945aed08d668ae9cc09c57d634101ed29543bd3ec9ae1704fa8bc
 DIST firefox-45.0.1-zh-TW.xpi 460795 SHA256 
b5ed300a15623e1f8207e5b566864f2cba8772ddcec5fff460b8b37e5a9f2cbd SHA512 
7ee83363c5f5b0317d50ba1ba90ad910a8e01a2d83ea3da0ba1a533bca413e32f4220dbc2ccdc2cdbb75dbcf7b23fa5c32a6fa5f9bec9416b6d06f188a5f061e
 WHIRLPOOL 
cc114e9aad479dec70eecf03c42c6f17965cdf96bec90011f4287d8bd2c865eefcc8fe040c28ce2812173922f53cc938cfeaad18e851b1f5f72b893e5f7dd3d8
 DIST firefox-45.0.1.source.tar.xz 184009616 SHA256 
d1814ac6d8cd687696bd0d98da3bb525f6df11fe655e0d668742b21fca57d9c8 SHA512 
ff28116aff3dd07bf9c43724c7870cac8e4764639c5ee1248cc1003a4f6005f86b823a0f7969425970e2aeba3eca22e4aa88fa3c5d912c253373d398257d8438
 WHIRLPOOL 
10bf50ca841136a91410ea71de577f97b7a29c56258882a4a48d68ac872ad49bf0f900b8d5a2f19172346229bc83ffbfc87d5cf29080f3589b8fd372ffc2ca55
-DIST firefox-46.0-patches-0.3.tar.xz 14376 SHA256 
3db42f35a0b86e8b1621bbc3f499f4b6d3f317728faa468f7acfe2ec34162ef9 SHA512 
e593bc6751cd88e6e004012292d8ff39008e5ed46bcea73702f88365ec714e17f468ba4c297e06b07052706ff98a13dca69b4a05b4f2c45f7070d2b1fd4571bd
 WHIRLPOOL 
6179d9f4e8e3a2c66632e15db3a4db4a79b8ea7c7a92d15754438f6fb5a38ad09c852e047952c99d37cff8f42b4ffc1ddbd4df6e8855a1d800561306d1320779
-DIST firefox-46.0b6.source.tar.xz 187289468 SHA256 
9a265fa8a236b1f0f0878f667b4fd5f2b6931bddaffc2c4d8337b34f4e1be926 SHA512 

[gentoo-commits] proj/mozilla:master commit in: eclass/

2016-03-28 Thread Ian Stakenvicius
commit: 73b3f5a628ecd07aaf23b43695049d94598ee268
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Fri Mar 18 15:58:45 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Fri Mar 18 15:58:45 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=73b3f5a6

mozconfig-v6.46.eclass adjustments

- dropped gstreamer options as it has been removed upstream
- added logic to support both gtk3-default and gtk2-default configurations:
- setting MOZCONFIG_OPTIONAL_GTK3 adds a 'gtk3' use flag which can be
  enabled or disabled to control the use of cairo-gtk3 toolkit, and 
cairo-gtk2
  is used otherwose
- setting MOZCONFIG_OPTIONAL_GTK2ONLY adds a 'force-gtk2' use flag which
  can be enabled or disabled to control the use of cairo-gtk2 toolkit, 
and
  cairo-gtk3 is used otherwise.

The primary reason for this is to make the gentoo gnome/gtk devs happy, as they 
don't like
gtk2/gtk3 use flags, and to better enforce the default in USE="-*" user profile 
situations.

 eclass/mozconfig-v6.46.eclass | 58 +++
 1 file changed, 36 insertions(+), 22 deletions(-)

diff --git a/eclass/mozconfig-v6.46.eclass b/eclass/mozconfig-v6.46.eclass
index a25e5a5..9400121 100644
--- a/eclass/mozconfig-v6.46.eclass
+++ b/eclass/mozconfig-v6.46.eclass
@@ -59,6 +59,19 @@ inherit flag-o-matic toolchain-funcs mozcoreconf-v3
 # 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
@@ -70,7 +83,7 @@ inherit flag-o-matic toolchain-funcs mozcoreconf-v3
 # 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
+IUSE="${IUSE} dbus debug +ffmpeg +jemalloc3 neon pulseaudio selinux 
startup-notification system-cairo
system-icu system-jpeg system-libevent system-sqlite system-libvpx"
 
 # some notes on deps:
@@ -98,16 +111,6 @@ RDEPEND=">=app-text/hunspell-1.2
>=sys-libs/zlib-1.2.3
>=virtual/libffi-3.0.10
ffmpeg? ( virtual/ffmpeg )
-   gstreamer? (
-   >=media-libs/gstreamer-1.4.5:1.0
-   >=media-libs/gst-plugins-base-1.4.5:1.0
-   >=media-libs/gst-plugins-good-1.4.5:1.0
-   >=media-plugins/gst-plugins-libav-1.4.5:1.0
-   )
-   gstreamer-0? (
-   >=media-libs/gstreamer-0.10.25:0.10
-   media-plugins/gst-plugins-meta:0.10[ffmpeg]
-   )
x11-libs/libX11
x11-libs/libXcomposite
x11-libs/libXdamage
@@ -124,6 +127,7 @@ RDEPEND=">=app-text/hunspell-1.2
 "
 
 if [[ -n ${MOZCONFIG_OPTIONAL_GTK3} ]]; then
+   MOZCONFIG_OPTIONAL_GTK2ONLY=
if [[ ${MOZCONFIG_OPTIONAL_GTK3} = "enabled" ]]; then
IUSE+=" +gtk3"
else
@@ -131,6 +135,14 @@ if [[ -n ${MOZCONFIG_OPTIONAL_GTK3} ]]; then
fi
RDEPEND+="
gtk3? ( >=x11-libs/gtk+-3.4.0:3 )"
+elif [[ -n ${MOZCONFIG_OPTIONAL_GTK2ONLY} ]]; then
+   if [[ ${MOZCONFIG_OPTIONAL_GTK2ONLY} = "enabled" ]]; then
+   IUSE+=" +force-gtk2"
+   else
+   IUSE+=" force-gtk2"
+   fi
+   RDEPEND+="
+   !force-gtk2? ( >=x11-libs/gtk+-3.4.0:3 )"
 fi
 if [[ -n ${MOZCONFIG_OPTIONAL_QT5} ]]; then
inherit qmake-utils
@@ -179,13 +191,17 @@ 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 )"
+# ensure REQUIRED_USE is set just in case += fails otherwise
+: ${REQUIRED_USE:=""}
 
 # 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} ]] && \
REQUIRED_USE+=" ?? ( gtk3 qt5 )"
 
+# only one of force-gtk2 or qt5 should be permitted to be selected, since only 
one will be used.
+[[ -n ${MOZCONFIG_OPTIONAL_GTK2ONLY} ]] 

[gentoo-commits] proj/mozilla:master commit in: eclass/

2016-03-28 Thread Ian Stakenvicius
commit: ae55a82e334d90ac803802aff0e272f138b134e9
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Thu Mar 24 16:04:23 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Thu Mar 24 16:04:23 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=ae55a82e

add missing use deps to python for virtualenv build

 eclass/mozcoreconf-v3.eclass | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/eclass/mozcoreconf-v3.eclass b/eclass/mozcoreconf-v3.eclass
index 9588ce2..5060c73 100644
--- a/eclass/mozcoreconf-v3.eclass
+++ b/eclass/mozcoreconf-v3.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 #
@@ -13,7 +13,7 @@
 if [[ ! ${_MOZCORECONF_V3} ]]; then
 
 PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE='threads,sqlite'
+PYTHON_REQ_USE='ncurses,sqlite,ssl,threads'
 
 inherit multilib flag-o-matic python-any-r1 versionator
 
@@ -103,7 +103,7 @@ moz_pkgsetup() {
 }
 
 # @FUNCTION: mozconfig_init
-# @DESCRIPTION
+# @DESCRIPTION:
 # Initialize mozilla configuration and populate with core settings.
 # This should be called in src_configure before any other mozconfig_* 
functions.
 mozconfig_init() {



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

2016-03-14 Thread Ian Stakenvicius
commit: c7f38fe0ad28c993c9b0076d8b6e80c9280c9052
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Tue Mar 15 02:51:49 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Tue Mar 15 02:53:42 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=c7f38fe0

add initial firefox-46.0_beta1 - force jit support to check if hardened works 
with new W^X

 eclass/mozconfig-v6.46.eclass| 345 +++
 www-client/firefox/Manifest  |   2 +
 www-client/firefox/firefox-46.0_beta1.ebuild | 393 +++
 3 files changed, 740 insertions(+)

diff --git a/eclass/mozconfig-v6.46.eclass b/eclass/mozconfig-v6.46.eclass
new file mode 100644
index 000..a25e5a5
--- /dev/null
+++ b/eclass/mozconfig-v6.46.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.19: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? ( >=sys-apps/dbus-0.60
+   >=dev-libs/dbus-glib-0.72 )
+   

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

2016-03-10 Thread Ian Stakenvicius
commit: 17630149ea97a55cc772f657c45da406196fbcbc
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Thu Mar 10 17:35:32 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Thu Mar 10 17:37:54 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=17630149

firefox-45.0 version bump plus EAPI6 bumps to eclasses, drop 44.0.2

 eclass/mozconfig-v6.45.eclass  | 345 ++
 eclass/mozlinguas.eclass   |   2 +-
 www-client/firefox/Manifest| 164 +
 .../firefox/files/firefox-44-qt-widget-fix.patch   |  21 --
 www-client/firefox/firefox-44.0.2.ebuild   | 387 -
 ...efox-45.0_beta10.ebuild => firefox-45.0.ebuild} |  26 +-
 6 files changed, 439 insertions(+), 506 deletions(-)

diff --git a/eclass/mozconfig-v6.45.eclass b/eclass/mozconfig-v6.45.eclass
new file mode 100644
index 000..5455a81
--- /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.19:0=[apng]
+   >=media-libs/mesa-10.2:*
+   media-libs/fontconfig
+   >=media-libs/freetype-2.4.10
+   kernel_linux? ( media-libs/alsa-lib 

[gentoo-commits] proj/mozilla:master commit in: eclass/, mail-client/thunderbird/

2016-02-10 Thread Ian Stakenvicius
commit: 209598e8e504678bf500620fa82feea69e487c7b
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Wed Feb 10 22:05:11 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Wed Feb 10 22:05:11 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=209598e8

added linguas to thunderbird-45.0_beta1

 eclass/mozlinguas.eclass   |  8 +++-
 mail-client/thunderbird/Manifest   | 56 ++
 .../thunderbird/thunderbird-45.0_beta1.ebuild  |  1 +
 3 files changed, 64 insertions(+), 1 deletion(-)

diff --git a/eclass/mozlinguas.eclass b/eclass/mozlinguas.eclass
index 4bd0a8d..f13083b 100644
--- a/eclass/mozlinguas.eclass
+++ b/eclass/mozlinguas.eclass
@@ -112,10 +112,16 @@ esac
 # 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:=""}
+
 # Add linguas_* to IUSE according to available language packs
 # No language packs for alphas and betas
 if ! [[ -n ${MOZ_GENERATE_LANGPACKS} ]] ; then
-   if ! [[ ${PV} =~ alpha|beta ]] || { [[ ${PN} == seamonkey ]] && ! [[ 
${PV} =~ alpha ]] ; } ; then
+   if ! [[ ${PV} =~ alpha|beta ]] || { [[ ${PN} == seamonkey ]] && ! [[ 
${PV} =~ alpha ]] ; } || [[ -n ${MOZ_FORCE_UPSTREAM_L10N} ]] ; then
[[ -z ${MOZ_FTP_URI} ]] && [[ -z ${MOZ_HTTP_URI} ]] && die "No URI set 
to download langpacks, please set one of MOZ_{FTP,HTTP}_URI"
for x in "${MOZ_LANGS[@]}" ; do
# en and en_US are handled internally

diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
index ed3ef3d..253cfcf 100644
--- a/mail-client/thunderbird/Manifest
+++ b/mail-client/thunderbird/Manifest
@@ -63,4 +63,60 @@ DIST thunderbird-38.5.0-vi.xpi 519843 SHA256 
43d25bbbf7d16c0d789ae2f98c16835b2ac
 DIST thunderbird-38.5.0-zh-CN.xpi 466412 SHA256 
5a655ebd5fbba862542973834b4d6cc2f8a13c065f734bbc490f8d838d71dc6e SHA512 
876e597c511721d3d83c74d1ad6cda7f73268ec7d5a91de312a11927986b9384886f42a2ac6ce0fb68fb0d9d7ce8aca081f5a90b116d5b9286ee3cbeaeac1a51
 WHIRLPOOL 
2d154a00f88ae784f4e51988d384f31bb18b2743f25ff78abb35f16f70ec6034598282467e43f105b41acd42fa11f2266c86645340fb9c537095cb4467ffb76e
 DIST thunderbird-38.5.0-zh-TW.xpi 41 SHA256 
87019d3d21edc402110fe3c18091f855e1946643b4e51392abecdd25ad775ffc SHA512 
957bce9dd781e8b8aa17778e12c3335d0a3823bbf9f54a9ed4837ab724e27cc03feb6b7e1d2d85069a9ed2d480c9939c9f68bd3797d45f02c6d65bfabdd2f0ab
 WHIRLPOOL 
4d79a8c4aa496c81af1751bb2830ed9e31886677a3b3aef58154cda37af7827ae355eb0a0de88a80ae765b071eb673e02c33851a65e21d41c8d9d5b25836e71a
 DIST thunderbird-38.5.0.source.tar.bz2 204393357 SHA256 
7da187d4d5df17b1457bd93b584f78f5e41d2094f87c14e74ee9d8064de25d0d SHA512 
fed8376375c3ad7df8b773ced7944fb07edbd28e82c907dc6451ad538b8944d6f2a1d5632399f255ab1c7f74a40a9170912fefdbb2fdf423d7dc35108d1baa65
 WHIRLPOOL 
93853218ce7bb585e1515e62ea02bbe51e723d0071f8bfcddd5da9c4ea0a888a5c78fe86afbd46ab049a2e59424dc5f2a04d3157ef720e524ad6e2bf99614e01
+DIST thunderbird-45.0b1-ar.xpi 490773 SHA256 
fb2149bf73d5ac70ed902634eb30171835dabaa1a320aa0761057d5a1833bef9 SHA512 
80659c914873717c6538e2933a2983190476cf42498a01337ce0cd6468401aa66002061fe54175c47280fa482c43372a1951d78db5b331826fa2b086047c1014
 WHIRLPOOL 
25b43ba0cd0ce5d4464158f4a8069346c35ee184412240c97a0514e730f3895772562bf5323c1103cb1152738d9207b6e10c981e2d62c0a4320c2192c7b1aaa6
+DIST thunderbird-45.0b1-ast.xpi 428057 SHA256 
aa00a32977f5f6181f7a5e7d97c5e7518e69ab7d4babd93c2e60e3d34a5b849f SHA512 
56c7e5761f2192a1963acdecae1ce1fdfc8f194470c7c1827d4a0cb8c676c9d24fbf07e7a9fb098b36ab5ca29bf33869e61fa9c02b11c65f4a133351fe1e3c33
 WHIRLPOOL 
71a400ebb82c835b818f959200c36994ed3d40b1c27bdb0852447c7bd55a61072a8dd6b1711698ebf18ebbfe4e25e40c8ae3c823ffbb0f4095e6ea1d90550f50
+DIST thunderbird-45.0b1-be.xpi 469094 SHA256 
76fd0ca0105b899b136499eca33910a8a769e0cf2b87ad5c63024b4fadd22313 SHA512 
fa30bccdbf7086b4d4ba8430b9757ac006b77447cad36bc5f1052e52fa1bacbdd3c6500df9825b4a1f0d2db3f5dd2fd9e839d367db337091645b17d09f0fcc55
 WHIRLPOOL 
4045376f050262773e28711884e6a3d1b0c6f608e2258671230fe61bbaccf02c477fcd735478c2cd88de5edd35ec610f5c499d2a997ebe2bf9dff6b74e012fa3
+DIST thunderbird-45.0b1-bg.xpi 518419 SHA256 
f991e206fe086392b1cc5426463b668db9bdd8aa499be02e0c1e456bac31096f SHA512 
f45570912aaa9b838e3e96929e1ce0789ad67096d4286a816b8f2bed443dce8856a1966cd02b8f8a19148c06712d1de345da7661b7a667836442724f8609644b
 WHIRLPOOL 
c4a6177cd329a220bd11504ce435f3a874a5f33e4ee708e1666503adb56099e55b13d51419b5acc34c7c634d58633ae8ca572ef700ccf6dcc071230ee56960f3
+DIST thunderbird-45.0b1-bn-BD.xpi 581437 SHA256 
9960e4a3900b7fa58e9b23260519c14cd13c57c7613a46d67192070d8a6066cb SHA512 
5778ac2190053da035823c09318d437f5a83df620ff213a81ea83a4d0bb4da32386f6253177af5aad7e09060dc7e54dfc20231b54b5639d4c198739b6fcbe7a1
 WHIRLPOOL 

[gentoo-commits] proj/mozilla:master commit in: eclass/

2016-02-04 Thread Ian Stakenvicius
commit: 5305e8b60d071cf02f5235ee94ae45e22011b9e2
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Thu Feb  4 15:42:54 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Thu Feb  4 15:42:54 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=5305e8b6

mozconfig eclass: dropped use-deps on ffmpeg, added slot operator on libevent

 eclass/mozconfig-v6.44.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/mozconfig-v6.44.eclass b/eclass/mozconfig-v6.44.eclass
index fa3c968..63847ff 100644
--- a/eclass/mozconfig-v6.44.eclass
+++ b/eclass/mozconfig-v6.44.eclass
@@ -75,7 +75,7 @@ IUSE="${IUSE} dbus debug ffmpeg +gstreamer gstreamer-0 
+jemalloc3 neon pulseaudi
 RDEPEND=">=app-text/hunspell-1.2
dev-libs/atk
dev-libs/expat
-   >=dev-libs/libevent-1.4.7
+   >=dev-libs/libevent-1.4.7:=
>=x11-libs/cairo-1.10[X]
>=x11-libs/gtk+-2.18:2
x11-libs/gdk-pixbuf
@@ -93,7 +93,7 @@ RDEPEND=">=app-text/hunspell-1.2
>=dev-libs/glib-2.26:2
>=sys-libs/zlib-1.2.3
>=virtual/libffi-3.0.10
-   ffmpeg? ( virtual/ffmpeg[mp3,x264] )
+   ffmpeg? ( virtual/ffmpeg )
gstreamer? (
>=media-libs/gstreamer-1.4.5:1.0
>=media-libs/gst-plugins-base-1.4.5:1.0



[gentoo-commits] proj/mozilla:master commit in: eclass/

2016-01-10 Thread Jory Pratt
commit: 65e762bf0b9c329d71a0d5be606fb1f0210ff721
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Mon Jan 11 01:18:30 2016 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Mon Jan 11 01:18:30 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=65e762bf

Apply same intl-api fix to mozconfig-v6.44

 eclass/mozconfig-v6.44.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/mozconfig-v6.44.eclass b/eclass/mozconfig-v6.44.eclass
index 8af9bab..fa3c968 100644
--- a/eclass/mozconfig-v6.44.eclass
+++ b/eclass/mozconfig-v6.44.eclass
@@ -265,6 +265,7 @@ mozconfig_config() {
mozconfig_annotate 'Gentoo default to honor system linker' 
--disable-gold
mozconfig_annotate 'Gentoo default' --disable-skia
mozconfig_annotate '' --disable-gconf
+   mozconfig_annotate '' --with-intl-api
 
# default toolkit is cairo-gtk2, optional use flags can change this
local toolkit="cairo-gtk2"
@@ -320,7 +321,6 @@ mozconfig_config() {
mozconfig_use_enable system-sqlite
mozconfig_use_with system-jpeg
mozconfig_use_with system-icu
-   mozconfig_use_with system-icu intl-api
mozconfig_use_with system-libvpx
 
# Modifications to better support ARM, bug 553364



[gentoo-commits] proj/mozilla:master commit in: eclass/

2016-01-10 Thread Jory Pratt
commit: 1d134e38b8d1c602080c74b631edba455db8ccd1
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Mon Jan 11 00:47:43 2016 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Mon Jan 11 00:47:43 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=1d134e38

We should always build with intl-api being exposed

 eclass/mozconfig-v6.42.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/mozconfig-v6.42.eclass b/eclass/mozconfig-v6.42.eclass
index 60413c4..d0c8abf 100644
--- a/eclass/mozconfig-v6.42.eclass
+++ b/eclass/mozconfig-v6.42.eclass
@@ -235,6 +235,7 @@ mozconfig_config() {
mozconfig_annotate 'Gentoo default to honor system linker' 
--disable-gold
mozconfig_annotate 'Gentoo default' --disable-skia
mozconfig_annotate '' --disable-gconf
+   mozconfig_annotate '' --with-intl-api
 
# 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.
@@ -261,7 +262,6 @@ mozconfig_config() {
mozconfig_use_enable system-sqlite
mozconfig_use_with system-jpeg
mozconfig_use_with system-icu
-   mozconfig_use_with system-icu intl-api
mozconfig_use_with system-libvpx
 
# Modifications to better support ARM, bug 553364



[gentoo-commits] proj/mozilla:master commit in: eclass/

2016-01-10 Thread Jory Pratt
commit: f4b96f62749eb607ec71b6821de0a8553cf8e957
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Mon Jan 11 01:24:15 2016 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Mon Jan 11 01:24:15 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=f4b96f62

Fix mozconfig-v6.38 for thunderbird and esr releases

 eclass/mozconfig-v6.38.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/mozconfig-v6.38.eclass b/eclass/mozconfig-v6.38.eclass
index f3a07db..15925cb 100644
--- a/eclass/mozconfig-v6.38.eclass
+++ b/eclass/mozconfig-v6.38.eclass
@@ -209,6 +209,7 @@ mozconfig_config() {
mozconfig_annotate 'Gentoo default to honor system linker' 
--disable-gold
mozconfig_annotate '' --disable-gconf
mozconfig_annotate 'Gentoo default' --disable-skia
+   mozconfig_annotate '' --with-intl-api
 
# 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.
@@ -235,7 +236,6 @@ mozconfig_config() {
mozconfig_use_enable system-sqlite
mozconfig_use_with system-jpeg
mozconfig_use_with system-icu
-   mozconfig_use_with system-icu intl-api
mozconfig_use_with system-libvpx
 
# Modifications to better support ARM, bug 553364



[gentoo-commits] proj/mozilla:master commit in: eclass/

2016-01-04 Thread Ian Stakenvicius
commit: b2dca54cd68b1ca0d66e880ac55fbf4e1827170b
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Mon Jan  4 21:08:55 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Mon Jan  4 21:08:55 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=b2dca54c

enable or disable direct ffmpeg support for decoding html5 audio and video

 eclass/mozconfig-v6.44.eclass | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/eclass/mozconfig-v6.44.eclass b/eclass/mozconfig-v6.44.eclass
index fce86f0..1aec119 100644
--- a/eclass/mozconfig-v6.44.eclass
+++ b/eclass/mozconfig-v6.44.eclass
@@ -55,7 +55,7 @@ esac
 # 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 +gstreamer gstreamer-0 +jemalloc3 neon pulseaudio 
selinux startup-notification system-cairo
+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:
@@ -83,6 +83,7 @@ RDEPEND=">=app-text/hunspell-1.2
>=dev-libs/glib-2.26:2
>=sys-libs/zlib-1.2.3
>=virtual/libffi-3.0.10
+   ffmpeg? ( virtual/ffmpeg[mp3,x264] )
gstreamer? (
>=media-libs/gstreamer-1.4.5:1.0
>=media-libs/gst-plugins-base-1.4.5:1.0
@@ -251,6 +252,7 @@ mozconfig_config() {
mozconfig_annotate '' --target="${CTARGET:-${CHOST}}"
mozconfig_annotate '' --build="${CTARGET:-${CHOST}}"
 
+   use ffmpeg || mozconfig_annotate '-ffmpeg' --disable-ffmpeg
if use gstreamer ; then
mozconfig_annotate '+gstreamer' --enable-gstreamer=1.0
elif use gstreamer-0 ; then



[gentoo-commits] proj/mozilla:master commit in: eclass/

2016-01-01 Thread Jory Pratt
commit: 42f4ab492a23e522172d6513bd73274cb7059bac
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Fri Jan  1 22:28:17 2016 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Fri Jan  1 22:28:17 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=42f4ab49

remove obsolete eclass

 eclass/mozconfig-v5.31.eclass | 218 --
 1 file changed, 218 deletions(-)

diff --git a/eclass/mozconfig-v5.31.eclass b/eclass/mozconfig-v5.31.eclass
deleted file mode 100644
index 5d93466..000
--- a/eclass/mozconfig-v5.31.eclass
+++ /dev/null
@@ -1,218 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-#
-# @ECLASS: mozconfig-v5.31.eclass
-# @MAINTAINER:
-# mozilla team 
-# @BLURB: the new mozilla common configuration eclass for FF31 and newer, v5
-# @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.
-
-# use-flags common among all mozilla ebuilds
-IUSE="${IUSE} dbus debug gstreamer pulseaudio startup-notification 
system-cairo system-icu system-jpeg 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.14:2
-   x11-libs/gdk-pixbuf
-   >=x11-libs/pango-1.22.0
-   >=media-libs/libpng-1.6.10: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 )
-   >=sys-libs/zlib-1.2.3
-   virtual/freedesktop-icon-theme
-   dbus? ( >=sys-apps/dbus-0.60
-   >=dev-libs/dbus-glib-0.72 )
-   startup-notification? ( >=x11-libs/startup-notification-0.8 )
-   >=dev-libs/glib-2.26:2
-   virtual/libffi
-   gstreamer? ( media-plugins/gst-plugins-meta:1.0[ffmpeg] )
-   x11-libs/libX11
-   x11-libs/libXext
-   x11-libs/libXrender
-   x11-libs/libXt
-   system-cairo? ( >=x11-libs/cairo-1.12[X] >=x11-libs/pixman-0.19.2 )
-   system-icu? ( >=dev-libs/icu-51.1:= )
-   system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
-   system-sqlite? ( >=dev-db/sqlite-3.8.4.2:3[secure-delete,debug=] )
-"
-
-# firefox-31.0-patches-0.3 and above carry a patch making newer libvpx 
compatible
-case ${PATCHFF##*31.0-patches-} in
-   0.3)RDEPEND+=" system-libvpx? ( >=media-libs/libvpx-1.3.0:0= )" ;;
-   *)  RDEPEND+=" system-libvpx? ( =media-libs/libvpx-1.3.0* )" ;;
-esac
-
-if [[ -n ${MOZCONFIG_OPTIONAL_WIFI} ]]; then
-   if [[ ${MOZCONFIG_OPTIONAL_WIFI} = "enabled" ]]; then
-   IUSE+=" +wifi"
-   else
-   IUSE+=" wifi"
-   fi
-   RDEPEND+="
-   wifi? ( >=sys-apps/dbus-0.60
-   >=dev-libs/dbus-glib-0.72
-   net-wireless/wireless-tools )"
-fi
-if [[ -n ${MOZCONFIG_OPTIONAL_JIT} ]]; then
-   if [[ ${MOZCONFIG_OPTIONAL_JIT} = "enabled" ]]; then
-   IUSE+=" +jit"
-   else
-   IUSE+=" jit"
-   fi
-fi
-

[gentoo-commits] proj/mozilla:master commit in: eclass/

2015-12-31 Thread Jory Pratt
commit: ce121d0fa40119a1aa3b5b2b15905266e566cafe
Author: Sven Wegener  gentoo  org>
AuthorDate: Thu Dec 31 17:07:44 2015 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Thu Dec 31 22:04:56 2015 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=ce121d0f

eclass, mozconfig: Use --with-intl-api

Signed-off-by: Sven Wegener  gentoo.org>
Signed-off-by: Jory A. Pratt  gentoo.org>

 eclass/mozconfig-v5.31.eclass | 2 +-
 eclass/mozconfig-v6.38.eclass | 2 +-
 eclass/mozconfig-v6.39.eclass | 2 +-
 eclass/mozconfig-v6.41.eclass | 2 +-
 eclass/mozconfig-v6.42.eclass | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/eclass/mozconfig-v5.31.eclass b/eclass/mozconfig-v5.31.eclass
index e98ade2..5d93466 100644
--- a/eclass/mozconfig-v5.31.eclass
+++ b/eclass/mozconfig-v5.31.eclass
@@ -213,6 +213,6 @@ mozconfig_config() {
mozconfig_use_enable system-sqlite
mozconfig_use_with system-jpeg
mozconfig_use_with system-icu
-   mozconfig_use_enable system-icu intl-api
+   mozconfig_use_with system-icu intl-api
mozconfig_use_with system-libvpx
 }

diff --git a/eclass/mozconfig-v6.38.eclass b/eclass/mozconfig-v6.38.eclass
index ecd4578..f3a07db 100644
--- a/eclass/mozconfig-v6.38.eclass
+++ b/eclass/mozconfig-v6.38.eclass
@@ -235,7 +235,7 @@ mozconfig_config() {
mozconfig_use_enable system-sqlite
mozconfig_use_with system-jpeg
mozconfig_use_with system-icu
-   mozconfig_use_enable system-icu intl-api
+   mozconfig_use_with system-icu intl-api
mozconfig_use_with system-libvpx
 
# Modifications to better support ARM, bug 553364

diff --git a/eclass/mozconfig-v6.39.eclass b/eclass/mozconfig-v6.39.eclass
index b4d149f..7f7d353 100644
--- a/eclass/mozconfig-v6.39.eclass
+++ b/eclass/mozconfig-v6.39.eclass
@@ -235,6 +235,6 @@ mozconfig_config() {
mozconfig_use_enable system-sqlite
mozconfig_use_with system-jpeg
mozconfig_use_with system-icu
-   mozconfig_use_enable system-icu intl-api
+   mozconfig_use_with system-icu intl-api
mozconfig_use_with system-libvpx
 }

diff --git a/eclass/mozconfig-v6.41.eclass b/eclass/mozconfig-v6.41.eclass
index b3ee165..25a9471 100644
--- a/eclass/mozconfig-v6.41.eclass
+++ b/eclass/mozconfig-v6.41.eclass
@@ -258,6 +258,6 @@ mozconfig_config() {
mozconfig_use_enable system-sqlite
mozconfig_use_with system-jpeg
mozconfig_use_with system-icu
-   mozconfig_use_enable system-icu intl-api
+   mozconfig_use_with system-icu intl-api
mozconfig_use_with system-libvpx
 }

diff --git a/eclass/mozconfig-v6.42.eclass b/eclass/mozconfig-v6.42.eclass
index 1feea38..60413c4 100644
--- a/eclass/mozconfig-v6.42.eclass
+++ b/eclass/mozconfig-v6.42.eclass
@@ -261,7 +261,7 @@ mozconfig_config() {
mozconfig_use_enable system-sqlite
mozconfig_use_with system-jpeg
mozconfig_use_with system-icu
-   mozconfig_use_enable system-icu intl-api
+   mozconfig_use_with system-icu intl-api
mozconfig_use_with system-libvpx
 
# Modifications to better support ARM, bug 553364



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

2015-12-23 Thread Ian Stakenvicius
commit: 28e74fb7424b07df279c04dde353aeb69affe9be
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Wed Dec 23 21:05:03 2015 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Wed Dec 23 21:05:03 2015 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=28e74fb7

migrate arm neon/softfp/hardfp config fixes to the eclass

The firefox ebuild received fixes for various arm configurations (neon, 
hardfp/softfp)
but these fixes should also be applied to the other mozilla packages.  This 
commit
removes them from firefox and adds them to mozconfig.

 eclass/mozconfig-v6.38.eclass | 20 ++--
 eclass/mozconfig-v6.42.eclass | 18 +-
 www-client/firefox/firefox-42.0-r2.ebuild | 18 +-
 www-client/firefox/firefox-43.0.ebuild| 18 +-
 4 files changed, 37 insertions(+), 37 deletions(-)

diff --git a/eclass/mozconfig-v6.38.eclass b/eclass/mozconfig-v6.38.eclass
index f7b4d9b..ecd4578 100644
--- a/eclass/mozconfig-v6.38.eclass
+++ b/eclass/mozconfig-v6.38.eclass
@@ -45,7 +45,7 @@ esac
 # 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 gstreamer gstreamer-0 +jemalloc3 pulseaudio selinux 
startup-notification system-cairo system-icu system-jpeg system-sqlite 
system-libvpx"
+IUSE="${IUSE} dbus debug gstreamer gstreamer-0 +jemalloc3 neon pulseaudio 
selinux startup-notification system-cairo system-icu system-jpeg system-sqlite 
system-libvpx"
 
 # some notes on deps:
 # gtk:2 minimum is technically 2.10 but gio support (enabled by default) needs 
2.14
@@ -207,8 +207,8 @@ mozconfig_config() {
mozconfig_annotate 'Gentoo default' --with-system-png
mozconfig_annotate '' --enable-system-ffi
mozconfig_annotate 'Gentoo default to honor system linker' 
--disable-gold
-   mozconfig_annotate 'Gentoo default' --disable-skia
mozconfig_annotate '' --disable-gconf
+   mozconfig_annotate 'Gentoo default' --disable-skia
 
# 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.
@@ -237,4 +237,20 @@ mozconfig_config() {
mozconfig_use_with system-icu
mozconfig_use_enable system-icu intl-api
mozconfig_use_with system-libvpx
+
+   # Modifications to better support ARM, bug 553364
+   if use neon ; then
+   mozconfig_annotate '' --with-fpu=neon
+   mozconfig_annotate '' --with-thumb=yes
+   mozconfig_annotate '' --with-thumb-interwork=no
+   fi
+   if [[ ${CHOST} == armv* ]] ; then
+   mozconfig_annotate '' --with-float-abi=hard
+   mozconfig_annotate '' --enable-skia
+
+   if ! use system-libvpx ; then
+   sed -i -e "s|softfp|hard|" \
+   "${S}"/media/libvpx/moz.build
+   fi
+   fi
 }

diff --git a/eclass/mozconfig-v6.42.eclass b/eclass/mozconfig-v6.42.eclass
index 7ed7283..1feea38 100644
--- a/eclass/mozconfig-v6.42.eclass
+++ b/eclass/mozconfig-v6.42.eclass
@@ -55,7 +55,7 @@ esac
 # 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 +gstreamer gstreamer-0 +jemalloc3 pulseaudio selinux 
startup-notification system-cairo system-icu system-jpeg system-sqlite 
system-libvpx"
+IUSE="${IUSE} dbus debug +gstreamer gstreamer-0 +jemalloc3 neon pulseaudio 
selinux startup-notification system-cairo system-icu system-jpeg system-sqlite 
system-libvpx"
 
 # some notes on deps:
 # gtk:2 minimum is technically 2.10 but gio support (enabled by default) needs 
2.14
@@ -263,4 +263,20 @@ mozconfig_config() {
mozconfig_use_with system-icu
mozconfig_use_enable system-icu intl-api
mozconfig_use_with system-libvpx
+
+   # Modifications to better support ARM, bug 553364
+   if use neon ; then
+   mozconfig_annotate '' --with-fpu=neon
+   mozconfig_annotate '' --with-thumb=yes
+   mozconfig_annotate '' --with-thumb-interwork=no
+   fi
+   if [[ ${CHOST} == armv* ]] ; then
+   mozconfig_annotate '' --with-float-abi=hard
+   mozconfig_annotate '' --enable-skia
+
+   if ! use system-libvpx ; then
+   sed -i -e "s|softfp|hard|" \
+   "${S}"/media/libvpx/moz.build
+   fi
+   fi
 }

diff --git a/www-client/firefox/firefox-42.0-r2.ebuild 
b/www-client/firefox/firefox-42.0-r2.ebuild
index 4f7f2cd..962b10c 100644
--- a/www-client/firefox/firefox-42.0-r2.ebuild
+++ b/www-client/firefox/firefox-42.0-r2.ebuild
@@ -43,7 +43,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 
~amd64-linux ~x86-linu
 
 SLOT="0"
 LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
-IUSE="bindist 

[gentoo-commits] proj/mozilla:master commit in: eclass/

2015-11-10 Thread Lars Wendler
commit: cb8b57baf1042d11074c57511b5f77f628fb
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Nov 10 08:32:31 2015 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Nov 10 08:32:31 2015 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=cb8b57ba

mozconfig eclasses: Added slot dependency for media-libs/libvpx.

Signed-off-by: Lars Wendler  gentoo.org>

 eclass/mozconfig-v5.31.eclass | 2 +-
 eclass/mozconfig-v5.36.eclass | 2 +-
 eclass/mozconfig-v5.38.eclass | 2 +-
 eclass/mozconfig-v6.38.eclass | 2 +-
 eclass/mozconfig-v6.39.eclass | 2 +-
 eclass/mozconfig-v6.40.eclass | 2 +-
 eclass/mozconfig-v6.41.eclass | 2 +-
 eclass/mozconfig-v6.42.eclass | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/eclass/mozconfig-v5.31.eclass b/eclass/mozconfig-v5.31.eclass
index 3c96d50..e98ade2 100644
--- a/eclass/mozconfig-v5.31.eclass
+++ b/eclass/mozconfig-v5.31.eclass
@@ -85,7 +85,7 @@ RDEPEND=">=app-text/hunspell-1.2
 
 # firefox-31.0-patches-0.3 and above carry a patch making newer libvpx 
compatible
 case ${PATCHFF##*31.0-patches-} in
-   0.3)RDEPEND+=" system-libvpx? ( >=media-libs/libvpx-1.3.0 )" ;;
+   0.3)RDEPEND+=" system-libvpx? ( >=media-libs/libvpx-1.3.0:0= )" ;;
*)  RDEPEND+=" system-libvpx? ( =media-libs/libvpx-1.3.0* )" ;;
 esac
 

diff --git a/eclass/mozconfig-v5.36.eclass b/eclass/mozconfig-v5.36.eclass
index 03159ac..d86fe55 100644
--- a/eclass/mozconfig-v5.36.eclass
+++ b/eclass/mozconfig-v5.36.eclass
@@ -89,7 +89,7 @@ RDEPEND=">=app-text/hunspell-1.2
system-icu? ( >=dev-libs/icu-51.1:= )
system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
system-sqlite? ( >=dev-db/sqlite-3.8.7.4:3[secure-delete,debug=] )
-   system-libvpx? ( >=media-libs/libvpx-1.3.0[postproc] )
+   system-libvpx? ( >=media-libs/libvpx-1.3.0:0=[postproc] )
 "
 
 if [[ -n ${MOZCONFIG_OPTIONAL_WIFI} ]]; then

diff --git a/eclass/mozconfig-v5.38.eclass b/eclass/mozconfig-v5.38.eclass
index 53e53b0..2882b8b 100644
--- a/eclass/mozconfig-v5.38.eclass
+++ b/eclass/mozconfig-v5.38.eclass
@@ -89,7 +89,7 @@ RDEPEND=">=app-text/hunspell-1.2
system-icu? ( >=dev-libs/icu-51.1:= )
system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
system-sqlite? ( >=dev-db/sqlite-3.8.8.2:3[secure-delete,debug=] )
-   system-libvpx? ( >=media-libs/libvpx-1.3.0[postproc] )
+   system-libvpx? ( >=media-libs/libvpx-1.3.0:0=[postproc] )
 "
 
 if [[ -n ${MOZCONFIG_OPTIONAL_WIFI} ]]; then

diff --git a/eclass/mozconfig-v6.38.eclass b/eclass/mozconfig-v6.38.eclass
index 367a8a7..a69de8c 100644
--- a/eclass/mozconfig-v6.38.eclass
+++ b/eclass/mozconfig-v6.38.eclass
@@ -92,7 +92,7 @@ RDEPEND=">=app-text/hunspell-1.2
system-icu? ( >=dev-libs/icu-51.1:= )
system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
system-sqlite? ( >=dev-db/sqlite-3.8.8.2:3[secure-delete,debug=] )
-   system-libvpx? ( >=media-libs/libvpx-1.3.0[postproc] )
+   system-libvpx? ( >=media-libs/libvpx-1.3.0:0=[postproc] )
 "
 
 if [[ -n ${MOZCONFIG_OPTIONAL_WIFI} ]]; then

diff --git a/eclass/mozconfig-v6.39.eclass b/eclass/mozconfig-v6.39.eclass
index 909b65d..b4d149f 100644
--- a/eclass/mozconfig-v6.39.eclass
+++ b/eclass/mozconfig-v6.39.eclass
@@ -93,7 +93,7 @@ RDEPEND=">=app-text/hunspell-1.2
system-icu? ( >=dev-libs/icu-51.1:= )
system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
system-sqlite? ( >=dev-db/sqlite-3.8.9:3[secure-delete,debug=] )
-   system-libvpx? ( >=media-libs/libvpx-1.3.0[postproc] )
+   system-libvpx? ( >=media-libs/libvpx-1.3.0:0=[postproc] )
 "
 
 if [[ -n ${MOZCONFIG_OPTIONAL_WIFI} ]]; then

diff --git a/eclass/mozconfig-v6.40.eclass b/eclass/mozconfig-v6.40.eclass
index 333943f..f763a34 100644
--- a/eclass/mozconfig-v6.40.eclass
+++ b/eclass/mozconfig-v6.40.eclass
@@ -103,7 +103,7 @@ RDEPEND=">=app-text/hunspell-1.2
system-icu? ( >=dev-libs/icu-51.1:= )
system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
system-sqlite? ( >=dev-db/sqlite-3.8.9:3[secure-delete,debug=] )
-   system-libvpx? ( >=media-libs/libvpx-1.3.0[postproc] )
+   system-libvpx? ( >=media-libs/libvpx-1.3.0:0=[postproc] )
 "
 
 if [[ -n ${MOZCONFIG_OPTIONAL_GTK3} ]]; then

diff --git a/eclass/mozconfig-v6.41.eclass b/eclass/mozconfig-v6.41.eclass
index 8177eb4..b3ee165 100644
--- a/eclass/mozconfig-v6.41.eclass
+++ b/eclass/mozconfig-v6.41.eclass
@@ -103,7 +103,7 @@ RDEPEND=">=app-text/hunspell-1.2
system-icu? ( >=dev-libs/icu-51.1:= )
system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
system-sqlite? ( >=dev-db/sqlite-3.8.10.1:3[secure-delete,debug=] )
-   system-libvpx? ( >=media-libs/libvpx-1.3.0[postproc] )
+   system-libvpx? ( >=media-libs/libvpx-1.3.0:0=[postproc] )
 "
 
 if [[ -n ${MOZCONFIG_OPTIONAL_GTK3} ]]; then

diff --git a/eclass/mozconfig-v6.42.eclass b/eclass/mozconfig-v6.42.eclass
index e3d5b31..b1d3aff 100644
--- 

[gentoo-commits] proj/mozilla:master commit in: eclass/

2015-11-09 Thread Jory Pratt
commit: abc8f1e60a782fa6ec7b43cb88351e4ebb7a046a
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Mon Nov  9 21:54:58 2015 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Mon Nov  9 21:54:58 2015 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=abc8f1e6

Fix system-cairo dep to reflect xcb requirement

 eclass/mozconfig-v6.42.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/mozconfig-v6.42.eclass b/eclass/mozconfig-v6.42.eclass
index 2a45591..e3d5b31 100644
--- a/eclass/mozconfig-v6.42.eclass
+++ b/eclass/mozconfig-v6.42.eclass
@@ -65,7 +65,7 @@ RDEPEND=">=app-text/hunspell-1.2
dev-libs/atk
dev-libs/expat
>=dev-libs/libevent-1.4.7
-   >=x11-libs/cairo-1.10[X,xcb,-xlib-xcb]
+   >=x11-libs/cairo-1.10[X]
>=x11-libs/gtk+-2.18:2
x11-libs/gdk-pixbuf
>=x11-libs/pango-1.22.0
@@ -99,7 +99,7 @@ RDEPEND=">=app-text/hunspell-1.2
x11-libs/libXfixes
x11-libs/libXrender
x11-libs/libXt
-   system-cairo? ( >=x11-libs/cairo-1.12[X] >=x11-libs/pixman-0.19.2 )
+   system-cairo? ( >=x11-libs/cairo-1.12[X,xcb] >=x11-libs/pixman-0.19.2 )
system-icu? ( >=dev-libs/icu-51.1:= )
system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
system-sqlite? ( >=dev-db/sqlite-3.8.11.1:3[secure-delete,debug=] )



[gentoo-commits] proj/mozilla:master commit in: eclass/

2015-11-09 Thread Jory Pratt
commit: 6537cb2a7c8ed3292e61d43863850049fd13fac9
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Mon Nov  9 21:53:06 2015 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Mon Nov  9 21:53:06 2015 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=6537cb2a

Revert "Fix system-cairo dep"

This reverts commit b32ed52f056f1b7a2c3e5316d8b3c1485c251b05.

 eclass/mozconfig-v6.42.eclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/eclass/mozconfig-v6.42.eclass b/eclass/mozconfig-v6.42.eclass
index f2131f2..2a45591 100644
--- a/eclass/mozconfig-v6.42.eclass
+++ b/eclass/mozconfig-v6.42.eclass
@@ -65,6 +65,7 @@ RDEPEND=">=app-text/hunspell-1.2
dev-libs/atk
dev-libs/expat
>=dev-libs/libevent-1.4.7
+   >=x11-libs/cairo-1.10[X,xcb,-xlib-xcb]
>=x11-libs/gtk+-2.18:2
x11-libs/gdk-pixbuf
>=x11-libs/pango-1.22.0
@@ -98,7 +99,7 @@ RDEPEND=">=app-text/hunspell-1.2
x11-libs/libXfixes
x11-libs/libXrender
x11-libs/libXt
-   system-cairo? ( >=x11-libs/cairo-1.12[X,xcb] >=x11-libs/pixman-0.19.2 )
+   system-cairo? ( >=x11-libs/cairo-1.12[X] >=x11-libs/pixman-0.19.2 )
system-icu? ( >=dev-libs/icu-51.1:= )
system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
system-sqlite? ( >=dev-db/sqlite-3.8.11.1:3[secure-delete,debug=] )



[gentoo-commits] proj/mozilla:master commit in: eclass/

2015-11-09 Thread Jory Pratt
commit: b32ed52f056f1b7a2c3e5316d8b3c1485c251b05
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Mon Nov  9 19:12:11 2015 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Mon Nov  9 19:12:11 2015 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=b32ed52f

Fix system-cairo dep

 eclass/mozconfig-v6.42.eclass | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/eclass/mozconfig-v6.42.eclass b/eclass/mozconfig-v6.42.eclass
index 2a45591..f2131f2 100644
--- a/eclass/mozconfig-v6.42.eclass
+++ b/eclass/mozconfig-v6.42.eclass
@@ -65,7 +65,6 @@ RDEPEND=">=app-text/hunspell-1.2
dev-libs/atk
dev-libs/expat
>=dev-libs/libevent-1.4.7
-   >=x11-libs/cairo-1.10[X,xcb,-xlib-xcb]
>=x11-libs/gtk+-2.18:2
x11-libs/gdk-pixbuf
>=x11-libs/pango-1.22.0
@@ -99,7 +98,7 @@ RDEPEND=">=app-text/hunspell-1.2
x11-libs/libXfixes
x11-libs/libXrender
x11-libs/libXt
-   system-cairo? ( >=x11-libs/cairo-1.12[X] >=x11-libs/pixman-0.19.2 )
+   system-cairo? ( >=x11-libs/cairo-1.12[X,xcb] >=x11-libs/pixman-0.19.2 )
system-icu? ( >=dev-libs/icu-51.1:= )
system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
system-sqlite? ( >=dev-db/sqlite-3.8.11.1:3[secure-delete,debug=] )



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

2015-11-06 Thread Jory Pratt
commit: d6bfb5bd999fef763c3dadfaf155a588ac5c2c5a
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Fri Nov  6 20:27:43 2015 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Fri Nov  6 20:27:43 2015 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=d6bfb5bd

misc fixup, address cairo dep to support optimal usage

 eclass/mozconfig-v6.42.eclass | 2 +-
 www-client/firefox/Manifest   | 2 +-
 .../files/{gentoo-default-prefs.js-1 => gentoo-default-prefs.js-2}| 1 +
 www-client/firefox/{firefox-42.0.ebuild => firefox-42.0-r1.ebuild}| 4 ++--
 4 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/eclass/mozconfig-v6.42.eclass b/eclass/mozconfig-v6.42.eclass
index fb3f80d..2a45591 100644
--- a/eclass/mozconfig-v6.42.eclass
+++ b/eclass/mozconfig-v6.42.eclass
@@ -65,7 +65,7 @@ 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/cairo-1.10[X,xcb,-xlib-xcb]
>=x11-libs/gtk+-2.18:2
x11-libs/gdk-pixbuf
>=x11-libs/pango-1.22.0

diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index 7b726e9..324c9c5 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -55,7 +55,7 @@ DIST firefox-42.0-nl.xpi 451272 SHA256 
a2470132d8b8a80b71471527a4c2468e7cd9e2440
 DIST firefox-42.0-nn-NO.xpi 447406 SHA256 
4bff7cf5b4178a6d85da579ad1356af88d332d9b48cfbfaa067d51c8f190dd27 SHA512 
0b6c8cc62dedbafe0d7e2010463d676908eb36f27045f0c8caa88ce9cf7315e919578d0b7b66fd523014ee5abf3f5162927e6af411eaf151ed35d3afcf67d303
 WHIRLPOOL 
1baef82c6956dd36a56f2021c1847ed90d8ad5f83e3bed6a7d5141ad4901b238650a5e01af266a5b54a56f447039c5fd07a1587a1efa253018da2996344dc85b
 DIST firefox-42.0-or.xpi 533314 SHA256 
c3f211d325a7bac64c71b239ccc95918153f5d5ae987b29031245bf7475eb329 SHA512 
f4a2fc595163a15ad787c39cac8f26a6802f51549dfbf74955bd659298dcd59298fd55d567ca751e6c98cdc87ef683b0627b3f44d025197ad4c14f5a127bfa87
 WHIRLPOOL 
895f9d419a92ceddb74fe884948006158886da1ef06a4f53ced6172a30a28edfeac37440a4b28b3fb6da6e582b2e644e2f290c3bb218cd1ba22eb3ba5b58
 DIST firefox-42.0-pa-IN.xpi 507205 SHA256 
af2e3dec61be29064b9a72846fd1148f0ff02e7e2290a3ed60077e932cdb614a SHA512 
615c5940db69e973199fcf8d914bf6b099edd4b79f58aa3226f76eda9b0fd6e045e0936f278afb5f69c4dec0ffb88297281a26540a94d1a772701ad7ae89dc36
 WHIRLPOOL 
bdd4a03fbafdf21fec296cf65b5576cf7fbdc3e2c6e2318739033acfe3ebbf9e0553d95e80f5b63067a66a35f2957824a0fbaac6054659838765e665275915b1
-DIST firefox-42.0-patches-01b2.tar.xz 6424 SHA256 
6c8a89c75ea4a359bf720f011e1bb856b653cd6676767b33ccb9d2f807a089e3 SHA512 
d40266c98aa5bfeed243e3bd42f9146bc73492bd20bd07ac4941df83793a7e3a832220b65fc8c9eeb5f3a00089087251a2b758df5fc0d3dd3403468ec0b9eb53
 WHIRLPOOL 
93356507e31a5dca653a5fcc844c24acc1de6b2a01f3dbd7227c1e23eda4e8799a59cf1a50bb49b721249cb82c744d49f4671bfb7188275101c6de955afdb149
+DIST firefox-42.0-patches-0.2.tar.xz 13040 SHA256 
ce3f39cd031758447d005740780e63d7ddd52ccfc916f86cfbb534f3c65bf5a2 SHA512 
877a48a638409747e9bf68895ce6e4840f5ba783d6dfd606d87091cc52bd4b35f1b2eb91c985f0f6cfeb1716cd2cb60554b15461bbaf839703878fb771c77d4a
 WHIRLPOOL 
dac55675d1d355f7ef9ddb3a49168d83e4e11d34c3ab0f48088498cf30fc4be25b0be70a57c59ecad02239fb14d9f413127dd8b7f82ad0eb070bacdf52255ba8
 DIST firefox-42.0-pl.xpi 403227 SHA256 
34498568481fc7d720742e2add62e0ea55c6150bf90abc3040186ca5d26881f2 SHA512 
9faccaeb287eb5ba36d8303046bc36e6716d3979821956e789fc8dfe830cb9985f0fc06f1566ff68498cfac6d0c1ff8622c404e79b2389b011d4e30fbeb4
 WHIRLPOOL 
29cbacd46f7fe86f8a62d1123baf8564de11aa8825ac04d66ef0f17fa838fb6b40cfd50fe0b232c6c451e2240b58f7fc50d7b99287876549151ae5cd55056133
 DIST firefox-42.0-pt-BR.xpi 468096 SHA256 
b0c9a80cd76142fd9886fd70a141dc0d8e4203e8fbdb72b649c84ee3b0d373bf SHA512 
7518e2fa20857a71156980c5e4e3884f89f6bf737596a667ef4d2168b7b0549bcd712a50c0a90123e858d5d63baf4cad8e769300c18e9d55c44837f1bcdb463c
 WHIRLPOOL 
64387553add0cc66c9b518acc2b5c5d97b4dfb050d709972cc1d895eaf8c20d942c523ac44d927a44b45f6808e89427b5bad186226a64f3bdffb92270520968c
 DIST firefox-42.0-pt-PT.xpi 448920 SHA256 
63b5e59bd240b67fe683618b9be9d824ae8f77133d8345889b32ba0930d77687 SHA512 
d64c8a4d4eb6d541f20f288b332fea15d09d89153ac2e110942bcc8a753fc758ab643b52096fd77424c1f0a86fd517d1a3998f37b106976fe9b7abf0b033e74a
 WHIRLPOOL 
93a1643c66bd92c00f1100a935404dc95d90b0d08fde99cf008815cd7d447a3b2308e5d37f38ad19f5eafaaba2343c2249259e8f668dad07ab3ec90cbf31

diff --git a/www-client/firefox/files/gentoo-default-prefs.js-1 
b/www-client/firefox/files/gentoo-default-prefs.js-2
similarity index 93%
rename from www-client/firefox/files/gentoo-default-prefs.js-1
rename to www-client/firefox/files/gentoo-default-prefs.js-2
index c398c58..cbee8f0 100644
--- a/www-client/firefox/files/gentoo-default-prefs.js-1
+++ b/www-client/firefox/files/gentoo-default-prefs.js-2
@@ -15,5 +15,6 @@ 

[gentoo-commits] proj/mozilla:master commit in: eclass/

2015-10-30 Thread Jory Pratt
commit: 830c532b5664afd2f9d87ce279509624e8512f83
Author: Jory A. Pratt  gentoo  org>
AuthorDate: Fri Oct 30 18:40:46 2015 +
Commit: Jory Pratt  gentoo  org>
CommitDate: Fri Oct 30 18:40:46 2015 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=830c532b

enable gstream support by default (note gstreamer 1.0 default)

 eclass/mozconfig-v6.42.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/mozconfig-v6.42.eclass b/eclass/mozconfig-v6.42.eclass
index 4c982cf..fb3f80d 100644
--- a/eclass/mozconfig-v6.42.eclass
+++ b/eclass/mozconfig-v6.42.eclass
@@ -55,7 +55,7 @@ esac
 # 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 gstreamer gstreamer-0 +jemalloc3 pulseaudio selinux 
startup-notification system-cairo system-icu system-jpeg system-sqlite 
system-libvpx"
+IUSE="${IUSE} dbus debug +gstreamer gstreamer-0 +jemalloc3 pulseaudio selinux 
startup-notification system-cairo system-icu system-jpeg system-sqlite 
system-libvpx"
 
 # some notes on deps:
 # gtk:2 minimum is technically 2.10 but gio support (enabled by default) needs 
2.14



  1   2   >