Compare commits

..

14 commits

Author SHA1 Message Date
Dominique Martinet
e8d34c4bba Update to 0.11.2
Prepare for ffmpeg 9 update
2026-08-27 00:05:25 +00:00
Dominique Martinet
a787f50d30 Update to 0.11.1 2026-08-17 00:42:15 +00:00
Fedora Release Engineering
86540dc318 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 08:43:16 +00:00
Fedora Release Engineering
5d1e990678 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 20:08:55 +00:00
Dominique Martinet
43a89ed836 Update to 0.11.0 (identical to 0.10.6) 2025-12-20 06:02:15 +00:00
Dominique Martinet
91c0d46b9f Remove unused patches
[skip changelog]
2025-12-07 12:30:45 +00:00
Dominique Martinet
0bd31dde9f Update to 0.10.6 2025-12-07 12:24:56 +00:00
Dominique Martinet
2d31a300b0 replace feature list with Cargo.toml patch
This should allow detecting if the feature list changes in the future
unlike the current approach, as suggested in [1]

Link: https://src.fedoraproject.org/rpms/waypipe/pull-request/7 [1]
2025-12-07 12:21:48 +00:00
Dominik 'Rathann' Mierzejewski
9f56196bff Rebuilt for FFmpeg 8 2025-11-06 13:12:51 +01:00
Dominique Martinet
79b8092a6d fix cargo-workspace.patch
diff was edited manually incorrectly.. woops.
[skip changelog]
2025-10-30 22:56:37 +09:00
Yaakov Selkowitz
20fd833d51 Use cargo features (fix RHEL build)
RHEL does not include ffmpeg for the video feature, and test_proto is only
needed during %check.  Therefore, we should not rely on the default features,
and instead specify them when calling cargo.
2025-10-30 22:38:41 +09:00
Dominique Martinet
11b9fb2dfe Properly handle pkg-config dep through workspace
[skip changelog]
(not interesting for users)
2025-10-30 22:38:41 +09:00
Dominique Martinet
dfc5e157a7 update waypipe.1 for rhel 2025-10-13 05:07:30 +09:00
Dominique Martinet
4c9bf86fc5 Update to 0.10.5
- switch to rust-based version
2025-10-13 04:41:34 +09:00
7 changed files with 91 additions and 36 deletions

5
.gitignore vendored
View file

@ -9,3 +9,8 @@
/waypipe-v0.9.0.tar.gz
/waypipe-v0.9.1.tar.gz
/waypipe-v0.10.4.tar.gz
/waypipe-v0.10.5.tar.gz
/waypipe-v0.10.6.tar.gz
/waypipe-v0.11.0.tar.gz
/waypipe-v0.11.1.tar.gz
/waypipe-v0.11.2.tar.gz

View file

@ -0,0 +1,25 @@
From fa4d12296de749eafb06f8dfb7e53a7ce8699876 Mon Sep 17 00:00:00 2001
From: Dominique Martinet <asmadeus@codewreck.org>
Date: Sun, 7 Dec 2025 11:57:55 +0000
Subject: [PATCH 1/2] Cargo.toml: features: remove test_proto from defaults
---
Cargo.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Cargo.toml b/Cargo.toml
index 9213b3a94500..4d5fb42494b9 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -20,7 +20,7 @@ path = "src/test_proto.rs"
required-features = ["test_proto"]
[features]
-default = ["video", "dmabuf", "lz4", "zstd", "gbmfallback", "test_proto"]
+default = ["video", "dmabuf", "lz4", "zstd", "gbmfallback"]
video = ["dep:waypipe-ffmpeg-wrapper", "dep:waypipe-shaders", "dmabuf"]
dmabuf = ["dep:ash"]
lz4 = ["dep:waypipe-lz4-wrapper"]
--
2.52.0

View file

@ -0,0 +1,26 @@
From eed41ad0ef6ae0784b30df8e20b7293846610f23 Mon Sep 17 00:00:00 2001
From: Dominique Martinet <asmadeus@codewreck.org>
Date: Sun, 7 Dec 2025 11:58:21 +0000
Subject: [PATCH 2/2] Cargo.toml: features: remove video from defaults (for
rhel)
---
Cargo.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Cargo.toml b/Cargo.toml
index 4d5fb42494b9..75e4845750af 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -20,7 +20,7 @@ path = "src/test_proto.rs"
required-features = ["test_proto"]
[features]
-default = ["video", "dmabuf", "lz4", "zstd", "gbmfallback"]
+default = ["dmabuf", "lz4", "zstd", "gbmfallback"]
video = ["dep:waypipe-ffmpeg-wrapper", "dep:waypipe-shaders", "dmabuf"]
dmabuf = ["dep:ash"]
lz4 = ["dep:waypipe-lz4-wrapper"]
--
2.52.0

