changeset 15:18816a0c1fc2

bing4desktop-0.240206-4
author prymula <prymula76@outlook.com>
date Tue, 06 Feb 2024 19:40:55 +0100
parents 4770f6dca839
children 2dea5bff9c0c
files bing4desktop/COPYRIGHT bing4desktop/DEBIAN/bing4desktop.dsc bing4desktop/DEBIAN/debian.control bing4desktop/PKG/PKGBUILD bing4desktop/RPM/bing4desktop.spec bing4desktop/TODO.txt bing4desktop/bing4desktop.py
diffstat 7 files changed, 46 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bing4desktop/COPYRIGHT	Tue Feb 06 19:40:55 2024 +0100
@@ -0,0 +1,27 @@
+This software is distributed under the Public Domain. Since it is
+not enough anymore to tell people: 'hey, just do with it whatever
+you like to do', you can consider this software being distributed
+under the CC0 Public Domain Dedication
+(http://creativecommons.org/publicdomain/zero/1.0/legalcode.txt).
+
+In cases, where the law prohibits the recognition of Public Domain
+software, this software can be licensed under the zlib license as
+stated below:
+
+Copyright (C) 2023 Przemyslaw R. Pietraszczyk <prymula76@outlook.com>
+
+This software is provided 'as-is', without any express or implied
+warranty. In no event will the authors be held liable for any damages
+arising from the use of this software.
+
+Permission is granted to anyone to use this software for any purpose,
+including commercial applications, and to alter it and redistribute it
+freely, subject to the following restrictions:
+
+1. The origin of this software must not be misrepresented; you must not
+   claim that you wrote the original software. If you use this software
+   in a product, an acknowledgement in the product documentation would be
+   appreciated but is not required.
+2. Altered source versions must be plainly marked as such, and must not be
+   misrepresented as being the original software.
+3. This notice may not be removed or altered from any source distribution.
--- a/bing4desktop/DEBIAN/bing4desktop.dsc	Tue Feb 06 18:07:17 2024 +0100
+++ b/bing4desktop/DEBIAN/bing4desktop.dsc	Tue Feb 06 19:40:55 2024 +0100
@@ -5,19 +5,19 @@
 Source: bing4desktop
 Binary: bing4desktop
 Architecture: all
-Version: 0.240206-3
+Version: 0.240206-4
 Maintainer: Przemysław R. Pietraszczyk <prymula76@outlook.com>
 Homepage: http://prymula.ct8.pl
 
-DEBTRANSFORM-TAR: bing4desktop-0.240206-3.tar.gz
+DEBTRANSFORM-TAR: bing4desktop-0.240206-4.tar.gz
  
 Standards-Version: 4.6.2.0
-Build-Depends: debhelper-compat (>= 12), python3-all, dh-python, python3-pillow, python3-requests,  distutils, fakeroot
+Build-Depends: debhelper-compat (>= 12), python3-all, dh-python, python3-pillow, python3-requests, python3-tk, python3-pystray, distutils, fakeroot
 Package-List:
  verysimpleslideshow deb x11 optional arch=all
 Files:
- b31649bc23b2b7bca9ab70ea3410711a 128820 bing4desktop-0.240206-3.tar.gz
- 29e7e7e60bc81891e3da3871b9eeb549 764 bing4desktop-0.240206-3.debian.tar.gz
+ b31649bc23b2b7bca9ab70ea3410711a 128820 bing4desktop-0.240206-4.tar.gz
+ 29e7e7e60bc81891e3da3871b9eeb549 764 bing4desktop-0.240206-4.debian.tar.gz
 
 -----BEGIN PGP SIGNATURE-----
 
--- a/bing4desktop/DEBIAN/debian.control	Tue Feb 06 18:07:17 2024 +0100
+++ b/bing4desktop/DEBIAN/debian.control	Tue Feb 06 19:40:55 2024 +0100
@@ -2,8 +2,8 @@
 Section: python
 Priority: extra
 Maintainer: Przemysław R. Pietraszczyk
-Build-Depends: debhelper-compat (>= 12), python3-all, dh-python, python3-pillow, python3-requests,  distutils, fkeroot
-Standards-Version: 3.9.6
+Build-Depends: debhelper-compat (= 12), python3-all, dh-python, python3-pillow, python3-requests, python3-tk, python3-pystray, distutils, fakeroot
+Standards-Version: 4.6.2.0
 Homepage: http://prymula.ct8.pl
 
 
--- a/bing4desktop/PKG/PKGBUILD	Tue Feb 06 18:07:17 2024 +0100
+++ b/bing4desktop/PKG/PKGBUILD	Tue Feb 06 19:40:55 2024 +0100
@@ -2,18 +2,18 @@
 
 pkgname=bing4desktop
 pkgver=0.240206
-pkgrel=3
+pkgrel=4
 pkgdesc="Beautify your desktop with photos from Bing search engine"
 arch=('any')
 url="prymula.ct8.pl"
 license=('Public Domain')
 groups=()
 provides=('bing4desktop')
-depends=('python' 'python-pillow' 'python-requests')
-makedepends=('python' 'python-pillow' 'python-requests')
+depends=('python' 'python-pillow' 'python-requests' 'tk')
+makedepends=('python' 'python-pillow' 'python-requests' 'tk')
 source=(${pkgname}-${pkgver}-${pkgrel}.tar.gz)
 noextract=()
-sha256sums=('105efbfb2b841a2342c958bbcc435f98020876f907936b4985ac472744885729') #generate with 'makepkg -g' || sha256sum
+sha256sums=('4da4cf3dbb3f0b1028cad1b5be12a2878b6c5151d8f08b6380fcbc001b54fbed') #generate with 'makepkg -g' || sha256sum
 
 #build() {
 	#cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}"
--- a/bing4desktop/RPM/bing4desktop.spec	Tue Feb 06 18:07:17 2024 +0100
+++ b/bing4desktop/RPM/bing4desktop.spec	Tue Feb 06 19:40:55 2024 +0100
@@ -15,21 +15,21 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
-%define unmangled_version 0.240206-3
+%define unmangled_version 0.240206-4
 Name:       bing4desktop
 Version:	0.240206
-Release:    3
+Release:    4
 Summary:	Beautify your desktop with photos from Bing search engine
 License:	Public Domain
 URL:		https://prymula.ct8.pl
 Source0:	%{name}-%{unmangled_version}.tar.gz
 %if 0%{?suse_version}>=150000
-BuildRequires:	python3, python-Pillow, python3-requests
-Requires:       python3, python-Pillow, python3-requests
+BuildRequires:	python3, python-Pillow, python3-requests, python3-tk
+Requires:       python3, python-Pillow, python3-requests, python3-tk
 %endif
 %if 0%{?fedora}>=36
-BuildRequires:	python3, python3-pillow-tk, python3-requests
-Requires:		python3, python3-pillow-tk, python3-requests
+BuildRequires:	python3, python3-pillow-tk, python3-requests, python3-tkinter, python3-pystray
+Requires:		python3, python3-pillow-tk, python3-requests, python3-tkinter, python3-pystray
 %endif
 BuildArch:	noarch
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bing4desktop/TODO.txt	Tue Feb 06 19:40:55 2024 +0100
@@ -0,0 +1,1 @@
+Po wyswietleniu podglądu, nadpisuje poprzedni opis zdjecia. Po zamknięciu okna/okien, należy przywrócić poprzedni opis
--- a/bing4desktop/bing4desktop.py	Tue Feb 06 18:07:17 2024 +0100
+++ b/bing4desktop/bing4desktop.py	Tue Feb 06 19:40:55 2024 +0100
@@ -211,7 +211,7 @@
    
     def about(self):
         global ver
-        messagebox.showinfo("Bing4Desktop","Inspracja:\npystray.readthedocs.io/en/latest/usage.html\n\nNapisał: Prymula\n\nLuty 2024\n\nLicencja:\nPublic Domain\n\nWersja: "+ver)
+        messagebox.showinfo("Bing4Desktop","Inspiracja:\npystray.readthedocs.io/en/latest/usage.html\n\nNapisał: Prymula\n\nLuty 2024\n\nLicencja:\nPublic Domain\n\nWersja: "+ver)
         # możliwe że nieprawidlowe po wyjściu z aplikacji zwróci bląd :(
         self.window.destroy()
         self.window.update()