diff --git a/.changes/config.json b/.changes/config.json index 4fcbab4..5e54133 100644 --- a/.changes/config.json +++ b/.changes/config.json @@ -8,7 +8,7 @@ "getPublishedVersion": "cargo search ${ pkg.pkg } --limit 1 | sed -nE 's/^[^\"]*\"//; s/\".*//1p'", "prepublish": [ "sudo apt-get update", - "sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0", + "sudo apt-get install -y libgtk-3-dev webkit2gtk-4.1", "cargo install cargo-audit --features=fix", { "command": "cargo generate-lockfile", diff --git a/.changes/link.md b/.changes/link.md new file mode 100644 index 0000000..e1f2e22 --- /dev/null +++ b/.changes/link.md @@ -0,0 +1,5 @@ +--- +"javascriptcore-rs-sys": patch +--- + +Update link library to javascriptcoregtk-4.1. diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5fd8d73..8c37e63 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,7 +25,7 @@ jobs: if: matrix.platform.os == 'ubuntu-latest' run: | sudo apt-get update - sudo apt-get install -y webkit2gtk-4.0 + sudo apt-get install -y webkit2gtk-4.1 - name: Get current date run: echo "CURRENT_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV diff --git a/Gir.toml b/Gir.toml index 0e50508..5601353 100644 --- a/Gir.toml +++ b/Gir.toml @@ -5,7 +5,7 @@ library = "JavaScriptCore" min_cfg_version = "2.24" single_version_file = true target_path = "." -version = "4.0" +version = "4.1" work_mode = "normal" external_libraries = ["GLib", "GObject"] diff --git a/sys/Cargo.toml b/sys/Cargo.toml index c7bf7c2..4126158 100644 --- a/sys/Cargo.toml +++ b/sys/Cargo.toml @@ -9,8 +9,8 @@ name = "javascriptcore-rs-sys" repository = "https://github.com/tauri-apps/javascriptcore-rs" version = "0.5.0" -[package.metadata.system-deps.javascriptcoregtk_4_0] -name = "javascriptcoregtk-4.0" +[package.metadata.system-deps.javascriptcoregtk_4_1] +name = "javascriptcoregtk-4.1" version = "2.24" [package.metadata.docs.rs] diff --git a/sys/Gir.toml b/sys/Gir.toml index 9a27153..58dbc1a 100644 --- a/sys/Gir.toml +++ b/sys/Gir.toml @@ -1,6 +1,6 @@ [options] library = "JavaScriptCore" -version = "4.0" +version = "4.1" target_path = "." min_cfg_version = "2.24" work_mode = "sys" @@ -9,4 +9,4 @@ girs_directories = [ "../gir-files/" ] external_libraries = [ "GLib", "GObject", -] \ No newline at end of file +] diff --git a/sys/src/lib.rs b/sys/src/lib.rs index e6c368a..07aa103 100644 --- a/sys/src/lib.rs +++ b/sys/src/lib.rs @@ -364,7 +364,7 @@ impl ::std::fmt::Debug for JSCWeakValue { } } -#[link(name = "javascriptcoregtk-4.0")] +#[link(name = "javascriptcoregtk-4.1")] extern "C" { //========================================================================= diff --git a/sys/tests/abi.rs b/sys/tests/abi.rs index 520dd14..286f845 100644 --- a/sys/tests/abi.rs +++ b/sys/tests/abi.rs @@ -14,7 +14,7 @@ use std::{ }; use tempfile::Builder; -static PACKAGES: &[&str] = &["javascriptcoregtk-4.0"]; +static PACKAGES: &[&str] = &["javascriptcoregtk-4.1"]; #[derive(Clone, Debug)] struct Compiler {