Skip to content

Commit

Permalink
Migrate to zlib-ng, part 1: copy source code only (#102520)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
carlossanlop committed May 22, 2024
1 parent 455f540 commit 6e43b6a
Show file tree
Hide file tree
Showing 200 changed files with 42,690 additions and 0 deletions.
17 changes: 17 additions & 0 deletions THIRD-PARTY-NOTICES.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,23 @@ https://zlib.net/zlib_license.html

*/

License notice for zlib-ng
-----------------------

https://github.com/zlib-ng/zlib-ng/blob/develop/LICENSE.md

(C) 1995-2024 Jean-loup Gailly and Mark Adler

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.

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:

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.

Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.

This notice may not be removed or altered from any source distribution.

License notice for Mono
-------------------------------

Expand Down
10 changes: 10 additions & 0 deletions src/native/external/cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,16 @@
}
},
"DevelopmentDependency": false
},
{
"Component": {
"Type": "git",
"Git": {
"RepositoryUrl": "https://github.com/zlib-ng/zlib-ng",
"CommitHash": "74253725f884e2424a0dd8ae3f69896d5377f325"
}
},
"DevelopmentDependency": false
}
]
}
6 changes: 6 additions & 0 deletions src/native/external/zlib-ng-version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
v2.1.6
74253725f884e2424a0dd8ae3f69896d5377f325

https://github.com/zlib-ng/zlib-ng/releases/tag/2.1.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.
27 changes: 27 additions & 0 deletions src/native/external/zlib-ng/.codecov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
codecov:
max_report_age: off
notify:
wait_for_ci: false
require_ci_to_pass: false
comment:
require_base: false
require_head: false
coverage:
status:
project:
default:
threshold: 0.07
fixes:
- '/home/actions-runner/_work/zlib-ng/zlib-ng::'
- '/home/actions-runner/_work/zlib-ng/zlib-ng/build/::'
ignore:
- usr/include/.*
- /usr/include/.*
- /build/usr/include/.*
- usr/lib/.*
- /usr/lib/.*
- /build/usr/lib/.*
- usr/lib64/.*
- /usr/lib64/.*
- /build/usr/lib64/.*
- _deps/**/*
8 changes: 8 additions & 0 deletions src/native/external/zlib-ng/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
* text=auto
*.abi text eol=lf
*.c text
*.h text
*.sh text eol=lf
crc32_braid_tbl.h hooks-max-size=1000000
Makefile text
configure text eol=lf
97 changes: 97 additions & 0 deletions src/native/external/zlib-ng/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
*.diff
*.patch
*.orig
*.rej

*~
*.a
*.lo
*.o
*.dylib

*.gcda
*.gcno
*.gcov

/benchmark_zlib
/example
/example64
/examplesh
/gtest_zlib
/libz.so*
/libz-ng.so*
/makefixed
/minigzip
/minigzip64
/minigzipsh
/switchlevels
/zlib.pc
/zlib-ng.pc

.DS_Store
*_fuzzer
*.obj
*.exe
*.pdb
*.exp
*.lib
*.dll
*.res
foo.gz
*.manifest
*.opensdf
*.sln
*.sdf
*.vcxproj
*.vcxproj.filters
*.vcxproj.user
.vs

CMakeCache.txt
CMakeFiles
Testing
/*.cmake
*.stackdump
*._h
zconf.h
zconf.h.cmakein
zconf.h.included
zconf-ng.h
zconf-ng.h.cmakein
ztest*
/test/CTestTestfile.cmake
/test/cmake_install.cmake

configure.log
a.out

/Makefile
/arch/arm/Makefile
/arch/generic/Makefile
/arch/power/Makefile
/arch/x86/Makefile
.kdev4
*.kdev4

/Debug
/example.dir
/minigzip.dir
/zlib.dir
/zlibstatic.dir
/test/*.dir/
/build/
/build[.-]*/
/btmp[12]/
/pkgtmp[12]/

/.idea
/cmake-build-debug
/x64/Debug/
/x64/Release/
/win32/Debug/
/win32/Release/
/ARM*/Debug/
/ARM*/Release/
MinSizeRel
RelWithDebInfo
/_deps/googletest*
1 change: 1 addition & 0 deletions src/native/external/zlib-ng/.shellcheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +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
Loading

0 comments on commit 6e43b6a

Please sign in to comment.