Skip to content

Commit

Permalink
[qt5] update qt to 5.15 and make ports depend on qt5-base[core]. (#11596
Browse files Browse the repository at this point in the history
)

* [qt5] update qt to 5.15 and make ports depend on qt5-base[core].

* [qt5] update and remove patches

* [baseline] skip qt5-canvas3d due to deprecation

* [qwt] update to 6.1.4 and fix build issues

* [qt5-webengine] remove old patches

* [qwt] fix static patch

* [qt5-location] add a message that the port has a sprious failure

* [qt5-webengine] fix filename of patch

* [qt5-webengine] add build.patch (ci is probably fast than me in checking for more errors)

* [qt5-winextras] depend on qt5-base[core]

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>

* [qt5-base] update latest feature (latest=core)

* [baseline] remove qt5-webengine for nonstatic windows since CI can handle it now

* [qt5-base] make qt5-base fail to get logs.

* [angle] include missing egl sources.

* [qt5-base] patch egl detection logic.

* [baseline] remove qt-x11extras:x64-linux=fail

* [qt5-base] need to be explicit about xcb to build qt5-x11extras

* [CI] add necessary system libraries to linux CI

* [qt5-base] remove comment to retry on linux

* [qt5-base] add static_init patch for MSVC

* [qt5-base] refined workaround to not regress linux and osx due to

* [paraview] remove unnecessary patches with newer qt versions

* [vcpkg/baseline] add webengine back to skip

* [vtk] fix missing include regression using patch from upstream

* [vtk] fix patch

* [qt5-base] replace with patch from upstream

* [paraview] use hdf5 1.10 api.

* [paraview] bump control

* Add more packages to Linux machines.

* [qt5-base] forgot to add the patch

* Delete 6943.diff

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
  • Loading branch information
3 people authored Jul 8, 2020
1 parent 6d4606f commit 3bffe1c
Show file tree
Hide file tree
Showing 92 changed files with 635 additions and 1,049 deletions.
4 changes: 2 additions & 2 deletions ports/cgal/CONTROL
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Source: cgal
Version: 5.0.2-1
Version: 5.0.2-2
Build-Depends: mpfr, mpir, zlib, boost-format, boost-container, boost-ptr-container, boost-iterator, boost-variant, boost-any, boost-unordered, boost-random, boost-foreach, boost-graph, boost-heap, boost-logic, boost-multiprecision, boost-interval
Homepage: https://github.com/CGAL/cgal
Description: The Computational Geometry Algorithms Library (CGAL) is a C++ library that aims to provide easy access to efficient and reliable algorithms in computational geometry.

Feature: qt
Build-Depends: qt5-base, qt5-3d, qt5-svg, qt5-xmlpatterns, qt5-script, eigen3
Build-Depends: qt5-base[core], qt5-3d, qt5-svg, qt5-xmlpatterns, qt5-script, eigen3
Description: Qt GUI support for CGAL
4 changes: 2 additions & 2 deletions ports/cutelyst2/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: cutelyst2
Version: 2.9.0
Version: 2.9.0-1
Description: A C++ Web Framework built on top of Qt, using the simple approach of Catalyst (Perl) framework
Build-Depends: qt5-base
Build-Depends: qt5-base[core]
4 changes: 2 additions & 2 deletions ports/kd-soap/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: kd-soap
Version: 1.8.0-1
Version: 1.8.0-2
Description: A Qt-based client-side and server-side SOAP component
Homepage: https://www.kdab.com/products/kd-soap
Build-Depends: qt5-base
Build-Depends: qt5-base[core]
4 changes: 2 additions & 2 deletions ports/kf5archive/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: kf5archive
Version: 5.64.0
Version: 5.64.0-1
Description: File compression
Build-Depends: ecm, qt5-base, zlib, bzip2
Build-Depends: ecm, qt5-base[core], zlib, bzip2
4 changes: 2 additions & 2 deletions ports/kf5holidays/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: kf5holidays
Version: 5.64.0
Version: 5.64.0-1
Description: Holiday calculation library
Build-Depends: ecm, qt5-base, qt5-tools
Build-Depends: ecm, qt5-base[core], qt5-tools
4 changes: 2 additions & 2 deletions ports/kf5plotting/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: kf5plotting
Version: 5.64.0
Version: 5.64.0-1
Homepage: https://api.kde.org/frameworks/kplotting/html/index.html
Description: Lightweight plotting framework
Build-Depends: ecm, qt5-base, qt5-tools
Build-Depends: ecm, qt5-base[core], qt5-tools
4 changes: 2 additions & 2 deletions ports/kf5syntaxhighlighting/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: kf5syntaxhighlighting
Version: 5.64.0
Version: 5.64.0-1
Homepage: https://github.com/KDE/syntax-highlighting
Description: Syntax highlighting engine for Kate syntax definitions
Build-Depends: ecm, qt5-base, qt5-tools, qt5-xmlpatterns
Build-Depends: ecm, qt5-base[core], qt5-tools, qt5-xmlpatterns
4 changes: 2 additions & 2 deletions ports/libqglviewer/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: libqglviewer
Version: 2.7.2-2
Version: 2.7.2-3
Description: libQGLViewer is an open source C++ library based on Qt that eases the creation of OpenGL 3D viewers.
Build-Depends: qt5-base
Build-Depends: qt5-base[core]
4 changes: 2 additions & 2 deletions ports/opencv2/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: opencv2
Version: 2.4.13.7-1
Version: 2.4.13.7-2
Build-Depends: zlib
Description: computer vision library, version 2
Default-Features: eigen, jpeg, opengl, png, tiff
Expand Down Expand Up @@ -37,7 +37,7 @@ Build-Depends: libpng
Description: PNG support for opencv

