axs 15/07/16 17:31:05
Modified: ChangeLog mozlinguas.eclass
Log:
Fixed the mozlinguas.eclass upgrade, recommitting.
Revision ChangesPath
1.1714 eclass/ChangeLog
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1714view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1714content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1713r2=1.1714
Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.1713
retrieving revision 1.1714
diff -u -r1.1713 -r1.1714
--- ChangeLog 16 Jul 2015 16:25:47 - 1.1713
+++ ChangeLog 16 Jul 2015 17:31:04 - 1.1714
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1713 2015/07/16
16:25:47 axs Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1714 2015/07/16
17:31:04 axs Exp $
+
+ 16 Jul 2015; Ian Stakenvicius (_AxS_) a...@gentoo.org mozlinguas.eclass:
+ Fixed the mozlinguas.eclass upgrade, recommitting.
16 Jul 2015; Ian Stakenvicius (_AxS_) a...@gentoo.org
mozconfig-v6.38.eclass, mozconfig-v6.39.eclass, mozcoreconf-v3.eclass,
1.9 eclass/mozlinguas.eclass
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mozlinguas.eclass?rev=1.9view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mozlinguas.eclass?rev=1.9content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mozlinguas.eclass?r1=1.8r2=1.9
Index: mozlinguas.eclass
===
RCS file: /var/cvsroot/gentoo-x86/eclass/mozlinguas.eclass,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- mozlinguas.eclass 16 Jul 2015 16:40:07 - 1.8
+++ mozlinguas.eclass 16 Jul 2015 17:31:04 - 1.9
@@ -1,16 +1,18 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mozlinguas.eclass,v 1.8 2015/07/16
16:40:07 axs Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mozlinguas.eclass,v 1.9 2015/07/16
17:31:04 axs Exp $
# @ECLASS: mozlinguas.eclass
# @MAINTAINER:
# mozi...@gentoo.org
# @AUTHOR:
# Nirbheek Chauhan nirbh...@gentoo.org
+# Ian Stakenvicius a...@gentoo.org
# @BLURB: Handle language packs for mozilla products
# @DESCRIPTION:
# Sets IUSE according to MOZ_LANGS (language packs available). Also exports
-# src_unpack and src_install for use in ebuilds.
+# src_unpack, src_compile and src_install for use in ebuilds, and provides
+# supporting functions for langpack generation and installation.
inherit mozextension
@@ -18,7 +20,7 @@
0|1)
die EAPI ${EAPI:-0} does not support the '-' SRC_URI
operator;;
2|3|4|5)
- EXPORT_FUNCTIONS src_unpack src_install;;
+ EXPORT_FUNCTIONS src_unpack src_compile src_install;;
*)
die EAPI ${EAPI} is not supported, contact eclass
maintainers;;
esac
@@ -53,6 +55,11 @@
# The ftp URI prefix for the release tarballs and language packs.
: ${MOZ_FTP_URI:=}
+# @ECLASS-VARIABLE: MOZ_HTTP_URI
+# @DESCRIPTION:
+# The http URI prefix for the release tarballs and language packs.
+: ${MOZ_HTTP_URI:=}
+
# @ECLASS-VARIABLE: MOZ_LANGPACK_PREFIX
# @DESCRIPTION:
# The relative path till the lang code in the langpack file URI.
@@ -65,21 +72,86 @@
# Defaults to '.xpi'
: ${MOZ_LANGPACK_SUFFIX:=.xpi}
+# @ECLASS-VARIABLE: MOZ_LANGPACK_UNOFFICIAL
+# @DESCRIPTION:
+# The status of the langpack, used to differentiate within
+# Manifests and on Gentoo mirrors as to when the langpacks are
+# generated officially by Mozilla or if they were generated
+# unofficially by others (ie the Gentoo mozilla team). When
+# this var is set, the distfile will have a .unofficial.xpi
+# suffix.
+: ${MOZ_LANGPACK_UNOFFICIAL:=}
+
+# @ECLASS-VARIABLE: MOZ_GENERATE_LANGPACKS
+# @DESCRIPTION:
+# This flag specifies whether or not the langpacks should be
+# generated directly during the build process, rather than
+# being downloaded and installed from upstream pre-built
+# extensions. Primarily it supports pre-release builds.
+# Defaults to empty.
+: ${MOZ_GENERATE_LANGPACKS:=}
+
+# @ECLASS-VARIABLE: MOZ_L10N_SOURCEDIR
+# @DESCRIPTION:
+# The path that l10n sources can be found at, once unpacked.
+# Defaults to ${WORKDIR}/l10n-sources
+: ${MOZ_L10N_SOURCEDIR:=${WORKDIR}/l10n-sources}
+
+# @ECLASS-VARIABLE: MOZ_L10N_URI_PREFIX
+# @DESCRIPTION:
+# The full URI prefix of the distfile for each l10n locale. The
+# AB_CD and MOZ_L10N_URI_SUFFIX will be appended to this to complete the
+# SRC_URI when