Files
cherrytree/cherrytree.spec
Dominique Leuenberger 9498d95ab4 Accepting request 1161213 from home:malcolmlewis:branches:GNOME:Apps
- Update to version 1.1.0+7:
  + Fixed regression import nodes from cherrytree not importing
    anything, (gh#giuspen/cherrytree#2463).
  + Fixed unwanted nodes expansion with auto reload from external
    doc edit and enabled option to show bookmarked nodes at start,
    (gh#giuspen/cherrytree#2464).
  + Changed default value of option to automatically focus the text
    at new tree node clicked, from false to true
  + Fixed regression vertical scroll and cursor position of
    previous nodes not remembered, (gh#giuspen/cherrytree#2460).
  + Fixed regression searching in multiple nodes, only nodes names
    and tags, not working, (gh#giuspen/cherrytree#2461 and
    gh#giuspen/cherrytree#2408).
  + Fixed double click on word in table cell, heavy implementation,
    not selecting word.
  + Find dialog to show selected text also in codebox and table.
  + Adding support for replace in tables/codeboxes.
  + Find matches results dialog fixed line numbers.
  + Fix iterative find in multiple nodes not focusing correctly
    results in tables and codeboxes.
  + Fix regression in all matches dialog after latest changes.
  + Improved search in tables and codeboxes to list and select all
    the instances, (gh#giuspen/cherrytree#2155 and
    gh#giuspen/cherrytree#2444).
  + Icon save on the menu is now greyed out when save is not
    needed.
  + Fixed tooltip on search results dialog, expected to display the
    node hierarchical name.
  + Fixed regression find next not scrolling correctly after minor
    rework.
  + Fixed regression in search/replace, first replace, after allow
    text selection with search/replace dialog open,
    (gh#giuspen/cherrytree#2426).
  + Fixed issue with find and presence of anchored widgets,
    (gh#giuspen/cherrytree#2444).
  + Removed workaround to old GTK issue no longer relevant (called
    newline trick).
  + Added stock icon of postman app.
  + Added in preferences dialog control of text margins left/right.
  + Added in preferences dialog control of max search results per
    page.
  + Added in preferences dialog enable/disable tooltips on tree,
    menus, toolbar.
  + Added in preferences dialog control of scrollbar slider minimum
    size.
  + Added in preferences dialog control of whether the scrollbar
    overlays the text editor.
  + Added also in preferences dialog control of the toolbar icons
    size.
  + Added also in preferences dialog option to enable/disable the
    menubar in titlebar, (gh#giuspen/cherrytree#2443).
  + Moved some preferences dialog settings from tab 'miscellanous'
    to tab 'fonts' that has been renamed 'interface'.
  + Codeboxes can be configured with or without toolbar in
    preferences dialog, tab rich text.
  + Improved vertical toolbar in codeboxes supporting code exec,
    code copy, edit properties.
  + Implemented vertical toolbar in codeboxes supporting code exec,
    code copy, edit properties
  + Fixed error print when drag from empty tree.
  + Fixed error print when unmiximising window with empty tree.
  + Fixed error prints when reloading last used document but file
    no longer available.
  + Shared nodes, updated unit tests.
  + Fixed compilation error on linux.
  + Shared nodes, tree info summary dialog to count the shared data
    only once.
  + Shared nodes, print group information in node properties dialog.
  + Implemented support for so called shared nodes that all point
    to the same data - create with right click on node,
    (gh#giuspen/cherrytree#1222).
  + Fixed warning while running unit tests for empty
    curr_tree_iter().
  + Changed 6 default keyboard shortcuts using {,},[,] as
    problematic on German/Norwegian keyboards,
    (gh#giuspen/cherrytree#2423).
  + Fixed zoom not working with Ctrl+ on english keyboard (key + is
    on shift)
  + Add gruvbox style themes, (gh#giuspen/cherrytree#2435).
  + Allow text selection with search/replace dialog open,
    (gh#giuspen/cherrytree#2426).
  + Separated search/replace dialog code from action after the ok
    is clicked so that will be possible to make the dialog non
    modal, (gh#giuspen/cherrytree#2426).
  + Added options in config.cfg 'txt_margin_left',
    'txt_margin_right' to control the text margins,
    (gh#giuspen/cherrytree#2425).
  + Added option in config.cfg 'scroll_slider_min' to allow control
    of the minimum size of the scrollbar slider, default 16px,
    (gh#giuspen/cherrytree#2427).
  + Added option in config.cfg 'overlay_scroll' to allow to
    override the system setting for scrollbar overlay/auto hide -
    2=system, 1=on, 0=off, (gh#giuspen/cherrytree#2427).
  + Increased scrollbars size on windows,
    (gh#giuspen/cherrytree#2427).
  + Saving RGB for custom user colours with format rgb24 #abcdef.
  + Added up to 18 custom user colours in the colour picker
    palette, (gh#giuspen/cherrytree#2422).
  + Added ABAP syntax highlighting, (gh#giuspen/cherrytree#2430).
  + Debugging issue with colour picker,
    (gh#giuspen/cherrytree#2422).
  + Reset autosave when manually saving; autosave used counter that
    suspended time doesn't count, (gh#giuspen/cherrytree#2120).
  + Fixed crash when rapidly moving node in tree via keyboard
    shortcuts, (gh#giuspen/cherrytree#2409).
  + Fixed crash when rapidly moving node in tree via keyboard
    shortcuts, (gh#giuspen/cherrytree#2409).
  + Fixed regression in speed when searching in nodes names and
    tags, no nodes contents, after v1.0.2,
    (gh#giuspen/cherrytree#2408).
  + Updated translations.

OBS-URL: https://build.opensuse.org/request/show/1161213
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/cherrytree?expand=0&rev=187
2024-03-25 15:33:12 +00:00

85 lines
2.7 KiB
RPMSpec

#
# spec file for package cherrytree
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: cherrytree
Version: 1.0+7
Release: 0
Summary: A hierarchical note taking application
License: GPL-3.0-or-later AND LGPL-2.1-only
Group: Productivity/Office/Other
URL: https://www.giuspen.com/cherrytree/
Source0: %{name}-%{version}.tar.xz
#PATCH-FIX-OPENSUSE cherrytree-set-git-version.patch malcolmlewis@opensuse.org -- Set git version in help about.
Patch0: cherrytree-set-git-version.patch
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: ninja
BuildRequires: python3-lxml
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(fmt)
BuildRequires: pkgconfig(gspell-1)
BuildRequires: pkgconfig(gtkmm-3.0)
BuildRequires: pkgconfig(gtksourceviewmm-3.0)
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(libxml++-2.6)
BuildRequires: pkgconfig(spdlog) >= 1.5
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(uchardet)
BuildRequires: pkgconfig(vte-2.91)
# For password-protected format
Recommends: p7zip-full
%description
A hierarchical note taking application, featuring rich text and syntax
highlighting, storing all the data (including images) in a single xml
file with extension ".ctd".
%lang_package
%prep
%autosetup -p1
%build
#Disable build tests as this needs cpputest and static development files!
%cmake -DBUILD_TESTING=OFF -DCT_VERSION=%{version}
%cmake_build
%install
%cmake_install
# Remove old mime registration files
rm %{buildroot}%{_datadir}/mime-info/cherrytree.*
%suse_update_desktop_file -G "Hierarchical Notes Utility" cherrytree TextEditor
%find_lang %{name} %{?no_lang_C}
%fdupes -s %{buildroot}%{_datadir}
%files
%license license.txt
%doc changelog.txt
%{_bindir}/cherrytree
%dir %{_datadir}/metainfo
%{_datadir}/metainfo/net.giuspen.cherrytree.metainfo.xml
%{_datadir}/applications/cherrytree.desktop
%{_datadir}/cherrytree/
%{_datadir}/icons/hicolor/scalable/apps/cherrytree.svg
%{_mandir}/man1/cherrytree.1%{?ext_man}
%files lang -f %{name}.lang
%changelog