Import Debian changes 20200323-ok1

fonts-noto (20200323-ok1) yangtze; urgency=medium

  * Build for openKylin.
This commit is contained in:
openKylinBot 2022-04-25 22:03:04 +08:00
parent eb9d7ee26d
commit c596b7366f
22 changed files with 11543 additions and 0 deletions

BIN
debian/NotoMono/NotoMono-Regular.ttf vendored Normal file

Binary file not shown.

2
debian/NotoMono/README vendored Normal file
View File

@ -0,0 +1,2 @@
Noto Mono was part of Noto project
until 2018-01-18 (git commit d2bb40b) when it was dropped upstream.

15
debian/README.source vendored Normal file
View File

@ -0,0 +1,15 @@
Getting new upstream release
----------------------------
Upstream only tags "most notable releases" as releases with inconsistent
tag naming: <https://github.com/googlei18n/noto-fonts/releases>.
Package releases are therefore time-based, linked to upstream git hash.
Example:
wget --output-document=../fonts-noto_20200323.orig.tar.gz https://github.com/googlei18n/noto-fonts/archive/115d384.tar.gz
gbp import-orig --upstream-vcs-tag=115d384 ../fonts-noto_20200323.orig.tar.gz
-- Jonas Smedegaard <dr@jones.dk> Thu, 26 Mar 2020 01:33:53 +0100

15
debian/bug-presubj vendored Normal file
View File

@ -0,0 +1,15 @@
When reporting bugs in the fonts themselves (i.e. not just in the packaging)
please be sure to include the following information as far as applicable:
- the versions of your libfreetype6, libxft2 and fontconfig packages
(these should be automatically appended by reportbug),
- all relevant configuration (especially anti-aliasing and hinting),
- the application being used,
- the affected unicode code points.
It may also be helpful if you can provide a screen shot demonstrating the
problem, however please don't attach it to the initial bug report (especially
not if it is large). Please also try to make sure that it is actually a bug in
the fonts and not e.g. in freetype (if a problem appears after a freetype
update or if other fonts exhibit similar problems it is a sure sign that the
problem is in freetype).

3
debian/bug-script vendored Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
dpkg -l libfreetype6 libxft2 fontconfig >&3

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
fonts-noto (20200323-ok1) yangtze; urgency=medium
* Build for openKylin.
-- openKylinBot <openKylinBot@openkylin.com> Mon, 25 Apr 2022 22:03:04 +0800

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

View File

@ -0,0 +1,10 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias binding="same">
<family>Droid Mono</family>
<accept>
<family>Noto Mono</family>
</accept>
</alias>
</fontconfig>

16
debian/conf.avail/30-droid-noto.conf vendored Normal file
View File

@ -0,0 +1,16 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias binding="same">
<family>Droid Sans</family>
<accept>
<family>Noto Sans</family>
</accept>
</alias>
<alias binding="same">
<family>Droid Serif</family>
<accept>
<family>Noto Serif</family>
</accept>
</alias>
</fontconfig>

272
debian/control vendored Normal file
View File

