Skip to content

Commit 6e43b6a

Browse files
authored
Migrate to zlib-ng, part 1: copy source code only (#102520)
* Bring in the zlib-ng source code into the repo but without plugging it in yet. * Include the required zlib-ng license and version changes. * Remove the zlib-ng/doc/ and zlib-ng/tests/ folders and mention this in the newly added zlib-ng-version.txt file.
1 parent 455f540 commit 6e43b6a

File tree

200 files changed

+42690
-0
lines changed

Some content is hidden

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

200 files changed

+42690
-0
lines changed

THIRD-PARTY-NOTICES.TXT

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,23 @@ https://zlib.net/zlib_license.html
9898

9999
*/
100100

101+
License notice for zlib-ng
102+
-----------------------
103+
104+
https://github.com/zlib-ng/zlib-ng/blob/develop/LICENSE.md
105+
106+
(C) 1995-2024 Jean-loup Gailly and Mark Adler
107+
108+
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
109+
110+
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
111+
112+
The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
113+
114+
Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
115+
116+
This notice may not be removed or altered from any source distribution.
117+
101118
License notice for Mono
102119
-------------------------------
103120

src/native/external/cgmanifest.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,16 @@
6060
}
6161
},
6262
"DevelopmentDependency": false
63+
},
64+
{
65+
"Component": {
66+
"Type": "git",
67+
"Git": {
68+
"RepositoryUrl": "https://github.com/zlib-ng/zlib-ng",
69+
"CommitHash": "74253725f884e2424a0dd8ae3f69896d5377f325"
70+
}
71+
},
72+
"DevelopmentDependency": false
6373
}
6474
]
6575
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
v2.1.6
2+
74253725f884e2424a0dd8ae3f69896d5377f325
3+
4+
https://github.com/zlib-ng/zlib-ng/releases/tag/2.1.6
5+
6+
We have removed the zlib-ng/docs/ and zlib-ng/test/ folders from our local copy as these files are not needed for our compilation.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
codecov:
2+
max_report_age: off
3+
notify:
4+
wait_for_ci: false
5+
require_ci_to_pass: false
6+
comment:
7+
require_base: false
8+
require_head: false
9+
coverage:
10+
status:
11+
project:
12+
default:
13+
threshold: 0.07
14+
fixes:
15+
- '/home/actions-runner/_work/zlib-ng/zlib-ng::'
16+
- '/home/actions-runner/_work/zlib-ng/zlib-ng/build/::'
17+
ignore:
18+
- usr/include/.*
19+
- /usr/include/.*
20+
- /build/usr/include/.*
21+
- usr/lib/.*
22+
- /usr/lib/.*
23+
- /build/usr/lib/.*
24+
- usr/lib64/.*
25+
- /usr/lib64/.*
26+
- /build/usr/lib64/.*
27+
- _deps/**/*
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
* text=auto
2+
*.abi text eol=lf
3+
*.c text
4+
*.h text
5+
*.sh text eol=lf
6+
crc32_braid_tbl.h hooks-max-size=1000000
7+
Makefile text
8+
configure text eol=lf
Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
*.diff
2+
*.patch
3+
*.orig
4+
*.rej
5+
6+
*~
7+
*.a
8+
*.lo
9+
*.o
10+
*.dylib
11+
12+
*.gcda
13+
*.gcno
14+
*.gcov
15+
16+
/benchmark_zlib
17+
/example
18+
/example64
19+
/examplesh
20+
/gtest_zlib
21+
/libz.so*
22+
/libz-ng.so*
23+
/makefixed
24+
/minigzip
25+
/minigzip64
26+
/minigzipsh
27+
/switchlevels
28+
/zlib.pc
29+
/zlib-ng.pc
30+
31+
.DS_Store
32+
*_fuzzer
33+
*.obj
34+
*.exe
35+
*.pdb
36+
*.exp
37+
*.lib
38+
*.dll
39+
*.res
40+
foo.gz
41+
*.manifest
42+
*.opensdf
43+
*.sln
44+
*.sdf
45+
*.vcxproj
46+
*.vcxproj.filters
47+
*.vcxproj.user
48+
.vs
49+
50+
CMakeCache.txt
51+
CMakeFiles
52+
Testing
53+
/*.cmake
54+
*.stackdump
55+
*._h
56+
zconf.h
57+
zconf.h.cmakein
58+
zconf.h.included
59+
zconf-ng.h
60+
zconf-ng.h.cmakein
61+
ztest*
62+
/test/CTestTestfile.cmake
63+
/test/cmake_install.cmake
64+
65+
configure.log
66+
a.out
67+
68+
/Makefile
69+
/arch/arm/Makefile
70+
/arch/generic/Makefile
71+
/arch/power/Makefile
72+
/arch/x86/Makefile
73+
.kdev4
74+
*.kdev4
75+
76+
/Debug
77+
/example.dir
78+
/minigzip.dir
79+
/zlib.dir
80+
/zlibstatic.dir
81+
/test/*.dir/
82+
/build/
83+
/build[.-]*/
84+
/btmp[12]/
85+
/pkgtmp[12]/
86+
87+
/.idea
88+
/cmake-build-debug
89+
/x64/Debug/
90+
/x64/Release/
91+
/win32/Debug/
92+
/win32/Release/
93+
/ARM*/Debug/
94+
/ARM*/Release/
95+
MinSizeRel
96+
RelWithDebInfo
97+
/_deps/googletest*
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
disable=SC2140,SC2086,SC2046,SC2015,SC1097,SC1035,SC1036,SC1007,SC2154,SC2155,SC2000,SC2034,SC2016,SC1091,SC1090,SC2212,SC2143,SC2129,SC2102,SC2069,SC1041,SC1042,SC1044,SC1046,SC1119,SC1110,SC1111,SC1112,SC1102,SC1105,SC1101,SC1004,SC1003,SC1012,SC2068,SC2065,SC2064,SC2063,SC2059,SC2053,SC2048,SC2044,SC2032,SC2031,SC2030,SC2029,SC2025,SC2024,SC2022,SC2018,SC2019,SC2017,SC2014,SC2013,SC2012,SC2009,SC2001,SC2098,SC2096,SC2094,SC2091,SC2092,SC2088,SC2087,SC2076,SC2072,SC2071,SC2223,SC2221,SC2222,SC2217,SC2207,SC2206,SC2205,SC2190,SC2188,SC2187,SC2185,SC2179,SC2178,SC2174,SC2168,SC2167,SC2163,SC2161,SC2160,SC2153,SC2150,SC2148,SC2147,SC2146,SC2142,SC2139,SC2126,SC2123,SC2120,SC2119,SC2117,SC2114,SC1117,SC2164,SC1083,SC2004,SC2125,SC2128,SC2011,SC1008,SC1019,SC2093,SC1132,SC1129,SC2236,SC2237,SC2231,SC2230,SC2229,SC2106,SC2102,SC2243,SC2244,SC2245,SC2247,SC2248,SC2249,SC2250,SC2251,SC2252,SC2181

0 commit comments

Comments
 (0)