Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package azote for openSUSE:Factory checked in at 2022-05-30 12:44:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/azote (Old) and /work/SRC/openSUSE:Factory/.azote.new.2254 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "azote" Mon May 30 12:44:15 2022 rev:12 rq:979788 version:1.9.4 Changes: -------- --- /work/SRC/openSUSE:Factory/azote/azote.changes 2021-11-03 17:27:16.889370550 +0100 +++ /work/SRC/openSUSE:Factory/.azote.new.2254/azote.changes 2022-05-30 12:45:14.176493212 +0200 @@ -1,0 +2,14 @@ +Mon May 30 07:04:21 UTC 2022 - Michael Vetter <[email protected]> + +- 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 <[email protected]> + +- Update to 1.9.3: + * search more backgrounds sub-dirs on first run + +------------------------------------------------------------------- Old: ---- azote-1.9.2.tar.gz New: ---- azote-1.9.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ azote.spec ++++++ --- /var/tmp/diff_new_pack.aumiRq/_old 2022-05-30 12:45:14.932494218 +0200 +++ /var/tmp/diff_new_pack.aumiRq/_new 2022-05-30 12:45:14.940494229 +0200 @@ -1,7 +1,7 @@ # # spec file for package azote # -# Copyright (c) 2021 SUSE LLC +# 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 @@ -18,7 +18,7 @@ %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} Name: azote -Version: 1.9.2 +Version: 1.9.4 Release: 0 Summary: Wallpaper manager for Sway, i3 and some other WMs License: GPL-3.0-only @@ -60,7 +60,7 @@ %files %license LICENSE -%doc CHANGELOG.md README.md +%doc README.md %{_bindir}/azote %{_datadir}/applications/azote.desktop %{_datadir}/azote/ ++++++ azote-1.9.2.tar.gz -> azote-1.9.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azote-1.9.2/CHANGELOG.md new/azote-1.9.4/CHANGELOG.md --- old/azote-1.9.2/CHANGELOG.md 2021-10-29 04:00:56.000000000 +0200 +++ new/azote-1.9.4/CHANGELOG.md 1970-01-01 01:00:00.000000000 +0100 @@ -1,256 +0,0 @@ -# CHANGELOG - -## v1.9.1 (2021.03.28) - -- Added the "Use generic display names" preferences switch. -See [#143](https://github.com/nwg-piotr/azote/issues/143). - -## v1.9.0 (2021.03.13) - -- 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. - -## v1.8.2 (2020.01.11) - -- sway: fixed crash on display connected, but turned off [#110](https://github.com/nwg-piotr/azote/issues/110) -- app icon rescaled, moved to /usr/share/pixmaps -- set icon name for X11 and app_id for Wayland - -## v1.8.1 (2020.10.03) - -- screen height measurement on sway simplified -- Esc key closes the Azote window -- dialog windows' behaviour unified - -## v1.8.0 (2020.09.27) - -- added CLI messages on missing optional dependencies [#101](https://github.com/nwg-piotr/azote/issues/101): - -*There were several request to get Azote rid of dependencies unused in a certain environment. That's why I added some CLI messages. -If lack of a package won't allow Azote to work in detected environment, (e.g. `xorg-xrandr` on X11, `wlr-randr` or -`swaybg` on Wayfire), the program will display a message and terminate with exit code 1. If missing dependency just -stops some feature from working, Azote displays a message and starts normally. This attitude has pros and cons: -no more unwanted dependencies installed by default, but - apart from sway - users must take care of dependencies on their own. -Finally it's up to packagers how to deal with dependencies.* - -- in wallpapers preview, the `Gtk.Grid` container has been replaced with `Gtk.FlowBox`. This allows to maximize and/or -scale the Azote window on-the-fly without freezing its width. - -- Screen height is deprecated #108 fixed in slightly tricky way. - -*Since Gdk.Screen.height has been deprecated, there's no reasonable way to determine the screen dimensions. We need to -open a temporary window and measure its height to open the Azote window with maximum allowed vertical dimension. -In `~/.config/azote/azoterc` you'll find the `"screen_measurement_delay": "300"` value. Different hardware and window -managers need different time to open the temporary window. Increase the value if the (floating) window does not scale -to the screen height. Decrease as much as possible to speed up launching Azote.* - -## v1.7.14 (2020-09-12) -- Added possibility to open images with [swappy](https://github.com/jtheoof/swappy) (.png only); -- fixed crash on the stored wallpaper folder path not found [#102](https://github.com/nwg-piotr/azote/issues/102); -- support for [Wayfire](https://github.com/WayfireWM/wayfire) (possibly also for other wlroots-based Wayland -compositors); `swaybg` and `wlr-randr` packages required. - -## v1.7.12 (2020-06-22) -- scale and crop to triple display with / 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. - -## v1.7.11 (2020-06-03) -Python version-independent launcher script - -## v1.7.10 (2020-03-15) - -"Open with" issue [#82](https://github.com/nwg-piotr/azote/issues/82) fixed. - -## v1.7.9 (2020-02-10) - -- path to the config dir w/ XDG_CONFIG_HOME corrected. - -## v1.7.8 (2019-12-25) - -- styling clicked palette button with `button#color-btn-selected` added; -- colour picker: colour image converted into the Gtk.ColorButton class, to allow the colour edition; -- tracking the current wallpapers folder for file addition / deletion: switchable, configurable (every 5 sec by default); -- tray status icon added, to indicate the tracking on/off state. - -## v1.7.7 (2019-12-07) - -- Image menu button: available in the top right thumbnail corner; turn on in preferences and use if the context -menu not always appears on right mouse click (this may happen on Sway running with older gtk+ versions). - -## v1.7.5 (2019-11-22) - -**Changes** - -- Color picker on Sway: it'll will first try to pick a clicked point instead of an area with: - -`grim -g "$(slurp -p)" -t ppm - | convert - -format '%[pixel:p{0,0}]' txt:-` - -*Optional packages `grim`, `slurp` and `imagemagick` required; The colorthief-based calculation of the dominant color -of an area left as the fallback method.* - -- Color picker on X11: it'll will first try to pick an area and return a color with the maim command: - -`$ maim -st 0 | convert - -resize 1x1\! -format '%[pixel:p{0,0}]' info:-` - -*Optional `maim` and `imagemagick` packages required. In case it fails, the colorthief-based calculation of the dominant -color of an area will be used as the fallback method.* - -*Why so? The colorthief library is cool, but calculation of the dominant colour is not accurate enough to this -purpose. If you select a region filled with `#333333`, the calculated value will be `#343434`.* - -- Colour palette steps altered to 6, 12, 18, 24. - -- Several improvements to the environment detection and logging. - -**New** - -- Toolboxes for `.Xresources` and `alacritty.yml`; allow to find colour definitions and redefine with colours -selected from a palette or probed with the color picker. The alacritty toolbox depends on the optional `python-yaml` -package. - -*Usage: click a colour on the palette or pick with the Screen color picker -> click a colour inside the toolbox to apply. -Copy - paste definitions into the .dot file. Mind the indentation in `alacritty.yml`.* - -- Colour names dictionary: displays the colour name as the tooltip text. - -## v1.7.4 (2019-11-10) -- Layout adjusted to look well in light and dark GTK themes; -- set_always_show_image(True) for all image buttons, to avoid setting `gtk-button-images=1` in `gtk-3.0/settings.ini`; -- toolbox windows properties modified (will only affect tiling WMs); - -## v1.7.3 (2019-11-07) -New: -- Screen color picker: grabs the dominant colour of a selected screen area. - -Dependencies: -- `wmctrl` dependency removed; -- `grim`, `slurp` - optional dependency added: for screen color picker on Sway; -- `maim` - optional dependency added: for screen color picker on X11; (it'll also install `slop`, necessary as well). - -Bug fixes: -- prevent program from crashing in case Sway not installed; -- prevent program from crashing in case wallpaper folder manually removed; -- fix for context menu not being shown if jpg or jpeg file association not detected; -- icon_flip.svg converted from font to shape; -- hardcoded 'Copy as' string replaced with the dictionary value. - -## v1.7.2 (2019-11-04) -- Scale and crop an image to dual width or height of the primary display -- Data migrated to XGD-compliant locations -- Scale & crop feature not working on X11 bug, previously fixed in 1.5.1, has been reintroduced accidentally. -Fixed one more time. - -_Running Azote for the first time will move all the program data to XDG-compliant folders. From now -on you'll find the `azoterc` file $XDG_CONFIG_HOME/azote/ (usually `~/.config/azote/azoterc`). Application data will be -placed in $XDG_DATA_HOME/azote (`~/.local/share/azote/`). Thumbnails may regenerate. You may need to re-apply wallpaper -settings._ - -## v1.7.0 (2019-11-01) -- **Scale & crop** backgrounds to virtual, custom display dimensions; define a custom display dimensions in preferences; -- **CLI arguments** added: `-h | --help`, `-c | --clear` (clear unused thumbnails), -`-a | --clear-all` (clear all thumbnails); -- **thumbnails**: checkered background instead of black (clear thumbnails for this to take effect); -- **Create palette**: generates a colour palette on the basis of the selected image and displays a pop-up window; -click a colour button to copy `#rrggbb` or `(r, g, b)` to the clipboard; switch hex / decimal format in preferences; -This feature uses the awesome [colorthief library](https://github.com/fengsp/color-thief-py) (c) 2015 by Shipeng Feng; -- `~/.azote.azoterc` runtime configuration added - defines thumbnail width, number of thumbnail columns, dimensions -of palette color images, color palette quality; -- image button removed, context menu always active; -- button icons redesigned. - -Installing the 1.7.0 version will trigger regeneration of thumbnails on the first run. - -## v1.5.1 (2019-10-16) -- scale & crop feature not working on X11 bug -[fixed](https://github.com/nwg-piotr/azote/commit/077806e6f72a84fdf768ac6c64d4f081a78fb579) -- small fixes to translations - -## v1.5.0 (2019-10-12) -- Image menu: scale and crop the selected image to dimensions of a selected display - -## v1.4.0 (2019-09-15) -- move to trash button feature moved to the image menu, button removed, context (right click) menu added -- image button now opens the image menu -- settings button added: turns image button and thumbnail context menu on/off (as right-click menu is not 100% reliable - on Sway). Default settings determined on 1st run, depending on the sway environment detection. -- menus' gravity adjusted -- way of checking if we're running sway altered to avoid crash on qtile - -## v1.3.1 (2019-08-21) -- double click on a thumbnail sets the wallpaper on all displays (mode = 'fill') -- main.py: some methods in classes replaced with static functions -- fix to the "Azote doesn't handle correctly file paths with spaces" issue #41 - -## v1.3.0 (2019-07-29) -- fr_FR translation by HumanG33k added -- fixed "silent" crash when running Azote w/o send2trash module -- initial window size altered -- thumbnail creation progress bar added -- fallback for missing /usr/share/applications/mimeinfo.cache added - -## v1.2.0 (2019-07-07) -- issue #30 resolved: folder picker starts from the folder currently in use -- feature requested in issue #29 added: new button 'Apply to all displays' -- former 'open with feh' button now opens the menu to select from programs capable of opening the image - -## v1.1.2 (2019-07-01) -- "Use python3 explicitly" PR #26 by @jubalh merged -- inconsistency in the version numbering resolved - -## v1.1.1 (2019-06-30) -- launcher script for Void Linux added -- German description added to the .desktop file - -## v1.1.0 (2019-06-28) -- new: German translation by xsme -- new: sorting order -> settings, sorting order button & menu -- bug fix: column width 256 -> 280 to avoid the last column that does not fit in the screen -- bug fix: clear wallpaper selection on folder changed -- bug fix: do not activate the Trash button if image path not inside the home path - -## v1.0.0 (2019-06-25) -- missing check if button is not None added -- missing lang string added, lines sorted -- AUR - python-send2trash moved to optional dependencies - -## v0.1.3 (pre-release, 2019.06.24) -- PR #18 by Head-on-a-Stick merged - fix to issue #17 (Wallpaper unselectable w/o python3-send2trash (Debian)) - -## v0.1.2 (pre-release, 2019.06.23) -- A try/except clause checks the python send2trash module availability. - The python-send2trash dependency to be removed where unavailable. - -## v0.1.1 (pre-release, 2019.06.22) -- "azote/main.py: corrected feh options" PR #8 by Head-on-a-Stick merged -- some no longer needed print commands removed -- hardcoded strings replaced with the dictionary -- all modules removed from install_requires=[] in setup.py - -## v0.1.0 (pre-release, 2019.06.21) -- program icon slightly altered -- buttons and labels grouped in a single row -- new button: "Open selected with feh" -- new button: "Move selected to trash" -- new dependency: python-send2trash - -## v0.0.3 (pre-release, 2019.06.18): -- "azote/tools.py: death to grep!" PR by Head-on-a-Stick merged -- folder selection button - vertical size fixed -- deprecated GTK+ code brought up to date -- clearing background color selection on image split button pressed -- other minor fixes to UI - -## v0.0.2 (pre-release, 2019-06-17) -- shebangs changed to python3 -- dependency on i3ipc-python dropped -- a bug manifesting on single-headed setup only (on changing the split_button sensitivity) fixed -- simple translations introduced - -## v0.0.1 (pre-release, 2019-06-15) -Initial release \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azote-1.9.2/README.md new/azote-1.9.4/README.md --- old/azote-1.9.2/README.md 2021-10-29 04:00:56.000000000 +0200 +++ new/azote-1.9.4/README.md 2022-05-29 13:04:35.000000000 +0200 @@ -1,11 +1,13 @@ # Azote -[](https://travis-ci.com/nwg-piotr/azote) +This application is a part of the [nwg-shell](https://github.com/nwg-piotr/nwg-shell) project. **Azote** is a GTK+3 - based picture browser and background setter, as the frontend to the [swaybg](https://github.com/swaywm/swaybg) (sway/Wayland) and [feh](https://feh.finalrewind.org) (X windows) commands. The user interface is being developed with multi-headed setups in mind. Azote also includes several colour management tools. +[](https://repology.org/project/azote/versions) + The program is confirmed to work on sway, Wayfire, i3, Openbox, Fluxbox and dwm window managers. Wayland support is limited to wlroots-based compositors. GNOME is not supported. @@ -25,9 +27,7 @@ Available screen height: 1030 px; measurement delay: 5 ms ``` - - -*Wallpapers above come from https://wallhaven.cc* + ## Project assumptions @@ -110,42 +110,6 @@ exec dwm ``` -## Versioning - -Azote uses [Semantic Versioning 2.0.0](https://semver.org). -For changes see [CHANGELOG](https://github.com/nwg-piotr/azote/blob/master/CHANGELOG.md). - -## Installation - -[](https://repology.org/project/azote/versions) - -## Arch Linux - -Install [azote](https://aur.archlinux.org/packages/azote) from AUR. -For the development version install [azote-git](https://aur.archlinux.org/packages/azote-git). - -## Debian & Ubuntu - -Either download the .deb package or follow the instructions in [this link](https://software.opensuse.org//download.html?project=home%3AHead_on_a_Stick%3Aazote&package=azote) to add the repository and APT key. - -If the repository & key are added then the package will be updated with the usual `apt update && apt upgrade` commands. - -## Void Linux - -Binary package `azote` available in the Void repository. - -## Fedora - -For fedora-31+: -``` -sudo dnf install azote -``` - -## Other Linux distributions: - -Packagers wanted! Personally I only maintain Arch (AUR) and Void Linux packages. Please do remember to copy the -LICENSE-COLORTHIEF file to `/usr/share/licenses/azote/`. - ### Dependencies (as used in the `azote` AUR package): - `python` (`python3`) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azote-1.9.2/azote/tools.py new/azote-1.9.4/azote/tools.py --- old/azote-1.9.2/azote/tools.py 2021-10-29 04:00:56.000000000 +0200 +++ new/azote-1.9.4/azote/tools.py 2022-05-29 13:04:35.000000000 +0200 @@ -118,11 +118,13 @@ exit(1) if lines: - name, w, h, x, y = None, None, None, None, None + name, w, h, x, y, generic_name = None, None, None, None, None, None displays = [] for line in lines: if not line.startswith(" "): name = line.split()[0] + # very tricky way to obtain this value... + generic_name = line.replace(name, "")[2:-4] elif "current" in line: w_h = line.split()[0].split('x') w = int(w_h[0]) @@ -136,10 +138,12 @@ 'x': x, 'y': y, 'width': w, - 'height': h} + 'height': h, + 'generic-name': generic_name} displays.append(display) log("Output found: {}".format(display), common.INFO) displays = sorted(displays, key=lambda x: (x.get('x'), x.get('y'))) + print(displays) return displays else: @@ -358,6 +362,9 @@ # Sway comes with some sample wallpapers if common.sway and os.path.isdir('/usr/share/backgrounds/sway'): common.sample_dir = '/usr/share/backgrounds/sway' + + if os.path.isdir('/usr/share/backgrounds/archlabs'): + common.sample_dir = '/usr/share/backgrounds/archlabs' common.settings = Settings() if common.settings.clear_thumbnails: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azote-1.9.2/dist/azote new/azote-1.9.4/dist/azote --- old/azote-1.9.2/dist/azote 2021-10-29 04:00:56.000000000 +0200 +++ new/azote-1.9.4/dist/azote 2022-05-29 13:04:35.000000000 +0200 @@ -1,5 +1,5 @@ #!/bin/sh -LIB=$( python3 -Ic "from distutils.sysconfig import get_python_lib; print(get_python_lib())" ) +LIB=$(python3 -Ic "from sysconfig import get_path; print(get_path('platlib'))") cd $LIB/azote exec /usr/bin/python3 main.py "$@" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azote-1.9.2/setup.py new/azote-1.9.4/setup.py --- old/azote-1.9.2/setup.py 2021-10-29 04:00:56.000000000 +0200 +++ new/azote-1.9.4/setup.py 2022-05-29 13:04:35.000000000 +0200 @@ -8,7 +8,7 @@ setup( name='azote', - version='1.9.2', + version='1.9.4', description='Wallpaper manager for Sway, i3 and some other WMs', packages=['azote'], include_package_data=True,
