Commit Graph

112 Commits (1221a24c2513f3164071bab9b4a8e66c490ebda2)

Author SHA1 Message Date
Jason Rhinelander 1221a24c25 Change mac install prefix to /opt/lokinet
/usr/local is probably going to get stomped on by homebrew.
5 years ago
Jason Rhinelander c9a8c67276 Build lokinet-gui with ExternalProject
Also installs it without the extra hack by specifying ../../Applications
for the destination.  (This definitely feels kind of nasty, but it works).
5 years ago
Jason Rhinelander 58133db753 Consolidate cmake vars & definitions
CMake will set version variables itself if you give the version in the
project(), which is cleaner.  Also removes some (nearly) duplicate
definitions and settings added in basic_definitions.cmake for unknown
reasons.

Removes some redundant settings (name, description, version) from the
cpack settings which already default to the values from the project()
call.
5 years ago
Stephen Shelton 0388a10f81 Bundle gui in mac installer 5 years ago
Stephen Shelton e80f20ecb8 MacOS installer / runtime nonsense 5 years ago
Jeff Becker b630a3135a macos post install script that bootstraps, generates configs and registers plist 5 years ago
Jeff Becker 7ca8400e66 make apple builds build for older versions and embrace the bitrot 5 years ago
Jeff Becker fc14c25771 fix up cpack for macos 5 years ago
Jeff Becker 53bef479a3 more macos installer bits 5 years ago
Jeff Becker dbaed61100 make gitlab pump out 32 bit installers, no lto for builds as that is cursed for now. 5 years ago
Jeff Becker a0b6357e0a make installer pull in tuntap driver 5 years ago
Jeff Becker 7f59cce443 set license 5 years ago
Jeff Becker 7406dbc964 cpack win32 5 years ago
Jason Rhinelander 3b0927ce13
Merge pull request #1140 from despair86/cmake-cleanup
some light cmake cleanup for win32
5 years ago
Rick V 3ca50b3619
missing branch on option 5 years ago
Rick V d22af469a4
some win32 cmake cleanup
also removes MSVC rules (we don't support MSVC)
5 years ago
Rick V dbc559d4ff
finally fix cross-LTO on windows builds 5 years ago
Rick V 4cd7a22ca3
fix libsodium cross compile 5 years ago
Jeff Becker 0a6c91b26c
operator presidence 5 years ago
Jeff Becker d44a96769a
allow building from source tarballs 5 years ago
despair 8a27e3972d
we need XPG7 on netbsd 5 years ago
Jason Rhinelander 7ab6220a41 Older cmake workaround 5 years ago
Jason Rhinelander 5a4700d868 Use ExternalProject to build downloaded libsodium 5 years ago
Jason Rhinelander 73239f4c39 Use glob to find sodium source files
Manually changing the list every time we want to change the libsodium
version is painful.

I tested this glob against libsodium 1.0.17 and verified it produces the
same set of files (aside from the generated version.h), and that in
1.0.18 it produces the same set modulo upstream files removed/added.
5 years ago
Jason Rhinelander b72a4296b7 Fix libsodium 1.0.18 URL 5 years ago
Jason Rhinelander 2b93ccb393 Bump libsodium required version to 1.0.18
We use crypto_core_ed25519_scalar_mul which is only exported by
libsodium >= 1.0.18.
5 years ago
Jeff Becker da5eb913e9
use proper cmake call 5 years ago
Jeff Becker fde0ca374f
i hate curl 5 years ago
Jeff Becker 336a748695
make it build in normal mode too 5 years ago
Jeff Becker 80cbddde7b
fixups for review 5 years ago
Jeff Becker 2ce592e4af
static link with docs 5 years ago
Ryan Tharp 20ce679c3a macos release needs the include path 5 years ago
Ryan Tharp b21b0b49d0 support LIBCURL_ROOT, disable LIBUV includes 5 years ago
Ryan Tharp 6001215a23 bring in all updates from STATIC_RUNTIME 5 years ago
Rick V a62a75d640
nit 5 years ago
Rick V 9fa9209114
don't be aggressive
remove libcurl packaging rules. We still build it, but ship only the curl.exe
5 years ago
Rick V d1b9b89812
add note
add libuv build

add its dependent libraries to the final link line
5 years ago
Rick V 6d49ffd60b
include all platform dependencies transitively 5 years ago
Jeff Becker ab183665ab
freebsd fix 5 years ago
Stephen Shelton 332f33b049 Remove FS_LIB conditionals 5 years ago
Stephen Shelton 5ce260fce1 Use vendored fs::filesystem on all platforms 5 years ago
Jason Rhinelander 638fb25b47 Put version info into a compiled file
This rewrites the version info using lokid's approach of compiling it
into a .cpp file that gets generated as part of the build (*not* during
the configure stage).

Among other things, this means that changing the version no longer
invalidates ccache or cmake dependencies, and because it depends on
`.git/index` git commits will cause the version to be regenerated,
making the commit tag more reliable (currently if you rebuild without
running cmake your git commit tag doesn't update).
5 years ago
Jeff Becker abf9544ddc
make libuv on win32 work 5 years ago
Jason Rhinelander 8d2c22fc72 Replace cppbackport with ghc-filesystem
From https://github.com/gulrak/filesystem which is more up-to-date and
looks better maintained than cppbackport.
5 years ago
Jeff Becker 8bac293dc7
fix patching command 5 years ago
Jeff Becker 01dbd329bd
add forgotten file 5 years ago
Jeff Becker 25c820f166
add compile time override for libsodium tarball url using -DSODIUM_TARBALL_URL=https://whatever/tarball.tar.gz 5 years ago
Rick V c63d0b5be2
add cmake rule to patch libsodium on windows
# Conflicts:
#	crypto/CMakeLists.txt
5 years ago
Jason Rhinelander ac3cd441ac Fix download hash verification & version string
Fix hash verification in downloaded libsodium package.

Fix @VERSION@ expansion in sodium/version.h (but don't set it globally
because VERSION is far too generic a variable to be leaving set).
5 years ago
Jason Rhinelander 57ccb1fd5c Move sodium download into separate cmake include 5 years ago