gnatstudio: update to 20250417

This commit is contained in:
مهدي شينون (Mehdi Chinoune)
2025-12-20 22:35:57 +01:00
parent b6f8aed43c
commit b01262a8e0

View File

@@ -3,8 +3,8 @@
_realname=gnatstudio
pkgbase=mingw-w64-${_realname}
pkgname=${MINGW_PACKAGE_PREFIX}-${_realname}
pkgver=20240506
pkgrel=2
pkgver=20250417
pkgrel=1
pkgdesc="GNAT Studio is a powerful and lightweight IDE for Ada and SPARK (mingw-w64)"
arch=('any')
mingw_arch=('mingw64' 'ucrt64')
@@ -23,7 +23,6 @@ depends=("${MINGW_PACKAGE_PREFIX}-ada_language_server"
"${MINGW_PACKAGE_PREFIX}-gtkada"
"${MINGW_PACKAGE_PREFIX}-libadalang"
"${MINGW_PACKAGE_PREFIX}-libadalang-tools"
"${MINGW_PACKAGE_PREFIX}-libvss"
"${MINGW_PACKAGE_PREFIX}-python-cairo"
"${MINGW_PACKAGE_PREFIX}-python-coverage"
"${MINGW_PACKAGE_PREFIX}-python-gobject"
@@ -35,34 +34,34 @@ depends=("${MINGW_PACKAGE_PREFIX}-ada_language_server"
"${MINGW_PACKAGE_PREFIX}-python-pyzmq"
"${MINGW_PACKAGE_PREFIX}-python-yaml"
"${MINGW_PACKAGE_PREFIX}-templates-parser"
"${MINGW_PACKAGE_PREFIX}-vss-extra"
"${MINGW_PACKAGE_PREFIX}-vss-text"
"${MINGW_PACKAGE_PREFIX}-xmlada")
makedepends=("${MINGW_PACKAGE_PREFIX}-autotools"
"${MINGW_PACKAGE_PREFIX}-gprbuild"
"${MINGW_PACKAGE_PREFIX}-python-setuptools")
source=("https://github.com/AdaCore/gnatstudio/archive/gnatstudio-cr-${pkgver}/${_realname}-${pkgver}.tar.gz"
"001-Honour-DESTDIR-in-installation-targets.patch"
"002-Fix-collections.abc.MutableMapping-import-in-gs_utils-for-Python-3.10.patch"
"003-Use-system-wide-Python-3-installation.patch"
"004-fix-finding-gtkada.patch"
"005-remove-duplicated-files.patch::https://github.com/AdaCore/gnatstudio/commit/cb3ab986.patch"
"006-fix-compilation-errors.patch::https://github.com/AdaCore/gnatstudio/commit/2409233b.patch"
"007-Rename-DAP-Utils-UTF8.patch::https://github.com/AdaCore/gnatstudio/commit/089f18a1.patch"
"008-Adjust-to-new-values-in-Libadalang-Common-Token_Kind.patch::https://github.com/AdaCore/gnatstudio/commit/9e490f6c.patch"
"009-Fix-GS-edge-builds.patch::https://github.com/AdaCore/gnatstudio/commit/49f8fa75.patch"
"010-Send-GS-formatting-preferences-to-GNATFormat.patch::https://github.com/AdaCore/gnatstudio/commit/e6bc020e.patch"
"building_executable_programs_with_gnat.rst::https://gcc.gnu.org/git?p=gcc.git;a=blob_plain;f=gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst;hb=releases/gcc-13.2.0")
sha256sums=('b99d02c7bda902ff2a0e73686a7d633c346caa9bd5534bbadac1e68dd86a70e5'
"https://github.com/AdaCore/gnatstudio/commit/14a6978b.patch"
"https://github.com/AdaCore/gnatstudio/commit/c6d5b25c.patch"
"https://github.com/AdaCore/gnatstudio/commit/90b19df1.patch"
"https://github.com/AdaCore/gnatstudio/commit/e205b4cb.patch"
"https://github.com/AdaCore/gnatstudio/commit/25fae07c.patch"
"https://github.com/AdaCore/gnatstudio/commit/8df27f71.patch"
"building_executable_programs_with_gnat.rst::https://gcc.gnu.org/git?p=gcc.git;a=blob_plain;f=gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst;hb=releases/gcc-15.2.0")
sha256sums=('a2f8e29680a6423bd78bfe56263dc69d5374ae2c16a89cec0c1b895fd6b41aea'
'b3c2548e7f5da1b29e9038d3de48f754f7e135774993cc3058dab56d40cc6180'
'680470d8ee657b6102e95499023aae90115ec41cbf029e1c248376302dd81840'
'99e7aaedac07370819c2da683380696c2f24d8d9cccd3e9602010086e980ab8e'
'c29f8049167380e6ac5480f8c170fa21ba7419f4b057196743a4aec9a4b2ddee'
'302156f7e366a3353ec0abb4eb1daf9f183c9518fcec1c483910ecb8823c7b60'
'6fcad54619ab4b072af6c6be2434af852a237b3931a44c158987948526f37f56'
'3a169b88f99c2eca83b2cef74df54e4df8b483761c03964113c93decd441258c'
'e1bf6da075226564281d595d451be1e2ee86220732ef279e536724457aec3974'
'92b53888105fd4115feb8f7980ccbbdc3d41fbfd3b2c72f97373e26569c2e70a'
'837c9c74cde1d89aed5de75b31aca0c21247b8ae1579181ac87a12715c913310'
'8bca44c461295437d14e216871cc29d183912db9dd63602671a59ea0850832bf')
'f350cb89250a7a26952249e1534c8284528e59a71ee56bb68c62503cdca62d2f'
'8466ffcf8e78e3359ba826e7159dd92b4a18e011e59770a85f5b9917036932cd'
'dcdaae45e24fdce3000d8502c16df3a4da0e62de7ba19c20cd63c8815d82cdbe'
'f6f73e93c49225233effc8b73ee9364fe7316b82689b08b0f43b00b257aa570b'
'42f1a3d7924c5ea8c6b4d64c0bc74216b16701391ce329eb5f6cd9bc38f3d8d9'
'dd1dec05a8e063136b2ac9db92120255e4f29fb273daba1926cecfac8bfb71f0'
'a7b2bcbdbe6bddcbd83dbbb180e1f69f4c82e8885226fef88d647ab44885b389')
apply_patch_with_msg() {
for _patch in "$@"
@@ -77,15 +76,16 @@ prepare() {
apply_patch_with_msg \
001-Honour-DESTDIR-in-installation-targets.patch \
002-Fix-collections.abc.MutableMapping-import-in-gs_utils-for-Python-3.10.patch \
003-Use-system-wide-Python-3-installation.patch \
004-fix-finding-gtkada.patch \
005-remove-duplicated-files.patch \
006-fix-compilation-errors.patch \
007-Rename-DAP-Utils-UTF8.patch \
008-Adjust-to-new-values-in-Libadalang-Common-Token_Kind.patch \
009-Fix-GS-edge-builds.patch \
010-Send-GS-formatting-preferences-to-GNATFormat.patch
# backports to build with latest AdaCore libs/tools
apply_patch_with_msg \
14a6978b.patch \
c6d5b25c.patch \
90b19df1.patch \
e205b4cb.patch \
25fae07c.patch \
8df27f71.patch
# Enable parsing of GNAT command line switches (distrib/gnat_switches.py)
cp "${srcdir}/building_executable_programs_with_gnat.rst" gnat/