forked from ip-gpu/KomodoOcean
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'static-experimental' into static-dev
- Loading branch information
Showing
60 changed files
with
1,286 additions
and
519 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/usr/bin/env bash | ||
|
||
export LC_ALL=C | ||
|
||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) | ||
RUST_PACKAGE="$SCRIPT_DIR/../../depends/packages/rust.mk" | ||
|
||
RUST_VERSION=$( grep -oP "_version=\K.*" $RUST_PACKAGE ) | ||
|
||
update_hash() { | ||
url="https://static.rust-lang.org/dist/$1-$RUST_VERSION-$2.tar.gz" | ||
echo "Fetching $url" | ||
hash=$( curl $url | sha256sum | awk '{print $1}' ) | ||
sed -i "/\$(package)_$3_$4=/c\\\$(package)_$3_$4=$hash" $RUST_PACKAGE | ||
} | ||
|
||
update_rust_hash() { | ||
update_hash rust $1 sha256_hash $2 | ||
} | ||
|
||
update_stdlib_hash() { | ||
update_hash rust-std $1 rust_std_sha256_hash $1 | ||
} | ||
|
||
# For native targets | ||
# update_rust_hash RUST_TARGET MAKEFILE_PACKAGE_IDENTIFIER | ||
update_rust_hash aarch64-unknown-linux-gnu aarch64_linux | ||
update_rust_hash x86_64-apple-darwin darwin | ||
update_rust_hash x86_64-unknown-linux-gnu linux | ||
update_rust_hash x86_64-unknown-freebsd freebsd | ||
|
||
# For cross-compilation targets | ||
# update_stdlib_hash RUST_TARGET | ||
update_stdlib_hash aarch64-unknown-linux-gnu | ||
update_stdlib_hash x86_64-apple-darwin | ||
update_stdlib_hash x86_64-pc-windows-gnu | ||
update_stdlib_hash x86_64-unknown-freebsd |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/old/src/plugins/platforms/cocoa/qiosurfacegraphicsbuffer.h b/new/src/plugins/platforms/cocoa/qiosurfacegraphicsbuffer.h | ||
index e070ba9..0896917 100644 | ||
--- a/qtbase/src/plugins/platforms/cocoa/qiosurfacegraphicsbuffer.h | ||
+++ b/qtbase/src/plugins/platforms/cocoa/qiosurfacegraphicsbuffer.h | ||
@@ -43,6 +43,8 @@ | ||
#include <qpa/qplatformgraphicsbuffer.h> | ||
#include <private/qcore_mac_p.h> | ||
|
||
+#include <CoreGraphics/CGColorSpace.h> | ||
+ | ||
QT_BEGIN_NAMESPACE | ||
|
||
class QIOSurfaceGraphicsBuffer : public QPlatformGraphicsBuffer |
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
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
Oops, something went wrong.