abouttreesummaryrefslogcommitdiff
path: root/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2022-04-24Remove build dependency on FontforgeJules Aguillon1-10/+9
The required version of fontforge (from 2020!) is not available in many distros. This is an annoying for contributors and greatly complicated the CI and F-Droid scripts. The generated font file is now included in the sources. Fontforge is still needed when adding new glyphs but this is not a common operation.
2022-04-16Makefile: Pass -r to adb installJules Aguillon1-1/+1
Fails to update on some versions of Android without it.
2022-04-16Fix compatibility with Android 6Jules Aguillon1-1/+1
Android 6 uses Java 1.7, the only incompatible feature in use was lambdas.
2022-04-02Upgrade CI workflow (#111)Raphael1-3/+3
* Cache dependencies on CI workflow * Use available fontforge version for CI action Avoid a dirty OS upgrade to get a newer version of FontForge, use what is available at Ubuntu 20.04 * Upgrade CI Workflow By using an appimage of FontForge, it's easier to install the latest version, to cache it, and there is no extra dependencies clashes with Ubuntu 20.04 * Make paths for fontforge absolute in makefile It's necessary because fontforge is an AppImage and requires it * Improve cache step on CI wget don't download a duplicate if file already exists * Generate base64 ascii encoded debug keystore That can be used to transfer the keystore to a Github Secret * Restore debug.keystore from github secrets Get the asc encoded keystore from github secrets, and decode it back to a bynary file inside the CI run. * Cleanup redundant lines and add explanation comment * runs-on ubuntu-latest Co-authored-by: Jules Aguillon <jules@j3s.fr> * add *.keystore.asc to .gitignore * Clean up lines, adjust documentation * use CURDIR automatic makefile variable Co-authored-by: Jules Aguillon <jules@j3s.fr>
2022-03-18Build all special glyphs from SVGJules Aguillon1-4/+3
Recover the provenance of each glyphs and remove the base_font.ttf file.
2022-03-17Stateless build of the special font fileJules Aguillon1-5/+14
Keep the glyphs in SVG format and build the font using a FontForge script. A part of the previous font is kept because the sources is lost. This adds a new dependency to the build system, fontforge.
2022-03-14Identify debug version in app nameJules Aguillon1-2/+6
Using the --product option of aapt. Remove the app name from translations because it is never translated. It is still possible to translate it by specifying 'product="default"'.
2022-03-05Improve the code for dynamic updates of the layoutJules Aguillon1-1/+1
2022-02-07build: Use d8 instead of dxJules Aguillon1-1/+1
dx have been removed in android build tools >30.0.3 in favor of d8. Lift the version constraint on the build tools.
2022-02-05Use apksigner from the build tools for release builds tooJules Aguillon1-1/+1
2022-02-05Makefile: Pass full path when calling apksignerMax Schillinger1-1/+1
2022-01-20Makefile: Sign the debug apk with scheme v2Jules Aguillon1-3/+2
2021-12-14Use apksigner for signing the apkJules Aguillon1-11/+9
The Play Store now requires the "Signing Scheme V2", which is implemented by apksigner.
2021-12-12Upgrade to Android SDK version 30Jules Aguillon1-1/+1
2021-04-20build: Explicitly set signing algorithmsJules Aguillon1-1/+1
Newer versions of jarsigner default to SHA256, which is unsupported for some versions of Android we support.
2021-04-13Change build system to makeJules Aguillon1-0/+111
The ant scripts included in the android SDK were removed recently. The alternative is Gradle. Gradle doesn't work well in this app because it's not possible to use Nix to pull dependencies. Gradle will try to patch the SDK. Also, it's very slow. It turns out the required build script is quite simple.