commit 3f0cccba9c4f89dc43c2fbaef675e30b232ec721 Author: Adrian Schröter Date: Wed Jun 7 10:13:31 2023 +0200 Sync from SUSE:ALP:Source:Standard:1.0 xsel revision f4cccec705b8e7c7922a71773f0f103f diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/disable-werror.patch b/disable-werror.patch new file mode 100644 index 0000000..019993e --- /dev/null +++ b/disable-werror.patch @@ -0,0 +1,26 @@ +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 + diff --git a/xsel-1.2.0.tar.gz b/xsel-1.2.0.tar.gz new file mode 100644 index 0000000..3b6cb54 --- /dev/null +++ b/xsel-1.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b927ce08dc82f4c30140223959b90cf65e1076f000ce95e520419ec32f5b141c +size 169155 diff --git a/xsel.changes b/xsel.changes new file mode 100644 index 0000000..9422889 --- /dev/null +++ b/xsel.changes @@ -0,0 +1,36 @@ +------------------------------------------------------------------- +Wed Apr 26 09:59:58 UTC 2023 - Jan Engelhardt + +- Remove pre-SUSE-15 build logic + +------------------------------------------------------------------- +Tue May 14 09:39:22 UTC 2019 - Martin Liška + +- Add disable-werror.patch in order to handle with a new GCC 9 warning. + +------------------------------------------------------------------- +Fri Oct 31 00:18:44 UTC 2014 - crrodriguez@opensuse.org + +- IN current factory, also pkgconfig(xt) seems to be needed. + +------------------------------------------------------------------- +Sun Oct 19 01:19:46 UTC 2014 - crrodriguez@opensuse.org + +- In newer products, discontinue the use of metapackage + xorg-x11-devel, only pkgconfig(x11) is required. + +------------------------------------------------------------------- +Thu Nov 3 09:06:49 UTC 2011 - pascal.bleser@opensuse.org + +- build fixes for SLE_10 and SLE_11 + +------------------------------------------------------------------- +Fri Feb 19 11:58:47 UTC 2010 - guido+opensuse.org@berhoerster.name + +- cleaned up specfile, use separate changes file + +------------------------------------------------------------------- +Mon Dec 21 00:00:00 UTC 2009 - guido+opensuse.org@berhoerster.name + +- initial packaging of xsel + diff --git a/xsel.spec b/xsel.spec new file mode 100644 index 0000000..fc8df9e --- /dev/null +++ b/xsel.spec @@ -0,0 +1,52 @@ +# +# spec file for package xsel +# +# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2010 Guido Berhoerster. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: xsel +Version: 1.2.0 +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 +URL: http://www.kfish.org/software/xsel/ +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xt) + +%description +XSel is a command-line program for getting and setting the contents of the X +selection. Normally this is only accessible by manually highlighting +information and pasting it with the middle mouse button. + +%prep +%autosetup -p1 + +%build +%configure +%make_build + +%install +%make_install + +%files +%doc AUTHORS ChangeLog README +%doc %{_mandir}/man1/xsel.1x* +%{_bindir}/xsel + +%changelog