[Lunar-commits] <moonbase> qt4: Adjusting the BUILD to fix an issue with libQtClucene.so.4 not found

Auke Kok auke at foo-projects.org
Fri Sep 17 07:17:20 CEST 2010


On 09/08/2010 04:35 PM, Dennis `stumbles` Veatch wrote:
> commit 1a6642f1461bf1763e35d20b0801804c5e544df8
> Author: Dennis `stumbles` Veatch<stumbles at lunar-linux.org>
> Date:   Wed Sep 8 19:35:18 2010 -0400
>
>      qt4: Adjusting the BUILD to fix an issue with libQtClucene.so.4 not found
>
>      as noted in IRC by Hirager.
>
>      Thanks.
> ---
>   qt4-apps/qt4/BUILD |   26 +++++++++++++-------------
>   1 files changed, 13 insertions(+), 13 deletions(-)
>
> diff --git a/qt4-apps/qt4/BUILD b/qt4-apps/qt4/BUILD
> index 023127a..a9aa537 100644
> --- a/qt4-apps/qt4/BUILD
> +++ b/qt4-apps/qt4/BUILD
> @@ -1,8 +1,8 @@
>   (
>
> -  export QTDIR=${MODULE_PREFIX}
> -  export PATH=$QTDIR/bin:$PATH
> -  export LD_LIBRARY_PATH=$QTDIR/lib
> +  export QTDIR=$SOURCE_DIRECTORY&&
> +  export PATH=$QTDIR/bin:$PATH&&
> +  export LD_LIBRARY_PATH=$QTDIR/lib&&
>
>     sedit "s:COMMERCIAL_USER=ask:COMMERCIAL_USER=no:" configure&&
>     sedit "s/-O2/$CFLAGS/" mkspecs/common/g++.conf&&
> @@ -17,16 +17,16 @@
>
>     OPTS="-largefile -multimedia -audio-backend -no-separate-debug-info -script -release -scripttools -accessibility -glib -optimized-qmake -no-phonon -xmlpatterns -fast -shared"&&
>
> -  echo "yes" | ./configure                             \
> -               -prefix ${QTDIR}                        \
> -               -docdir ${QTDIR}/share/$MODULE          \
> -               -plugindir /opt/lunar/plugins/qt4       \
> -               -datadir ${QTDIR}/share/$MODULE         \
> -               -translationdir ${QTDIR}/share/$MODULE  \
> -               -sysconfdir /etc/$MODULE/               \
> -               -examplesdir ${QTDIR}/share/$MODULE     \
> -               -demosdir ${QTDIR}/share/$MODULE        \
> -               $OPTS&&
> +  echo "yes" | ./configure                                     \
> +               -prefix ${MODULE_PREFIX}                        \
> +               -docdir ${MODULE_PREFIX}/share/$MODULE          \
> +               -plugindir /opt/lunar/plugins/qt4               \


qt plugins aren't browser plugins... in any case, do me a favor and move 
these to:

	-plugindir /usr/lib/qt4/plugins

which is probably the best place to put them.

Auke


More information about the Lunar-dev mailing list