0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-21 20:56:19 +00:00
termux-packages/disabled-packages/news-flash-gtk/webkit2gtk-sys.diff
Fredrik Fornwall e8ab7fb374 rmpkg(x11/news-flash-gtk,x11/libhandy-0.0)
- Drop `news-flash-gtk` as it's not maintained and the last package
  depending on the unmaintained (and security sensitive) `openssl-1.1`
  package.
- Drop `libhandy-0.0` as it's an older version of the `libhandy` package
  and only used by `news-flash-gtk`.
2024-09-13 20:15:57 +02:00

36 lines
880 B
Diff

--- a/Gir.toml
+++ b/Gir.toml
@@ -3,7 +3,7 @@
work_mode = "sys"
min_cfg_version="2.4"
library = "WebKit2"
-version = "4.0"
+version = "4.1"
single_version_file = "."
target_path = "."
--- a/build.rs
+++ b/build.rs
@@ -29,8 +29,8 @@
#[cfg(not(feature = "dox"))]
fn find() -> Result<(), Error> {
- let package_name = "webkit2gtk-4.0";
- let shared_libs = ["webkit2gtk-4.0", "javascriptcoregtk-4.0"];
+ let package_name = "webkit2gtk-4.1";
+ let shared_libs = ["webkit2gtk-4.1", "javascriptcoregtk-4.1"];
let version = if cfg!(feature = "v2_28") {
"2.28"
} else if cfg!(feature = "v2_26") {
--- a/tests/abi.rs
+++ b/tests/abi.rs
@@ -14,7 +14,7 @@
use tempfile::Builder;
use webkit2gtk_sys::*;
-static PACKAGES: &[&str] = &["webkit2gtk-4.0"];
+static PACKAGES: &[&str] = &["webkit2gtk-4.1"];
#[derive(Clone, Debug)]
struct Compiler {