- package: tis-gcompris
- name: gcompris
- version: 25.1-1
- categories: education
- maintainer: Amel FRADJ
- licence: GPLv3+
- target_os: windows
- architecture: x64
- signature_date:
- size: 72.51 Mo
- homepage : https://gcompris.net/index-en.html
package : tis-gcompris
version : 25.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 : PROD
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 : 8307d7f5-93f2-4798-bbbd-d8d4a7fb7753
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 5cfc57ec92ef443e2b1027bf2b291ac651065e15349f9fa7bc42621971410371
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2025-05-28T09:56:38.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 : nlqhsexDJ5Pqzq1tr+QXg2B8l2BiPYIf/DHdL1zS4MoXsi771C0uKB4dliu/gQcYzbF5xr8MI2UkRT+tMYArY5nl8h3dQl/ej3gHIhSo7R1SJmJmMt1ygvxnFgWKb4rd4qvu9UT2rcnyFkrcf1OWLQ7HpyOQg4XWjPCuSKRAS79KP2pwj36fALszdK6zXUALzgpPoJH3196a0QFwMI/2EP4uTLRqUgmLXhKogbCdulPAHF0/oSc01eoRxE4kOUJjGT+c2J0HzREb81q9fJjJE524eMXluNtoFvDmHVIkm6ekrrCup9C7PKFo7mWdikzh6rlyEE0vyEF6TTYnTw9ueA==
# -*- 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
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
ce18ce0452954af8db0cf998b69c688f14833062dcadbd7288c2b8004f1c55f1 : WAPT/control
5cfc57ec92ef443e2b1027bf2b291ac651065e15349f9fa7bc42621971410371 : WAPT/icon.png
f0329ab42e576fbac9b7202edcfcb9e9e1d080525bb800704bf5b145e4d2a236 : gcompris-qt-25.1-win64-gcc.exe
297403f16fdc8bc4b81035093c2008f918da3ef05d5ad67df3a219be227ffeab : luti.json
cfff6a57ad8c0725b98c365cc913fdf1ec867b4cf52146954bc21f98a906b15d : setup.py
7440015c9aae60c645a0b6581a41dc252b4e5b3b27891e6a51df983b8794d739 : update_package.py