hiroshiyui / GuilelessBopomofo

Guileless Bopomofo(樸實注音鍵盤)- A Bopomofo(注音符號)software keyboard (aka input method editor) on Android, which is utilizing libchewing for intelligent phonetic processing.
Other
91 stars 5 forks source link

F-Droid can't build #37

Closed licaon-kter closed 1 month ago

licaon-kter commented 1 month ago

...as libchewing is not built, ref: https://github.com/hiroshiyui/GuilelessBopomofo/issues/35

...
> Task :app:compileReleaseKotlin FAILED
e: file:///home/vagrant/build/org.ghostsinthelab.apps.guilelessbopomofo/app/src/main/java/org/ghostsinthelab/apps/guilelessbopomofo/ChewingBridge.kt:22:12 Unresolved reference: miyabi_hiroshi
e: file:///home/vagrant/build/org.ghostsinthelab.apps.guilelessbopomofo/app/src/main/java/org/ghostsinthelab/apps/guilelessbopomofo/ChewingBridge.kt:28:18 Unresolved reference: Chewing
e: file:///home/vagrant/build/org.ghostsinthelab.apps.guilelessbopomofo/app/src/main/java/org/ghostsinthelab/apps/guilelessbopomofo/ChewingBridge.kt:28:28 Unresolved reference: Chewing
e: file:///home/vagrant/build/org.ghostsinthelab.apps.guilelessbopomofo/app/src/main/java/org/ghostsinthelab/apps/guilelessbopomofo/GuilelessBopomofoService.kt:130:54 Unresolved reference: it

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileReleaseKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
   > Compilation error. See log for more details

/LE: fyi https://gitlab.com/fdroid/fdroiddata/-/commit/d6ad003d380d73a2fd96597f7bc3bcb166268d04

linsui commented 1 month ago

We need to build the aar and put it in https://github.com/hiroshiyui/GuilelessBopomofo/tree/master/app/libs, right? Does that fail or?

licaon-kter commented 1 month ago

https://github.com/hiroshiyui/libchewingAndroidAppModule ? I didn't get a chance to test it yet, feel free :)

hiroshiyui commented 1 month ago

Hi, I apologize for the changes I made that caused the build to fail. Please let me know if there are any ways I can assist to resolve the issue.

hiroshiyui commented 1 month ago

Did a fdroid build -v -l org.ghostsinthelab.apps.guilelessbopomofo on my local server:

2024-05-22 18:59:46,839 INFO: Scanning source for common problems...
2024-05-22 18:59:46,841 DEBUG: scanner is configured to use signature data from: 'suss'
2024-05-22 18:59:46,848 INFO: Removing gradle-wrapper.jar at gradle/wrapper/gradle-wrapper.jar
2024-05-22 18:59:46,849 ERROR: Found Android AAR library at app/libs/libchewing_android_app_module_0.8.2-release.aar
2024-05-22 18:59:46,854 ERROR: Could not build app org.ghostsinthelab.apps.guilelessbopomofo: Can't build due to 1 error while scanning