[Slackbuilds-users] Updates - 20250111.1

Luiz Carlos Ramos lramos.prof at yahoo.com.br
Sun Jan 19 19:24:18 UTC 2025


Hello,

here, when trying to build ngspice, an error happened when trying to
chmod files at ${PKG}/usr/doc/ngspice-42/examples/klu/Circuits/libraries.

The problem was easy to fix: it relies on the "ngspice-42" part of the
directory, which doesn't match the newer version, 44.2. So, in short, it
would be nspice-44.2 instead of ngspice.

I managed to change it to "ngspice-${VERSION}", using the fact that this
env variable would match the product version and one would expect that
this rule will be followed by the upstream developers.

Below a patch which does that is suggested as a fix.

Many thanks and have a happy new year.

Luiz Ramos
São Paulo - Brazil
lramos.prof at yahoo.com.br


--- patch ---
>From 4d907a9a3a5ebfd791169d8a93ea9524da5009c0 Mon Sep 17 00:00:00 2001
From: Luiz Ramos <lramos.prof at yahoo.com.br>
Date: Sun, 19 Jan 2025 16:11:58 -0300
Subject: [PATCH] academic/ngspice: fixed build script

The previous version of the build script tried to change mod from files
considering version 42. This updated version makes this command
flexible, using the ${VERSION} variable to match the directory name.
---
 academic/ngspice/ngspice.SlackBuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/academic/ngspice/ngspice.SlackBuild b/academic/ngspice/ngspice.SlackBuild
index ddda42d7de2936fb9215ddbf75973cf1586a9921..cc25f3320673ef4dd0e1fe908251c2dd0b24ac9a 100644
--- a/academic/ngspice/ngspice.SlackBuild
+++ b/academic/ngspice/ngspice.SlackBuild
@@ -134,7 +134,7 @@ ln -s "libngspice.so.0.0.12" "$PKG/usr/lib${LIBDIRSUFFIX}/libngspice.so"
 install -Dm644 ./src/include/ngspice/sharedspice.h  $PKG/usr/include/ngspice/sharedspice.h
 # Move the configure output file.
 mv $TMP/$PRGNAM-$VERSION/release/src/include/ngspice/config.h $PKG/usr/include/ngspice/
-chmod 644 $PKG/usr/doc/ngspice-42/examples/klu/Circuits/libraries/*.lib
+chmod 644 $PKG/usr/doc/ngspice-${VERSION}/examples/klu/Circuits/libraries/*.lib
 
 install -Dm644 $CWD/$PRGNAM.png $PKG/usr/share/icons/hicolor/48x48/apps/$PRGNAM.png
 
-- 
2.46.3
--- patch ---

On Sat, Jan 11, 2025 at 08:50:10AM +0700, Willy Sudiarto Raharjo wrote:
> Sat Jan 11 01:44:22 UTC 2025
> academic/cdo: Updated for version 2.5.0.
> academic/nco: Updated for version 5.3.0.
> academic/units: Updated for version 2.24.
> academic/vul: Updated for version 20230314_10d9d61.
> desktop/SiriKali: Updated for version 1.8.0.
> desktop/numix-icon-theme-circle: Updated for version 24.12.12.
> desktop/numix-icon-theme: Updated for version 24.12.12.
> desktop/pcb2gcodeGUI: Added (GUI for pcb2gcode).
> development/actionlint: Updated for version 1.7.6.
> development/aws-cdk: Updated for version 2.174.0.
> development/aws-cdk: Updated for version 2.175.0.
> development/dart-sass: Updated for version 1.83.1.
> development/dkms: Include autoinstaller
> development/dpkg: Updated for version 1.22.13.
> development/jupyter-ipywidgets: Added (HTML widgets for Jupyter).
> development/jupyter-widgetsnbextension: Added (Interactive widget for
> Jupyter).
> development/meld3: Updated for version 3.22.3.
> development/mold: Updated for version 2.36.0.
> development/obsidian: updated for version 1.7.7
> development/php84: Added (Scripting Language).
> development/pnpm: Updated for version 9.15.3.
> development/protobuf3: Updated for version 29.3.
> games/attract: Added (Frontend for emulators).
> games/ddnet: updated for version 18.9.
> games/steamtinkerlaunch: New maintainer
> gis/eccodes: Updated for version 2.39.0.
> gis/gdal: Updated for version 3.10.0.
> gis/python3-xarray: Updated for version 2025.01.0
> graphics/paraview: Updated for version 5.13.2
> graphics/yacreader: Updated for version 9.15.0.
> libraries/pugixml: Updated for version 1.15.
> multimedia/QMPlay2: Updated for version 24.12.28.
> multimedia/aegisub: Updated for version 3.4.1.
> network/bitcoin: Updated for version 28.1.
> network/discord: Version bump to 0.0.79
> network/dropbox: Updated for version 215.4.7202.
> network/gallery-dl: Updated for version 1.28.3.
> network/netsniff-ng: Updated for version 0.6.9.
> network/newsraft: Updated for version 0.28.
> network/shadowsocks-rust: Updated for version 1.22.0.
> network/signal-desktop: Update for version 7.37.0.
> network/syncthingtray-bin: Updated for version 1.7.1.
> network/teamviewer: Updated for version 15.61.3.
> network/telegram: Updated for version 5.10.1.
> network/telegram: Updated for version 5.10.3.
> network/tor-browser: Updated for version 14.0.4.
> network/vivaldi: Updated for version 7.0.3495.29.
> network/wireshark: Updated for version 4.4.3.
> network/zoom-linux: Updated for 6.3.5.6065
> office/gnucash-docs: Updated for version 5.10.
> office/gnucash: Updated for version 5.10.
> office/pdfpc: Updated for version 4.7.0
> python/pyrfc3339: Updated for version 2.0.1.
> python/python3-aiohttp-socks: Updated for version 0.10.1.
> python/python3-anyio: Version bump to 4.8.0
> python/python3-cachecontrol: Version bump to 0.14.2
> python/python3-identify: Updated for version 2.6.5.
> python/python3-kiwisolver: Version bump to 1.4.8
> python/python3-poetry-dynamic-versioning: Updated for version 1.6.0.
> python/python3-socks: Updated for version 2.6.1.
> python/python3-soundfile: Version bump to 0.13.0
> python/python3-virtualenv: Version bump to 20.28.1
> python3/python3-poetry-dynamic-versioning: Updated for v 1.5.0.
> ruby/rbenv: Updated for version 1.3.2.
> system/CNS11643-kai-font: Updated for version 20241216.
> system/CNS11643-sung-font: Updated for version 20241216.
> system/bat: Updated for version 0.25.0.
> system/docker-compose: Updated for version 2.32.2
> system/fastfetch: Updated for version 2.34.0.
> system/jenkins: Updated for version 2.479.3.
> system/letsencrypt: Updated for version 3.1.0.
> system/netdata: Updated for version 2.1.1.
> system/sbokeeper: Updated for version 2.02.
> +--------------------------+
> 
> 
> -- 
> Willy Sudiarto Raharjo
> 




> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
> 



More information about the SlackBuilds-users mailing list