- Update to version 46.1:

+ Fix infinite loop when searching for available title in sync
    conflict.

OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gnote?expand=0&rev=180
This commit is contained in:
Bjørn Lie 2024-07-29 17:40:03 +00:00 committed by Git OBS Bridge
commit 4285851f6a
9 changed files with 1621 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

19
_service Normal file
View File

@ -0,0 +1,19 @@
<?xml version="1.0"?>
<services>
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://gitlab.gnome.org/GNOME/gnote.git</param>
<param name="revision">46.1</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">v?(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>
<!-- <param name="changesgenerate">enable</param> -->
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">zst</param>
</service>
<service name="set_version" mode="manual" />
</services>

3
gnote-46.0.obscpio Normal file
View File

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

3
gnote-46.1.obscpio Normal file
View File

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

2
gnote-rpmlintrc Normal file
View File

@ -0,0 +1,2 @@
# Filter devel file in non devel package as splitting out a devel package is not needed, internal gnote use only.
addFilter("gnote.* devel-file-in-non-devel-package")

1444
gnote.changes Normal file

File diff suppressed because it is too large Load Diff

4
gnote.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: gnote
version: 46.1
mtime: 1722102743
commit: a0c1c4e91ffd84819af16fc1008bad3e095f77ce

122
gnote.spec Normal file
View File

@ -0,0 +1,122 @@
#
# spec file for package gnote
#
# 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/
#
%define base_version 46
%define glib_version 2.74
Name: gnote
Version: 46.1
Release: 0
Summary: A Port of Tomboy to C++
License: GPL-3.0-or-later
Group: Productivity/Text/Editors
URL: https://wiki.gnome.org/Apps/Gnote
Source0: %{name}-%{version}.tar.zst
Source99: gnote-rpmlintrc
BuildRequires: appstream-glib
BuildRequires: c++_compiler
BuildRequires: c_compiler
BuildRequires: desktop-file-utils
BuildRequires: fdupes
BuildRequires: meson >= 0.59
BuildRequires: pkgconfig
BuildRequires: yelp-tools
BuildRequires: pkgconfig(gio-2.0) >= %{glib_version}
BuildRequires: pkgconfig(giomm-2.68) >= %{glib_version}
BuildRequires: pkgconfig(glibmm-2.68) >= %{glib_version}
# TODO: Keep an eye on new releases. Upstream temporarily disabled gspell-1 support
# with the following notice:
# Need updated version that support GTK 4
# BuildRequires: pkgconfig(gspell-1) >= 1.6.0
BuildRequires: pkgconfig(gtkmm-4.0) >= 4.10.0
BuildRequires: pkgconfig(libadwaita-1)
BuildRequires: pkgconfig(libsecret-1) >= 0.8
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(libxslt)
BuildRequires: pkgconfig(uuid)
%description
It is the same note taking application, including most of the add-ins (more are
to come). Synchronization support is being worked on.
%package -n gnome-shell-search-provider-%{name}
Summary: Note editor for GNOME -- Search Provider for GNOME Shell
Group: Productivity/Office/Other
Requires: %{name} = %{version}
Requires: gnome-shell
Supplements: (%{name} and gnome-shell)
BuildArch: noarch
%description -n gnome-shell-search-provider-%{name}
It is the same note taking application, including most of the add-ins (more are
to come). Synchronization support is being worked on.
This package contains a search provider to enable GNOME Shell to get
search results from documents.
%lang_package
%prep
%autosetup -p1
%build
%meson \
%{nil}
%meson_build
%install
%meson_install
%fdupes %{buildroot}%{_datadir}
%find_lang %{name} %{?no_lang_C}
%if %suse_version >= 1550
%ldconfig_scriptlets
%else
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%endif
%check
%meson_test
%files
%license COPYING
%doc AUTHORS NEWS README.md
%doc %{_datadir}/help/C/%{name}/
%{_bindir}/gnote
%{_libdir}/gnote/
# Splitting does not make sense as it's just a lib for gnote itself (and it's plugins)
%{_libdir}/libgnote-%{base_version}.so*
%{_datadir}/applications/org.gnome.Gnote.desktop
%{_datadir}/dbus-1/services/org.gnome.Gnote.service
%{_datadir}/glib-2.0/schemas/org.gnome.gnote.gschema.xml
%{_datadir}/gnote/
%{_datadir}/icons/hicolor/*/apps/org.gnome.Gnote*
%{_mandir}/man1/gnote.1%{?ext_man}
%dir %{_datadir}/metainfo/
%{_datadir}/metainfo/org.gnome.Gnote.appdata.xml
%files -n gnome-shell-search-provider-%{name}
%dir %{_datadir}/gnome-shell
%dir %{_datadir}/gnome-shell/search-providers
%{_datadir}/gnome-shell/search-providers/org.gnome.Gnote.search-provider.ini
%files lang -f %{name}.lang
%changelog