transforms/locale
author pkidd <patrick.kidd@oracle.com>
Wed, 26 Apr 2017 08:46:08 -0700
branchs11u3-sru
changeset 7947 3fa78a5a2366
parent 7491 c89ecb99a381
permissions -rw-r--r--
build metadata for S11.3SRU20.3
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
#
7491
c89ecb99a381 22613259 thunderbird lightning extension is missing l10n after moved to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 454
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
53
e398cb2c4b45 7004049 SUNWa2ps should move to userland with a2ps
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 22
diff changeset
    29
<transform dir file link hardlink \
65
1fa3eaf1bf9d 7014413 userland should not include _ in facet.locale.* names (fix pkglint)
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 63
diff changeset
    30
    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
    31
    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
    32
7491
c89ecb99a381 22613259 thunderbird lightning extension is missing l10n after moved to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 454
diff changeset
    33
# thunderbird uses the locale format ab-CD instead of ab_CD, which is the 
c89ecb99a381 22613259 thunderbird lightning extension is missing l10n after moved to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 454
diff changeset
    34
# Solaris standard. Convert the locale facet to Solaris standard format. 
c89ecb99a381 22613259 thunderbird lightning extension is missing l10n after moved to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 454
diff changeset
    35
# pkgmogrify doesn't seem to support using a regular expression as the 
c89ecb99a381 22613259 thunderbird lightning extension is missing l10n after moved to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 454
diff changeset
    36
# "attribute" in a "attribute=value" matcher so we need to enumerate all 
c89ecb99a381 22613259 thunderbird lightning extension is missing l10n after moved to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 454
diff changeset
    37
# locales where this is a problem. 
c89ecb99a381 22613259 thunderbird lightning extension is missing l10n after moved to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 454
diff changeset
    38
<transform file facet.locale.en-US=true -> default facet.locale.en_US true>
c89ecb99a381 22613259 thunderbird lightning extension is missing l10n after moved to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 454
diff changeset
    39
<transform file facet.locale.en-US=true -> delete facet.locale.en-US .*>
c89ecb99a381 22613259 thunderbird lightning extension is missing l10n after moved to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 454
diff changeset
    40
<transform file facet.locale.es-AR=true -> default facet.locale.es_AR true>
c89ecb99a381 22613259 thunderbird lightning extension is missing l10n after moved to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 454
diff changeset
    41
<transform file facet.locale.es-AR=true -> delete facet.locale.es-AR .*>
c89ecb99a381 22613259 thunderbird lightning extension is missing l10n after moved to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 454
diff changeset
    42
<transform file facet.locale.es-ES=true -> default facet.locale.es_ES true>
c89ecb99a381 22613259 thunderbird lightning extension is missing l10n after moved to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 454
diff changeset
    43
<transform file facet.locale.es-ES=true -> delete facet.locale.es-ES .*>
c89ecb99a381 22613259 thunderbird lightning extension is missing l10n after moved to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 454
diff changeset
    44
<transform file facet.locale.nb-NO=true -> default facet.locale.nb_NO true>
c89ecb99a381 22613259 thunderbird lightning extension is missing l10n after moved to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 454
diff changeset
    45
<transform file facet.locale.nb-NO=true -> delete facet.locale.nb-NO .*>
c89ecb99a381 22613259 thunderbird lightning extension is missing l10n after moved to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 454
diff changeset
    46
<transform file facet.locale.nn-NO=true -> default facet.locale.nn_NO true>
c89ecb99a381 22613259 thunderbird lightning extension is missing l10n after moved to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 454
diff changeset
    47
<transform file facet.locale.nn-NO=true -> delete facet.locale.nn-NO .*>
c89ecb99a381 22613259 thunderbird lightning extension is missing l10n after moved to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 454
diff changeset
    48
<transform file facet.locale.pt-BR=true -> default facet.locale.pt_BR true>
c89ecb99a381 22613259 thunderbird lightning extension is missing l10n after moved to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 454
diff changeset
    49
<transform file facet.locale.pt-BR=true -> delete facet.locale.pt-BR .*>
c89ecb99a381 22613259 thunderbird lightning extension is missing l10n after moved to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 454
diff changeset
    50
<transform file facet.locale.pt-PT=true -> default facet.locale.pt_PT true>
c89ecb99a381 22613259 thunderbird lightning extension is missing l10n after moved to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 454
diff changeset
    51
<transform file facet.locale.pt-PT=true -> delete facet.locale.pt-PT .*>
c89ecb99a381 22613259 thunderbird lightning extension is missing l10n after moved to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 454
diff changeset
    52
<transform file facet.locale.sv-SE=true -> default facet.locale.sv_SE true>
c89ecb99a381 22613259 thunderbird lightning extension is missing l10n after moved to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 454
diff changeset
    53
<transform file facet.locale.sv-SE=true -> delete facet.locale.sv-SE .*>
c89ecb99a381 22613259 thunderbird lightning extension is missing l10n after moved to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 454
diff changeset
    54
<transform file facet.locale.zh-CN=true -> default facet.locale.zh_CN true>
c89ecb99a381 22613259 thunderbird lightning extension is missing l10n after moved to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 454
diff changeset
    55
<transform file facet.locale.zh-TW=true -> delete facet.locale.zh-TW .*>
c89ecb99a381 22613259 thunderbird lightning extension is missing l10n after moved to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents: 454
diff changeset
    56
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
    57
# 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
    58
<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
    59
    facet.locale.C=.+ -> delete facet.locale.C .+ >