Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3356185
D10580.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
5 KB
Referenced Files
None
Subscribers
None
D10580.diff
View Options
diff --git a/native/android/app/build.gradle b/native/android/app/build.gradle
--- a/native/android/app/build.gradle
+++ b/native/android/app/build.gradle
@@ -191,7 +191,7 @@
def boostPath = dependenciesPath ?: System.getenv("REACT_NATIVE_BOOST_PATH")
task downloadBoost(dependsOn: createNativeDepsDirectories, type: Download) {
- src("https://boostorg.jfrog.io/artifactory/main/release/${BOOST_VERSION.replace("_", ".")}/source/boost_${BOOST_VERSION}.tar.gz")
+ src("https://archives.boost.io/release/${BOOST_VERSION.replace("_", ".")}/source/boost_${BOOST_VERSION}.tar.gz")
onlyIfNewer(true)
overwrite(false)
dest(new File(downloadsDir, "boost_${BOOST_VERSION}.tar.gz"))
diff --git a/native/ios/Podfile.lock b/native/ios/Podfile.lock
--- a/native/ios/Podfile.lock
+++ b/native/ios/Podfile.lock
@@ -846,7 +846,7 @@
:path: "../../node_modules/react-native/ReactCommon/yoga"
SPEC CHECKSUMS:
- boost: a7c83b31436843459a1961bfd74b96033dc77234
+ boost: 9fa78656d705f55b1220151d997e57e2a3f2cde0
CommExpoPackage: 3f9d8a25537fb9d80f79a63fd1e73c51f55b87e9
DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
DVAssetLoaderDelegate: 0caec20e4e08b8560b691131539e9180024d4bce
diff --git a/patches/expo-modules-core+1.1.1.patch b/patches/expo-modules-core+1.1.1.patch
--- a/patches/expo-modules-core+1.1.1.patch
+++ b/patches/expo-modules-core+1.1.1.patch
@@ -1,3 +1,16 @@
+diff --git a/node_modules/expo-modules-core/android/build.gradle b/node_modules/expo-modules-core/android/build.gradle
+index e0dfb67..c71eec1 100644
+--- a/node_modules/expo-modules-core/android/build.gradle
++++ b/node_modules/expo-modules-core/android/build.gradle
+@@ -384,7 +384,7 @@ task prepareHermes() {
+ def downloadBoost = tasks.create('downloadBoost', Download) {
+ dependsOn(createNativeDepsDirectories)
+ def srcUrl = REACT_NATIVE_TARGET_VERSION >= 69
+- ? "https://boostorg.jfrog.io/artifactory/main/release/${BOOST_VERSION.replace("_", ".")}/source/boost_${BOOST_VERSION}.tar.gz"
++ ? "https://archives.boost.io/release/${BOOST_VERSION.replace("_", ".")}/source/boost_${BOOST_VERSION}.tar.gz"
+ : "https://github.com/react-native-community/boost-for-react-native/releases/download/v${BOOST_VERSION.replace("_", ".")}-0/boost_${BOOST_VERSION}.tar.gz"
+ src(srcUrl)
+ onlyIfNewer(true)
diff --git a/node_modules/expo-modules-core/ios/EXDefines.h b/node_modules/expo-modules-core/ios/EXDefines.h
index 33b4d72..91b639f 100644
--- a/node_modules/expo-modules-core/ios/EXDefines.h
diff --git a/patches/react-native+0.70.9.patch b/patches/react-native+0.70.9.patch
--- a/patches/react-native+0.70.9.patch
+++ b/patches/react-native+0.70.9.patch
@@ -170,3 +170,29 @@
RCT_REMAP_VIEW_PROPERTY(autoCapitalize, backedTextInputView.autocapitalizationType, UITextAutocapitalizationType)
RCT_REMAP_VIEW_PROPERTY(autoCorrect, backedTextInputView.autocorrectionType, UITextAutocorrectionType)
RCT_REMAP_VIEW_PROPERTY(contextMenuHidden, backedTextInputView.contextMenuHidden, BOOL)
+diff --git a/node_modules/react-native/ReactAndroid/build.gradle b/node_modules/react-native/ReactAndroid/build.gradle
+index 3be8b26..3f7bba8 100644
+--- a/node_modules/react-native/ReactAndroid/build.gradle
++++ b/node_modules/react-native/ReactAndroid/build.gradle
+@@ -61,7 +61,7 @@ task createNativeDepsDirectories {
+ }
+
+ task downloadBoost(dependsOn: createNativeDepsDirectories, type: Download) {
+- src("https://boostorg.jfrog.io/artifactory/main/release/${BOOST_VERSION.replace("_", ".")}/source/boost_${BOOST_VERSION}.tar.gz")
++ src("https://archives.boost.io/release/${BOOST_VERSION.replace("_", ".")}/source/boost_${BOOST_VERSION}.tar.gz")
+ onlyIfNewer(true)
+ overwrite(false)
+ dest(new File(downloadsDir, "boost_${BOOST_VERSION}.tar.gz"))
+diff --git a/node_modules/react-native/third-party-podspecs/boost.podspec b/node_modules/react-native/third-party-podspecs/boost.podspec
+index 2f1fcc4..fa82134 100644
+--- a/node_modules/react-native/third-party-podspecs/boost.podspec
++++ b/node_modules/react-native/third-party-podspecs/boost.podspec
+@@ -10,7 +10,7 @@ Pod::Spec.new do |spec|
+ spec.homepage = 'http://www.boost.org'
+ spec.summary = 'Boost provides free peer-reviewed portable C++ source libraries.'
+ spec.authors = 'Rene Rivera'
+- spec.source = { :http => 'https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.bz2',
++ spec.source = { :http => 'https://archives.boost.io/release/1.76.0/source/boost_1_76_0.tar.bz2',
+ :sha256 => 'f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41' }
+
+ # Pinning to the same version as React.podspec.
diff --git a/patches/react-native-reanimated+2.12.0.patch b/patches/react-native-reanimated+2.12.0.patch
new file mode 100644
--- /dev/null
+++ b/patches/react-native-reanimated+2.12.0.patch
@@ -0,0 +1,13 @@
+diff --git a/node_modules/react-native-reanimated/android/build.gradle b/node_modules/react-native-reanimated/android/build.gradle
+index a38b2a5..32cb655 100644
+--- a/node_modules/react-native-reanimated/android/build.gradle
++++ b/node_modules/react-native-reanimated/android/build.gradle
+@@ -658,7 +658,7 @@ if (isNewArchitectureEnabled()) {
+ task downloadBoost(dependsOn: resolveBoost, type: Download) {
+ def transformedVersion = BOOST_VERSION.replace("_", ".")
+ def artifactLocalName = "boost_${BOOST_VERSION}.tar.gz"
+- def srcUrl = "https://boostorg.jfrog.io/artifactory/main/release/${transformedVersion}/source/boost_${BOOST_VERSION}.tar.gz"
++ def srcUrl = "https://archives.boost.io/release/${BOOST_VERSION.replace("_", ".")}/source/boost_${BOOST_VERSION}.tar.gz"
+ if (REACT_NATIVE_MINOR_VERSION < 69) {
+ srcUrl = "https://github.com/react-native-community/boost-for-react-native/releases/download/v${transformedVersion}-0/boost_${BOOST_VERSION}.tar.gz"
+ }
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 5:20 PM (21 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2576851
Default Alt Text
D10580.diff (5 KB)
Attached To
Mode
D10580: [native] Patch React Native Jfrog Boost download issue
Attached
Detach File
Event Timeline
Log In to Comment