3 Commits

Author SHA256 Message Date
7a6f4b1ce7 Accepting request 1156289 from X11:Utilities
- Fix download url

- Update to version 1.2.1 
  * INCR transfer bug fixes in #16
  * Use XDG_CACHE_HOME for xsel.log in #15
  * Using markdown syntax in #9
  * Plug memory leak in handle_targets in #18
  * Fix segfault when stdin is empty in #17
  * Fix #19 segfault when --append to empty selection in #20
  * Do not modify HOME environment variable in #21
  * Perform fstat on stdin and stdout only if required in #22
  * Debian patches in #25
  * Avoid passing NULL to vsnprintf() in #27
  * Avoid extra char copy in strncpy in #32
  * Set timer value to 0 to stop timer, don't use a nullptr timer
    in #31
  * Remove interfering error message in #37
  * Option: trim trailing newline from output in #39
  * In README file: updated link to ICCCM rant to one that works
    in #40
  * Fix MULTIPLE conversion requests in #45
  * Added option to add window name in #41
  * Set WM_NAME and WM_CLASS window properties in #35
  * Modernize in #50
- Remove disable-werror.patch because it was applied in code

OBS-URL: https://build.opensuse.org/request/show/1156289
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xsel?expand=0&rev=14
2024-03-09 19:53:48 +00:00
29f29741ee - Fix download url
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/xsel?expand=0&rev=19
2024-03-08 09:05:15 +00:00
f0cfbb37ac Accepting request 1155852 from home:jgwang:branches:X11:Utilities
Update to version 1.2.1 
Remove disable-werror.patch because it was applied in code

OBS-URL: https://build.opensuse.org/request/show/1155852
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/xsel?expand=0&rev=18
2024-03-07 11:04:30 +00:00
5 changed files with 42 additions and 34 deletions

View File

@@ -1,26 +0,0 @@
diff --git a/configure b/configure
index 7641e96..6c64e85 100755
--- a/configure
+++ b/configure
@@ -5880,7 +5880,7 @@ fi
# Error out on compile warnings
if test "x$ac_cv_c_compiler_gnu" = xyes ; then
- CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -Werror -g -std=gnu99 -Wdeclaration-after-statement -Wno-unused"
+ CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -g -std=gnu99 -Wdeclaration-after-statement -Wno-unused"
fi
# Checks for header files.
diff --git a/configure.ac b/configure.ac
index e444185..9ab3ba9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,7 +24,7 @@ AC_CHECK_LIB([X11], [XOpenDisplay])
dnl Add some useful warnings if we have gcc.
dnl changequote(,)dnl
if test "x$ac_cv_prog_gcc" = xyes ; then
- CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -Werror -g -std=gnu99 -Wdeclaration-after-statement -Wno-unused"
+ CFLAGS="$CFLAGS -fno-strict-aliasing -Wall -g -std=gnu99 -Wdeclaration-after-statement -Wno-unused"
fi
dnl changequote([,])dnl

Binary file not shown.

3
xsel-1.2.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:18487761f5ca626a036d65ef2db8ad9923bf61685e06e7533676c56d7d60eb14
size 51621

View File

@@ -1,3 +1,35 @@
-------------------------------------------------------------------
Fri Mar 8 09:04:32 UTC 2024 - Martin Pluskal <mpluskal@suse.com>
- Fix download url
-------------------------------------------------------------------
Thu Mar 7 10:38:21 UTC 2024 - jun wang <jgwang@suse.com>
- Update to version 1.2.1
* INCR transfer bug fixes in #16
* Use XDG_CACHE_HOME for xsel.log in #15
* Using markdown syntax in #9
* Plug memory leak in handle_targets in #18
* Fix segfault when stdin is empty in #17
* Fix #19 segfault when --append to empty selection in #20
* Do not modify HOME environment variable in #21
* Perform fstat on stdin and stdout only if required in #22
* Debian patches in #25
* Avoid passing NULL to vsnprintf() in #27
* Avoid extra char copy in strncpy in #32
* Set timer value to 0 to stop timer, don't use a nullptr timer
in #31
* Remove interfering error message in #37
* Option: trim trailing newline from output in #39
* In README file: updated link to ICCCM rant to one that works
in #40
* Fix MULTIPLE conversion requests in #45
* Added option to add window name in #41
* Set WM_NAME and WM_CLASS window properties in #35
* Modernize in #50
- Remove disable-werror.patch because it was applied in code
-------------------------------------------------------------------
Wed Apr 26 09:59:58 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package xsel
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2010 Guido Berhoerster.
#
# All modifications and additions to the file contributed by third parties
@@ -18,14 +18,15 @@
Name: xsel
Version: 1.2.0
Version: 1.2.1
Release: 0
Summary: Command-line Program for Getting and Setting the Contents of the X Selection
License: MIT
Group: System/X11/Utilities
Source: http://www.kfish.org/software/xsel/download/xsel-%{version}.tar.gz
Patch0: disable-werror.patch
Source: https://github.com/kfish/xsel/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
URL: http://www.kfish.org/software/xsel/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xt)
@@ -38,6 +39,7 @@ information and pasting it with the middle mouse button.
%autosetup -p1
%build
./autogen.sh --version
%configure
%make_build