
- package: tis-lazarus
- name: Lazarus
- version: 3.8-8
- categories: Development,Education
- maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Simon FONTENEAU
- editor: Lazarus and Free Pascal Team
- licence: GNU
- locale: all
- target_os: windows
- impacted_process: lazarus,startlazarus,lazres,lazbuild,LazGDeBugControl
- architecture: x64
- signature_date:
- size: 214.03 Mo
- installed_size: 1.69 Go
- homepage : https://www.lazarus-ide.org/
package : tis-lazarus
version : 3.8-8
architecture : x64
section : base
priority : optional
name : Lazarus
categories : Development,Education
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Simon FONTENEAU
description : Lazarus is a multiplatform RAD / EDI developed in Free Pascal for Free Pascal. Its goal is to provide Object Pascal programmers with an easy-to-use development environment that is as close to Delphi as possible
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.0
sources : https://sourceforge.net/projects/lazarus/files/
installed_size : 1693990912
impacted_process : lazarus,startlazarus,lazres,lazbuild,LazGDeBugControl
description_fr : Lazarus est un RAD/EDI multiplateforme développé en Free Pascal pour Free Pascal. Son objectif est de fournir aux programmeurs Pascal Objet un environnement de développement facile à utiliser s’approchant le plus possible de Delphi
description_pl : Lazarus to wieloplatformowy RAD / EDI opracowany w Free Pascal dla Free Pascal. Jego celem jest zapewnienie programistom Object Pascal łatwego w użyciu środowiska programistycznego możliwie najbliższego Delphi
description_de : Lazarus ist eine Multiplattform-RAD / EDI, die in Free Pascal für Free Pascal entwickelt wurde. Ziel ist es, Object Pascal-Programmierern eine benutzerfreundliche Entwicklungsumgebung zur Verfügung zu stellen, die Delphi so nahe wie möglich kommt
description_es : Lazarus es un RAD / EDI multiplataforma desarrollado en Free Pascal para Free Pascal. Su objetivo es proporcionar a los programadores de Object Pascal un entorno de desarrollo fácil de usar que esté lo más cerca posible de Delphi
description_pt : Lazarus é um RAD / EDI multiplataforma desenvolvido em Free Pascal for Free Pascal. O seu objectivo é fornecer aos programadores do Object Pascal um ambiente de desenvolvimento fácil de usar que seja o mais próximo possível da Delphi
description_it : Lazarus è un RAD / EDI multipiattaforma sviluppato in Free Pascal per Free Pascal. Il suo obiettivo è fornire ai programmatori Object Pascal un ambiente di sviluppo facile da usare e il più possibile simile a Delphi
description_nl : Lazarus is een multiplatform RAD / EDI ontwikkeld in Free Pascal voor Free Pascal
description_ru : Lazarus - это многоплатформенный RAD / EDI, разработанный на Free Pascal для Free Pascal. Его цель - предоставить программистам на Object Pascal простую в использовании среду разработки, максимально приближенную к Delphi
audit_schedule :
editor : Lazarus and Free Pascal Team
keywords :
licence : GNU
homepage : https://www.lazarus-ide.org/
package_uuid : 0da9e75c-0d1c-4b41-a836-f23d8c000ae7
valid_from :
valid_until :
forced_install_on :
changelog : https://wiki.freepascal.org/Special:RecentChanges
min_os_version :
max_os_version :
icon_sha256sum : 55af2ce1692f2d63199717fcb1c98deabdf583cd250852e9989857938cafd2c3
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2025-01-31T11:10:01.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 : MRAAQgtrhT/GqPqtLlvOR2MWmxwpWWSy8OrzS0wBsxKb3Stll5ScJ1kXLYWRCUFv2s803599gUD6UCPzQgeRufMN2ZI4bOSCLVH7UhRnGseXRyK3M2imRtJ1nrqN0uyRStOiAuRfOYdw4X4yxWjkPiq5rtP7NxZf2Y640r9AfGLI2zdl9fDC7FVivWglYzK+M+9/C78YQv2xf7Cr2/DRTeGWzUsO0gf7GdIU7VvsQSi0UPeNTL03Lm2GBwhs3gvmw+s7ULOK6TSb2+YHpWUPx9rWJrS/0tZ97W9DOiybSIynCPdPxNQkGM51KgeEkfG7YiKuHB90pVLuOpwi53v3Ng==
# -*- 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
bin_contains = "lazarus-"
app_uninstallkey = "lazarus_is1"
def install():
# Declaring local variables
package_version = control.get_software_version()
bin_name = glob.glob("*%s*.exe" % bin_contains)[0]
app_dir = makepath(systemdrive, "lazarus")
# Cleanup Lazarus if needed
if isdir(app_dir):
if not uninstall_key_exists("lazarus_is1"):
remove_tree(app_dir)
# Installing the software
print("Installing: %s" % bin_name)
install_exe_if_needed(
bin_name,
silentflags='/DIR="%s" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART' % app_dir,
key=app_uninstallkey,
min_version=package_version,
timeout=1800,
)
# -*- coding: utf-8 -*-
from setuphelpers import *
import json
def update_package():
# Declaring local variables
result = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
app_name = control.name
api_url = "https://sourceforge.net/projects/lazarus/best_release.json"
bin_contains = "lazarus-"
# Getting latest version information from official sources
print("API used is: %s" % api_url)
json_load = json.loads(wgets(api_url, proxies=proxies))
for download in json_load["platform_releases"]:
latest_bin = json_load["platform_releases"][download]["filename"].split("/")[-1]
if bin_contains in latest_bin and latest_bin.endswith(".exe"):
if "RC" in latest_bin:
error("ERROR: Don't release RC version or found a workaround with the version number")
download_url = json_load["platform_releases"][download]["url"]
version_name = latest_bin.split("-")[1]
version = latest_bin.split("-")[1].replace("RC", ".")
break
if control.architecture == "x64":
latest_bin = latest_bin.replace("-win32.exe", "-win64.exe")
download_url = download_url.replace("Windows%2032%20bits", "Windows%2064%20bits").replace("-win32.exe", "-win64.exe")
bin_ends = "-win64.exe"
else:
latest_bin = latest_bin.replace("-win64.exe", "-win32.exe")
download_url = download_url.replace("Windows%2064%20bits", "Windows%2032%20bits").replace("-win64.exe", "-win32.exe")
bin_ends = "-win32.exe"
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, proxies=proxies)
# Checking version from file
version_from_file = get_version_from_binary(latest_bin)
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()
# Deleting outdated binaries
remove_outdated_binaries(version_name)
# Validating update-package-sources
return result
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
14b8d91b8e3c382acd475a2f5dd938ace6884282963467f27bfaa4dd6fde65e7 : WAPT/changelog.txt
ecd7fb84848cb702ca942dcbed09e806a0d02670c44dce248e09f8e8adbde2e7 : WAPT/control
55af2ce1692f2d63199717fcb1c98deabdf583cd250852e9989857938cafd2c3 : WAPT/icon.png
5db76aac7c9e20f665e85b8ab06abd5b46a87858f6539ec4dd181d1750ad046a : lazarus-3.8-fpc-3.2.2-win64.exe
75f0c72e8776a42f4af35e11eeb149d6d5e8bd870e86ba7eb59a910f582e9eef : luti.json
f5e8b694d7c06ac8dd334da664c5fdde0976d03ef33ebdd65fca54aa6badf87e : setup.py
f2e9c47fc113b2cd5e09a6cda3c3ecf085322abd57d85e85de2a3d512625416a : update_package.py
https://wiki.freepascal.org/Special:RecentChanges
2.2.0.1
===
split update package