[Lunar-bugs] [bug] kino - kino-jogshuttle and usb.usermap placement
lunar-bugs at lunar-linux.org
lunar-bugs at lunar-linux.org
Thu Mar 3 18:48:08 UTC 2005
On Thursday 03 March 2005 01:34 pm, lunar-bugs at lunar-linux.org wrote:
> I've seen :
>
> kino.spec:89:mv %{buildroot}/usr/etc/hotplug/usb/kino-jogshuttle
>
> and
>
> linux-hotplug/Makefile:132:hotplugscriptdir = /usr/etc/hotplug/usb
>
> that came from :
>
> linux-hotplug/Makefile.in:132:hotplugscriptdir = @hotplugscriptdir@
>
> Because we have :
>
> configure.in:295: hotplugscriptdir="${prefix}/etc/hotplug/usb"
>
> and :
>
> config.log:1085:prefix='/usr'
>
> the file ends in the wrong dir...
>
> The correct variable setting in configure.in should have be
>
> hotplugscriptdir="${sysconfdir}/hotplug/usb"
>
> Thus this patch
>
> --- configure.in 2004-04-10 16:22:07.000000000 +0200
> +++ configure.in.fixed 2005-03-03 19:32:49.616047540 +0100
> @@ -292,7 +292,7 @@
> hotplugscriptdir="${with_hotplug_script_dir}"
> AC_MSG_RESULT([${hotplugscriptdir}])
> else # start at docdir
> - hotplugscriptdir="${prefix}/etc/hotplug/usb"
> + hotplugscriptdir="${sysconfdir}/hotplug/usb"
> AC_MSG_RESULT([${hotplugscriptdir} (default)])
> fi
> AC_SUBST(hotplugscriptdir)
> @@ -304,7 +304,7 @@
> hotplugusermapdir="${with_hotplug_usermap_dir}"
> AC_MSG_RESULT([${hotplugusermapdir}])
> else # start at docdir
> - hotplugusermapdir="${prefix}/lib/hotplug/kino"
> + hotplugusermapdir="${sysconfdir}/hotplug/kino"
> AC_MSG_RESULT([${hotplugusermapdir} (default)])
> fi
> AC_SUBST(hotplugusermapdir)
>
>
>
> But you must know whereas it was intended or not by the package... I'm on
> Kino ML, if you want I can ask...
>
> Couannette
Asking on their mail list might be a good idea. I have kino (rpm) installed on
another box (PclinuxOS, Mandrake deverivative) and their kino jog stuff ends
up in /etc/hotplug. I do not know if there's some fiddling Tex does when he
makes the rpm. In any case and this is just me, it makes more sense to place
it in /etc than /usr/etc.
>
> lunar-bugs at lunar-linux.org a écrit :
> > Project: lunar-linux
> > ID: Version: <none>
> > Component: moonbase (modules)
> > Category: bug reports
> > Priority: normal
> > Assigned to: <unassigned>
> > Reported by: dveatch
> > Updated by: dveatch
> > Status: active
> > Attachment: http://lunar-linux.org/files/issues/kino-0.7.1.bz2 (5.37
> > KB)
> >
> > The BUILD specifies;
> >
> > "--sysconfdir=/etc"
> > but the install places "kino-jogshuttle" in;
> >
> > "/usr/etc/hotplug/usb"
> > instead of
> > "/etc/hotplug/usb"
> > and puts "usb.usermap" in;
> >
> > "/usr/lib/hotplug/kino"
> > instead of;
> >
> > "/etc/hotplug/kino"
> >
> > Actually I think the later should be appended to any exiting
> > usb.usermap that may be present in /etc/hotplug
> >
> > The BUILD;
> >
> >
> > (
> >
> > ./configure --sysconfdir=/etc \
> > --prefix=/usr \
> > --mandir=/usr/share/man \
> > --localstatedir=/var \
> > $OPTS &&
> >
> > sedit "s/CFLAGS = -O2/CFLAGS = $CFLAGS/" Makefile &&
> > sedit "s/CXXFLAGS = -O2/CXXFLAGS = $CXXFLAGS/" Makefile &&
> >
> > default_make
> >
> > ) > $C_FIFO 2>&1
> >
> > I cannot seem to figure out why this is happening.
> >
> >
> > dveatch
>
> _______________________________________________
> Lunar-bugs mailing list
> Lunar-bugs at lunar-linux.org
> http://foo-projects.org/mailman/listinfo/lunar-bugs
More information about the Lunar-bugs
mailing list