64 Commits

Author SHA1 Message Date
adbenitez 589d1c3569 Merge remote-tracking branch 'upstream/main' 2024-08-25 21:15:09 +02:00
Asiel Díaz Benítez c4698fcf60 Merge pull request #3241 from deltachat/r10s/use-system-language
use system language, support per-app-language-selection
2024-08-25 15:26:51 +02:00
adbenitez 9374d1adf3 release FOSS for IzzyOnDroid 2024-08-24 18:18:00 +02:00
adbenitez 30cdb183d3 Merge remote-tracking branch 'upstream/main' 2024-08-23 12:35:29 +02:00
B. Petersen 126552b419 clean content of obj and build folders
explicitly list the content to be deleted,
to have some more general protection in case sth. goes wrong accidentally ...
2024-08-23 10:43:13 +02:00
B. Petersen 49b48ef8bd remove language-option from appearance options 2024-08-16 23:11:50 +02:00
adbenitez bab62405fd Merge remote-tracking branch 'upstream/main' 2024-08-07 14:02:37 +02:00
bjoern 0733ffabb2 tweak release script notes (#3203) 2024-08-03 00:47:32 +02:00
adbenitez ccd187727d Merge remote-tracking branch 'upstream/main' 2024-07-07 20:04:47 +02:00
adbenitez d4048efb52 rename fat flavor to foss 2024-06-14 17:58:53 +02:00
adbenitez 18384f9c69 Merge remote-tracking branch 'upstream/main' into adb/merge-code-tree-changes 2024-06-13 18:50:37 +02:00
adbenitez bd669edf4e update scripts to new res and assets folder location 2024-06-12 22:17:54 +02:00
adbenitez 3d73ca43b6 Merge remote-tracking branch 'upstream/main' 2024-04-05 18:12:38 -04:00
link2xt 122bb0dbff build: update from Rust 1.72.0 to Rust 1.77.0 2024-04-05 13:35:23 +00:00
adbenitez 7690dbd9ac Merge remote-tracking branch 'upstream/main' 2024-03-06 23:55:19 -05:00
B. Petersen c996c766b2 tweak scripts/clean-core.sh
the idea of the script
is to prune all possible caches
that may cause problems when updating core.

it is run usually before a release
and to make sure a core is rebuild from scratch.
2024-03-06 22:17:31 +01:00
adbenitez 47b2f4d259 enable arm64-v8a again 2024-02-10 00:36:33 -05:00
adbenitez 30ca11cd36 Merge remote-tracking branch 'upstream/main' 2023-12-09 23:25:56 -05:00
B. Petersen 24b7a4fed8 adapt ./scripts/grep-strings.sh to updated repos 2023-12-06 14:07:34 +01:00
adbenitez c5da934fc1 don't build 64bit architectures 2023-11-05 22:06:13 +01:00
link2xt 35a542b574 build: update to Rust 1.72.0 2023-08-26 00:48:35 +00:00
Paul van Leeuwen e7aaebf9ff Update ndk-make.sh initial comment to suggest an app for determining CPU architecture 2023-07-13 10:43:06 +02:00
link2xt 2849555088 Compile native library with -fvisibility=hidden
This avoids exposing the symbols of the used libraries like SQLite3
and reduces the library size.
2023-06-27 22:36:07 +00:00
link2xt e43aeb0d5b chore: update rust-toolchain to 1.70.0 2023-06-27 16:29:54 +00:00
link2xt 38a716a63b Reduce libnative-utils.so size 2023-06-27 13:55:15 +00:00
bjoern 5df31105ce ./update-core.sh accepts tags as well as branches (#2583)
* ./update-core.sh accepts tags as well as branches

* stop update.core.sh on all errors
2023-06-07 11:50:59 +02:00
link2xt 4f468a4b8f Add DcJsonrpcInstance class 2023-04-22 17:58:03 +00:00
B. Petersen d2901e0a47 search for translation errors in ./res/, not in intermediate files 2023-04-06 21:35:50 +02:00
link2xt fa7812ab0d Remove workaround for Rust built against r22b NDK
Rust 1.68.0 targets NDK r25, so the workaround is no longer needed.
2023-04-06 12:49:00 +00:00
link2xt f6562c412f Update to Rust 1.68.2 2023-04-06 12:49:00 +00:00
bjoern da517bdc9b prepare 1.36.2 (#2535)
* update deltachat-core-rust to 'ref: More logging for ongoing and get_backup (#4289)' of branch 'stable-1.112'

* update changelog for 1.36.2

* bump version to 1.36.2

* add some feedback at end of upload-release script, similar to upload-beta
2023-04-05 15:41:15 +02:00
link2xt 03a98f5e78 scripts/ndk-make.sh: enable debug builds explicitly with --debug
Currently F-Droid builds split architecture .apks
by invoking ndk-make.sh with architecture argument.
This results in debug builds of the core.

This change makes debug builds explicit.
2023-03-07 10:46:58 +00:00
bjoern 08bb30eb3a add codespell, fix typos (#2490)
* add script to call codespell utility

* fix typos found by scripts/codespell.sh
2023-03-06 13:44:46 +01:00
link2xt 1eb04a8bcb scripts/ndk-make.sh: set ranlib path 2023-03-04 01:12:06 +00:00
link2xt 86af180095 scripts/ndk-make.sh: remove CFLAGS setting
Setting __ANDROID_API__ manually causes
  '__ANDROID_API__' macro redefined [-Werror,-Wmacro-redefined]
when compiling the `ring` crate dependency.

TARGET_CC wrapper should set necessary variables itself.

See similar issue in the `ring` bugtracker for explanation:
https://github.com/briansmith/ring/issues/1519
2023-03-04 00:13:17 +00:00
link2xt 84a767dc17 scripts/ndk-make.sh: use absolute paths for TARGET_{CC,AR}
Do not assume that $PATH contains toolchain bin/
2023-03-01 00:27:25 +00:00
link2xt be8f9f1468 scripts/ndk-make.sh: export RUSTUP_TOOLCHAIN
This allows to build the core on systems without rustup.
In this case system rust is used,
but there is no error due to `+1.64.0`
being unknown argument to non-rustup cargo.
2023-03-01 00:27:25 +00:00
link2xt 8ed79c5b27 scripts/ndk-make.sh: unset RUSTFLAGS
Common way to configure `mold` is to set

    RUSTFLAGS="-C linker=clang -C link-arg=-fuse-ld=/usr/bin/mold"

This breaks cross-compilation, as wrong linker is used.
2023-03-01 00:27:25 +00:00
link2xt 63fc13179b scripts/ndk-make.sh: escape grep argument
This makes `scripts/ndk-make.sh` print meaningful error.
2023-03-01 00:26:43 +00:00
bjoern 8620b85416 prepare 1.34.13 (#2472)
* update CHANGELOG for 1.34.13

* nudge outselves to drop a line about what to test

the changelog is not always sufficient for that.

* bump version to 1.34.13
2023-02-09 23:21:00 +01:00
B. Petersen ae4a725764 clarify branch name in update script 2023-02-02 14:54:00 +01:00
bjoern c4651acceb adapt ./scripts/update-core.sh to work with different branches (#2460) 2023-01-31 14:51:45 +01:00
link2xt 543a7965c2 Remove ndk-make.sh symlink to scripts/ndk-make.sh
If scripts are always called directly without symlink,
there is no need to use `realpath` which is not available
on some systems.

F-Droid builds already use scripts/ndk-make.sh:
<https://gitlab.com/fdroid/fdroiddata/blob/master/metadata/com.b44t.messenger.yml>

Same for nightly builds running on Concourse CI.
2023-01-05 18:38:20 +00:00
link2xt 2f8992a77c Use realpath for the case of running the script via symlink 2023-01-02 14:47:04 +00:00
link2xt 78aada7027 Explicitly set RUSTUP_TOOLCHAIN to 1.64.0
Core is supposed to support all Rust versions above
MSRV, there is no need to use the same toolchain for
the core across all platforms.
2022-12-30 16:32:52 +00:00
B. Petersen d72c0eebb7 use new node directory for grep-string.sh 2022-12-22 14:24:43 +01:00
link2xt 0c87742577 Make ndk-make.sh work with the standard shell 2022-12-09 17:41:26 +00:00
bjoern f2e1503b52 adapt build script for M1/M2 hosts (#2433)
* adapt build script for M1/M2 hosts

* GUI way to set up build environment, update NDK information

* more precice warning message
2022-12-04 02:01:04 +01:00
bjoern 8b308ca3be check translation for bad lineends (#2389)
`<br>` lineends are not allowed in strings.xml
and lead to compile errors as "terminating tag missing".

(adding these checks as this pop up from time to time and is easily overseen)
2022-09-30 15:36:30 +02:00
link2xt 2c49febc92 Move ndk-make.sh to scripts/
Keep symlink for backwards compatibility.
2022-08-14 17:46:03 +00:00