From 2b525dbce606be83d60666f5fc1e96a3f2c4ddd9d056982b6ffdaa04496f64bb Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Fri, 23 Aug 2024 05:48:05 +0000 Subject: [PATCH] - Update to 1.13.0: * fixed SyntaxWarning for invalid escape sequence in main.py #193 * adjustment to the current imagemagick version (convert -> magick); * workaround for Hyprland 0.42.0 oddity: If you use generic display names instead of output names, and your display has the serial value empty, Hyprland for some reason expects a space at the end of the output description (called 'Generic display name' in Azote). OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/azote?expand=0&rev=59 --- .gitattributes | 23 +++++ .gitignore | 1 + azote.changes | 251 +++++++++++++++++++++++++++++++++++++++++++++++++ azote.spec | 71 ++++++++++++++ v1.12.9.tar.gz | 3 + v1.13.0.tar.gz | 3 + 6 files changed, 352 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 azote.changes create mode 100644 azote.spec create mode 100644 v1.12.9.tar.gz create mode 100644 v1.13.0.tar.gz 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/azote.changes b/azote.changes new file mode 100644 index 0000000..bcb4a1c --- /dev/null +++ b/azote.changes @@ -0,0 +1,251 @@ +------------------------------------------------------------------- +Fri Aug 23 05:46:53 UTC 2024 - Michael Vetter + +- Update to 1.13.0: + * fixed SyntaxWarning for invalid escape sequence in main.py #193 + * adjustment to the current imagemagick version (convert -> magick); + * workaround for Hyprland 0.42.0 oddity: + If you use generic display names instead of output names, and your display + has the serial value empty, Hyprland for some reason expects a space at the + end of the output description (called 'Generic display name' in Azote). + +------------------------------------------------------------------- +Wed May 29 05:07:04 UTC 2024 - Michael Vetter + +- Update to 1.12.9: + * Fix broken images path + +------------------------------------------------------------------- +Mon May 27 07:07:42 UTC 2024 - Michael Vetter + +- Update to 1.12.8: + * Fix no such file in directory bug #189 + +------------------------------------------------------------------- +Fri May 3 05:31:46 UTC 2024 - Michael Vetter + +- Update to 1.12.7: + * Get ready for Hyprland socket files moved to $XDG_RUNTIME_DIR/hypr + +------------------------------------------------------------------- +Thu Apr 4 06:03:53 UTC 2024 - Michael Vetter + +- Update to 1.12.6: + * Added Italian translation #186 + +------------------------------------------------------------------- +Mon Feb 26 07:08:01 UTC 2024 - Michael Vetter + +- Update to 1.12.5: + * Fixed silent crash on file extension in uppercase. + +------------------------------------------------------------------- +Sat Jan 27 06:37:27 UTC 2024 - Michael Vetter + +- Update to 1.12.4: + * Documentation updated + +------------------------------------------------------------------- +Tue Jul 11 02:41:40 UTC 2023 - Michael Vetter + +- Update to 1.12.3: + * Fix crash on spaces in directory names #184 + +------------------------------------------------------------------- +Wed Jul 5 07:58:55 UTC 2023 - Michael Vetter + +- Update to 1.12.2: + * Fix crash on attempt to split an image #183 + +------------------------------------------------------------------- +Fri Jun 23 06:29:33 UTC 2023 - Michael Vetter + +- Update 1.12.1 + * Add Russian translation #182 + +------------------------------------------------------------------- +Tue May 30 05:55:58 UTC 2023 - Michael Vetter + +- Update to 1.12.0: + * Fix generic name creation when the serial number field is + empty / "none"; + * As the serial numbers returned by sway and Hyprland may be + different for some reason, from now on we use the new + ~/.azotebg-hyprland setter script on Hyprland. + Edit your hyprland.conf. + +------------------------------------------------------------------- +Thu Mar 30 06:28:31 UTC 2023 - Michael Vetter + +- Update to 1.11.0: + * Increase awk compatibility + * Add Hyprland-specific displays detection + * Fix imports + * Fix example wallpaper + +------------------------------------------------------------------- +Thu Mar 9 06:42:58 UTC 2023 - Michael Vetter + +- Update to 1.10.1: + * Fix lang files path + +------------------------------------------------------------------- +Thu Mar 9 06:42:48 UTC 2023 - Michael Vetter + +- Updaet to 1.10.0: + * Multiple langs support unified with nwg-shell; + * Added "Close" button to unify this matter as well. + +------------------------------------------------------------------- +Fri Nov 11 16:00:22 UTC 2022 - Michael Vetter + +- Update to 1.9.7: + * Fixed regression introduced in #166, that caused a mess in + the ./azotebg file. Closes #169. + +------------------------------------------------------------------- +Wed Nov 2 08:38:18 UTC 2022 - Michael Vetter + +- Update to 1.9.6: + * added 2 lines to check if the /usr/share/backgrounds/nwg-shell path + exists, and set it as the sample_dir, if so. + +------------------------------------------------------------------- +Wed Jun 1 13:24:46 UTC 2022 - Michael Vetter + +- Update to 1.9.5: + * Fixed launcher script not working on Fedora #163 + +------------------------------------------------------------------- +Mon May 30 07:04:21 UTC 2022 - Michael Vetter + +- Update to 1.9.4: + * dropped distutils dependency #159 + * fixed key error occurring when generic display names used on a + non-sway wlroots-based WM #162 + +------------------------------------------------------------------- +Mon May 30 07:03:21 UTC 2022 - Michael Vetter + +- Update to 1.9.3: + * search more backgrounds sub-dirs on first run + +------------------------------------------------------------------- +Wed Nov 3 08:28:42 UTC 2021 - Michael Vetter + +- Update to 1.9.2: + * escape some special characters #155 + * fixed improper environment detection on dwl, and possibly some + other wlroots-based compositors + +------------------------------------------------------------------- +Mon Mar 29 11:08:58 UTC 2021 - Michael Vetter + +- Update to 1.9.1: + * [sway] Added the "Use generic display names" preferences + switch (#143). + +------------------------------------------------------------------- +Mon Mar 15 09:29:07 UTC 2021 - Michael Vetter + +- Update to 1.9.0: + * Restore wallpapers in use on startup; + * some tricky fixes to xrandr / fehbg support on multi-headed setups + * double click no longer applies the selected wallpaper to + outputs, just to displays preview; + * added check buttons to split current image between selected + outputs only. + +------------------------------------------------------------------- +Mon Jan 11 09:11:13 UTC 2021 - Michael Vetter + +- Update to 1.8.2: + * sway: fixed crash on display connected, but turned off #110 + * app icon re-scaled, moved to /usr/share/pixmaps + * set icon name for X11 and app_id for Wayland + +------------------------------------------------------------------- +Mon Oct 5 07:19:15 UTC 2020 - Michael Vetter + +- Update to 1.8.1: + * screen height measurement on sway simplified + * Esc key closes the Azote window + * dialog windows' behaviour unified + +------------------------------------------------------------------- +Thu Oct 1 08:52:40 UTC 2020 - Michael Vetter + +- Update to 1.8.0: + * added fix to avoid crashes on X11, when a display is connected, but turned off #110 + * added CLI messages on missing optional dependencies #101 + * screen height is deprecated #108 issue fixed in slightly tricky way + +------------------------------------------------------------------- +Mon Sep 14 07:26:16 UTC 2020 - Michael Vetter + +- Update to 1.7.14: + * Added possibility to open images with swappy (.png only) + * fixed crash on the stored wallpaper folder path not found #102 + * added support for Wayfire (possibly also for other wlroots-based + Wayland compositors); swaybg and wlr-randr packages required. + +------------------------------------------------------------------- +Tue Jun 23 09:40:06 UTC 2020 - Michael Vetter + +- Update to 1.7.12: + * scale and crop to triple display width / height; + * split vertical images vertically (is_horizontal = width >= height); + * detect which screen Azote window is displayed on; the screen + dimensions will be used as the base of the Scale and crop to + double/triple screen width/height option. This may be useful + if you use multiple-headed setup with various screen resolutions. + * added some error handling on colour definitions missing from + the allacritty.yml file. + +------------------------------------------------------------------- +Wed Jun 3 04:44:59 UTC 2020 - Michael Vetter + +- Update to 1.7.11: + * Python version-independent launcher script #87 + +------------------------------------------------------------------- +Wed May 20 06:15:47 UTC 2020 - Michael Vetter + +- Add BuildRequires gobject-introspection and python3-gobject-Gdk + +------------------------------------------------------------------- +Tue May 19 11:16:58 UTC 2020 - Michael Vetter + +- Replcae python3-yaml with python3-PyYAML +- Add requires on imagemagick + +------------------------------------------------------------------- +Wed Apr 29 07:50:00 UTC 2020 - Michael Vetter + +- Update to 1.7.10: + * path to the config dir w/ XDG_CONFIG_HOME corrected + * "Open with" issue #82 fixed. + +------------------------------------------------------------------- +Sun Jan 12 14:56:29 UTC 2020 - Michael Vetter + +- Update to 1.7.8: + * styling clicked palette button with button#color-btn-selected + added (for colour-blind people like myself); + * colour picker: colour image converted into the Gtk.ColorButton + class, to allow the colour edition; + * added tracking the currently selected wallpapers folder for + file addition / deletion: switchable, configurable (every 5 sec by default); + * tray status icon added, i.a. to indicate the tracking on/off state; + * python-send2trash from now on recommended as an obligatory dependency. +- Remove azote-python-version.patch + +------------------------------------------------------------------- +Mon Jul 1 14:42:17 UTC 2019 - mvetter@suse.com + +- Add azote-python-version.patch: Use python3 + +------------------------------------------------------------------- +Mon Jul 1 14:17:18 UTC 2019 - mvetter@suse.com + +- Package azote 1.1.1 for openSUSE diff --git a/azote.spec b/azote.spec new file mode 100644 index 0000000..2d01a3a --- /dev/null +++ b/azote.spec @@ -0,0 +1,71 @@ +# +# spec file for package azote +# +# 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/ +# + + +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +Name: azote +Version: 1.13.0 +Release: 0 +Summary: Wallpaper manager for Sway, i3 and some other WMs +License: GPL-3.0-only +Group: Productivity/Graphics/Viewers +URL: https://github.com/nwg-piotr/azote +Source: %{url}/archive/refs/tags/v%{version}.tar.gz +BuildRequires: fdupes +BuildRequires: gobject-introspection +BuildRequires: python3-Pillow +BuildRequires: python3-gobject +BuildRequires: python3-setuptools +# for screen color picker on both Sway and X11 +Requires: ImageMagick +Requires: feh +Requires: python3-Pillow +# for alacritty.yml toolbox +Requires: python3-PyYAML +Requires: python3-Send2Trash +Requires: python3-gobject +Requires: python3-gobject-Gdk +Requires: wget +Requires: wmctrl +Requires: xrandr +BuildArch: noarch + +%description +Azote is a GTK+ 3-based picture browser and a wallpaper setter, as the frontend to the swaybg (Sway/Wayland) and feh (X windows) commands. + +%prep +%setup -q + +%build +%python3_build + +%install +%python3_install +install -D -m 0644 dist/azote.svg %{buildroot}%{_datadir}/azote/azote.svg +install -D -m 0644 dist/azote.desktop %{buildroot}%{_datadir}/applications/azote.desktop +%fdupes %{buildroot}/ + +%files +%license LICENSE +%doc README.md +%{_bindir}/azote +%{_datadir}/applications/azote.desktop +%{_datadir}/azote/ +%{python_sitelib}/%{name} +%{python_sitelib}/%{name}-%{version}*-info + +%changelog diff --git a/v1.12.9.tar.gz b/v1.12.9.tar.gz new file mode 100644 index 0000000..342b19f --- /dev/null +++ b/v1.12.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca8274ee99ac9d23656c228346321480660d17d21bb44ccc1a272f0368a82a81 +size 7972961 diff --git a/v1.13.0.tar.gz b/v1.13.0.tar.gz new file mode 100644 index 0000000..405d5fc --- /dev/null +++ b/v1.13.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f13fbf3d7051b39e1c6d27dc3a6a46b5ad1f2292e32f431ace1c5b3b3d619ec4 +size 7972973