Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages /
paraview
Commits:
55607500 by Antonio Rojas at 2025-02-10T15:27:20+01:00
upgpkg: 5.13.2-4: netcdf 4.9.3 rebuild
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- + netcdf-4.9.3.patch
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = paraview
pkgdesc = Parallel Visualization application using VTK
pkgver = 5.13.2
- pkgrel = 3
+ pkgrel = 4
url = https://www.paraview.org
arch = x86_64
license = BSD-3-Clause
@@ -91,6 +91,7 @@ pkgbase = paraview
source = fix-vtk-python313-dict.patch
source = fix-vtk-python313-encoding.patch
source = fix-pygments-formatters.patch
+ source = netcdf-4.9.3.patch
sha256sums =
4e116250f8e1a9c480f97c5696c9cd72b4d4998b039ca46da8b224f27445f13e
sha256sums =
d1cdb4a81db280d6b21bee3d9e5f8fc3a87f00a909d33850a1964c72091ec138
sha256sums =
844d44a14817c656ba8d6998298785125a98f03f7b5ece58d966c226db1e0d83
@@ -99,5 +100,6 @@ pkgbase = paraview
sha256sums =
83fcd0c7709ccbea87b39a7702d6f777d6a5c4e5dfbb9e5adf066b5fecdfa9d7
sha256sums =
ab1b5b0ee08ae7714aa5c4924de0e2997b0feac1d4563ce73ef4b8c8204a4777
sha256sums =
fc61d6d62e4e9f2c846d80b786b1e71ae7a14a2a28753868a0bc0018ba5a2278
+ sha256sums =
87535578bbb0023ede506fd64afae95cdf4fb698c543f9735e6267730634afbc
pkgname = paraview
=====================================
PKGBUILD
=====================================
@@ -6,7 +6,7 @@
pkgname=paraview
pkgver=5.13.2
-pkgrel=3
+pkgrel=4
pkgdesc="Parallel Visualization application using VTK"
arch=(x86_64)
url="https://www.paraview.org"
@@ -87,6 +87,7 @@ source=(
fix-vtk-python313-dict.patch
fix-vtk-python313-encoding.patch
fix-pygments-formatters.patch
+ netcdf-4.9.3.patch
)
sha256sums=('4e116250f8e1a9c480f97c5696c9cd72b4d4998b039ca46da8b224f27445f13e'
'd1cdb4a81db280d6b21bee3d9e5f8fc3a87f00a909d33850a1964c72091ec138'
@@ -95,7 +96,8 @@
sha256sums=('4e116250f8e1a9c480f97c5696c9cd72b4d4998b039ca46da8b224f27445f13e'
'8768d0b68fc1a29eb8ca973dada61338390d7a956051773c7852f7cb76a8fef4'
'83fcd0c7709ccbea87b39a7702d6f777d6a5c4e5dfbb9e5adf066b5fecdfa9d7'
'ab1b5b0ee08ae7714aa5c4924de0e2997b0feac1d4563ce73ef4b8c8204a4777'
- 'fc61d6d62e4e9f2c846d80b786b1e71ae7a14a2a28753868a0bc0018ba5a2278')
+ 'fc61d6d62e4e9f2c846d80b786b1e71ae7a14a2a28753868a0bc0018ba5a2278'
+ '87535578bbb0023ede506fd64afae95cdf4fb698c543f9735e6267730634afbc')
prepare() {
# Specify python version in wrapper
@@ -125,6 +127,9 @@ prepare() {
patch -Np1 -d VTK -i "$srcdir"/fix-vtk-python313-dict.patch
patch -Np1 -d VTK -i "$srcdir"/fix-vtk-python313-encoding.patch
patch -Np1 -i "$srcdir"/fix-pygments-formatters.patch
+
+ # Fix build with netcdf 4.9.3
+ patch -Np1 -d VTK -i "$srcdir"/netcdf-4.9.3.patch
}
build() {
=====================================
netcdf-4.9.3.patch
=====================================
@@ -0,0 +1,24 @@
+diff -ru VTK-9.4.1.orig/ThirdParty/exodusII/vtkexodusII/src/ex_put_prop.c
VTK-9.4.1/ThirdParty/exodusII/vtkexodusII/src/ex_put_prop.c
+--- VTK-9.4.1.orig/ThirdParty/exodusII/vtkexodusII/src/ex_put_prop.c
2025-02-10 13:35:17.671934279 +0100
++++ VTK-9.4.1/ThirdParty/exodusII/vtkexodusII/src/ex_put_prop.c
2025-02-10 13:36:10.298911583 +0100
+@@ -243,7 +243,7 @@
+ vals[0] = 0; /* fill value */
+ /* create attribute to cause variable to fill with zeros per routine
spec
+ */
+- if ((status = nc_put_att_longlong(exoid, propid, _FillValue, int_type, 1,
vals)) != NC_NOERR) {
++ if ((status = nc_put_att_longlong(exoid, propid, NC_FillValue, int_type,
1, vals)) != NC_NOERR) {
+ snprintf(errmsg, MAX_ERR_LENGTH,
+ "ERROR: failed to create property name fill attribute in file
id %d", exoid);
+ ex_err_fn(exoid, __func__, errmsg, status);
+diff -ru
VTK-9.4.1.orig/ThirdParty/exodusII/vtkexodusII/src/ex_put_prop_names.c
VTK-9.4.1/ThirdParty/exodusII/vtkexodusII/src/ex_put_prop_names.c
+--- VTK-9.4.1.orig/ThirdParty/exodusII/vtkexodusII/src/ex_put_prop_names.c
2025-02-10 13:35:17.671934279 +0100
++++ VTK-9.4.1/ThirdParty/exodusII/vtkexodusII/src/ex_put_prop_names.c
2025-02-10 13:36:10.298911583 +0100
+@@ -172,7 +172,7 @@
+
+ /* create attribute to cause variable to fill with zeros per routine
spec
+ */
+- if ((status = nc_put_att_longlong(exoid, propid, _FillValue, int_type, 1,
vals)) != NC_NOERR) {
++ if ((status = nc_put_att_longlong(exoid, propid, NC_FillValue, int_type,
1, vals)) != NC_NOERR) {
+ snprintf(errmsg, MAX_ERR_LENGTH,
+ "ERROR: failed to create property name fill attribute in file
id %d", exoid);
+ ex_err_fn(exoid, __func__, errmsg, status);
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/paraview/-/commit/55607500effd2fa6bcac300f82897392341034a1
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/paraview/-/commit/55607500effd2fa6bcac300f82897392341034a1
You're receiving this email because of your account on gitlab.archlinux.org.