[
https://issues.apache.org/jira/browse/COUCHDB-1012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benoit Chesneau updated COUCHDB-1012:
-------------------------------------
Attachment: 0001-add-couch-config-file-used-to-ease-the-build-of-plug.patch
new version of the patch that should close this ticket.
new usage:
add couch-config file used to ease the build of plugin
Usage :
$ ./bin/couch-config_dev
Usage: couch-config_dev [OPTION]
The couch-config_dev command runs the Apache CouchDB configuration
helper
script.
Options:
--erl-libs-dir Erlang library directory
--config-dir configuration directory
--db-dir database dirrectory
--view-dir view index directory
--static-dir static asset directory
--doc-dir documentation directory
--uri-file daemon sockets file
--log-file log file
--couch-version version of Apache CouchDB
--couch-bin couchdb binary
--version version of couch-config_dev
--help Print usage
Report bugs at <https://issues.apache.org/jira/browse/COUCHDB>.
I kept log-file since, we have only a log file. Once jan will commit access
log (already in couchbase) we could add access-log as well. Also since view dir
can be different I kept this option as well.
If it's OK will commit it later today.
> Utility to help plugin developers manage paths
> ----------------------------------------------
>
> Key: COUCHDB-1012
> URL: https://issues.apache.org/jira/browse/COUCHDB-1012
> Project: CouchDB
> Issue Type: New Feature
> Components: Build System
> Reporter: Randall Leeds
> Assignee: Benoit Chesneau
> Fix For: 1.2
>
> Attachments:
> 0001-add-couch-config-file-used-to-ease-the-build-of-plug.patch,
> 0001-add-couch-config-file-used-to-ease-the-build-of-plug.patch,
> 0001-add-couch-config-file-used-to-ease-the-build-of-plug.patch,
> 0001-support-pkg-config-for-plugins-COUCHDB-1012.patch
>
>
> Developers may want to write plugins (like GeoCouch) for CouchDB. Many hooks
> in the configuration system allow loading arbitrary Erlang modules to handle
> various internal tasks, but currently there is no straightforward and
> portable way for developers of these plugins to discover the location of the
> CouchDB library files.
> Two options that have been proposed are to use pkg-config or install a
> separate script that could be invoked (e.g. as couch-config --erl-libs) to
> discover important CouchDB installation paths.
> As far as I know the loudest argument against pkg-config is lack of support
> for Windows.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira