[gentoo-commits] proj/mozilla:master commit in: media-plugins/gmp-openh264/

2016-07-08 Thread Ian Stakenvicius
commit: d57c93121ee2de7f698106e7a3ccb9606b58c06a
Author: Ian Stakenvicius  gentoo  org>
AuthorDate: Sat Jul  9 03:16:20 2016 +
Commit: Ian Stakenvicius  gentoo  org>
CommitDate: Sat Jul  9 03:16:20 2016 +
URL:https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=d57c9312

Dropped media-plugins/gmp-openh264

This was a first attempt at providing the GMP mozilla plugins
in a non-AMO-forced fashion.  media-libs/openh264 in the gentoo repo
provides this functionality

 media-plugins/gmp-openh264/Manifest|  2 -
 .../gmp-openh264-1.1_p20141021-r1.ebuild   | 55 --
 .../gmp-openh264/gmp-openh264-1.2_p20141104.ebuild | 55 --
 3 files changed, 112 deletions(-)

diff --git a/media-plugins/gmp-openh264/Manifest 
b/media-plugins/gmp-openh264/Manifest
deleted file mode 100644
index c8ff004..000
--- a/media-plugins/gmp-openh264/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST gmp-openh264-1.1_p20141021.tar.xz 11808564 SHA256 
88253dc65cc509cde88a602fc0d6f916d641235fcc163025f15467823a8fe363 SHA512 
9ec0f3c7898f53917df8bd0b035de214a1dd804d01f17973ed0cde7c42141e5af9ccc710eaf5505ef33d4f0fa096d8f7d5db90f8a8499016b6ad26b86f63d227
 WHIRLPOOL 
cf4a5def4a1577139787065466f4b94d4a721ab693590bf7b95f7a1fd4e8e120f01c48a90891466bdca35651a5cf88b816bb820cdff5433a4f3bf9a2b3236b78
-DIST gmp-openh264-1.2_p20141104.tar.xz 11874976 SHA256 
d8359d004116eba6d286abd81f82f9cfedf2ab209b9586fc195d199096f8 SHA512 
7acd982b54cd32ee2270967131792d869a9c72dca5ba8da796c61517e99b3a40f7c53ab6228c03f72c57f4eb9d3bef536645ee33ccf08a098f0662f97f811856
 WHIRLPOOL 
5d997bc9349d06f5d485ce654408d5f3cd1314ccdf10c21c25c59933ffe2c4b325ec32444bb74aa754b73fcc381b5b723df9f48989cba3e7137e8a594a47e24c

diff --git a/media-plugins/gmp-openh264/gmp-openh264-1.1_p20141021-r1.ebuild 
b/media-plugins/gmp-openh264/gmp-openh264-1.1_p20141021-r1.ebuild
deleted file mode 100644
index 972011b..000
--- a/media-plugins/gmp-openh264/gmp-openh264-1.1_p20141021-r1.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit nsplugins
-
-DESCRIPTION="Gecko Media Plugin for openh264, to be used in mozilla packages"
-HOMEPAGE="http://www.openh264.org/;
-SRC_URI="http://dev.gentoo.org/~axs/distfiles/${P}.tar.xz;
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux"
-IUSE=""
-
-RESTRICT="bindist"
-
-RDEPEND=""
-DEPEND="dev-lang/nasm"
-
-DOCS=( LICENSE CONTRIBUTORS README.md )
-
-src_compile() {
-   local mybits="ENABLE64BIT=No"
-   case "${ABI}" in
-s390x|alpha|*64) mybits="ENABLE64BIT=Yes";;
-   esac
-   emake V=Yes ${mybits} plugin
-}
-
-src_install() {
-   local 
plugpath="usr/$(get_libdir)/${PLUGINS_DIR}/gmp-${PN/-/}/system-installed"
-
-   insinto /${plugpath}
-   doins libgmpopenh264.so gmpopenh264.info
-   echo "MOZ_GMP_PATH=\"${EROOT}${plugpath}\"" >"${T}"/98-moz-${PN}
-   doenvd "${T}"/98-moz-${PN}
-}
-
-pkg_postinst() {
-   elog "USE=system-gmps on the mozilla packages will disable the default"
-   elog "autoupdates preference for this and other gmp plugins, but it may 
be"
-   elog "overridden in a user's profile (ie, about:config)."
-   elog ""
-   elog "Also, if a previous mozilla version has already installed 
gmp-gmpopenh264"
-   elog "into a user's profile, that version may take precedence over this 
package"
-   elog "and will need to be removed before the files installed by this 
package"
-   elog "are certain to be used."
-   elog ""
-   ewarn "You may need to modify each user's .mozilla profile"
-   ewarn "by hand, disabling autoupdates in about:config and deleting any"
-   ewarn "existing plugin in the profile dir, in order for this package"
-   ewarn "to have any effect."
-}

