Package Details: ltspice 24.1.0-1

Git Clone URL: https://aur.archlinux.org/ltspice.git (read-only, click to copy)
Package Base: ltspice
Description: SPICE simulator, schematic capture and waveform viewer.
Upstream URL: https://www.analog.com/en/resources/design-tools-and-calculators/ltspice-simulator.html
Keywords: simulation spice wine
Licenses: LicenseRef-LTspice
Submitter: M4a1x
Maintainer: fenugrec
Last Packager: fenugrec
Votes: 34
Popularity: 0.87
First Submitted: 2015-07-08 21:35 (UTC)
Last Updated: 2025-01-23 17:19 (UTC)

Pinned Comments

fenugrec commented on 2025-01-22 23:08 (UTC) (edited on 2025-01-23 17:25 (UTC) by fenugrec)

(follow-up) - yeah, currently it's a bit of a mess :

  • I found permalinks, like https://ltspice.analog.com/download/24.1.0/LTspice64.msi
  • the above is the same file as what you currently (2025/01/25) get from https://ltspice.analog.com/software/LTspice64.msi
  • the version string in the .json file is not 24.1.0 as expected, but '24.0.12' ....
  • if you download https://ltspice.analog.com/download/24.0.12/LTspice64.msi, the .json says 24.0.11...

I'm going to try using a permalink, just so the build doesn't break on their next update, but I may not notice for a while to update the PKGBUILD. We can revisit this if analog gets their versioning straightened out.

Latest Comments

1 2 3 4 5 6 7 Next › Last »

fenugrec commented on 2025-01-23 17:24 (UTC)

It looks like _filever=24.1.0 is missing?

oops, leftover from a test, and when I re-tried 'makepkg', of course I already had the .msi file downloaded and didn't notice. Should work now.

I'll pin my other comment just to draw attention to the versioning situation.

yaoyun commented on 2025-01-23 16:50 (UTC)

@fenugrec It looks like _filever=24.1.0 is missing? That aside, thank you for taking over this package and providing such prompt maintenance.

P.S. By 'adding a note,' I actually meant a pinned comment, but your solution is even better!

fenugrec commented on 2025-01-22 23:08 (UTC) (edited on 2025-01-23 17:25 (UTC) by fenugrec)

(follow-up) - yeah, currently it's a bit of a mess :

  • I found permalinks, like https://ltspice.analog.com/download/24.1.0/LTspice64.msi
  • the above is the same file as what you currently (2025/01/25) get from https://ltspice.analog.com/software/LTspice64.msi
  • the version string in the .json file is not 24.1.0 as expected, but '24.0.12' ....
  • if you download https://ltspice.analog.com/download/24.0.12/LTspice64.msi, the .json says 24.0.11...

I'm going to try using a permalink, just so the build doesn't break on their next update, but I may not notice for a while to update the PKGBUILD. We can revisit this if analog gets their versioning straightened out.

fenugrec commented on 2025-01-22 22:42 (UTC)

@yaoyun thanks. Yes, I thought of this when I adopted the package; I'm not sure if analog has permalinks to previous versions. In this case I think it takes a manual intervention anyway; IIRC they changed some of the help hierarchy and some scripts need tweaking. Agreed some form of warning would be nice. I don't think it's possible to output anything before makepkg validates the sums however...

yaoyun commented on 2025-01-22 18:56 (UTC)

The sha256sum for LTspice64.msi needs an update after the Jan 21 upstream change.

~/.cache/paru/clone/ltspice master 
❯ wget https://ltspice.analog.com/software/LTspice64.msi
2025-01-23 02:14:45 (28.2 MB/s) - ‘LTspice64.msi’ saved [135219200]

~/.cache/paru/clone/ltspice master ?1  
❯ sha256sum LTspice64.msi
404f065708fadb95d73ba8135ef8ac2e851b8cd1d57db9cd77dae64047e84815  LTspice64.msi

Keeping this updated could get annoying. Maybe add a note for users to update the checksum manually or find the correct .msi version themselves (e.g., via Wayback Machine)?

fenugrec commented on 2025-01-03 04:18 (UTC)

Ok. Bumped pkgrel to -2, help docs should work, I think I haven't broken anything else.

I noticed some weird effects though when rotating some symbols, is anyone else seeing this : https://ez.analog.com/design-tools-and-calculators/ltspice/f/q-a/591072/voltage--and-current-controlled-switch-symbols-do-not-rotate-properly/553447

fenugrec commented on 2025-01-02 21:40 (UTC)

@c0d3z3r0

the helpfiles are annoying enough that I'm cooking a script to adjust the filenames : (WIP)

#!/bin/bash

# ensure there are no htm(l) files with external src=... resources
if  grep -P 'src=\"h.*?[A-Z][^\>]+\>' ` find -type f -name '*.htm*'`; then
    echo Can't fix docs : 
fi

# get 'src=' refs containing uppercase chars, trim 'src="' prefix, sort, list unique
# grep -ohP 'src="[^"]+[A-Z][^"]+' ` find -type f -name '*.htm*'` | sed 's/.*\"//' | sort | uniq

# this is actually slower and not much clearer
# find -type f -name '*.htm*' -exec grep -ohP 'src="[^"]+[A-Z][^"]+' '{}' \; | sed 's/.*\"//' | sort | uniq


flist=$(grep -ohP 'src="[^"]+[A-Z][^"]+' $(find -type f -name '*.htm*') | sed 's/.*\"//' | sort | uniq)

for file in $flist; do
    if [ ! -e "$file" ]; then
        # file with wrong case; check if lowercase exists and rename

        all_exist=false
        break
    fi
done

c0d3z3r0 commented on 2025-01-02 21:12 (UTC)

@fenugrec Nice, thanks!

"$HOME/.ltspice" was required for the env, right. Can be dropped.

Oh, no idea how to fix the help :/ Wine should do case-insensitive lookups, but I remember having such problem earlier... no idea how I had fixed that

apaulsen commented on 2025-01-02 19:57 (UTC)

Thanks! It built for me now.

fenugrec commented on 2025-01-02 19:31 (UTC)

@apaulsen - oops, fixed, thanks. Also restored "F1 to launch help", although the internal hyperlinks still don't work due to lowercase.