Feature: qt
Build-Depends: qt5-base
Build-Depends: qt5-base[core]
Description: Qt GUI support for opencv

Feature: tiff
Expand Down
4 changes: 2 additions & 2 deletions ports/opencv3/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: opencv3
Version: 3.4.7-3
Version: 3.4.7-4
Build-Depends: protobuf, zlib
Homepage: https://github.com/opencv/opencv
Description: computer vision library
Expand Down Expand Up @@ -63,7 +63,7 @@ Build-Depends: libpng
Description: PNG support for opencv

Feature: qt
Build-Depends: qt5-base
Build-Depends: qt5-base[core]
Description: Qt GUI support for opencv

Feature: sfm
Expand Down
2 changes: 1 addition & 1 deletion ports/opencv4/CONTROL
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Build-Depends: libpng
Description: PNG support for opencv

Feature: qt
Build-Depends: qt5-base
Build-Depends: qt5-base[core]
Description: Qt GUI support for opencv

Feature: sfm
Expand Down
4 changes: 2 additions & 2 deletions ports/osg-qt/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: osg-qt
Version: Qt4-1
Version: Qt4-2
Description: osgQt - Qt project for making use of OpenSceneGraph(OSG)
Build-Depends: osg, protobuf, qt5-base
Build-Depends: osg, protobuf, qt5-base[core]
30 changes: 14 additions & 16 deletions ports/paraview/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if ("tools" IN_LIST FEATURES AND VCPKG_TARGET_IS_OSX)
endif()

vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
"cuda" PARAVIEW_USE_CUDA #untested; probably only affects internal VTK build so it does nothing here
"cuda" PARAVIEW_USE_CUDA #untested; probably only affects internal VTK build so it does nothing here
"all_modules" PARAVIEW_BUILD_ALL_MODULES #untested
"mpi" PARAVIEW_USE_MPI #untested
"vtkm" PARAVIEW_USE_VTKM
Expand All @@ -23,8 +23,6 @@ vcpkg_from_github(
paraview_build.patch
remove_duplicates.patch # Missed something in the above patch
cgns.patch
qt_plugin.patch # Remove with Qt version > 5.14
qt_static_plugins.patch # Remove with Qt version > 5.14
python_include.patch
python_wrapper.patch
add-tools-option.patch
Expand All @@ -34,8 +32,8 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
list(APPEND VisItPatches removedoublesymbols.patch)
endif()

#The following two dependencies should probably be their own port
#but require additional patching in paraview to make it work.
#The following two dependencies should probably be their own port
#but require additional patching in paraview to make it work.

#Get VisItBridge Plugin
vcpkg_from_gitlab(
Expand All @@ -44,8 +42,8 @@ vcpkg_from_gitlab(
REPO paraview/visitbridge
REF c2605b5c3115bc4869c76a0d8bfdd8939b59f283
SHA512 6d2c1d6e1cd345547926938451755e7a8be5dabd89e18a2ceb419db16c5b29f354554a5130eb365b7e522d655370fd4766953813ff530c06e4851fe26104ce58
PATCHES
VisIt_Build.patch
PATCHES
VisIt_Build.patch
#removeunusedsymbols.patch # These also get remove in master of ParaView
${VisItPatches}
)
Expand All @@ -67,7 +65,7 @@ if("python" IN_LIST FEATURES)
-DPython3_FIND_REGISTRY=NEVER
"-DPython3_EXECUTABLE:PATH=${PYTHON3}" # Required by more than one feature
)

#VTK_PYTHON_SITE_PACKAGES_SUFFIX should be set to the install dir of the site-packages
endif()

Expand All @@ -84,15 +82,15 @@ vcpkg_configure_cmake(
-DVTK_MODULE_ENABLE_ParaView_qttesting=YES
-DPARAVIEW_ENABLE_EMBEDDED_DOCUMENTATION:BOOL=OFF
-DPARAVIEW_USE_QTHELP:BOOL=OFF

#A little bit of help in finding the boost headers
"-DBoost_INCLUDE_DIR:PATH=${CURRENT_INSTALLED_DIR}/include"

# Workarounds for CMake issues
-DHAVE_SYS_TYPES_H=0 ## For some strange reason the test first succeeds and then fails the second time around
-DWORDS_BIGENDIAN=0 ## Tests fails in VisItCommon.cmake for some unknown reason this is just a workaround since most systems are little endian.
-DWORDS_BIGENDIAN=0 ## Tests fails in VisItCommon.cmake for some unknown reason this is just a workaround since most systems are little endian.
${ADDITIONAL_OPTIONS}

#-DPARAVIEW_ENABLE_FFMPEG:BOOL=OFF
)
if(CMAKE_HOST_UNIX)
Expand Down Expand Up @@ -122,7 +120,7 @@ set(TOOLS paraview
smTestDriver
vtkProcessXML
vtkWrapClientServer)

foreach(tool ${TOOLS})
# Remove debug tools
set(filename ${CURRENT_PACKAGES_DIR}/debug/bin/${tool}${VCPKG_TARGET_EXECUTABLE_SUFFIX})
Expand All @@ -137,7 +135,7 @@ foreach(tool ${TOOLS})
if(EXISTS ${filename})
file(REMOVE ${filename})
endif()

# Move release tools
set(filename ${CURRENT_PACKAGES_DIR}/bin/${tool}${VCPKG_TARGET_EXECUTABLE_SUFFIX})
if(EXISTS ${filename})
Expand Down Expand Up @@ -165,7 +163,7 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(RENAME "${CURRENT_PACKAGES_DIR}/debug/bin/${name}" "${CURRENT_PACKAGES_DIR}/debug/lib/${name}")
endif()
endmacro()

set(to_move Lib paraview-${VERSION} paraview-config)
foreach(name ${to_move})
move_bin_to_lib(${name})
Expand All @@ -179,4 +177,4 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
endforeach()

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
endif()
endif()
50 changes: 0 additions & 50 deletions ports/paraview/qt_plugin.patch

This file was deleted.

77 changes: 0 additions & 77 deletions ports/paraview/qt_static_plugins.patch

This file was deleted.

4 changes: 2 additions & 2 deletions ports/qca/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: qca
Version: 2.2.1
Version: 2.2.1-1
Description: Qt Cryptographic Architecture (QCA).
Homepage: https://cgit.kde.org/qca.git/
Build-Depends: qt5-base
Build-Depends: qt5-base[core]
4 changes: 2 additions & 2 deletions ports/qcustomplot/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: qcustomplot
Version: 2.0.1-3
Version: 2.0.1-4
Description: QCustomPlot is a Qt C++ widget for plotting and data visualization.
Build-Depends: qt5-base
Build-Depends: qt5-base[core]
4 changes: 2 additions & 2 deletions ports/qscintilla/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: qscintilla
Version: 2.11.4-1
Version: 2.11.4-2
Homepage: https://www.riverbankcomputing.com/software/qscintilla
Description: QScintilla is a port to Qt of the Scintilla editing component. Features syntax highlighting, code-completion and much more (Barebone build without python bindings (missing dependeny PyQt) and without QtDesigner plugin)
Build-Depends: qt5-base, qt5-macextras (osx), qt5-winextras (windows)
Build-Depends: qt5-base[core], qt5-macextras (osx), qt5-winextras (windows)
4 changes: 2 additions & 2 deletions ports/qt-advanced-docking-system/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: qt-advanced-docking-system
Version: 3.2.5-1
Build-Depends: qt5-base, zlib, bzip2
Version: 3.2.5-2
Build-Depends: qt5-base[core], zlib, bzip2
Description: Create customizable layouts using an advanced window docking system similar to what is found in many popular IDEs such as Visual Studio
Homepage: https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System
4 changes: 2 additions & 2 deletions ports/qt5-3d/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: qt5-3d
Version: 5.12.8
Version: 5.15.0
Description: Qt5 3d Module - Functionality for near-realtime simulation systems with support for 2D and 3D rendering
Build-Depends: qt5-base, qt5-declarative, qt5-imageformats, qt5-gamepad
Build-Depends: qt5-base[core], qt5-declarative, qt5-imageformats, qt5-gamepad
4 changes: 2 additions & 2 deletions ports/qt5-activeqt/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: qt5-activeqt
Version: 5.12.8-1
Version: 5.15.0
Description: Qt5 ActiveQt Module - ActiveX components
Build-Depends: qt5-base, qt5-declarative
Build-Depends: qt5-base[core], qt5-declarative
Supports: windows
Loading

0 comments on commit 3bffe1c

Please sign in to comment.