From 1c690f4189be8b42c20cb0351b9bf429632722cf Mon Sep 17 00:00:00 2001 From: linsui Date: Thu, 25 Apr 2024 20:01:21 +0800 Subject: [PATCH] fcitx5: 0.0.9 --- .../org.fcitx.fcitx5.android.plugin.anthy.yml | 180 ++++++++++++++++- ...rg.fcitx.fcitx5.android.plugin.chewing.yml | 180 ++++++++++++++++- ...fcitx5.android.plugin.clipboard_filter.yml | 24 ++- ...org.fcitx.fcitx5.android.plugin.hangul.yml | 180 ++++++++++++++++- ...g.fcitx.fcitx5.android.plugin.jyutping.yml | 184 ++++++++++++++++- .../org.fcitx.fcitx5.android.plugin.rime.yml | 180 ++++++++++++++++- ...org.fcitx.fcitx5.android.plugin.sayura.yml | 180 ++++++++++++++++- ...org.fcitx.fcitx5.android.plugin.unikey.yml | 180 ++++++++++++++++- metadata/org.fcitx.fcitx5.android.yml | 188 +++++++++++++++++- 9 files changed, 1458 insertions(+), 18 deletions(-) diff --git a/metadata/org.fcitx.fcitx5.android.plugin.anthy.yml b/metadata/org.fcitx.fcitx5.android.plugin.anthy.yml index 9e2113339a..bae24ff492 100644 --- a/metadata/org.fcitx.fcitx5.android.plugin.anthy.yml +++ b/metadata/org.fcitx.fcitx5.android.plugin.anthy.yml @@ -553,6 +553,182 @@ Builds: gradleprops: - buildABI=x86_64 + - versionName: 0.0.9-0-g8dc51356 + versionCode: 71 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: plugin/anthy + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config + cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils + automake libghc-aeson-pretty-dev libtool + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android.plugin.anthy-%v-armeabi-v7a-release.apk + srclibs: + - fcitx5-android-prebuilder@a242121699c037e9f97725db3aa15d78efc9b1ae + rm: + - lib/fcitx5/src/main/cpp/prebuilt + prebuild: + - cp -R ../../gradle . + - cd ../.. + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs + - sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scanignore: + - lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + scandelete: + - build-logic/convention/build + build: + - pushd $$fcitx5-android-prebuilder$$ + - cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic + --ghc-options=-dynamic + - ABI=armeabi-v7a ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + ./build-cabal -j fmt libuv libintl-lite anthy-dict + - popd + - mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt + ndk: 25.2.9519653 + gradleprops: + - buildABI=armeabi-v7a + + - versionName: 0.0.9-0-g8dc51356 + versionCode: 72 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: plugin/anthy + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config + cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils + automake libghc-aeson-pretty-dev libtool + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android.plugin.anthy-%v-arm64-v8a-release.apk + srclibs: + - fcitx5-android-prebuilder@a242121699c037e9f97725db3aa15d78efc9b1ae + rm: + - lib/fcitx5/src/main/cpp/prebuilt + prebuild: + - cp -R ../../gradle . + - cd ../.. + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs + - sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scanignore: + - lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + scandelete: + - build-logic/convention/build + build: + - pushd $$fcitx5-android-prebuilder$$ + - cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic + --ghc-options=-dynamic + - ABI=arm64-v8a ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + ./build-cabal -j fmt libuv libintl-lite anthy-dict + - popd + - mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt + ndk: 25.2.9519653 + gradleprops: + - buildABI=arm64-v8a + + - versionName: 0.0.9-0-g8dc51356 + versionCode: 73 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: plugin/anthy + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config + cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils + automake libghc-aeson-pretty-dev libtool + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android.plugin.anthy-%v-x86-release.apk + srclibs: + - fcitx5-android-prebuilder@a242121699c037e9f97725db3aa15d78efc9b1ae + rm: + - lib/fcitx5/src/main/cpp/prebuilt + prebuild: + - cp -R ../../gradle . + - cd ../.. + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs + - sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scanignore: + - lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + scandelete: + - build-logic/convention/build + build: + - pushd $$fcitx5-android-prebuilder$$ + - cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic + --ghc-options=-dynamic + - ABI=x86 ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + ./build-cabal -j fmt libuv libintl-lite anthy-dict + - popd + - mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt + ndk: 25.2.9519653 + gradleprops: + - buildABI=x86 + + - versionName: 0.0.9-0-g8dc51356 + versionCode: 74 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: plugin/anthy + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config + cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils + automake libghc-aeson-pretty-dev libtool + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android.plugin.anthy-%v-x86_64-release.apk + srclibs: + - fcitx5-android-prebuilder@a242121699c037e9f97725db3aa15d78efc9b1ae + rm: + - lib/fcitx5/src/main/cpp/prebuilt + prebuild: + - cp -R ../../gradle . + - cd ../.. + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs + - sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scanignore: + - lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + scandelete: + - build-logic/convention/build + build: + - pushd $$fcitx5-android-prebuilder$$ + - cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic + --ghc-options=-dynamic + - ABI=x86_64 ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + ./build-cabal -j fmt libuv libintl-lite anthy-dict + - popd + - mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt + ndk: 25.2.9519653 + gradleprops: + - buildABI=x86_64 + AllowedAPKSigningKeys: e4db1e9edff13629d07de4bbf8165fe9bd8557ab55092672da8e40dbe484ecd7 AutoUpdateMode: None @@ -564,5 +740,5 @@ VercodeOperation: - 10 * %c + 4 UpdateCheckData: https://raw.githubusercontent.com/fcitx5-android/fcitx5-android/master/build-logic/convention/src/main/kotlin/Versions.kt|baseVersionCode = (\d+)|https://github.com/fcitx5-android/fcitx5-android/releases/latest/download/build-metadata.plugin.anthy.json|"versionName":\s"(.*)" -CurrentVersion: 0.0.8-0-g4c8399ad -CurrentVersionCode: 64 +CurrentVersion: 0.0.9-0-g8dc51356 +CurrentVersionCode: 74 diff --git a/metadata/org.fcitx.fcitx5.android.plugin.chewing.yml b/metadata/org.fcitx.fcitx5.android.plugin.chewing.yml index 439ac7fe3d..e069fb3fe3 100644 --- a/metadata/org.fcitx.fcitx5.android.plugin.chewing.yml +++ b/metadata/org.fcitx.fcitx5.android.plugin.chewing.yml @@ -193,6 +193,182 @@ Builds: gradleprops: - buildABI=x86_64 + - versionName: 0.0.9-0-g8dc51356 + versionCode: 71 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: plugin/chewing + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config + texinfo cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils + automake libghc-aeson-pretty-dev libtool + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android.plugin.chewing-%v-armeabi-v7a-release.apk + srclibs: + - fcitx5-android-prebuilder@a242121699c037e9f97725db3aa15d78efc9b1ae + rm: + - lib/fcitx5/src/main/cpp/prebuilt + prebuild: + - cp -R ../../gradle . + - cd ../.. + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs + - sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scanignore: + - lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + scandelete: + - build-logic/convention/build + build: + - pushd $$fcitx5-android-prebuilder$$ + - cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic + --ghc-options=-dynamic + - ABI=armeabi-v7a ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + ./build-cabal -j fmt libuv libintl-lite libchewing + - popd + - mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt + ndk: 25.2.9519653 + gradleprops: + - buildABI=armeabi-v7a + + - versionName: 0.0.9-0-g8dc51356 + versionCode: 72 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: plugin/chewing + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config + texinfo cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils + automake libghc-aeson-pretty-dev libtool + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android.plugin.chewing-%v-arm64-v8a-release.apk + srclibs: + - fcitx5-android-prebuilder@a242121699c037e9f97725db3aa15d78efc9b1ae + rm: + - lib/fcitx5/src/main/cpp/prebuilt + prebuild: + - cp -R ../../gradle . + - cd ../.. + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs + - sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scanignore: + - lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + scandelete: + - build-logic/convention/build + build: + - pushd $$fcitx5-android-prebuilder$$ + - cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic + --ghc-options=-dynamic + - ABI=arm64-v8a ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + ./build-cabal -j fmt libuv libintl-lite libchewing + - popd + - mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt + ndk: 25.2.9519653 + gradleprops: + - buildABI=arm64-v8a + + - versionName: 0.0.9-0-g8dc51356 + versionCode: 73 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: plugin/chewing + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config + texinfo cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils + automake libghc-aeson-pretty-dev libtool + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android.plugin.chewing-%v-x86-release.apk + srclibs: + - fcitx5-android-prebuilder@a242121699c037e9f97725db3aa15d78efc9b1ae + rm: + - lib/fcitx5/src/main/cpp/prebuilt + prebuild: + - cp -R ../../gradle . + - cd ../.. + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs + - sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scanignore: + - lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + scandelete: + - build-logic/convention/build + build: + - pushd $$fcitx5-android-prebuilder$$ + - cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic + --ghc-options=-dynamic + - ABI=x86 ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + ./build-cabal -j fmt libuv libintl-lite libchewing + - popd + - mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt + ndk: 25.2.9519653 + gradleprops: + - buildABI=x86 + + - versionName: 0.0.9-0-g8dc51356 + versionCode: 74 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: plugin/chewing + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config + texinfo cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils + automake libghc-aeson-pretty-dev libtool + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android.plugin.chewing-%v-x86_64-release.apk + srclibs: + - fcitx5-android-prebuilder@a242121699c037e9f97725db3aa15d78efc9b1ae + rm: + - lib/fcitx5/src/main/cpp/prebuilt + prebuild: + - cp -R ../../gradle . + - cd ../.. + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs + - sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scanignore: + - lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + scandelete: + - build-logic/convention/build + build: + - pushd $$fcitx5-android-prebuilder$$ + - cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic + --ghc-options=-dynamic + - ABI=x86_64 ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + ./build-cabal -j fmt libuv libintl-lite libchewing + - popd + - mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt + ndk: 25.2.9519653 + gradleprops: + - buildABI=x86_64 + AllowedAPKSigningKeys: e4db1e9edff13629d07de4bbf8165fe9bd8557ab55092672da8e40dbe484ecd7 AutoUpdateMode: None @@ -204,5 +380,5 @@ VercodeOperation: - 10 * %c + 4 UpdateCheckData: https://raw.githubusercontent.com/fcitx5-android/fcitx5-android/master/build-logic/convention/src/main/kotlin/Versions.kt|baseVersionCode = (\d+)|https://github.com/fcitx5-android/fcitx5-android/releases/latest/download/build-metadata.plugin.chewing.json|"versionName":\s"(.*)" -CurrentVersion: 0.0.8-0-g4c8399ad -CurrentVersionCode: 64 +CurrentVersion: 0.0.9-0-g8dc51356 +CurrentVersionCode: 74 diff --git a/metadata/org.fcitx.fcitx5.android.plugin.clipboard_filter.yml b/metadata/org.fcitx.fcitx5.android.plugin.clipboard_filter.yml index 5d46020b06..e99fab4a3e 100644 --- a/metadata/org.fcitx.fcitx5.android.plugin.clipboard_filter.yml +++ b/metadata/org.fcitx.fcitx5.android.plugin.clipboard_filter.yml @@ -58,6 +58,26 @@ Builds: scandelete: - build-logic/convention/build + - versionName: 0.0.9-0-g8dc51356 + versionCode: 72 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: plugin/clipboard-filter + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android.plugin.clipboard_filter-%v-release.apk + prebuild: + - cp -R ../../gradle . + - cd ../.. + - sed -i -e 's|git@github.com:|https://github.com/|g' .gitmodules + - git submodule update --init plugin/clipboard-filter/ClearURLsRules + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.plugin.clipboard_filter.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scandelete: + - build-logic/convention/build + AllowedAPKSigningKeys: e4db1e9edff13629d07de4bbf8165fe9bd8557ab55092672da8e40dbe484ecd7 AutoUpdateMode: None @@ -66,5 +86,5 @@ VercodeOperation: - 10 * %c + 2 UpdateCheckData: https://raw.githubusercontent.com/fcitx5-android/fcitx5-android/master/build-logic/convention/src/main/kotlin/Versions.kt|baseVersionCode = (\d+)|https://github.com/fcitx5-android/fcitx5-android/releases/latest/download/build-metadata.plugin.clipboard_filter.json|"versionName":\s"(.*)" -CurrentVersion: 0.0.8-0-g4c8399ad -CurrentVersionCode: 62 +CurrentVersion: 0.0.9-0-g8dc51356 +CurrentVersionCode: 72 diff --git a/metadata/org.fcitx.fcitx5.android.plugin.hangul.yml b/metadata/org.fcitx.fcitx5.android.plugin.hangul.yml index e390d8d9fb..e9b1478506 100644 --- a/metadata/org.fcitx.fcitx5.android.plugin.hangul.yml +++ b/metadata/org.fcitx.fcitx5.android.plugin.hangul.yml @@ -193,6 +193,182 @@ Builds: gradleprops: - buildABI=x86_64 + - versionName: 0.0.9-0-g8dc51356 + versionCode: 71 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: plugin/hangul + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config + check cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils + automake libghc-aeson-pretty-dev libtool + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android.plugin.hangul-%v-armeabi-v7a-release.apk + srclibs: + - fcitx5-android-prebuilder@a242121699c037e9f97725db3aa15d78efc9b1ae + rm: + - lib/fcitx5/src/main/cpp/prebuilt + prebuild: + - cp -R ../../gradle . + - cd ../.. + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs + - sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scanignore: + - lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + scandelete: + - build-logic/convention/build + build: + - pushd $$fcitx5-android-prebuilder$$ + - cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic + --ghc-options=-dynamic + - ABI=armeabi-v7a ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + ./build-cabal -j fmt libuv libintl-lite libhangul + - popd + - mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt + ndk: 25.2.9519653 + gradleprops: + - buildABI=armeabi-v7a + + - versionName: 0.0.9-0-g8dc51356 + versionCode: 72 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: plugin/hangul + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config + check cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils + automake libghc-aeson-pretty-dev libtool + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android.plugin.hangul-%v-arm64-v8a-release.apk + srclibs: + - fcitx5-android-prebuilder@a242121699c037e9f97725db3aa15d78efc9b1ae + rm: + - lib/fcitx5/src/main/cpp/prebuilt + prebuild: + - cp -R ../../gradle . + - cd ../.. + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs + - sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scanignore: + - lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + scandelete: + - build-logic/convention/build + build: + - pushd $$fcitx5-android-prebuilder$$ + - cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic + --ghc-options=-dynamic + - ABI=arm64-v8a ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + ./build-cabal -j fmt libuv libintl-lite libhangul + - popd + - mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt + ndk: 25.2.9519653 + gradleprops: + - buildABI=arm64-v8a + + - versionName: 0.0.9-0-g8dc51356 + versionCode: 73 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: plugin/hangul + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config + check cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils + automake libghc-aeson-pretty-dev libtool + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android.plugin.hangul-%v-x86-release.apk + srclibs: + - fcitx5-android-prebuilder@a242121699c037e9f97725db3aa15d78efc9b1ae + rm: + - lib/fcitx5/src/main/cpp/prebuilt + prebuild: + - cp -R ../../gradle . + - cd ../.. + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs + - sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scanignore: + - lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + scandelete: + - build-logic/convention/build + build: + - pushd $$fcitx5-android-prebuilder$$ + - cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic + --ghc-options=-dynamic + - ABI=x86 ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + ./build-cabal -j fmt libuv libintl-lite libhangul + - popd + - mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt + ndk: 25.2.9519653 + gradleprops: + - buildABI=x86 + + - versionName: 0.0.9-0-g8dc51356 + versionCode: 74 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: plugin/hangul + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config + check cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils + automake libghc-aeson-pretty-dev libtool + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android.plugin.hangul-%v-x86_64-release.apk + srclibs: + - fcitx5-android-prebuilder@a242121699c037e9f97725db3aa15d78efc9b1ae + rm: + - lib/fcitx5/src/main/cpp/prebuilt + prebuild: + - cp -R ../../gradle . + - cd ../.. + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs + - sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scanignore: + - lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + scandelete: + - build-logic/convention/build + build: + - pushd $$fcitx5-android-prebuilder$$ + - cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic + --ghc-options=-dynamic + - ABI=x86_64 ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + ./build-cabal -j fmt libuv libintl-lite libhangul + - popd + - mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt + ndk: 25.2.9519653 + gradleprops: + - buildABI=x86_64 + AllowedAPKSigningKeys: e4db1e9edff13629d07de4bbf8165fe9bd8557ab55092672da8e40dbe484ecd7 AutoUpdateMode: None @@ -204,5 +380,5 @@ VercodeOperation: - 10 * %c + 4 UpdateCheckData: https://raw.githubusercontent.com/fcitx5-android/fcitx5-android/master/build-logic/convention/src/main/kotlin/Versions.kt|baseVersionCode = (\d+)|https://github.com/fcitx5-android/fcitx5-android/releases/latest/download/build-metadata.plugin.hangul.json|"versionName":\s"(.*)" -CurrentVersion: 0.0.8-0-g4c8399ad -CurrentVersionCode: 64 +CurrentVersion: 0.0.9-0-g8dc51356 +CurrentVersionCode: 74 diff --git a/metadata/org.fcitx.fcitx5.android.plugin.jyutping.yml b/metadata/org.fcitx.fcitx5.android.plugin.jyutping.yml index a0f3da1319..dee4881ac6 100644 --- a/metadata/org.fcitx.fcitx5.android.plugin.jyutping.yml +++ b/metadata/org.fcitx.fcitx5.android.plugin.jyutping.yml @@ -205,6 +205,186 @@ Builds: gradleprops: - buildABI=x86_64 + - versionName: 0.0.9-0-g8dc51356 + versionCode: 71 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: plugin/jyutping + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ make cmake xz-utils bzip2 extra-cmake-modules gettext + pkg-config ninja-build libfmt-dev libboost-all-dev cabal-install ghc libghc-shake-dev + opencc libghc-js-flot-data haskell-js-dgtable-utils automake libghc-aeson-pretty-dev + libtool libfcitx5utils-dev python-is-python3 zstd + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android.plugin.jyutping-%v-armeabi-v7a-release.apk + srclibs: + - fcitx5-android-prebuilder@a242121699c037e9f97725db3aa15d78efc9b1ae + rm: + - lib/fcitx5/src/main/cpp/prebuilt + prebuild: + - cp -R ../../gradle . + - cd ../.. + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs + - sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scanignore: + - lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + scandelete: + - build-logic/convention/build + build: + - pushd $$fcitx5-android-prebuilder$$ + - cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic + --ghc-options=-dynamic + - ABI=armeabi-v7a ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + ./build-cabal -j fmt libuv libintl-lite boost marisa opencc lua zstd libime-jyutping + - popd + - mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt + ndk: 25.2.9519653 + gradleprops: + - buildABI=armeabi-v7a + + - versionName: 0.0.9-0-g8dc51356 + versionCode: 72 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: plugin/jyutping + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ make cmake xz-utils bzip2 extra-cmake-modules gettext + pkg-config ninja-build libfmt-dev libboost-all-dev cabal-install ghc libghc-shake-dev + opencc libghc-js-flot-data haskell-js-dgtable-utils automake libghc-aeson-pretty-dev + libtool libfcitx5utils-dev python-is-python3 zstd + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android.plugin.jyutping-%v-arm64-v8a-release.apk + srclibs: + - fcitx5-android-prebuilder@a242121699c037e9f97725db3aa15d78efc9b1ae + rm: + - lib/fcitx5/src/main/cpp/prebuilt + prebuild: + - cp -R ../../gradle . + - cd ../.. + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs + - sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scanignore: + - lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + scandelete: + - build-logic/convention/build + build: + - pushd $$fcitx5-android-prebuilder$$ + - cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic + --ghc-options=-dynamic + - ABI=arm64-v8a ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + ./build-cabal -j fmt libuv libintl-lite boost marisa opencc lua zstd libime-jyutping + - popd + - mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt + ndk: 25.2.9519653 + gradleprops: + - buildABI=arm64-v8a + + - versionName: 0.0.9-0-g8dc51356 + versionCode: 73 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: plugin/jyutping + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ make cmake xz-utils bzip2 extra-cmake-modules gettext + pkg-config ninja-build libfmt-dev libboost-all-dev cabal-install ghc libghc-shake-dev + opencc libghc-js-flot-data haskell-js-dgtable-utils automake libghc-aeson-pretty-dev + libtool libfcitx5utils-dev python-is-python3 zstd + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android.plugin.jyutping-%v-x86-release.apk + srclibs: + - fcitx5-android-prebuilder@a242121699c037e9f97725db3aa15d78efc9b1ae + rm: + - lib/fcitx5/src/main/cpp/prebuilt + prebuild: + - cp -R ../../gradle . + - cd ../.. + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs + - sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scanignore: + - lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + scandelete: + - build-logic/convention/build + build: + - pushd $$fcitx5-android-prebuilder$$ + - cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic + --ghc-options=-dynamic + - ABI=x86 ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + ./build-cabal -j fmt libuv libintl-lite boost marisa opencc lua zstd libime-jyutping + - popd + - mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt + ndk: 25.2.9519653 + gradleprops: + - buildABI=x86 + + - versionName: 0.0.9-0-g8dc51356 + versionCode: 74 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: plugin/jyutping + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ make cmake xz-utils bzip2 extra-cmake-modules gettext + pkg-config ninja-build libfmt-dev libboost-all-dev cabal-install ghc libghc-shake-dev + opencc libghc-js-flot-data haskell-js-dgtable-utils automake libghc-aeson-pretty-dev + libtool libfcitx5utils-dev python-is-python3 zstd + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android.plugin.jyutping-%v-x86_64-release.apk + srclibs: + - fcitx5-android-prebuilder@a242121699c037e9f97725db3aa15d78efc9b1ae + rm: + - lib/fcitx5/src/main/cpp/prebuilt + prebuild: + - cp -R ../../gradle . + - cd ../.. + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs + - sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scanignore: + - lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + scandelete: + - build-logic/convention/build + build: + - pushd $$fcitx5-android-prebuilder$$ + - cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic + --ghc-options=-dynamic + - ABI=x86_64 ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + ./build-cabal -j fmt libuv libintl-lite boost marisa opencc lua zstd libime-jyutping + - popd + - mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt + ndk: 25.2.9519653 + gradleprops: + - buildABI=x86_64 + AllowedAPKSigningKeys: e4db1e9edff13629d07de4bbf8165fe9bd8557ab55092672da8e40dbe484ecd7 AutoUpdateMode: None @@ -216,5 +396,5 @@ VercodeOperation: - 10 * %c + 4 UpdateCheckData: https://raw.githubusercontent.com/fcitx5-android/fcitx5-android/master/build-logic/convention/src/main/kotlin/Versions.kt|baseVersionCode = (\d+)|https://github.com/fcitx5-android/fcitx5-android/releases/latest/download/build-metadata.plugin.jyutping.json|"versionName":\s"(.*)" -CurrentVersion: 0.0.8-0-g4c8399ad -CurrentVersionCode: 64 +CurrentVersion: 0.0.9-0-g8dc51356 +CurrentVersionCode: 74 diff --git a/metadata/org.fcitx.fcitx5.android.plugin.rime.yml b/metadata/org.fcitx.fcitx5.android.plugin.rime.yml index 0fffc26548..86ef1c94f9 100644 --- a/metadata/org.fcitx.fcitx5.android.plugin.rime.yml +++ b/metadata/org.fcitx.fcitx5.android.plugin.rime.yml @@ -205,6 +205,182 @@ Builds: gradleprops: - buildABI=x86_64 + - versionName: 0.0.9-0-g8dc51356 + versionCode: 71 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: plugin/rime + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config + opencc cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils + automake libghc-aeson-pretty-dev libtool python-is-python3 + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android.plugin.rime-%v-armeabi-v7a-release.apk + srclibs: + - fcitx5-android-prebuilder@a242121699c037e9f97725db3aa15d78efc9b1ae + rm: + - lib/fcitx5/src/main/cpp/prebuilt + prebuild: + - cp -R ../../gradle . + - cd ../.. + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs + - sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scanignore: + - lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + scandelete: + - build-logic/convention/build + build: + - pushd $$fcitx5-android-prebuilder$$ + - cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic + --ghc-options=-dynamic + - ABI=armeabi-v7a ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + ./build-cabal -j fmt libuv libintl-lite librime + - popd + - mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt + ndk: 25.2.9519653 + gradleprops: + - buildABI=armeabi-v7a + + - versionName: 0.0.9-0-g8dc51356 + versionCode: 72 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: plugin/rime + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config + opencc cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils + automake libghc-aeson-pretty-dev libtool python-is-python3 + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android.plugin.rime-%v-arm64-v8a-release.apk + srclibs: + - fcitx5-android-prebuilder@a242121699c037e9f97725db3aa15d78efc9b1ae + rm: + - lib/fcitx5/src/main/cpp/prebuilt + prebuild: + - cp -R ../../gradle . + - cd ../.. + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs + - sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scanignore: + - lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + scandelete: + - build-logic/convention/build + build: + - pushd $$fcitx5-android-prebuilder$$ + - cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic + --ghc-options=-dynamic + - ABI=arm64-v8a ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + ./build-cabal -j fmt libuv libintl-lite librime + - popd + - mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt + ndk: 25.2.9519653 + gradleprops: + - buildABI=arm64-v8a + + - versionName: 0.0.9-0-g8dc51356 + versionCode: 73 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: plugin/rime + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config + opencc cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils + automake libghc-aeson-pretty-dev libtool python-is-python3 + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android.plugin.rime-%v-x86-release.apk + srclibs: + - fcitx5-android-prebuilder@a242121699c037e9f97725db3aa15d78efc9b1ae + rm: + - lib/fcitx5/src/main/cpp/prebuilt + prebuild: + - cp -R ../../gradle . + - cd ../.. + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs + - sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scanignore: + - lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + scandelete: + - build-logic/convention/build + build: + - pushd $$fcitx5-android-prebuilder$$ + - cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic + --ghc-options=-dynamic + - ABI=x86 ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + ./build-cabal -j fmt libuv libintl-lite librime + - popd + - mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt + ndk: 25.2.9519653 + gradleprops: + - buildABI=x86 + + - versionName: 0.0.9-0-g8dc51356 + versionCode: 74 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: plugin/rime + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config + opencc cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils + automake libghc-aeson-pretty-dev libtool python-is-python3 + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android.plugin.rime-%v-x86_64-release.apk + srclibs: + - fcitx5-android-prebuilder@a242121699c037e9f97725db3aa15d78efc9b1ae + rm: + - lib/fcitx5/src/main/cpp/prebuilt + prebuild: + - cp -R ../../gradle . + - cd ../.. + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs + - sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scanignore: + - lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + scandelete: + - build-logic/convention/build + build: + - pushd $$fcitx5-android-prebuilder$$ + - cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic + --ghc-options=-dynamic + - ABI=x86_64 ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + ./build-cabal -j fmt libuv libintl-lite librime + - popd + - mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt + ndk: 25.2.9519653 + gradleprops: + - buildABI=x86_64 + AllowedAPKSigningKeys: e4db1e9edff13629d07de4bbf8165fe9bd8557ab55092672da8e40dbe484ecd7 AutoUpdateMode: None @@ -216,5 +392,5 @@ VercodeOperation: - 10 * %c + 4 UpdateCheckData: https://raw.githubusercontent.com/fcitx5-android/fcitx5-android/master/build-logic/convention/src/main/kotlin/Versions.kt|baseVersionCode = (\d+)|https://github.com/fcitx5-android/fcitx5-android/releases/latest/download/build-metadata.plugin.rime.json|"versionName":\s"(.*)" -CurrentVersion: 0.0.8-0-g4c8399ad -CurrentVersionCode: 64 +CurrentVersion: 0.0.9-0-g8dc51356 +CurrentVersionCode: 74 diff --git a/metadata/org.fcitx.fcitx5.android.plugin.sayura.yml b/metadata/org.fcitx.fcitx5.android.plugin.sayura.yml index 6831c7335a..e4ab9073bb 100644 --- a/metadata/org.fcitx.fcitx5.android.plugin.sayura.yml +++ b/metadata/org.fcitx.fcitx5.android.plugin.sayura.yml @@ -193,6 +193,182 @@ Builds: gradleprops: - buildABI=x86_64 + - versionName: 0.0.9-0-g8dc51356 + versionCode: 71 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: plugin/sayura + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config + cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils + automake libghc-aeson-pretty-dev libtool + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android.plugin.sayura-%v-armeabi-v7a-release.apk + srclibs: + - fcitx5-android-prebuilder@a242121699c037e9f97725db3aa15d78efc9b1ae + rm: + - lib/fcitx5/src/main/cpp/prebuilt + prebuild: + - cp -R ../../gradle . + - cd ../.. + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs + - sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scanignore: + - lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + scandelete: + - build-logic/convention/build + build: + - pushd $$fcitx5-android-prebuilder$$ + - cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic + --ghc-options=-dynamic + - ABI=armeabi-v7a ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + ./build-cabal -j fmt libuv libintl-lite + - popd + - mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt + ndk: 25.2.9519653 + gradleprops: + - buildABI=armeabi-v7a + + - versionName: 0.0.9-0-g8dc51356 + versionCode: 72 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: plugin/sayura + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config + cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils + automake libghc-aeson-pretty-dev libtool + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android.plugin.sayura-%v-arm64-v8a-release.apk + srclibs: + - fcitx5-android-prebuilder@a242121699c037e9f97725db3aa15d78efc9b1ae + rm: + - lib/fcitx5/src/main/cpp/prebuilt + prebuild: + - cp -R ../../gradle . + - cd ../.. + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs + - sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scanignore: + - lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + scandelete: + - build-logic/convention/build + build: + - pushd $$fcitx5-android-prebuilder$$ + - cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic + --ghc-options=-dynamic + - ABI=arm64-v8a ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + ./build-cabal -j fmt libuv libintl-lite + - popd + - mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt + ndk: 25.2.9519653 + gradleprops: + - buildABI=arm64-v8a + + - versionName: 0.0.9-0-g8dc51356 + versionCode: 73 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: plugin/sayura + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config + cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils + automake libghc-aeson-pretty-dev libtool + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android.plugin.sayura-%v-x86-release.apk + srclibs: + - fcitx5-android-prebuilder@a242121699c037e9f97725db3aa15d78efc9b1ae + rm: + - lib/fcitx5/src/main/cpp/prebuilt + prebuild: + - cp -R ../../gradle . + - cd ../.. + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs + - sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scanignore: + - lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + scandelete: + - build-logic/convention/build + build: + - pushd $$fcitx5-android-prebuilder$$ + - cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic + --ghc-options=-dynamic + - ABI=x86 ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + ./build-cabal -j fmt libuv libintl-lite + - popd + - mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt + ndk: 25.2.9519653 + gradleprops: + - buildABI=x86 + + - versionName: 0.0.9-0-g8dc51356 + versionCode: 74 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: plugin/sayura + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config + cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils + automake libghc-aeson-pretty-dev libtool + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android.plugin.sayura-%v-x86_64-release.apk + srclibs: + - fcitx5-android-prebuilder@a242121699c037e9f97725db3aa15d78efc9b1ae + rm: + - lib/fcitx5/src/main/cpp/prebuilt + prebuild: + - cp -R ../../gradle . + - cd ../.. + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs + - sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scanignore: + - lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + scandelete: + - build-logic/convention/build + build: + - pushd $$fcitx5-android-prebuilder$$ + - cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic + --ghc-options=-dynamic + - ABI=x86_64 ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + ./build-cabal -j fmt libuv libintl-lite + - popd + - mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt + ndk: 25.2.9519653 + gradleprops: + - buildABI=x86_64 + AllowedAPKSigningKeys: e4db1e9edff13629d07de4bbf8165fe9bd8557ab55092672da8e40dbe484ecd7 AutoUpdateMode: None @@ -204,5 +380,5 @@ VercodeOperation: - 10 * %c + 4 UpdateCheckData: https://raw.githubusercontent.com/fcitx5-android/fcitx5-android/master/build-logic/convention/src/main/kotlin/Versions.kt|baseVersionCode = (\d+)|https://github.com/fcitx5-android/fcitx5-android/releases/latest/download/build-metadata.plugin.sayura.json|"versionName":\s"(.*)" -CurrentVersion: 0.0.8-0-g4c8399ad -CurrentVersionCode: 64 +CurrentVersion: 0.0.9-0-g8dc51356 +CurrentVersionCode: 74 diff --git a/metadata/org.fcitx.fcitx5.android.plugin.unikey.yml b/metadata/org.fcitx.fcitx5.android.plugin.unikey.yml index 6b697eb709..abfbb9ffba 100644 --- a/metadata/org.fcitx.fcitx5.android.plugin.unikey.yml +++ b/metadata/org.fcitx.fcitx5.android.plugin.unikey.yml @@ -193,6 +193,182 @@ Builds: gradleprops: - buildABI=x86_64 + - versionName: 0.0.9-0-g8dc51356 + versionCode: 71 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: plugin/unikey + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config + cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils + automake libghc-aeson-pretty-dev libtool + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android.plugin.unikey-%v-armeabi-v7a-release.apk + srclibs: + - fcitx5-android-prebuilder@a242121699c037e9f97725db3aa15d78efc9b1ae + rm: + - lib/fcitx5/src/main/cpp/prebuilt + prebuild: + - cp -R ../../gradle . + - cd ../.. + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs + - sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scanignore: + - lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + scandelete: + - build-logic/convention/build + build: + - pushd $$fcitx5-android-prebuilder$$ + - cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic + --ghc-options=-dynamic + - ABI=armeabi-v7a ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + ./build-cabal -j fmt libuv libintl-lite + - popd + - mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt + ndk: 25.2.9519653 + gradleprops: + - buildABI=armeabi-v7a + + - versionName: 0.0.9-0-g8dc51356 + versionCode: 72 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: plugin/unikey + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config + cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils + automake libghc-aeson-pretty-dev libtool + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android.plugin.unikey-%v-arm64-v8a-release.apk + srclibs: + - fcitx5-android-prebuilder@a242121699c037e9f97725db3aa15d78efc9b1ae + rm: + - lib/fcitx5/src/main/cpp/prebuilt + prebuild: + - cp -R ../../gradle . + - cd ../.. + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs + - sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scanignore: + - lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + scandelete: + - build-logic/convention/build + build: + - pushd $$fcitx5-android-prebuilder$$ + - cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic + --ghc-options=-dynamic + - ABI=arm64-v8a ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + ./build-cabal -j fmt libuv libintl-lite + - popd + - mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt + ndk: 25.2.9519653 + gradleprops: + - buildABI=arm64-v8a + + - versionName: 0.0.9-0-g8dc51356 + versionCode: 73 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: plugin/unikey + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config + cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils + automake libghc-aeson-pretty-dev libtool + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android.plugin.unikey-%v-x86-release.apk + srclibs: + - fcitx5-android-prebuilder@a242121699c037e9f97725db3aa15d78efc9b1ae + rm: + - lib/fcitx5/src/main/cpp/prebuilt + prebuild: + - cp -R ../../gradle . + - cd ../.. + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs + - sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scanignore: + - lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + scandelete: + - build-logic/convention/build + build: + - pushd $$fcitx5-android-prebuilder$$ + - cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic + --ghc-options=-dynamic + - ABI=x86 ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + ./build-cabal -j fmt libuv libintl-lite + - popd + - mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt + ndk: 25.2.9519653 + gradleprops: + - buildABI=x86 + + - versionName: 0.0.9-0-g8dc51356 + versionCode: 74 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: plugin/unikey + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ make cmake xz-utils extra-cmake-modules gettext pkg-config + cabal-install ghc libghc-shake-dev libghc-js-flot-data haskell-js-dgtable-utils + automake libghc-aeson-pretty-dev libtool + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android.plugin.unikey-%v-x86_64-release.apk + srclibs: + - fcitx5-android-prebuilder@a242121699c037e9f97725db3aa15d78efc9b1ae + rm: + - lib/fcitx5/src/main/cpp/prebuilt + prebuild: + - cp -R ../../gradle . + - cd ../.. + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs + - sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scanignore: + - lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + scandelete: + - build-logic/convention/build + build: + - pushd $$fcitx5-android-prebuilder$$ + - cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic + --ghc-options=-dynamic + - ABI=x86_64 ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + ./build-cabal -j fmt libuv libintl-lite + - popd + - mv $$fcitx5-android-prebuilder$$/build ../../lib/fcitx5/src/main/cpp/prebuilt + ndk: 25.2.9519653 + gradleprops: + - buildABI=x86_64 + AllowedAPKSigningKeys: e4db1e9edff13629d07de4bbf8165fe9bd8557ab55092672da8e40dbe484ecd7 AutoUpdateMode: None @@ -204,5 +380,5 @@ VercodeOperation: - 10 * %c + 4 UpdateCheckData: https://raw.githubusercontent.com/fcitx5-android/fcitx5-android/master/build-logic/convention/src/main/kotlin/Versions.kt|baseVersionCode = (\d+)|https://github.com/fcitx5-android/fcitx5-android/releases/latest/download/build-metadata.plugin.unikey.json|"versionName":\s"(.*)" -CurrentVersion: 0.0.8-0-g4c8399ad -CurrentVersionCode: 64 +CurrentVersion: 0.0.9-0-g8dc51356 +CurrentVersionCode: 74 diff --git a/metadata/org.fcitx.fcitx5.android.yml b/metadata/org.fcitx.fcitx5.android.yml index b5c8b02d5f..af31be4420 100644 --- a/metadata/org.fcitx.fcitx5.android.yml +++ b/metadata/org.fcitx.fcitx5.android.yml @@ -834,6 +834,190 @@ Builds: gradleprops: - buildABI=x86_64 + - versionName: 0.0.9-0-g8dc51356 + versionCode: 71 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: app + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ libtool make automake gettext bzip2 xz-utils zstd pkg-config + cmake extra-cmake-modules ninja-build libfmt-dev libboost-all-dev libfcitx5utils-dev + opencc ghc cabal-install libghc-shake-dev libghc-aeson-pretty-dev libghc-js-flot-data + haskell-js-dgtable-utils fcitx5-modules python-is-python3 + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android-%v-armeabi-v7a-release.apk + srclibs: + - fcitx5-android-prebuilder@a242121699c037e9f97725db3aa15d78efc9b1ae + rm: + - lib/fcitx5/src/main/cpp/prebuilt + prebuild: + - cd .. + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs + - sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scanignore: + - lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + scandelete: + - build-logic/convention/build + build: + - pushd $$fcitx5-android-prebuilder$$ + - cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic + --ghc-options=-dynamic + - ABI=armeabi-v7a ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + COMP_SPELL_DICT=/usr/lib/x86_64-linux-gnu/fcitx5/libexec/comp-spell-dict ./build-cabal + -j spell-dict fmt libuv libintl-lite boost marisa opencc libime lua chinese-addons-data + zstd + - popd + - mv $$fcitx5-android-prebuilder$$/build ../lib/fcitx5/src/main/cpp/prebuilt + ndk: 25.2.9519653 + gradleprops: + - buildABI=armeabi-v7a + + - versionName: 0.0.9-0-g8dc51356 + versionCode: 72 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: app + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ libtool make automake gettext bzip2 xz-utils zstd pkg-config + cmake extra-cmake-modules ninja-build libfmt-dev libboost-all-dev libfcitx5utils-dev + opencc ghc cabal-install libghc-shake-dev libghc-aeson-pretty-dev libghc-js-flot-data + haskell-js-dgtable-utils fcitx5-modules python-is-python3 + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android-%v-arm64-v8a-release.apk + srclibs: + - fcitx5-android-prebuilder@a242121699c037e9f97725db3aa15d78efc9b1ae + rm: + - lib/fcitx5/src/main/cpp/prebuilt + prebuild: + - cd .. + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs + - sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scanignore: + - lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + scandelete: + - build-logic/convention/build + build: + - pushd $$fcitx5-android-prebuilder$$ + - cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic + --ghc-options=-dynamic + - ABI=arm64-v8a ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + COMP_SPELL_DICT=/usr/lib/x86_64-linux-gnu/fcitx5/libexec/comp-spell-dict ./build-cabal + -j spell-dict fmt libuv libintl-lite boost marisa opencc libime lua chinese-addons-data + zstd + - popd + - mv $$fcitx5-android-prebuilder$$/build ../lib/fcitx5/src/main/cpp/prebuilt + ndk: 25.2.9519653 + gradleprops: + - buildABI=arm64-v8a + + - versionName: 0.0.9-0-g8dc51356 + versionCode: 73 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: app + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ libtool make automake gettext bzip2 xz-utils zstd pkg-config + cmake extra-cmake-modules ninja-build libfmt-dev libboost-all-dev libfcitx5utils-dev + opencc ghc cabal-install libghc-shake-dev libghc-aeson-pretty-dev libghc-js-flot-data + haskell-js-dgtable-utils fcitx5-modules python-is-python3 + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android-%v-x86-release.apk + srclibs: + - fcitx5-android-prebuilder@a242121699c037e9f97725db3aa15d78efc9b1ae + rm: + - lib/fcitx5/src/main/cpp/prebuilt + prebuild: + - cd .. + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs + - sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scanignore: + - lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + scandelete: + - build-logic/convention/build + build: + - pushd $$fcitx5-android-prebuilder$$ + - cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic + --ghc-options=-dynamic + - ABI=x86 ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + COMP_SPELL_DICT=/usr/lib/x86_64-linux-gnu/fcitx5/libexec/comp-spell-dict ./build-cabal + -j spell-dict fmt libuv libintl-lite boost marisa opencc libime lua chinese-addons-data + zstd + - popd + - mv $$fcitx5-android-prebuilder$$/build ../lib/fcitx5/src/main/cpp/prebuilt + ndk: 25.2.9519653 + gradleprops: + - buildABI=x86 + + - versionName: 0.0.9-0-g8dc51356 + versionCode: 74 + commit: 8dc51356d30f1eba8c5ede9d680bd2ee8be59747 + subdir: app + submodules: true + sudo: + - apt-get update + - apt-get install -y g++ libtool make automake gettext bzip2 xz-utils zstd pkg-config + cmake extra-cmake-modules ninja-build libfmt-dev libboost-all-dev libfcitx5utils-dev + opencc ghc cabal-install libghc-shake-dev libghc-aeson-pretty-dev libghc-js-flot-data + haskell-js-dgtable-utils fcitx5-modules python-is-python3 + gradle: + - yes + binary: https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/org.fcitx.fcitx5.android-%v-x86_64-release.apk + srclibs: + - fcitx5-android-prebuilder@a242121699c037e9f97725db3aa15d78efc9b1ae + rm: + - lib/fcitx5/src/main/cpp/prebuilt + prebuild: + - cd .. + - sdkmanager 'cmake;3.22.1' + - buildTimestamp=$(curl -L https://github.com/fcitx5-android/fcitx5-android/releases/download/0.0.9/build-metadata.json + | sed -n -E 's/.*timestamp.*"(.*)"$/\1/p') + - echo -e "\nbuildTimestamp=$buildTimestamp" >> gradle.properties + - sed -i -e '/ImportQualifiedPost/d' $$fcitx5-android-prebuilder$$/src/Main.hs + - sed -i -e 's/import \(.*\) qualified as/import qualified \1 as/g' $$fcitx5-android-prebuilder$$/src/*.hs + - sed -i -e 's|https://maven.pkg.github.com|https://jitpack.io|g' build-logic/convention/build.gradle.kts + lib/*/build.gradle.kts + scanignore: + - lib/fcitx5/src/main/cpp/fcitx5/src/modules/unicode/charselectdata + scandelete: + - build-logic/convention/build + build: + - pushd $$fcitx5-android-prebuilder$$ + - cabal configure --disable-library-vanilla --enable-shared --enable-executable-dynamic + --ghc-options=-dynamic + - ABI=x86_64 ANDROID_NDK_ROOT=$$NDK$$ CMAKE_VERSION=3.22.1 ANDROID_PLATFORM=23 + COMP_SPELL_DICT=/usr/lib/x86_64-linux-gnu/fcitx5/libexec/comp-spell-dict ./build-cabal + -j spell-dict fmt libuv libintl-lite boost marisa opencc libime lua chinese-addons-data + zstd + - popd + - mv $$fcitx5-android-prebuilder$$/build ../lib/fcitx5/src/main/cpp/prebuilt + ndk: 25.2.9519653 + gradleprops: + - buildABI=x86_64 + AllowedAPKSigningKeys: e4db1e9edff13629d07de4bbf8165fe9bd8557ab55092672da8e40dbe484ecd7 AutoUpdateMode: None @@ -845,5 +1029,5 @@ VercodeOperation: - 10 * %c + 4 UpdateCheckData: https://raw.githubusercontent.com/fcitx5-android/fcitx5-android/master/build-logic/convention/src/main/kotlin/Versions.kt|baseVersionCode = (\d+)|https://github.com/fcitx5-android/fcitx5-android/releases/latest/download/build-metadata.json|"versionName":\s"(.*)" -CurrentVersion: 0.0.8-0-g4c8399ad -CurrentVersionCode: 64 +CurrentVersion: 0.0.9-0-g8dc51356 +CurrentVersionCode: 74