transforms/locale
author Drew Fisher <drew.fisher@oracle.com>
Thu, 29 Sep 2016 07:48:57 -0700
changeset 7089 bb4d7431eea3
parent 5527 611b2d6efdfe
permissions -rw-r--r--
24737638 django 1.8.15 24737607 problem in PYTHON-MOD/DJANGO
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
15
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
     1
#
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
     2
# CDDL HEADER START
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
     3
#
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
     7
#
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    11
# and limitations under the License.
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    12
#
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    18
#
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    19
# CDDL HEADER END
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    20
#
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    21
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    22
#
5527
611b2d6efdfe 21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents: 1151
diff changeset
    23
# Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
15
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    24
#
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    25
21f7a7ab78ba add more rules to transforms, fix up some existings rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
diff changeset
    26
# general locale
53
e398cb2c4b45 7004049 SUNWa2ps should move to userland with a2ps
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 22
diff changeset
    27
<transform dir link hardlink path=.*/locale$ -> default facet.locale true>
22
b89eb90ac9c5 Add locale facet tagging to IPS makefile rules
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 15
diff changeset
    28
1151
76498004a954 15741586 SUNBT7090398 too many complex facets in userland packages
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 454
diff changeset
    29
# add locale specific facets to using the the locale name encoded in
76498004a954 15741586 SUNBT7090398 too many complex facets in userland packages
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 454
diff changeset
    30
# the pathname.  We don't need the portion after the '@' or '.', only
76498004a954 15741586 SUNBT7090398 too many complex facets in userland packages
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 454
diff changeset
    31
# .../locale/{locale-name}[@.]*.
53
e398cb2c4b45 7004049 SUNWa2ps should move to userland with a2ps
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 22
diff changeset
    32
<transform dir file link hardlink \
1151
76498004a954 15741586 SUNBT7090398 too many complex facets in userland packages
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 454
diff changeset
    33
    path=.*/locale/([^/@\.]+)(.+){0,1}(/.+){0,1}$ -> \
53
e398cb2c4b45 7004049 SUNWa2ps should move to userland with a2ps
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 22
diff changeset
    34
    default facet.locale.%<\1> true>
454
1ef5e4f29411 7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents: 145
diff changeset
    35
5527
611b2d6efdfe 21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents: 1151
diff changeset
    36
# thunderbird uses the locale format ab-CD instead of ab_CD, which is the 
611b2d6efdfe 21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents: 1151
diff changeset
    37
# Solaris standard. Convert the locale facet to Solaris standard format. 
611b2d6efdfe 21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents: 1151
diff changeset
    38
# pkgmogrify doesn't seem to support using a regular expression as the 
611b2d6efdfe 21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents: 1151
diff changeset
    39
# "attribute" in a "attribute=value" matcher so we need to enumerate all 
611b2d6efdfe 21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents: 1151
diff changeset
    40
# locales where this is a problem. 
611b2d6efdfe 21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents: 1151
diff changeset
    41
<transform file facet.locale.en-US=true -> default facet.locale.en_US true>
611b2d6efdfe 21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents: 1151
diff changeset
    42
<transform file facet.locale.en-US=true -> delete facet.locale.en-US .*>
611b2d6efdfe 21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents: 1151
diff changeset
    43
<transform file facet.locale.es-AR=true -> default facet.locale.es_AR true>
611b2d6efdfe 21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents: 1151
diff changeset
    44
<transform file facet.locale.es-AR=true -> delete facet.locale.es-AR .*>
611b2d6efdfe 21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents: 1151
diff changeset
    45
<transform file facet.locale.es-ES=true -> default facet.locale.es_ES true>
611b2d6efdfe 21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents: 1151
diff changeset
    46
<transform file facet.locale.es-ES=true -> delete facet.locale.es-ES .*>
611b2d6efdfe 21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents: 1151
diff changeset
    47
<transform file facet.locale.nb-NO=true -> default facet.locale.nb_NO true>
611b2d6efdfe 21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents: 1151
diff changeset
    48
<transform file facet.locale.nb-NO=true -> delete facet.locale.nb-NO .*>
611b2d6efdfe 21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents: 1151
diff changeset
    49
<transform file facet.locale.nn-NO=true -> default facet.locale.nn_NO true>
611b2d6efdfe 21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents: 1151
diff changeset
    50
<transform file facet.locale.nn-NO=true -> delete facet.locale.nn-NO .*>
611b2d6efdfe 21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents: 1151
diff changeset
    51
<transform file facet.locale.pt-BR=true -> default facet.locale.pt_BR true>
611b2d6efdfe 21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents: 1151
diff changeset
    52
<transform file facet.locale.pt-BR=true -> delete facet.locale.pt-BR .*>
611b2d6efdfe 21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents: 1151
diff changeset
    53
<transform file facet.locale.pt-PT=true -> default facet.locale.pt_PT true>
611b2d6efdfe 21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents: 1151
diff changeset
    54
<transform file facet.locale.pt-PT=true -> delete facet.locale.pt-PT .*>
611b2d6efdfe 21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents: 1151
diff changeset
    55
<transform file facet.locale.sv-SE=true -> default facet.locale.sv_SE true>
611b2d6efdfe 21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents: 1151
diff changeset
    56
<transform file facet.locale.sv-SE=true -> delete facet.locale.sv-SE .*>
611b2d6efdfe 21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents: 1151
diff changeset
    57
<transform file facet.locale.zh-CN=true -> default facet.locale.zh_CN true>
611b2d6efdfe 21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents: 1151
diff changeset
    58
<transform file facet.locale.zh-TW=true -> delete facet.locale.zh-TW .*>
611b2d6efdfe 21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes
Stacy Yeh <stacy.yeh@oracle.com>
parents: 1151
diff changeset
    59
454
1ef5e4f29411 7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents: 145
diff changeset
    60
# unfacet the C locale
1ef5e4f29411 7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents: 145
diff changeset
    61
<transform dir file link hardlink \
1ef5e4f29411 7008684 time zone zoneinfo package should move to Userland consolidation
sonam gupta - Sun Microsystems - Bangalore India <Sonam.Gupta@Sun.COM>
parents: 145
diff changeset
    62
    facet.locale.C=.+ -> delete facet.locale.C .+ >