File: Relax-dependencies.patch

package info (click to toggle)
gnome-user-share 48.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,180 kB
  • sloc: makefile: 24; xml: 9
file content (37 lines) | stat: -rw-r--r-- 1,132 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
From: =?utf-8?q?Jeremy_B=C3=ADcha?= <jbicha@ubuntu.com>
Date: Thu, 14 Aug 2025 08:49:46 -0400
Subject: cargo: Build with gio 0.21

Forwarded: https://gitlab.gnome.org/GNOME/gnome-user-share/-/merge_requests/38
---
 Cargo.toml         | 2 +-
 src/application.rs | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Cargo.toml b/Cargo.toml
index 0efebf0..498e24e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,7 +4,7 @@ edition = "2021"
 rust-version = "1.80.0"
 
 [dependencies]
-gio = { version = "0.20", features = ["v2_74"]}
+gio = { version = "0.21", features = ["v2_74"]}
 gettext-rs = { version = "0.7", features = ["gettext-system"] }
 libc = "0.2.154"
 selinux = { version = "0.4.4", optional = true }
diff --git a/src/application.rs b/src/application.rs
index f28d4f8..46b7419 100644
--- a/src/application.rs
+++ b/src/application.rs
@@ -89,7 +89,8 @@ mod imp {
 
 glib::wrapper! {
 	pub struct WebdavApplication(ObjectSubclass<imp::WebdavApplication>)
-		@extends gio::Application;
+		@extends gio::Application,
+		@implements gio::ActionGroup, gio::ActionMap;
 }
 
 impl Default for WebdavApplication {