public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-ashpd] rawhide: Update to version 0.14.0
@ 2026-11-19 19:04 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-11-19 19:04 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-ashpd
Branch : rawhide
Commit : e3e1ca957b74843d4f44f016f7f152aaf742ad6a
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-11-19T17:01:25+01:00
Stats  : +60/-40 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-ashpd/c/e3e1ca957b74843d4f44f016f7f152aaf742ad6a?branch=rawhide

Log:
Update to version 0.14.0

---
diff --git a/.gitignore b/.gitignore
index a86be3d..804bbb1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,3 +15,4 @@
 /ashpd-0.13.11.crate
 /ashpd-0.13.12.crate
 /ashpd-0.13.13.crate
+/ashpd-0.14.0.crate

diff --git a/ashpd-fix-metadata.diff b/ashpd-fix-metadata.diff
index 7d5aa8b..51c736e 100644
--- a/ashpd-fix-metadata.diff
+++ b/ashpd-fix-metadata.diff
@@ -1,35 +1,65 @@
---- ashpd-0.13.13/Cargo.toml	2006-07-24T01:21:28+00:00
-+++ ashpd-0.13.13/Cargo.toml	2026-07-21T12:14:05.614847+00:00
-@@ -188,11 +188,6 @@
- required-features = ["input_capture"]
+--- ashpd-0.14.0/Cargo.toml	2006-07-24T01:21:28+00:00
++++ ashpd-0.14.0/Cargo.toml	2026-11-19T15:59:54.290680+00:00
+@@ -150,10 +150,6 @@
+ network_monitor = ["dep:serde_repr"]
+ notification = []
+ open_uri = []
+-pipewire = [
+-    "dep:pipewire",
+-    "dep:futures-channel",
+-]
+ power_profile_monitor = []
+ print = []
+ proxy_resolver = []
+@@ -190,19 +186,6 @@
+     "tokio",
+ ]
  
- [[example]]
+-[[example]]
 -name = "screen_cast_gstreamer"
 -path = "examples/screen_cast_gstreamer.rs"
 -required-features = ["screencast"]
 -
 -[[example]]
- name = "screen_cast_pw"
- path = "examples/screen_cast_pw.rs"
- required-features = [
-@@ -283,19 +278,11 @@
- version = "5.13"
+-name = "screen_cast_pw"
+-path = "examples/screen_cast_pw.rs"
+-required-features = [
+-    "screencast",
+-    "pipewire",
+-]
+-
+ [dependencies.async-trait]
+ version = "0.1"
+ optional = true
+@@ -239,10 +222,6 @@
+ version = "0.11"
+ optional = true
+ 
+-[dependencies.pipewire]
+-version = "0.10"
+-optional = true
+-
+ [dependencies.raw-window-handle]
+ version = "0.6"
+ optional = true
+@@ -291,20 +270,9 @@
+ ]
  default-features = false
  
 -[dev-dependencies.gst]
 -version = "0.25"
 -package = "gstreamer"
 -
- [dev-dependencies.pipewire]
- version = "0.9.0"
- 
- [dev-dependencies.quick-xml]
--version = "0.39"
+-[dev-dependencies.pipewire]
+-version = "0.10"
 -
+ [dev-dependencies.quick-xml]
+ version = "0.42"
+ 
 -[dev-dependencies.reis]
--version = "0.6"
+-version = "0.7"
 -features = ["tokio"]
-+version = ">=0.39, <0.42"
- 
+-
  [dev-dependencies.serde_json]
  version = "1.0"
+ 

diff --git a/rust-ashpd.spec b/rust-ashpd.spec
index c263bb5..8c03007 100644
--- a/rust-ashpd.spec
+++ b/rust-ashpd.spec
@@ -2,10 +2,13 @@
 %bcond check 1
 %global debug_package %{nil}
 
+# WARNING: keep version in sync with oo7:
+# oo7 depends on unstable ashpd features that can change in patch releases
+
 %global crate ashpd
 
 Name:           rust-ashpd
-Version:        0.13.13
+Version:        0.14.0
 Release:        %autorelease
 Summary:        XDG portals wrapper in Rust using zbus
 
@@ -13,11 +16,9 @@ License:        MIT
 URL:            https://crates.io/crates/ashpd
 Source:         %{crates_source}
 # Manually created patch for downstream crate metadata changes
+# * temporarily drop pipewire support until pipewire v0.10 is available
 # * drop example program that pulls in gstreamer bindings
 # * drop reis dev-dependency that is only used in one doctest
-# * allow quick-xml 0.40 and 0.41:
-#   https://github.com/bilelmoussaoui/ashpd/commit/052cf051257411c0fbaed3af1b32acb1238f5ec7,
-#   https://github.com/bilelmoussaoui/ashpd/pull/460
 Patch:          ashpd-fix-metadata.diff
 # * Ignore one doctest that pulls in reis as an additional dev-dependency
 Patch10:        0001-Ignore-one-doctest-that-pulls-in-reis-as-an-addition.patch
@@ -383,18 +384,6 @@ use the "open_uri" feature of the "%{crate}" crate.
 %files       -n %{name}+open_uri-devel
 %ghost %{crate_instdir}/Cargo.toml
 
-%package     -n %{name}+pipewire-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+pipewire-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "pipewire" feature of the "%{crate}" crate.
-
-%files       -n %{name}+pipewire-devel
-%ghost %{crate_instdir}/Cargo.toml
-
 %package     -n %{name}+power_profile_monitor-devel
 Summary:        %{summary}
 BuildArch:      noarch

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 37be20f..15defa8 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,13 +1,13 @@
 [package]
 cargo-toml-patch-comments = [
+    "temporarily drop pipewire support until pipewire v0.10 is available",
     "drop example program that pulls in gstreamer bindings",
     "drop reis dev-dependency that is only used in one doctest",
-    """\
-allow quick-xml 0.40 and 0.41: \
-https://github.com/bilelmoussaoui/ashpd/commit/052cf051257411c0fbaed3af1b32acb1238f5ec7, \
-https://github.com/bilelmoussaoui/ashpd/pull/460\
-""",
 ]
+preamble = """\
+# WARNING: keep version in sync with oo7:
+# oo7 depends on unstable ashpd features that can change in patch releases
+"""
 
 [[package.extra-patches]]
 number = 10

diff --git a/sources b/sources
index 8def1c8..2b0842a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (ashpd-0.13.13.crate) = d0eef11f462c1df899a752a55afc9fb35e654024db9989e1647d2baac0ab93f2e3df05dbf55cd194750bcaddff799a75763df8e2ae1f187dbeb7367271a9f8fa
+SHA512 (ashpd-0.14.0.crate) = 73a21f55923f373963eec3829c1f9c3ff38eda6facf3a31a6ac7deea05681a847ceaf815e2f66fd1d0bbe2bbfbf4020f12f0824bc1ac1f58f203f148ba902a20

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-19 19:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-19 19:04 [rpms/rust-ashpd] rawhide: Update to version 0.14.0 Fabio Valentini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox