GoboLinux Downloads Documentation Community Recipes Screenshots

GoboLinux Recipe & Package Search Tool

32 versions of Qt.

ProgramAgeSizeByWWWSummary
Qt 5.9.0-r3 794  2157 Ivan...
A GUI software toolkit.
Qt 5.7.1-r2 955  2135 Luca...
A GUI software toolkit.
Qt 4.8.7-r2 1135  3064 Luca...
A GUI software toolkit.
Qt 4.8.6-r1 1194  2379 Luca...
A GUI software toolkit.
Qt 4.8.5-r3 2118  2889 Luca...
A GUI software toolkit.
Qt 4.8.0-r1 2810  1620 Luca...
A GUI software toolkit.
Qt 4.7.4-r1 2997  1599 Lean...
A GUI software toolkit.
Qt 4.7.1-r1 3219  1601 Lean...
A GUI software toolkit.
Qt 4.6.2-r1 3556  1610 Mich...
A GUI software toolkit.
Qt 4.6.1-r1 3591  1598 Lean...
A GUI software toolkit.
Qt 4.5.3-r3 3619  1549 Mich...
A GUI software toolkit.
Qt 4.5.2-r1 3814  1816 Mich...
A GUI software toolkit.
Qt 4.5.1-r1 3830  1809 Mich...
A GUI software toolkit.
Qt 4.5.0-r1 3924  1773 Mark...
A GUI software toolkit.
Qt 4.4.3-r2 3931  1796 Giam...
A GUI software toolkit.
Qt 4.4.1-r3 3931  1631 Jona...
A GUI software toolkit.
Qt 4.4.0-r2 3931  1725 Giam...
A GUI software toolkit.
Qt 4.3.3-r3 3931  1936 Isaa...
A GUI software toolkit.
Qt 4.3.2-r1 3931  1715 Giam...
A GUI software toolkit.
Qt 4.3.1-r2 3931  1731 Isaa...
A GUI software toolkit.
Qt 4.1.2-r2 3931  1267 Hara...
A GUI software toolkit.
Qt 4.1.0-r1 3931  1256 Hara...
A GUI software toolkit.
Qt 4.0.0-r1 3931  1249 Andr...
A GUI software toolkit.
Qt 3.3.8b-r7 1134  12384 Jona...
A GUI software toolkit.
view entry at GitHub | download recipe.bz2 file
01-accept_gpl.patch
02-xdg_entries.patch
03-assistantCommand_name.patch
04-gcc4.patch
05-libpng4.patch
Recipe
Resources/BuildDependencies
Resources/BuildInformation
Resources/Dependencies
Resources/Description
# Recipe for version 3.3.8b by Jonas Karlsson <jonka750@student.liu.se>, on Sat Jul \
26 16:37:20 GMT 2008
# by Andre Detsch

#url=ftp://ftp.trolltech.com/qt/source/qt-x11-free-3.3.8b.tar.bz2
url="ftp://ftp.trolltech.com/qt/source/qt-x11-free-3.3.8b.tar.gz"
file_size=17313883
file_md5=9f05b4125cfe477cc52c9742c3c09009
compile_version=1.8.2
recipe_type=configure
override_default_options=yes
configure_options=(
   -prefix "${target}"
   -sysconfdir "${settings_target}/qt3"
   -libdir "${target}/lib"
   -plugindir "${goboLibraries}/qt3/plugins"
   -datadir "${target}/share/qt3"
   -headerdir "${target}/include/qt3"
   -docdir "${target}/doc/qt-3.3.8b"
   -translationdir "${target}/share/translations"
   -release
   -thread
   -system-zlib
   -system-libjpeg
   -system-libpng
   -system-libmng
   -qt-gif
   -qt-imgfmt-png
   -qt-imgfmt-jpeg
   -plugin-imgfmt-mng
   -qt-sql-sqlite
   -nomake examples
   -nomake demos
   -nomake docs
   -nomake tutorial
)

with_nas=(-system-nas-sound)

using_opengl() {
   configure_options=("${configure_options[@]}"
   -enable-opengl
   -dlopen-opengl)
}

using_mysql() {
   configure_options=("${configure_options[@]}"
   -plugin-sql-mysql
   -I"${goboHeaders}/mysql"
   -L"${goboLibraries}/mysql")
}

