- Update to version 1.0.8

* gitlab CI: stop requiring Signed-off-by in commits
  * Print which arguments were unknown before giving usage message
  * Add -help and -version options
  * Clear 9 -Wuseless-cast warnings
  * Fix -Wshadow warning for Display argument to Error()
  * Fix -Wself-assign warning from clang 13
  * Fix -Wmissing-variable-declarations warning from clang 13
  * usage: add noreturn attribute
  * Quiet 64 -Wunused-parameter warnings from clang 13
  * Use double for all floating point numbers, not a mix of double and float

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xmag?expand=0&rev=13
This commit is contained in:
Stefan Dirsch 2024-10-13 18:24:11 +00:00 committed by Git OBS Bridge
commit 8e4bb132e9
8 changed files with 169 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
xmag-1.0.7.tar.xz Normal file
View File

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

3
xmag-1.0.8.tar.xz Normal file
View File

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

64
xmag.changes Normal file
View File

@ -0,0 +1,64 @@
-------------------------------------------------------------------
Sun Oct 13 18:22:09 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 1.0.8
* gitlab CI: stop requiring Signed-off-by in commits
* Print which arguments were unknown before giving usage message
* Add -help and -version options
* Clear 9 -Wuseless-cast warnings
* Fix -Wshadow warning for Display argument to Error()
* Fix -Wself-assign warning from clang 13
* Fix -Wmissing-variable-declarations warning from clang 13
* usage: add noreturn attribute
* Quiet 64 -Wunused-parameter warnings from clang 13
* Use double for all floating point numbers, not a mix of double and float
-------------------------------------------------------------------
Tue Jul 12 22:50:55 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 1.0.7
* Update README for gitlab migration
* Update configure.ac bug URL for gitlab migration
* Fix spelling/wording issues
* 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 *
-------------------------------------------------------------------
Fri Mar 12 21:55:31 UTC 2021 - Dirk Müller <dmueller@suse.com>
- refresh spec file (move license file)
-------------------------------------------------------------------
Fri Apr 24 15:03:47 UTC 2015 - sndirsch@suse.com
- Update to version 1.0.6:
* config: Add missing AC_CONFIG_SRCDIR
* configure: Drop AM_MAINTAINER_MODE
* autogen.sh: Honor NOCONFIGURE=1
* Fix typos & wording issues in source comments
* Convert sprintf to snprintf
* Delete trailing whitespace from *.[ch] files
-------------------------------------------------------------------
Thu Feb 6 10:12:23 UTC 2014 - sndirsch@suse.com
- fixed license to X11 in specfile
-------------------------------------------------------------------
Fri Jan 18 21:48:26 UTC 2013 - zaitor@opensuse.org
- Update to version 1.0.5:
+ Use lrint() from math library if available.
+ Remove obsolete ISC support.
+ man: remove trailing spaces and tabs.
+ config:
- Move man pages into their own directory
- Replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS.
- Replace deprecated AC_HELP_STRING with AS_HELP_STRING.
-------------------------------------------------------------------
Fri Apr 13 08:46:08 UTC 2012 - vuntz@opensuse.org
- Split xmag from xorg-x11. Initial version: 1.0.4.

8
xmag.desktop Normal file
View File

@ -0,0 +1,8 @@
[Desktop Entry]
Encoding=UTF-8
Exec=xmag
Type=Application
Name=X Magnifier
GenericName=Desktop Magnifier
Icon=xmag
X-KDE-StartupNotify=false

3
xmag.png Normal file
View File

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

64
xmag.spec Normal file
View File

@ -0,0 +1,64 @@
#
# spec file for package xmag
#
# 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: xmag
Version: 1.0.8
Release: 0
Summary: Screen magnifier
License: X11
Group: System/X11/Utilities
URL: https://xorg.freedesktop.org/
Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.xz
Source1: xmag.desktop
Source2: xmag.png
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xaw7)
BuildRequires: pkgconfig(xmu)
BuildRequires: pkgconfig(xorg-macros) >= 1.8
BuildRequires: pkgconfig(xt)
# This was part of the xorg-x11 package up to version 7.6
Conflicts: xorg-x11 <= 7.6
%description
xmag displays a magnified snapshot of a portion of an X11 screen.
%prep
%setup -q
%build
%configure
%make_build
%install
%make_install
%suse_update_desktop_file -i -u xmag Utility Accessibility DesktopUtility
install -m0644 -D %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/xmag.png
%files
%license COPYING
%doc ChangeLog README.md
%{_bindir}/xmag
%{_datadir}/applications/xmag.desktop
%{_datadir}/pixmaps/xmag.png
%dir %{_datadir}/X11/app-defaults
%{_datadir}/X11/app-defaults/Xmag
%{_mandir}/man1/xmag.1%{?ext_man}
%changelog