Hi list,
I am wondering if there are any considerations amongst developers to allow the upgrade of externals/libraries through deken eventually?
I have just discovered the [import] library, described on [1] as "Aiming to provide a simplified Python-style import for Pure Data, this import object loads libraries as part of a patch. It will load anything that Pd considers a library, including libraries that are defined by Pd loaders like 'libdir'. " Do I understand it correctly that it will automatically load externals that are used in a patch without having to explicitly use [declare -lib ...]?
Oh, and [import] seems to be unavailable through deken, which makes me believe that it is possibly an older project?
Thanks for all hints! P
Hi, [import] was part of Extended. If I am not mistaken, it worked in Extended because of some changes to the core code specific to it, hence it was never an external or did not ever work in Vanilla
[declare] is Vanilla's [import] and something that came about later, making [import] just part of history and something to be forgotten...
Many help files you find from external libraries in deken still use [import] just because it's the same file that was part of Extended and never got updated. But then, anyone can update them and reupload them.
cheers
Em sáb., 6 de jan. de 2024 às 05:28, Peter P. peterparker@fastmail.com escreveu:
Hi list,
I am wondering if there are any considerations amongst developers to allow the upgrade of externals/libraries through deken eventually?
I have just discovered the [import] library, described on [1] as "Aiming to provide a simplified Python-style import for Pure Data, this import object loads libraries as part of a patch. It will load anything that Pd considers a library, including libraries that are defined by Pd loaders like 'libdir'. " Do I understand it correctly that it will automatically load externals that are used in a patch without having to explicitly use [declare -lib ...]?
Oh, and [import] seems to be unavailable through deken, which makes me believe that it is possibly an older project?
Thanks for all hints! P
[1] https://packages.debian.org/bookworm/puredata-import
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
On 1/6/24 16:28, Alexandre Torres Porres wrote:
Hi, [import] was part of Extended. If I am not mistaken, it worked in Extended because of some changes to the core code specific to it, hence it was never an external or did not ever work in Vanilla
it *does* work with vanilla. e.g. there's a Debian package "puredata-import" which provides the [import] external.
having said that, the rest of alexandre's mail is correct: [import] is a Pd-extended thing and has been replaced with [declare] in Pd-vanilla.
There is no reason to go back.
(the only reason that there is a Debian package for this external is, that a) compatibility with Pd-extended patches and b) nobody bothered to remove it)
gfmdsr IOhannes