Skip to content
Permalink
Browse files

xorg-cyrillic: add using modified solaris-userland recipe

  • Loading branch information...
alarcher committed Aug 13, 2019
1 parent 1ed6829 commit 454f95e1962006a48cd00a0d3540eb603f91d8db
@@ -0,0 +1,83 @@
#
# 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) 2008, 2019, Oracle and/or its affiliates. All rights reserved.
#

FONT_TYPE=X11
BUILD_STYLE=configure
include ../../../make-rules/shared-macros.mk

COMPONENT_NAME= font-misc-cyrillic
COMPONENT_VERSION= 1.0.3
COMPONENT_ARCHIVE_HASH= \
sha256:e40fe3e3323c62b738550795457ad555c70c008aa91b5912dfd46f8e745f5e60

COMPONENT_NAME_1= font-cronyx-cyrillic
COMPONENT_VERSION_1= 1.0.3
COMPONENT_ARCHIVE_HASH_1= \
sha256:6e8631936157677c77ba032b5c7b1fb3cb2ee872dbcea0444f12cd602cd9212a

COMPONENT_NAME_2= font-screen-cyrillic
COMPONENT_VERSION_2= 1.0.4
COMPONENT_ARCHIVE_HASH_2= \
sha256:824231e8dffe15299454e47259f29d98001c9cf8ad3d6b5171399e4d71705e79

COMPONENT_NAME_3= font-winitzki-cyrillic
COMPONENT_VERSION_3= 1.0.3
COMPONENT_ARCHIVE_HASH_3= \
sha256:abd13b63d02fcaec488686c23683e5cf640b43bd32f8ca22eeae6f84df0a36a0

# Use font-screen-cyrillic version number as solaris-userland does
IPS_COMPONENT_VERSION=$(COMPONENT_VERSION_2)

LIST = 1 2 3

BUILD_TARGET = $(BUILD_$(MK_BITS))
INSTALL_TARGET = $(INSTALL_$(MK_BITS))

define extra-target-rules
$(BUILD_DIR)/%_$(1)/.configured: SOURCE_DIR=$$(SOURCE_DIR_$(1))
endef

$(foreach n, $(LIST), \
$(eval COMPONENT_SRC_$(n) = $(COMPONENT_NAME_$(n))-$(COMPONENT_VERSION_$(n))) \
$(eval COMPONENT_ARCHIVE_$(n) = $(COMPONENT_SRC_$(n)).tar.bz2) \
$(eval COMPONENT_ARCHIVE_URL_$(n) = $$(COMPONENT_ARCHIVE_URL:$$(COMPONENT_ARCHIVE)=$(COMPONENT_ARCHIVE_$(n)))) \
$(eval BUILD_DIR_$(n) += $(BUILD_DIR_NO_ARCH)_$(n)) \
$(eval CONFIGURE_NO_ARCH += $(BUILD_DIR_$(n))/.configured) \
$(eval BUILD_NO_ARCH_$(n) += $(BUILD_DIR_$(n))/.built) \
$(eval BUILD_TARGET += $(BUILD_NO_ARCH_$(n))) \
$(eval INSTALL_NO_ARCH_$(n) += $(BUILD_DIR_$(n))/.installed) \
$(eval INSTALL_TARGET += $(INSTALL_NO_ARCH_$(n))) \
$(eval $(call extra-target-rules,$(n))) \
)

include $(WS_MAKE_RULES)/x11.mk
include $(WS_MAKE_RULES)/font.mk

CYRILLIC_FONT_DIR = $(USRSHAREX11FONTSDIR)/cyrillic

# Install to separate directory for easier packaging
CONFIGURE_OPTIONS += --with-fontdir=$(CYRILLIC_FONT_DIR)

include $(WS_MAKE_RULES)/common.mk
@@ -0,0 +1,107 @@
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#

#
# Copyright 2018 <contributor>
#

set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY)"
set name=info.classification value="$(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)

license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'

