Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion patches/Mantle/.patches

This file was deleted.

22 changes: 0 additions & 22 deletions patches/Mantle/remove_mtlmanagedobjectadapter_h.patch

This file was deleted.

18 changes: 10 additions & 8 deletions patches/squirrel.mac/build_add_gn_config.patch
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ index 89c499e451ecb48655cfd42b01ffa1da56998c2e..98f80aad43a87ed75ca1660ad6a178db
+vendor
diff --git a/BUILD.gn b/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..68beb3d10580cdb747a78407c7f5bbb205825c4b
index 0000000000000000000000000000000000000000..a02e5f54d923513fd0676e91a99b8913bad6a57e
--- /dev/null
+++ b/BUILD.gn
@@ -0,0 +1,242 @@
@@ -0,0 +1,250 @@
+assert(is_mac)
+
+import("//build/config/mac/rules.gni")
Expand All @@ -48,12 +48,16 @@ index 0000000000000000000000000000000000000000..68beb3d10580cdb747a78407c7f5bbb2
+ "Resources",
+ ]
+ info_plist = "vendor/Mantle/Mantle/Info.plist"
+ extra_substitutions = [ "CURRENT_PROJECT_VERSION=0.0.0" ]
+ extra_substitutions = [
+ "CURRENT_PROJECT_VERSION=0.0.0",
+ "PRODUCT_BUNDLE_IDENTIFIER=com.electron.mantle",
+ ]
+
+ configs -= [
+ "//build/config/compiler:chromium_code",
+ "//build/config/gcc:symbol_visibility_hidden",
+ ]
+
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ public_deps = [ ":mantle_headers" ]
+ deps = []
Expand Down Expand Up @@ -116,7 +120,7 @@ index 0000000000000000000000000000000000000000..68beb3d10580cdb747a78407c7f5bbb2
+ info_plist = "vendor/ReactiveObjC/ReactiveObjC/Info.plist"
+ extra_substitutions = [
+ "CURRENT_PROJECT_VERSION=0.0.0",
+ "PRODUCT_BUNDLE_IDENTIFIER=com.electron.reactive",
+ "PRODUCT_BUNDLE_IDENTIFIER=com.electron.reactiveobjc",
+ ]
+ defines = [
+ "BUILDING_RAC_FRAMEWORK=1",
Expand All @@ -131,7 +135,6 @@ index 0000000000000000000000000000000000000000..68beb3d10580cdb747a78407c7f5bbb2
+ deps = [
+ ":reactiveobjc_disposableprovider_dtrace",
+ ":reactiveobjc_headers",
+ ":reactiveobjc_headers",
+ ":reactiveobjc_signalprovider_dtrace",
+ ]
+ frameworks = [
Expand All @@ -150,7 +153,6 @@ index 0000000000000000000000000000000000000000..68beb3d10580cdb747a78407c7f5bbb2
+
+ cflags_objc = [
+ "-fobjc-arc",
+ "-Wno-deprecated-declarations",
+ ]
+
+ ldflags = [ "-Wl,-install_name,@rpath/$output_name.framework/$output_name" ]
Expand Down Expand Up @@ -534,10 +536,10 @@ index 0000000000000000000000000000000000000000..a7aeeb7d3e187bd91ef12ed860d1e37e
+ sys.exit(e.returncode)
diff --git a/filenames.gni b/filenames.gni
new file mode 100644
index 0000000000000000000000000000000000000000..3672153140b74fe948e7102b5e1ffad49341163d
index 0000000000000000000000000000000000000000..cee305c80588ffe2234bfadd5c211a9c301fe589
--- /dev/null
+++ b/filenames.gni
@@ -0,0 +1,243 @@
@@ -0,0 +1,249 @@
+squirrel_filenames = {
+ headers = [
+ "Squirrel/NSBundle+SQRLVersionExtensions.h",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ Subject: Use UTType class instead of deprecated UTTypeConformsTo
macOS 12 removed support for the deprecated UTTypeConformsTo function. Its replacement is the dedicated UTType class in the Uniform Type Identifiers framework.

diff --git a/BUILD.gn b/BUILD.gn
index 68beb3d10580cdb747a78407c7f5bbb205825c4b..b9e871a0292eeda1f0e738329d0b510bdc3e34a0 100644
index a02e5f54d923513fd0676e91a99b8913bad6a57e..6f32c4b203a0efa2ccd515e3754494deef5b39f0 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -227,6 +227,7 @@ mac_framework_bundle("squirrel_framework") {
@@ -234,6 +234,7 @@ mac_framework_bundle("squirrel_framework") {
"IOKit.framework",
"Security.framework",
"ServiceManagement.framework",
Expand Down
Loading