- package: tis-stellarium
- name: Stellarium
- version: 24.2-6
- 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: 407.72 Mo
- installed_size: 784.75 Mo
- homepage : https://stellarium.org/
- depends:
package : tis-stellarium
version : 24.2-6
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 : fc840fbf-ead1-41a1-9a4d-c332773d3cd5
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 : iSqkRh9sl5oIte1gwB6aJ1yDnBwW0Q1cbIBmz2p50PuT8vL7eriwgVT41i1zk/Sdbxzc7LP/CWFo2bFfeV1TRMJY3R67uKQGz1xtR92af2l6RN6tlXu5iSUdPq3zKIO/T6USGSAOg7YV1/WxfyfXCr7kOHGAzFiDAx7Jhm1sThoTKyGSccI8eceqqvN7O6Sxopscbi3UIscNBcc+ZqiaDBRT40hR4614OYMB7jG+MyM5KrqTzoyss+qFY1eiu4C7lN42QbVNO4tAasNwWOFcEWM939LZ3dc9GlfdbjZa0dGejw+cJ+4IStDWHqDuVlO/E9f+y0cJOb5NvXxz3g1RsQ==
signature_date : 2024-06-29T09:01:06.336917
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
# -*- 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
23e317782ccbff633e8aa427b2e8e11cb7c43f16944aecf79b161f8bbe25f6bb : setup.py
73b1e6e73a167260d5d95dd02556274cdb66f43ead2b00d02f35024adb436e32 : stellarium-24.2-qt6-win64.exe
c10356cb4564dcbb68251ee1008e52e2529aca8242ffe8553d969c85efe41854 : update_package.py
4a9df2c9a0233881f12bf807a5ae006db3188c207f6be38b0a516f634b0bb7aa : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
655e104fab3d4530ed85f0c370b2e38dea927326d1280e6a10c84fe765645050 : WAPT/changelog.txt
307d9d44bdd7510af87b45a466bb75a40372db7fdab88303386a238da4b1e8c2 : luti.json
4bb9ec1ee29742375b6208c1139998a5dfc68a26bfc1df5a1646a5fcdf2f894d : WAPT/control
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