
- package: tis-lazarus
- name: Lazarus
- version: 2.2.4-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: debian_based
- impacted_process: lazarus,startlazarus,lazres,lazbuild,LazGDeBugControl
- architecture: x64
- signature_date:
- size: 194.63 Mo
- installed_size: 1.69 Go
- homepage : https://www.lazarus-ide.org/
package : tis-lazarus
version : 2.2.4-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 : debian_based
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 : c87305da-16fb-40de-a75b-d71190933cc5
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 : axyQlPy48LJJ1x3Xq9IH33KSdTO5p6a0ivTgT5sz3XJWptLI3ogmgL9JpdyJyoZIbWx5UIHkbuEmhxzH3EmWTwMD5rJOaSMqBw5wW4dUAucihlXtgMCPPaGlDGgbmecimZN+vPDO5xT3UhJIcIv/RElrZHQbTp6DXVGBHx4gLpExIlVXyVqwkyGsU1QFAkOzjvQAm5JAskRtHfMornS/Ty506uHvW2qrm0TdYs7lYZVilH8P4/+KPFXDxBqQB8EqnYidyVLqVCXlEsZhxZDnucO5Uc+4iAY0/yjYtw4B4j/DQvPFmzoeY6+MtE9yi8X0SLDQ42BhdTyX/EPUz0tDWg==
signature_date : 2023-03-18T16:00:22.257986
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 *
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-project"
app_name = "Lazarus"
def install():
# Declaring local variables
package_version = control.get_software_version()
bin_name = glob.glob("lazarus-project_*_amd64.deb")[0]
# Installing the software
print("Installing: %s" % bin_name)
install_deb("fpc-src_3.2.2-210709_amd64.deb")
install_deb("fpc-laz_3.2.2-210709_amd64.deb")
install_deb(bin_name)
def uninstall():
uninstall_apt("lazarus-project")
uninstall_apt("fpc-laz")
uninstall_apt("fpc-src")
# -*- 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-project"
# 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(".deb"):
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].split("_")[-1].replace("RC", ".")
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, 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
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)
wget(
"https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%202.2.2/fpc-laz_3.2.2-210709_amd64.deb/download",
"fpc-laz_3.2.2-210709_amd64.deb",
)
wget(
"https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%202.2.2/fpc-src_3.2.2-210709_amd64.deb/download",
"fpc-src_3.2.2-210709_amd64.deb",
)
# Validating update-package-sources
return result
92000f2b831184e153aab0c910f8ae9240450e5c6d76dc189cf53116ee501d83 : fpc-laz_3.2.2-210709_amd64.deb
85e82b2a04023ba04254e018943a5bcc1cdb581f44b0e843d9dc09994a349dce : setup.py
62cee3e3ad2694fdcbdb0f1bb88aca863bfba5f1891f7132e5adea37d016d492 : lazarus-project_2.2.4-0_amd64.deb
dc4c728e3c1bed92275646c39117f7190c09aab23f0ada95b3171e0d2cfae1ff : update_package.py
55af2ce1692f2d63199717fcb1c98deabdf583cd250852e9989857938cafd2c3 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
7401e7592c3d47f60f132b58e6cd66cdedaacfb075ae9712f8e5f007bb7e0c24 : WAPT/changelog.txt
8c9e145d8056754a9ca39ce3e52e982b8e4816124984c5f542f2a874e721ad53 : fpc-src_3.2.2-210709_amd64.deb
ca806b04e4c707a83e540ad4f99fedf2ca0f18fa398c6078307fb7435a56271c : luti.json
ef7862b66fcdd8ae0f1ebc528ffecf5a9e46b16d77706ba5892ccc0de27a85bc : WAPT/control
https://wiki.freepascal.org/Special:RecentChanges
2.2.0
===
Split update-package