diff --git a/media-plugins/gmp-openh264/gmp-openh264-1.2_p20141104.ebuild 
b/media-plugins/gmp-openh264/gmp-openh264-1.2_p20141104.ebuild
deleted file mode 100644
index 972011b..000
--- a/media-plugins/gmp-openh264/gmp-openh264-1.2_p20141104.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit nsplugins
-
-DESCRIPTION="Gecko Media Plugin for openh264, to be used in mozilla packages"
-HOMEPAGE="http://www.openh264.org/;
-SRC_URI="http://dev.gentoo.org/~axs/distfiles/${P}.tar.xz;
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux"
-IUSE=""
-
-RESTRICT="bindist"
-
-RDEPEND=""
-DEPEND="dev-lang/nasm"
-
-DOCS=( LICENSE CONTRIBUTORS README.md )
-
-src_compile() {
-   local mybits="ENABLE64BIT=No"
-   case "${ABI}" in
-s390x|alpha|*64) mybits="ENABLE64BIT=Yes";;
-   esac
-   emake V=Yes ${mybits} plugin
-}
-
-src_install() {

[gentoo-commits] proj/mozilla:master commit in: media-plugins/gmp-openh264/

2014-10-28 Thread Ian Stakenvicius
commit: 8d64576a38ded52c3bda5921f1eb3e3597c6d105
Author: Ian Stakenvicius axs AT gentoo DOT org
AuthorDate: Tue Oct 28 12:42:56 2014 +
Commit: Ian Stakenvicius axs AT gentoo DOT org
CommitDate: Tue Oct 28 12:42:56 2014 +
URL:
http://sources.gentoo.org/gitweb/?p=proj/mozilla.git;a=commit;h=8d64576a

media-libs/gmp-openh264: added missing dev-lang/nasm atom to DEPEND

---
 media-plugins/gmp-openh264/gmp-openh264-1.1_p20141021.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-plugins/gmp-openh264/gmp-openh264-1.1_p20141021.ebuild 
b/media-plugins/gmp-openh264/gmp-openh264-1.1_p20141021.ebuild
index 6829ed0..705e2a3 100644
--- a/media-plugins/gmp-openh264/gmp-openh264-1.1_p20141021.ebuild
+++ b/media-plugins/gmp-openh264/gmp-openh264-1.1_p20141021.ebuild
@@ -17,7 +17,7 @@ IUSE=
 RESTRICT=bindist
 
 RDEPEND=
-DEPEND=
+DEPEND=dev-lang/nasm
 
 DOCS=( LICENSE CONTRIBUTORS README.md )
 



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

2014-10-22 Thread Ian Stakenvicius
commit: 2cf678cfccb9149f9f535aac4ef774584254fe7e
Author: Ian Stakenvicius axs AT gentoo DOT org
AuthorDate: Wed Oct 22 15:12:10 2014 +
Commit: Ian Stakenvicius axs AT gentoo DOT org
CommitDate: Wed Oct 22 15:12:14 2014 +
URL:
http://sources.gentoo.org/gitweb/?p=proj/mozilla.git;a=commit;h=2cf678cf

Add firefox-34.0_beta2, provide alternative to binary-fetched gmp

Firefox-33 and above introduced the Gecko Media Plugin infrastructure and
its first plugin (Cisco's BSD-licensed openh264 codec) for webrtc h264 support.
By default, and due to software patent issues related to h264, Cisco builds
the plugin themselves (so that they are on the hook rather than end-users) and
firefox updates this non-optional plugin via downloading the binary blob into
each user's profile.  To help resolve bug 525810, firefox-33 and 
firefox-34_beta2
introduce USE=system-gmps which will disable the autoupdates of gmp plugins in
the firefox default prefs, and RDEPEND on the newly added 
media-plugins/gmp-openh264.

The gmp-openh264 package builds the plugin from source and installs it to the
regular nsplugins path, in a directory tree structure required for GMP.  It also
adds an env.d file to set the MOZ_GMP_PATH environment variable appropriately, 
so that
firefox will load the plugin from here if it cannot be found in the user's 
profile.

USE=system-gmps plus media-plugins/gmp-openh264 will:

1 - make the system-installed plugin always be used on newly-created user 
profiles
or updated old profiles from firefox-32 and earlier.

2 - allow users to obtain the mozilla/cisco binary simply by enabling 
auto-udates
in about:config or manually checking for and installing updates via the Addon 
Manager

3 - *not* override a user's in-profile copy of the mozilla/cisco binary if it 
exists;
this includes if the user has manually fetched it via overriding auto-updates 
or doing
a manual update in Addon Manager, and also (unfortunately) if the user has 
already
installed and run firefox-33.0.

This will remain an experiment in mozilla-overlay for a while, as maintenance
of an openh264 may not prove to be viable -- at this point, it looks like we 
will need to
roll our own snapshots of two github upstream projects in order to provide 
release
tarballs, and it is difficult to say how many releases there will need to be 
going forward.

---
 eclass/mozconfig-v5.34.eclass  | 220 +
 media-plugins/gmp-openh264/Manifest|   1 +
 .../gmp-openh264/gmp-openh264-1.1_p20141021.ebuild |  53 +
 www-client/firefox/Manifest|   2 +
 www-client/firefox/firefox-33.0.ebuild |  13 +-
 ...refox-33.0.ebuild = firefox-34.0_beta2.ebuild} |  25 ++-
 6 files changed, 302 insertions(+), 12 deletions(-)

diff --git a/eclass/mozconfig-v5.34.eclass b/eclass/mozconfig-v5.34.eclass
new file mode 100644
index 000..d70fc8d
--- /dev/null
+++ b/eclass/mozconfig-v5.34.eclass
@@ -0,0 +1,220 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+#
+# @ECLASS: mozconfig-v5.33.eclass
+# @MAINTAINER:
+# mozilla team mozi...@gentoo.org
+# @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.
+
+# 

[gentoo-commits] proj/mozilla:master commit in: media-plugins/gmp-openh264/

2014-10-22 Thread Ian Stakenvicius
commit: 0bd6a1f67a241a49669f6a30fe2d3bbe2da0782f
Author: Ian Stakenvicius axs AT gentoo DOT org
AuthorDate: Wed Oct 22 16:06:34 2014 +
Commit: Ian Stakenvicius axs AT gentoo DOT org
CommitDate: Wed Oct 22 16:06:34 2014 +
URL:
http://sources.gentoo.org/gitweb/?p=proj/mozilla.git;a=commit;h=0bd6a1f6

fixed typo

---
 media-plugins/gmp-openh264/gmp-openh264-1.1_p20141021.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-plugins/gmp-openh264/gmp-openh264-1.1_p20141021.ebuild 
b/media-plugins/gmp-openh264/gmp-openh264-1.1_p20141021.ebuild
index ad10f3b..faf9dcc 100644
--- a/media-plugins/gmp-openh264/gmp-openh264-1.1_p20141021.ebuild
+++ b/media-plugins/gmp-openh264/gmp-openh264-1.1_p20141021.ebuild
@@ -43,7 +43,7 @@ pkg_postinst() {
elog 
elog Also, if a previous mozilla version has already installed 
gmp-gmpopenh264
elog into a user's profile, that version will take precedence over 
this package
-   elog and will need to be removed before the files installed by this 
package
+   elog and will need to be removed before the files installed by this 
package
elog will be used.
elog 
ewarn You may need to modify each user's .mozilla profile



[gentoo-commits] proj/mozilla:master commit in: media-plugins/gmp-openh264/

2014-10-22 Thread Ian Stakenvicius
commit: 35367c587b7c2917a366f2d739b555032b38ad69
Author: Ian Stakenvicius axs AT gentoo DOT org
AuthorDate: Wed Oct 22 16:08:07 2014 +
Commit: Ian Stakenvicius axs AT gentoo DOT org
CommitDate: Wed Oct 22 16:08:07 2014 +
URL:
http://sources.gentoo.org/gitweb/?p=proj/mozilla.git;a=commit;h=35367c58

fixed another typo

---
 media-plugins/gmp-openh264/gmp-openh264-1.1_p20141021.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-plugins/gmp-openh264/gmp-openh264-1.1_p20141021.ebuild 
b/media-plugins/gmp-openh264/gmp-openh264-1.1_p20141021.ebuild
index faf9dcc..6829ed0 100644
--- a/media-plugins/gmp-openh264/gmp-openh264-1.1_p20141021.ebuild
+++ b/media-plugins/gmp-openh264/gmp-openh264-1.1_p20141021.ebuild
@@ -12,7 +12,7 @@ SRC_URI=http://dev.gentoo.org/~axs/distfiles/${P}.tar.xz;
 LICENSE=BSD
 SLOT=0
 KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux
-IUSE=+plugin
+IUSE=
 
 RESTRICT=bindist