Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A8A1D7818 for ; Thu, 25 Aug 2011 13:04:55 +0000 (UTC) Received: (qmail 72572 invoked by uid 500); 25 Aug 2011 13:04:54 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 72510 invoked by uid 500); 25 Aug 2011 13:04:54 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 72488 invoked by uid 99); 25 Aug 2011 13:04:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Aug 2011 13:04:53 +0000 X-ASF-Spam-Status: No, hits=-2000.9 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Aug 2011 13:04:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 65932CFD6C for ; Thu, 25 Aug 2011 13:04:30 +0000 (UTC) Date: Thu, 25 Aug 2011 13:04:30 +0000 (UTC) From: "Benoit Chesneau (JIRA)" To: dev@couchdb.apache.org Message-ID: <256516264.13483.1314277470412.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <4155411.145251294178325740.JavaMail.jira@thor> Subject: [jira] [Updated] (COUCHDB-1012) Utility to help plugin developers manage paths MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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 . 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