Commits

Anonymous committed e398cb2

7004049 SUNWa2ps should move to userland with a2ps
7004051 userland-incorporation isn't needed at this time

Comments (0)

Files changed (14)

 
 include make-rules/shared-macros.mk
 
-SUBDIRS += components incorporations
+SUBDIRS += components
 
 download:	TARGET = download
 prep:		TARGET = prep
 $(SUBDIRS):	FORCE
 	+echo "$(TARGET) $@" ; $(GMAKE) -C $@ $(TARGET)
 
-incorporations:	components
-
 FORCE:

components/Makefile

 	$(RM) components.mk depends.mk .profile
 
 clobber:	$(COMPONENT_DIRS:%=%.nosetup) clean
-	$(RM) -r $(WS_REPO) $(WS_LOGS)
+	$(RM) -r $(WS_REPO) $(WS_LOGS) $(WS_LINT_CACHE)
 
 setup:	$(WS_LOGS) repo tools .profile
 

components/a2ps/Makefile

 	 ln -s ../../doc/make-authors.pl ; \
 	 ln -s ../../doc/translators.txt)
 
-PKGMOGRIFY_TRANSFORMS +=        $(WS_TOP)/transforms/libtool-drop
-
 SFWPROGS =	a2ps card composeglyphs fixnt fixps ogonkify pdiff psmandup \
 		psset texi2dvi4a2ps
 PROTOSFWLINKS = $(SFWPROGS:%=$(PROTOSFWBIN)/%)

components/a2ps/SUNWa2ps.p5m

+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
+#
+
+#
+# Legacy package information for renamed SUNWa2ps package
+#
+
+set name=pkg.fmri value=pkg:/SUNWa2ps@4.13,5.11-0.133
+set name=pkg.renamed value=true
+
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+
+set name=variant.opensolaris.zone value=global value=nonglobal
+set name=variant.arch value=$(ARCH)
+
+depend fmri=print/lp/filter/a2ps@4.13-0.133 type=require

components/a2ps/a2ps.p5m

 #
 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
 #
+set name=pkg.fmri value=pkg:/print/lp/filter/a2ps@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.summary value="$(COMPONENT_SUMMARY) "
+set name=pkg.description value="$(COMPONENT_DESCRIPTION) "
+set name=info.classification value="org.opensolaris.category.2008:$(COMPONENT_CLASSIFICATION) "
+set name=info.upstream_url value=$(COMPONENT_PROJECT_URL)
+set name=info.source_url value=$(COMPONENT_ARCHIVE_URL)
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+set variant.arch=$(ARCH)
+
 dir path=etc
 dir path=etc/gnu
 dir path=etc/lp
 dir path=usr/share/ogonkify
 dir path=usr/share/ogonkify/afm
 dir path=usr/share/ogonkify/fonts
-file NOHASH path=etc/gnu/a2ps-site.cfg preserve=true original_name=SUNWa2ps:etc/gnu/a2ps-site.cfg
-file NOHASH path=etc/gnu/a2ps.cfg preserve=true original_name=SUNWa2ps:etc/gnu/a2ps.cfg
+file NOHASH path=etc/gnu/a2ps-site.cfg mode=0644 preserve=true original_name=SUNWa2ps:etc/gnu/a2ps-site.cfg
+file NOHASH path=etc/gnu/a2ps.cfg mode=0644 preserve=true original_name=SUNWa2ps:etc/gnu/a2ps.cfg
 file NOHASH path=etc/lp/fd/a2ps.fd
 file NOHASH path=usr/bin/a2ps variant.arch=$(ARCH)
 file NOHASH path=usr/bin/card
 link path=usr/sfw/bin/texi2dvi4a2ps target=../../bin/texi2dvi4a2ps
 file NOHASH path=usr/share/a2ps/README
 file NOHASH path=usr/share/a2ps/afm/fonts.map
-file NOHASH path=usr/share/a2ps/afm/make_fonts_map.sh
+file NOHASH path=usr/share/a2ps/afm/make_fonts_map.sh mode=0555
 file NOHASH path=usr/share/a2ps/afm/pbkd.afm
 file NOHASH path=usr/share/a2ps/afm/pbkdi.afm
 file NOHASH path=usr/share/a2ps/afm/pbkl.afm
 file NOHASH path=usr/share/info/a2ps.info-4
 file NOHASH path=usr/share/info/a2ps.info-5
 file NOHASH path=usr/share/info/a2ps.info-6
-file NOHASH path=usr/share/info/dir
 file NOHASH path=usr/share/info/ogonkify.info
 file NOHASH path=usr/share/info/regex.info
 file NOHASH path=usr/share/info/regex.info-1
 	name="a2ps - GNU Any to PostScript filter (root)" \
 	desc="a2ps - GNU Any to PostScript filter (root) 4.13b" \
 	hotline="Please contact your local service provider" \
-	pkg=SUNWa2psu variant.arch=$(ARCH) vendor="Oracle Corporation" \
+	pkg=SUNWa2psr variant.arch=$(ARCH) vendor="Oracle Corporation" \
 	version=11.11.0,REV=2010.09.30.04.23
 
 legacy arch=$(ARCH) category=system \

incorporations/Makefile

-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright (c) 2010, Oracle and/or it's affiliates.  All rights reserved.
-#
-
-include ../make-rules/shared-macros.mk
-
-SUBDIRS =	userland
-
-publish:		TARGET = publish-incorporation
-clean:			TARGET = clean
-clobber:		TARGET = clobber
-
-# No action:
-download prep build install install-packages validate:
-
-.DEFAULT:	publish
-
-publish clean clobber: $(SUBDIRS)
-
-$(SUBDIRS):	FORCE
-	gmake -C $@ $(TARGET)
-
-FORCE:

incorporations/userland/Makefile

-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright (c) 2010, Oracle and/or it's affiliates.  All rights reserved.
-#
-
-include $(WS_TOP)/make-rules/shared-macros.mk
-include $(WS_TOP)/make-rules/ips.mk
-
-FRAGMENTS=	$(wildcard *.fragment)
-
-userland.mogrified:	userland.p5m
-	$(PKGMOGRIFY) $(PKG_OPTIONS) $< $(PUBLISH_TRANSFORMS) | \
-                sed -e '/^$$/d' -e '/^#.*$$/d' | uniq >$@
-	
-userland.published:	userland.mogrified $(FRAGMENTS)
-	cat userland.mogrified $(FRAGMENTS) >$@
-	$(PKGSEND) -s $(PKG_REPO) publish --fmri-in-manifest -d . $@
-
-install:
-
-publish-incorporation:	userland.published
-
-clean::
-	$(RM) userland.mogrified userland.published
-
-clobber::	clean
-	$(RM) $(FRAGMENTS)

