From ca4b012c307d91452ea4f73b0c681381da4500d1 Mon Sep 17 00:00:00 2001 From: Vitaly Zaitsev Date: Fri, 23 Apr 2021 15:17:34 +0200 Subject: [PATCH] Updated to version 0.8.2. --- .gitignore | 1 + nheko-scaling-fixes.patch | 24 ------------------------ nheko.spec | 18 +++++++++--------- sources | 2 +- 4 files changed, 11 insertions(+), 34 deletions(-) delete mode 100644 nheko-scaling-fixes.patch diff --git a/.gitignore b/.gitignore index 68b1520..88ac4e2 100644 --- a/.gitignore +++ b/.gitignore @@ -37,3 +37,4 @@ /nheko-0.7.2.tar.gz /nheko-0.8.0.tar.gz /nheko-0.8.1.tar.gz +/nheko-0.8.2.tar.gz diff --git a/nheko-scaling-fixes.patch b/nheko-scaling-fixes.patch deleted file mode 100644 index 85c2be3..0000000 --- a/nheko-scaling-fixes.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 375e20462ba3641db3b71c12a66533c63ac2d597 Mon Sep 17 00:00:00 2001 -From: Nicolas Werner -Date: Sun, 7 Feb 2021 02:01:25 +0100 -Subject: [PATCH] Native rendering breaks kerning - ---- - src/timeline/TimelineViewManager.cpp | 4 ---- - 1 file changed, 4 deletions(-) - -diff --git a/src/timeline/TimelineViewManager.cpp b/src/timeline/TimelineViewManager.cpp -index 93451976..dab735db 100644 ---- a/src/timeline/TimelineViewManager.cpp -+++ b/src/timeline/TimelineViewManager.cpp -@@ -170,10 +170,6 @@ TimelineViewManager::TimelineViewManager(CallManager *callManager, ChatPage *par - view->setResizeMode(QQuickWidget::SizeRootObjectToView); - container->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); - --#if (QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)) -- view->quickWindow()->setTextRenderType(QQuickWindow::NativeTextRendering); --#endif -- - connect(view, &QQuickWidget::statusChanged, this, [](QQuickWidget::Status status) { - nhlog::ui()->debug("Status changed to {}", status); - }); diff --git a/nheko.spec b/nheko.spec index 0c85cf9..c9c3693 100644 --- a/nheko.spec +++ b/nheko.spec @@ -10,8 +10,8 @@ %endif Name: nheko -Version: 0.8.1 -Release: 2%{?dist} +Version: 0.8.2 +Release: 1%{?dist} # Main source - GPLv3+ # cpp-httplib - bundled - MIT @@ -22,10 +22,7 @@ Summary: Desktop client for the Matrix protocol URL: https://github.com/Nheko-Reborn/%{name} Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz -# https://github.com/Nheko-Reborn/nheko/commit/375e20462ba3641db3b71c12a66533c63ac2d597 -Patch100: %{name}-scaling-fixes.patch - -BuildRequires: cmake(MatrixClient) >= 0.4.0 +BuildRequires: cmake(MatrixClient) >= 0.5.1 BuildRequires: cmake(Olm) >= 3.1.0 BuildRequires: cmake(Qt5Concurrent) BuildRequires: cmake(Qt5Core) @@ -40,7 +37,6 @@ BuildRequires: cmake(Qt5QuickControls2) BuildRequires: cmake(Qt5QuickWidgets) BuildRequires: cmake(Qt5Svg) BuildRequires: cmake(Qt5Widgets) -BuildRequires: cmake(Tweeny) BuildRequires: cmake(mpark_variant) BuildRequires: cmake(nlohmann_json) >= 3.2.0 BuildRequires: cmake(spdlog) >= 1.0.0 @@ -56,6 +52,8 @@ BuildRequires: pkgconfig(libcmark) >= 0.29.0 BuildRequires: pkgconfig(libcrypto) BuildRequires: pkgconfig(lmdb) BuildRequires: pkgconfig(openssl) +BuildRequires: pkgconfig(xcb) +BuildRequires: pkgconfig(xcb-ewmh) BuildRequires: pkgconfig(zlib) BuildRequires: boost-devel >= 1.70 @@ -64,7 +62,7 @@ BuildRequires: desktop-file-utils BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: libappstream-glib -BuildRequires: lmdbxx-devel +BuildRequires: lmdbxx-devel >= 1.0.0 BuildRequires: ninja-build %if %{with clang} @@ -108,7 +106,6 @@ for Matrix that feels more like a mainstream chat app. -DUSE_BUNDLED_MTXCLIENT:BOOL=OFF \ -DUSE_BUNDLED_LMDB:BOOL=OFF \ -DUSE_BUNDLED_LMDBXX:BOOL=OFF \ - -DUSE_BUNDLED_TWEENY:BOOL=OFF \ -DUSE_BUNDLED_JSON:BOOL=OFF \ -DUSE_BUNDLED_OPENSSL:BOOL=OFF \ -DUSE_BUNDLED_QTKEYCHAIN:BOOL=OFF @@ -130,6 +127,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.* %changelog +* Fri Apr 23 2021 Vitaly Zaitsev - 0.8.2-1 +- Updated to version 0.8.2. + * Mon Feb 08 2021 Vitaly Zaitsev - 0.8.1-2 - Backported fonts scaling fixes. diff --git a/sources b/sources index 94a5c3e..b7588dd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (nheko-0.8.1.tar.gz) = 180c876121338ea6d45e85d11a3cfd1f988a084a650becacfa5a9cbb4a556a0f47625194e3d9870bb6692b15d16c5ac75999e241f08a2828ec471b3d64c1eb62 +SHA512 (nheko-0.8.2.tar.gz) = 907b5fd770c2e451ee4d5a4483810cf87529f643d584784b2f3c471b54229243842313206bbd38c8b6ca9a91bf505b683d6741bdce8ea24407ae4178da579465