[Pkg-lyx-devel] Bug#261364: Accepted lyx 1.3.4-2 (i386 source all)
Marc Jeffrey Driftmeyer
Marc Jeffrey Driftmeyer <mjd@reanimality.com>, 261364@bugs.debian.org
Mon, 26 Jul 2004 10:53:54 -0700
Actually,
What that tells me is that like KDE Debian is wanting to centralize all
configuration files, in this case, texmf.cnf under a directory child to
that of /etc. That makes sense. And that is not what I'm noting.
I'm making note that the /usr/lib has most often been reserved for
applicaiton server libraries, low-level system libraries and X-server
libraries, or basically device driver libraries. User space application
specific configurations tend to be stored under
/usr/share/userApplication or /etc/userApplication/.
I'm not trying to knock someone for violating some unknown known in the
Debian world. I'm just pointing out that either testing was not done on
these packages going from 1.3.4-1 to 1.3.4-2 or that builds were done on
a none standard Sid installation, or that perhaps someone thought the
postinstall.sh check in this directory was necessary now, but hasn't
been up until this point.
Note: /var/lib/texmf/web2c/texmf.cnf is just a symlink back to
/etc/texmf/texmf.cnf. Same with /usr/share/texmf/web2c/texmf.cnf. Also,
/usr/share/tetex-bin/texmf.cnf is just the default distribution location
for texmf.cnf. So we actually just have one real location which
texmf.cnf is managed: /etc/texmf/texmf.cnf.
Sorry to point out that the postinstall didn't go smoothly but isn't
that what reporting flaws is all about?
-Marc J. Driftmeyer
P.S. I maintained the CC: to bug so as not to lose any relevant dialogue.
Erinn Clark wrote:
>Hi Marc,
>
>* Marc Jeffrey Driftmeyer <mjd@reanimality.com> [2004:07:26 01:01 -0700]:
>
>
>>Who built the debs?
>>
>>
>
>Pascal Hakim.
>
>
>
>>Here is why I ask:
>>
>>
>>
>>>Setting up lyx-common (1.3.4-2) ...
>>>grep: /usr/lib/texmf/web2c/texmf.cnf: No such file or directory
>>>Running update-lyxrc... done
>>>
>>>
>>It should be /usr/share/texmf since that is where TeX installs itself.
>>
>>
>
>Well, really, texmf.cnf can be found in several places:
>
>/etc/texmf/texmf.cnf
>/usr/share/tetex-bin/texmf.cnf
>/var/lib/texmf/web2c/texmf.cnf
>
>If you look in debian/packages in the source, it has:
>
>Postinst: sh
> if [ -e /usr/bin/texconfig ] && fgrep -q TEXMFMAIN
> /usr/lib/texmf/web2c/texmf.cnf; then
> /usr/bin/texhash
> fi
> echo -n "Running update-lyxrc... "
>
>However, this is a yada remnant, AFAIK, and we're redoing the build system
>for the next upload which should happen in two weeks or so. We had an RC
>bug that needed to be closed, so we uploaded. This postinst stuff already
>existed, though, so this shouldn't be anything new. It won't exist on the
>next upload.
>
>Thanks,
>Erinn
>
>
>