media-fonts/misans: new package, add 4.003

Signed-off-by: irort <irort3124@gmail.com>
This commit is contained in:
irort 2024-07-22 00:58:54 +08:00 committed by 梁永祥
parent df1471edcf
commit 5dac794c9c
4 changed files with 170 additions and 0 deletions

128
licenses/MiSans Normal file
View File

@ -0,0 +1,128 @@
MiSans字体知识产权许可协议
MiSans Font Intellectual Property License Agreement
⽤户须知:
User Notes:
本《MiSans字体知识产权许可协议》以下简称“协议”是您与⼩⽶科技有限责任公司以下简
称“⼩⽶”或“许可⽅”之间有关安装、使⽤MiSans字体以下简称“MiSans”或“MiSans字体”
的法律协议。您在使⽤MiSans的所有或任何部分前应接受本协议中规定的所有条款和条件。安
装、使⽤MiSans的⾏为表示您同意接受本协议所有条款的约束。否则请不要安装和/或使⽤
MiSans并应⽴即销毁和删除所有 MiSans 字体包。
The MiSans Font Intellectual Property License Agreement (hereinafter referred to as the
“Agreement”) is a legal agreement between You and Xiaomi Inc. (hereinafter referred to as
“Xiaomi” or “Licensor”) regarding the installation and use of MiSans fonts (hereinafter
referred to “MiSans” or “MiSans Fonts”). You shall accept all of the terms and conditions
in the Agreement before using all or any part of MiSans. By installing and using MiSans,
You agree to be bound by all of the terms of this Agreement. Otherwise, You shall not
install and/or use MiSans, and shall immediately destroy and delete all MiSans font
packages.
1定义
1. Definition
1.1 “MiSans字体”代表许可⽅在本协议项下提供并明确标记为“MiSans”的字体软件包括但不限
于以各种形式、格式及媒介存在的源代码、数据库、⽂档等。
1.1 “MiSans Fonts” refers to the font software clearly marked as “MiSans” that is provided
by Licensor under this Agreement, including but not limited to source code, database, and
documentation in various forms, formats, and media.
1.2 “⽤户”或“您”代表⾏使本协议授予许可的⾃然⼈、法⼈或⾮法⼈组织。⽤户应依照本协议安
装、使⽤MiSans。
1.2 The term “User” or “You” represents the natural person, legal person, or
unincorporated organization exercising the license granted in this Agreement. The User
shall install and use MiSans according to this Agreement.
1.3 “使⽤”是指安装、下载、复制、展览或以其他⽅式通过利⽤MiSans⽽获益的⾏为。
1.3 “Use” refers to the act of installing, downloading, copying, exhibiting, or otherwise
benefiting from the use of MiSans.
2授权许可
2. Authorization and Permission
根据本协议的条款和条件,许可⽅在此授予您⼀份不可转让的、⾮独占的、免版税的、可撤销
的、全球性的版权许可使您依照本协议约定使⽤MiSans字体前提是符合下列条件
According to the terms and conditions of this Agreement, Licensor hereby grants You a
non-transferable, non-exclusive, royalty-free, revocable, and global copyright license to
use the MiSans fonts in accordance with this Agreement, provided that the following
conditions are met:
1 您应在软件中特别注明使⽤了 MiSans 字体。
1) You shall specifically indicate in the Software that You are using MiSans fonts.
2您不得对 MiSans 字体或其任何单独组件进⾏改编或⼆次开发。
2) You shall not adapt or redevelop MiSans fonts or any of their individual components.
3您不得单独将MiSans 字体或其组件对外租赁、再许可、给予、出借或进⼀步分发字体软件或
其任何副本以及重新分发或售卖。此限制不适⽤于您使⽤ MiSans 字体创作的任何其他作品。如
您使⽤ MiSans 字体创作宣传素材、logo、应⽤App等您有权分发或出售该作品。
3) You shall not individually rent, sublicense, give, loan, or further distribute the MiSans
fonts or their components, or any copies thereof, nor shall you redistribute or sell them.
This restriction does not apply to any other work that You create using MiSans fonts. For
example, if You use MiSans fonts to create promotional materials, logos, applications
(Apps), etc., You shall have the right to distribute or sell that work.
4您应在 MiSans 字体的任何副本中保留版权声明和本协议。
4) You shall retain the copyright notice and this Agreement in any copies of MiSans fonts.
5不可将 MiSans 字体⽤于任何违法⽤途。
(5) You shall not use MiSans fonts for any illegal purposes.
3知识产权
3. Intellectual Property Rights
MiSans字体软件及其所包含的字体以及⼩⽶授权您制作的任何副本均为⼩⽶的知识产品本字库
软件的结构、组织和代码以及与本字库软件相关的所有信息均为⼩⽶的商业秘密。本字库软件及
其所包含的字体受《中华⼈⺠共和国著作权法》、《计算机软件保护条例》和其他知识产权法律
法规及国际公约、条约的保护。除本协议中明确的许可⼩⽶不授予您对MiSans相关的其他知识
产权权利。
MiSans Font Software and the fonts contained therein and any copies that Xiaomi
authorizes You to make are the intellectual products of Xiaomi, and the structure,
organization, and code of this font software and all information related to this font
software are the trade secrets of Xiaomi. This font software and the fonts contained
therein are protected by the Copyright Law of the Peoples Republic of China, the
Regulations on the Protection of Computer Software, and other intellectual property laws
and regulations as well as international conventions and treaties. Xiaomi does not grant
You any other intellectual property rights related to MiSans except those expressly granted
in this Agreement.
4免责声明
4. Disclaimer
4.1 MiSans是按“原样”提供的。许可⽅不对本协议作出任何明示、暗示或依照法令的担保包括
但不限于对适销性、所有权、就某⼀⽤途的适⽤性或不侵犯版权、专利、商标或其他权利的保证。
4.1 MiSans is provided “as is”. The Licensor makes no express, implied, or statutory
warranties with respect to this Agreement, including, but not limited to, warranties of
merchantability, ownership, fitness for a particular purpose, or non-infringement of
copyrights, patents, trademarks, or other rights.
4.2 在任何情况下,许可⽅及其关联公司均不对任何直接、间接、特殊、附带或间接的损害(包括
但不限于购买替代商品或服务)负责。⽆论根据合同理论、侵权⾏为(包括过失)理论、严格责任理
论或其他法律理论,因使⽤或⽆法使⽤ MiSans 字体,即使许可⽅及其关联公司已被告知存在这
种损害的可能性,⽽导致的任何⽅式的业务中断,使⽤数据或利润的损失,许可⽅及其关联公司
不承担任何责任。
4.2 In no event shall Licensor and its affiliates be liable for any direct, indirect, special,
incidental, or consequential damages (including, but not limited to, the purchase of
substitute goods or services). Whether under the contract theory, the tort (including
negligence) theory, the strict liability theory, or other legal theories, Licensor and its
affiliates shall not be liable for any form of business interruption, or loss of service data or
profits resulting from the use of or inability to use MiSans fonts, even if Licensor and its
affiliates have been advised of the possibility of such damages.
4.3 您需明确承担使⽤ MiSans 字体的所有责任和⻛险。如果⽆法证明 MiSans 有任何缺陷,您
将承担所有必要的服务,修复或纠正的全部费⽤。
4.3 You shall expressly assume all responsibility and risk for using MiSans fonts. If it
cannot be proven that MiSans is subject to any defect, You shall be responsible for all
necessary services, repairs, or rectifications at full cost.
5许可终⽌。
5. License Termination
⼀旦您违反本协议的条款,⼩⽶随时可能终⽌本协议、收回授权,并要求您承担相应法律责任。
If You violate the terms of this Agreement, Xiaomi may terminate the Agreement, withdraw
the license, and hold You liable for the corresponding legal responsibility at any time.
6适⽤法律与管辖。
6. Applicable Laws and Jurisdiction
本协议适⽤中华⼈⺠共和国的法律。如您与⼩⽶就本协议的相关问题发⽣争议,您与⼩⽶均有权
向北京市海淀区⼈⺠法院提起诉讼。
The Agreement shall be governed by the laws of the Peoples Republic of China. In case of
any dispute between You and Xiaomi regarding this Agreement, both You and Xiaomi shall
have the right to file a lawsuit at Beijing Haidian District Peoples Court.
7⼀般规定。
7. General Provisions
7.1 本协议是⼩⽶与您之间有关MiSans软件及其所包含的字体的最新许可协议它将取代先前所
有与本字库软件相关的陈述、承诺、宣传或许可协议。
7.1 This is the most recent license agreement between Xiaomi and You regarding the
MiSans Software and the fonts contained therein, and it shall supersede all prior
representations, undertakings, publicity, or license agreements relating to this font
software.
7.2 如果您对本协议有任何疑问或者希望获得有关字体授权许可的任何信息,请通过如下⽅式与
⼩⽶联系:
7.2 If You have any questions regarding the Agreement or wish to learn any information
regarding the licensing of the Font, please contact Xiaomi as follows:
⼩⽶科技有限责任公司
Xiaomi Inc.
地址: 北京市海淀区⻄⼆旗中路33号院⼩⽶科技园
Address: Xiaomi Campus, No. 33 Xi erqi Middle Road, Haidian District,
Beijing,100085,China
邮箱mengfanqi@xiaomi.com
Email: mengfanqi@xiaomi.com

