From: "Dan Nicholson" Date: Wed, 07 Nov 2007 23:38:55 +0000 Subject: Re: [PATCH 0/2] Improve standalone libvolume_id installation Message-Id: <91705d080711071538k4871bc42wa89c3bb781867f72@mail.gmail.com> List-Id: References: <1193425238-4278-1-git-send-email-dbn.lists@gmail.com> In-Reply-To: <1193425238-4278-1-git-send-email-dbn.lists@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On 11/7/07, Kay Sievers wrote: > On Oct 26, 2007 8:00 PM, Dan Nicholson wrote: > > Sometimes it's desirable to install just libvolume_id instead of all of > > udev. This is to support external programs depending on this library. > > Currently, it's difficult to untangle the libvolume_id build from the > > rest of udev. > > > > There are two situations where this has come up that seemed important > > to me. > > > > * GNOME jhbuild/garnome adding the external HAL dependency used in > > many programs and not knowing how to handle HAL's dependency on > > libvolume_id. I'm sure David can tell you the flames he endured. > > > > http://mail.gnome.org/archives/desktop-devel-list/2006-September/msg00268.html > > > > They've since solved that problem (I think), but it could have been > > much easier. > > > > * The mount programs from util-linux-ng can now use libvolume_id. > > > > For distros, this isn't really a problem since you can just Require: > > libvolume_id-devel, but for common folk it could be much easier. > > Can't we just add that to the extras/volume_id/Makefile? People could > just cd into the directory and do "make", "make install"? > > I don't really want to put things like this into the main Makefile. > The lib may go into a separate project some day. Yeah, that's probably better. The only problem with `make -C extras/volume_id/lib' is that many of the variables (CC, RANLIB, etc.) are only set at the toplevel Makefile. You could probably add some 'var ?= value' constructs to the volume_id/lib Makefile so that normal builds still inherit from the toplevel environment. If that seems OK, I'll try to fix up the patch to do that. Thanks for considering this. -- Dan ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel