Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update static builds for Qt 5.15.6 #1282

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 34 additions & 31 deletions packaging/build_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ FFTW_VERSION=fftw-3.3.2
LIBSAMPLERATE_VERSION=libsamplerate-0.1.8
LIBYAML_VERSION=yaml-0.1.5
CHROMAPRINT_VERSION=1.4.3
QT_SOURCE_URL=https://download.qt.io/archive/qt/4.8/4.8.4/qt-everywhere-opensource-src-4.8.4.tar.gz
GAIA_VERSION=2.4.6-86-ged433ed
QT_VERSION=5.15.6
GAIA_VERSION=2.4.6-108-ge2faf99
TENSORFLOW_VERSION=2.5.0


Expand Down Expand Up @@ -224,53 +224,56 @@ LIBSAMPLERATE_FLAGS="

QT_FLAGS="
-no-accessibility
-no-webkit
-no-glib
-no-xkb
-no-xinput
-no-fontconfig
-no-mitshm
-no-xrender
-no-xrandr
-no-xfixes
-no-xcursor
-no-xinerama
-no-xsync
-no-xvideo
-no-xshape
-no-sm
-no-openvg
-no-opengl
-no-nas-sound
-no-gtkstyle
-no-dbus
-no-pch
-no-iconv
-no-cups
-no-nis
-no-gui
-no-openssl
-no-libjpeg
-no-libmng
-no-libpng
-no-libtiff
-no-gif
-no-scripttools
-no-script
-no-javascript-jit
-no-svg
-no-phonon-backend
-no-phonon
-no-audio-backend
-no-multimedia
-no-xmlpatterns
-no-qt3support

-qt-zlib
-nomake demos
-nomake examples
-nomake tools
-nomake translations
"
# Non-existent flags removed after migration from Qt 4 to Qt 5.15.6
#-no-webkit
#-no-xkb
#-no-xinput
#-no-mitshm
#-no-xrender
#-no-xrandr
#-no-xfixes
#-no-xcursor
#-no-xinerama
#-no-xsync
#-no-xvideo
#-no-xshape
#-no-nas-sound
#-no-gtkstyle
#-no-nis
#-no-libmng
#-no-libtiff
#-no-scripttools
#-no-script
#-no-javascript-jit
#-no-svg
#-no-phonon-backend
#-no-phonon
#-no-audio-backend
#-no-multimedia
#-no-xmlpatterns
#-no-qt3support
#-nomake demos
#-nomake translations


TENSORFLOW_FLAGS="
--config=opt
Expand Down
6 changes: 4 additions & 2 deletions packaging/debian_3rdparty/build_qt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ cd tmp

echo "Building qt from $QT_SOURCE_URL"

QT_SHORT_VERSION=${QT_VERSION%.*}
QT_SOURCE_URL=https://download.qt.io/archive/qt/$QT_SHORT_VERSION/$QT_VERSION/single/qt-everywhere-opensource-src-$QT_VERSION.tar.xz
QT_FILE=${QT_SOURCE_URL##*/}
QT_FILE_DIR=qt-everywhere-src-$QT_VERSION

curl -SLO $QT_SOURCE_URL

tar -xf $QT_FILE
cd $(basename $QT_FILE .tar.gz)
cd $QT_FILE_DIR

./configure -prefix $PREFIX -static -opensource -confirm-license $QT_FLAGS

Expand Down