Skip to content

Commit 366f128

Browse files
author
turtlebrowser-bot
committed
schedule : Commit by patricia-gallardo with SHA e0290a63eba466fcee23ec76f20f09ee83b68228 on refs/heads/master
1 parent d7cb62b commit 366f128

File tree

146 files changed

+5252
-145
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

146 files changed

+5252
-145
lines changed
Binary file not shown.

.conan/data/fontconfig/2.13.91/_/_/export/conanfile.py

Lines changed: 39 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -16,39 +16,51 @@ class FontconfigConan(ConanFile):
1616
options = {"shared": [True, False], "fPIC": [True, False]}
1717
default_options = {"shared": False, "fPIC": True}
1818
generators = "pkg_config"
19-
_source_subfolder = "source_subfolder"
19+
2020
_autotools = None
2121

22-
def requirements(self):
23-
self.requires("freetype/2.10.2")
24-
self.requires("expat/2.2.9")
25-
if self.settings.os == "Linux":
26-
self.requires("libuuid/1.0.3")
22+
@property
23+
def _source_subfolder(self):
24+
return "source_subfolder"
2725

28-
def configure(self):
26+
def config_options(self):
2927
if self.settings.os == "Windows":
30-
raise ConanInvalidConfiguration("Windows builds are not supported.")
28+
del self.options.fPIC
29+
30+
def configure(self):
31+
if self.settings.compiler == "Visual Studio":
32+
raise ConanInvalidConfiguration("Visual Studio builds are not supported.")
33+
if self.options.shared:
34+
del self.options.fPIC
3135
del self.settings.compiler.libcxx
3236
del self.settings.compiler.cppstd
3337

38+
def requirements(self):
39+
self.requires("freetype/2.10.4")
40+
self.requires("expat/2.2.10")
41+
if self.settings.os == "Linux":
42+
self.requires("libuuid/1.0.3")
43+
44+
def build_requirements(self):
45+
self.build_requires("gperf/3.1")
46+
if tools.os_info.is_windows and not tools.get_env("CONAN_BASH_PATH"):
47+
self.build_requires("msys2/20200517")
48+
3449
def source(self):
3550
tools.get(**self.conan_data["sources"][self.version])
3651
extrated_dir = self.name + "-" + self.version
3752
os.rename(extrated_dir, self._source_subfolder)
3853

39-
def build_requirements(self):
40-
self.build_requires("gperf/3.1")
41-
4254
def _configure_autotools(self):
4355
if not self._autotools:
4456
args = ["--enable-static=%s" % ("no" if self.options.shared else "yes"),
4557
"--enable-shared=%s" % ("yes" if self.options.shared else "no"),
4658
"--disable-docs"]
47-
args.append("--sysconfdir=%s" % os.path.join(self.package_folder, "bin", "etc"))
48-
args.append("--datadir=%s" % os.path.join(self.package_folder, "bin", "share"))
49-
args.append("--datarootdir=%s" % os.path.join(self.package_folder, "bin", "share"))
50-
args.append("--localstatedir=%s" % os.path.join(self.package_folder, "bin", "var"))
51-
self._autotools = AutoToolsBuildEnvironment(self)
59+
args.append("--sysconfdir=%s" % tools.unix_path(os.path.join(self.package_folder, "bin", "etc")))
60+
args.append("--datadir=%s" % tools.unix_path(os.path.join(self.package_folder, "bin", "share")))
61+
args.append("--datarootdir=%s" % tools.unix_path(os.path.join(self.package_folder, "bin", "share")))
62+
args.append("--localstatedir=%s" % tools.unix_path(os.path.join(self.package_folder, "bin", "var")))
63+
self._autotools = AutoToolsBuildEnvironment(self, win_bash=tools.os_info.is_windows)
5264
self._autotools.configure(configure_dir=self._source_subfolder, args=args)
5365
tools.replace_in_file("Makefile", "po-conf test", "po-conf")
5466
return self._autotools
@@ -65,14 +77,16 @@ def build(self):
6577

