On 2017-01-01 21:32, Miller Puckette wrote: > This is a long list [...] another wishlist from my side (which I wanted to address at PdCon16~ but somehow didn't manage). would it be possible to include the libpd glue into the proper Pd sources? i'm only talking about the C-part of libpd as found in the folder [libpd_wrapper], not about the various language bindings.
the idea is: - to be able to build the core libpd.so from the Pd-vanilla sources - from the libpd perspective nothing would change (apart from adjusting the paths to some files in the main Makefile) - the various language wrappers (C++, C#, ...) *could* be built as (very) thin libraries that dynamically link against libpd.so the main reasoning is, that i would like to have libpd in Debian/Ubuntu/... proper, and they are very peculiar about code duplication, that is: it's forbidden by policy to include the same non-trivial sources twice in the archives; however, the current model of libpd source distribution does exactly this. being able to build libpd directly from pd-vanilla would greatly simplify things for me. the important question is of course, whether the various language wrappers would be able to use a common libpd.so - if not, the entire exercise might be moot. afaict, the wrappers currently use static linking, but that might just be for convenience reasons. it would be interesting to hear peter and dan (or some other libpd experts) on this. on the long run, i'm dreaming of pd-vanilla using libpd directly (that is, dynamically linking against libpd.so like other applications, rather than statically including it). but that's probably for 0.48-1 :-) asdfmr IOhannes [libpd_wrapper] https://github.com/libpd/libpd/tree/master/libpd_wrapper
signature.asc
Description: OpenPGP digital signature
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
