forked from pool/gnome-calendar
Accepting request 427835 from GNOME:Next
New unstable OBS-URL: https://build.opensuse.org/request/show/427835 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-calendar?expand=0&rev=33
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:893ba156462714cb31087478be64ac79714a910a9012c329ad06f75fa1d1c413
|
|
||||||
size 2361576
|
|
3
gnome-calendar-3.21.92.tar.xz
Normal file
3
gnome-calendar-3.21.92.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:42f15b763ce450ecf2e3ecc6b400f95ce90d16796e873d67b3673773cbe9a9cb
|
||||||
|
size 2364284
|
@@ -1,34 +0,0 @@
|
|||||||
From affcc3e206cdb48b26f3f9871245a5f5ac1f613f Mon Sep 17 00:00:00 2001
|
|
||||||
From: Dominique Leuenberger <dimstar@opensuse.org>
|
|
||||||
Date: Wed, 31 Aug 2016 19:58:14 +0200
|
|
||||||
Subject: [PATCH] Initialize variable
|
|
||||||
|
|
||||||
Some compilers seem to be over-pessimistic and abort the build with:
|
|
||||||
|
|
||||||
gcal-month-view.c: In function 'gcal_month_view_drag_drop':
|
|
||||||
gcal-month-view.c:908:32: error: 'timespan' may be used uninitialized in this function [-Werror=maybe-uninitialized]
|
|
||||||
GDateTime *new_end = g_date_time_add (new_start, timespan);
|
|
||||||
|
|
||||||
Even though the usage of the variable is guarded by an equal if as the assignment
|
|
||||||
|
|
||||||
https://bugzilla.gnome.org/show_bug.cgi?id=770667
|
|
||||||
---
|
|
||||||
src/gcal-month-view.c | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/gcal-month-view.c b/src/gcal-month-view.c
|
|
||||||
index 36f23a4..bb8fde2 100644
|
|
||||||
--- a/src/gcal-month-view.c
|
|
||||||
+++ b/src/gcal-month-view.c
|
|
||||||
@@ -865,7 +865,7 @@ gcal_month_view_drag_drop (GtkWidget *widget,
|
|
||||||
gint cell, diff;
|
|
||||||
gint start_month, current_month;
|
|
||||||
gint start_year, current_year;
|
|
||||||
- GTimeSpan timespan;
|
|
||||||
+ GTimeSpan timespan = 0;
|
|
||||||
|
|
||||||
cell = get_dnd_cell (widget, x, y);
|
|
||||||
event_widget = gtk_drag_get_source_widget (context);
|
|
||||||
--
|
|
||||||
2.9.3
|
|
||||||
|
|
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 14 20:45:16 UTC 2016 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 3.21.92:
|
||||||
|
+ Fix compiler warning.
|
||||||
|
+ Fix various places to work with Gtk+ 3.21.6.
|
||||||
|
+ Forbid dragging read-only events.
|
||||||
|
+ Updated translations.
|
||||||
|
- Drop gnome-calendar-initialize-variable.patch: Fixed upstream.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Aug 31 22:00:31 UTC 2016 - dimstar@opensuse.org
|
Wed Aug 31 22:00:31 UTC 2016 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@@ -17,15 +17,13 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: gnome-calendar
|
Name: gnome-calendar
|
||||||
Version: 3.21.91
|
Version: 3.21.92
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A calendar application for GNOME
|
Summary: A calendar application for GNOME
|
||||||
License: GPL-3.0+
|
License: GPL-3.0+
|
||||||
Group: Productivity/Office/Organizers
|
Group: Productivity/Office/Organizers
|
||||||
Url: https://wiki.gnome.org/Design/Apps/Calendar
|
Url: https://wiki.gnome.org/Design/Apps/Calendar
|
||||||
Source: http://download.gnome.org/sources/gnome-calendar/3.21/%{name}-%{version}.tar.xz
|
Source: http://download.gnome.org/sources/gnome-calendar/3.21/%{name}-%{version}.tar.xz
|
||||||
# PATCH-FIX-UPSTREAM gnome-calendar-initialize-variable.patch bgo#770667 dimstar@opensuse.org -- Initialize variable
|
|
||||||
Patch0: gnome-calendar-initialize-variable.patch
|
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: hicolor-icon-theme
|
BuildRequires: hicolor-icon-theme
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
@@ -56,7 +54,6 @@ search results from GNOME Calendar.
|
|||||||
%lang_package
|
%lang_package
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
|
Reference in New Issue
Block a user