SHA256
1
0
forked from pool/kirigami2

KDE Frameworks 5.53.0

OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kirigami2?expand=0&rev=70
This commit is contained in:
Fabian Vogt 2018-12-11 16:55:00 +00:00 committed by Git OBS Bridge
parent 2f470b3b8c
commit b088a381ef
5 changed files with 33 additions and 37 deletions

View File

@ -1,30 +0,0 @@
From 2b3b1f8423018d764d21905a98ba1473592985bc Mon Sep 17 00:00:00 2001
From: Marco Martin <notmart@gmail.com>
Date: Mon, 26 Nov 2018 14:33:52 +0100
Subject: [PATCH] make sure scroll views are pixel aligned
References: boo#1117346, kde#401174
---
src/controls/templates/private/ScrollView.qml | 2 ++
1 file changed, 2 insertions(+)
Index: kirigami2-5.52.0/src/controls/templates/private/ScrollView.qml
===================================================================
--- kirigami2-5.52.0.orig/src/controls/templates/private/ScrollView.qml
+++ kirigami2-5.52.0/src/controls/templates/private/ScrollView.qml
@@ -113,6 +113,7 @@ MouseArea {
//TODO: find a way to make flicking work on laptops with touch screen
flickableItem.interactive = Settings.tabletMode;
flickableItem.anchors.fill = flickableParent;
+ flickableItem.pixelAligned = true;
scrollBarCreationTimer.restart();
}
@@ -162,6 +163,7 @@ MouseArea {
anchors {
fill: parent
}
+ pixelAligned: true
contentWidth: root.contentItem ? root.contentItem.width : 0
contentHeight: root.contentItem ? root.contentItem.height : 0
}

View File

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

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

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

View File

@ -1,3 +1,31 @@
-------------------------------------------------------------------
Mon Dec 10 22:32:46 UTC 2018 - lbeltrame@kde.org
- Update to 5.53.0
* New bugfix release
* For more details please see:
* https://www.kde.org/announcements/kde-frameworks-5.53.0.php
- Changes since 5.52.0:
* Fix warning
* DelegateRecycler: Fix build with strict iterators
* DelegateRecycler: Don't create a new propertiesTracker for every delegate
* Move the about page from Discover to Kirigami
* update versions
* antialiasing only when position != 0
* make sure scroll views are pixel aligned
* Make it possible to fallback to a different icon
* hide context drawer when there is a global toolbar
* ensure all items are laid out (kde#400671)
* center FormLayout
* change index on pressed, not on clicked (kde#400518)
* more consistency between toolbar and breadcrumb titles
* fix separators behavior
* new text sizes for Headings
* sidebar drawers don't move global headers/footers
* on big devices, just take 95% of the space
- Dropped patches, now upstream:
* 0001-make-sure-scroll-views-are-pixel-aligned.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 27 18:18:01 UTC 2018 - Fabian Vogt <fabian@ritter-vogt.de> Tue Nov 27 18:18:01 UTC 2018 - Fabian Vogt <fabian@ritter-vogt.de>

View File

@ -17,22 +17,20 @@
%define lname libKF5Kirigami2-5 %define lname libKF5Kirigami2-5
%define _tar_path 5.52 %define _tar_path 5.53
# Full KF5 version (e.g. 5.33.0) # Full KF5 version (e.g. 5.33.0)
%{!?_kf5_version: %global _kf5_version %{version}} %{!?_kf5_version: %global _kf5_version %{version}}
# Last major and minor KF5 version (e.g. 5.33) # Last major and minor KF5 version (e.g. 5.33)
%{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')} %{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')}
%bcond_without lang %bcond_without lang
Name: kirigami2 Name: kirigami2
Version: 5.52.0 Version: 5.53.0
Release: 0 Release: 0
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: https://www.kde.org URL: https://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-UPSTREAM
Patch1: 0001-make-sure-scroll-views-are-pixel-aligned.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