F-Droid Devs

105 Members
F-Droid development discussion only | Use #fdroid:f-droid.org for general, app- and repo-related matters | Meeting every Thursday at 11:30 UTC | This channel is publicly logged at https://view.matrix.org/alias/%23fdroid-dev:f-droid.org17 Servers

Load older messages


SenderMessageTime
22 Oct 2020
@freenode_mimi89999:matrix.orgmimi89999Actually, apksig says that shis flag means something else16:52:46
@freenode_mimi89999:matrix.orgmimi89999 https://cs.android.com/android/platform/superproject/+/master:tools/apksig/src/main/java/com/android/apksig/internal/zip/ZipUtils.java;bpv=1;bpt=1;l=41?q=deflate&ss=android%2Fplatform%2Fsuperproject:tools%2Fapksig%2Fsrc%2F 16:52:46
@freenode_mimi89999:matrix.orgmimi89999UTF-8 character encoding used for entry name16:52:53
@eighthave:matrix.org_hcyeah, ZIP flags are a wierd world17:15:08
@freenode_mimi89999:matrix.orgmimi89999Next issue is that they have stronger compression17:18:27
@freenode_mimi89999:matrix.orgmimi89999 I'm like WTF? 17:18:41
@freenode_mimi89999:matrix.orgmimi89999How can we get the same compression level using a different lib than the one apksig is using?17:36:17
@eighthave:matrix.org_hcI'm not sure that compression is deterministic, it might have a random elemnet18:02:30
@freenode_mimi89999:matrix.orgmimi89999Maybe a lib is deterministic, but not cross-lib.18:13:43
@freenode_est31:matrix.orgest31compression libraries like zlib are deterministic23:55:05
@freenode_est31:matrix.orgest31 otherwise reproducible builds wouldn't work at all 23:55:14
@freenode_est31:matrix.orgest31but cross lib compression fails indeed23:55:28
23 Oct 2020
@freenode_mimi89999:matrix.orgmimi89999 Currently my idea is to use apksig's own code. 06:35:54
@freenode_mimi89999:matrix.orgmimi89999BTW, why was PNG compression not reproducible?06:37:16
@freenode_mimi89999:matrix.orgmimi89999Could somebody else continue work on this (write a util based on apksig to copy signatures)08:06:11
@_xmpp_marzzzello=40trashserver.net:matrix.orgmarzzzello joined the room.08:58:17
@_xmpp_marzzzello=40trashserver.net:matrix.orgmarzzzello left the room.08:58:18
@hardsushi:matrix.orgHardcore SushiHi ! I finally decided to try the fdroidserver to publish my app. Does the build server support golang compilation or I have to install it in metadata build instructions ? Here is my metadata file: https://bin.disroot.org/?fd7f72ec60a18fa9#FTJRXKBh1nEnh2BoDtz1ARHEuXCYg7sKu5YcFYyfE2pj And here is my build script for building the golang library: https://github.com/hardcore-sushi/DroidFS/blob/master/app/libgocryptfs/build.sh Also, are the paths to ndk binaries correct on the build server ?09:17:17
@freenode_huss:matrix.orghuss joined the room.10:31:58
@freenode_lineos_:matrix.orglineos_ left the room.10:54:44
@bubu:bubu1.euBubuI'll udpate the f-droid forum in a few minutes11:43:58
@bubu:bubu1.euBubuall done12:03:35
@eighthave:matrix.org_hcthanks!12:31:44
@eighthave:matrix.org_hc Bubu: FYI I found the buildserver setup that is using NFS sharing, e.g. synced_folder_type = 'nfs'. Its verification. 12:32:29
@eighthave:matrix.org_hc Hardcore Sushi: for golang, you'll need to include the install steps in your build recipe in the metadata file. Perhaps there are some apps that have already done it that you can take from 12:33:29
@eighthave:matrix.org_hc the VM is stretch-backports so the Debian package is likely too old 12:33:51
@hardsushi:matrix.orgHardcore SushiOK thanks, I will do that12:34:29
@eighthave:matrix.org_hc I think you can use ANDROID_NDK_HOME or whatever env var is called in order to find the ndk 12:34:30
@eighthave:matrix.org_hc mimi89999: PNG crunching is not reproducible since it randomly tries things, then choose the best result. 12:35:04
@hardsushi:matrix.orgHardcore SushiYes but I need the binary file like: $ANDROID_NDK_HOME/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin12:35:05

Show newer messages


Back to Room ListRoom Version: 1