소스 검색

chore(linux): bump gtk to v0.14 (#2361)

* Bump gtk to v0.14

* Switch back to rfd
Ngo Iok Ui (Wu Yu Wei) 4 년 전
부모
커밋
63ad303903
4개의 변경된 파일13개의 추가작업 그리고 5개의 파일을 삭제
  1. 8 0
      .changes/gtk14.md
  2. 1 1
      core/tauri-runtime-wry/Cargo.toml
  3. 1 1
      core/tauri-runtime/Cargo.toml
  4. 3 3
      core/tauri/Cargo.toml

+ 8 - 0
.changes/gtk14.md

@@ -0,0 +1,8 @@
+---
+tauri: patch
+tauri-runtime: patch
+tauri-runtime-wry: patch
+---
+
+Update gtk and its related libraries to v0.14. This also remove requirements of `clang` as build dependency.
+

+ 1 - 1
core/tauri-runtime-wry/Cargo.toml

@@ -25,7 +25,7 @@ winapi = "0.3"
 
 [target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
 png = "0.16"
-gtk = { version = "0.9", features = [ "v3_16" ] }
+gtk = { version = "0.14", features = [ "v3_20" ] }
 
 [features]
 dox = [ "wry/dox" ]

+ 1 - 1
core/tauri-runtime/Cargo.toml

@@ -32,7 +32,7 @@ uuid = { version = "0.8.2", features = [ "v4" ] }
 winapi = "0.3"
 
 [target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
-gtk = { version = "0.9", features = [ "v3_16" ] }
+gtk = { version = "0.14", features = [ "v3_20" ] }
 
 [features]
 menu = [ ]

+ 3 - 3
core/tauri/Cargo.toml

@@ -66,14 +66,14 @@ attohttpc = { version = "0.17", features = [ "json", "form" ] }
 open = { version = "1.7", optional = true }
 shared_child = { version = "0.3", optional = true }
 os_pipe = { version = "0.9", optional = true }
-rfd = "0.4"
+rfd = "0.4.1"
 raw-window-handle = { version = "0.3.3", optional = true }
 minisign-verify = { version = "0.1", optional = true }
 os_info = { version = "3.0.6", optional = true}
 
 [target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
-gtk = { version = "0.9", features = [ "v3_16" ] }
-glib = "0.10"
+gtk = { version = "0.14", features = [ "v3_20" ] }
+glib = "0.14"
 
 [build-dependencies]
 cfg_aliases = "0.1.1"