tis-gcompris icon

gcompris

Paquet d’installation silencieuse pour gcompris

26.1-1
Education
Education

Les paquets PREPROD sont des paquets construits via LUTI. Ils restent généralement 5 jours en PREPROD, après quoi un deuxième scan VirusTotal est effectué pour vérifier que le status n'a pas changé.
Si le paquet réussit ce dernier contrôle, il est promu en PROD et publié sur le store.

  • package: tis-gcompris
  • name: gcompris
  • version: 26.1-1
  • categories: education
  • maintainer: Amel FRADJ
  • licence: GPLv3+
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 81.37 Mo
  • homepage : https://gcompris.net/index-en.html

package           : tis-gcompris
version           : 26.1-1
architecture      : x64
section           : base
priority          : optional
name              : gcompris
categories        : education
maintainer        : Amel FRADJ
description       : GCompris is a high quality educational software suite, including a large number of activities for children aged 2 to 10
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : GCompris est une suite de logiciels éducatifs de haute qualité, comprenant un grand nombre d'activités pour les enfants de 2 à 10 ans
description_pl    : GCompris to wysokiej jakości pakiet oprogramowania edukacyjnego, obejmujący dużą liczbę zajęć dla dzieci w wieku od 2 do 10 lat
description_de    : GCompris ist eine hochwertige Lernsoftware mit einer Vielzahl von Aktivitäten für Kinder im Alter von 2 bis 10 Jahren
description_es    : GCompris es un paquete de software educativo de alta calidad, que incluye un gran número de actividades para niños de 2 a 10 años
description_pt    : GCompris é um pacote de software educativo de alta qualidade, que inclui um grande número de actividades para crianças dos 2 aos 10 anos
description_it    : GCompris è una suite di software educativo di alta qualità, che comprende un gran numero di attività per bambini dai 2 ai 10 anni
description_nl    : GCompris is een hoogwaardig educatief softwarepakket met een groot aantal activiteiten voor kinderen van 2 tot 10 jaar
description_ru    : GCompris - это высококачественный пакет образовательных программ, включающий большое количество занятий для детей в возрасте от 2 до 10 лет
audit_schedule    : 
editor            : 
keywords          : 
licence           : GPLv3+
homepage          : https://gcompris.net/index-en.html
package_uuid      : 69ccae6b-9956-493b-b591-cc21c3d27475
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 5cfc57ec92ef443e2b1027bf2b291ac651065e15349f9fa7bc42621971410371
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-03-11T09:28:08.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         : q6pryVkcGzks08Yn2x69boBNaoiTNy9flSgBllGCPGoxYeAAs2aM8FZwF2Jbz0oI9meZkU+SDnLV0jZSE9vKbPFWMmuESHhmx5JJ/5CRXcvR2nLg89sLVj1/5xHQzMlZZVhUxcI+PIfswOkN0Blo9LCDLW193kx6TxwSk8XPxEm4glDSG+3rUvN6csCBA3hxU61Efey8YamZuBQfOhBOYiiv2bOFWvHUdqi2Qc6YnJaU8T5hKdTCzIt+QCLY+OldewlKkPQVbOXBoviiJHSr1DzIwvrhFUMcSo5j96vJmEIhNudZNlPuHb3AAzWQQzs6QJvLxriA1tl1DSrtQ6dTvw==

# -*- coding: utf-8 -*-
from setuphelpers import *

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()

"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def install():
    # Declaring local variables
    bin_name = glob.glob('gcompris-qt-*-win64-gcc.exe')[0]
    # Installing the software

    install_exe_if_needed(bin_name,
        silentflags='/S /allusers',
        key='GCompris-Qt',
        min_version=control.get_software_version(),
    )



# -*- coding: utf-8 -*-
from setuphelpers import *


def update_package():
    # Declaring local variables
    result = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    url = "https://gcompris.net/downloads-en.html#windows"  

    bin_ends = ".exe"
    bin_contains = "gcompris"
    arch_dict ={
        'x64':'-win64-gcc.exe',
        'x86': '-win32-gcc.exe'
    }

    # Getting latest version from official sources
    print("URL used is: %s" % url)
    for bs_search in bs_find_all(url, "a", proxies=proxies, timeout=10):
        if bin_contains in bs_search["href"]  and bin_ends in bs_search["href"] and arch_dict[control.architecture] in bs_search["href"]:
            version = bs_search["href"].split("-")[-3]
            latest_bin = bs_search["href"].split("/")[-1]
            download_url = bs_search["href"]
            break

    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % download_url)

    # Downloading latest binaries
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, connect_timeout=100, proxies=proxies)

        # Checking version from file
        version_from_file = get_version_from_binary(latest_bin)
        # if not version_from_file.startswith(version) and version_from_file != '':
        if Version(version_from_file) != Version(version) and version_from_file != "":
            print("Changing version to the version number of the binary (from: %s to: %s)" % (version, version_from_file))
            os.rename(latest_bin, bin_contains + version_from_file + bin_ends)
            version = version_from_file
        else:
            print("Binary file version corresponds to online version")

    # 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
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
    # control.set_software_version(version)
    control.save_control_to_wapt()

     #nettoyer les fichiers temporaires
    for f in glob.glob('*.exe'):
        if f != latest_bin:
            remove_file(f)

    # Validating or not update-package-sources
    return result

01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
5e1d8496d0f3d390566eaf68b24356785230d76ff2b4360b8a517e3377ec31f8 : WAPT/control
5cfc57ec92ef443e2b1027bf2b291ac651065e15349f9fa7bc42621971410371 : WAPT/icon.png
56e0434bac54e0fcebcc4184f9eacd4ca39ec85273aa348df7af83ce1a96c997 : gcompris-qt-26.1-win64-gcc.exe
2610acf6ef02879e0c208cd5090b44f46812363837129a56d4ee452eb6f0c726 : luti.json
cfff6a57ad8c0725b98c365cc913fdf1ec867b4cf52146954bc21f98a906b15d : setup.py
7440015c9aae60c645a0b6581a41dc252b4e5b3b27891e6a51df983b8794d739 : update_package.py