deltachat/docs/f-droid.md
2024-06-17 16:22:42 +02:00

3.1 KiB

F-Droid - Overview

F-Droid Build status

Use F-Droid-tools locally

$ git clone https://gitlab.com/fdroid/fdroiddata
$ git clone https://gitlab.com/fdroid/fdroidserver
$ cd fdroiddata

now, metadata/com.b44t.messenger.yml can be modified. for testing, one can change the repo to a branch by adding the line Update Check Mode:RepoManifest/BRANCH to the file.

set some path to ndk etc:
$ cp ../fdroidserver/examples/config.py . # adapt file as needed

checkout repo as f-droid would do:
$ ../fdroidserver/fdroid checkupdates -v com.b44t.messenger
(for testing with uncommitted changes, add --allow-dirty)

build repo as f-droid would do:
$ ../froidserver/fdroid build -v com.b44t.messenger:

(via https://f-droid.org/docs/Installing_the_Server_and_Repo_Tools/ and https://f-droid.org/docs/Building_Applications/ - might require pip install pyasn1 pyasn1_modules pyaml requests)

Changing the description

Changing F-Droid metadata

  • the file com.b44t.messenger.yml can be changed via a PR to the https://gitlab.com/fdroid/fdroiddata/ repository

  • reformat the metadata using
    $ ../fdroidserver/fdroid rewritemeta com.b44t.messenger # called from fdroiddata dir