From 8e4bb132e98248b46ec252c08ec86cd54abf393235ac125a894f5a61364e95d6 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Sun, 13 Oct 2024 18:24:11 +0000 Subject: [PATCH] - 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 --- .gitattributes | 23 +++++++++++++++++ .gitignore | 1 + xmag-1.0.7.tar.xz | 3 +++ xmag-1.0.8.tar.xz | 3 +++ xmag.changes | 64 +++++++++++++++++++++++++++++++++++++++++++++++ xmag.desktop | 8 ++++++ xmag.png | 3 +++ xmag.spec | 64 +++++++++++++++++++++++++++++++++++++++++++++++ 8 files changed, 169 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 xmag-1.0.7.tar.xz create mode 100644 xmag-1.0.8.tar.xz create mode 100644 xmag.changes create mode 100644 xmag.desktop create mode 100644 xmag.png create mode 100644 xmag.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/xmag-1.0.7.tar.xz b/xmag-1.0.7.tar.xz new file mode 100644 index 0000000..2eb838b --- /dev/null +++ b/xmag-1.0.7.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:009936cc5a2706084079127b26cf55c713767650a34cb69e5682d60e33ce7461 +size 137660 diff --git a/xmag-1.0.8.tar.xz b/xmag-1.0.8.tar.xz new file mode 100644 index 0000000..93cdc56 --- /dev/null +++ b/xmag-1.0.8.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:326d3c583d795bb53ac609d144e7f7fb1499baba7eaec14b8e6cd232ea069532 +size 141688 diff --git a/xmag.changes b/xmag.changes new file mode 100644 index 0000000..b7656f8 --- /dev/null +++ b/xmag.changes @@ -0,0 +1,64 @@ +------------------------------------------------------------------- +Sun Oct 13 18:22:09 UTC 2024 - Stefan Dirsch + +- 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 + +- 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 + +- 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. + diff --git a/xmag.desktop b/xmag.desktop new file mode 100644 index 0000000..80af14d --- /dev/null +++ b/xmag.desktop @@ -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 diff --git a/xmag.png b/xmag.png new file mode 100644 index 0000000..4476f86 --- /dev/null +++ b/xmag.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e00d92de9aab0c43fe66d35def3455fa921957cc2cda7b67371d181c3c4d1c8a +size 1964 diff --git a/xmag.spec b/xmag.spec new file mode 100644 index 0000000..7aff1bf --- /dev/null +++ b/xmag.spec @@ -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