protobuf-33 rebuilds

This commit is contained in:
مهدي شينون (Mehdi Chinoune)
2025-11-27 10:59:38 +01:00
parent 65c4a425be
commit b66bbb7b4e
16 changed files with 102 additions and 16 deletions

View File

@@ -5,7 +5,7 @@ pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
pkgver=35.0.2
_tag=${pkgver}
pkgrel=6
pkgrel=7
pkgdesc='Android platform tools (mingw-w64)'
arch=('any')
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')

View File

@@ -4,7 +4,7 @@ _realname=arrow
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=22.0.0
pkgrel=3
pkgrel=4
pkgdesc="Apache Arrow is a cross-language development platform for in-memory data (mingw-w64)"
arch=(any)
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')

View File

@@ -7,7 +7,7 @@ pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}"
"${MINGW_PACKAGE_PREFIX}-python-grpcio"
"${MINGW_PACKAGE_PREFIX}-python-grpcio-tools")
pkgver=1.76.0
pkgrel=1
pkgrel=2
_opencensus_proto_ver=0.4.1
pkgdesc="Google's high performance, open source, general RPC framework (mingw-w64)"
arch=('any')

View File

@@ -11,7 +11,7 @@ pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}"
"${MINGW_PACKAGE_PREFIX}-${_realname}-meta")
pkgver=9.0.6
pkgrel=2
pkgrel=3
pkgdesc="Software for the creation of electronic schematic diagrams and printed circuit board artwork (mingw-w64)"
arch=(any)
mingw_arch=('ucrt64' 'clang64')

View File

@@ -5,7 +5,7 @@ _realname=krpc-cpp
pkgbase=mingw-w64-${_realname}
pkgname=${MINGW_PACKAGE_PREFIX}-${_realname}
pkgver=0.5.4
pkgrel=5
pkgrel=6
pkgdesc="KRPC Client for C++ (mingw-w64)"
arch=('any')
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')

View File

@@ -4,7 +4,7 @@ _realname=libosmpbf
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=1.5.1
pkgrel=4
pkgrel=5
pkgdesc="A library to support OpenStreetMap's protocolbuffer binary .pbf format (mingw-w64)"
arch=('any')
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')

View File

@@ -4,7 +4,7 @@ _realname=libosmscout
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=2024.06.02.1
pkgrel=4
pkgrel=5
pkgdesc="A Library for offline map rendering, routing and location lookup based on OpenStreetMap data (mingw-w64)"
arch=('any')
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')

View File

@@ -5,7 +5,7 @@ pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}"
"${MINGW_PACKAGE_PREFIX}-python-${_realname}")
pkgver=1.19.1
pkgrel=2
pkgrel=3
pkgdesc="Open standard for machine learning interoperability. (mingw-w64)"
arch=('any')
mingw_arch=('ucrt64' 'clang64' 'clangarm64')

View File

@@ -7,7 +7,7 @@ pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}"
"${MINGW_PACKAGE_PREFIX}-python-${_realname}")
pkgver=4.12.0
pkgrel=8
pkgrel=9
pkgdesc="Open Source Computer Vision Library (mingw-w64)"
arch=('any')
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')

View File

@@ -5,7 +5,7 @@ _realname=osgearth
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
pkgver=3.7.2
pkgrel=3
pkgrel=4
_rj_ver=1.1.0
_lerc_commit=19542a00b9a8b5c1089f74239e5859e02e403212
arch=('any')

View File

@@ -0,0 +1,7 @@
--- a/Remoting/ServerManager/CMakeLists.txt
+++ b/Remoting/ServerManager/CMakeLists.txt
@@ -191,3 +191,4 @@
${vtkPVMessage_sources})
vtk_module_depend(ParaView::RemotingServerManager
vtkPVMessage_protobuf_compile)
+target_link_libraries(RemotingServerManager PRIVATE absl_log_internal_message)

View File

