From ad5dbded34dca6e8a3e3a8abef4358c2c8eab44d4c3d541195f3782f2b8c1860 Mon Sep 17 00:00:00 2001 From: Dmitriy Perlow Date: Sun, 18 Feb 2018 18:35:14 +0000 Subject: [PATCH] Accepting request 577855 from home:avindra - Update to 0.6.0 * New Features: + New in-page search toolbar. + Added default font preferences. + New welcome page had direct links for docset manager and application preferences. + Added option for choosing external link behavior. * Improvements: + Added option for enabling smooth scrolling. + Added Ctrl+, shortcut to open Preferences. * Fixed Issues: + Context menu now correctly states Open in new tab instead of window. + Fixed broken Open in new tab. + Fixed problem with ExtJS docset. + Added check for read-only docset storage. - Includes 0.5.0 * New Features: + Implemented update functionality for docsets installed via XML feeds. * Improvements: + Added show/hide options to the tray icon's menu. + Tabs are movable. + Double click on the tab bar creates a new tab. + Web view now has a predefined list of zooming level. + Linux: Use dedicated tray icon if theme provides one. + Portable version now indicates so in title of the main window. * Fixed Issues: + Fixed search result sorting with fuzzy search disabled. + Fixed invisible file operations preventing the Docsets dialog from closing. + Fixed crashing on some corrupted docset directories. + Fixed the app exiting on its own when a new version is available. + Windows: Fixed app not gaining focus when invoked from IDE plugins. * Known Issues: Open in new tab doesn't work. - use https version of site - switch to cmake, as qmake support was removed - drop zeal-remove-qt-version.patch (no longer relevant) - cleanup with spec-cleaner OBS-URL: https://build.opensuse.org/request/show/577855 OBS-URL: https://build.opensuse.org/package/show/devel:tools/zeal?expand=0&rev=22 --- zeal-0.4.0.tar.gz | 3 --- zeal-0.6.0.tar.gz | 3 +++ zeal-remove-qt-version.patch | 15 ------------ zeal.changes | 47 ++++++++++++++++++++++++++++++++++++ zeal.spec | 20 +++++++-------- 5 files changed, 59 insertions(+), 29 deletions(-) delete mode 100644 zeal-0.4.0.tar.gz create mode 100644 zeal-0.6.0.tar.gz delete mode 100644 zeal-remove-qt-version.patch diff --git a/zeal-0.4.0.tar.gz b/zeal-0.4.0.tar.gz deleted file mode 100644 index c211703..0000000 --- a/zeal-0.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1f6b50026036923ae0cfbf3f4eb1066ee2fdaf0425d4c321203e0dd9506823fd -size 1049326 diff --git a/zeal-0.6.0.tar.gz b/zeal-0.6.0.tar.gz new file mode 100644 index 0000000..c46f636 --- /dev/null +++ b/zeal-0.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ef307d3ad4f03c76fa5fc249f8e7e04de879aa7574bec1ff8be548dbc2c02973 +size 1062223 diff --git a/zeal-remove-qt-version.patch b/zeal-remove-qt-version.patch deleted file mode 100644 index b2e39ac..0000000 --- a/zeal-remove-qt-version.patch +++ /dev/null @@ -1,15 +0,0 @@ -Index: b/zeal.pro -=================================================================== ---- a/zeal.pro -+++ b/zeal.pro -@@ -4,10 +4,6 @@ - # - #------------------------------------------------- - --lessThan(QT_VERSION, "5.5.1") { -- error("Qt 5.5.1 or above is required to build Zeal.") --} -- - TEMPLATE = subdirs - - SUBDIRS += \ diff --git a/zeal.changes b/zeal.changes index 41b00d5..11ccaac 100644 --- a/zeal.changes +++ b/zeal.changes @@ -1,3 +1,50 @@ +------------------------------------------------------------------- +Sun Feb 18 18:02:53 UTC 2018 - avindra@opensuse.org + +- Update to 0.6.0 + * New Features: + + New in-page search toolbar. + + Added default font preferences. + + New welcome page had direct links for docset manager and + application preferences. + + Added option for choosing external link behavior. + * Improvements: + + Added option for enabling smooth scrolling. + + Added Ctrl+, shortcut to open Preferences. + * Fixed Issues: + + Context menu now correctly states Open in new tab instead of + window. + + Fixed broken Open in new tab. + + Fixed problem with ExtJS docset. + + Added check for read-only docset storage. +- Includes 0.5.0 + * New Features: + + Implemented update functionality for docsets installed via + XML feeds. + * Improvements: + + Added show/hide options to the tray icon's menu. + + Tabs are movable. + + Double click on the tab bar creates a new tab. + + Web view now has a predefined list of zooming level. + + Linux: Use dedicated tray icon if theme provides one. + + Portable version now indicates so in title of the main + window. + * Fixed Issues: + + Fixed search result sorting with fuzzy search disabled. + + Fixed invisible file operations preventing the Docsets + dialog from closing. + + Fixed crashing on some corrupted docset directories. + + Fixed the app exiting on its own when a new version is + available. + + Windows: Fixed app not gaining focus when invoked from IDE + plugins. + * Known Issues: + Open in new tab doesn't work. +- use https version of site +- switch to cmake, as qmake support was removed +- drop zeal-remove-qt-version.patch (no longer relevant) +- cleanup with spec-cleaner + ------------------------------------------------------------------- Sat Dec 16 18:49:11 UTC 2017 - hpj@urpla.net diff --git a/zeal.spec b/zeal.spec index 0074371..d64cb70 100644 --- a/zeal.spec +++ b/zeal.spec @@ -1,7 +1,7 @@ # # spec file for package zeal # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,17 +17,17 @@ Name: zeal -Version: 0.4.0 +Version: 0.6.0 Release: 0 Summary: Offline API documentation browser License: GPL-3.0 Group: Development/Tools/Other -Url: http://zealdocs.org +Url: https://zealdocs.org Source0: https://github.com/zealdocs/zeal/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz # `help2man zeal > zeal.1` can't be run without X started. Source9: zeal.1 -Patch0: zeal-remove-qt-version.patch - +BuildRequires: cmake +BuildRequires: extra-cmake-modules BuildRequires: fdupes BuildRequires: hicolor-icon-theme BuildRequires: libQt5Gui-private-headers-devel >= 5.2.0 @@ -58,14 +58,13 @@ Zeal is a simple offline API documentation browser inspired by Dash %prep %setup -q -%patch0 -p1 %build -%qmake5 -make %{?_smp_mflags} V=1 +%cmake -DBUILD_SHARED_LIBS:BOOL=OFF +%make_jobs %install -%qmake5_install +%cmake_install %suse_update_desktop_file -r %{name} Office Viewer %fdupes -s %{buildroot}%{_datadir} @@ -82,10 +81,9 @@ cp %{SOURCE9} %{buildroot}%{_mandir}/man1 %icon_theme_cache_postun %files -%defattr(-,root,root,-) %doc COPYING README.md %{_bindir}/%{name} -%{_mandir}/man1/%{name}.1.* +%{_mandir}/man1/%{name}.1%{ext_man} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}*