SHA256
1
0
forked from pool/kirigami2

Accepting request 616768 from KDE:Frameworks5

KDE Frameworks 5.47.0

OBS-URL: https://build.opensuse.org/request/show/616768
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kirigami2?expand=0&rev=14
This commit is contained in:
Yuchen Lin 2018-06-22 11:20:54 +00:00 committed by Git OBS Bridge
commit c981dc1a2d
5 changed files with 84 additions and 11 deletions

View File

@ -0,0 +1,26 @@
From 4f92428600aa0bcee9a300884941803383f1da41 Mon Sep 17 00:00:00 2001
From: Wolfgang Bauer <wbauer@tmo.at>
Date: Wed, 13 Jun 2018 12:11:25 +0200
Subject: [PATCH] Fix build with gcc 4.8
See https://bugreports.qt.io/browse/QTBUG-48988
---
src/delegaterecycler.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/delegaterecycler.cpp b/src/delegaterecycler.cpp
index f648fc7..b51b5dd 100644
--- a/src/delegaterecycler.cpp
+++ b/src/delegaterecycler.cpp
@@ -213,7 +213,7 @@ void DelegateRecycler::setSourceComponent(QQmlComponent *component)
if (!m_item) {
obj->deleteLater();
} else {
- connect(m_item, &QObject::destroyed, ctx, &QObject::deleteLater);
+ connect(m_item.data(), &QObject::destroyed, ctx, &QObject::deleteLater);
}
} else {
QQmlContext *ctx = QQmlEngine::contextForObject(m_item)->parentContext();
--
2.13.7

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0d55f4d5bbe4f3b13c472321119f7fafe59281fd280f14e5a312b869d824dcb4
size 316028

3
kirigami2-5.47.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ed2dd9e3a56f4728aca40c74ab02d48f9dda8d140b20328c5b29825f5683aad5
size 317692

View File

@ -1,3 +1,43 @@
-------------------------------------------------------------------
Wed Jun 13 17:03:25 UTC 2018 - wbauer@tmo.at
- Add fix-build-with-gcc48.patch to make it compile with gcc 4.8 on
Leap 42.3
-------------------------------------------------------------------
Tue Jun 12 21:26:05 UTC 2018 - lbeltrame@kde.org
- Update to 5.47.0
* New feature release
* For more details please see:
* https://www.kde.org/announcements/kde-frameworks-5.47.0.php
- Changes since 5.46.0:
* Show action.main more prominently on the ToolBarApplicationHeader
* Allow Kirigami build without KWin tablet mode dependency
* correct swipefilter on RTL
* correct resizing of contentItem
* fix --reverse behavior
* share contextobject to always access i18n
* make sure tooltip is hidden
* make sure to not assign invalid variants to the tracked proeprties
* fix a couple of warnings
* handle not a MouseArea, dropped() signal
* no hover effects on mobile
* proper icons overflow-menu-left and right
* remove useless debug
* not hoverenabled
* Drag handle to reorder items in a ListView
* Add Settings class to API documentation
* Use Mnemonics on the toolbar buttons
* Use override
* Added missing files in QMake's .pri
* [API dox] Fix Kirigami.InlineMessageType -> Kirigami.MessageType
* fix applicationheaders in applicationitem
* fix build on macos/ios
* Fix warnings
* Remove wrong warning
* Don't allow showing/hiding the drawer when there's no handle (kde#393776)
------------------------------------------------------------------- -------------------------------------------------------------------
Sun May 13 21:03:03 UTC 2018 - lbeltrame@kde.org Sun May 13 21:03:03 UTC 2018 - lbeltrame@kde.org

View File

@ -17,16 +17,22 @@
%define lname libKF5Kirigami2-5 %define lname libKF5Kirigami2-5
%define _tar_path 5.47
%bcond_without lang %bcond_without lang
%define _tar_path 5.46
Name: kirigami2 Name: kirigami2
Version: 5.46.0 Version: 5.47.0
Release: 0 Release: 0
# Full KF5 version (e.g. 5.33.0)
%{!?_kf5_version: %global _kf5_version %{version}}
# Last major and minor KF5 version (e.g. 5.33)
%{!?_kf5_bugfix_version: %global _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')}
Summary: Set of QtQuick components Summary: Set of QtQuick components
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
Group: Development/Libraries/KDE Group: Development/Libraries/KDE
Url: http://www.kde.org/ Url: http://www.kde.org/
Source: https://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz Source: https://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz
# PATCH-FIX-OPENSUSE
Patch: fix-build-with-gcc48.patch
BuildRequires: extra-cmake-modules >= %{_tar_path} BuildRequires: extra-cmake-modules >= %{_tar_path}
BuildRequires: kf5-filesystem BuildRequires: kf5-filesystem
BuildRequires: cmake(Qt5Core) >= 5.7.0 BuildRequires: cmake(Qt5Core) >= 5.7.0
@ -36,13 +42,12 @@ BuildRequires: cmake(Qt5Quick) >= 5.7.0
BuildRequires: cmake(Qt5QuickControls2) >= 5.7.0 BuildRequires: cmake(Qt5QuickControls2) >= 5.7.0
BuildRequires: cmake(Qt5Svg) >= 5.7.0 BuildRequires: cmake(Qt5Svg) >= 5.7.0
BuildRequires: cmake(Qt5Test) >= 5.7.0 BuildRequires: cmake(Qt5Test) >= 5.7.0
Requires: libqt5-qtgraphicaleffects
Requires: libqt5-qtquickcontrols2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %{with lang} %if %{with lang}
BuildRequires: cmake(Qt5LinguistTools) >= 5.7.0 BuildRequires: cmake(Qt5LinguistTools) >= 5.7.0
Recommends: %{name}-lang = %{version}
%endif %endif
Requires: libqt5-qtgraphicaleffects
Requires: libqt5-qtquickcontrols2
Recommends: %{name}-lang = %{version}
%description %description
QtQuick plugins to build user interfaces based on the KDE UX guidelines. QtQuick plugins to build user interfaces based on the KDE UX guidelines.
@ -69,6 +74,9 @@ Development files.
%prep %prep
%setup -q %setup -q
%if 0%{?suse_version} < 1500
%patch -p1
%endif
%build %build
%cmake_kf5 -d build %cmake_kf5 -d build
@ -89,11 +97,10 @@ Development files.
%postun -n %{lname} -p /sbin/ldconfig %postun -n %{lname} -p /sbin/ldconfig
%files %files
%doc LICENSE*
%{_kf5_qmldir}/ %{_kf5_qmldir}/
%files -n %{lname} %files -n %{lname}
%doc LICENSE* %license LICENSE*
%{_kf5_libdir}/libKF5Kirigami2.so.* %{_kf5_libdir}/libKF5Kirigami2.so.*
%files devel %files devel