1 |
polynomial-c 12/02/07 15:17:47 |
2 |
|
3 |
Modified: mozlinguas.eclass ChangeLog |
4 |
Log: |
5 |
Fixed eclass for usage with seamonkey (which has langpacks in beta releases) |
6 |
|
7 |
Revision Changes Path |
8 |
1.2 eclass/mozlinguas.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mozlinguas.eclass?rev=1.2&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mozlinguas.eclass?rev=1.2&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mozlinguas.eclass?r1=1.1&r2=1.2 |
13 |
|
14 |
Index: mozlinguas.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/mozlinguas.eclass,v |
17 |
retrieving revision 1.1 |
18 |
retrieving revision 1.2 |
19 |
diff -u -r1.1 -r1.2 |
20 |
--- mozlinguas.eclass 4 Feb 2012 18:28:32 -0000 1.1 |
21 |
+++ mozlinguas.eclass 7 Feb 2012 15:17:47 -0000 1.2 |
22 |
@@ -1,6 +1,6 @@ |
23 |
# Copyright 1999-2012 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/mozlinguas.eclass,v 1.1 2012/02/04 18:28:32 nirbheek Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/mozlinguas.eclass,v 1.2 2012/02/07 15:17:47 polynomial-c Exp $ |
27 |
|
28 |
# @ECLASS: mozlinguas.eclass |
29 |
# @MAINTAINER: |
30 |
@@ -69,7 +69,7 @@ |
31 |
|
32 |
# Add linguas_* to IUSE according to available language packs |
33 |
# No language packs for alphas and betas |
34 |
-if ! [[ ${PV} =~ alpha|beta ]]; then |
35 |
+if ! [[ ${PV} =~ alpha|beta ]]|| { [[ ${PN} == seamonkey ]] && ! [[ ${PV} =~ alpha ]] ; } ; then |
36 |
for x in "${MOZ_LANGS[@]}" ; do |
37 |
# en and en_US are handled internally |
38 |
if [[ ${x} == en ]] || [[ ${x} == en-US ]]; then |
39 |
@@ -91,7 +91,11 @@ |
40 |
# Generate the list of language packs called "mozlinguas" |
41 |
# This list is used to unpack and install the xpi language packs |
42 |
mozlinguas_export() { |
43 |
- [[ ${PV} =~ alpha|beta ]] && return |
44 |
+ if [[ ${PN} == seamonkey ]] ; then |
45 |
+ [[ ${PV} =~ alpha ]] && return |
46 |
+ else |
47 |
+ [[ ${PV} =~ alpha|beta ]] && return |
48 |
+ fi |
49 |
local lingua |
50 |
mozlinguas=() |
51 |
for lingua in ${LINGUAS}; do |
52 |
|
53 |
|
54 |
|
55 |
1.118 eclass/ChangeLog |
56 |
|
57 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.118&view=markup |
58 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.118&content-type=text/plain |
59 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.117&r2=1.118 |
60 |
|
61 |
Index: ChangeLog |
62 |
=================================================================== |
63 |
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v |
64 |
retrieving revision 1.117 |
65 |
retrieving revision 1.118 |
66 |
diff -u -r1.117 -r1.118 |
67 |
--- ChangeLog 7 Feb 2012 12:47:54 -0000 1.117 |
68 |
+++ ChangeLog 7 Feb 2012 15:17:47 -0000 1.118 |
69 |
@@ -1,6 +1,9 @@ |
70 |
# ChangeLog for eclass directory |
71 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
72 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.117 2012/02/07 12:47:54 slyfox Exp $ |
73 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.118 2012/02/07 15:17:47 polynomial-c Exp $ |
74 |
+ |
75 |
+ 07 Feb 2012; Lars Wendler <polynomial-c@g.o> mozlinguas.eclass: |
76 |
+ Fixed eclass for usage with seamonkey (which has langpacks in beta releases). |
77 |
|
78 |
07 Feb 2012; Sergei Trofimovich <slyfox@g.o> haskell-cabal.eclass: |
79 |
Added support for CABAL_EXTRA_BUILD_FLAGS and HCFLAGS magic variables. |