
- package: tis-stellarium
- name: Stellarium
- version: 24.3-7
- categories: Office,Education
- maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Simon Fonteneau,Pierre COSSON
- editor: Fabien Chéreau
- licence: opensource_free,cpe:/a:gnu:gpl_v2,wapt_public
- locale: all
- target_os: windows
- impacted_process: stellarium
- architecture: x64
- signature_date:
- size: 409.18 Mo
- installed_size: 784.75 Mo
- homepage : https://stellarium.org/
- depends:
package : tis-stellarium
version : 24.3-7
architecture : x64
section : base
priority : optional
name : Stellarium
categories : Office,Education
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Simon Fonteneau,Pierre COSSON
description : Stellarium is an open source planetarium software and free for your computer. It displays a realistic 3D sky, as if you are looking at it with the naked eye
depends : tis-vcredist
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.3
sources : https://github.com/Stellarium/stellarium/releases
installed_size : 784745699
impacted_process : stellarium
description_fr : Stellarium est un logiciel de planétarium open source et gratuit pour votre ordinateur. Il affiche un ciel réaliste en 3D, comme si vous le regardiez à l'œil nu
description_pl : Stellarium to oprogramowanie planetarium open source i wolne dla twojego komputera. Wyświetla realistyczne niebo 3D, tak jakbyś patrzył na nie gołym okiem
description_de : Stellarium ist eine Open-Source-Planetariumsoftware und kostenlos für Ihren Computer
description_es : Stellarium es un software de planetario de código abierto y gratuito para tu ordenador
description_pt : Stellarium é um software de planetário de código aberto e gratuito para o seu computador. Exibe um céu 3D realista, como se estivesse a olhar para ele a olho nu
description_it : Stellarium è un software planetario open source e gratuito per il vostro computer. Visualizza un cielo realistico in 3D, come se lo si guardasse a occhio nudo
description_nl : Stellarium is een open source planetarium software en gratis voor je computer
description_ru : Stellarium - это программное обеспечение для планетария с открытым исходным кодом и бесплатное для вашего компьютера. Она отображает реалистичное 3D небо, как будто вы смотрите на него невооруженным глазом
audit_schedule :
editor : Fabien Chéreau
keywords :
licence : opensource_free,cpe:/a:gnu:gpl_v2,wapt_public
homepage : https://stellarium.org/
package_uuid : 0f0cdca3-de69-4b74-b096-9129278cc142
valid_from :
valid_until :
forced_install_on :
changelog : https://github.com/Stellarium/stellarium/blob/master/ChangeLog
min_os_version : 10.0
max_os_version :
icon_sha256sum : 4a9df2c9a0233881f12bf807a5ae006db3188c207f6be38b0a516f634b0bb7aa
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2024-09-30T10:34:57.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature : n41/h/FCh0AH8YCsz1C04dRst3f+TdPXXWi7nJ0UtWf9NjO2MMV5nHkfek3dEoIlK48jOU22fYdsihEKJosSAJ4tZjwvWagaLTeEASbMVesVPMAg/KTnPh8x1vJZ/kSbgdyups5HwP9RKfizjqdTL4RHY4DqfDzXv4oLx3Mx/9WPQk+Ls2SxarGUmbWZWdTkeBnxaXdavuCcGsbufBJem17i/fDIPXxZg5oWs0evyzpAOW1/OFEC0PD0HjPp/RMOpm1YBrp4WxZqp/PhCET7dd8045K75HKHdLjHKvUAIEZ9INyUsRj6MdZO+CJPI8vjwrA+vOFFZVHQzrLZr26K8g==
# -*- coding: utf-8 -*-
from setuphelpers import *
def install():
bin_name = glob.glob("stellarium-*.exe")[0]
install_exe_if_needed(
bin_name,
silentflags="/VERYSILENT /SUPPRESSMSGBOXES /NORESTART",
key="Stellarium_is1",
min_version=control.get_software_version(),
timeout=600,
)
# -*- coding: utf-8 -*-
from setuphelpers import *
import json
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
bin_contains = "stellarium-"
def update_package():
# Declaring local variables
result = False
proxies = get_proxies()
bin_name_sub = bin_contains + "-%s.exe"
if not proxies:
proxies = get_proxies_from_wapt_console()
app_name = control.name
git_repo = "Stellarium/stellarium"
url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo
if control.architecture == "x64":
arch = "win64"
else:
arch = "win32"
# Getting latest version information from official sources
print("API used is: %s" % url_api)
json_load = json.loads(wgets(url_api, proxies=proxies))
for download in json_load["assets"]:
if bin_contains in download["name"] and arch in download["name"] and "qt6" in download["name"]:
url_dl = download["browser_download_url"]
version = json_load["tag_name"].replace("v", "")
latest_bin = download["name"]
break
print("Latest %s version is: %s" % (app_name, version))
print("Download URL is: %s" % url_dl)
# Downloading latest binaries
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(url_dl, latest_bin, proxies=proxies)
# Changing version of the package
if Version(version) > Version(control.get_software_version()):
print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
result = True
control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
# control.set_software_version(version)
control.save_control_to_wapt()
# Deleting outdated binaries
remove_outdated_binaries(version)
# Validating update-package-sources
return result
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
655e104fab3d4530ed85f0c370b2e38dea927326d1280e6a10c84fe765645050 : WAPT/changelog.txt
e82a80caf78806f0eb3587d258ea8cfeb6b48b2351fe464a2be49570c7b60cea : WAPT/control
4a9df2c9a0233881f12bf807a5ae006db3188c207f6be38b0a516f634b0bb7aa : WAPT/icon.png
12268f57c9562bd088b91ca6d5a19bef48f996625d1bfb1c395cdde09fee2924 : luti.json
23e317782ccbff633e8aa427b2e8e11cb7c43f16944aecf79b161f8bbe25f6bb : setup.py
d137912a94c1f2c3f25b0b36f20e2e7d3610b337b854bcd82bb66dba61e38a01 : stellarium-24.3-qt6-win64.exe
c10356cb4564dcbb68251ee1008e52e2529aca8242ffe8553d969c85efe41854 : update_package.py
https://github.com/Stellarium/stellarium/blob/master/ChangeLog
-6
===
no longer uninstall other version before installs
-5
===
switch to version from name instead of version in register and verify that we get the QT6 version