Angus Leeming wrote:
Jean-Marc Lasgouttes wrote:

Shall I apply it, or do you want to test it first?

Angus> I'll try and test it over the w/e if you like.

Thanks.
JMarc


JMarc, I haven't forgotten, but I haven't tested this yet. One thing I noticed last night when trying to put together a tex2lyx shapshot on Windows (i.e., the 1.4.x tree, not the 1.3.x one) was that

$ cd <top src dir>
$ ./autogen.sh
$ mkdir build && cd build
$ ../configure --prefix="J:/Programs/LyX"
$ (cd boost && make)
$ (cd src/support && make)
$ (cd src/tex2lyx && make install)
$ (cd lib && make install)

Leads to everything necessary being installed in J:/Programs/LyX, but the directory hierarchy looks like (from memory)

Programs
    LyX
        bin
            noweb2lyx
            reLyX
            tex2lyx.exe
        man
            man1
                reLyX.1
        Resources
            lyx
                # Everything you'd expect to find here, except
                # the reLyX directory.
        share
            reLyX
                syntax.default
                # also reLyX perl files.

tex2lyx was unhappy with this because it couldn't find 'syntax.default'.

From memory also, your patch addresses this particular problem, so I'd suggest that you just commit it and I'll try and run a few tests this evening.

Ok, I tried out the patch. In fact, it does not address the problem above.

Attached are the results of
    $ mkdir build-qt && cd build-qt
    $ ../configure
which leads to installation in build-qt/installprefix and of
    $ ../configure --prefix='J:/Programs/LyX'
which leads to installation in J:/Programs/LyX as you'd expect.

So all that is good. However, we still have the spurious LyX/man and LyX/share directories containing reLyX stuff.

Regards,
Angus
Default configuration leads to installation in build-qt/installprefix,
as expected. The tree, however, is not correct.

build-qt/
    installprefix/
        Resources/
            locale/
                locale.alias
                da/
                    LC_MESSAGES/
                        lyx.mo
                de/
                    LC_MESSAGES/
                        lyx.mo
                es/
                    LC_MESSAGES/
                        lyx.mo
                eu/
                    LC_MESSAGES/
                        lyx.mo
                fi/
                    LC_MESSAGES/
                        lyx.mo
                fr/
                    LC_MESSAGES/
                        lyx.mo
                it/
                    LC_MESSAGES/
                        lyx.mo
                nl/
                    LC_MESSAGES/
                        lyx.mo
                nn/
                    LC_MESSAGES/
                        lyx.mo
                no/
                    LC_MESSAGES/
                        lyx.mo
                pl/
                    LC_MESSAGES/
                        lyx.mo
                ro/
                    LC_MESSAGES/
                        lyx.mo
                ru/
                    LC_MESSAGES/
                        lyx.mo
                sk/
                    LC_MESSAGES/
                        lyx.mo
                sl/
                    LC_MESSAGES/
                        lyx.mo
            lyx/
                bind/
                clipart/
                doc/
                examples/
                help/
                images/
                kbd/
                layouts/
                lyx2lyx/
                scripts/
                templates/
                tex/
                ui/
                CREDITS
                chkconfig.ltx
                configure*
                encodings
                external_templates
                languages
                lyxrc.defaults
                lyxrc.example
                packages.lst
                symbols
                textclass.lst
            man/
                man1/
                    lyx.1
        bin/
            lyx.exe*
            noweb2lyx*
            reLyX*
        lib/
            charset.alias
        man/
            man1/
                reLyX.1
        share/
            lyx/
                reLyX/
                    Text/
                        TeX.pm
                    BUGS
                    BasicLyX.pm
                    CHANGES
                    CleanTeX.pm
                    LastLyX.pm
                    MakePreamble.pm
                    README
                    ReadCommands.pm
                    RelyxFigure.pm
                    RelyxTable.pm
                    Verbatim.pm
                    reLyX.pod
                    reLyXmain.pl*
                    syntax.default

Configuring with --prefix='J:/Programs/LyX'
J:/Programs/
    LyX/
        Resources/
            locale/
                locale.alias
                da/
                    LC_MESSAGES/
                        lyx.mo
                de/
                    LC_MESSAGES/
                        lyx.mo
                es/
                    LC_MESSAGES/
                        lyx.mo
                eu/
                    LC_MESSAGES/
                        lyx.mo
                fi/
                    LC_MESSAGES/
                        lyx.mo
                fr/
                    LC_MESSAGES/
                        lyx.mo
                it/
                    LC_MESSAGES/
                        lyx.mo
                nl/
                    LC_MESSAGES/
                        lyx.mo
                nn/
                    LC_MESSAGES/
                        lyx.mo
                no/
                    LC_MESSAGES/
                        lyx.mo
                pl/
                    LC_MESSAGES/
                        lyx.mo
                ro/
                    LC_MESSAGES/
                        lyx.mo
                ru/
                    LC_MESSAGES/
                        lyx.mo
                sk/
                    LC_MESSAGES/
                        lyx.mo
                sl/
                    LC_MESSAGES/
                        lyx.mo
            lyx/
                bind/
                clipart/
                doc/
                examples/
                help/
                images/
                kbd/
                layouts/
                lyx2lyx/
                scripts/
                templates/
                tex/
                ui/
                CREDITS
                chkconfig.ltx
                configure*
                encodings
                external_templates
                languages
                lyxrc.defaults
                lyxrc.example
                packages.lst
                symbols
                textclass.lst
            man/
                man1/
                    lyx.1
        bin/
            lyx.exe*
            reLyX*
            noweb2lyx*
        lib/
            charset.alias
        man/
            man1/
                reLyX.1
        share/
            lyx/
                reLyX/
                    Text/
                        TeX.pm
                    BUGS
                    BasicLyX.pm
                    CHANGES
                    CleanTeX.pm
                    LastLyX.pm
                    MakePreamble.pm
                    README
                    ReadCommands.pm
                    RelyxFigure.pm
                    RelyxTable.pm
                    Verbatim.pm
                    reLyX.pod
                    reLyXmain.pl
                    syntax.default

Reply via email to