git-annex/Build
Joey Hess 54ad1b4cfb
Windows: Support long filenames in more (possibly all) of the code
Works around this bug in unix-compat:
https://github.com/jacobstanley/unix-compat/issues/56
getFileStatus and other FilePath using functions in unix-compat do not do
UNC conversion on Windows.

Made Utility.RawFilePath use convertToWindowsNativeNamespace to do the
necessary conversion on windows to support long filenames.

Audited all imports of System.PosixCompat.Files to make sure that no
functions that operate on FilePath were imported from it. Instead, use
the equvilants from Utility.RawFilePath. In particular the
re-export of that module in Common had to be removed, which led to lots
of other changes throughout the code.

The changes to Build.Configure, Build.DesktopFile, and Build.TestConfig
make Utility.Directory not be needed to build setup. And so let it use
Utility.RawFilePath, which depends on unix, which cannot be in
setup-depends.

Sponsored-by: Dartmouth College's Datalad project
2023-03-01 15:55:58 -04:00
..
BuildVersion.hs type signature 2018-08-04 14:21:30 -04:00
BundledPrograms.hs include libmagic in windows installer 2020-10-26 13:24:37 -04:00
collect-ghc-options.sh Makefile: Pass LDFLAGS, CFLAGS, and CPPFLAGS through ghc and on to ld, cc, and cpp. 2015-08-19 13:53:57 -04:00
Configure.hs Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
DesktopFile.hs Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
DistributionUpdate.hs fix build of helper program 2022-11-03 14:11:49 -04:00
InstallDesktopFile.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
LinuxMkLibs.hs work around ldd crash on arm64 autobuilder 2023-01-28 14:26:01 -04:00
MakeMans.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Mans.hs deal with cabal unpack not preserving execute bit 2021-02-08 14:32:24 -04:00
mdwn2man Don't escape leading dots in code blocks in manpage 2016-08-16 11:51:16 -04:00
NullSoftInstaller.hs Windows: Correct the path to the html help file for 64 bit build. 2021-02-24 13:19:42 -04:00
OSXMkLibs.hs assume @RPATH libs are present 2022-01-03 15:05:15 -04:00
Standalone.hs update after RawFilePath transition 2020-11-09 12:12:25 -04:00
TestConfig.hs Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
Version.hs avoid strictness problem 2019-01-22 19:37:49 -04:00