Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prebuilt binaries in app/src/main/assets #38

Open
relan opened this issue Nov 3, 2018 · 2 comments
Open

Prebuilt binaries in app/src/main/assets #38

relan opened this issue Nov 3, 2018 · 2 comments

Comments

@relan
Copy link

relan commented Nov 3, 2018

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?

@SalvatoreT
Copy link
Contributor

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

@relan
Copy link
Author

relan commented Nov 17, 2018

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants