changeset 21:7f02682ff5ed

bing4desktop-0.240207-4
author prymula <prymula76@outlook.com>
date Wed, 07 Feb 2024 22:51:58 +0100
parents 5c6ead828ca5
children 4773cc53027b
files bing4desktop/Changelog.txt bing4desktop/DEBIAN/bing4desktop.dsc bing4desktop/DEBIAN/debian.control bing4desktop/PKG/PKGBUILD bing4desktop/RPM/bing4desktop.spec bing4desktop/bing4desktop.py
diffstat 6 files changed, 14 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/bing4desktop/Changelog.txt	Wed Feb 07 14:36:55 2024 +0100
+++ b/bing4desktop/Changelog.txt	Wed Feb 07 22:51:58 2024 +0100
@@ -1,3 +1,4 @@
+0.240207-4 - Próby zbudowania pakietu dla Debiana - nie udane
 0.240207-3 - Teraz powiadomienie pokazuje opis zdjęcia aktualnie podglądanego, nie nadpisuje ustawionego
 0.240207-2 - Poprawilem nadpisywanie treści powiadomienia przez zdjęcia w podglądzie
 0.240207-0 - Poprawki niedociągnięć w Makefile.aur
--- a/bing4desktop/DEBIAN/bing4desktop.dsc	Wed Feb 07 14:36:55 2024 +0100
+++ b/bing4desktop/DEBIAN/bing4desktop.dsc	Wed Feb 07 22:51:58 2024 +0100
@@ -5,19 +5,19 @@
 Source: bing4desktop
 Binary: bing4desktop
 Architecture: all
-Version: 0.240207-3
+Version: 0.240207-4
 Maintainer: Przemysław R. Pietraszczyk <prymula76@outlook.com>
 Homepage: http://prymula.ct8.pl
 
-DEBTRANSFORM-TAR: bing4desktop-0.240207-3.tar.gz
+DEBTRANSFORM-TAR: bing4desktop-0.240207-4.tar.gz
  
 Standards-Version: 4.6.2.0
-Build-Depends: debhelper-compat (>= 12), python3-all | python3, dh-python, python3-pillow, python3-requests, python3-tk, python3-pystray, fakeroot
+Build-Depends: debhelper-compat (>= 12), python3-all, dh-python, python3-requests, python3-tk, python3-pil.imagetk, python3-pystray, fakeroot
 Package-List:
  bing4desktop deb x11 optional arch=all
 Files:
- b31649bc23b2b7bca9ab70ea3410711a 128820 bing4desktop-0.240207-3.tar.gz
- 29e7e7e60bc81891e3da3871b9eeb549 764 bing4desktop-0.240207-3.debian.tar.gz
+ b31649bc23b2b7bca9ab70ea3410711a 128820 bing4desktop-0.240207-4.tar.gz
+ 29e7e7e60bc81891e3da3871b9eeb549 764 bing4desktop-0.240207-4.debian.tar.gz
 
 -----BEGIN PGP SIGNATURE-----
 
--- a/bing4desktop/DEBIAN/debian.control	Wed Feb 07 14:36:55 2024 +0100
+++ b/bing4desktop/DEBIAN/debian.control	Wed Feb 07 22:51:58 2024 +0100
@@ -2,11 +2,11 @@
 Section: python
 Priority: extra
 Maintainer: Przemysław R. Pietraszczyk
-Build-Depends: debhelper-compat (= 12), python3-all | python3, dh-python, python3-pillow, python3-requests, python3-tk, python3-pystray, fakeroot
+Build-Depends: debhelper-compat (= 12), python3-all, dh-python, python3-requests, python3-tk, python3-pil.imagetk, python3-pystray, fakeroot
 Standards-Version: 4.6.2.0
 Homepage: http://prymula.ct8.pl
 
 Package: bing4desktop
 Architecture: all
-Depends: ${misc:Depends}, python3-all | python3, python3-pillow, python3-requests, python3-tk, python3-pystray
+Depends: ${misc:Depends}, python3-all, python3-requests, python3-tk, python3-pil.imagetk, python3-pystray
 Description: Beautify your desktop with photos from Bing search engine
--- a/bing4desktop/PKG/PKGBUILD	Wed Feb 07 14:36:55 2024 +0100
+++ b/bing4desktop/PKG/PKGBUILD	Wed Feb 07 22:51:58 2024 +0100
@@ -2,7 +2,7 @@
 
 pkgname=bing4desktop
 pkgver=0.240207
-pkgrel=3
+pkgrel=4
 pkgdesc="Beautify your desktop with photos from Bing search engine"
 arch=('any')
 url="prymula.ct8.pl"
@@ -13,7 +13,7 @@
 makedepends=('python' 'python-pillow' 'python-requests' 'tk')
 source=(${pkgname}-${pkgver}-${pkgrel}.tar.gz)
 noextract=()
-sha256sums=('45ff8acee60441dd0e938ab231228250dd3927683de88e91ca890bf873e55d71') #generate with 'makepkg -g' || sha256sum
+sha256sums=('4a302766271ec0c62e4783d507b05534191c976e8b543197da59de759b8d1a1c') #generate with 'makepkg -g' || sha256sum
 
 #build() {
 	#cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}"
--- a/bing4desktop/RPM/bing4desktop.spec	Wed Feb 07 14:36:55 2024 +0100
+++ b/bing4desktop/RPM/bing4desktop.spec	Wed Feb 07 22:51:58 2024 +0100
@@ -15,10 +15,10 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
-%define unmangled_version 0.240207-3
+%define unmangled_version 0.240207-4
 Name:       bing4desktop
 Version:	0.240207
-Release:    3
+Release:    4
 Summary:	Beautify your desktop with photos from Bing search engine
 License:	Public Domain
 URL:		https://prymula.ct8.pl
--- a/bing4desktop/bing4desktop.py	Wed Feb 07 14:36:55 2024 +0100
+++ b/bing4desktop/bing4desktop.py	Wed Feb 07 22:51:58 2024 +0100
@@ -22,7 +22,7 @@
 import shutil
 import glob
 
-ver = "0.240207-3"
+ver = "0.240207-4"
 
 BING_URI_BASE = "http://www.bing.com"
 BING_WALLPAPER_PATH = "/HPImageArchive.aspx?format=js&idx=1&n=1&mkt=en-US"
@@ -104,7 +104,7 @@
                 except:
                     args = ["gsettings", "set", "org.cinnamon.desktop.background", "picture-uri", uri]
                     subprocess.Popen(args)
-            elif desktop_env=="mate":
+            elif desktop_env in ['mate', 'lightdm-xsession']:
                 try: # MATE >= 1.6
                     # info from http://wiki.mate-desktop.org/docs:gsettings
                     args = ["gsettings", "set", "org.mate.background", "picture-filename", "'%s'" % file_loc]