From 213e22a31d288269360cdeea9c47a43c64f66845e5b4f906c633e8568e011637 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Tue, 29 Oct 2024 09:37:51 +0100 Subject: [PATCH] Sync from SUSE:SLFO:Main xclip revision e35633ff7442e2b8117d7edf804967fb --- xclip-0.13.tar.gz | 3 --- ...73579d30f9ba998ffd0a73694e7abe2c313.tar.gz | 3 +++ xclip.changes | 16 ++++++++++++ xclip.spec | 26 ++++++++++++------- 4 files changed, 35 insertions(+), 13 deletions(-) delete mode 100644 xclip-0.13.tar.gz create mode 100644 xclip-b372f73579d30f9ba998ffd0a73694e7abe2c313.tar.gz diff --git a/xclip-0.13.tar.gz b/xclip-0.13.tar.gz deleted file mode 100644 index 499f04e..0000000 --- a/xclip-0.13.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ca5b8804e3c910a66423a882d79bf3c9450b875ac8528791fb60ec9de667f758 -size 30461 diff --git a/xclip-b372f73579d30f9ba998ffd0a73694e7abe2c313.tar.gz b/xclip-b372f73579d30f9ba998ffd0a73694e7abe2c313.tar.gz new file mode 100644 index 0000000..622f259 --- /dev/null +++ b/xclip-b372f73579d30f9ba998ffd0a73694e7abe2c313.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e29eb23e4625c6c2c05c59054fdeafeca59bb5b5226840a0ae9dcb44c875377c +size 37347 diff --git a/xclip.changes b/xclip.changes index 7801f57..cbff1eb 100644 --- a/xclip.changes +++ b/xclip.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Fri Jun 21 14:30:07 UTC 2024 - Manfred Schwarb + +- use git hash in download URL, not branch name. + +------------------------------------------------------------------- +Tue Jun 18 23:07:13 UTC 2024 - Manfred Schwarb + +- Update to master checkout b372f73: + * add -sensitive option + * works reliably for large data streams + * improved debug and checking facilities + * when pasting, don't clear selection unless -sensitive is given + * if stdin is a tty, choose appropriate -i or -o option as default mode + * numerous bug fixes (segfaults, resource leaks, null pointer dereference) + ------------------------------------------------------------------- Fri Mar 12 22:37:21 UTC 2021 - Dirk Müller diff --git a/xclip.spec b/xclip.spec index 6b45bb2..abac393 100644 --- a/xclip.spec +++ b/xclip.spec @@ -1,7 +1,7 @@ # # spec file for package xclip # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,20 +16,24 @@ # +%define rversion 0.13 +%define gitdate 20220129 +%define githash b372f73579d30f9ba998ffd0a73694e7abe2c313 + Name: xclip -Version: 0.13 +Version: %{rversion}+git%{gitdate} Release: 0 Summary: Command Line Interface to the X11 Clipboard License: GPL-2.0-or-later Group: System/X11/Utilities URL: https://github.com/astrand/xclip -Source: https://github.com/astrand/%{name}/archive/%{version}.tar.gz#./%{name}-%{version}.tar.gz +Source: https://github.com/astrand/xclip/archive/%{githash}.tar.gz#/%{name}-%{githash}.tar.gz BuildRequires: autoconf BuildRequires: automake -BuildRequires: xorg-x11-libICE-devel -BuildRequires: xorg-x11-libX11-devel -BuildRequires: xorg-x11-libXext-devel -BuildRequires: xorg-x11-libXmu-devel +BuildRequires: pkgconfig(ice) +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xext) +BuildRequires: pkgconfig(xmu) %description xclip is a command line interface to the X11 clipboard. It can also be used @@ -37,7 +41,7 @@ for copying files, as an alternative to sftp/scp, thus avoiding password prompts when X11 forwarding has already been setup. %prep -%setup -q +%autosetup -n %{name}-%{githash} %build bash ./bootstrap @@ -50,6 +54,8 @@ bash ./bootstrap %install %make_install +%check + %files %license COPYING %doc ChangeLog README @@ -57,7 +63,7 @@ bash ./bootstrap %{_bindir}/xclip-copyfile %{_bindir}/xclip-cutfile %{_bindir}/xclip-pastefile -%{_mandir}/man1/xclip.1%{?ext_man} -%{_mandir}/man1/xclip-copyfile.1%{?ext_man} +%{_mandir}/man1/xclip.1%{?ext_man}* +%{_mandir}/man1/xclip-copyfile.1%{?ext_man}* %changelog