Re: [Mlt-devel] What to do with swig bindings?
Brought to you by:
ddennedy,
lilo_booter
From: Dan D. <da...@de...> - 2009-08-11 20:20:07
|
On Tue, Aug 11, 2009 at 12:30 PM, Patrick Matthäi<pma...@de...> wrote: > Dan Dennedy schrieb: >> On Tue, Aug 11, 2009 at 11:53 AM, Patrick Matthäi<pma...@de...> wrote: >>> Dan Dennedy schrieb: >>>> On Tue, Aug 11, 2009 at 11:17 AM, Patrick Matthäi<pma...@de...> wrote: >>>>> Hello, >>>>> >>>>> I am realy clueless, I try to implement the swig bindings in the >>>> [...] >>>>> Yeah just 'perl php python', the other bindings FTBFS. >>>>> What to do with them, where should they be installed? >>>>> >>>>> It is not documented and I am a swig noob :) >>>> It is not really a swig issue because swig provides no help for an >>>> install make target. Each language has its own version-specific >>>> directory for its extensions, and I assume some distros do it >>>> differently than others. Can you look at some debian package rules for >>>> some other bindings packages? >>>> >>> http://packages.debian.org/sid/amd64/python-subversion/filelist >>> >>> This is from subversion. >>> >>> I could start and build a simmilar architecture of files. >>> But I think it would be better if you made one, so that not every >>> distributor put the files in another location and name? >> >> Main dev workstation runs Arch Linux, and it does not have a >> /usr/lib/pyshared, etc. For Python it has >> /usr/lib/python<X.Y>/site-packages/. For PHP, it uses >> /usr/lib/php/<X>/. For Perl, /usr/lib/perl<X>/site_perl/current/. >> Also, I do not think my swig binding creates as many files as the >> python-subversion example, for whatever reason. All that mlt's python >> builds is _mlt.so and mlt.py. If I create a structure, surely, it will >> not be accepted by the distro packagers, and even if they did, it > > Why not if you choose a structure which is ACKed by the FSH? :) > I just do not like it if I choose e.g. now the same structure as some > swig packaging examples and other distros like suse, gentoo, etc are > doing it in a very different way. You should give *good* rules where the > files should be placed. I am sorry, but I do not understand because I do not know the LSB FSH for language extensions and because I do not know the "good rules." I believe there may some communication problem. Are you asking me to do research to figure out the correct universal file system location (if possible) for each language? -- +-DRD-+ |