IPFSDroid
IPFSDroid copied to clipboard
Prebuilt binaries in app/src/main/assets
Hi,
F-Droid maintainer here. We can't update IPFSDroid to 0.12 because it contains prebuilt binaries in app/src/main/assets
(named arm
and x86
). My guess is that it's free software and comes from https://github.com/ipfs/go-ipfs, but our policy requires it to be built from source to make sure it does not contain any proprietary bits. Could you provide some build instructions for go-ipfs binaries or even better integrate go-ipfs into IPFSDroid build system?
Here's @ligi's build script..
mkdir /tmp/workspace
cd /tmp/workspace/
export GOPATH=/tmp/workspace/
export PATH=$GOPATH/bin:$PATH
go get -d github.com/ipfs/go-ipfs
cd $GOPATH/src/github.com/ipfs/go-ipfs
make toolkit_upgrade
make deps
xgo -go 1.8.3 -ldflags "-s -w" --targets=android-16/* ./cmd/ipfs
make toolkit_upgrade
step gives me
make: *** No rule to make target 'toolkit_upgrade'. Stop.
CHANGELOG.md says that this step was removed in "0.4.2 - 2016-05-17".
Also we need to use exactly the same go-ipfs version that you did, not just master
. Which version was that?