incorporations/userland/userland.p5m

-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright (c) 2010, Oracle and/or it's affiliates.  All rights reserved.
-#
-
-set name=pkg.fmri value=pkg:/consolidation/userland/userland-incorporation@0.$(OS_VERSION),$(BUILD_VERSION)
-set name=pkg.summary value="userland consolidation incorporation "
-set name=pkg.description value="This incorporation constrains packages from the userland consolidation. "
-set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
-set variant.arch=$(ARCH)
-set name=variant.opensolaris.zone value=global value=nonglobal

make-rules/ips.mk

 	cat $(METADATA_TEMPLATE) $< >$@
 
 # mogrify the manifest
-$(MANIFEST_BASE)-%.mogrified:	%.p5m $(METADATA_TEMPLATE) canonical-manifests
-	$(PKGMOGRIFY) $(PKG_OPTIONS) $(METADATA_TEMPLATE) $< \
+$(MANIFEST_BASE)-%.mogrified:	%.p5m canonical-manifests
+	$(PKGMOGRIFY) $(PKG_OPTIONS) $< \
 		$(PUBLISH_TRANSFORMS) | \
 		sed -e '/^$$/d' -e '/^#.*$$/d' | uniq >$@
 
 # generate dependencies, drop variant.arch in set and depend actions because
 # "pkgdepend resolve" fails when it's present.
 $(MANIFEST_BASE)-%.depend:	$(MANIFEST_BASE)-%.mogrified
-	$(PKGDEPEND) generate -m $< $(PROTO_DIR) | \
-	$(PKGMOGRIFY) /dev/fd/0 $(WS_TOP)/transforms/drop-variant.arch >$@
+	$(PKGDEPEND) generate -m $< $(PROTO_DIR) >$@
 
 # resolve dependencies, prepend the mogrified manifest, less the unresolved
 # dependencies to the result.
 $(MANIFEST_BASE)-%.resolved:	$(MANIFEST_BASE)-%.depend
-	$(PKGMOGRIFY) $(@:%.resolved=%.mogrified) \
+	($(PKGMOGRIFY) $(@:%.resolved=%.mogrified) \
 		$(WS_TOP)/transforms/drop-unresolved-dependencies | \
-		sed -e '/^$$/d' -e '/^#.*$$/d' | uniq >$@
-	echo "depend fmri=consolidation/$(CONSOLIDATION)/$(CONSOLIDATION)-incorporation type=require">>$@
-	$(PKGDEPEND) resolve -o $< | sed -e '1d' >>$@
+		sed -e '/^$$/d' -e '/^#.*$$/d' ; \
+	 $(PKGDEPEND) resolve -o $< | sed -e '1d') | uniq >$@
 
 # lint the manifest before we publish with it.
 $(MANIFEST_BASE)-%.linted:	$(MANIFEST_BASE)-%.resolved
 	@echo "VALIDATING MANIFEST CONTENT: $<"
-	PYTHONPATH=$(WS_TOP)/tools/python $(PKGLINT) -f $(WS_TOP)/tools/pkglintrc $<
+	PYTHONPATH=$(WS_TOOLS)/python $(PKGLINT) \
+		$(CANONICAL_REPO:%=-r % -c $(WS_LINT_CACHE)) \
+		-f $(WS_TOOLS)/pkglintrc $<
 	$(PKGFMT) <$< >$@
 
 # published
 	$(PKGSEND) -s $(PKG_REPO) publish --fmri-in-manifest \
 		-d $(PROTO_DIR) -d $(@D) -d . $<
 	$(PKGFMT) <$< >$@
-	$(PKGMOGRIFY) $(PKG_OPTIONS) $@ \
-			$(WS_TOP)/transforms/print-consolidation-depend | \
- 		sed -e '/^$$/d' -e '/^#.*$$/d' | sort -u > $(WS_INCORPORATIONS)/userland/$(@:$(MANIFEST_BASE)-%.published=%.fragment)
 
 $(COMPONENT_SRC)/.published:	$(PUBLISHED)
 	$(TOUCH) $@

make-rules/shared-macros.mk

 WS_MAKE_RULES =	$(WS_TOP)/make-rules
 WS_COMPONENTS =	$(WS_TOP)/components
 WS_INCORPORATIONS =	$(WS_TOP)/incorporations
+WS_LINT_CACHE =	$(WS_TOP)/cache
 
 BASS_O_MATIC =	$(WS_TOOLS)/bass-o-matic
 

transforms/defaults

 #
 
 #
-# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2010, Oracle and/or it's affiliates.  All rights reserved.
 #
 
+<transform dir path=etc$ -> default group sys>
+
+#
+# LP print service
+#
+<transform dir path=etc/lp/fd$ -> default owner root>
+<transform dir path=etc/lp/fd$ -> default mode 0755>
+<transform dir path=etc/lp(/.+){0,1}$ -> default owner lp>
+<transform dir path=etc/lp(/.+){0,1}$ -> default group lp>
+<transform dir path=etc/lp(/.+){0,1}$ -> default mode 0775>
+
+<transform dir path=usr$ -> default group sys>
+<transform dir path=usr/share$ -> default group sys>
+<transform dir path=usr/share/locale(/.+){0,1}$ -> default group other>
+
 #
 # programs & shared objects should generally have mode 0555
 #

transforms/drop-variant.arch

-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
-#
-# This file contains transforms that are applied to a manifest while dependency
-# generation is being performed because variant.arch causes pkgdepend to fail.
-#
-<transform set name=variant.arch -> drop>
-<transform depend -> delete variant.arch .*>

transforms/locale

 #
 
 # general locale
-<transform dir file link hardlink path=.*/locale/.+ -> default facet.locale true>
+<transform dir link hardlink path=.*/locale$ -> default facet.locale true>
 
