#12200: Unify /opt and /usr install paths for QT
-------------------------+------------------------
 Reporter:  dj@…         |       Owner:  blfs-book
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  x-future
Component:  BOOK         |     Version:  SVN
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------------

Comment (by bdubbs):

 Reformatting:

 {{{
 ./configure -prefix         $QT5PREFIX                        \
             -archdatadir    $QT5PREFIX/lib/qt5                \
             -bindir         $QT5PREFIX/bin                    \
             -plugindir      $QT5PREFIX/lib/qt5/plugins        \
             -importdir      $QT5PREFIX/lib/qt5/imports        \
             -headerdir      $QT5PREFIX/include/qt5            \
             -datadir        $QT5PREFIX/share/qt5              \
             -translationdir $QT5PREFIX/share/qt5/translations \
             -confirm-license  \
             -opensource       \
             -dbus-linked      \
             -openssl-linked   \
             -system-harfbuzz  \
             -system-sqlite    \
             -nomake examples  \
             -no-rpath         \
             -skip qtwebengine \
             -sysconfdir  /etc/xdg                         \
             -docdir      /usr/share/doc/qt5-&qt5-version; \
             -examplesdir /usr/share/doc/qt5-&qt5-version;/examples
 }}}

 I still prefer what we have now as I think it is more clear, but I can be
 persuaded depending on what others think.

 The placement in /opt makes a lot more sense in an LFS environment.  An
 update becomes easy.  What I use is:

 {{{
 VERSION=5.12.2
 QT5PREFIX=/opt/qt5

 sudo rm -rf /opt/qt-$VERSION $QT5PREFIX
 sudo mkdir -p $QT5PREFIX
 ...  qt5 build instructions
 sudo mv $QT5PREFIX /opt/qt-$VERSION
 sudo ln -svfn qt-$VERSION /opt/qt5
 }}}

 That retains older versions and reverting is as simple as changing the
 /opt/qt5 symlink.

--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/12200#comment:1>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to