From 63d103040741a0e29f92d7eecd227c1df2732050c6d5bd4540b1de2d4e17c58f Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Tue, 27 Aug 2024 08:04:56 +0000 Subject: [PATCH] - 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 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + xclipboard-1.1.4.tar.xz | 3 ++ xclipboard-1.1.5.tar.xz | 3 ++ xclipboard.changes | 58 ++++++++++++++++++++++++++++++++ xclipboard.desktop | 9 +++++ xclipboard.png | 3 ++ xclipboard.spec | 74 +++++++++++++++++++++++++++++++++++++++++ 8 files changed, 174 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 xclipboard-1.1.4.tar.xz create mode 100644 xclipboard-1.1.5.tar.xz create mode 100644 xclipboard.changes create mode 100644 xclipboard.desktop create mode 100644 xclipboard.png create mode 100644 xclipboard.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/xclipboard-1.1.4.tar.xz b/xclipboard-1.1.4.tar.xz new file mode 100644 index 0000000..1be48bc --- /dev/null +++ b/xclipboard-1.1.4.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f43d4560d1464e8ff58e850212f6bdb703989b66d599fb61f351b5f9e077f253 +size 128912 diff --git a/xclipboard-1.1.5.tar.xz b/xclipboard-1.1.5.tar.xz new file mode 100644 index 0000000..e24a2dd --- /dev/null +++ b/xclipboard-1.1.5.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8e47a4e18a88d47b14e8eb61a5f298687624a38f9decee9988d8b51a20514c45 +size 132420 diff --git a/xclipboard.changes b/xclipboard.changes new file mode 100644 index 0000000..808185d --- /dev/null +++ b/xclipboard.changes @@ -0,0 +1,58 @@ +------------------------------------------------------------------- +Tue Aug 27 08:01:52 UTC 2024 - Stefan Dirsch + +- 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 + +- 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. + diff --git a/xclipboard.desktop b/xclipboard.desktop new file mode 100644 index 0000000..394f4c6 --- /dev/null +++ b/xclipboard.desktop @@ -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 diff --git a/xclipboard.png b/xclipboard.png new file mode 100644 index 0000000..950769e --- /dev/null +++ b/xclipboard.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:55ccaf33ae6c6429b911cf700f497e63af6982f86d07268f1d15c11bd8cd351d +size 363 diff --git a/xclipboard.spec b/xclipboard.spec new file mode 100644 index 0000000..42f60e6 --- /dev/null +++ b/xclipboard.spec @@ -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