file path=usr/share/fonts/X11/cyrillic/crox1c.pcf
file path=usr/share/fonts/X11/cyrillic/crox1cb.pcf
file path=usr/share/fonts/X11/cyrillic/crox1cbo.pcf
file path=usr/share/fonts/X11/cyrillic/crox1co.pcf
file path=usr/share/fonts/X11/cyrillic/crox1h.pcf
file path=usr/share/fonts/X11/cyrillic/crox1hb.pcf
file path=usr/share/fonts/X11/cyrillic/crox1hbo.pcf
file path=usr/share/fonts/X11/cyrillic/crox1ho.pcf
file path=usr/share/fonts/X11/cyrillic/crox1t.pcf
file path=usr/share/fonts/X11/cyrillic/crox1tb.pcf
file path=usr/share/fonts/X11/cyrillic/crox1tbo.pcf
file path=usr/share/fonts/X11/cyrillic/crox1to.pcf
file path=usr/share/fonts/X11/cyrillic/crox2c.pcf
file path=usr/share/fonts/X11/cyrillic/crox2cb.pcf
file path=usr/share/fonts/X11/cyrillic/crox2cbo.pcf
file path=usr/share/fonts/X11/cyrillic/crox2co.pcf
file path=usr/share/fonts/X11/cyrillic/crox2h.pcf
file path=usr/share/fonts/X11/cyrillic/crox2hb.pcf
file path=usr/share/fonts/X11/cyrillic/crox2hbo.pcf
file path=usr/share/fonts/X11/cyrillic/crox2ho.pcf
file path=usr/share/fonts/X11/cyrillic/crox2t.pcf
file path=usr/share/fonts/X11/cyrillic/crox2tb.pcf
file path=usr/share/fonts/X11/cyrillic/crox2tbo.pcf
file path=usr/share/fonts/X11/cyrillic/crox2to.pcf
file path=usr/share/fonts/X11/cyrillic/crox3c.pcf
file path=usr/share/fonts/X11/cyrillic/crox3cb.pcf
file path=usr/share/fonts/X11/cyrillic/crox3cbo.pcf
file path=usr/share/fonts/X11/cyrillic/crox3co.pcf
file path=usr/share/fonts/X11/cyrillic/crox3h.pcf
file path=usr/share/fonts/X11/cyrillic/crox3hb.pcf
file path=usr/share/fonts/X11/cyrillic/crox3hbo.pcf
file path=usr/share/fonts/X11/cyrillic/crox3ho.pcf
file path=usr/share/fonts/X11/cyrillic/crox3t.pcf
file path=usr/share/fonts/X11/cyrillic/crox3tb.pcf
file path=usr/share/fonts/X11/cyrillic/crox3tbo.pcf
file path=usr/share/fonts/X11/cyrillic/crox3to.pcf
file path=usr/share/fonts/X11/cyrillic/crox4h.pcf
file path=usr/share/fonts/X11/cyrillic/crox4hb.pcf
file path=usr/share/fonts/X11/cyrillic/crox4hbo.pcf
file path=usr/share/fonts/X11/cyrillic/crox4ho.pcf
file path=usr/share/fonts/X11/cyrillic/crox4t.pcf
file path=usr/share/fonts/X11/cyrillic/crox4tb.pcf
file path=usr/share/fonts/X11/cyrillic/crox4tbo.pcf
file path=usr/share/fonts/X11/cyrillic/crox4to.pcf
file path=usr/share/fonts/X11/cyrillic/crox5h.pcf
file path=usr/share/fonts/X11/cyrillic/crox5hb.pcf
file path=usr/share/fonts/X11/cyrillic/crox5hbo.pcf
file path=usr/share/fonts/X11/cyrillic/crox5ho.pcf
file path=usr/share/fonts/X11/cyrillic/crox5t.pcf
file path=usr/share/fonts/X11/cyrillic/crox5tb.pcf
file path=usr/share/fonts/X11/cyrillic/crox5tbo.pcf
file path=usr/share/fonts/X11/cyrillic/crox5to.pcf
file path=usr/share/fonts/X11/cyrillic/crox6h.pcf
file path=usr/share/fonts/X11/cyrillic/crox6hb.pcf
file path=usr/share/fonts/X11/cyrillic/crox6hbo.pcf
file path=usr/share/fonts/X11/cyrillic/crox6ho.pcf
file path=usr/share/fonts/X11/cyrillic/crox6t.pcf
file path=usr/share/fonts/X11/cyrillic/crox6tb.pcf
file path=usr/share/fonts/X11/cyrillic/crox6tbo.pcf
file path=usr/share/fonts/X11/cyrillic/crox6to.pcf
file path=usr/share/fonts/X11/cyrillic/fonts.dir
file path=usr/share/fonts/X11/cyrillic/koi10x16b.pcf
file path=usr/share/fonts/X11/cyrillic/koi10x20.pcf
file path=usr/share/fonts/X11/cyrillic/koi12x24.pcf
file path=usr/share/fonts/X11/cyrillic/koi12x24b.pcf
file path=usr/share/fonts/X11/cyrillic/koi5x8.pcf
file path=usr/share/fonts/X11/cyrillic/koi6x10.pcf
file path=usr/share/fonts/X11/cyrillic/koi6x13.pcf
file path=usr/share/fonts/X11/cyrillic/koi6x13b.pcf
file path=usr/share/fonts/X11/cyrillic/koi6x9.pcf
file path=usr/share/fonts/X11/cyrillic/koi7x14.pcf
file path=usr/share/fonts/X11/cyrillic/koi7x14b.pcf
file path=usr/share/fonts/X11/cyrillic/koi8x13.pcf
file path=usr/share/fonts/X11/cyrillic/koi8x16.pcf
file path=usr/share/fonts/X11/cyrillic/koi8x16b.pcf
file path=usr/share/fonts/X11/cyrillic/koi9x15.pcf
file path=usr/share/fonts/X11/cyrillic/koi9x15b.pcf
file path=usr/share/fonts/X11/cyrillic/koi9x18.pcf
file path=usr/share/fonts/X11/cyrillic/koi9x18b.pcf
file path=usr/share/fonts/X11/cyrillic/koinil2.pcf
file path=usr/share/fonts/X11/cyrillic/proof9x16.pcf
file path=usr/share/fonts/X11/cyrillic/screen8x16.pcf
file path=usr/share/fonts/X11/cyrillic/screen8x16b.pcf
@@ -0,0 +1,83 @@
The X11 Fonts are governed by the following license:

Copyright (C) 1994 X Consortium

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Except as contained in this notice, the name of the X Consortium shall not
be used in advertising or otherwise to promote the sale, use or other deal-
ings in this Software without prior written authorization from the X Consor-
tium.

X Window System is a trademark of X Consortium, Inc.

------------------------------------------------------------------------

Additional terms and/or notices apply to certain fonts within the X11 Fonts
as follows:

This package contains the set of russian fonts for X11 Release 6.
Copyright (C) 1994-1995 Cronyx Ltd.
Changes Copyright (C) 1996 by Andrey A. Chernov, Moscow, Russia.

Version: 1.0

This software may be used, modified, copied, distributed, and sold,
in both source and binary form provided that the above copyright
and these terms are retained. Under no circumstances is the author
responsible for the proper functioning of this software, nor does
the author assume any responsibility for damages incurred with its use.

------------------------------------------------------------------------

koi12x24b.bdf, koi8x16b.bdf and koi8x16.bdf:
--------------------------------------------
May be distributed and modified without restrictions.


koi12x24.bdf and koi6x13.bdf:
-----------------------------
Changes 1999-2000 by Serge Winitzki.
This software may be used, modified, copied, distributed, and sold,
in both source and binary form provided that the copyright
and these terms are retained. Under no circumstances is the author
responsible for the proper functioning of this software, nor does
the author assume any responsibility for damages incurred with its use.


koi5x8.bdf, koi6x13b.bdf, koi6x9.bdf, koi7x14b.bdf, koi7x14.bdf,
koi8x13.bdf, koi9x15b.bdf, koi9x15.bdf, koi9x18b.bdf and koi9x18.bdf:
---------------------------------------------------------------------
"Public domain font. Share and enjoy."

------------------------------------------------------------------------

This package contains a set of Russian fonts for X11 Release 6.
Copyright (C) 1994-1995 Cronyx Ltd.
Changes Copyright (C) 1996 by Sergey Vovk
Changes Copyright (C) 1999-2000 by Serge Winitzki
Changes Copyright (C) 1996-2000 by Andrey A. Chernov, Moscow, Russia.

Version: 2.3.1

This software may be used, modified, copied, distributed and sold,
in both source and binary form provided that the above copyright
and these terms are retained. Under no circumstances is the author
responsible for the proper functioning of this software, nor does
the author assume any responsibility for damages incurred with its use.

0 comments on commit 454f95e

Please sign in to comment.
You can’t perform that action at this time.