SHA256
1
0
forked from pool/bijiben

Accepting request 516874 from GNOME:Factory

New stable release (forwarded request 516224 from Zaitor)

OBS-URL: https://build.opensuse.org/request/show/516874
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bijiben?expand=0&rev=32
This commit is contained in:
Dominique Leuenberger 2017-08-18 12:59:45 +00:00 committed by Git OBS Bridge
commit 11439a3387
8 changed files with 25 additions and 146 deletions

View File

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

3
bijiben-3.24.1.tar.xz Normal file
View File

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

View File

@ -1,32 +0,0 @@
From bbd6b4ab460a268110e94933c3bf0b667a594ff3 Mon Sep 17 00:00:00 2001
From: Isaque Galdino <igaldino@gmail.com>
Date: Thu, 15 Jun 2017 10:33:21 -0300
Subject: memo-provider: Wrong output 64 bits format
gcc7 is complaining about a format for a 64 bits integer. The expected
argument is of type 'long int', but it is using a 'long long int'
instead.
To fix that problem, we changed the format "%li" to "%"G_GINT64_FORMAT.
https://bugzilla.gnome.org/show_bug.cgi?id=783714
---
src/libbiji/provider/biji-memo-provider.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libbiji/provider/biji-memo-provider.c b/src/libbiji/provider/biji-memo-provider.c
index 975cd11..0b82c1e 100644
--- a/src/libbiji/provider/biji-memo-provider.c
+++ b/src/libbiji/provider/biji-memo-provider.c
@@ -203,7 +203,7 @@ handle_next_item (BijiMemoProvider *self)
create_note_from_item (item);
/* debug pour tracker. Il faut en plus datasource->urn */
- g_debug ("created=%li", item->set.created);
+ g_debug ("created=%"G_GINT64_FORMAT, item->set.created);
g_debug ("title=%s", item->set.title);
g_debug ("url=%s", item->set.url);
g_debug ("content=%s\n================\n\n\n", item->set.content);
--
cgit v0.12

View File

@ -1,30 +0,0 @@
From 5cbfeec214509b97d67877cfb0e52c6c37c6f6d4 Mon Sep 17 00:00:00 2001
From: Isaque Galdino <igaldino@gmail.com>
Date: Sun, 11 Jun 2017 15:30:09 -0300
Subject: main-toolbar: Missing break in case statement
gcc7 is complainting about an implicit-fallthrough situation: a missing
break in a case statement.
This commit adds that to the code.
https://bugzilla.gnome.org/show_bug.cgi?id=783465
---
src/bjb-main-toolbar.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/bjb-main-toolbar.c b/src/bjb-main-toolbar.c
index b44f68e..4e49dc2 100644
--- a/src/bjb-main-toolbar.c
+++ b/src/bjb-main-toolbar.c
@@ -1131,6 +1131,7 @@ bjb_main_toolbar_get_property (GObject *object,
{
case PROP_PARENT:
g_value_set_object (value, self->priv->parent);
+ break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
break;
--
cgit v0.12

View File

@ -1,34 +0,0 @@
From 1649d3a3d3bae9972ea89f08f78aea5b93cb96d6 Mon Sep 17 00:00:00 2001
From: Milan Crha <mcrha@redhat.com>
Date: Sun, 11 Jun 2017 15:46:20 -0300
Subject: memo-provider: Crash opening memo
Application is crashing when trying to open a memo from the memo list.
Code is not checking for null when processing start, last modified and
created dates.
This patch fixes that.
https://bugzilla.gnome.org/show_bug.cgi?id=782998
---
src/libbiji/provider/biji-memo-provider.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/libbiji/provider/biji-memo-provider.c b/src/libbiji/provider/biji-memo-provider.c
index fa0540f..975cd11 100644
--- a/src/libbiji/provider/biji-memo-provider.c
+++ b/src/libbiji/provider/biji-memo-provider.c
@@ -75,6 +75,9 @@ time_val_from_icaltime (icaltimetype *itt, glong *result)
GTimeVal t;
gchar *iso;
+ if (!itt)
+ return FALSE;
+
t.tv_sec = 0;
t.tv_usec = 0;
--
cgit v0.12

View File

@ -1,34 +0,0 @@
From efcabf00020fe01fee75a3f55ae7a48e83de37d6 Mon Sep 17 00:00:00 2001
From: Isaque Galdino <igaldino@gmail.com>
Date: Sun, 11 Jun 2017 15:10:31 -0300
Subject: local-provider: Remove warning about .Trash folder
When $HOME/.local/share/bijiben directory doesn't exist, application
creates it, but it also complaints about another directory that doesn't
exist: $HOME/.local/share/bijiben/.Trash.
This patch removes that warning message because the .Trash directory
will be created anyway.
https://bugzilla.gnome.org/show_bug.cgi?id=783471
---
src/libbiji/provider/biji-local-provider.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/libbiji/provider/biji-local-provider.c b/src/libbiji/provider/biji-local-provider.c
index 72c41df..733df70 100644
--- a/src/libbiji/provider/biji-local-provider.c
+++ b/src/libbiji/provider/biji-local-provider.c
@@ -79,7 +79,8 @@ load_location_error (GFile *location,
gchar *path;
path = g_file_get_path (location);
- g_printerr ("Unable to load location %s: %s", path, error->message);
+ if (!g_strrstr (path, ".Trash"))
+ g_printerr ("Unable to load location %s: %s", path, error->message);
g_free (path);
g_error_free (error);
}
--
cgit v0.12

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Fri Aug 11 08:09:45 UTC 2017 - zaitor@opensuse.org
- Update to version 3.24.1:
+ Added support for glib 2.53.4.
+ Fixed transparent window issue when no notes are displayed.
+ Added support for glib 2.53.2.
+ Fixed memory leak when saving a note.
+ Fixed memory leak when deleting note in local provider.
+ Fixed application state stuck in trash view.
+ Fixed 64 bits format for text output.
+ Fixed application cash when some dates are null.
+ Added missing break in a case statement.
+ Removed warning about .Trash folder missing.
+ Updated translations.
- Drop upstream fixed patches:
+ bijiben-fix-missing-break-in-case-statement.patch.
+ bijiben-fix-i586-longint.patch.
+ bijiben-remove-warning-about-Trash-folder.patch.
+ bijiben-memo-provider-crash-opening-memo.patch.
-------------------------------------------------------------------
Fri Jun 16 08:27:09 UTC 2017 - zaitor@opensuse.org

View File

@ -19,21 +19,13 @@
%define with_zeitgeist 0
Name: bijiben
Version: 3.24.0
Version: 3.24.1
Release: 0
Summary: Note editor for GNOME
License: GPL-3.0+ and CC-BY-SA-3.0
Group: Productivity/Text/Editors
Url: https://live.gnome.org/Bijiben
Source: http://download.gnome.org/sources/bijiben/3.24/%{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM bijiben-fix-missing-break-in-case-statement.patch bgo#783465 zaitor@opensuse.org -- main-toolbar: Missing break in case statement
Patch0: bijiben-fix-missing-break-in-case-statement.patch
# PATCH-FIX-UPSTREAM bijiben-remove-warning-about-Trash-folder.patch bgo#783471 zaitor@opensuse.org -- local-provider: Remove warning about .Trash folder
Patch1: bijiben-remove-warning-about-Trash-folder.patch
# PATCH-FIX-UPSTREAM bijiben-memo-provider-crash-opening-memo.patch bgo#782998 zaitor@opensuse.org -- memo-provider: Crash opening memo
Patch2: bijiben-memo-provider-crash-opening-memo.patch
# PATCH-FIX-UPSTREAM bijiben-fix-i586-longint.patch bgo#783714 zaitor@opensuse.org -- Fix int type
Patch3: bijiben-fix-i586-longint.patch
BuildRequires: intltool >= 0.50.1
BuildRequires: update-desktop-files
BuildRequires: yelp-tools
@ -75,10 +67,6 @@ search results from documents.
%lang_package
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
%configure \