- Update to version 1.2.8
* This release contains the following change to the way icons are displayed in the terminal when COLORTERM=truecolor in the environment variables: The vast majority of monospaced fonts are roughly half as wide as they are tall; to account for this when displaying icons, `xprop` draws each pixel twice in the horizontal, which nicely evens out the proportions. This patch utilizes the Lower Half Block character (▄) to obtain the same result in a quarter of the space. By setting both a background and a foreground color, we can draw two pixels per character cell, thereby halving the apparent height of an icon rather than doubling its width. OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xprop?expand=0&rev=19
This commit is contained in:
commit
2048d25978
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
xprop-1.2.7.tar.xz
Normal file
3
xprop-1.2.7.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4436e3148bb91a162406230d9f736a49ca8b50b74790015dc15d78d6ce8e825f
|
||||||
|
size 144216
|
3
xprop-1.2.8.tar.xz
Normal file
3
xprop-1.2.8.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d689e2adb7ef7b439f6469b51cda8a7daefc83243854c2a3b8f84d0f029d67ee
|
||||||
|
size 147396
|
109
xprop.changes
Normal file
109
xprop.changes
Normal file
@ -0,0 +1,109 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 14 02:21:38 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
- Update to version 1.2.8
|
||||||
|
* This release contains the following change to the way icons are displayed
|
||||||
|
in the terminal when COLORTERM=truecolor in the environment variables:
|
||||||
|
The vast majority of monospaced fonts are roughly half as wide as they
|
||||||
|
are tall; to account for this when displaying icons, `xprop` draws each
|
||||||
|
pixel twice in the horizontal, which nicely evens out the proportions.
|
||||||
|
This patch utilizes the Lower Half Block character (▄) to obtain the
|
||||||
|
same result in a quarter of the space. By setting both a background and
|
||||||
|
a foreground color, we can draw two pixels per character cell, thereby
|
||||||
|
halving the apparent height of an icon rather than doubling its width.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 4 21:12:31 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
- Update to version 1.2.7
|
||||||
|
* This release fixes a failure to build with C23 compilers.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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
53
xprop.spec
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
#
|
||||||
|
# spec file for package xprop
|
||||||
|
#
|
||||||
|
# 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: xprop
|
||||||
|
Version: 1.2.8
|
||||||
|
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
|
Loading…
x
Reference in New Issue
Block a user