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

F-Droid build recipe #1

Open
pserwylo opened this issue Feb 5, 2016 · 2 comments
Open

F-Droid build recipe #1

pserwylo opened this issue Feb 5, 2016 · 2 comments

Comments

@pserwylo
Copy link

pserwylo commented Feb 5, 2016

Hi there,

Watched your lightning talk at LCA2016. Thought I'd send an F-Droid build recipe your way. There is a few things you'd need to address before submitting to https://gitlab.com/fdroid/fdroiddata. You'll notice in the output below that it warns about "possible binaries". This is because there is no way to show that the fonts you are using are open source. Not quite sure about the binaries in the .png file though. If you are curious, there is usually people in #fdroid on freenode who can help with this.

FYI - if you are able to add git tags for each release in a consistent format (e.g. "v2.0.3") then F-Droid will periodically check for new updates and automatically build and release them (if you so choose).

Build recipe for F-Droid (requires description to be filled in):

Categories:Games
License:GPLv3
Web Site:
Source Code:https://github.com/stackunderflow-stackptr/stackptr_android
Issue Tracker:https://github.com/stackunderflow-stackptr/stackptr_android/issues
Changelog:https://github.com/stackunderflow-stackptr/stackptr_android/blob/HEAD/CHANGELOG.md

Auto Name:StackPtr
Summary:Location Sharing Client
Description:
Android client for StackPtr location sharing service.
.

Repo Type:git
Repo:https://github.com/stackunderflow-stackptr/stackptr_android

Build:2.0.4,23
    commit=0cd68530c54d80442f3ffcf429873c1f2b95e742
    subdir=app
    gradle=yes

Auto Update Mode:None
Update Check Mode:None
Current Version:2.0.4
Current Version Code:23

The following command: fdroid build -l com.stackunderflow.stackptr output (at least for me):

INFO: Building version 2.0.4 (23) of com.stackunderflow.stackptr
INFO: Getting source for revision 0cd68530c54d80442f3ffcf429873c1f2b95e742
INFO: Creating local.properties file at build/com.stackunderflow.stackptr/local.properties
INFO: Creating local.properties file at build/com.stackunderflow.stackptr/app/local.properties
INFO: Cleaning Gradle project...
INFO: Scanning source for common problems...
WARNING: Found possible binary at app/src/main/assets/static/fonts/glyphicons-halflings-regular.eot
WARNING: Found possible binary at app/src/main/assets/static/fonts/glyphicons-halflings-regular.woff
WARNING: Found possible binary at app/src/main/assets/static/fonts/glyphicons-halflings-regular.woff2
WARNING: Found possible binary at app/src/main/assets/static/fonts/glyphicons-halflings-regular.ttf
WARNING: Found possible binary at app/src/main/assets/static/css/images/spritesheet.png
WARNING: Found possible binary at app/src/main/assets/static/css/images/spritesheet-2x.png
INFO: Creating source tarball...
INFO: Building Gradle project...
INFO: Successfully built version 2.0.4 of com.stackunderflow.stackptr
INFO: success: com.stackunderflow.stackptr
INFO: Finished.
INFO: 1 builds succeeded

Let me know if you'd like any further info.

Cheers.

@gm-stack
Copy link
Member

gm-stack commented Feb 5, 2016

Awesome! Thanks so much for that!

glyphicons-halflings-regular* is from Bootstrap, spritesheet*.png is from leaflet-draw, both of which are MIT licensed, so there should be no licensing issues.

@pserwylo
Copy link
Author

pserwylo commented Feb 5, 2016

both of which are MIT licensed, so there should be no licensing issues.

Yup, I'd suspect as much. Unfortunately the fdroid tools are quite picky when looking at binaries, so you'll proably want to talk to krt or mvdan on #fdroid to ask what to do regrading these files.

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