forked from facebook/buck
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update packages for compatibility with macOS 11 Big Sur
Summary: # Context macOS 11 adopts the [dyld shared cache](https://iphonedevwiki.net/index.php/Dyld_shared_cache) which means that the system libraries do not actually exist on the filesystem. This broke JNA and it was fixed in late June 2020 ([issue#1215](java-native-access/jna#1215)). # Changes Because we have other third-party JARs which depend on JNA, we had to update those. In summary, we updated all of the following modules: - JNA - nailgun - NuProcess - oshi - Java Obj-C Bridge Reviewed By: blackm00n fbshipit-source-id: f29c775912ac3a84ec5615f6999b7bccf212ead7
- Loading branch information
1 parent
bae1f42
commit a2912b9
Showing
48 changed files
with
119 additions
and
53 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
Project: Java Objective-C Bridge | ||
Version: Git revision c22107743c2751f1fbaef3f509d59683f16adb60 | ||
Release Date: 2014-08-06 | ||
Version: Git revision c38d607820e18bdc607067457ba6680a6277f7cd | ||
Release Date: Sun Nov 3 19:35:06 2019 +0100 | ||
Website: https://github.com/shannah/Java-Objective-C-Bridge/ | ||
License: Apache 2.0 | ||
Description: JNA library to allow Java programs to invoke Objective-C APIs | ||
Instructions: | ||
brew install maven | ||
brew install gpg | ||
gpg --gen-key | ||
git clone https://github.com/shannah/Java-Objective-C-Bridge.git | ||
cd Java-Objective-C-Bridge | ||
Edit pom.xml (or apply patch.diff) | ||
Change <maven.compiler.target> to version 8 | ||
Change <maven.compiler.source> to version 8 | ||
mvn clean install -Drelease=true |
Binary file not shown.
Binary file added
BIN
+61.8 KB
third-party/java/ObjCBridge/java-objc-bridge-1.1-SNAPSHOT-sources.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
20 changes: 20 additions & 0 deletions
20
third-party/java/ObjCBridge/libjcocoa.dylib.dSYM/Contents/Info.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>English</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.apple.xcode.dsym.libjcocoa.dylib</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundlePackageType</key> | ||
<string>dSYM</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>CFBundleVersion</key> | ||
<string>1</string> | ||
</dict> | ||
</plist> |
Binary file added
BIN
+1.5 MB
third-party/java/ObjCBridge/libjcocoa.dylib.dSYM/Contents/Resources/DWARF/libjcocoa.dylib
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
diff --git a/pom.xml b/pom.xml | ||
index 76d7547..50fef9a 100644 | ||
--- a/pom.xml | ||
+++ b/pom.xml | ||
@@ -40,8 +40,8 @@ | ||
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
- <maven.compiler.target>11</maven.compiler.target> | ||
- <maven.compiler.source>11</maven.compiler.source> | ||
+ <maven.compiler.target>8</maven.compiler.target> | ||
+ <maven.compiler.source>8</maven.compiler.source> | ||
<xcodeScheme>Debug</xcodeScheme> | ||
</properties> | ||
|
||
diff --git a/src/main/java/ca/weblite/objc/Proxy.java b/src/main/java/ca/weblite/objc/Proxy.java | ||
index 0654519..7aba1f5 100644 | ||
--- a/src/main/java/ca/weblite/objc/Proxy.java | ||
+++ b/src/main/java/ca/weblite/objc/Proxy.java | ||
@@ -501,7 +501,6 @@ public class Proxy implements Peerable { | ||
*/ | ||
@Override | ||
public String toString(){ | ||
- System.out.println("The peer is "+getPeer()); | ||
if ( getPeer() == null ){ | ||
return "null"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
prebuilt_jar( | ||
name = "jna", | ||
binary_jar = "jna-4.5.1.jar", | ||
binary_jar = "jna-5.6.0.jar", | ||
licenses = [ | ||
"LICENSE", | ||
], | ||
source_jar = "jna-4.5.1-sources.jar", | ||
source_jar = "jna-5.6.0-sources.jar", | ||
visibility = ["PUBLIC"], | ||
) | ||
|
||
prebuilt_jar( | ||
name = "jna-platform", | ||
binary_jar = "jna-platform-4.5.1.jar", | ||
binary_jar = "jna-platform-5.6.0.jar", | ||
licenses = [ | ||
"LICENSE", | ||
], | ||
source_jar = "jna-platform-4.5.1-sources.jar", | ||
source_jar = "jna-platform-5.6.0-sources.jar", | ||
visibility = ["PUBLIC"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+2.22 MB
third-party/java/jna/jna-platform-4.5.1.jar → third-party/java/jna/jna-platform-5.6.0.jar
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file renamed
BIN
+63.1 KB
.../nailgun/nailgun-server-1.0.0-sources.jar → .../nailgun/nailgun-server-1.0.1-sources.jar
Binary file not shown.
Binary file renamed
BIN
+71.8 KB
...rty/java/nailgun/nailgun-server-1.0.0.jar → ...rty/java/nailgun/nailgun-server-1.0.1.jar
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
README for NuProcess | ||
|
||
URL: https://github.com/brettwooldridge/NuProcess | ||
Revision: 562e0b39cd893ca389ba2d0b3689dde305b7632d | ||
Built With: mvn package | ||
Repository: https://github.com/brettwooldridge/NuProcess | ||
URL: https://search.maven.org/artifact/com.zaxxer/nuprocess/2.0.1/bundle | ||
Version: 2.01 | ||
Build Instructions: | ||
mvn package | ||
License: Apache 2.0 license |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
README for OSHI | ||
|
||
URL: https://github.com/oshi/oshi/commit/e51f8e84f20bc4b132aa02601a4760b20bd4a198 | ||
Version: 3.3-SNAPSHOT e51f8e84f20bc4b132aa02601a4760b20bd4a198 | ||
Built with: | ||
Repository: https://github.com/oshi/oshi | ||
URL: https://search.maven.org/artifact/com.github.oshi/oshi-core/5.2.5/jar | ||
Version: 5.2.5 | ||
Build Instructions: | ||
mvn package | ||
mvn source:jar | ||
License: Eclipse Public License v1.0 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.