changeset 29:61c9889ed899

bing4desktop-0.240208-1
author prymula <prymula76@outlook.com>
date Thu, 08 Feb 2024 16:03:15 +0100
parents c5f6a572bc91
children 4d13cfa90272
files bing4desktop/Changelog.txt bing4desktop/CzytajTo.txt bing4desktop/DEBIAN/bing4desktop.dsc bing4desktop/DEBIAN/debian.changelog bing4desktop/Makefile bing4desktop/Makefile.aur bing4desktop/Makefile.debian bing4desktop/PKG/PKGBUILD bing4desktop/RPM/bing4desktop.spec bing4desktop/copy_desktop.sh bing4desktop/remove_desktop.sh
diffstat 9 files changed, 51 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/bing4desktop/Changelog.txt	Thu Feb 08 12:56:34 2024 +0100
+++ b/bing4desktop/Changelog.txt	Thu Feb 08 16:03:15 2024 +0100
@@ -1,3 +1,4 @@
+0.240208-1 - Roszady z Makefile
 0.240208-0 - Ograniczylem zależności dla budowy pakietów, dla Debiana
 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
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bing4desktop/CzytajTo.txt	Thu Feb 08 16:03:15 2024 +0100
@@ -0,0 +1,14 @@
+Po spełnieniu zależności – patrz katalogi DEBIAN/RPM/PKG – wydać polecenie
+
+Dla Debian/Ubuntu:
+make -f Makefile.debian install
+
+Dla pozostałych (Testowano w Fedora, OpenSUSE oraz Manjaro)
+make install
+
+Miłego slajowania !
+
+W przypadku SUSE, należało by zainstalowac pakiet 'pystray' prze pip:
+pip3 install pystray
+
+Jednak w mojej wersji OpenSuse (15.6), import nie widzi biblioteki
--- a/bing4desktop/DEBIAN/bing4desktop.dsc	Thu Feb 08 12:56:34 2024 +0100
+++ b/bing4desktop/DEBIAN/bing4desktop.dsc	Thu Feb 08 16:03:15 2024 +0100
@@ -5,19 +5,19 @@
 Source: bing4desktop
 Binary: bing4desktop
 Architecture: all
-Version: 0.240207-4
+Version: 0.240208-1
 Maintainer: Przemysław R. Pietraszczyk <prymula76@outlook.com>
 Homepage: http://prymula.ct8.pl
 
-DEBTRANSFORM-TAR: bing4desktop-0.240207-4.tar.gz
+DEBTRANSFORM-TAR: bing4desktop-0.240208-1.tar.gz
  
 Standards-Version: 4.6.2.0
 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-4.tar.gz
- 29e7e7e60bc81891e3da3871b9eeb549 764 bing4desktop-0.240207-4.debian.tar.gz
+ b31649bc23b2b7bca9ab70ea3410711a 128820 bing4desktop-0.240208-1.tar.gz
+ 29e7e7e60bc81891e3da3871b9eeb549 764 bing4desktop-0.240208-1.debian.tar.gz
 
 -----BEGIN PGP SIGNATURE-----
 
--- a/bing4desktop/DEBIAN/debian.changelog	Thu Feb 08 12:56:34 2024 +0100
+++ b/bing4desktop/DEBIAN/debian.changelog	Thu Feb 08 16:03:15 2024 +0100
@@ -1,8 +1,8 @@
-bing4desktop (0.240208-0) unstable; urgency=low
+bing4desktop (0.240208-1) unstable; urgency=low
 
   * Last release
 
- -- Przemysław R. Pietraszczyk  Thu, 8 Feb 2024 10:16:00 +0200
+ -- Przemysław R. Pietraszczyk  Thu, 8 Feb 2024 16:00:00 +0200
 
 
 bing4desktop (0.240207-3) unstable; urgency=low
--- a/bing4desktop/Makefile	Thu Feb 08 12:56:34 2024 +0100
+++ b/bing4desktop/Makefile	Thu Feb 08 16:03:15 2024 +0100
@@ -3,12 +3,13 @@
 install: bing4desktop.py
 	mkdir -pm 0755 $(prefix)/bin
 	mkdir -pm 0755 $(prefix)/share/bing4desktop