@ -0,0 +1,272 @@
Source: fonts-noto
Priority: optional
Section: fonts
Build-Depends:
cdbs,
debhelper,
lcdf-typetools,
Maintainer: Debian Fonts Task Force <pkg-fonts-devel@lists.alioth.debian.org>
Uploaders:
Jonas Smedegaard <dr@jones.dk>,
Vasudev Kamath <vasudev@copyninja.info>,
Standards-Version: 4.5.0
Homepage: https://www.google.com/get/noto/
Vcs-Git: https://salsa.debian.org/fonts-team/fonts-noto.git
Vcs-Browser: https://salsa.debian.org/fonts-team/fonts-noto
Rules-Requires-Root: no
Package: fonts-noto
Section: metapackages
Architecture: all
Multi-Arch: foreign
Depends:
fonts-noto-core,
${misc:Depends},
Recommends:
fonts-noto-cjk,
fonts-noto-cjk-extra,
fonts-noto-color-emoji,
fonts-noto-extra,
fonts-noto-mono,
fonts-noto-ui-core,
fonts-noto-ui-extra,
fonts-noto-unhinted,
Description: metapackage to pull in all Noto fonts
Noto is a collection of font families,
each visually harmonized across scripts.
.
Use this package if you want all Noto fonts.
.
The name "Noto" is short for "No Tofu",
describing the aim of covering all living Unicode scripts
(currently ${fonts:scriptcount} are covered, at least partly.
.
Tofu (豆腐) is Japanese jargon
for unicode replacement character "<22>" (U+FFFD)
often displayed as replacement for unassigned or unknown characters.
Package: fonts-noto-core
Architecture: all
Multi-Arch: foreign
Depends:
${misc:Depends},
Breaks:
fonts-noto (<< 2015-05-11+cjk-0),
fonts-noto-hinted (<< 20181130-0),
fonts-noto-unhinted (<< 20181227-0),
Replaces:
fonts-noto (<< 2015-05-11+cjk-0),
fonts-noto-hinted (<< 20181130-0),
fonts-noto-unhinted (<< 20181227-0),
Description: "No Tofu" font families with large Unicode coverage (core)
Noto is a collection of font families,
each visually harmonized across scripts.
.
This package contains core weights for these Noto font families:
.
${fonts:familylist}
.
The name "Noto" is short for "No Tofu",
describing the aim of covering all living Unicode scripts
(currently ${fonts:scriptcount} are covered, at least partly.
.
Tofu (豆腐) is Japanese jargon
for unicode replacement character "<22>" (U+FFFD)
often displayed as replacement for unassigned or unknown characters.
Package: fonts-noto-extra
Architecture: all
Multi-Arch: foreign
Depends:
${misc:Depends},
Breaks:
fonts-noto-unhinted (<< 20181227-0),
Replaces:
fonts-noto-unhinted (<< 20181227-0),
Enhances:
fonts-noto-core,
Description: "No Tofu" font families with large Unicode coverage (extra)
Noto is a collection of font families,
each visually harmonized across scripts.
.
This package contains extra weights for these Noto font families:
.
${fonts:familylist}
.
The name "Noto" is short for "No Tofu",
describing the aim of covering all living Unicode scripts
(currently ${fonts:scriptcount} are covered, at least partly.
.
Tofu (豆腐) is Japanese jargon
for unicode replacement character "<22>" (U+FFFD)
often displayed as replacement for unassigned or unknown characters.
Package: fonts-noto-ui-core
Architecture: all
Multi-Arch: foreign
Depends:
${misc:Depends},
Suggests:
fonts-noto-core,
Breaks:
fonts-noto (<< 2015-05-11+cjk-0),
fonts-noto-hinted (<< 20181130-0),
fonts-noto-unhinted (<< 20181227-0),
Replaces:
fonts-noto (<< 2015-05-11+cjk-0),
fonts-noto-hinted (<< 20181130-0),
fonts-noto-unhinted (<< 20181227-0),
Description: "No Tofu" font families with large Unicode coverage (UI core)
Noto is a collection of font families,
each visually harmonized across scripts.
.
This package contains core weights for these Noto UI font families:
.
${fonts:familylist}
.
Noto UI fonts are for text display in UI elements
(e.g. buttons, menus) that have a height limit.
.
The name "Noto" is short for "No Tofu",
describing the aim of covering all living Unicode scripts.
.
Tofu (豆腐) is Japanese jargon
for unicode replacement character "<22>" (U+FFFD)
often displayed as replacement for unassigned or unknown characters.
Package: fonts-noto-ui-extra
Architecture: all
Multi-Arch: foreign
Depends:
${misc:Depends},
Suggests:
fonts-noto-extra,
Breaks:
fonts-noto-unhinted (<< 20181227-0),
Replaces:
fonts-noto-unhinted (<< 20181227-0),
Enhances:
fonts-noto-ui-core,
Description: "No Tofu" font families with large Unicode coverage (UI extra)
Noto is a collection of font families,
each visually harmonized across scripts.
.
This package contains extra weights for these Noto UI font families:
.
${fonts:familylist}
.
Noto UI fonts are for text display in UI elements
(e.g. buttons, menus) that have a height limit.
.
The name "Noto" is short for "No Tofu",
describing the aim of covering all living Unicode scripts.
.
Tofu (豆腐) is Japanese jargon
for unicode replacement character "<22>" (U+FFFD)
often displayed as replacement for unassigned or unknown characters.
Package: fonts-noto-hinted-udeb
Package-Type: udeb
Section: debian-installer
Architecture: all
Depends:
${misc:Depends},
Description: "No Tofu" font families with large Unicode coverage (d-i default)
Noto is a collection of font families,
each visually harmonized across scripts.
.
This package contains Noto font families
used by default with the GTK frontend of debian-installer.
Package: fonts-noto-unhinted
Architecture: all
Multi-Arch: foreign
Depends:
${misc:Depends},
Enhances:
fonts-noto-hinted,
Description: "No Tofu" font families with large Unicode coverage (unhinted)
Noto is a collection of font families,
each visually harmonized across scripts.
.
This package contains Noto font families which lacks hinting:
.
${fonts:familylist}
.
The name "Noto" is short for "No Tofu",
describing the aim of covering all living Unicode scripts
(currently ${fonts:scriptcount} are covered, at least partly.
.
Tofu (豆腐) is Japanese jargon
for unicode replacement character "<22>" (U+FFFD)
often displayed as replacement for unassigned or unknown characters.
Package: fonts-noto-unhinted-udeb
Package-Type: udeb
Section: debian-installer
Architecture: all
Depends:
${misc:Depends},
Description: "No Tofu" font families with large Unicode coverage (d-i optional)
Noto is a collection of font families,
each visually harmonized across scripts.
.
This package contains Noto font families
optionally usable with the GTK frontend of debian-installer.
Package: fonts-noto-mono
Architecture: all
Multi-Arch: foreign
Depends:
${misc:Depends},
Enhances:
fonts-noto-hinted,
Description: "No Tofu" monospaced font family with large Unicode coverage
Noto is a collection of font families,
each visually harmonized across scripts.
.
This package contains Noto Mono font family,
formerly known as Droid Mono.
Beware that Noto Mono has a much smaller repertoire
than Noto Sans or Noto Serif.
.
The name "Noto" is short for "No Tofu",
describing the aim of covering all living Unicode scripts.
.
Tofu (豆腐) is Japanese jargon
for unicode replacement character "<22>" (U+FFFD)
often displayed as replacement for unassigned or unknown characters.
Package: fonts-croscore
Architecture: all
Multi-Arch: foreign
Depends:
${misc:Depends},
Suggests:
fonts-crosextra-caladea,
fonts-crosextra-carlito,
Description: width-compatible fonts for improved on-screen readability
This package contains a collections of fonts
that offers improved on-screen readability characteristics
and the pan-European WGL character set
and solves the needs of developers looking for width-compatible fonts
to address document portability across platforms.
.
Arimo, Cousine and Tinos were designed by Steve Matteson
as innovative and refreshing designs
that are metrically compatible with Arial, Courier New
and Times New Roman, respectively.
Package: fonts-noto-hinted
Section: oldlibs
Architecture: all
Multi-Arch: foreign
Depends:
fonts-noto-core,
fonts-noto-ui-core,
Description: obsolete metapackage to pull in a subset of Noto fonts
This is an obsolete metapackage
to install a subset of Noto fonts.
.
NB! This package is obsolete.
Please use appropriate other fonts-noto-* packages instead.

153
debian/copyright vendored Normal file
View File

@ -0,0 +1,153 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Noto
Upstream-Contact: https://github.com/googlei18n/noto-fonts/issues
http://groups.google.com/group/noto-font
Source: https://github.com/googlei18n/noto-fonts
git://github.com/googlei18n/noto-fonts
Files: *
Copyright: 2010,2012-2020, Google Inc.
License-Grant:
This Font Software is licensed under the SIL Open Font License,
Version 1.1.
License: OFL-1.1
Files: debian/*
Copyright:
2013, Vasudev Kamath <kamathvasudev@gmail.com>
2013-2018, Jonas Smedegaard <dr@jones.dk>
License-Grant:
This program is free software;
you can redistribute it and/or modify it
under the terms of the GNU General Public License
as published by the Free Software Foundation;
either version 3, or (at your option) any later version.
License: GPL-3+
Files: debian/NotoMono/NotoMono-Regular.ttf
Copyright: 2007, Google Inc.
License-Grant:
This Font Software is licensed under the SIL Open Font License,
Version 1.1.
License: OFL-1.1
License: Apache-2.0
License-Reference: /usr/share/common-licenses/Apache-2.0
License: OFL-1.1
PREAMBLE
.
The goals of the Open Font License (OFL) are to stimulate
worldwide development of collaborative font projects,
to support the font creation efforts
of academic and linguistic communities,
and to provide a free and open framework
in which fonts may be shared and improved
in partnership with others.
.
The OFL allows the licensed fonts to be used, studied,
modified and redistributed freely
as long as they are not sold by themselves.
The fonts, including any derivative works,
can be bundled, embedded,
redistributed and/or sold with any software
provided that any reserved names are not used
by derivative works.
The fonts and derivatives, however,
cannot be released under any other type of license.
The requirement for fonts to remain under this license
does not apply to any document
created using the fonts or their derivatives.
.
DEFINITIONS
.
"Font Software" refers to the set of files
released by the Copyright Holder(s) under this license
and clearly marked as such.
This may include source files, build scripts and documentation.
.
"Reserved Font Name" refers to any names specified as such
after the copyright statement(s).
.
"Original Version" refers to the collection
of Font Software components
as distributed by the Copyright Holder(s).
.
"Modified Version" refers to any derivative
made by adding to, deleting, or substituting --
in part or in whole --
any of the components of the Original Version,
by changing formats
or by porting the Font Software to a new environment.
.
"Author" refers to any designer, engineer, programmer,
technical writer or other person
who contributed to the Font Software.
.
PERMISSION & CONDITIONS
.
Permission is hereby granted, free of charge,
to any person obtaining a copy of the Font Software,
to use, study, copy, merge, embed, modify, redistribute,
and sell modified and unmodified copies of the Font Software,
subject to the following conditions:
.
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions,
may be sold by itself.
.
2) Original or Modified Versions of the Font Software
may be bundled, redistributed and/or sold with any software,
provided that each copy contains the above copyright notice
and this license.
These can be included either as stand-alone text files,
human-readable headers or in the appropriate
machine-readable metadata fields within text or binary files
as long as those fields can be easily viewed by the user.
.
3) No Modified Version of the Font Software may use
the Reserved Font Name(s)
unless explicit written permission is granted
by the corresponding Copyright Holder.
This restriction only applies to the primary font name
as presented to the users.
.
4) The name(s) of the Copyright Holder(s)
or the Author(s) of the Font Software
shall not be used to promote,
endorse or advertise any Modified Version,
except to acknowledge the contribution(s)
of the Copyright Holder(s) and the Author(s)
or with their explicit written permission.
.
5) The Font Software,
modified or unmodified, in part or in whole,
must be distributed entirely under this license,
and must not be distributed under any other license.
The requirement for fonts to remain under this license
does not apply to any document
created using the Font Software.
.
TERMINATION
.
This license becomes null and void
if any of the above conditions are not met.
.
DISCLAIMER
.
THE FONT SOFTWARE IS PROVIDED "AS IS",
WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO
ANY WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT.
IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT,
INCIDENTAL, OR CONSEQUENTIAL DAMAGES,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF THE USE OR INABILITY TO USE
THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
License: GPL-3+
License-Reference: /usr/share/common-licenses/GPL-3

28
debian/copyright-check vendored Executable file
View File

@ -0,0 +1,28 @@
#!/bin/sh
# Copyright © 2016-2017 Jonas Smedegaard <dr@jones.dk>
# Description: helper script to update copyright_hints
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
set -eu
# extract metadata from binary files before copyright check
export DEB_COPYRIGHT_EXTRACT_EXTS="gif jpg png ttc"
export DEB_COPYRIGHT_EXTRACT_PATHS_EXIF=".*.ttf .*.otf"
make -f /usr/share/cdbs/1/rules/utils.mk pre-build || true
make -f /usr/share/cdbs/1/rules/utils.mk clean DEB_COPYRIGHT_CHECK_STRICT=1
# unconditionally merge changes - safe to do with git-tracked package
[ ! -f debian/copyright_newhints ] || mv -f debian/copyright_newhints debian/copyright_hints

10888
debian/copyright_hints vendored Normal file

File diff suppressed because it is too large Load Diff

7
debian/fonts-croscore.maintscript vendored Normal file
View File

@ -0,0 +1,7 @@
rm_conffile /etc/fonts/conf.avail/30-0-google-croscore-arimo-fontconfig.conf 2015-09-29-1~ fonts-croscore
rm_conffile /etc/fonts/conf.avail/30-0-google-croscore-cousine-fontconfig.conf 2015-09-29-1~ fonts-croscore
rm_conffile /etc/fonts/conf.avail/30-0-google-croscore-tinos-fontconfig.conf 2015-09-29-1~ fonts-croscore
rm_conffile /etc/fonts/conf.avail/62-google-croscore-arimo-fontconfig.conf 2015-09-29-1~ fonts-croscore
rm_conffile /etc/fonts/conf.avail/62-google-croscore-cousine-fontconfig.conf 2015-09-29-1~ fonts-croscore
rm_conffile /etc/fonts/conf.avail/62-google-croscore-symbolneu-fontconfig.conf 2015-09-29-1~ fonts-croscore
rm_conffile /etc/fonts/conf.avail/62-google-croscore-tinos-fontconfig.conf 2015-09-29-1~ fonts-croscore

1
debian/fonts-noto-core.install vendored Normal file
View File

@ -0,0 +1 @@
debian/conf.avail/30-droid-noto.conf etc/fonts/conf.avail/

2
debian/fonts-noto-mono.install vendored Normal file
View File

@ -0,0 +1,2 @@
debian/NotoMono/NotoMono-Regular.ttf usr/share/fonts/truetype/noto/
debian/conf.avail/30-droid-noto-mono.conf etc/fonts/conf.avail/

5
debian/gbp.conf vendored Normal file
View File

@ -0,0 +1,5 @@
# Configuration file for git-buildpackage and friends
[DEFAULT]
pristine-tar = False
sign-tags = True

103
debian/rules vendored Executable file
View File

@ -0,0 +1,103 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
pkg = $(DEB_SOURCE_PACKAGE)
pkg-mono = $(pkg)-mono
pkg-core = $(pkg)-core
pkg-extra = $(pkg)-extra
pkg-ui-core = $(pkg)-ui-core
pkg-ui-extra = $(pkg)-ui-extra
pkg-udeb-di = $(pkg)-hinted-udeb
pkg-nothinted = $(pkg)-unhinted
pkg-udeb-extra = $(pkg)-unhinted-udeb
pkg-croscore = fonts-croscore
DEB_UPSTREAM_URL = https://github.com/googlei18n/noto-fonts/archive
DEB_UPSTREAM_PACKAGE = NotoFonts-hinted
DEB_UPSTREAM_TARBALL_SRCDIR = noto-fonts-$(DEB_UPSTREAM_TARBALL_BASENAME)
DEB_UPSTREAM_TARBALL_SRCDIR += $(if \
$(filter $(DEB_UPSTREAM_PACKAGE)-%,$(DEB_UPSTREAM_TARBALL_BASENAME)),\
$(error set DEB_UPSTREAM_TARBALL_BASENAME to commit hash))
DEB_INSTALL_DOCS_ALL += README.md FAQ.md FAQ-KR.md NEWS.md
# resolve font facts and encode for control file (see deb-substvars(5) )
substvars-list-encode = perl -0 -F/\\n/ -ane 'print " * ", join("\$${Newline} * ",@F)'
# Generate fonts list
weights = Black ExtraBold Bold SemiBold Neutral Medium Light ExtraLight Thin
weights += Extrabold Semibold Extralight
weights := $(weights) $(patsubst %,%Italic,$(weights))
weights := $(weights) $(foreach distortion,ExtraCondensed Condensed SemiCondensed,\
$(patsubst %,$(distortion)%,$(weights)))
weights := $(patsubst Neutral,Regular,$(weights))
weights := $(subst Neutral,,$(weights))
weights-core = Bold BoldItalic Regular Italic
weights-extra = $(filter-out $(weights-core),$(weights))
filter-core = %-Bold.ttf %-BoldItalic.ttf %-Italic.ttf %-Regular.ttf
filter-extra = $(foreach weight,$(weights-extra),%-$(weight).ttf)
filter-core-ui = $(subst %,%UI,$(filter-core))
filter-extra-ui = $(subst %,%UI,$(filter-extra))
_filters = $(filter $(filter-$(1)),\
$(if $(2),\
$(filter-out $(filter-$(2)),$(3)),\
$(3)))
fonts-hinted-all = $(wildcard hinted/*/Noto*.ttf)
fonts-unhinted-all = $(wildcard unhinted/*/Noto*.ttf)
fonts-ui-core = $(call _filters,core-ui,,$(fonts-hinted-all))
fonts-ui-extra = $(call _filters,extra-ui,,$(fonts-hinted-all))
fonts-core = $(call _filters,core,core-ui,$(fonts-hinted-all))
fonts-extra = $(call _filters,extra,extra-ui,$(fonts-hinted-all))
fonts-croscore = $(wildcard hinted/Arimo/Arimo*.ttf hinted/Cousine/Cousine*.ttf hinted/Tinos/Tinos*.ttf)
fonts-shipped-noto = $(fonts-core) $(fonts-extra)
fonts-shipped-all = $(fonts-shipped-noto) $(fonts-ui-core) $(fonts-ui-extra) $(fonts-croscore) $(fonts-unhinted-all)
fonts-nothinted = $(filter-out $(subst hinted,unhinted,$(fonts-shipped-all)),$(fonts-unhinted-all))
fonts-missed = $(filter-out $(notdir $(fonts-shipped-all)),$(notdir $(fonts-hinted-all) $(fonts-unhinted-all)))
$(if $(fonts-missed),$(warning Fonts missed in Debian packaging: $(fonts-missed)))
# use unhinted fonts in udeb, and split by what debian-installer needs
fonts-udeb-di = $(filter \
unhinted/NotoSansSinhala/NotoSansSinhala-Bold.ttf \
unhinted/NotoSansSinhala/NotoSansSinhala-Regular.ttf \
unhinted/NotoSerifGujarati/NotoSerifGujarati-Bold.ttf \
unhinted/NotoSerifGujarati/NotoSerifGujarati-Regular.ttf \
,$(call _filters,core,core-ui,$(fonts-unhinted-all)))
fonts-udeb-extra = $(call _filters,core,core-ui,$(fonts-unhinted-all))
fonts-scriptcount = $(shell \
otfinfo -s $(fonts-shipped-noto) \
| perl -n \
-e 's/^.*\t+//;' \
-e 's, ?(/|Default|<unknown|v\.2|\(.*\)).*,,;' \
-e 's,^([^/]+)/\1,$1,;' \
-e '/./ and print;' \
| sort -u \
| grep -c .)
# Install fonts
DEB_DH_INSTALL_ARGS_$(pkg-croscore) = $(fonts-croscore) usr/share/fonts/truetype/croscore/
define _installvar =
DEB_DH_INSTALL_ARGS_$$(pkg-$(1)) = $$(fonts-$(1)) usr/share/fonts/truetype/noto/
endef
$(foreach flavor,core extra ui-core ui-extra udeb-di nothinted udeb-extra,\
$(eval $(call _installvar,$(flavor))))
# install bug-* files into all binary packages
DEB_DH_BUGFILES_ARGS_ALL = --all
# resolve scriptcount and familylist for long descriptions
DEB_DH_GENCONTROL_ARGS_ALL = -- -Vfonts:scriptcount="$(fonts-scriptcount)"
define _listvar =
install/$$(pkg-$(1))::
printf fonts:familylist= \
>> debian/$$(cdbs_curpkg).substvars
otfinfo -a $$(fonts-$(1)) | cut -d: -f2 \
| LC_ALL=C sort -u \
| $$(substvars-list-encode) \
>> debian/$$(cdbs_curpkg).substvars
endef
$(foreach flavor,core extra ui-core ui-extra nothinted,\
$(eval $(call _listvar,$(flavor))))

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

1
debian/source/include-binaries vendored Normal file
View File

@ -0,0 +1 @@
debian/NotoMono/NotoMono-Regular.ttf

5
debian/source/lintian-overrides vendored Normal file
View File

@ -0,0 +1,5 @@
# License is in License-Reference field (see bug#786450)
missing-license-paragraph-in-dep5-copyright apache-2\.0 *
missing-license-paragraph-in-dep5-copyright gpl-3\+ *
missing-license-text-in-dep5-copyright Apache-2\.0 *
missing-license-text-in-dep5-copyright GPL-3\+ *

10
debian/watch vendored Normal file
View File

@ -0,0 +1,10 @@
version=4
# check: uscan --report
# update: gbp import-orig --upstream-vcs-tag=deadbeef ../fonts-noto_YYYYMMDD.orig.tar.gz
# See also <README.source>
opts="dversionmangle=s/~dfsg\d*$//, \
uversionmangle=s/^(\d{4})-(\d{2})-(\d{2}).*/$1$2$3/, \
filenamemangle=s%(?:.*?/)?v?(@ANY_VERSION@@ARCHIVE_EXT@)%@PACKAGE@-$1%" \
https://github.com/googlei18n/noto-fonts/tags \
(?:.*?/)?v?@ANY_VERSION@@ARCHIVE_EXT@