Em 20-06-2015 13:19, Bruce Dubbs escreveu:
Fernando de Oliveira wrote:

Still, I would like to know if there is a technical reason for the
choice made, other than follow the systemd book.

And these type of changes are normally discussed before done. If I knew
the discussion was not necessary, I would have done it for BLFS-7.4.

I made the change because it seemed simpler to me.  It was triggered by
the reorg/addition I am doing with KDE and KDE is probably the largest
user of Qt in the book.  I did discuss what I'm trying to do with KDE
and it's not a simple change.

Thanks.

I cannot remember this qt part being mentioned.

I was making sure that it was not an alien contamination. I don't speak alien.

Unfortunately I don't speak alien, thus I have to discuss with you, which is clumsy and awkward. I do like and respect you, and think you understand why I am discussing, this matter.

Minor point, I see

            -bindir         $QT4BINDIR                        \

            -bindir         $QT5BINDIR                        \

but no definition of the variables.

Still, if we want to simplify, no need for all those surpefluous switches, which seem to be another kind of alien contamination, from ArchLinux (I consult them sometimes, I do speak ArchLinux alien). One editor once wrote: "we are not working on Arch Linux From Scratch".

    -bindir <dir> ......... Executables will be installed to <dir>
                            (default PREFIX/bin)

and similarly for all other switches, apparently.

Also, all the ones having qt5 or qt4 could be avoided, just using:

QT5PREFIX=/{opt,usr}/qt{4,5}

So, the configure woulde be simply:

./configure -prefix         $QT5PREFIX \
            -sysconfdir     /etc/xdg   \
            -confirm-license  \
            -opensource       \
            -dbus-linked      \
            -openssl-linked   \
            -journald         \
            -system-harfbuzz  \
            -system-sqlite    \
            -nomake examples  \
            -no-rpath         \
            -optimized-qmake  \
            -skip qtwebengine &&

lines

            -bindir         $QT5BINDIR                        \
            -headerdir      $QT5PREFIX/include/qt5            \
            -archdatadir    $QT5PREFIX/lib/qt5                \
            -datadir        $QT5PREFIX/share/qt5              \
            -docdir         $QT5PREFIX/share/doc/qt5          \
            -translationdir $QT5PREFIX/share/qt5/translations \
            -examplesdir    $QT5PREFIX/share/doc/qt5/examples \

being completely surpefluous contamination, perhaps needed by alien systemd qtchooser.

I left -sysconfdir /etc/xdg, defer to you, if it is really needed.

Well, if it works for /op, why can't they for /usr?

Again, well, I may be completely wrong, but that was not yet demonstrated.

--
[]s,
Fernando
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to