You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by Noah Slater <ns...@apache.org> on 2010/12/01 13:04:16 UTC

Re: add plugin handling to the build system

I've read the whole thread, and I still don't understand what anyone is talking about.

On 30 Nov 2010, at 22:47, Benoit Chesneau wrote:

> On Tue, Nov 30, 2010 at 9:39 PM, Paul Davis <pa...@gmail.com> wrote:
>> 
>> Exactly. I think this is probably the route you want to take. This
>> should be fairly easy to implement based on how things like the
>> couchdb script are made.
>> 
> Ok, sound good, i will have a look on how to implement that. Thanks
> for the direction.
> 
> - benoit


Re: add plugin handling to the build system

Posted by Noah Slater <ns...@apache.org>.
Looks simple enough!

On 1 Dec 2010, at 15:15, Benoit Chesneau wrote:

> On Wed, Dec 1, 2010 at 4:11 PM, Noah Slater <ns...@apache.org> wrote:
>> I guess I'd need to see a patch or something before I understood what was being proposed.
>> 
> The change should be simple in built system if we go with pkg-config.
> It consists in filling a template:
> 
> http://lists.freedesktop.org/archives/pkg-config/2007-August/000218.html
> 
> 
> - benoît


Re: add plugin handling to the build system

Posted by Benoit Chesneau <bc...@gmail.com>.
On Wed, Dec 1, 2010 at 4:11 PM, Noah Slater <ns...@apache.org> wrote:
> I guess I'd need to see a patch or something before I understood what was being proposed.
>
The change should be simple in built system if we go with pkg-config.
It consists in filling a template:

http://lists.freedesktop.org/archives/pkg-config/2007-August/000218.html


- benoît

Re: add plugin handling to the build system

Posted by Noah Slater <ns...@apache.org>.
I guess I'd need to see a patch or something before I understood what was being proposed.

On 1 Dec 2010, at 15:07, Benoit Chesneau wrote:

> On Wed, Dec 1, 2010 at 4:03 PM, Noah Slater <ns...@apache.org> wrote:
>> Not really sure what this has to do with the build system though.
>> 
> because pkg-config or any tool like this one need some bits in the
> build system ?


Re: add plugin handling to the build system

Posted by Benoit Chesneau <bc...@gmail.com>.
On Wed, Dec 1, 2010 at 4:03 PM, Noah Slater <ns...@apache.org> wrote:
> Not really sure what this has to do with the build system though.
>
because pkg-config or any tool like this one need some bits in the
build system ?

Re: add plugin handling to the build system

Posted by Noah Slater <ns...@apache.org>.
Not really sure what this has to do with the build system though.

On 1 Dec 2010, at 15:00, Robert Dionne wrote:

> I think this would be really neat
> 
> 
> 
> 
> On Dec 1, 2010, at 9:49 AM, Benoit Chesneau wrote:
> 
>> On Wed, Dec 1, 2010 at 1:04 PM, Noah Slater <ns...@apache.org> wrote:
>>> I've read the whole thread, and I still don't understand what anyone is talking about.
>>> 
>> The goal is to provide an easy way to handle plugings in couchdb:
>> 
>> - how to build them against easily against couchdb
>> - how they can be handle directly in couchdb
>> 
>> Both are possible today, except build is really not intuitive. And
>> having to launch a plugin by setting ERL_FLAGS environment variable
>> manually isn't the best way. So this discussion is about finding a way
>> to register a plugin in couch, make couchdb launch it automatically if
>> enabled. Other part of the problem is to have a way to find couchdb
>> includes on the system to build the plugin againts them. That's part
>> may be handle by pkg-config.
>> 
>> - benoit
> 


Re: add plugin handling to the build system

Posted by Robert Dionne <di...@dionne-associates.com>.
I think this would be really neat




On Dec 1, 2010, at 9:49 AM, Benoit Chesneau wrote:

> On Wed, Dec 1, 2010 at 1:04 PM, Noah Slater <ns...@apache.org> wrote:
>> I've read the whole thread, and I still don't understand what anyone is talking about.
>> 
> The goal is to provide an easy way to handle plugings in couchdb:
> 
> - how to build them against easily against couchdb
> - how they can be handle directly in couchdb
> 
> Both are possible today, except build is really not intuitive. And
> having to launch a plugin by setting ERL_FLAGS environment variable
> manually isn't the best way. So this discussion is about finding a way
> to register a plugin in couch, make couchdb launch it automatically if
> enabled. Other part of the problem is to have a way to find couchdb
> includes on the system to build the plugin againts them. That's part
> may be handle by pkg-config.
> 
> - benoit


Re: add plugin handling to the build system

Posted by Benoit Chesneau <bc...@gmail.com>.
On Wed, Dec 1, 2010 at 1:04 PM, Noah Slater <ns...@apache.org> wrote:
> I've read the whole thread, and I still don't understand what anyone is talking about.
>
The goal is to provide an easy way to handle plugings in couchdb:

- how to build them against easily against couchdb
- how they can be handle directly in couchdb

Both are possible today, except build is really not intuitive. And
having to launch a plugin by setting ERL_FLAGS environment variable
manually isn't the best way. So this discussion is about finding a way
to register a plugin in couch, make couchdb launch it automatically if
enabled. Other part of the problem is to have a way to find couchdb
includes on the system to build the plugin againts them. That's part
may be handle by pkg-config.

- benoit