Accepting request 881081 from GNOME:Apps
GNOME 40 - here we come (forwarded request 880909 from dimstar) OBS-URL: https://build.opensuse.org/request/show/881081 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnote?expand=0&rev=72
This commit is contained in:
commit
7838486285
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c427d5e177339106e53976ab4f65f8719a48f7f712ce94d2184d545da174b2a9
|
|
||||||
size 3530348
|
|
3
gnote-40.rc.tar.xz
Normal file
3
gnote-40.rc.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e876b8fad7639ad73d55a4bbf9e90e14b8142bedc59b42e85d1c3d0d2c897eb8
|
||||||
|
size 3479240
|
@ -1,31 +0,0 @@
|
|||||||
From 1c295905251aaa5d031531392eab5575da2d87b9 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Jonathan Kang <jonathankang@gnome.org>
|
|
||||||
Date: Wed, 2 Sep 2020 09:11:07 +0800
|
|
||||||
Subject: [PATCH] noteaddin: Fix newly enabled addin not working for opened
|
|
||||||
notes
|
|
||||||
|
|
||||||
---
|
|
||||||
src/noteaddin.cpp | 6 ++++++
|
|
||||||
1 file changed, 6 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/src/noteaddin.cpp b/src/noteaddin.cpp
|
|
||||||
index 612bc8d8..ddb60ca0 100644
|
|
||||||
--- a/src/noteaddin.cpp
|
|
||||||
+++ b/src/noteaddin.cpp
|
|
||||||
@@ -39,7 +39,13 @@ namespace gnote {
|
|
||||||
sigc::mem_fun(*this, &NoteAddin::on_note_opened_event));
|
|
||||||
initialize();
|
|
||||||
if(m_note->is_opened()) {
|
|
||||||
+ NoteWindow * window = get_window();
|
|
||||||
+
|
|
||||||
on_note_opened();
|
|
||||||
+ /* Connect these two signals here, because signal_opened won't emit for
|
|
||||||
+ * opening already opened notes. */
|
|
||||||
+ window->signal_foregrounded.connect(sigc::mem_fun(*this, &NoteAddin::on_note_foregrounded));
|
|
||||||
+ window->signal_backgrounded.connect(sigc::mem_fun(*this, &NoteAddin::on_note_backgrounded));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
--
|
|
||||||
2.25.4
|
|
||||||
|
|
@ -1,3 +1,45 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 18 14:51:23 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Update to version 40.rc:
|
||||||
|
+ Use reverse-domain convention for naming desktop and search
|
||||||
|
provider files.
|
||||||
|
+ Refactor D-Bus support to reuse the connection established by
|
||||||
|
GtkApplication.
|
||||||
|
+ Update AppData file format
|
||||||
|
+ Updated translations.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 23 11:14:20 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Update to version 40.beta:
|
||||||
|
+ New Features:
|
||||||
|
* Add accelerator Ctrl+D for insert timestamp.
|
||||||
|
* WebDAV sync no longer uses wdfs.
|
||||||
|
+ Fixes:
|
||||||
|
* Make insert timestamp plugin work again.
|
||||||
|
* Fix crash when synchronizing immediately after configuring.
|
||||||
|
+ Updated translations.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 23 20:40:01 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Update to version 40.alpha:
|
||||||
|
+ New Features:
|
||||||
|
- Change shortcut for find first/next to Ctrl-G/Ctrl-Shitf-G.
|
||||||
|
- Change icons and remove labels from find next/previous.
|
||||||
|
+ Fixes:
|
||||||
|
- --search will raise existing search window or open a new one.
|
||||||
|
- Fix opening of context menu.
|
||||||
|
- Fix newly enabled addin not working for opened notes.
|
||||||
|
- Fix find previous match.
|
||||||
|
- Fix changing sorting not always works.
|
||||||
|
- Fix GTK criticals upon exiting the application.
|
||||||
|
- Fix few memory leaks.
|
||||||
|
+ Updated translations.
|
||||||
|
- Drop gnote-enabling-addin-for-opened-notes.patch: fixed upstream.
|
||||||
|
- Bump base_version to 40, following upstream.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jan 23 20:03:41 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
|
Sat Jan 23 20:03:41 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
@ -40,7 +82,7 @@ Sat Sep 5 14:34:35 UTC 2020 - dimstar@opensuse.org
|
|||||||
Wed Sep 2 02:36:36 UTC 2020 - Jonathan Kang <songchuan.kang@suse.com>
|
Wed Sep 2 02:36:36 UTC 2020 - Jonathan Kang <songchuan.kang@suse.com>
|
||||||
|
|
||||||
- Add gnote-enabling-addin-for-opened-notes.patch: noteaddin: Fix
|
- Add gnote-enabling-addin-for-opened-notes.patch: noteaddin: Fix
|
||||||
newly enabled addin not working for opened(bsc#1075342,
|
newly enabled addin not working for opened notes (bsc#1075342,
|
||||||
glgo#GNOME/gnote!11).
|
glgo#GNOME/gnote!11).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
|
16
gnote.spec
16
gnote.spec
@ -16,19 +16,17 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define base_version 3.38
|
%define base_version 40
|
||||||
|
|
||||||
Name: gnote
|
Name: gnote
|
||||||
Version: 3.38.1
|
Version: 40.rc
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A Port of Tomboy to C++
|
Summary: A Port of Tomboy to C++
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
Group: Productivity/Text/Editors
|
Group: Productivity/Text/Editors
|
||||||
URL: https://wiki.gnome.org/Apps/Gnote
|
URL: https://wiki.gnome.org/Apps/Gnote
|
||||||
Source0: https://download.gnome.org/sources/gnote/%{base_version}/%{name}-%{version}.tar.xz
|
Source0: https://download.gnome.org/sources/gnote/40/%{name}-%{version}.tar.xz
|
||||||
Source99: gnote-rpmlintrc
|
Source99: gnote-rpmlintrc
|
||||||
# PATCH-FIX-UPSTREAM gnote-enabling-addin-for-opened-notes.patch bsc#1075342, glgo#GNOME/gnote!11 noteaddin: Fix newly enabled addin not working for opened.
|
|
||||||
Patch0: gnote-enabling-addin-for-opened-notes.patch
|
|
||||||
|
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@ -80,7 +78,7 @@ translation-update-upstream
|
|||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
desktop-file-edit --add-category TextEditor %{buildroot}%{_datadir}/applications/%{name}.desktop
|
desktop-file-edit --add-category TextEditor %{buildroot}%{_datadir}/applications/org.gnome.gnote.desktop
|
||||||
%fdupes %{buildroot}%{_datadir}
|
%fdupes %{buildroot}%{_datadir}
|
||||||
%find_lang %{name} %{?no_lang_C}
|
%find_lang %{name} %{?no_lang_C}
|
||||||
|
|
||||||
@ -99,19 +97,19 @@ desktop-file-edit --add-category TextEditor %{buildroot}%{_datadir}/applications
|
|||||||
# Splitting does not make sense as it's just a lib for gnote itself (and it's plugins)
|
# Splitting does not make sense as it's just a lib for gnote itself (and it's plugins)
|
||||||
%{_libdir}/libgnote-%{base_version}.so*
|
%{_libdir}/libgnote-%{base_version}.so*
|
||||||
%{_libdir}/libgnote.so
|
%{_libdir}/libgnote.so
|
||||||
%{_datadir}/applications/gnote.desktop
|
%{_datadir}/applications/org.gnome.gnote.desktop
|
||||||
%{_datadir}/glib-2.0/schemas/org.gnome.gnote.gschema.xml
|
%{_datadir}/glib-2.0/schemas/org.gnome.gnote.gschema.xml
|
||||||
%{_datadir}/gnote/
|
%{_datadir}/gnote/
|
||||||
%{_datadir}/icons/hicolor/*/apps/gnote.*
|
%{_datadir}/icons/hicolor/*/apps/gnote.*
|
||||||
%{_mandir}/man1/gnote.1%{?ext_man}
|
%{_mandir}/man1/gnote.1%{?ext_man}
|
||||||
%dir %{_datadir}/metainfo/
|
%dir %{_datadir}/metainfo/
|
||||||
%{_datadir}/metainfo/gnote.appdata.xml
|
%{_datadir}/metainfo/org.gnome.gnote.appdata.xml
|
||||||
|
|
||||||
%files -n gnome-shell-search-provider-%{name}
|
%files -n gnome-shell-search-provider-%{name}
|
||||||
%{_datadir}/dbus-1/services/org.gnome.Gnote.service
|
%{_datadir}/dbus-1/services/org.gnome.Gnote.service
|
||||||
%dir %{_datadir}/gnome-shell
|
%dir %{_datadir}/gnome-shell
|
||||||
%dir %{_datadir}/gnome-shell/search-providers
|
%dir %{_datadir}/gnome-shell/search-providers
|
||||||
%{_datadir}/gnome-shell/search-providers/gnote-search-provider.ini
|
%{_datadir}/gnome-shell/search-providers/org.gnome.Gnote.search-provider.ini
|
||||||
|
|
||||||
%files lang -f %{name}.lang
|
%files lang -f %{name}.lang
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user