misc fixes

This commit is contained in:
linsui 2022-09-16 21:22:06 +08:00
parent 555f024513
commit ac59a2c6f0
4 changed files with 99 additions and 68 deletions

View file

@ -107,37 +107,6 @@ Builds:
- ./link_to_mupdf_1.20.0.sh
ndk: r23c
- versionName: 8.5.43-fdroid
versionCode: 4578
disable: https://gitlab.com/fdroid/fdroiddata/-/jobs/2826861210#L4837
commit: 17ee4a601ada554d3d9f4d0efa07609d07782925
subdir: app
sudo:
- apt-get update || apt-get update
- apt-get install -y g++ mesa-common-dev libxcursor-dev libxrandr-dev libxinerama-dev
libglu1-mesa-dev libxi-dev
- apt-get install -y openjdk-11-jdk-headless
- update-alternatives --auto java
gradle:
- fdroid
srclibs:
- MuPDF@1.20.2
rm:
- Builder/libs
prebuild:
- sed -i -e '/F-DROID REMOVE THIS LINE/,+1d' ../build.gradle
- sed -i -e '/^if.*Fdroid/,/^}/d' -e '/enable true/d' build.gradle
- sed -i -e '/^#!/a\set -e' -e 's|git clone .*|cp -r $$MuPDF$$ mupdf-$VERSION_TAG|'
-e '/mkdir mupdf/d' -e 's/ndk-build $1/& -j`nproc` || exit 1/' ../Builder/link_to_mupdf_1.20.2.sh
- mkdir src/main/jniLibs/
scanignore:
- Builder/fonts/fonts.zip
- app/src/fdroid/assets/fonts.zip
build:
- pushd ../Builder/
- ./link_to_mupdf_1.20.2.sh
ndk: r23c
- versionName: 8.5.45-fdroid
versionCode: 4586
commit: fd31752806feb35f4c16f7c374333914b12f3557

View file

@ -397,6 +397,97 @@ Builds:
- mv $$react-native-reanimated$$/build/outputs/aar/android-release.aar ../../node_modules/react-native-reanimated/android/react-native-reanimated-67-jsc.aar
ndk: r21e
- versionName: 1.55.1
versionCode: 423
commit: ba5b3eebef83d13e2abd70f0a1959061ab24b544
subdir: android/app
sudo:
- sysctl fs.inotify.max_user_watches=524288 || true
- curl -Lo node.tar.xz https://nodejs.org/dist/v16.16.0/node-v16.16.0-linux-x64.tar.xz
- echo "edcb6e9bb049ae365611aa209fc03c4bfc7e0295dbcc5b2f1e710ac70384a8ec node.tar.xz"
| sha256sum -c -
- tar xJf node.tar.xz --strip-components=1 -C /usr/local/
- npm -g install yarn
- npm -g install npm@7
init:
- cd ../..
- sed -i -e '/react-native-youtube/d' -e 's|git://github.com/||' package.json
- sed -i -e "/fs.existsSync('dist')/,+2d" scripts/generate-assets.js
- mkdir -p dist/assets
- sed -i -e '/mmjstool":\ {/,/^ },/d' package-lock.json
- npm install --ignore-scripts
gradle:
- yes
srclibs:
- react-native-reanimated@2.3.1
rm:
- ios
- patches/react-native-youtube*
- app/components/post_list/post/body/content/youtube/
- node_modules/react-native-notifications/lib/android/app/src/main/java/com/wix/reactnativenotifications/fcm/FcmInstanceIdListenerService.java
prebuild:
- sed -i -e '/gms/d' ../build.gradle build.gradle
- sed -i -e 's|$rootDir.*Detox-android|https://jitpack.io|' ../build.gradle
- sed -i -e '/bundleCommand/a nodeExecutableAndArgs:["node","--max-old-space-size=12000"],'
-e '/firebase/d' -e '/detox/d' -e '/enableSeparateBuildPerCPUArchitecture/d'
build.gradle
- cd ../..
- npx patch-package --error-on-fail
- sed -i -e '/if (isYoutubeLink/,/^\s\{8\}}/d' -e '/YouTube/d' app/components/post_list/post/body/content/index.tsx
- sed -i -e '/dependencies {/a implementation "ch.threema:webrtc-android:100.0.0"'
node_modules/react-native-webrtc/android/build.gradle
- sed -i -e '/bintray/d' node_modules/@rudderstack/rudder-sdk-react-native/android/build.gradle
- sed -E -i '/installreferrer/,+11d' node_modules/react-native-device-info/android/build.gradle
- sed -i -e 's|maven.fabric.io/public|jitpack.io|' node_modules/react-native-math-view/android/build.gradle
- cd node_modules/react-native-notifications/lib/android/app
- sed -i -e '/firebase-messaging/d' build.gradle
- sed -i -e '/google-services/d' ../build.gradle
- sed -i -e '/FcmInstanceIdListenerService/,/<service/d' src/main/AndroidManifest.xml
- sed -i -e '/FirebaseApp/d' src/main/java/com/wix/reactnativenotifications/RNNotificationsPackage.java
- sed -i -e '/FirebaseMessaging.getInstance/,/});/d' -e '/FirebaseMessaging/d'
src/main/java/com/wix/reactnativenotifications/fcm/FcmToken.java
scanignore:
- android/build.gradle
- node_modules/hermes-engine
- node_modules/jsc-android
- node_modules/react-native/android
- node_modules/@react-native-community/masked-view/android/build.gradle
- node_modules/@react-native-community/netinfo/android/build.gradle
- node_modules/react-native-document-picker/android/build.gradle
- node_modules/react-native-device-info/android/build.gradle
- node_modules/react-native-localize/android/build.gradle
- node_modules/react-native-navigation/lib/android/build.gradle
- node_modules/react-native-notifications/lib/android/build.gradle
- node_modules/react-native-permissions/android/build.gradle
- node_modules/react-native-safe-area-context/android/build.gradle
- node_modules/react-native-screens/android/build.gradle
- node_modules/react-native-share/android/build.gradle
- node_modules/react-native-svg/android/build.gradle
- node_modules/react-native-vector-icons/android/build.gradle
- node_modules/react-native-webview/android/build.gradle
- node_modules/detox/android/build.gradle
- node_modules/detox/android/detox/publishing.gradle
- node_modules/@mattermost/react-native-paste-input/android/build.gradle
- node_modules/@react-native-async-storage/async-storage/android/build.gradle
- node_modules/@react-native-cookies/cookies/android/build.gradle
- node_modules/react-native-math-view/android/build.gradle
- node_modules/react-native-fast-image/android/build.gradle
- node_modules/react-native-mmkv-storage/android/build.gradle
- node_modules/react-native/ReactAndroid/build.gradle
scandelete:
- node_modules
build:
- pushd ../..
- node scripts/generate-assets.js
- ./node_modules/.bin/jetify
- popd
- pushd $$react-native-reanimated$$
- yarn add react-native@0.67.2
- gradle :assembleRelease
- popd
- mv $$react-native-reanimated$$/build/outputs/aar/android-release.aar ../../node_modules/react-native-reanimated/android/react-native-reanimated-67-jsc.aar
ndk: r21e
MaintainerNotes: |-
sed is used to:
* Remove push notifications (see <a href="https://github.com/wix/react-native-notifications/issues/207">this issue</a>)
@ -407,7 +498,7 @@ MaintainerNotes: |-
disabled 296 (Sentry.io and com.android.vending, the latter being proprietary), see https://gitlab.com/fdroid/fdroiddata/-/issues/2289
AutoUpdateMode: None
AutoUpdateMode: Version
UpdateCheckMode: Tags
CurrentVersion: 1.55.1
CurrentVersionCode: 423

View file

@ -6,39 +6,6 @@ IssueTracker: https://github.com/mkulesh/microMathematics/issues
Changelog: https://github.com/mkulesh/microMathematics/releases
AutoName: microMathematics Plus
Description: |-
With microMathematics Plus, not only can you perform mathematical calculations
in naturally readable form but you can also create and manage your own
collection of interactive formulas!
microMathematics Plus is a revolutionary new kind of mobile calculator. It is a
scientific graphing calculator and function plotter on Android oriented around a
worksheet. It features live editing of mathematical identities combined with
highly accurate computations.
This app is not only for students. Anyone who enjoys mathematics or requires
more than just a basic calculator will benefit from microMathematics' amazing
calculations and plotting.
Benefits and features:
* Verification, validation, documentation and re-use of mathematical calculations
* Works on smartphone or tablet in portrait and landscape mode
* Supports all commonly used mathematical operations
* Mathematical expressions are written in an intuitive and naturally readable form
* Supports SI and non-SI units (including units of information)
* Powerful mathematical touch-screen editor with undo function which makes editing easier
* You can perform multiple calculations and subsequently correct or change all used formulas
* It is possible to store intermediate results into 1D, 2D, or 3D array that can improve calculation performance
* Mathematical expressions are collected in a document, that includes not only formulas and plots, but also additional text and images (SVG format is also supported)
* You can store your document on an SD card and export it into LaTeX format or an image (SD writing permission is needed)
* SD card on Android 6+ is also supported
* The app contains a detailed "How to use" page and several examples
* Supports different color themes
* Supports data import from ASCII files
* Integration with SMath Studio. Documents from SMath Studio can also be opened in microMathematics
Languages: English, Russian, German, Brazilian Portuguese, Chinese.
RepoType: git
Repo: https://github.com/mkulesh/microMathematics
@ -190,6 +157,10 @@ Builds:
subdir: app
gradle:
- yes
prebuild:
- $$SDK$$/tools/bin/sdkmanager 'build-tools;32.0.0' 'build-tools;30.0.3' > /dev/null
- cp $$SDK$$/build-tools/30.0.3/lib/dx.jar $$SDK$$/build-tools/32.0.0/lib/dx.jar
- cp $$SDK$$/build-tools/30.0.3/dx $$SDK$$/build-tools/32.0.0/dx
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags

View file

@ -4862,8 +4862,8 @@ MaintainerNotes: |-
ArchivePolicy: 12 versions
AutoUpdateMode: None
UpdateCheckMode: Tags
UpdateCheckMode: Tags ^[\d.]+$
VercodeOperation: 10000000+%c
UpdateCheckData: build.gradle|versionCode\s=\s(\d+)|.|versionName\s=\s'(.*)'
CurrentVersion: 3.5.2 Beta 1
CurrentVersionCode: 13050110
CurrentVersion: 3.5.1
CurrentVersionCode: 13050108