On 12/03/2010 02:42 PM, Felipe Sateler wrote: > 2010/12/3 IOhannes zmölnig <zmoel...@iem.at>: >> hi all, >> >> based on previous suggestion i started to create a (debian native) >> package "pd-pkg-tools", which should make packaging of pd-libraries easier. > > Great!
cool > > I would welcome it. cool >> might have done all the DONTs (e.g. i still have no real clue what is >> supposed to go into "class" and what should go into "rules") > > I think this should go into rules, but Jonas can give a more informed answer. i was hoping for jonas to say something on this :-) > >> >> so far i have packaged one very simple pd-library with it, and the >> debian/rules file boils down to 3 lines (without the boiler-plate). >> >> this package (pd-syslog) is currently also on github >> https://github.com/umlaeute/pd-syslog >> since i was unsure about it's hard dependency on pd-pkg-tools. >> >> comments please > > The documentation is a bit wrong: The pd Depends is not handled yet. is it not?... > > Maybe the Depends should be expanded to a new substvar? that was my original idea. then i discovered that cdbs can already do it, and so i just hooked to that: "cdbs:Depends" should get updated to depend on "pd" (if you included .../pd.mk) or "puredata" (if you included .../puredata.mk) at least this seems to work with the pd-syslog example. however, i'm quite open to go back to "pd:Depends" as well... > > Wild wishlist... would it be possible to detect if the installed pd > patches/objects use another library? So that the appropriate depends > are added? oh, you mean not binary dependencies (as are generated by dpkg-shlibdeps), but simply if an object.pd references [pddp/link] it would automatically depend on pd-pddp? that would be a cool feature indeed, though not easily done. mdfasr IOhannes
Description: OpenPGP digital signature