- Feb 13, 2019
-
-
Joey Hess authored
The location of the cabal_macros.h file has changed. Also, need to tell hothasktags about language extensions that are enabled by default in the cabal file. This commit was sponsored by Thomas May.
-
- Nov 21, 2018
-
-
Joey Hess authored
Needed because stack path needs to be passed the modified stack.yaml to use as well.
-
Joey Hess authored
stack build will do setup if necessary, and setup does not accept all the options that build does
-
Joey Hess authored
This is needed so the i386ancient build can pass --stack-yaml
-
- Oct 13, 2018
-
-
Joey Hess authored
Running git-annex linux builds in termux seems to work well enough that the only reason to keep the Android app would be to support Android 4-5, which the old Android app supported, and which I don't know if the termux method works on (although I see no reason why it would not). According to [1], Android 4-5 remains on around 29% of devices, down from 51% one year ago. [1] https://www.statista.com/statistics/271774/share-of-android-platforms-on-mobile-devices-with-android-os/ This is a rather large commit, but mostly very straightfoward removal of android ifdefs and patches and associated cruft. Also, removed support for building with very old ghc < 8.0.1, and with yesod < 1.4.3, and without concurrent-output, which were only being used by the cross build. Some documentation specific to the Android app (screenshots etc) needs to be updated still. This commit was sponsored by Brett Eisenberg on Patreon.
-
- Jul 10, 2018
-
-
Joey Hess authored
linux standalone: Generate locale files in ~/.cache/git-annex/locales/ so they're available even when the standalone tarball is installed in a directory owned by root. This avoids a full-on reference counting cleanup hell, by letting old locale caches linger as long as the standalone bundle directory associated with them is still around. Old ones get cleaned up. In the case where the directory has a new bundle unpacked over top of it, the old locale cache is invalidated and rebuilt. Of course, running programs using that may get confused, but this was already the case, and unpacking over top of a bundle is probably not a good idea anyhow. To support that, added a buildid file, which only needs to be unique across builds of git-annex with different libc versions. sha1sum of git-annex seems good enough for that. Removed debian/patches/standalone-no-LOCPATH as it's no longer necessary. This commit was supported by the NSF-funded DataLad project.
-
- Jun 26, 2018
-
-
Joey Hess authored
This way, autobuilders can run it before building, in a tree where git-annex was already built, and get the current git rev embedded in the build. Before, the version number only updated when the setup program was run, which was up to cabal and not on every build.
-
- Apr 16, 2018
-
-
Joey Hess authored
This may work around ghc's -no-pie flag. Untested.
-
- Feb 27, 2018
-
-
Joey Hess authored
Makefile: Remove chrpath workaround for bug in cabal, which is no longer needed. https://github.com/haskell/cabal/issues/2717 says it uses RUNPATH instead of RPATH now, but I don't even see that for statically linked libraries; the bug with that appears to be fixed. cabal-install version 1.24.0.2 compiled using version 1.24.2.0 of the Cabal library I left the rpath removal using otool on OSX because those straight up broke the linker, and I don't know if the OSX autobuilder is updated to a new enough cabal to not need it. This commit was sponsored by Ewen McNeill on Patreon.
-
- Jan 15, 2018
-
-
Joey Hess authored
Seems that the cabal macros file is no longer needed to build DistributionUpdate, and it produced a ton of warnings, so stop including manually.
-
- Dec 20, 2017
-
-
Joey Hess authored
Test suite is always included. Building with this flag disabled has actually been broken for some time, since Command.TestRemote uses tasty. Fewer build flags are better, so good time to drop it. This commit was sponsored by Thomas Hochstein on Patreon.
-
- Dec 14, 2017
-
-
Joey Hess authored
This avoids warnings from stack about the module not being listed in the cabal file. So, the generated file is also renamed to Build/SysConfig. Note that the setup program seems to be cached despite these changes; I had to cabal clean to get cabal to update it so that Build/SysConfig was written. This commit was sponsored by Jochen Bartl on Patreon.
-
- Dec 11, 2017
-
-
Joey Hess authored
-
- Nov 29, 2017
-
-
Joey Hess authored
-
- Nov 07, 2017
-
-
Joey Hess authored
-
Joey Hess authored
-
Eric Siegerman authored
If you run stack as root (e.g. for "make install"), any files it creates under ./ will, of course, be owned by root. That's a problem for subsequent runs as non-root. Reduce the likelihood of that happening by building Build/InstallDesktopFile during "make all", so that it needn't be built by "make install".
-
- Sep 14, 2017
-
-
Joey Hess authored
avoid usage display when too old optparse-applicative
-
- Jul 12, 2017
-
-
Joey Hess authored
-
- Jun 09, 2017
-
-
Joey Hess authored
optparse-applicative-0.14.0.0 adds support for these, so have the Makefile install their scripts when built with it. CmdLine/GitAnnex/Options.hs now uses action "file" in cmdParams, which affects the bash and zsh completions, letting them complete filenames for subcommands that use that. This is not needed for bash, since bash-completion.bash enables -o bashdefault, which lets it complete filenames too. But it does not seem to break the bash completions. It is needed for zsh; the zsh completion otherwise does not complete filenames. The fish completion will always complete filenames no matter what. Messy. This commit was sponsored by Denis Dzyubenko on Patreon.
-
- May 16, 2017
-
-
Joey Hess authored
This gets ghc installed if it's not already. Motivation: Ævar's git test that runs git-annex test using git can be called with BUILDER=stack, but without stack setup being run sometime, the stack build will fail.
-
- May 10, 2017
-
-
Joey Hess authored
-
- Mar 18, 2017
-
-
Joey Hess authored
-
- Mar 17, 2017
-
-
Joey Hess authored
This commit was supported by the NSF-funded DataLad project.
-
- Feb 28, 2017
-
-
Joey Hess authored
-
- Feb 26, 2017
-
-
Joey Hess authored
Broken by recent changes to other targets
-
- Feb 24, 2017
-
-
Joey Hess authored
Otherwise, make reconfigures every time and then rebuilds all files. I went too far in 3af9f5ed. All that's needed is to make the configure target not use Build/SysConfig.hs as the target name, so make won't delete that file after a failed build. This commit was supported by the NSF-funded DataLad project
-
- Feb 21, 2017
-
-
Joey Hess authored
The problem with that target was, if a target like git-annex that depended on it failed for some reason, make would delete Build/SysConfig.hs, since it knows it's an intermediate file. But, since stack only builds that file once, that caused all subsequent make git-annex builds to fail. Also, this avoids a double stack build when building with stack. Since stack has no configure stage, and the Build/SysConfig.hs target was about running the configure stage, the only way to only build once is to combine the targets like this. This should work better on the autobuilders that build with stack. This commit was sponsored by NSF-funded DataLad project
-
- Feb 14, 2017
-
-
Joey Hess authored
-
- Feb 10, 2017
-
-
Joey Hess authored
Git does not provide a switch to find out where this directory is, and while the git-init man page says it will always be in /usr/share/git-core/templates, that's not the case on OSX with git installed from homebrew. So, I used a hack taking the --man-path and constructing a path from that. Works on both Debian and OSX at least.
-
- Nov 21, 2016
-
-
Joey Hess authored
Almost working, but there's a bug in the relaying. Also, made tor hidden service setup pick a random port, to make it harder to port scan. This commit was sponsored by Boyd Stephen Smith Jr. on Patreon.
-
- Nov 14, 2016
-
-
Joey Hess authored
I've long considered the XMPP support in git-annex a wart. It's nice to remove it. (This also removes the NetMessager, which was only used for XMPP, and the daemonstatus's desynced list (likewise).) Existing XMPP remotes should be ignored by git-annex. This commit was sponsored by Brock Spratlen on Patreon.
-
- Nov 07, 2016
-
-
Joey Hess authored
OSX: Remove RPATHs from git-annex binary, which are not needed, slow down startup, and break the OSX Sierra linker. ghc 8.0.2 may make this unncessary, but it's not in a stackage version yet, so put in a workaround. Note that the linux builds already delete the RPATHs for similar reasons. This commit was sponsored by Josh Taylor on Patreon.
-
- Oct 31, 2016
-
-
Joey Hess authored
The Makefile was putting them in git-annex.linux/i18n/i18n, and so I18NPATH did not point to the files. I think that on close enough to Debian systems, localedef then fell back to using the system-wide locale files, while on other systems it would fail to generate locales.
-
- Oct 17, 2016
-
-
Joey Hess authored
-
- Oct 04, 2016
-
-
Joey Hess authored
Linux standalone: Include locale files in the bundle, and generate locale definition files for the locales in use when starting runshell. Currently only done for utf-8 locales because the charset can easily be told for those. Other locales don't include the charset in their name. The locale definition is generated under git-annex.linux/locales. So, this only works if the user can write there. If locale generation fails for any reason, it's silently skipped. The git-annex-standalone.deb installs the bundle under /usr, so this locale generation won't work for non-root users.
-
- Sep 05, 2016
-
- Aug 31, 2016
-
-
Joey Hess authored
-
- Jul 19, 2016
-
-
Joey Hess authored
-
- Jul 17, 2016
-
-
Joey Hess authored
-