tis-stellarium icon

Stellarium

Paquet d’installation silencieuse pour Stellarium

25.1-6

  • package: tis-stellarium
  • name: Stellarium
  • version: 25.1-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: 378.84 Mo
  • installed_size: 784.75 Mo
  • homepage : https://stellarium.org/
  • depends:

package           : tis-stellarium
version           : 25.1-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      : b88fb3d1-379d-4151-8b2f-f5ed11f9ce00
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    : 2025-04-02T11:01:09.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         : GJnKr4d0szd0DIZuYeyMq0ML4x5sZLtyrY0/ECCM8Nsf/F1UcNMyi2qUGfrbhEo7+b7n2xSY41vwBmwYA7pgSIQhKUjyh8X4DXVTOrYjgbjXjVYMPWD1RQf4Y5Lgu8UlZ+Iav1kdhIYUkoMbwVvxWnW//x1cA0Yx2syjwZjY+bYCanf8v+Zwsw+/SxLYtSGtOdRLEGsElaV6AiKir7h68tBBbnfBXdZhu/Mt9YQ3YhlsS/KzsQWlNRTWLNasTKZ2ABTyd1x5KWn4aPsibcrzGHRLXiBuJk5UtociQnlKR1+d9TsOzwM6IHQUFW9wrqdph3UIjdnHwhN6sVtPm/XehQ==

# -*- 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
f0ebcfb5b8fd3e997c4ec4574c5343d0aac24fac7196c2d911d4e8b2cf602fe4 : WAPT/control
4a9df2c9a0233881f12bf807a5ae006db3188c207f6be38b0a516f634b0bb7aa : WAPT/icon.png
5f769c0c6fb968da82185bfe6e78ffb8b5afe3e7a9cecf553ba53d23b2b1975c : luti.json
23e317782ccbff633e8aa427b2e8e11cb7c43f16944aecf79b161f8bbe25f6bb : setup.py
04cbbeccedee44b561521a12466dde630d636f9d5da04f7acd4028dd80f8dd84 : stellarium-25.1-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