-
Notifications
You must be signed in to change notification settings - Fork 161
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 #62
Comments
Hi, thanks for including the package on F-Droid. Where those errors came from? How is the build process working to release the app on F-Droid? |
This script could work for us if the SDK path was not hardcoded: diff --git a/compileJni.sh b/compileJni.sh
index 9a76b5a..a16dc11 100755
--- a/compileJni.sh
+++ b/compileJni.sh
@@ -3,7 +3,7 @@
JNI_SRC="mjpeg-view/src/main"
rm -fr $JNI_SRC/jniLibs
-~/Library/Android/sdk/ndk-bundle/ndk-build -C $JNI_SRC
+$ANDROID_HOME/ndk-bundle/ndk-build -C $JNI_SRC
cp -a $JNI_SRC/libs $JNI_SRC/jniLibs
rm -fr $JNI_SRC/libs $JNI_SRC/obj However, if you are rewriting the app, it might be safer to wait before including it in F-Droid (so we don't have to do the packaging work twice). |
I can create a PR for that now if you want, is not a big deal. Regarding the rewrite is not something that is going to happen any time soon, just considering how and what to do. |
Well, if building the libraries is as easy as running this script, I guess I can work on packaging the current version. |
Are these prebuilt libraries really necessary? |
No, I was planning to remove it before considering a full rewrite. The native implementation is broken and never got time to try to fix it. If it compiles and work just ignore those files |
Oh OK so we can totally package this on F-Droid then. |
Nice, I'll merge the PR then, is that enough? |
If you are talking about #63, I don't think we strictly need it, it's just something our linter complains about. So I think you should merge it (for security reasons) but it is not a requirement. |
Got it, is correct the command I've added in the PR to generate the hash? or how did you get that and what should I run next time I bump the version? |
You can check our inclusion policy. Feel free to open a request for your other app if it meets the criteria. |
Awesome, thanks! |
Sorry to bother you again but I tried to build v1.6 and it does not work correctly.
However 663e23e builds and runs correctly. |
Yep, I'm going to release the latest version now, I'll tell you when is done |
I've released app |
It works, thanks! |
F-Droid received a Request For Packaging for your app.
To be build by F-Droid, we need to find a way to build everything from source. Could you help us to do so? Here are the problematic prebuilt libraries:
The text was updated successfully, but these errors were encountered: