17 |
%define qtminor 6 |
%define qtminor 6 |
18 |
%define qtsubminor 2 |
%define qtsubminor 2 |
19 |
|
|
20 |
%define rel 2 |
%define rel 3 |
21 |
%define pre rc |
%define pre rc |
22 |
%define qtversion %{qtmajor}.%{qtminor}.%{qtsubminor} |
%define qtversion %{qtmajor}.%{qtminor}.%{qtsubminor} |
23 |
|
|
50 |
License: LGPLv2 with exceptions or GPLv3 with exceptions and GFDL |
License: LGPLv2 with exceptions or GPLv3 with exceptions and GFDL |
51 |
URL: http://www.qt.io |
URL: http://www.qt.io |
52 |
Source0: http://download.qt.io/official_releases/qt/%{qtmajor}.%{qtminor}/%{version}/submodules/%{qttarballdir}.tar.gz |
Source0: http://download.qt.io/official_releases/qt/%{qtmajor}.%{qtminor}/%{version}/submodules/%{qttarballdir}.tar.gz |
53 |
|
Patch0001: 0001-Document-that-attached-properties-are-created-in-C.patch |
54 |
|
Patch0002: 0002-Fix-grammar-in-Keyboard-Focus-in-Qt-Quick-documentat.patch |
55 |
|
Patch0003: 0003-Destroy-an-incubating-delegate-if-it-is-removed-befo.patch |
56 |
|
Patch0004: 0004-QQuickTextInput-avoid-emitting-editingFinished-twice.patch |
57 |
|
Patch0005: 0005-Propagate-window-enter-event-as-hover-enter-event-in.patch |
58 |
|
Patch0006: 0006-Give-SquareButton-types-a-side-property-to-mediate-b.patch |
59 |
|
Patch0007: 0007-Enhance-quickwidget-example-with-all-grabbing-cases.patch |
60 |
|
Patch0008: 0008-Add-a-facility-to-version-type-information-for-debug.patch |
61 |
|
Patch0009: 0009-Fix-MouseArea-sticky-grab-with-drag.filterChildren-e.patch |
62 |
|
Patch0010: 0010-Quick-Do-not-send-SG-updates-when-AnimatedSprite-is-.patch |
63 |
|
Patch0011: 0011-QSGRenderContext-Add-null-checks-for-strings.patch |
64 |
|
Patch0012: 0012-V4-Free-up-2-address-bits-in-64bit-mode.patch |
65 |
|
Patch0013: 0013-Flickable-don-t-activate-velocityTimeline-if-scroll-.patch |
66 |
|
Patch0014: 0014-Fix-crash-on-Array.prototype.join.call-0.patch |
67 |
|
Patch0015: 0015-Flickable-do-not-emit-movementEnded-until-it-really-.patch |
68 |
|
Patch0016: 0016-QQuickText-fix-paddings-when-wrapping-or-eliding-is-.patch |
69 |
|
Patch0017: 0017-Fix-incorrectly-aligned-text-whose-size-depends-on-i.patch |
70 |
|
Patch0018: 0018-Fix-crash-with-window-less-QQuickItems.patch |
71 |
|
Patch0019: 0019-qv4jsonobject-Make-use-of-QVariant-toString-in-strin.patch |
72 |
|
Patch0020: 0020-BC-test-data-files-for-Qt-5.6-for-QtDeclarative.patch |
73 |
|
Patch0021: 0021-Fix-vtable-for-QQuickPaintedItem.patch |
74 |
|
Patch0022: 0022-Fix-crash-on-cancel-QQuickImageResponse.patch |
75 |
|
Patch0023: 0023-Flickable-add-a-trackpad-touchpad-autotest.patch |
76 |
|
Patch0024: 0024-QQuickRectangle-fix-typo-in-apidoc.patch |
77 |
|
Patch0025: 0025-QQuickPositioners-fix-sentence-structure-in-apidoc.patch |
78 |
|
Patch0026: 0026-QML-Clear-weak-references-on-Object-destruction-for-.patch |
79 |
|
Patch0027: 0027-Canvas-Implement-high-DPI-render-mode.patch |
80 |
|
Patch0028: 0028-Use-QElapsedTimer-instead-of-QTime-to-measure-elapse.patch |
81 |
|
Patch0029: 0029-Fix-some-minor-issues-in-documentation.patch |
82 |
|
Patch0030: 0030-focus.qdoc-fix-grammar-in-documentation.patch |
83 |
|
Patch0031: 0031-QDoc-fix-several-typos-an-minor-wording-issues-in-do.patch |
84 |
|
Patch0032: 0032-Fix-linking-against-static-build-in-Visual-Studio-20.patch |
85 |
|
Patch0033: 0033-QQListView-use-dot-for-property-syntax.patch |
86 |
|
Patch0034: 0034-Fix-FastFBOResizing-hint-for-QQuickPaintedItem.patch |
87 |
|
Patch0035: 0035-Fix-developer-build-with-gcc-6.patch |
88 |
|
Patch0036: 0036-Fix-corruption-when-adding-or-changing-properties-of.patch |
89 |
|
Patch0037: 0037-Fix-V4-on-big-endian.patch |
90 |
|
Patch0038: 0038-testlib-Add-timestamp-to-mouse-click-events.patch |
91 |
|
Patch0039: 0039-V4-Fix-usage-of-QV4-Value-tags-types.patch |
92 |
|
Patch0040: 0040-Example-Use-TextInput-s-displayText-property-instead.patch |
93 |
|
Patch0041: 0041-Check-qgl_current_fbo_invalid-before-using-qgl_curre.patch |
94 |
|
Patch0042: 0042-Remove-superfluous-warning-statement-in-QAccessibleQ.patch |
95 |
|
Patch0043: 0043-Fix-docs-about-ownership-when-QObject-has-a-parent.patch |
96 |
|
Patch0044: 0044-QQuickWindow-don-t-discard-timestamps-for-wheel-even.patch |
97 |
|
Patch0045: 0045-Fix-TextInput-selectByMouse-documentation.patch |
98 |
|
Patch0046: 0046-tst_qquicktext-remove-bogus-blacklisting.patch |
99 |
|
Patch0047: 0047-tst_qquicktextedit-remove-mouseDoubleClickInterval-w.patch |
100 |
|
Patch0048: 0048-Make-tst_qquicktextedit-mouseSelection-pass.patch |
101 |
|
Patch0049: 0049-Fix-QML-Compiler-crash.patch |
102 |
|
Patch0050: 0050-Add-a-test-for-bitmap-font-rendering-in-Qt-Quick.patch |
103 |
|
Patch0051: 0051-Fix-documentation-for-dragFinished-signal.patch |
104 |
|
Patch0052: 0052-Fix-crash-when-trying-to-allocate-in-a-filled-atlas-.patch |
105 |
|
Patch0053: 0053-Example-Enable-auto-scaling-on-HighDPI-screens.patch |
106 |
|
Patch0054: 0054-Doc-replace-textEdit-with-TextEdit-in-lineCount-docu.patch |
107 |
|
Patch0055: 0055-QV4String-properly-detect-overflow-when-trying-to-co.patch |
108 |
|
Patch0056: 0056-remove-dependencies-from-sync.profile.patch |
109 |
|
Patch0057: 0057-Fix-crash-when-using-custom-OpenGL-functions.patch |
110 |
|
Patch0058: 0058-Add-checking-before-as-child-node.patch |
111 |
|
Patch0059: 0059-Fix-more-cases-where-DSE-would-optimize-out-too-many.patch |
112 |
|
Patch0060: 0060-Fix-QtQuickTest-mouseMove-not-having-timestamps.patch |
113 |
|
Patch0061: 0061-Setting-Connection-s-target-to-null-should-disconnec.patch |
114 |
|
Patch0062: 0062-QML-Check-for-failing-realloc-malloc-in-the-QmlJS-me.patch |
115 |
|
Patch0063: 0063-Doc-improve-FolderListModel-rootFolder-documentation.patch |
116 |
|
Patch0064: 0064-Fix-reading-of-enum-properties-from-gadgets.patch |
117 |
|
Patch0065: 0065-QML-Change-C-benchmark-to-reflect-QML-benchmark.patch |
118 |
|
Patch0066: 0066-QML-Fix-memory-leak-in-a-benchmark.patch |
119 |
|
Patch0067: 0067-Doc-fix-incorrect-argument-name-for-createQmlObject.patch |
120 |
|
Patch0068: 0068-Fix-binding-re-evaluation-when-list-model-properties.patch |
121 |
|
Patch0069: 0069-Text-Make-use-of-the-new-cached-isSmoothlyScaled-att.patch |
122 |
|
Patch0070: 0070-Improved-robustness-of-the-optimizer-when-removing-e.patch |
123 |
|
Patch0071: 0071-V4-Fix-JIT-codegen-for-null-undefined-conditional-ju.patch |
124 |
|
Patch0072: 0072-QmlProfiler-Explicitly-specify-the-offsets-for-scene.patch |
125 |
|
Patch0073: 0073-Doc-fix-incorrect-syntax-in-Code-Behind-Implementati.patch |
126 |
|
Patch0074: 0074-Bump-version.patch |
127 |
|
Patch0075: 0075-Fix-crash-when-C-QJSValue-parameterized-signal-inter.patch |
128 |
|
Patch0076: 0076-Accept-PUA-characters-ZWNJ-and-ZWJ-as-input-in-TextI.patch |
129 |
|
Patch0077: 0077-Fix-support-for-QJSValue-as-C-signal-parameter-type-.patch |
130 |
|
Patch0078: 0078-Enable-PropertyChanges-to-correctly-restore-binding-.patch |
131 |
|
Patch0079: 0079-Fix-memory-leak-in-V4.patch |
132 |
|
Patch0080: 0080-QtQuick-scene-graph-fix-text-native-rendering.patch |
133 |
|
Patch0081: 0081-Fix-build-with-GCC-7.patch |
134 |
|
|
135 |
BuildRequires: pkgconfig(Qt5Xml) |
BuildRequires: pkgconfig(Qt5Xml) |
136 |
BuildRequires: pkgconfig(Qt5XmlPatterns) |
BuildRequires: pkgconfig(Qt5XmlPatterns) |
137 |
BuildRequires: qtcore5-devel = %{version} |
BuildRequires: qtcore5-devel = %{version} |
147 |
#Branch Patchs |
#Branch Patchs |
148 |
# support no_sse2 CONFIG (i586 builds cannot assume -march=pentium4 -msse2 -mfpmath=sse flags, or the JIT that needs them) |
# support no_sse2 CONFIG (i586 builds cannot assume -march=pentium4 -msse2 -mfpmath=sse flags, or the JIT that needs them) |
149 |
# https://codereview.qt-project.org/#change,73710 |
# https://codereview.qt-project.org/#change,73710 |
150 |
Patch1: qtdeclarative-opensource-src-5.6.2-no_sse2.patch |
Patch1000: qtdeclarative-opensource-src-5.6.2-no_sse2.patch |
151 |
|
|
152 |
#Trunk Patchs |
#Trunk Patchs |
153 |
|
|
420 |
#------------------------------------------------------------------------------ |
#------------------------------------------------------------------------------ |
421 |
|
|
422 |
%prep |
%prep |
423 |
%setup -q -n qtdeclarative-opensource-src-%{qtversion} |
%autosetup -S git -n qtdeclarative-opensource-src-%{qtversion} |
424 |
|
|
425 |
%if 0%{?nosse2_hack} |
%if 0%{?nosse2_hack} |
426 |
%patch1 -p1 -b .no_sse2 |
%patch1 -p1 -b .no_sse2 |