ncurses has started to default to dllimport by default, which means
NCURSES_STATIC has to be set by anyone trying to statically build against it
to get the right symbol names.
To keep things simple for use just build twice, once dynamically and
once statically with NCURSES_STATIC set.
Alternative to #2956
Also removes the "RPATH" part, which was copied from Arch, but from what I see
doesn't change anything for us.
In some cases this will introduce cycles which could likely be cleaned
up by only depending on some unix tools instead of the whole autotools.
Rebuilding doesn't make much sense at this point since it just adds a subset
of base-devel which is still installed by default.
A number of install scripts were testing for install-info to no effect,
then calling it regardless. For minimal installs, this makes pacman fail
on them visibly.
This fix replicates what other MSYS2 packages, e.g. autoconf, do.
Also none of these packages actually depend on GNU info.
* upgrade some broken packages
* correct some broken urls/checksums
* use secure urls where possible
* use stable url for ncurses
* some whitespace fixes
Remaining md5sums either didn't download or
didn't pass checksum tests.
The call to GetClipboardData(CF_TEXT) returns the text in the system
encoding, which was then incorrectly treated as UTF-8 encoded. Instead we
need to use GetClipboardData(CF_UNICODETEXT) to get the text in UTF-16,
followed by a conversion to UTF-8.
Also fixed a problem where CloseClipboard was only called if
GetClipboardData returns non-null. According to the documentation, every
successful call to OpenClipboard should be matched with a call to
CloseClipboard.
This fixes https://github.com/git-for-windows/git/issues/567
Signed-off-by: Kim Gybels <kgybels@infogroep.be>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>