Skip to content

Commit eea335d

Browse files
authored
Merge pull request #71 from tauri-apps/link
Update link to javascriptcoregtk-4.1
2 parents f3864a9 + e542e69 commit eea335d

File tree

8 files changed

+14
-9
lines changed

8 files changed

+14
-9
lines changed

.changes/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"getPublishedVersion": "cargo search ${ pkg.pkg } --limit 1 | sed -nE 's/^[^\"]*\"//; s/\".*//1p'",
99
"prepublish": [
1010
"sudo apt-get update",
11-
"sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0",
11+
"sudo apt-get install -y libgtk-3-dev webkit2gtk-4.1",
1212
"cargo install cargo-audit --features=fix",
1313
{
1414
"command": "cargo generate-lockfile",

.changes/link.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"javascriptcore-rs-sys": patch
3+
---
4+
5+
Update link library to javascriptcoregtk-4.1.

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
if: matrix.platform.os == 'ubuntu-latest'
2626
run: |
2727
sudo apt-get update
28-
sudo apt-get install -y webkit2gtk-4.0
28+
sudo apt-get install -y webkit2gtk-4.1
2929
3030
- name: Get current date
3131
run: echo "CURRENT_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV

Gir.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ library = "JavaScriptCore"
55
min_cfg_version = "2.24"
66
single_version_file = true
77
target_path = "."
8-
version = "4.0"
8+
version = "4.1"
99
work_mode = "normal"
1010

1111
external_libraries = ["GLib", "GObject"]

sys/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ name = "javascriptcore-rs-sys"
99
repository = "https://github.com/tauri-apps/javascriptcore-rs"
1010
version = "0.5.0"
1111

12-
[package.metadata.system-deps.javascriptcoregtk_4_0]
13-
name = "javascriptcoregtk-4.0"
12+
[package.metadata.system-deps.javascriptcoregtk_4_1]
13+
name = "javascriptcoregtk-4.1"
1414
version = "2.24"
1515

1616
[package.metadata.docs.rs]

sys/Gir.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[options]
22
library = "JavaScriptCore"
3-
version = "4.0"
3+
version = "4.1"
44
target_path = "."
55
min_cfg_version = "2.24"
66
work_mode = "sys"
@@ -9,4 +9,4 @@ girs_directories = [ "../gir-files/" ]
99
external_libraries = [
1010
"GLib",
1111
"GObject",
12-
]
12+
]

sys/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ impl ::std::fmt::Debug for JSCWeakValue {
364364
}
365365
}
366366

367-
#[link(name = "javascriptcoregtk-4.0")]
367+
#[link(name = "javascriptcoregtk-4.1")]
368368
extern "C" {
369369

370370
//=========================================================================

sys/tests/abi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use std::{
1414
};
1515
use tempfile::Builder;
1616

17-
static PACKAGES: &[&str] = &["javascriptcoregtk-4.0"];
17+
static PACKAGES: &[&str] = &["javascriptcoregtk-4.1"];
1818

1919
#[derive(Clone, Debug)]
2020
struct Compiler {

0 commit comments

Comments
 (0)