docs=(
   'README'
   'README.qt-copy'
   'LICENSE.GPL2'
   'LICENSE.GPL3'
   'LICENSE.QPL'
)

environment=(
   QTDIR="$goboData/Compile/Sources/qt-x11-free-3.3.8b"
   PATH="$goboData/Compile/Sources/qt-x11-free-3.3.8b/bin:$PATH"
   LD_LIBRARY_PATH="$goboData/Compile/Sources/qt-x11-free-3.3.8b/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}"
)

pre_build() {
   # Don't build everything
   GrepReplace "sub-tools sub-tutorial sub-examples" "sub-tools" Makefile
   # Better to copy then symlink, since the link would be pointing to
   # source dir
   GrepReplace "ln -s -f @QMAKESPEC@" "cp -fR @QMAKESPEC@" qmake/Makefile.unix
   
   # Fix qmake config to use Qt3 specific paths and executables
   GrepReplace "^QMAKE_INCDIR_QT\t.*" "QMAKE_INCDIR_QT\t\t=${goboHeaders}/qt3" mkspecs/linux-{g++,g++-32,g++-64}/qmake.conf
   GrepReplace "^QMAKE_LIBDIR_QT\t.*" "QMAKE_LIBDIR_QT\t\t=${goboLibraries}" mkspecs/linux-{g++,g++-32,g++-64}/qmake.conf
   GrepReplace "^QMAKE_MOC\t.*" "QMAKE_MOC\t\t=${target}/bin/moc-qt3" mkspecs/linux-{g++,g++-32,g++-64}/qmake.conf
   GrepReplace "^QMAKE_UIC\t.*" "QMAKE_UIC\t\t=${target}/bin/uic-qt3" mkspecs/linux-{g++,g++-32,g++-64}/qmake.conf
   find . -name qmake.conf | xargs sudo sed -i -e 's,\(\$(QTDIR)/include\)$,\1/qt3,g' \
-e 's,\(\$(QTDIR)\\include\)$,\1\\qt3,g'
}

pre_install() {
   # It's not possible to configure different install time and run
   # time paths for plugins, so we have to replace the run time paths
   # before we try to install them
   find -name Makefile | xargs sed -i "s,\$(INSTALL_ROOT)${goboLibraries}/qt3/plugins,\$(INSTALL_ROOT)${target}/lib/qt3/plugins,g"
}

pre_link() {
   # Rename files to use qt3 suffix to simplify parallell installation
   # with Qt4
   for b in assistant designer linguist lrelease lupdate moc qm2ts qmake qtconfig \
uic
   do
      mv "${target}/bin/$b" "${target}/bin/${b}-qt3"
      ln -s "${b}-qt3" "${target}/bin/${b}"
   done

   # Install desktop entries and icons
   cd xdg
   for f in $(find . -type f)
   do
      install -o 0 -g 0 -m644 -D $f ${target}/share/$f
   done
   popd &>/dev/null
   
   # Install man files that aren't installed normally
   cd doc
   for m in $(find man -type f)
   do
      install -o 0 -g 0 -m644 -D $f ${target}/share/$f
   done
   popd &>/dev/null
   
   # Fix references to source dir in .prl files
   sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" \
   -e "s,${goboData}/Compile/Sources/qt-x11-free-3.3.8b/lib,${goboLibraries},g"\
   "${target}/lib/"*.prl

   ln -sf $target/mkspecs $target/share/qt3/mkspecs
}
Qt 3.3.8-r1 3931  1359 Jona...
A GUI software toolkit.
Qt 3.3.7-r2 3931  1279 Andr...
A GUI software toolkit.
Qt 3.3.6-r1 3931  1311 Thom...
A GUI software toolkit.
Qt 3.3.5-r1 3931  1382 Nick...
A GUI software toolkit.
Qt 3.3.4-r1 3931  1170 roko
A GUI software toolkit.
Qt 3.3.3-r1 3931  1146 Andr...
A GUI software toolkit.
Qt 3.3.2-r1 3931  1110 Andr...
A GUI software toolkit.
Qt 3.2.3-r1 3931  1032
A GUI software toolkit.