public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mahendri Dwicahyo <mahendri.md@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/deskflow] f45: Update to 1.27.0
Date: Fri, 20 Nov 2026 05:59:39 GMT	[thread overview]
Message-ID: <179515437955.1.9670348069540128586.rpms-deskflow-ac1964cc84b0@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/deskflow
            Branch : f45
            Commit : ac1964cc84b05bbdb24b520cd6c095a5e108dc75
            Author : Mahendri Dwicahyo <mahendri.md@gmail.com>
            Date   : 2026-11-18T00:34:29+07:00
            Stats  : +56/-65 in 6 file(s)
            URL    : https://src.fedoraproject.org/rpms/deskflow/c/ac1964cc84b05bbdb24b520cd6c095a5e108dc75?branch=f45

            Log:
            Update to 1.27.0

Drop the upstreamed OpenSSL 4 compatibility patch, update build
requirements and test commands, and package the installed Markdown help.
Refresh the source checksum and ignore the new archive.

Validated with rpmbuild in a Fedora Rawhide x86_64 container using
OpenSSL 4.0.3: 30/30 CTest suites passed with X11 and 28/28 without X11.
RPM installation, headless version checks, and desktop-file validation
also passed for the default build.

Assisted-by: OpenAI Codex

---
diff --git a/.gitignore b/.gitignore
index 16f1429..e708f7b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
 /deskflow-1.24.0.tar.gz
 /deskflow-1.25.0.tar.gz
 /deskflow-1.26.0.tar.gz
+/deskflow-1.27.0.tar.gz