View File

@ -0,0 +1 @@
DIST MiSans.zip 227175402 BLAKE2B fdc35c056ba18d192283778dd0154fc63a2720972b3906ae6b8638911ca919f54c3d6b821ac2d80be7915355d0846c2f50cb1c5c7bbdfdacb569a4874f147f2d SHA512 aa6d639c772f2fa9f6193953f8b36454ee68233d0e348f7701d06d20064fa9031510ab94850a0606693bea3a618138d6c9dfab3f106a04e1ee160cb5df17fe8f

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>irort3124@gmail.com</email>
<name>irort</name>
</maintainer>
<longdescription lang="zh">
MiSans Global 是由小米主导,联合蒙纳字库、汉仪字库共同打造的全球语言字体定制项目。
这是一个庞大的字体家族,涵盖 20 多种书写系统,支持 600 多种语言,字符数量超过 10 万个。
作为 Xiaomi HyperOS 系统默认字体,我们以简约/清晰,人文/易读,统一的视觉风格为基本原
则出发,构建多语言信息体验一致性,旨在帮助为 Xiaomi HyperOS 提供互联的通用体验。
</longdescription>
</pkgmetadata>

View File

@ -0,0 +1,27 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit font
MY_PN="MiSans"
DESCRIPTION="MiSans 是由小米主导,联合汉仪发布的可免费使用的字体"
HOMEPAGE="https://hyperos.mi.com/font"
SRC_URI="https://hyperos.mi.com/font-download/${MY_PN}.zip"
S="${WORKDIR}/${MY_PN}"
LICENSE="MiSans"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND="app-arch/unzip"
FONT_SUFFIX="ttf otf"
RESTRICT="mirror"
src_install() {
cp otf/*.otf . || die
cp ttf/*.ttf . || die
font_src_install
}