- package: tis-codeblocks
- name: Code::Blocks
- version: 25.3-7
- categories: Development
- maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Ingrid TALBOT
- locale: all
- target_os: windows
- impacted_process: codeblocks,CbLauncher,cb_share_config,cb_console_runner,cbp2make
- architecture: all
- signature_date:
- size: 418.75 Mo
package : tis-codeblocks
version : 25.3-7
architecture : all
section : base
priority : optional
name : Code::Blocks
categories : Development
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Ingrid TALBOT
description : Code::Blocks is a free C/C++ and Fortran IDE
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.0
sources :
installed_size :
impacted_process : codeblocks,CbLauncher,cb_share_config,cb_console_runner,cbp2make
description_fr : Code::Blocks est un IDE C/C++ et Fortran gratuit
description_pl : Code::Blocks to darmowe IDE dla języków C/C++ i Fortran
description_de : Code::Blocks ist eine kostenlose C/C++ und Fortran IDE
description_es : Code::Blocks es un IDE gratuito de C/C++ y Fortran
description_pt : Code::Blocks é um IDE C/C++ e Fortran gratuito
description_it : Code::Blocks è un IDE gratuito per C/C++ e Fortran
description_nl : Code::Blocks is een gratis C/C++ en Fortran IDE
description_ru : Code::Blocks - это бесплатная среда разработки на языках C/C++ и Fortran
audit_schedule :
editor :
keywords : C,C++,IDE
licence :
homepage :
package_uuid : 401316d2-5d28-4092-99cb-884aaecd8499
valid_from :
valid_until :
forced_install_on :
changelog : https://www.codeblocks.org/changelogs/
min_os_version :
max_os_version :
icon_sha256sum : 61690b90525dfb58867964a45f0a71aad574cee42e2852229181e376bef7e878
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2025-06-18T18:00:56.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 : poqxklZmGu8NrTc0wkDT0Vf+5vLjKaeRG/GnoeCeHgwW1f8ZMRoiLOmt623yVAtjhtEx/R/GK3/8kfTV5V32vcbcUPXB6V0T3Ep8y4MVkyMmKkJUexUFIRxgcgW8EG2IXhkKRhIj3zXCudCxGbWUF3i35ZB8thQ+Uxxj+EP/cH58/zv76RIWk7/sPKc4eeFFAq71z4/f8HuPV1DHJ5nUizr6/3+4sHNT32bt8Rw09W+uXuC/MfmDHVyAMlKdR1i5vk6vsNKTVVjG3YA5pmiDapZ88LWchxT5l7BEBkRGcBiQhtj9A3O+f0/DOAORka9k4ue9aDjssN5Hx2K8B7IV4g==
# -*- coding: utf-8 -*-
from setuphelpers import *
app_path = makepath(programfiles64, "CodeBlocks")
def install():
bin_name = glob.glob("codeblocks-*mingw-setup.exe")[0]
if isdir(app_path):
uninstall()
install_exe_if_needed(
bin_name,
silentflags="/S",
key="",
min_version=control.get_software_version(),
get_version=get_installed_version
)
def get_installed_version(key):
return get_version_from_binary(makepath(app_path, 'codeblocks.exe'))
def uninstall():
run(f'"{makepath(app_path, "uninstall.exe")}" /S')
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
app_name = control.name
user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0"
url = "https://www.codeblocks.org/downloads/binaries/"
# Getting latest version from official sources
print("URL used is: %s" % url)
for bs_search in bs_find_all(url, "td", proxies=proxies, user_agent=user_agent):
if "mingw-setup.exe" in bs_search.get_text() :
download_url = bs_search.find_next("a")["href"]
latest_bin = download_url.rsplit("/")[-1]
latest_bin_extension = download_url.rsplit(".")[-1]
version = latest_bin.split("-")[1].replace("mingw", "")
break
# Downloading latest binaries
print(f"Latest {app_name} version is: {version}")
print(f"Download URL is: {download_url}")
if not isfile(latest_bin):
print(f"Downloading: {latest_bin}")
wget(download_url, latest_bin, proxies=proxies)
else:
print(f"Binary is present: {latest_bin}")
# Changing version of the package
if Version(version) > Version(control.get_software_version()):
print(f"Software version updated (from: {control.get_software_version()} to: {Version(version)})")
package_updated = True
else:
print(f"Software version up-to-date ({Version(version)})")
for f in glob.glob(f'*.{latest_bin_extension}'):
if f != latest_bin:
remove_file(f)
control.set_software_version(version)
control.save_control_to_wapt()
return package_updated
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
cdd89f85c7ce3fc670b1e66f9f79b45a312d624dc4b53f9416f0a4a218f7c2fb : WAPT/control
61690b90525dfb58867964a45f0a71aad574cee42e2852229181e376bef7e878 : WAPT/icon.png
8712227526eb3bb26c90dd5c78301b3fa32bf5869a43294bbf4e9c5512c52792 : codeblocks-25.03mingw-setup.exe
eb411f0ada2f0bdb42ee2bee09db5a5345debbfbff653740ffcfaadca45f1a10 : luti.json
11c1e8d76e564ba504df744d55d4848259000aff9cd9e90601c0d8775a1938f2 : setup.py
25f28f2a8b06b5c9aeeba73dec810090a877e06a5ef714fc5b3c8a42324f40ff : update_package.py