View file

@ -1,18 +0,0 @@
From 2c16f24a53f79b010a677288d0c91ea4a8683a4a Mon Sep 17 00:00:00 2001
From: Dominique Martinet <asmadeus@codewreck.org>
Date: Fri, 15 Aug 2025 21:05:34 +0900
Subject: [PATCH] license
diff --git a/Cargo.toml b/Cargo.toml
index 8674dfab1f62..5d627e37ae23 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -6,6 +6,7 @@ version = "0.10.4"
edition = "2021"
rust-version = "1.77.0"
default-run = "waypipe"
+license = "GPLv3-or-later"
[[bin]]
name = "waypipe"

View file

@ -1 +1 @@
SHA512 (waypipe-v0.10.4.tar.gz) = 85fcbed39f64ae3c814416b50eb75bcacad74201b82a632631c6078e31335557145e60183c1046d2064ae558a5384544c92e8bfcc13be43eb7772ec02c123582
SHA512 (waypipe-v0.11.2.tar.gz) = e1b475f6c4b41cdc15ac1765a6a0dbb865f1bdc384d7f7393660e39baf38a375a501d7ec7493a82cd8aaeef9faba67422164e26d56f19737949f8578495ca5f1

View file

@ -5,7 +5,7 @@
.nh
.ad l
.\" Begin generated content:
.TH "waypipe" "1" "2025-08-15"
.TH "waypipe" "1" "2025-10-12"
.PP
.SH NAME
.PP
@ -23,7 +23,7 @@ waypipe - A transparent proxy for Wayland applications
.br
\fBwaypipe\fR [\fB--version\fR] [\fB-h\fR, \fB--help\fR]
.PP
[options.\&.\&.\&] = [\fB-c\fR, \fB--compress\fR C] [\fB-d\fR, \fB--debug\fR] [\fB-n\fR, \fB--no-gpu\fR] [\fB-o\fR, \fB--oneshot\fR] [\fB-s\fR, \fB--socket\fR S] [\fB--display\fR D] [\fB--drm-node\fR R] [\fB--remote-node\fR R] [\fB--remote-bin\fR R] [\fB--login-shell\fR] [\fB--threads\fR T] [\fB--title-prefix\fR P] [\fB--unlink-socket\fR] [\fB--video\fR V] [\fB--vsock\fR] [\fB--secctx S\fR]
[options.\&.\&.\&] = [\fB-c\fR, \fB--compress\fR C] [\fB-d\fR, \fB--debug\fR] [\fB-n\fR, \fB--no-gpu\fR] [\fB-o\fR, \fB--oneshot\fR] [\fB-s\fR, \fB--socket\fR S] [\fB--display\fR D] [\fB--drm-node\fR R] [\fB--remote-node\fR R] [\fB--remote-bin\fR R] [\fB--remote-socket\fR S] [\fB--login-shell\fR] [\fB--threads\fR T] [\fB--title-prefix\fR P] [\fB--unlink-socket\fR] [\fB--video\fR V] [\fB--vsock\fR] [\fB--secctx S\fR]
.PP
.PP
.SH DESCRIPTION
@ -94,8 +94,9 @@ Only permit a single connection, and exit when it is closed.\&
Use \fBS\fR as the path for the Unix socket.\& The default socket path for
server mode is \fI/tmp/waypipe-server.\&sock\fR; for client mode, it is
\fI/tmp/waypipe-client.\&sock\fR; and in ssh mode, \fBS\fR gives the prefix used by
both the client and the server for their socket paths.\& The default prefix
in ssh mode is \fI/tmp/waypipe\fR.\&
both the client and the server for their socket paths.\& (The actual socket
paths in ssh mode add a randomized suffix to \fBS\fR.\&) The default prefix in ssh
mode is \fI/tmp/waypipe\fR.\&
.PP
When vsock is enabled use \fBS\fR to specify a CID and a port number.\&
.PP
@ -134,6 +135,13 @@ computer, or its name if it is available in \fIPATH\fR.\& It defaults to
\fBwaypipe\fR if this option isnt passed.\&
.PP
.RE
\fB--remote-socket R\fR
.RS 4
In ssh mode, specify the prefix used by the remote \fBwaypipe server\fR for
its socket path.\& This overrides the \fB--socket\fR option, on the server side
only.\&
.PP
.RE
\fB--login-shell\fR
.RS 4
Only for server mode; if no command is being run, open a login shell.\&
@ -413,6 +421,8 @@ from being leaked to disk.\&
.PP
File bug reports at: https://gitlab.\&freedesktop.\&org/mstoeckl/waypipe/
.PP
.SS Common issues
.PP
Some programs (gnome-terminal, firefox, kate, among others) have special
mechanisms to ensure that only one process is running at a time.\& Starting
those programs under Waypipe while they are running under a different
@ -420,6 +430,12 @@ Wayland compositor may silently open a window or tab in the original
instance of the program.\& Such programs may have a command line argument
to create a new instance.\&
.PP
The \fBwaypipe ssh\fR command requires that the \fBssh\fR executable supports Unix
socket forwarding; this is only supported in OpenSSH since version 6.\&7 (from
2014), and may require specific configuration.\& Other implementations of SSH may
not be able to forward Unix sockets; see the EXAMPLE section above for how to
use non-SSH transports.\&
.PP
.SH SEE ALSO
.PP
\fBweston\fR(1), \fBssh\fR(1), \fBsocat(1)\fR, \fBncat(1)\fR