@@ -0,0 +1,72 @@
--- a/Qt/Core/pqFlatTreeViewEventTranslator.cxx
+++ b/Qt/Core/pqFlatTreeViewEventTranslator.cxx
@@ -73,8 +73,8 @@
QString info = QString("%1,%2,%3,%4,%5,%6")
.arg(mouseEvent->button())
- .arg(mouseEvent->buttons())
- .arg(mouseEvent->modifiers())
+ .arg(static_cast<int>(mouseEvent->buttons()))
+ .arg(static_cast<int>(mouseEvent->modifiers()))
.arg(relPt.x())
.arg(relPt.y())
.arg(idxStr);
--- a/Qt/Core/pqQVTKWidgetEventTranslator.cxx
+++ b/Qt/Core/pqQVTKWidgetEventTranslator.cxx
@@ -90,8 +90,8 @@
.arg(normalized_x)
.arg(normalized_y)
.arg(mouseEvent->button())
- .arg(mouseEvent->buttons())
- .arg(mouseEvent->modifiers()));
+ .arg(static_cast<int>(mouseEvent->buttons()))
+ .arg(static_cast<int>(mouseEvent->modifiers())));
}
return true;
break;
@@ -118,15 +118,15 @@
.arg(normalized_x)
.arg(normalized_y)
.arg(mouseEvent->button())
- .arg(mouseEvent->buttons())
- .arg(mouseEvent->modifiers()));
+ .arg(static_cast<int>(mouseEvent->buttons()))
+ .arg(static_cast<int>(mouseEvent->modifiers())));
Q_EMIT recordEvent(widget, "mouseRelease",
QString("(%1,%2,%3,%4,%5)")
.arg(normalized_x)
.arg(normalized_y)
.arg(mouseEvent->button())
- .arg(mouseEvent->buttons())
- .arg(mouseEvent->modifiers()));
+ .arg(static_cast<int>(mouseEvent->buttons()))
+ .arg(static_cast<int>(mouseEvent->modifiers())));
}
return true;
break;
--- a/ThirdParty/QtTesting/vtkqttesting/pqAbstractItemViewEventTranslator.cxx
+++ b/ThirdParty/QtTesting/vtkqttesting/pqAbstractItemViewEventTranslator.cxx
@@ -90,8 +90,8 @@
QString info = QString("%1,%2,%3,%4,%5,%6")
.arg(mouseEvent->button())
- .arg(mouseEvent->buttons())
- .arg(mouseEvent->modifiers())
+ .arg(static_cast<int>(mouseEvent->buttons()))
+ .arg(static_cast<int>(mouseEvent->modifiers()))
.arg(relPt.x())
.arg(relPt.y())
.arg(idxStr);
--- a/ThirdParty/QtTesting/vtkqttesting/pqBasicWidgetEventTranslator.cxx
+++ b/ThirdParty/QtTesting/vtkqttesting/pqBasicWidgetEventTranslator.cxx
@@ -53,8 +53,8 @@
#endif
QString info = QString("%1,%2,%3,%4,%5")
.arg(mouseEvent->button())
- .arg(mouseEvent->buttons())
- .arg(mouseEvent->modifiers())
+ .arg(static_cast<int>(mouseEvent->buttons()))
+ .arg(static_cast<int>(mouseEvent->modifiers()))
.arg(pos.x())
.arg(pos.y());

View File

@@ -4,7 +4,7 @@ _realname=paraview
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
pkgver=6.0.1
pkgrel=2
pkgrel=3
pkgdesc="Parallel Data Analysis and Visualization Application based on VTK. (mingw-w64)"
arch=('any')
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
@@ -44,8 +44,12 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-cc"
"${MINGW_PACKAGE_PREFIX}-nlohmann-json")
optdepends=("${MINGW_PACKAGE_PREFIX}-python-numpy"
"${MINGW_PACKAGE_PREFIX}-python-matplotlib")
source=("https://www.paraview.org/files/v${pkgver%.*}/ParaView-v${pkgver}.tar.xz")
sha256sums=('5e56ac7af5e925b3cfd3fab82470933cbabc7e8fda87e14af64f995d6064eb06')
source=("https://www.paraview.org/files/v${pkgver%.*}/ParaView-v${pkgver}.tar.xz"
"001-fix-build-with-protobuf-33.patch"
"002-fix-build-with-qt-6.10.1.patch")
sha256sums=('5e56ac7af5e925b3cfd3fab82470933cbabc7e8fda87e14af64f995d6064eb06'
'8ea48d63fc20b1cc42c7ea360f85992b926ab5bcb91346b32b19c885a24727af'
'f7f43d5e1e311c4394fdb6aa53b85fefc3571789c95f6b394ec1e32360c70843')
apply_patch_with_msg() {
for _patch in "$@"
@@ -57,6 +61,9 @@ apply_patch_with_msg() {
prepare() {
cd "${srcdir}"/ParaView-v${pkgver}
apply_patch_with_msg \
001-fix-build-with-protobuf-33.patch \
002-fix-build-with-qt-6.10.1.patch
}
build() {

View File

@@ -4,7 +4,7 @@ _realname=protobuf-c
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=1.5.2
pkgrel=6
pkgrel=7
pkgdesc="Protocol Buffers implementation in C (mingw-w64)"
arch=('any')
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')

View File

@@ -4,7 +4,7 @@ _realname=qgis
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=3.44.3
pkgrel=2
pkgrel=3
pkgdesc='Geographic Information System (GIS) that supports vector, raster & database formats (mingw-w64)'
arch=('any')
mingw_arch=('ucrt64' 'clang64' 'clangarm64')

View File

@@ -6,7 +6,7 @@ pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}"
"${MINGW_PACKAGE_PREFIX}-${_realname}-debug")
_qtver=6.10.1
pkgver=${_qtver/-/}
pkgrel=2
pkgrel=3
pkgdesc='Qt gRPC and Protobuf generator and bindings. (mingw-w64)'
arch=(any)
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')