On Thu, 2009-11-26 at 00:54 -0800, kriomant wrote:
> 
> On 26 ноя, 04:37, Christopher James Halse Rogers
> <[email protected]> wrote:
> > On Wed, 2009-11-25 at 09:10 -0800, kriomant wrote:
> > > On 25 ноя, 09:23, Christopher James Halse Rogers
> > > <[email protected]> wrote:
> > > > On Mon, 2009-11-23 at 07:28 -0800, kriomant wrote:
> > > > > I'm writing new plugin, which uses third-party library. This library
> > > > > isn't available from standard repositories. How can I include this
> > > > > library into my plugin?
> >
> > > > This depends on the library.  If it's something nice and portable, like
> > > > a C# (or other mono language) library, it's easy.  If it's
> > > > platform-dependent, it's harder.
> >
> > > I'm writing a plug-in for Transmission torrent client, and it uses
> > > Jayrock.Json library for interacting with Transmission RPC interface.
> > > Jayrock.Json is a fully managed .NET library.
> >
> > Oh, balls.  It's a library from the windows-culture
> 
> Author declares compatibility with Mono.
> 

I'm sure it'll run under mono; after all, that's where you're using it.
The "Windows-culture" I'm complaining about refers to how people are
expected to use it - *nix culture is "we'll provide you with source & a
build-system so you can build it locally", Windows culture tends to be
"Here's some binaries (and maybe some source too, if you like)".

> > which means I get to write a build-system for it.
> 
> Why do you need to write a build-system if I throw it pre-built?

Because neither Debian nor Ubuntu (and probably other distributions)
accept binaries that they can't easily build from source.  That means
that if we want your plugin to be available in distros, we need to (at
least) build the library from source.

This doesn't bother you during development, though.  Pre-built is
possible.

> 
> > And it doesn't seem to be actively developed anymore - it's been more than
> > a year since the lass commit - but as long as it's bug-free that's OK!
> 
> I haven't meet any bug during development, but if you see any issues
> with this library, I can use any other. I just can't find standard
> json library in distro and choosen first found by google. However,
> library is quite good.

Yeah; I had a brief wander around the web for json libraries.  The other
one I found was Json.NET, but I don't think that does json-rpc, which is
what you're after, right?  This library should be fine.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to