SHA256
1
0
forked from pool/xclipboard

- Update to version 1.1.5

* gitlab CI: stop requiring Signed-off-by in commits
  * Fix -Wbad-function-cast warnings from casting Atom to void *
  * Handle -Wdiscarded-qualifiers warnings for XawTextBlock ptr
  * gitlab CI: Update build container contents
  * NewClip: error out if failed to allocate memory for new ClipRec

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xclipboard?expand=0&rev=9
This commit is contained in:
Stefan Dirsch 2024-08-27 08:04:56 +00:00 committed by Git OBS Bridge
commit 63d1030407
8 changed files with 174 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
xclipboard-1.1.4.tar.xz Normal file
View File

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

3
xclipboard-1.1.5.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8e47a4e18a88d47b14e8eb61a5f298687624a38f9decee9988d8b51a20514c45
size 132420

58
xclipboard.changes Normal file
View File

@ -0,0 +1,58 @@
-------------------------------------------------------------------
Tue Aug 27 08:01:52 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 1.1.5
* gitlab CI: stop requiring Signed-off-by in commits
* Fix -Wbad-function-cast warnings from casting Atom to void *
* Handle -Wdiscarded-qualifiers warnings for XawTextBlock ptr
* gitlab CI: Update build container contents
* NewClip: error out if failed to allocate memory for new ClipRec
-------------------------------------------------------------------
Mon Jul 11 12:07:53 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 1.1.4:
* configure: Drop AM_MAINTAINER_MODE
* autogen.sh: Honor NOCONFIGURE=1
* Update README for gitlab migration
* Update configure.ac bug URL for gitlab migration
* gitlab CI: add a basic build test
* Build xz tarballs instead of bzip2
* Use _CONST_X_STRING to make libXt declare String as const char *
* Fix another -Wdiscarded-qualifiers warning
* Fix a -Wformat-truncation warning
* NewCurrentClipContents: fix a -Wnull-dereference warning
* NewClip: use calloc instead of manually setting values to 0 after malloc
* autogen.sh: use quoted string variables
* autogen: add default patch prefix
* autogen.sh: use exec instead of waiting for configure to finish
-------------------------------------------------------------------
Thu Sep 12 20:09:30 UTC 2013 - zaitor@opensuse.org
- Update to version 1.1.3:
+ Fix some size/sign conversion warnings from clang.
+ Delete trailing whitespace from source files.
+ Replace malloc(strlen)+strcpy with strdup.
+ Convert last sprintf to snprintf.
+ Rename state argument to SetButton to not shadow global state
variable.
+ Mark Quit functions as _X_NORETURN, as suggested by
-Wmissing-noreturn.
+ Don't rely on being able to set tab stops.
- Add pkgconfig(xproto) BuildRequires, new dependency.
-------------------------------------------------------------------
Sat Apr 14 22:43:49 UTC 2012 - dimstar@opensuse.org
- Update to version 1.1.2:
+ xclipboard: avoid overflow crash when building labels
(lp#792642)
+ Change resource to better position Accept/Cancel (fdo#17364)
+ Build system fixes.
-------------------------------------------------------------------
Fri Apr 13 08:46:08 UTC 2012 - vuntz@opensuse.org
- Split xclipboard from xorg-x11. Initial version: 1.1.1.

9
xclipboard.desktop Normal file
View File

@ -0,0 +1,9 @@
[Desktop Entry]
Encoding=UTF-8
Name=X Clipboard
GenericName=Clipboard Viewer
Exec=xclipboard
Icon=xclipboard
Type=Application
Terminal=false
X-KDE-StartupNotify=true

3
xclipboard.png Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:55ccaf33ae6c6429b911cf700f497e63af6982f86d07268f1d15c11bd8cd351d
size 363

74
xclipboard.spec Normal file
View File

@ -0,0 +1,74 @@
#
# spec file for package xclipboard
#
# 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
# 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: xclipboard
Version: 1.1.5
Release: 0
Summary: X clipboard client
License: MIT
Group: System/X11/Utilities
URL: http://xorg.freedesktop.org/
Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.xz
Source1: xclipboard.desktop
Source2: xclipboard.png
BuildRequires: pkg-config
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xaw7)
BuildRequires: pkgconfig(xkbfile)
BuildRequires: pkgconfig(xmu)
BuildRequires: pkgconfig(xorg-macros) >= 1.8
BuildRequires: pkgconfig(xproto) >= 7.0.17
BuildRequires: pkgconfig(xt)
# This was part of the xorg-x11 package up to version 7.6
Conflicts: xorg-x11 <= 7.6
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
xclipboard is used to collect and display text selections that are
sent to the CLIPBOARD by other clients. It is typically used to save
CLIPBOARD selections for later use. It stores each CLIPBOARD
selection as a separate string, each of which can be selected.
%prep
%setup -q
cp %{SOURCE1} .
%build
%configure
make %{?_smp_mflags}
%install
%make_install
%suse_update_desktop_file -i -u xclipboard Utility DesktopUtility
install -m0644 -D %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/xclipboard.png
%files
%defattr(-,root,root)
%doc ChangeLog README.md
%license COPYING
%{_bindir}/xclipboard
%{_bindir}/xcutsel
%{_datadir}/applications/xclipboard.desktop
%{_datadir}/pixmaps/xclipboard.png
%dir %{_datadir}/X11/app-defaults
%{_datadir}/X11/app-defaults/XClipboard
%{_mandir}/man1/xclipboard.1%{?ext_man}
%{_mandir}/man1/xcutsel.1%{?ext_man}
%changelog