seeing-things / zwo

ZWO SDK and custom software for debugging and using it.
23 stars 4 forks source link

Update to ASI SDK version 1.16.3 #58

Closed jgottula closed 3 years ago

jgottula commented 3 years ago

Post-merge reminder tasks:

I didn't have a chance to test the new zwo_fixer revision. I did, however, confirm via static analysis that the central problem of "libASICamera2 is too dumb to check the return value of libusb_cancel_transfer" is still present in the most recent library version and so it still requires fixification.

jgottula commented 3 years ago

Okay, at your request, the deb packages have been updated so that they are arch-specific.

Or more specifically, what I actually did was to retain the existing dual-architecture package version-set, but renamed it to libasicamera2-all. And now there's a new version-set of packages with the same old name libasicamera2, but rather than having architecture all, they are available in separate i386 and amd64 varieties. (So in theory you could install either or both of the i386 and amd64 varieties.)

I did make sure to have the libasicamera2 and libasicamera2-all packages conflict with each other, since it would be nonsensical to have both installed at the same time.

Also, I spent a decent amount of time creating a shell script to pretty much completely automate the entire process of taking a raw ASI_linux_mac_SDK_Vx.y.z.tar.bz2 file and generate three directory trees (all, i386, amd64) with the proper paths, files, names, permissions, and Debian package control file information. I should probably push that somewhere at some point... pretty sure that's in an issue somewhere...

Anyhow... so, currently you'll have package libasicamera2 with arch all and version 1.14.1119-2 installed. Once you refresh the apt repository, you should be able to upgrade to package libasicamera2 with arch amd64 and version 1.16.3-3. (I don't know if apt gets grumpy about packages suddenly transforming from arch all to a real arch; so it might complain this time, on a one-time basis. Not sure, really. Maybe you'll have to remove and install anew rather than upgrading. Who knows!)

jgottula commented 3 years ago

https://gemfury.com/jgottula