Fernando de Oliveira wrote:
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.

Good catch. That should be $QT4PREFIX/bin. The $QT4BINDIR came from the systemd book and I intended to change it and indeed, that is what I have in my scripts.

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 would 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'm pretty sure all those are defaults, but I don't think it hurts to
leave them in this case. It's such a complex package when you consider both qt4 and qt5, that specificity provides the user some valuable information.

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

I'm not 100% sure. I'll do a DESTDIR install to check. I did run into a problem last night -- was up until about 4AM and still don't have everything completely sorted.

  -- Bruce


--
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