[fontconfig] Do not create symlinks (microsoft#23735) (#23736)

* [fontconfig] Do not create symlinks (microsoft#23735)

* [fontconfig] Add a license identifier

* Regenerate versions file
This commit is contained in:
Alonso Schaich 2022-03-24 21:03:32 +00:00 committed by GitHub
parent 933d718910
commit a76eb002a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 29 additions and 2 deletions

View File

@ -0,0 +1,19 @@
--- a/conf.d/link_confs.py 2022-03-24 04:13:59.000982000 +0900
+++ b/conf.d/link_confs.py 2022-03-24 04:14:46.271964000 +0900
@@ -4,6 +4,7 @@
import sys
import argparse
import platform
+import shutil
if __name__=='__main__':
parser = argparse.ArgumentParser()
@@ -32,7 +33,7 @@
except FileNotFoundError:
pass
try:
- os.symlink(src, dst)
+ shutil.copyfile(src, dst)
except NotImplementedError:
# Not supported on this version of Windows
break

View File

@ -7,6 +7,8 @@ vcpkg_from_gitlab(
REF ${FONTCONFIG_VERSION}
SHA512 815f999146970c7f0e6c15a21f218d4b3f75b26d4ef14d36711bc0a1de19e59cc62d6a2c53993dd38b963ae30820c4db29f103380d5001886d55b6a7df361154
HEAD_REF master
PATCHES
no-etc-symlinks.patch
)
vcpkg_find_acquire_program(GPERF)

View File

@ -1,9 +1,10 @@
{
"name": "fontconfig",
"version": "2.13.94",
"port-version": 5,
"port-version": 6,
"description": "Library for configuring and customizing font access.",
"homepage": "https://www.freedesktop.org/wiki/Software/fontconfig",
"license": "MIT",
"dependencies": [
"dirent",
"expat",

View File

@ -2262,7 +2262,7 @@
},
"fontconfig": {
"baseline": "2.13.94",
"port-version": 5
"port-version": 6
},
"foonathan-memory": {
"baseline": "2019-07-21",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "8f782f79dc3a2c6834a7e5de4a941b11822067dd",
"version": "2.13.94",
"port-version": 6
},
{
"git-tree": "2f32046747209c234e60dc297b48d5bdc7ee4494",
"version": "2.13.94",