Re: Pd-0.56-2 on IRIX
IOhannes m zmoelnig via Pd-list <[email protected]> Tue, 20 Jan 2026 17:45:55 +0100
| Newsgroups | gmane.comp.multimedia.puredata.general |
|---|---|
| Message-ID | <[email protected]> |
On 1/20/26 17:23, Wolfgang Gaggl wrote:
> I think it would be fine to use a switch in the pd-gui.tcl script to chose xpm with IRIX/SGI in the platform init procedure, which is what I did (just replacing gif with xpm in the script).
> We already install 3 flavors of Pd icons (gif, ico, xpm) with this distribution, and IRIX natively uses xpm (which will not change anymore). Any updates that allow gif as WM icons would not be natively available on IRIX, and it seems too restrictive to expect the user to patch their system for this.
> Given that xpm is expected as the native format by the window manager, I am not aware of an image format check for this on Irix.
> If you think this is too much hassle or not generalized enough I can look for a better solution (IRIX has tools to convert image formats, I'm just not sure without checking what comes with the plain vanilla system installation).
so you are saying that my suggested code change (in my email from today
10:11CET) does work for you?
because for me the "image create photo /path/to/pd.xpm" simply fails with
```
--------------------------------------------------------------------------------
(Tcl) UNHANDLED ERROR: couldn't recognize data in image file
".../pd-0.56-2-24-gf30a183a/tcl/pd.xpm"
while executing
"image create photo -file $icon"
("uplevel" body line 1)
invoked from within
"uplevel #0 ${tclentry}"
```
so i guess the question is:
- what do you get?
- what do you get if you just load the .gif file (without setting it as
an icon)? (aka can we get a non-fatal error from that?)
i find it easiest to run tests with the tclprompt-plugin (go to "Find
externals" and search for "tclprompt-plugin"; install it and restart Pd).
this should give you a prompt line in the main Pd window where you can
run Tcl/Tk commands interactively.
mfdasr
IOhannes
--
please do not CC me for list-emails
---
[email protected] - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/[email protected]/message/BBNHRH7R5XALWQEWR643TJDXAABYT5LW/
To unsubscribe send an email to [email protected] mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/
OpenPGP_signature.asc
(application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEdAXnRVdICXNIABVttlAZxH96NvgFAmlvsUMFAwAAAAAACgkQtlAZxH96NvhK CA//Uav94HXtQWaLhD7FLmt5Ihdr40Bj1hJ+prRsq8u+Y/YJt2OPCXDnWRRBXN0fbg3JR2j95wEP RTZuftIp0tf6BM4WR8snh1vS1OVojR3rxGJv36AndouwmBkXPB6Av19zS0RzbsNjVUKnDIZh2jXb CImGhiyqChqKgXaMVShu6c+jK2bknBftnrdNZ+48M3VR6/4AUlfcSfS5Gwdd+CjE3HcA2U+Wbas3 LjKh8o/hHY63cPquxvR7mEOI0UC8aaFkKFyoD5YU8HSmAyy1Z3UgHMMog0kM0cWGrkCApvJ0nNlf 1Fnf9w9e8XWImBMAbq2dY+CuhEGhc8KINyTRdCDs23eVWuzypI0/u53ztc+ox+8KVWTgB9Ad+lFP vYqdKtQ9L3uAZTthdb1MwozbklIpdjM4zVEG7VKek3qm96bnhxH8hLyfPaPCEWyvLkVR9bfG5DPG 01Qj8PNk/m2u8DmcXfjicUJ24/Vu9zCHE+rTV1JclOHKy0kpwaShaOqSNNTi3BBGWkeIl/w1JQgB VsYXq1WYKY3VINnWiIJ86h5y/oOhPM89oOk28qMfFR2Q6iNJoyVf4FQmNlY08PaTvp+IYTcF3yhN 1UOHJEjyNLpvngmw8EcKut6sOsie5H1RxAD1FRz4eN/3uJ1zz6SQtxMOeY0u2PSSahkXm727V5QI Kbo= =Ctzd -----END PGP SIGNATURE-----