6678
def package(self):
6779
self.copy("COPYING", dst="licenses", src=self._source_subfolder)
68-
autotools = self._configure_autotools()
69-
autotools.install()
80+
with tools.run_environment(self):
81+
autotools = self._configure_autotools()
82+
autotools.install()
7083
os.unlink(os.path.join(self.package_folder, "lib", "libfontconfig.la"))
7184
tools.rmdir(os.path.join(self.package_folder, "lib", "pkgconfig"))
7285
for f in glob.glob(os.path.join(self.package_folder, "bin", "etc", "fonts", "conf.d", "*.conf")):
7386
if os.path.islink(f):
7487
os.unlink(f)
75-
88+
for def_file in glob.glob(os.path.join(self.package_folder, "lib", "*.def")):
89+
os.remove(def_file)
7690

7791
def package_info(self):
7892
self.cpp_info.libs = ["fontconfig"]
@@ -81,5 +95,9 @@ def package_info(self):
8195
self.cpp_info.names["cmake_find_package"] = "Fontconfig"
8296
self.cpp_info.names["cmake_find_package_multi"] = "Fontconfig"
8397

84-
self.env_info.FONTCONFIG_FILE = os.path.join(self.package_folder, "bin", "etc", "fonts", "fonts.conf")
85-
self.env_info.FONTCONFIG_PATH = os.path.join(self.package_folder, "bin", "etc", "fonts")
98+
fontconfig_file = os.path.join(self.package_folder, "bin", "etc", "fonts", "fonts.conf")
99+
self.output.info("Creating FONTCONFIG_FILE environment variable: {}".format(fontconfig_file))
100+
self.env_info.FONTCONFIG_FILE = fontconfig_file
101+
fontconfig_path = os.path.join(self.package_folder, "bin", "etc", "fonts")
102+
self.output.info("Creating FONTCONFIG_PATH environment variable: {}".format(fontconfig_path))
103+
self.env_info.FONTCONFIG_PATH = fontconfig_path
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
1601915414
1+
1603992696
22
conandata.yml: d4bca0e5775bb366a815321fd151b8de
3-
conanfile.py: f09dd3950610e26f291e3e580fe61397
3+
conanfile.py: 5671f3485f79d74bdd9fdd0899454e68
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"packages": {"014268efa8761faffd3d3bf6d137e2af8822fbe0": {"checksums": {"conaninfo.txt": {"sha1": "2ee466dd9737a5d9f12106069899933ab7a606d3", "md5": "2576c558a15d21bb5f3b8e42b7067cb4"}, "conanmanifest.txt": {"sha1": "f49af99a858e1c048847d399259588d423c61f48", "md5": "58987ba1381c31124f81dc301a9183d3"}, "conan_package.tgz": {"sha1": "a73eeb5dcc16a283517b60e3016642e8fdbb5e9e", "md5": "a8cdb1af2e9befe12f9df7b7eb6037b6"}}, "remote": "conan-center", "properties": {}, "recipe_revision": "0", "revision": "0"}, "fdb1122458d3e0706667fbb2af09026ac0bc1787": {"checksums": {"conaninfo.txt": {"sha1": "3883954dfa5ff4ce0418851205fb9bdd59b53456", "md5": "2fb0477a061af49faace79003c7d1368"}, "conanmanifest.txt": {"sha1": "8b9f3ca81140d43ee97d6da23a5f402e4f146c00", "md5": "8af81120462e044e01b7e41cbc1874c1"}, "conan_package.tgz": {"sha1": "57a89b7e5bc6ebf757dc6be52d554ef9dac60862", "md5": "1bb17bd66c774ef73a691b732115d1f7"}}, "remote": "conan-center", "properties": {}, "recipe_revision": "0", "revision": "0"}}, "recipe": {"checksums": {"conanfile.py": {"sha1": "5369c6cd1b2f336bbab85cc67e8c55175b3d4c33", "md5": "f09dd3950610e26f291e3e580fe61397"}, "conanmanifest.txt": {"sha1": "e12aced565837436848c8be860dd8fbecbea44c4", "md5": "0f78740e39fcaa97e0f3419ab133a860"}, "conan_export.tgz": {"sha1": "9eb97082455b5b5934213b8729d9a1cbcaac9e81", "md5": "85f5a51287da4982b2d8f304c44d62d7"}}, "remote": "conan-center", "properties": {}, "revision": "0"}}
1+
{"packages": {"15ef065904730b7642a1f327193748694a6e114e": {"revision": "0", "remote": "conan-center", "properties": {}, "checksums": {"conanmanifest.txt": {"sha1": "53168118f4129987a253edeb9a4a859c0561a2f0", "md5": "1fe00acce6965f406bd505250bf65343"}, "conan_package.tgz": {"sha1": "02fef6d2c514bf806d4e2707e9364e2e94b25c16", "md5": "e78ecaf3a5f46eeeb0ca3e48ac15a9ef"}, "conaninfo.txt": {"sha1": "5284d32d854425108f41555c24ede428799b5ed2", "md5": "aa3ef541315ea758729b0a5fd8770375"}}, "recipe_revision": "0"}, "fdb1122458d3e0706667fbb2af09026ac0bc1787": {"revision": "0", "remote": "conan-center", "properties": {}, "checksums": {"conanmanifest.txt": {"sha1": "8b9f3ca81140d43ee97d6da23a5f402e4f146c00", "md5": "8af81120462e044e01b7e41cbc1874c1"}, "conan_package.tgz": {"sha1": "57a89b7e5bc6ebf757dc6be52d554ef9dac60862", "md5": "1bb17bd66c774ef73a691b732115d1f7"}, "conaninfo.txt": {"sha1": "3883954dfa5ff4ce0418851205fb9bdd59b53456", "md5": "2fb0477a061af49faace79003c7d1368"}}, "recipe_revision": "0"}, "014268efa8761faffd3d3bf6d137e2af8822fbe0": {"revision": "0", "remote": "conan-center", "properties": {}, "checksums": {"conanmanifest.txt": {"sha1": "f49af99a858e1c048847d399259588d423c61f48", "md5": "58987ba1381c31124f81dc301a9183d3"}, "conan_package.tgz": {"sha1": "a73eeb5dcc16a283517b60e3016642e8fdbb5e9e", "md5": "a8cdb1af2e9befe12f9df7b7eb6037b6"}, "conaninfo.txt": {"sha1": "2ee466dd9737a5d9f12106069899933ab7a606d3", "md5": "2576c558a15d21bb5f3b8e42b7067cb4"}}, "recipe_revision": "0"}}, "recipe": {"revision": "0", "remote": "conan-center", "properties": {}, "checksums": {"conanmanifest.txt": {"sha1": "4705a435d8ee095983ad318fdda6eb162a35f7e7", "md5": "000d303ff0df56207aff01ab2f083157"}, "conanfile.py": {"sha1": "0e67586950d5451540d301fc686f2d100669c1f5", "md5": "5671f3485f79d74bdd9fdd0899454e68"}, "conan_export.tgz": {"sha1": "9eb97082455b5b5934213b8729d9a1cbcaac9e81", "md5": "85f5a51287da4982b2d8f304c44d62d7"}}}}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
conf.d/README
2+
3+
Each file in this directory is a fontconfig configuration file. Fontconfig
4+
scans this directory, loading all files of the form [0-9][0-9]*.conf.
5+
These files are normally installed in /usr/share/fontconfig/conf.avail
6+
and then symlinked here, allowing them to be easily installed and then
7+
enabled/disabled by adjusting the symlinks.
8+
9+
The files are loaded in numeric order, the structure of the configuration
10+
has led to the following conventions in usage:
11+
12+
Files begining with: Contain:
13+
14+
00 through 09 Font directories
15+
10 through 19 system rendering defaults (AA, etc)
16+
20 through 29 font rendering options
17+
30 through 39 family substitution
18+
40 through 49 generic identification, map family->generic
19+
50 through 59 alternate config file loading
20+
60 through 69 generic aliases, map generic->family
21+
70 through 79 select font (adjust which fonts are available)
22+
80 through 89 match target="scan" (modify scanned patterns)
23+
90 through 99 font synthesis
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
<?xml version="1.0"?>
2+
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3+
<!-- /etc/fonts/fonts.conf file to configure system font access -->
4+
<fontconfig>
5+
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
6+
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
7+
</its:rules>
8+
9+
<description>Default configuration file</description>
10+
11+
<!--
12+
DO NOT EDIT THIS FILE.
13+
IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED.
14+
LOCAL CHANGES BELONG IN 'local.conf'.
15+
16+
The intent of this standard configuration file is to be adequate for
17+
most environments. If you have a reasonably normal environment and
18+
have found problems with this configuration, they are probably
19+
things that others will also want fixed. Please submit any
20+
problems to the fontconfig bugzilla system located at fontconfig.org
21+
22+
Note that the normal 'make install' procedure for fontconfig is to
23+
replace any existing fonts.conf file with the new version. Place
24+
any local customizations in local.conf which this file references.
25+
26+
Keith Packard
27+
-->
28+
29+
<!-- Font directory list -->
30+
31+
<dir>/usr/share/fonts</dir>
32+
33+
<dir prefix="xdg">fonts</dir>
34+
<!-- the following element will be removed in the future -->
35+
<dir>~/.fonts</dir>
36+
37+
<!--
38+
Accept deprecated 'mono' alias, replacing it with 'monospace'
39+
-->
40+
<match target="pattern">
41+
<test qual="any" name="family">
42+
<string>mono</string>
43+
</test>
44+
<edit name="family" mode="assign" binding="same">
45+
<string>monospace</string>
46+
</edit>
47+
</match>
48+
49+
<!--
50+
Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
51+
-->
52+
<match target="pattern">
53+
<test qual="any" name="family">
54+
<string>sans serif</string>
55+
</test>
56+
<edit name="family" mode="assign" binding="same">
57+
<string>sans-serif</string>
58+
</edit>
59+
</match>
60+
61+
<!--
62+
Accept deprecated 'sans' alias, replacing it with 'sans-serif'
63+
-->
64+
<match target="pattern">
65+
<test qual="any" name="family">
66+
<string>sans</string>
67+
</test>
68+
<edit name="family" mode="assign" binding="same">
69+
<string>sans-serif</string>
70+
</edit>
71+
</match>
72+
<!--
73+
Accept alternate 'system ui' spelling, replacing it with 'system-ui'
74+
-->
75+
<match target="pattern">
76+
<test qual="any" name="family">
77+
<string>system ui</string>
78+
</test>
79+
<edit name="family" mode="assign" binding="same">
80+
<string>system-ui</string>
81+
</edit>
82+
</match>
83+
84+
<!--
85+
Load local system customization file
86+
-->
87+
<include ignore_missing="yes">conf.d</include>
88+
89+
<!-- Font cache directory list -->
90+
91+
<cachedir>/home/conan/w/cci_PR-3189/.conan/data/fontconfig/2.13.91/_/_/package/15ef065904730b7642a1f327193748694a6e114e/bin/var/cache/fontconfig</cachedir>
92+
<cachedir prefix="xdg">fontconfig</cachedir>
93+
<!-- the following element will be removed in the future -->
94+
<cachedir>~/.fontconfig</cachedir>
95+
96+
<config>
97+
<!--
98+
Rescan configuration every 30 seconds when FcFontSetList is called
99+
-->
100+
<rescan>
101+
<int>30</int>
102+
</rescan>
103+
</config>
104+
105+
</fontconfig>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0"?>
2+
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3+
<fontconfig>
4+
<description>Re-define fonts dirs sample</description>
5+
6+
<reset-dirs />
7+
<dir prefix="xdg">fonts</dir>
8+
9+
</fontconfig>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0"?>
2+
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3+
<fontconfig>
4+
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
5+
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
6+
</its:rules>
7+
8+
<description>Enable autohinter</description>
9+
<!-- Use the Autohinter -->
10+
<match target="pattern">
11+
<!--
12+
This configuration is available on the major desktop environments.
13+
We shouldn't overwrite it with "assign" unconditionally.
14+
Most clients may picks up the first value only. so using "append"
15+
may simply works to avoid it.
16+
-->
17+
<edit name="autohint" mode="append"><bool>true</bool></edit>
18+
</match>
19+
</fontconfig>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0"?>
2+
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3+
<fontconfig>
4+
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
5+
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
6+
</its:rules>
7+
8+
<description>Set hintfull to hintstyle</description>
9+
10+
<match target="pattern">
11+
<!--
12+
This configuration is available on the major desktop environments.
13+
We shouldn't overwrite it with "assign" unconditionally.
14+
Most clients may picks up the first value only. so using "append"
15+
may simply works to avoid it.
16+
-->
17+
<edit name="hintstyle" mode="append"><const>hintfull</const></edit>
18+
</match>
19+
</fontconfig>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0"?>
2+
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3+
<fontconfig>
4+
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
5+
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
6+
</its:rules>
7+
8+
<description>Set hintmedium to hintstyle</description>
9+
10+
<match target="pattern">
11+
<!--
12+
This configuration is available on the major desktop environments.
13+
We shouldn't overwrite it with "assign" unconditionally.
14+
Most clients may picks up the first value only. so using "append"
15+
may simply works to avoid it.
16+
-->
17+
<edit name="hintstyle" mode="append"><const>hintmedium</const></edit>
18+
</match>
19+
</fontconfig>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0"?>
2+
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3+
<fontconfig>
4+
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
5+
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
6+
</its:rules>
7+
8+
<description>Set hintnone to hintstyle</description>
9+
10+
<match target="pattern">
11+
<!--
12+
This configuration is available on the major desktop environments.
13+
We shouldn't overwrite it with "assign" unconditionally.
14+
Most clients may picks up the first value only. so using "append"
15+
may simply works to avoid it.
16+
-->
17+
<edit name="hintstyle" mode="append"><const>hintnone</const></edit>
18+
</match>
19+
</fontconfig>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0"?>
2+
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3+
<fontconfig>
4+
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
5+
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
6+
</its:rules>
7+
8+
<description>Set hintslight to hintstyle</description>
9+
10+
<match target="pattern">
11+
<!--
12+
This configuration is available on the major desktop environments.
13+
We shouldn't overwrite it with "assign" unconditionally.
14+
Most clients may picks up the first value only. so using "append"
15+
may simply works to avoid it.
16+
-->
17+
<edit name="hintstyle" mode="append"><const>hintslight</const></edit>
18+
</match>
19+
</fontconfig>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0"?>
2+
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
3+
<fontconfig>
4+
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
5+
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
6+
</its:rules>
7+
8+
<description>Disable sub-pixel rendering</description>
9+
<!-- Disable sub-pixel rendering -->
10+
<match target="pattern">
11+
<!--
12+
This configuration is available on the major desktop environments.
13+
We shouldn't overwrite it with "assign" unconditionally.
14+
Most clients may picks up the first value only. so using "append"
15+
may simply works to avoid it.
16+
-->
17+
<edit name="rgba" mode="append"><const>none</const></edit>
18+
</match>
19+
</fontconfig>

0 commit comments

Comments
 (0)