-	mkdir -pm 0755 /etc/xdg/autostart
+	#mkdir -pm 0755 /etc/xdg/autostart
 	install -m 0755 bing4desktop.py $(prefix)/bin
 	install -m 0644 bing.ico $(prefix)/share/bing4desktop
 	install -m 0644 bing.png $(prefix)/share/bing4desktop
 	install -m 0644 bing4desktop.desktop $(prefix)/share/applications
-	install -m 0644 bing4desktop.desktop /etc/xdg/autostart/
+	#install -m 0644 bing4desktop.desktop /etc/xdg/autostart/
+	$(shell ./copy_desktop.sh)
 .PHONY: install
 
 uninstall:
@@ -16,6 +17,7 @@
 	rm $(prefix)/share/bing4desktop/bing.ico
 	rm $(prefix)/share/bing4desktop/bing.png
 	rm $(prefix)/share/applications/bing4desktop.desktop
-	rm /etc/xdg/autostart/bing4desktop.desktop
+	#rm /etc/xdg/autostart/bing4desktop.desktop
 	rmdir $(prefix)/share/bing4desktop/
+	$(shell ./remove_desktop.sh)
 .PHONY: uninstall
--- a/bing4desktop/Makefile.aur	Thu Feb 08 12:56:34 2024 +0100
+++ b/bing4desktop/Makefile.aur	Thu Feb 08 16:03:15 2024 +0100
@@ -20,5 +20,5 @@
 	rm $(prefix)/share/applications/bing4desktop.desktop
 	rm /etc/xdg/autostart/bing4desktop.desktop
 	rmdir $(prefix)/share/bing4desktop/
-	#$(shell ./copy_desktop.sh)
+	#$(shell ./remove_desktop.sh)
 .PHONY: uninstall
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bing4desktop/Makefile.debian	Thu Feb 08 16:03:15 2024 +0100
@@ -0,0 +1,21 @@
+prefix=/usr
+
+install: bing4desktop.py
+	mkdir -pm 0755 $(prefix)/bin
+	mkdir -pm 0755 $(prefix)/share/bing4desktop
+	mkdir -pm 0755 /etc/xdg/autostart
+	install -m 0755 bing4desktop.py $(prefix)/bin
+	install -m 0644 bing.ico $(prefix)/share/bing4desktop
+	install -m 0644 bing.png $(prefix)/share/bing4desktop
+	install -m 0644 bing4desktop.desktop $(prefix)/share/applications
+	install -m 0644 bing4desktop.desktop /etc/xdg/autostart/
+.PHONY: install
+
+uninstall:
+	rm $(prefix)/bin/bing4desktop.py
+	rm $(prefix)/share/bing4desktop/bing.ico
+	rm $(prefix)/share/bing4desktop/bing.png
+	rm $(prefix)/share/applications/bing4desktop.desktop
+	rm /etc/xdg/autostart/bing4desktop.desktop
+	rmdir $(prefix)/share/bing4desktop/
+.PHONY: uninstall
--- a/bing4desktop/PKG/PKGBUILD	Thu Feb 08 12:56:34 2024 +0100
+++ b/bing4desktop/PKG/PKGBUILD	Thu Feb 08 16:03:15 2024 +0100
@@ -2,7 +2,7 @@
 
 pkgname=bing4desktop
 pkgver=0.240208
-pkgrel=0
+pkgrel=1
 pkgdesc="Beautify your desktop with photos from Bing search engine"
 arch=('any')
 url="prymula.ct8.pl"
--- a/bing4desktop/RPM/bing4desktop.spec	Thu Feb 08 12:56:34 2024 +0100
+++ b/bing4desktop/RPM/bing4desktop.spec	Thu Feb 08 16:03:15 2024 +0100
@@ -15,10 +15,10 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
-%define unmangled_version 0.240208-0
+%define unmangled_version 0.240208-1
 Name:       bing4desktop
 Version:	0.240208
-Release:    0
+Release:    1
 Summary:	Beautify your desktop with photos from Bing search engine
 License:	Public Domain
 URL:		https://prymula.ct8.pl