comparison OrthancFramework/Resources/ThirdParty/patch/NOTES.txt @ 4044:d25f4c0fa160 framework

splitting code into OrthancFramework and OrthancServer
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 10 Jun 2020 20:30:34 +0200
parents Resources/ThirdParty/patch/NOTES.txt@e088bc2c3a1a
children
comparison
equal deleted inserted replaced
4043:6c6239aec462 4044:d25f4c0fa160
1 ===========
2 INFORMATION
3 ===========
4
5 This is a precompiled version of the "patch" standard tool for
6 Windows. It was compiled using the MSYS framework.
7
8 The binaries originate from the "Git for Windows 1.9.5" package
9 (https://msysgit.github.io/). The build instructions have been
10 provided on the discussion group of Git for Windows [1]. They are
11 copied/pasted below for reference.
12
13
14
15 ================
16 UPSTREAM PROJECT
17 ================
18
19 URL to the upstream project:
20 http://savannah.gnu.org/projects/patch/
21
22 License of patch: GPLv2 (GNU General Public License v2)
23
24 Copyright (C) 1988 Larry Wall "with lots o' patches by Paul Eggert"
25 Copyright (C) 1997 Free Software Foundation, Inc.
26
27
28
29 ======================
30 BUILD INSTRUCTIONS [1]
31 ======================
32
33 The easiest way to find out about this is to install the Git SDK, then
34 run
35
36 pacman -Qu $(which patch.exe)
37
38 to find out which package contains the `patch.exe` binary. It so happens
39 to be patch.2.7.5-1 at the moment. Since this is an MSys2 package (not a
40 MinGW one, otherwise the patch utility would be in /mingw64/bin/, not
41 /usr/bin/), this package is built from the recipes in
42
43 https://github.com/msys2/MSYS2-packages
44
45 The `patch` package is obviously built from the subdirectory
46
47 https://github.com/Alexpux/MSYS2-packages/tree/master/patch
48
49 and the PKGBUILD file specifies that the source is fetched from
50 ftp://ftp.gnu.org/gnu/patch/patch-2.7.5.tar.xz:
51
52 https://github.com/Alexpux/MSYS2-packages/blob/900744becd072f687029b0f830ab6fe95cf533d6/patch/PKGBUILD#L14
53
54 and then these two patches are applied before building:
55
56 https://github.com/Alexpux/MSYS2-packages/blob/900744becd072f687029b0f830ab6fe95cf533d6/patch/msys2-patch-2.7.1.patch
57
58 and
59
60 https://github.com/Alexpux/MSYS2-packages/blob/900744becd072f687029b0f830ab6fe95cf533d6/patch/msys2-patch-manifest.patch
61
62 As you can see, some light changes are applied, i.e. `patch.exe` will
63 always write in binary mode with MSys2, and the executable will have a
64 manifest embedded that allows it to run as non-administrator.
65
66 Ciao,
67 Johannes Schindelin
68
69
70 [1] https://groups.google.com/d/msg/git-for-windows/xWyVr4z6Ri0/6RKeV028EAAJ