Code::Blocks
Paquet d'installation silencieuse pour Code::Blocks
25.3-8
Development
Development
- package: tis-codeblocks
- name: Code::Blocks
- version: 25.3-8
- 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: 423.51 Mo
package : tis-codeblocks
version : 25.3-8
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 : f9da1985-50a6-496f-a039-3b2248f9dc77
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 : 2026-05-05T10:06:24.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 : YftvhHlo22ScD7x/FWrfK4PuLRyDWjWqXReqPDJk6dxkLbmd+j7MOKtS9dh4lJQI+HcH3CPvznf9oHrz5KJc4BS/1TzZOS6Kn2onmCtgVPM5aR0OO1CvaNtzvRxLtqOuc+qK+wRgz+E6EQjw581Dzwz8MQc2++ffEI9IBBKcePfWtnNU81IUQgE//dtTjXezkqyqzCaT7fom9t7WxJY8OogBtQBLlJLYCiJoOOCN+3ItRMVevqDFLOESNrn9rjyODoPJEklPsrju28AanyDC4pjGWwVXRcQTa048m3JUEaVL5V0lRvNMF8+29wyHF6FyMDE3uD9ZB3KUP3W+pPVH+g==
# -*- 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():
killalltasks(ensure_list(control.impacted_process))
uninstall_exe = makepath(app_path, "uninstall.exe")
if isfile(uninstall_exe):
run(f'"{uninstall_exe}" /S')
time.sleep(10)
if isdir(app_path):
remove_tree(app_path)
# -*- 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").find_next("a")["href"]
latest_bin = download_url.split("/")[-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, download_url.split("/")[-1], 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
9fb0e5db0c05742e1d852c187e1beb2f56e7074ad9305a0fe7bc01b88c276cbd : WAPT/control
61690b90525dfb58867964a45f0a71aad574cee42e2852229181e376bef7e878 : WAPT/icon.png
8712227526eb3bb26c90dd5c78301b3fa32bf5869a43294bbf4e9c5512c52792 : codeblocks-25.03mingw-setup.exe
39f6ce90968cd3fe8dc9a25aea66529c9dd4a0857e158a4942409dbff307c6ca : luti.json
e607e2ae0d310964c8cfe94f4b937cf5993ec20e8da48495fe38117e04a30b36 : setup.py
dee7c3201c48a3ac395d6a62186459bbb84c90ec86bd9e461d7e45674730b653 : update_package.py