From 232f0eef96eb29c815b6976d04c825ec14614c59 Mon Sep 17 00:00:00 2001 From: Ruben Gonzalez Date: Tue, 20 Jul 2021 21:49:24 +0200 Subject: [PATCH] Delete minimum GStremer required version for some plugins Tested building the pluging with cargo-c and running gst-inspect-1.0 in a Ubuntu Xenial 18.04 LTS. It contains GStreamer 1.8.3. --- generic/sodium/Cargo.toml | 4 ++-- generic/threadshare/Cargo.toml | 2 +- net/reqwest/Cargo.toml | 2 +- net/rusoto/Cargo.toml | 4 ++-- text/json/Cargo.toml | 2 -- text/wrap/Cargo.toml | 1 - video/webp/Cargo.toml | 6 ++---- 7 files changed, 8 insertions(+), 13 deletions(-) diff --git a/generic/sodium/Cargo.toml b/generic/sodium/Cargo.toml index ebe9d9d1..92b83379 100644 --- a/generic/sodium/Cargo.toml +++ b/generic/sodium/Cargo.toml @@ -8,8 +8,8 @@ license = "MIT" edition = "2018" [dependencies] -gst = { version = "0.17", features = ["v1_14"], package="gstreamer" } -gst-base = { version = "0.17", features = ["v1_14"], package = "gstreamer-base" } +gst = { version = "0.17", package="gstreamer" } +gst-base = { version = "0.17", package = "gstreamer-base" } sodiumoxide = "0.2.1" once_cell = "1.3.0" hex = "0.4" diff --git a/generic/threadshare/Cargo.toml b/generic/threadshare/Cargo.toml index 3df6422c..6b9b450e 100644 --- a/generic/threadshare/Cargo.toml +++ b/generic/threadshare/Cargo.toml @@ -10,7 +10,7 @@ edition = "2018" [dependencies] libc = "0.2" gio = { version = "0.14" } -gst = { package = "gstreamer", version = "0.17", features=["v1_10"] } +gst = { package = "gstreamer", version = "0.17" } gst-net = { package = "gstreamer-net", version = "0.17" } gst-rtp = { package = "gstreamer-rtp", version = "0.17" } pin-project = "1" diff --git a/net/reqwest/Cargo.toml b/net/reqwest/Cargo.toml index 2a8ca416..cba860a4 100644 --- a/net/reqwest/Cargo.toml +++ b/net/reqwest/Cargo.toml @@ -13,7 +13,7 @@ reqwest = { version = "0.11", features = ["cookies", "gzip"] } futures = "0.3" hyperx = "1.0" mime = "0.3" -gst = { package = "gstreamer", version = "0.17", features = ["v1_10"] } +gst = { package = "gstreamer", version = "0.17" } gst-base = { package = "gstreamer-base", version = "0.17" } tokio = { version = "1.0", default-features = false, features = ["time", "rt-multi-thread"] } once_cell = "1.0" diff --git a/net/rusoto/Cargo.toml b/net/rusoto/Cargo.toml index 777daec4..6d05d6b5 100644 --- a/net/rusoto/Cargo.toml +++ b/net/rusoto/Cargo.toml @@ -12,8 +12,8 @@ edition = "2018" [dependencies] bytes = "1.0" futures = "0.3" -gst = { package = "gstreamer", version = "0.17", features = ["v1_12"] } -gst-base = { package = "gstreamer-base", version = "0.17", features = ["v1_12"] } +gst = { package = "gstreamer", version = "0.17" } +gst-base = { package = "gstreamer-base", version = "0.17" } rusoto_core = "0.46" rusoto_s3 = "0.46" rusoto_credential = "0.46" diff --git a/text/json/Cargo.toml b/text/json/Cargo.toml index 1a8c9116..778f4181 100644 --- a/text/json/Cargo.toml +++ b/text/json/Cargo.toml @@ -14,7 +14,6 @@ serde_json = { version = "1.0", features = ["raw_value"] } [dependencies.gst] version = "0.17" -features = ["v1_12"] package="gstreamer" [lib] @@ -33,4 +32,3 @@ package="gstreamer-check" default = ["gst/ser_de"] # GStreamer 1.14 is required for static linking static = ["default", "gst/v1_14"] - diff --git a/text/wrap/Cargo.toml b/text/wrap/Cargo.toml index 03eee299..ddd1154d 100644 --- a/text/wrap/Cargo.toml +++ b/text/wrap/Cargo.toml @@ -14,7 +14,6 @@ hyphenation = "0.8" [dependencies.gst] version = "0.17" -features = ["v1_12"] package="gstreamer" [lib] diff --git a/video/webp/Cargo.toml b/video/webp/Cargo.toml index ed58dbb3..8c06a976 100644 --- a/video/webp/Cargo.toml +++ b/video/webp/Cargo.toml @@ -13,12 +13,10 @@ libwebp-sys2 = { version = "0.1.2", features = ["demux", "0_5"] } [dependencies.gst] version = "0.17" -features = ["v1_16"] package="gstreamer" [dependencies.gst-video] version = "0.17" -features = ["v1_16"] package="gstreamer-video" [dev-dependencies] @@ -37,8 +35,8 @@ path = "src/lib.rs" gst-plugin-version-helper = { version = "0.7.0", path="../../version-helper" } [features] -# We already use 1.16 which is new enough for static build -static = [] +# GStreamer 1.14 is required for static linking +static = ["gst/v1_14"] [package.metadata.capi] min_version = "0.7.0"