Package Details: space-bg 2.0.9-3

Git Clone URL: https://aur.archlinux.org/space-bg.git (read-only, click to copy)
Package Base: space-bg
Description: A background image setting program that grabs the daily astronomy image (http://apod.nasa.gov/apod/astropix.html)
Upstream URL: http://github.com/t0nedef/space-bg
Licenses: GPL
Submitter: t0nedef
Maintainer: t0nedef
Last Packager: t0nedef
Votes: 7
Popularity: 0.000000
First Submitted: 2015-08-29 21:44 (UTC)
Last Updated: 2019-12-12 21:43 (UTC)

Latest Comments

mallrat commented on 2023-05-04 15:47 (UTC)

Current PKGBUILD puts the spaceimg.py file into a wrong location (python 3.8). This patch works:

diff --git a/PKGBUILD b/PKGBUILD
index 73f6993..ffd1cb9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Aaron Ali <t0nedef@causal.ca>
 pkgname=space-bg
 pkgver=2.0.9
-pkgrel=3
+pkgrel=4
 pkgdesc="A background image setting program that grabs the daily astronomy image (http://apod.nasa.gov/apod/astropix.html)"
 arch=('any')
 license=('GPL')
@@ -14,7 +14,7 @@ package()
        cd ${srcdir}/${pkgname}-${pkgver}
        install -Dm755 spacesetbg ${pkgdir}/usr/bin/spacesetbg
        install -Dm755 spacevideo.sh ${pkgdir}/usr/bin/spacevideo.sh
-       install -Dm644 spaceimg.py ${pkgdir}/usr/lib/python3.8/site-packages/spaceimg.py
+       install -Dm644 spaceimg.py ${pkgdir}/usr/lib/python3.11/site-packages/spaceimg.py
 }
 #
 md5sums=('543c650a4c259d8ae2b0b8347c3b5893')

Ralf_Mardorf commented on 2019-02-10 18:57 (UTC)

No module named 'spaceimg'

<deleted-account> commented on 2018-01-14 03:36 (UTC)

Just this last week space-bg failed to get the image (connection time out). As one can see from the output listed below my system (Antergos) doesn't like IPV6. When I use the -4 option for wget the image is immediately downloaded. That being the easiest solution, I altered the spacesetbg script to use wget -4 ...

No question here, just a note to post in case others want to find out what is happening but don't want to do any debugging.

I'm still enjoying space-bg, it's wonderful. Thanks for keeping it available.

**** output *******

wget -O today.jpg 'http://apod.nasa.gov/apod/image/1801/DSC_0022-Edit.jpg'

URL transformed to HTTPS due to an HSTS policy --2018-01-13 18:58:55-- https://apod.nasa.gov/apod/image/1801/DSC_0022-Edit.jpg Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt' Resolving apod.nasa.gov... 2001:4d0:2310:150::22, 129.164.179.22 Connecting to apod.nasa.gov|2001:4d0:2310:150::22|:443... failed: Connection timed out. Connecting to apod.nasa.gov|129.164.179.22|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1746210 (1.7M) [image/jpeg] Saving to: ‘today.jpg’

today.jpg 100%[==========================================================>] 1.67M 517KB/s in 3.3s

2018-01-13 19:01:10 (517 KB/s) - ‘today.jpg’ saved [1746210/1746210]

t0nedef commented on 2015-10-27 01:01 (UTC)

thanks xente, I updated the package

xente commented on 2015-10-20 15:14 (UTC)

diff --git a/PKGBUILD b/PKGBUILD index 9a4d1a3..18d41ed 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -14,7 +14,7 @@ package() cd ${srcdir}/${pkgname}-${pkgver} install -Dm755 spacesetbg ${pkgdir}/usr/bin/spacesetbg install -Dm755 spacevideo.sh ${pkgdir}/usr/bin/spacevideo.sh - install -Dm644 spaceimg.py ${pkgdir}/usr/lib/python3.4/site-packages/spaceimg.py + install -Dm644 spaceimg.py ${pkgdir}/usr/lib/python3.5/site-packages/spaceimg.py } # md5sums=('0d93963b0d0e1a7ce04eec1a64021bf2')