changeset 24:02409f02eea6

bing4desktop-0.240208-0
author prymula <prymula76@outlook.com>
date Thu, 08 Feb 2024 11:37:04 +0100
parents 45b565b7b853
children 4797b096efab
files bing4desktop/Changelog.txt bing4desktop/DEBIAN/debian.changelog bing4desktop/Makefile bing4desktop/PKG/PKGBUILD bing4desktop/RPM/bing4desktop.spec bing4desktop/copy_desktop.sh bing4desktop/remove_desktop.sh
diffstat 7 files changed, 29 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/bing4desktop/Changelog.txt	Wed Feb 07 23:52:18 2024 +0100
+++ b/bing4desktop/Changelog.txt	Thu Feb 08 11:37:04 2024 +0100
@@ -1,3 +1,4 @@
+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
 0.240207-2 - Poprawilem nadpisywanie treści powiadomienia przez zdjęcia w podglądzie
--- a/bing4desktop/DEBIAN/debian.changelog	Wed Feb 07 23:52:18 2024 +0100
+++ b/bing4desktop/DEBIAN/debian.changelog	Thu Feb 08 11:37:04 2024 +0100
@@ -1,3 +1,10 @@
+bing4desktop (0.240208-0) unstable; urgency=low
+
+  * Last release
+
+ -- Przemysław R. Pietraszczyk  Thu, 8 Feb 2024 10:16:00 +0200
+
+
 bing4desktop (0.240207-3) unstable; urgency=low
 
   * Last release
--- a/bing4desktop/Makefile	Wed Feb 07 23:52:18 2024 +0100
+++ b/bing4desktop/Makefile	Thu Feb 08 11:37:04 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:
@@ -17,5 +18,6 @@
 	rm $(prefix)/share/bing4desktop/bing.png
 	rm $(prefix)/share/applications/bing4desktop.desktop
 	rm /etc/xdg/autostart/bing4desktop.desktop
-	rmdir $(prefix)/share/bing4desktop/
+	#rmdir $(prefix)/share/bing4desktop/
+	$(shell ./copy_desktop.sh)
 .PHONY: uninstall
--- a/bing4desktop/PKG/PKGBUILD	Wed Feb 07 23:52:18 2024 +0100
+++ b/bing4desktop/PKG/PKGBUILD	Thu Feb 08 11:37:04 2024 +0100
@@ -1,8 +1,8 @@
 # Maintainer: Przemyslaw R. Pietraszczyk <prymula76@outlook.com>
 
 pkgname=bing4desktop
-pkgver=0.240207
-pkgrel=4
+pkgver=0.240208
+pkgrel=0
 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=('4a302766271ec0c62e4783d507b05534191c976e8b543197da59de759b8d1a1c') #generate with 'makepkg -g' || sha256sum
+sha256sums=('4610cb603906bd616d04403a187562706a0d978fcbbceae1d59120b1946d2d98') #generate with 'makepkg -g' || sha256sum
 
 #build() {
 	#cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}"
--- a/bing4desktop/RPM/bing4desktop.spec	Wed Feb 07 23:52:18 2024 +0100
+++ b/bing4desktop/RPM/bing4desktop.spec	Thu Feb 08 11:37:04 2024 +0100
@@ -15,10 +15,10 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
-%define unmangled_version 0.240207-4
+%define unmangled_version 0.240208-0
 Name:       bing4desktop
-Version:	0.240207
-Release:    4
+Version:	0.240208
+Release:    0
 Summary:	Beautify your desktop with photos from Bing search engine
 License:	Public Domain
 URL:		https://prymula.ct8.pl
--- a/bing4desktop/copy_desktop.sh	Wed Feb 07 23:52:18 2024 +0100
+++ b/bing4desktop/copy_desktop.sh	Thu Feb 08 11:37:04 2024 +0100
@@ -1,7 +1,10 @@
 #?/bin/sh
-
+exclude=lost+found
 MYDIR=/home
 
 for file in $(ls ${MYDIR}) ; do\
-	cp bing4desktop.desktop /home/${file}/.local/share/applications
+	if [[ $file == $exclude ]]
+		then
+		cp bing4desktop.desktop /home/${file}/.local/share/applications
+	fi
 done
--- a/bing4desktop/remove_desktop.sh	Wed Feb 07 23:52:18 2024 +0100
+++ b/bing4desktop/remove_desktop.sh	Thu Feb 08 11:37:04 2024 +0100
@@ -1,7 +1,10 @@
 #?/bin/sh
-
+exclude=lost+found
 MYDIR=/home
 
 for file in $(ls ${MYDIR}) ; do\
-	rm /home/${file}/.local/share/applications/bing4desktop.desktop
+	if [[ $file == $exclude ]]
+		then
+		rm /home/${file}/.local/share/applications/bing4desktop.desktop
+	fi
 done