View file

@ -4,24 +4,30 @@
# prevent library files from being installed
%global cargo_install_lib 0
# test_proto is only needed in %%check
%global test_features test_proto
Name: waypipe
Version: 0.10.4
Version: 0.11.2
Release: %autorelease
Summary: Wayland forwarding proxy
SourceLicense: GPLv3-or-later
# GPLv3-or-later
SourceLicense: GPL-3.0-or-later
# GPL-3.0-or-later
# ISC
# MIT
# MIT OR Apache-2.0
# (also MIT for the protocols/ directory)
License: (Apache-2.0 OR MIT) AND ISC AND MIT AND (MIT OR Apache-2.0)
License: GPL-3.0-or-later AND (Apache-2.0 OR MIT) AND ISC AND MIT
# LICENSE.dependencies contains a full license breakdown
URL: https://gitlab.freedesktop.org/mstoeckl/waypipe
Source0: waypipe-v0.10.4.tar.gz
Source0: https://gitlab.freedesktop.org/mstoeckl/waypipe/-/archive/v%{version}/%{name}-v%{version}.tar.gz
Source1: waypipe.1
Patch1: license.patch
Patch1: 0001-Cargo.toml-features-remove-test_proto-from-defaults.patch
%if 0%{?rhel}
Patch2: 0002-Cargo.toml-features-remove-video-from-defaults-for-r.patch
%endif
BuildRequires: cargo-rpm-macros >= 26
BuildRequires: bindgen-cli
@ -37,7 +43,6 @@ BuildRequires: pkgconfig(gbm)
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavutil)
BuildRequires: pkgconfig(libswscale)
# not sure if needed without ffmpeg?
BuildRequires: glslc
BuildRequires: vulkan-headers
%endif
@ -48,8 +53,6 @@ BuildRequires: pkgconfig(libva)
BuildRequires: pkgconfig(wayland-protocols)
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(wayland-server)
# This one is not automatically detected properly...
BuildRequires: rust-pkg-config+default-devel
%global _description %{expand:
%{summary}.}
@ -61,7 +64,7 @@ BuildRequires: rust-pkg-config+default-devel
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%cargo_generate_buildrequires -f %{test_features}
%build
%cargo_build
@ -73,8 +76,6 @@ scdoc < waypipe.scd > waypipe.1
%install
%cargo_install
# Is there a better way to build only `--bin waypipe` ?
rm -f %{buildroot}%{_bindir}/test_proto
%if !0%{?rhel}
install -D -p -m 0644 waypipe.1 %{buildroot}%{_mandir}/man1/waypipe.1
%else
@ -83,7 +84,7 @@ install -D -p -m 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/waypipe.1
%if %{with check}
%check
%cargo_test
%cargo_test -f %{test_features}
%endif
%files