-
-# The fix for
-#    Bug 16156
-#   pkgmogrify should allow backreferences in operation to match criteria
-# will allow something like
-#   <transform dir file link hardlink \
-#       path=.*/locale/(.+)(\..+){0,1}(/.+){0,1}$ -> \
-#       default facet.locale.%<\1> true>
-# to replace the rest of the transforms in this file
-
-# specific locale dirs 
-<transform dir file link hardlink path=.*/locale/af(/.+){0,1}$ -> \
-    default facet.locale.af true>
-<transform dir file link hardlink path=.*/locale/af_ZA.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.af_ZA.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/am(/.+){0,1}$ -> \
-    default facet.locale.am true>
-<transform dir file link hardlink path=.*/locale/ang(/.+){0,1}$ -> \
-    default facet.locale.ang true>
-<transform dir file link hardlink path=.*/locale/ar(/.+){0,1}$ -> \
-    default facet.locale.ar true>
-<transform dir file link hardlink path=.*/locale/ar_AE.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.ar_AE.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/ar_BH.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.ar_BH.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/ar_DZ.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.ar_DZ.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/ar_EG.ISO8859-6(/.+){0,1}$ -> \
-    default facet.locale.ar_EG.ISO8859-6 true>
-<transform dir file link hardlink path=.*/locale/ar_EG.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.ar_EG.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/ar_IQ.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.ar_IQ.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/ar_JO.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.ar_JO.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/ar_KW.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.ar_KW.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/ar_LY.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.ar_LY.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/ar_MA.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.ar_MA.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/ar_OM.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.ar_OM.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/ar_QA.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.ar_QA.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/ar_SA.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.ar_SA.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/ar_TN.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.ar_TN.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/ar_YE.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.ar_YE.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/as(/.+){0,1}$ -> \
-    default facet.locale.as true>
-<transform dir file link hardlink path=.*/locale/as_IN.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.as_IN.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/ast(/.+){0,1}$ -> \
-    default facet.locale.ast true>
-<transform dir file link hardlink path=.*/locale/az(/.+){0,1}$ -> \
-    default facet.locale.az true>
-<transform dir file link hardlink path=.*/locale/az_AZ.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.az_AZ.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/az_IR(/.+){0,1}$ -> \
-    default facet.locale.az_IR true>
-<transform dir file link hardlink path=.*/locale/be(/.+){0,1}$ -> \
-    default facet.locale.be true>
-<transform dir file link hardlink path=.*/locale/be_BY.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.be_BY.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/be-tarask(/.+){0,1}$ -> \
-    default facet.locale.be-tarask true>
-<transform dir file link hardlink path=.*/locale/be@latin(/.+){0,1}$ -> \
-    default facet.locale.be@latin true>
-<transform dir file link hardlink path=.*/locale/bem(/.+){0,1}$ -> \
-    default facet.locale.bem true>
-<transform dir file link hardlink path=.*/locale/bg(/.+){0,1}$ -> \
-    default facet.locale.bg true>
-<transform dir file link hardlink path=.*/locale/bg_BG.ISO8859-5(/.+){0,1}$ -> \
-    default facet.locale.bg_BG.ISO8859-5 true>
-<transform dir file link hardlink path=.*/locale/bg_BG.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.bg_BG.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/bn(/.+){0,1}$ -> \
-    default facet.locale.bn true>
-<transform dir file link hardlink path=.*/locale/bn_IN(/.+){0,1}$ -> \
-    default facet.locale.bn_IN true>
-<transform dir file link hardlink path=.*/locale/bn_IN.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.bn_IN.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/br(/.+){0,1}$ -> \
-    default facet.locale.br true>
-<transform dir file link hardlink path=.*/locale/bs(/.+){0,1}$ -> \
-    default facet.locale.bs true>
-<transform dir file link hardlink path=.*/locale/byn(/.+){0,1}$ -> \
-    default facet.locale.byn true>
-<transform dir file link hardlink path=.*/locale/C(/.+){0,1}$ -> \
-    default facet.locale.C true>
-<transform dir file link hardlink path=.*/locale/ca(/.+){0,1}$ -> \
-    default facet.locale.ca true>
-<transform dir file link hardlink path=.*/locale/ca_ES.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.ca_ES.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/ca@valencia(/.+){0,1}$ -> \
-    default facet.locale.ca@valencia true>
-<transform dir file link hardlink path=.*/locale/ckb(/.+){0,1}$ -> \
-    default facet.locale.ckb true>
-<transform dir file link hardlink path=.*/locale/crh(/.+){0,1}$ -> \
-    default facet.locale.crh true>
-<transform dir file link hardlink path=.*/locale/cs(/.+){0,1}$ -> \
-    default facet.locale.cs true>
-<transform dir file link hardlink path=.*/locale/cs_CZ.ISO8859-2(/.+){0,1}$ -> \
-    default facet.locale.cs_CZ.ISO8859-2 true>
-<transform dir file link hardlink path=.*/locale/cs_CZ.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.cs_CZ.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/csb(/.+){0,1}$ -> \
-    default facet.locale.csb true>
-<transform dir file link hardlink path=.*/locale/cy(/.+){0,1}$ -> \
-    default facet.locale.cy true>
-<transform dir file link hardlink path=.*/locale/da(/.+){0,1}$ -> \
-    default facet.locale.da true>
-<transform dir file link hardlink path=.*/locale/da_DK.ISO8859-1(/.+){0,1}$ -> \
-    default facet.locale.da_DK.ISO8859-1 true>
-<transform dir file link hardlink path=.*/locale/da_DK.ISO8859-15(/.+){0,1}$ -> \
-    default facet.locale.da_DK.ISO8859-15 true>
-<transform dir file link hardlink path=.*/locale/da_DK.ISO8859-15@euro(/.+){0,1}$ -> \
-    default facet.locale.da_DK.ISO8859-15@euro true>
-<transform dir file link hardlink path=.*/locale/da_DK.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.da_DK.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/de(/.+){0,1}$ -> \
-    default facet.locale.de true>
-<transform dir file link hardlink path=.*/locale/de_BE.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.de_BE.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/de_LI.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.de_LI.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/de.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.de.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/dv(/.+){0,1}$ -> \
-    default facet.locale.dv true>
-<transform dir file link hardlink path=.*/locale/dz(/.+){0,1}$ -> \
-    default facet.locale.dz true>
-<transform dir file link hardlink path=.*/locale/el(/.+){0,1}$ -> \
-    default facet.locale.el true>
-<transform dir file link hardlink path=.*/locale/el_CY.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.el_CY.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/el_GR.ISO8859-7(/.+){0,1}$ -> \
-    default facet.locale.el_GR.ISO8859-7 true>
-<transform dir file link hardlink path=.*/locale/el_GR.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.el_GR.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/el.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.el.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/en(/.+){0,1}$ -> \
-    default facet.locale.en true>
-<transform dir file link hardlink path=.*/locale/en_AU.ISO8859-1(/.+){0,1}$ -> \
-    default facet.locale.en_AU.ISO8859-1 true>
-<transform dir file link hardlink path=.*/locale/en_AU.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.en_AU.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/en_BW.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.en_BW.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/en_CA(/.+){0,1}$ -> \
-    default facet.locale.en_CA true>
-<transform dir file link hardlink path=.*/locale/en_CA.ISO8859-1(/.+){0,1}$ -> \
-    default facet.locale.en_CA.ISO8859-1 true>
-<transform dir file link hardlink path=.*/locale/en_CA.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.en_CA.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/en_GB(/.+){0,1}$ -> \
-    default facet.locale.en_GB true>
-<transform dir file link hardlink path=.*/locale/en_GB.ISO8859-1(/.+){0,1}$ -> \
-    default facet.locale.en_GB.ISO8859-1 true>
-<transform dir file link hardlink path=.*/locale/en_GB.ISO8859-15(/.+){0,1}$ -> \
-    default facet.locale.en_GB.ISO8859-15 true>
-<transform dir file link hardlink path=.*/locale/en_GB.ISO8859-15@euro(/.+){0,1}$ -> \
-    default facet.locale.en_GB.ISO8859-15@euro true>
-<transform dir file link hardlink path=.*/locale/en_GB.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.en_GB.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/en_HK.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.en_HK.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/en_IE.ISO8859-1(/.+){0,1}$ -> \
-    default facet.locale.en_IE.ISO8859-1 true>
-<transform dir file link hardlink path=.*/locale/en_IE.ISO8859-15(/.+){0,1}$ -> \
-    default facet.locale.en_IE.ISO8859-15 true>
-<transform dir file link hardlink path=.*/locale/en_IE.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.en_IE.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/en_IN.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.en_IN.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/en_MT.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.en_MT.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/en_NZ.ISO8859-1(/.+){0,1}$ -> \
-    default facet.locale.en_NZ.ISO8859-1 true>
-<transform dir file link hardlink path=.*/locale/en_NZ.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.en_NZ.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/en_PH.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.en_PH.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/en_SG.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.en_SG.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/en_US(/.+){0,1}$ -> \
-    default facet.locale.en_US true>
-<transform dir file link hardlink path=.*/locale/en_US.ISO8859-1(/.+){0,1}$ -> \
-    default facet.locale.en_US.ISO8859-1 true>
-<transform dir file link hardlink path=.*/locale/en_US.ISO8859-15(/.+){0,1}$ -> \
-    default facet.locale.en_US.ISO8859-15 true>
-<transform dir file link hardlink path=.*/locale/en_US.ISO8859-15@euro(/.+){0,1}$ -> \
-    default facet.locale.en_US.ISO8859-15@euro true>
-<transform dir file link hardlink path=.*/locale/en_US.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.en_US.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/en_ZW.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.en_ZW.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/en@boldquot(/.+){0,1}$ -> \
-    default facet.locale.en@boldquot true>
-<transform dir file link hardlink path=.*/locale/en@quot(/.+){0,1}$ -> \
-    default facet.locale.en@quot true>
-<transform dir file link hardlink path=.*/locale/eo(/.+){0,1}$ -> \
-    default facet.locale.eo true>
-<transform dir file link hardlink path=.*/locale/es(/.+){0,1}$ -> \
-    default facet.locale.es true>
-<transform dir file link hardlink path=.*/locale/es_AR(/.+){0,1}$ -> \
-    default facet.locale.es_AR true>
-<transform dir file link hardlink path=.*/locale/es_CL(/.+){0,1}$ -> \
-    default facet.locale.es_CL true>
-<transform dir file link hardlink path=.*/locale/es_CO(/.+){0,1}$ -> \
-    default facet.locale.es_CO true>
-<transform dir file link hardlink path=.*/locale/es_CR(/.+){0,1}$ -> \
-    default facet.locale.es_CR true>
-<transform dir file link hardlink path=.*/locale/es_DO(/.+){0,1}$ -> \
-    default facet.locale.es_DO true>
-<transform dir file link hardlink path=.*/locale/es_DO.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.es_DO.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/es_EC(/.+){0,1}$ -> \
-    default facet.locale.es_EC true>
-<transform dir file link hardlink path=.*/locale/es_ES(/.+){0,1}$ -> \
-    default facet.locale.es_ES true>
-<transform dir file link hardlink path=.*/locale/es_GT(/.+){0,1}$ -> \
-    default facet.locale.es_GT true>
-<transform dir file link hardlink path=.*/locale/es_HN(/.+){0,1}$ -> \
-    default facet.locale.es_HN true>
-<transform dir file link hardlink path=.*/locale/es_HN.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.es_HN.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/es_MX(/.+){0,1}$ -> \
-    default facet.locale.es_MX true>
-<transform dir file link hardlink path=.*/locale/es_NI(/.+){0,1}$ -> \
-    default facet.locale.es_NI true>
-<transform dir file link hardlink path=.*/locale/es_PA(/.+){0,1}$ -> \
-    default facet.locale.es_PA true>
-<transform dir file link hardlink path=.*/locale/es_PE(/.+){0,1}$ -> \
-    default facet.locale.es_PE true>
-<transform dir file link hardlink path=.*/locale/es_PR(/.+){0,1}$ -> \
-    default facet.locale.es_PR true>
-<transform dir file link hardlink path=.*/locale/es_PR.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.es_PR.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/es_SV(/.+){0,1}$ -> \
-    default facet.locale.es_SV true>
-<transform dir file link hardlink path=.*/locale/es_UY(/.+){0,1}$ -> \
-    default facet.locale.es_UY true>
-<transform dir file link hardlink path=.*/locale/es_VE(/.+){0,1}$ -> \
-    default facet.locale.es_VE true>
-<transform dir file link hardlink path=.*/locale/es.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.es.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/et(/.+){0,1}$ -> \
-    default facet.locale.et true>
-<transform dir file link hardlink path=.*/locale/et_EE.ISO8859-15(/.+){0,1}$ -> \
-    default facet.locale.et_EE.ISO8859-15 true>
-<transform dir file link hardlink path=.*/locale/et_EE.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.et_EE.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/eu(/.+){0,1}$ -> \
-    default facet.locale.eu true>
-<transform dir file link hardlink path=.*/locale/fa(/.+){0,1}$ -> \
-    default facet.locale.fa true>
-<transform dir file link hardlink path=.*/locale/fi(/.+){0,1}$ -> \
-    default facet.locale.fi true>
-<transform dir file link hardlink path=.*/locale/fi_FI.ISO8859-1(/.+){0,1}$ -> \
-    default facet.locale.fi_FI.ISO8859-1 true>
-<transform dir file link hardlink path=.*/locale/fi_FI.ISO8859-15(/.+){0,1}$ -> \
-    default facet.locale.fi_FI.ISO8859-15 true>
-<transform dir file link hardlink path=.*/locale/fi_FI.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.fi_FI.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/fil(/.+){0,1}$ -> \
-    default facet.locale.fil true>
-<transform dir file link hardlink path=.*/locale/fo(/.+){0,1}$ -> \
-    default facet.locale.fo true>
-<transform dir file link hardlink path=.*/locale/fr(/.+){0,1}$ -> \
-    default facet.locale.fr true>
-<transform dir file link hardlink path=.*/locale/fr.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.fr.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/fur(/.+){0,1}$ -> \
-    default facet.locale.fur true>
-<transform dir file link hardlink path=.*/locale/fy(/.+){0,1}$ -> \
-    default facet.locale.fy true>
-<transform dir file link hardlink path=.*/locale/ga(/.+){0,1}$ -> \
-    default facet.locale.ga true>
-<transform dir file link hardlink path=.*/locale/gez(/.+){0,1}$ -> \
-    default facet.locale.gez true>
-<transform dir file link hardlink path=.*/locale/gl(/.+){0,1}$ -> \
-    default facet.locale.gl true>
-<transform dir file link hardlink path=.*/locale/gn(/.+){0,1}$ -> \
-    default facet.locale.gn true>
-<transform dir file link hardlink path=.*/locale/gr(/.+){0,1}$ -> \
-    default facet.locale.gr true>
-<transform dir file link hardlink path=.*/locale/gu(/.+){0,1}$ -> \
-    default facet.locale.gu true>
-<transform dir file link hardlink path=.*/locale/gu_IN.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.gu_IN.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/ha(/.+){0,1}$ -> \
-    default facet.locale.ha true>
-<transform dir file link hardlink path=.*/locale/haw(/.+){0,1}$ -> \
-    default facet.locale.haw true>
-<transform dir file link hardlink path=.*/locale/he(/.+){0,1}$ -> \
-    default facet.locale.he true>
-<transform dir file link hardlink path=.*/locale/he_IL.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.he_IL.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/hi(/.+){0,1}$ -> \
-    default facet.locale.hi true>
-<transform dir file link hardlink path=.*/locale/hi_IN.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.hi_IN.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/hr(/.+){0,1}$ -> \
-    default facet.locale.hr true>
-<transform dir file link hardlink path=.*/locale/hr_HR.ISO8859-2(/.+){0,1}$ -> \
-    default facet.locale.hr_HR.ISO8859-2 true>
-<transform dir file link hardlink path=.*/locale/hr_HR.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.hr_HR.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/hu(/.+){0,1}$ -> \
-    default facet.locale.hu true>
-<transform dir file link hardlink path=.*/locale/hu_HU.ISO8859-2(/.+){0,1}$ -> \
-    default facet.locale.hu_HU.ISO8859-2 true>
-<transform dir file link hardlink path=.*/locale/hu_HU.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.hu_HU.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/hy(/.+){0,1}$ -> \
-    default facet.locale.hy true>
-<transform dir file link hardlink path=.*/locale/hy_AM.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.hy_AM.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/ia(/.+){0,1}$ -> \
-    default facet.locale.ia true>
-<transform dir file link hardlink path=.*/locale/id(/.+){0,1}$ -> \
-    default facet.locale.id true>
-<transform dir file link hardlink path=.*/locale/id_ID.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.id_ID.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/ig(/.+){0,1}$ -> \
-    default facet.locale.ig true>
-<transform dir file link hardlink path=.*/locale/io(/.+){0,1}$ -> \
-    default facet.locale.io true>
-<transform dir file link hardlink path=.*/locale/is(/.+){0,1}$ -> \
-    default facet.locale.is true>
-<transform dir file link hardlink path=.*/locale/is_IS.ISO8859-1(/.+){0,1}$ -> \
-    default facet.locale.is_IS.ISO8859-1 true>
-<transform dir file link hardlink path=.*/locale/is_IS.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.is_IS.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/it(/.+){0,1}$ -> \
-    default facet.locale.it true>
-<transform dir file link hardlink path=.*/locale/it_CH.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.it_CH.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/it.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.it.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/ja(/.+){0,1}$ -> \
-    default facet.locale.ja true>
-<transform dir file link hardlink path=.*/locale/ja_JP.eucJP(/.+){0,1}$ -> \
-    default facet.locale.ja_JP.eucJP true>
-<transform dir file link hardlink path=.*/locale/ja_JP.PCK(/.+){0,1}$ -> \
-    default facet.locale.ja_JP.PCK true>
-<transform dir file link hardlink path=.*/locale/ja_JP.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.ja_JP.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/jv(/.+){0,1}$ -> \
-    default facet.locale.jv true>
-<transform dir file link hardlink path=.*/locale/ka(/.+){0,1}$ -> \
-    default facet.locale.ka true>
-<transform dir file link hardlink path=.*/locale/ka_GE.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.ka_GE.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/kab(/.+){0,1}$ -> \
-    default facet.locale.kab true>
-<transform dir file link hardlink path=.*/locale/kk(/.+){0,1}$ -> \
-    default facet.locale.kk true>
-<transform dir file link hardlink path=.*/locale/kk_KZ.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.kk_KZ.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/km(/.+){0,1}$ -> \
-    default facet.locale.km true>
-<transform dir file link hardlink path=.*/locale/kn(/.+){0,1}$ -> \
-    default facet.locale.kn true>
-<transform dir file link hardlink path=.*/locale/kn_IN.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.kn_IN.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/ko(/.+){0,1}$ -> \
-    default facet.locale.ko true>
-<transform dir file link hardlink path=.*/locale/ko.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.ko.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/kok(/.+){0,1}$ -> \
-    default facet.locale.kok true>
-<transform dir file link hardlink path=.*/locale/ks(/.+){0,1}$ -> \
-    default facet.locale.ks true>
-<transform dir file link hardlink path=.*/locale/ks_IN.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.ks_IN.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/ku(/.+){0,1}$ -> \
-    default facet.locale.ku true>
-<transform dir file link hardlink path=.*/locale/ku_TR.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.ku_TR.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/ku_TR.UTF-8@sorani(/.+){0,1}$ -> \
-    default facet.locale.ku_TR.UTF-8@sorani true>
-<transform dir file link hardlink path=.*/locale/ky(/.+){0,1}$ -> \
-    default facet.locale.ky true>
-<transform dir file link hardlink path=.*/locale/ky_KG.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.ky_KG.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/la(/.+){0,1}$ -> \
-    default facet.locale.la true>
-<transform dir file link hardlink path=.*/locale/lg(/.+){0,1}$ -> \
-    default facet.locale.lg true>
-<transform dir file link hardlink path=.*/locale/li(/.+){0,1}$ -> \
-    default facet.locale.li true>
-<transform dir file link hardlink path=.*/locale/lo(/.+){0,1}$ -> \
-    default facet.locale.lo true>
-<transform dir file link hardlink path=.*/locale/lt(/.+){0,1}$ -> \
-    default facet.locale.lt true>
-<transform dir file link hardlink path=.*/locale/lt_LT.ISO8859-13(/.+){0,1}$ -> \
-    default facet.locale.lt_LT.ISO8859-13 true>
-<transform dir file link hardlink path=.*/locale/lt_LT.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.lt_LT.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/lv(/.+){0,1}$ -> \
-    default facet.locale.lv true>
-<transform dir file link hardlink path=.*/locale/lv_LV.ISO8859-13(/.+){0,1}$ -> \
-    default facet.locale.lv_LV.ISO8859-13 true>
-<transform dir file link hardlink path=.*/locale/lv_LV.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.lv_LV.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/mai(/.+){0,1}$ -> \
-    default facet.locale.mai true>
-<transform dir file link hardlink path=.*/locale/md(/.+){0,1}$ -> \
-    default facet.locale.md true>
-<transform dir file link hardlink path=.*/locale/mg(/.+){0,1}$ -> \
-    default facet.locale.mg true>
-<transform dir file link hardlink path=.*/locale/mi(/.+){0,1}$ -> \
-    default facet.locale.mi true>
-<transform dir file link hardlink path=.*/locale/mk(/.+){0,1}$ -> \
-    default facet.locale.mk true>
-<transform dir file link hardlink path=.*/locale/mk_MK.ISO8859-5(/.+){0,1}$ -> \
-    default facet.locale.mk_MK.ISO8859-5 true>
-<transform dir file link hardlink path=.*/locale/mk_MK.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.mk_MK.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/ml(/.+){0,1}$ -> \
-    default facet.locale.ml true>
-<transform dir file link hardlink path=.*/locale/ml_IN.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.ml_IN.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/mn(/.+){0,1}$ -> \
-    default facet.locale.mn true>
-<transform dir file link hardlink path=.*/locale/mr(/.+){0,1}$ -> \
-    default facet.locale.mr true>
-<transform dir file link hardlink path=.*/locale/mr_IN.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.mr_IN.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/ms(/.+){0,1}$ -> \
-    default facet.locale.ms true>
-<transform dir file link hardlink path=.*/locale/ms_MY(/.+){0,1}$ -> \
-    default facet.locale.ms_MY true>
-<transform dir file link hardlink path=.*/locale/ms_MY.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.ms_MY.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/mt(/.+){0,1}$ -> \
-    default facet.locale.mt true>
-<transform dir file link hardlink path=.*/locale/mt_MT.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.mt_MT.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/my(/.+){0,1}$ -> \
-    default facet.locale.my true>
-<transform dir file link hardlink path=.*/locale/my_MM(/.+){0,1}$ -> \
-    default facet.locale.my_MM true>
-<transform dir file link hardlink path=.*/locale/nb(/.+){0,1}$ -> \
-    default facet.locale.nb true>
-<transform dir file link hardlink path=.*/locale/nb_NO.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.nb_NO.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/nds(/.+){0,1}$ -> \
-    default facet.locale.nds true>
-<transform dir file link hardlink path=.*/locale/ne(/.+){0,1}$ -> \
-    default facet.locale.ne true>
-<transform dir file link hardlink path=.*/locale/nl(/.+){0,1}$ -> \
-    default facet.locale.nl true>
-<transform dir file link hardlink path=.*/locale/nl_BE.ISO8859-1(/.+){0,1}$ -> \
-    default facet.locale.nl_BE.ISO8859-1 true>
-<transform dir file link hardlink path=.*/locale/nl_BE.ISO8859-15(/.+){0,1}$ -> \
-    default facet.locale.nl_BE.ISO8859-15 true>
-<transform dir file link hardlink path=.*/locale/nl_BE.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.nl_BE.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/nl_NL.ISO8859-1(/.+){0,1}$ -> \
-    default facet.locale.nl_NL.ISO8859-1 true>
-<transform dir file link hardlink path=.*/locale/nl_NL.ISO8859-15(/.+){0,1}$ -> \
-    default facet.locale.nl_NL.ISO8859-15 true>
-<transform dir file link hardlink path=.*/locale/nl_NL.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.nl_NL.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/nn(/.+){0,1}$ -> \
-    default facet.locale.nn true>
-<transform dir file link hardlink path=.*/locale/nn_NO.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.nn_NO.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/no(/.+){0,1}$ -> \
-    default facet.locale.no true>
-<transform dir file link hardlink path=.*/locale/no_NO.ISO8859-1@bokmal(/.+){0,1}$ -> \
-    default facet.locale.no_NO.ISO8859-1@bokmal true>
-<transform dir file link hardlink path=.*/locale/no_NO.ISO8859-1@nynorsk(/.+){0,1}$ -> \
-    default facet.locale.no_NO.ISO8859-1@nynorsk true>
-<transform dir file link hardlink path=.*/locale/nso(/.+){0,1}$ -> \
-    default facet.locale.nso true>
-<transform dir file link hardlink path=.*/locale/oc(/.+){0,1}$ -> \
-    default facet.locale.oc true>
-<transform dir file link hardlink path=.*/locale/or(/.+){0,1}$ -> \
-    default facet.locale.or true>
-<transform dir file link hardlink path=.*/locale/or_IN.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.or_IN.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/pa(/.+){0,1}$ -> \
-    default facet.locale.pa true>
-<transform dir file link hardlink path=.*/locale/pa_IN.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.pa_IN.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/pl(/.+){0,1}$ -> \
-    default facet.locale.pl true>
-<transform dir file link hardlink path=.*/locale/pl_PL.ISO8859-2(/.+){0,1}$ -> \
-    default facet.locale.pl_PL.ISO8859-2 true>
-<transform dir file link hardlink path=.*/locale/pl_PL.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.pl_PL.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/ps(/.+){0,1}$ -> \
-    default facet.locale.ps true>
-<transform dir file link hardlink path=.*/locale/pt(/.+){0,1}$ -> \
-    default facet.locale.pt true>
-<transform dir file link hardlink path=.*/locale/pt_BR(/.+){0,1}$ -> \
-    default facet.locale.pt_BR true>
-<transform dir file link hardlink path=.*/locale/pt_BR.ISO8859-1(/.+){0,1}$ -> \
-    default facet.locale.pt_BR.ISO8859-1 true>
-<transform dir file link hardlink path=.*/locale/pt_BR.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.pt_BR.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/pt_PT(/.+){0,1}$ -> \
-    default facet.locale.pt_PT true>
-<transform dir file link hardlink path=.*/locale/pt_PT.ISO8859-1(/.+){0,1}$ -> \
-    default facet.locale.pt_PT.ISO8859-1 true>
-<transform dir file link hardlink path=.*/locale/pt_PT.ISO8859-15(/.+){0,1}$ -> \
-    default facet.locale.pt_PT.ISO8859-15 true>
-<transform dir file link hardlink path=.*/locale/pt_PT.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.pt_PT.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/rm(/.+){0,1}$ -> \
-    default facet.locale.rm true>
-<transform dir file link hardlink path=.*/locale/ro(/.+){0,1}$ -> \
-    default facet.locale.ro true>
-<transform dir file link hardlink path=.*/locale/ro_RO.ISO8859-2(/.+){0,1}$ -> \
-    default facet.locale.ro_RO.ISO8859-2 true>
-<transform dir file link hardlink path=.*/locale/ro_RO.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.ro_RO.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/ru(/.+){0,1}$ -> \
-    default facet.locale.ru true>
-<transform dir file link hardlink path=.*/locale/ru_RU.ANSI1251(/.+){0,1}$ -> \
-    default facet.locale.ru_RU.ANSI1251 true>
-<transform dir file link hardlink path=.*/locale/ru_RU.ISO8859-5(/.+){0,1}$ -> \
-    default facet.locale.ru_RU.ISO8859-5 true>
-<transform dir file link hardlink path=.*/locale/ru_RU.KOI8-R(/.+){0,1}$ -> \
-    default facet.locale.ru_RU.KOI8-R true>
-<transform dir file link hardlink path=.*/locale/ru_RU.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.ru_RU.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/ru_UA.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.ru_UA.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/rw(/.+){0,1}$ -> \
-    default facet.locale.rw true>
-<transform dir file link hardlink path=.*/locale/sa_IN.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.sa_IN.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/sh_BA.ISO8859-2@bosnia(/.+){0,1}$ -> \
-    default facet.locale.sh_BA.ISO8859-2@bosnia true>
-<transform dir file link hardlink path=.*/locale/sh_BA.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.sh_BA.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/si(/.+){0,1}$ -> \
-    default facet.locale.si true>
-<transform dir file link hardlink path=.*/locale/sk(/.+){0,1}$ -> \
-    default facet.locale.sk true>
-<transform dir file link hardlink path=.*/locale/sk_SK.ISO8859-2(/.+){0,1}$ -> \
-    default facet.locale.sk_SK.ISO8859-2 true>
-<transform dir file link hardlink path=.*/locale/sk_SK.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.sk_SK.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/sl(/.+){0,1}$ -> \
-    default facet.locale.sl true>
-<transform dir file link hardlink path=.*/locale/sl_SI.ISO8859-2(/.+){0,1}$ -> \
-    default facet.locale.sl_SI.ISO8859-2 true>
-<transform dir file link hardlink path=.*/locale/sl_SI.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.sl_SI.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/so(/.+){0,1}$ -> \
-    default facet.locale.so true>
-<transform dir file link hardlink path=.*/locale/sq(/.+){0,1}$ -> \
-    default facet.locale.sq true>
-<transform dir file link hardlink path=.*/locale/sq_AL.ISO8859-2(/.+){0,1}$ -> \
-    default facet.locale.sq_AL.ISO8859-2 true>
-<transform dir file link hardlink path=.*/locale/sq_AL.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.sq_AL.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/sr(/.+){0,1}$ -> \
-    default facet.locale.sr true>
-<transform dir file link hardlink path=.*/locale/sr_CS.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.sr_CS.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/sr_ME.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.sr_ME.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/sr_ME.UTF-8@latin(/.+){0,1}$ -> \
-    default facet.locale.sr_ME.UTF-8@latin true>
-<transform dir file link hardlink path=.*/locale/sr_RS.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.sr_RS.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/sr_RS.UTF-8@latin(/.+){0,1}$ -> \
-    default facet.locale.sr_RS.UTF-8@latin true>
-<transform dir file link hardlink path=.*/locale/sr_YU.ISO8859-5(/.+){0,1}$ -> \
-    default facet.locale.sr_YU.ISO8859-5 true>
-<transform dir file link hardlink path=.*/locale/sr@ije(/.+){0,1}$ -> \
-    default facet.locale.sr@ije true>
-<transform dir file link hardlink path=.*/locale/sr@latin(/.+){0,1}$ -> \
-    default facet.locale.sr@latin true>
-<transform dir file link hardlink path=.*/locale/sr@Latn(/.+){0,1}$ -> \
-    default facet.locale.sr@Latn true>
-<transform dir file link hardlink path=.*/locale/sv(/.+){0,1}$ -> \
-    default facet.locale.sv true>
-<transform dir file link hardlink path=.*/locale/sv_SE.ISO8859-15@euro(/.+){0,1}$ -> \
-    default facet.locale.sv_SE.ISO8859-15@euro true>
-<transform dir file link hardlink path=.*/locale/sv_SE.UTF-8@euro(/.+){0,1}$ -> \
-    default facet.locale.sv_SE.UTF-8@euro true>
-<transform dir file link hardlink path=.*/locale/sv.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.sv.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/sw(/.+){0,1}$ -> \
-    default facet.locale.sw true>
-<transform dir file link hardlink path=.*/locale/ta(/.+){0,1}$ -> \
-    default facet.locale.ta true>
-<transform dir file link hardlink path=.*/locale/ta_IN.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.ta_IN.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/te(/.+){0,1}$ -> \
-    default facet.locale.te true>
-<transform dir file link hardlink path=.*/locale/te_IN.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.te_IN.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/tg(/.+){0,1}$ -> \
-    default facet.locale.tg true>
-<transform dir file link hardlink path=.*/locale/th(/.+){0,1}$ -> \
-    default facet.locale.th true>
-<transform dir file link hardlink path=.*/locale/th_TH(/.+){0,1}$ -> \
-    default facet.locale.th_TH true>
-<transform dir file link hardlink path=.*/locale/th_TH.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.th_TH.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/ti(/.+){0,1}$ -> \
-    default facet.locale.ti true>
-<transform dir file link hardlink path=.*/locale/tig(/.+){0,1}$ -> \
-    default facet.locale.tig true>
-<transform dir file link hardlink path=.*/locale/tk(/.+){0,1}$ -> \
-    default facet.locale.tk true>
-<transform dir file link hardlink path=.*/locale/tl(/.+){0,1}$ -> \
-    default facet.locale.tl true>
-<transform dir file link hardlink path=.*/locale/tr(/.+){0,1}$ -> \
-    default facet.locale.tr true>
-<transform dir file link hardlink path=.*/locale/tr_TR.ISO8859-9(/.+){0,1}$ -> \
-    default facet.locale.tr_TR.ISO8859-9 true>
-<transform dir file link hardlink path=.*/locale/tr_TR.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.tr_TR.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/tt(/.+){0,1}$ -> \
-    default facet.locale.tt true>
-<transform dir file link hardlink path=.*/locale/ug(/.+){0,1}$ -> \
-    default facet.locale.ug true>
-<transform dir file link hardlink path=.*/locale/uk(/.+){0,1}$ -> \
-    default facet.locale.uk true>
-<transform dir file link hardlink path=.*/locale/uk_UA.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.uk_UA.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/ur(/.+){0,1}$ -> \
-    default facet.locale.ur true>
-<transform dir file link hardlink path=.*/locale/ur_PK(/.+){0,1}$ -> \
-    default facet.locale.ur_PK true>
-<transform dir file link hardlink path=.*/locale/uz(/.+){0,1}$ -> \
-    default facet.locale.uz true>
-<transform dir file link hardlink path=.*/locale/uz@cyrillic(/.+){0,1}$ -> \
-    default facet.locale.uz@cyrillic true>
-<transform dir file link hardlink path=.*/locale/ve(/.+){0,1}$ -> \
-    default facet.locale.ve true>
-<transform dir file link hardlink path=.*/locale/vi(/.+){0,1}$ -> \
-    default facet.locale.vi true>
-<transform dir file link hardlink path=.*/locale/vi_VN.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.vi_VN.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/wa(/.+){0,1}$ -> \
-    default facet.locale.wa true>
-<transform dir file link hardlink path=.*/locale/wal(/.+){0,1}$ -> \
-    default facet.locale.wal true>
-<transform dir file link hardlink path=.*/locale/wo(/.+){0,1}$ -> \
-    default facet.locale.wo true>
-<transform dir file link hardlink path=.*/locale/xh(/.+){0,1}$ -> \
-    default facet.locale.xh true>
-<transform dir file link hardlink path=.*/locale/yi(/.+){0,1}$ -> \
-    default facet.locale.yi true>
-<transform dir file link hardlink path=.*/locale/yo(/.+){0,1}$ -> \
-    default facet.locale.yo true>
-<transform dir file link hardlink path=.*/locale/zh(/.+){0,1}$ -> \
-    default facet.locale.zh true>
-<transform dir file link hardlink path=.*/locale/zh_CN(/.+){0,1}$ -> \
-    default facet.locale.zh_CN true>
-<transform dir file link hardlink path=.*/locale/zh_HK(/.+){0,1}$ -> \
-    default facet.locale.zh_HK true>
-<transform dir file link hardlink path=.*/locale/zh_SG.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.zh_SG.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/zh_TW(/.+){0,1}$ -> \
-    default facet.locale.zh_TW true>
-<transform dir file link hardlink path=.*/locale/zh_TW.BIG5(/.+){0,1}$ -> \
-    default facet.locale.zh_TW.BIG5 true>
-<transform dir file link hardlink path=.*/locale/zh_TW.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.zh_TW.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/zh.GBK(/.+){0,1}$ -> \
-    default facet.locale.zh.GBK true>
-<transform dir file link hardlink path=.*/locale/zh.UTF-8(/.+){0,1}$ -> \
-    default facet.locale.zh.UTF-8 true>
-<transform dir file link hardlink path=.*/locale/zu(/.+){0,1}$ -> \
-    default facet.locale.zu true>
+<transform dir file link hardlink \
+    path=.*/locale/([^/]+)(\..+){0,1}(/.+){0,1}$ -> \
+    default facet.locale.%<\1> true>

transforms/print-consolidation-depend

-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
-#
-
-#
-# These transforms print only the package name from the manifest.
-#
-
-<transform set name=pkg.fmri value=pkg:/(.+) -> print depend fmri=%<1> type=require >
-<transform -> drop>