diff --git a/deskflow-1.26.0-openssl4-compat.patch b/deskflow-1.26.0-openssl4-compat.patch
deleted file mode 100644
index cb1991f..0000000
--- a/deskflow-1.26.0-openssl4-compat.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From fdb100649b44af1ac7f0a9ec83dc7805430aada8 Mon Sep 17 00:00:00 2001
-From: Kentaro Hayashi <kenhys@xdump.org>
-Date: Sun, 31 May 2026 12:28:10 +0900
-Subject: [PATCH] fix: invalid type conversion for OpenSSL 4.0.0
-
-Since OpenSSL 4.0.0, X509_get_subject_name returns const X509_NAME
-pointer, thus X509_NAME_add_entry_by_txt does not accept it anymore.
-
-See /usr/include/openssl/x509.h.
-
-Instead, explicitly operates it via mutable X509_NAME object.
-
-It is safe operation without using X509_get_subject_name() because
-subject name was not modified after cert = X509_new() assignment.
-
-It will fix the following error.
-
-  error: invalid conversion from 'const X509_name_st*' to 'X509_NAME*' {aka 'X509_name
-  _st*'} [-fpermissive]
-     87 |   X509_NAME_add_entry_by_txt(name, "CN", MBSTRING_ASC, reinterpret_cast<const unsigned char *>("Deskflow"), -1, -1, 0);
-        |                              ^~~~
-        |                              |
-        |                              const X509_name_st*
-
-Signed-off-by: Kentaro Hayashi <kenhys@xdump.org>
----
- src/lib/net/SecureUtils.cpp | 7 ++++++-
- 1 file changed, 6 insertions(+), 1 deletion(-)
-
-diff --git a/src/lib/net/SecureUtils.cpp b/src/lib/net/SecureUtils.cpp
-index f47e437..31436d8 100644
---- a/src/lib/net/SecureUtils.cpp
-+++ b/src/lib/net/SecureUtils.cpp
-@@ -85,9 +85,14 @@ void generatePemSelfSignedCert(const QString &path, int keyLength)
-   X509_gmtime_adj(X509_get_notAfter(cert), expirationDays * 24 * 3600);
-   X509_set_pubkey(cert, privateKey);
- 
--  auto *name = X509_get_subject_name(cert);
-+  auto *name = X509_NAME_new();
-+  if (!name) {
-+    throw std::runtime_error("could not allocate subject name");
-+  }
-   X509_NAME_add_entry_by_txt(name, "CN", MBSTRING_ASC, reinterpret_cast<const unsigned char *>("Deskflow"), -1, -1, 0);
-+  X509_set_subject_name(cert, name);
-   X509_set_issuer_name(cert, name);
-+  X509_NAME_free(name);
- 
-   X509_sign(cert, privateKey, EVP_sha256());
- 

diff --git a/deskflow-client.1 b/deskflow-client.1
new file mode 100644
index 0000000..84d7d41
--- /dev/null
+++ b/deskflow-client.1
@@ -0,0 +1,16 @@
+.TH DESKFLOW-CLIENT 1
+.SH NAME
+deskflow-client \- run Deskflow in client mode
+.SH SYNOPSIS
+.B deskflow-client
+.RI [ options ]
+.SH DESCRIPTION
+This compatibility command starts
+.B deskflow-core
+in client mode to receive keyboard and mouse input from a Deskflow server.
+See
+.BR deskflow-core (1)
+for available options.
+.SH SEE ALSO
+.BR deskflow-core (1),
+.BR deskflow-server (1)

diff --git a/deskflow-server.1 b/deskflow-server.1
new file mode 100644
index 0000000..82f9aad
--- /dev/null
+++ b/deskflow-server.1
@@ -0,0 +1,16 @@
+.TH DESKFLOW-SERVER 1
+.SH NAME
+deskflow-server \- run Deskflow in server mode
+.SH SYNOPSIS
+.B deskflow-server
+.RI [ options ]
+.SH DESCRIPTION
+This compatibility command starts
+.B deskflow-core
+in server mode to share the local keyboard and mouse with Deskflow clients.
+See
+.BR deskflow-core (1)
+for available options.
+.SH SEE ALSO
+.BR deskflow-core (1),
+.BR deskflow-client (1)

diff --git a/deskflow.spec b/deskflow.spec
index 6b08c65..d34203e 100644
--- a/deskflow.spec
+++ b/deskflow.spec
@@ -5,32 +5,33 @@
 %global qt6ver 6.7.0
 
 Name:		deskflow
-Version:	1.26.0
-Release:	3%{?dist}
+Version:	1.27.0
+Release:	1%{?dist}
 Summary:	Share mouse and keyboard between multiple computers over the network
 
 License:	GPL-2.0-only
 URL:		https://github.com/%{name}/%{name}
 Source:		%{url}/archive/v%{version}/%{name}-%{version}.tar.gz
-# Backported from upstream patch, our downstream patch is slightly different
-# https://github.com/deskflow/deskflow/commit/fdb100649b44af1ac7f0a9ec83dc7805430aada8.patch
-Patch:		deskflow-1.26.0-openssl4-compat.patch
+Source1:	deskflow-client.1
+Source2:	deskflow-server.1
 ExcludeArch:	%{ix86}
 
 BuildRequires:	cmake >= 3.24
 BuildRequires:	desktop-file-utils
 BuildRequires:	gcc-c++
-BuildRequires:	gmock-devel
-BuildRequires:	gtest-devel
+BuildRequires:	help2man
 BuildRequires:	openssl-devel >= 3.0
 BuildRequires:	cmake(Qt6Core) >= %{qt6ver}
 BuildRequires:	cmake(Qt6LinguistTools) >= %{qt6ver}
+BuildRequires:	cmake(Qt6Test) >= %{qt6ver}
 BuildRequires:	pkgconfig(gdk-pixbuf-2.0)
 BuildRequires:	pkgconfig(glib-2.0)
 BuildRequires:	pkgconfig(gio-2.0)
 BuildRequires:	pkgconfig(libei-1.0) >= 1.3
 BuildRequires:	pkgconfig(libnotify)
-BuildRequires:	pkgconfig(libportal) >= 0.8.0
+BuildRequires:	pkgconfig(libportal) >= 0.9.1
+BuildRequires:	pkgconfig(xkbcommon)
+BuildRequires:	pkgconfig(xkbregistry)
 %if %{with x11}
 BuildRequires:	pkgconfig(ice)
 BuildRequires:	pkgconfig(sm)
@@ -38,7 +39,6 @@ BuildRequires:	pkgconfig(x11)
 BuildRequires:	pkgconfig(xext)
 BuildRequires:	pkgconfig(xi)
 BuildRequires:	pkgconfig(xinerama)
-BuildRequires:	pkgconfig(xkbcommon)
 BuildRequires:	pkgconfig(xkbfile)
 BuildRequires:	pkgconfig(xrandr)
 BuildRequires:	pkgconfig(xtst)
@@ -61,7 +61,7 @@ key press to switch focus to a different system.
 
 
 %conf
-%cmake -DSKIP_BUILD_TESTS=1 %{!?with_x11:-DBUILD_X11_SUPPORT=OFF}
+%cmake -DSKIP_BUILD_TESTS=1 -DCMAKE_INSTALL_DOCDIR=%{_docdir}/%{name} %{!?with_x11:-DBUILD_X11_SUPPORT=OFF}
 
 
 %build
@@ -75,12 +75,11 @@ key press to switch focus to a different system.
 echo -e "#!/bin/sh\n%{_bindir}/%{name}-core server \$@" > %{buildroot}/%{_bindir}/%{name}-server
 echo -e "#!/bin/sh\n%{_bindir}/%{name}-core client \$@" > %{buildroot}/%{_bindir}/%{name}-client
 chmod 755 %{buildroot}/%{_bindir}/%{name}-server  %{buildroot}/%{_bindir}/%{name}-client
+install -pm 0644 %{SOURCE1} %{SOURCE2} %{buildroot}%{_mandir}/man1/
 
 # For some reason, LICENSE_EXCEPTION is not in tarball, but generated
 cp %{buildroot}%{_datadir}/licenses/deskflow/LICENSE_EXCEPTION .
 
-# remove the html because koji does not build it
-rm -fr %{buildroot}%{_docdir}/%{name}/html
 
 %check
 export QT_QPA_PLATFORM=minimal
@@ -88,21 +87,23 @@ export QT_QPA_PLATFORM=minimal
 # XXX: Allow it to fail for now
 # Cf. https://github.com/deskflow/deskflow/issues/8203
 %{__ctest} --test-dir  "%{_vpath_builddir}/src/unittests" --output-on-failure --force-new-ctest-process %{?_smp_mflags} || :
-%{_vpath_builddir}/bin/legacytests || :
 %else
 %{__ctest} --test-dir  "%{_vpath_builddir}/src/unittests" --output-on-failure --force-new-ctest-process %{?_smp_mflags}
-%{_vpath_builddir}/bin/legacytests
 %endif
 desktop-file-validate %{buildroot}%{_datadir}/applications/%{rdnn_name}.desktop
 
 
 %files
 %license LICENSE LICENSE_EXCEPTION
-%doc README.md
+%doc %{_docdir}/%{name}/
 %{_bindir}/%{name}
 %{_bindir}/%{name}-core
 %{_bindir}/%{name}-client
 %{_bindir}/%{name}-server
+%{_mandir}/man1/%{name}.1*
+%{_mandir}/man1/%{name}-client.1*
+%{_mandir}/man1/%{name}-core.1*
+%{_mandir}/man1/%{name}-server.1*
 %{_datadir}/applications/%{rdnn_name}.desktop
 %{_datadir}/icons/hicolor/*/apps/%{rdnn_name}.png
 %{_datadir}/icons/hicolor/*/apps/%{rdnn_name}*.svg
@@ -111,6 +112,12 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{rdnn_name}.desktop
 
 
 %changelog
+* Wed Nov 18 2026 Mahendri Dwicahyo <mahendri.md@gmail.com> - 1.27.0-1
+- Update to 1.27.0
+- Drop the OpenSSL 4 compatibility patch included upstream
+- Update build dependencies and remove the legacy test invocation
+- Package upstream documentation and man pages for all four commands
+
 * Wed Jul 15 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.26.0-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/sources b/sources
index 4aa39bc..e93553e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (deskflow-1.26.0.tar.gz) = 419eccd26ae9199d6f98167e3e97c1de44e316b1b3b49d7318cf323e9955934e5ee6c4c5175ec05fc6410e5aeacae619406a98d6084a11643b24220179eb7cec
+SHA512 (deskflow-1.27.0.tar.gz) = 8d7b944fe70155db352a37b691755b05e9c695080ed0d9aa32140b90faae3da13315cd5f5e9f8fed2fe3a9b5045bffddd09bad1365d57ae70f16bae6eb3372d4

                 reply	other threads:[~2026-11-20  5:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179515437955.1.9670348069540128586.rpms-deskflow-ac1964cc84b0@fedoraproject.org \
    --to=mahendri.md@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox