Sync from SUSE:SLFO:Main xprop revision 3527b13f2ab382881471c17dcc1d09c7

This commit is contained in:
Adrian Schröter 2024-05-04 02:15:57 +02:00
commit e002bcd340
4 changed files with 168 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

BIN
xprop-1.2.6.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

89
xprop.changes Normal file
View File

@ -0,0 +1,89 @@
-------------------------------------------------------------------
Sun Dec 4 22:29:05 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 1.2.6
* Fix spelling/wording issues
* gitlab CI: add a basic build test
* gitlab CI: stop requiring Signed-off-by in commits
* Mark help(), usage(), and grammar() with _X_NORETURN _X_COLD
* Declare help() and print_help() as static
* Rename "dpy" function arguments to "display" to avoid shadowing global
* Resolve many gcc -Wsign-compare warnings
* Variable scope reductions as suggested by cppcheck
-------------------------------------------------------------------
Fri Mar 12 22:17:57 UTC 2021 - Dirk Müller <dmueller@suse.com>
- modernize spec file (move license to licensedir)
-------------------------------------------------------------------
Fri Nov 20 10:57:17 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 1.2.5
* Add missing `-help` function
* Make output with unknown width terminal the same as old code
* Free string list returned from XmbTextPropertyToTextList
* Correct icon buffer width computation for truecolor terminals
* Check return value from ioctl(TIOCGWINSZ)
* Don't display icons if they would line-wrap.
* Break down memory allocation logic and fix overallocating for UTF8.
* Fix aspect ratio for icon display by using two characters per icon pixel.
* Support true color output for icons if the terminal advertises it.
* Fix formatting of back-to-back not shown icons.
-------------------------------------------------------------------
Sun Mar 10 11:51:03 UTC 2019 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 1.2.4
* Add missing braces around else clause in Read_Quoted()
* Fix -Wsign-compare warning in dsimple.c
* Fix typo in xprop.man
* Update configure.ac bug URL for gitlab migration
* Update README for gitlab migration
-------------------------------------------------------------------
Wed Apr 4 16:27:31 UTC 2018 - sndirsch@suse.com
- Update to version 1.2.3
* configure: Drop AM_MAINTAINER_MODE
* autogen.sh: Honor NOCONFIGURE=1
* Print which option was in error along with usage message
* Add -version option to print program version
* Free the thunks used by Show_Prop
* Free the data returned by XListProperties()
* Free the data returned by XGetWindowProperty()
* Free the data returned by Format_Icons()
* autogen.sh: use quoted string variables
* autogen: add default patch prefix
* autogen.sh: use exec instead of waiting for configure to finish
-------------------------------------------------------------------
Tue Aug 13 14:58:11 UTC 2013 - zaitor@opensuse.org
- Update to version 1.2.2:
+ Mark usage() as noreturn, as suggested by gcc
-Wmissing-noreturn.
+ Fix const conversion warnings from gcc.
+ Add unicode argument to Format_Len_String to reduce code
duplication.
+ Replace strlen/malloc/memcpy set with strdup.
+ Mark FatalError() as taking printf-style arguments.
+ config: Add missing AC_CONFIG_SRCDIR.
+ Enable setting property of type UTF8_STRING.
+ Expand description in README a little.
-------------------------------------------------------------------
Sat Apr 14 16:26:46 UTC 2012 - dimstar@opensuse.org
- Update to version 1.2.1:
+ Improves the man page.
+ Fixes issues found by static code analysis
+ Other cleanups to the code
+ Build system fixes.
- Add pkgconfig(xproto) BuildRequires: New dependency.
-------------------------------------------------------------------
Fri Apr 13 08:46:08 UTC 2012 - vuntz@opensuse.org
- Split xprop from xorg-x11. Initial version: 1.2.0.

53
xprop.spec Normal file
View File

@ -0,0 +1,53 @@
#
# spec file for package xprop
#
# Copyright (c) 2022 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: xprop
Version: 1.2.6
Release: 0
Summary: Property displayer for X
License: MIT
Group: System/X11/Utilities
URL: https://xorg.freedesktop.org/
Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.xz
BuildRequires: pkgconfig
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xorg-macros) >= 1.8
BuildRequires: pkgconfig(xproto) >= 7.0.17
# This was part of the xorg-x11 package up to version 7.6
Conflicts: xorg-x11 <= 7.6
%description
xprop displays window and font properties of an X server.
%prep
%setup -q
%build
%configure
%make_build
%install
%make_install
%files
%license COPYING
%doc ChangeLog README.md
%{_bindir}/xprop
%{_mandir}/man1/xprop.1%{?ext_man}
%changelog