From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roel Janssen Subject: How to deal with system-wide state databases Date: Fri, 10 Jun 2016 11:32:59 +0200 Message-ID: <87porppewk.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59622) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBIoI-0004un-7q for guix-devel@gnu.org; Fri, 10 Jun 2016 05:33:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bBIoE-0000X5-1D for guix-devel@gnu.org; Fri, 10 Jun 2016 05:33:01 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54587) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBIoD-0000Wz-U2 for guix-devel@gnu.org; Fri, 10 Jun 2016 05:32:57 -0400 Received: from ip-80-113-14-101.ip.prioritytelecom.net ([80.113.14.101]:15668 helo=roel-tp) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bBIoC-0000Vl-0G for guix-devel@gnu.org; Fri, 10 Jun 2016 05:32:56 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Dear Guix, I've been trying to get the help feature in gparted to work, but it uses an external program for it called "scrollkeeper". No problem so far, because I have a working package for it. However, Scrollkeeper maintains a database in which all documentation that is compatible with scrollkeeper is linked, creating a central point to search for help files. It all comes down to this invocation: scrollkeeper-update -p /gnu/store/c9bp09...-scrollkeeper-0.3.14/var/lib/scrollkeeper \ -o /gnu/store/xgbvyq...-gparted-0.26.0/share/omf/gparted The -p option specifies the scrollkeeper database directory. How should we deal with mechanisms like this? Should I change the scrollkeeper database directory per program, so in this case it becomes: /gnu/store/xgbvyqs...-gparted-0.26.0/var/lib/scrollkeeper Or can we deal with this in a more cross-package way? Kind regards, Roel Janssen