From 825cbab6f555cd3d07d87b4626b5d4dad92ecc17a05ccf2aad2f16f9a0790b20 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 8 Sep 2016 21:21:33 +0000 Subject: [PATCH] Accepting request 424976 from GNOME:Next Scripted push of project GNOME:Next OBS-URL: https://build.opensuse.org/request/show/424976 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-calendar?expand=0&rev=32 --- gnome-calendar-3.20.3.tar.xz | 3 -- gnome-calendar-3.21.91.tar.xz | 3 ++ gnome-calendar-initialize-variable.patch | 34 ++++++++++++++++ gnome-calendar.changes | 49 ++++++++++++++++++++++++ gnome-calendar.spec | 10 +++-- 5 files changed, 93 insertions(+), 6 deletions(-) delete mode 100644 gnome-calendar-3.20.3.tar.xz create mode 100644 gnome-calendar-3.21.91.tar.xz create mode 100644 gnome-calendar-initialize-variable.patch diff --git a/gnome-calendar-3.20.3.tar.xz b/gnome-calendar-3.20.3.tar.xz deleted file mode 100644 index 1690308..0000000 --- a/gnome-calendar-3.20.3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8f12f554447d3147817b162d708dfd4a596b8303bfee9fe358ec7091fceec36b -size 2334380 diff --git a/gnome-calendar-3.21.91.tar.xz b/gnome-calendar-3.21.91.tar.xz new file mode 100644 index 0000000..249558f --- /dev/null +++ b/gnome-calendar-3.21.91.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:893ba156462714cb31087478be64ac79714a910a9012c329ad06f75fa1d1c413 +size 2361576 diff --git a/gnome-calendar-initialize-variable.patch b/gnome-calendar-initialize-variable.patch new file mode 100644 index 0000000..b1c2f27 --- /dev/null +++ b/gnome-calendar-initialize-variable.patch @@ -0,0 +1,34 @@ +From affcc3e206cdb48b26f3f9871245a5f5ac1f613f Mon Sep 17 00:00:00 2001 +From: Dominique Leuenberger +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 + diff --git a/gnome-calendar.changes b/gnome-calendar.changes index 4d33b19..54f48ef 100644 --- a/gnome-calendar.changes +++ b/gnome-calendar.changes @@ -1,3 +1,52 @@ +------------------------------------------------------------------- +Wed Aug 31 22:00:31 UTC 2016 - dimstar@opensuse.org + +- Add gnome-calendar-initialize-variable.patch: Fix build on + ppc64le by initializing the variable. + +------------------------------------------------------------------- +Wed Aug 31 21:08:28 UTC 2016 - zaitor@opensuse.org + +- Update to version 3.21.91: + + New date chooser calendar. + + Deprecate GNOME_COMPILE_WARNINGS. + + Updated translations. + +------------------------------------------------------------------- +Wed Aug 31 21:08:27 UTC 2016 - zaitor@opensuse.org + +- Update to version 3.21.4: + + Share the 'show-weekdate' with GNOME Shell. + + Fix issue in the calendar management dialog. + + Add support for alarms. + + Major updates on the edit dialog. + + Style fixes and updates. + + Fix year view popover positioning. + + Updated translations. +- Add pkgconfig(gsettings-desktop-schemas) BuildRequires: New + dependency. + +------------------------------------------------------------------- +Wed Aug 31 21:08:26 UTC 2016 - zaitor@opensuse.org + +- Update to version 3.21.2: + + Add the ability to change the month when navigating with + keyboard. + + Make the "Today" button insensitive when the current day is + visible. + + Keep the Sources dialog alive after closing it. + + Adapt the CSS to Gtk+ 3.21 strictness. + + Define the first week day in the build script. + + Show all events of a month when clicking in the month name. + + Vastly improve the Year view's navigator. + + Correct the header capitalization. + + Define ABOUT_NLS when configuring the project. + + Fix various miscalculations in Month View. + + Drop the usage of our custom .views CSS class. + + Various GDateTime reference fixes. + + Add Drag n' Drop capabilities to Month and Year View. + + Updated translations. + ------------------------------------------------------------------- Wed Aug 31 21:08:25 UTC 2016 - zaitor@opensuse.org diff --git a/gnome-calendar.spec b/gnome-calendar.spec index 25586ff..fc0c05a 100644 --- a/gnome-calendar.spec +++ b/gnome-calendar.spec @@ -17,13 +17,15 @@ Name: gnome-calendar -Version: 3.20.3 +Version: 3.21.91 Release: 0 Summary: A calendar application for GNOME License: GPL-3.0+ Group: Productivity/Office/Organizers Url: https://wiki.gnome.org/Design/Apps/Calendar -Source: http://download.gnome.org/sources/gnome-calendar/3.20/%{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: hicolor-icon-theme BuildRequires: intltool @@ -31,7 +33,8 @@ BuildRequires: pkgconfig(gio-2.0) >= 2.43.2 BuildRequires: pkgconfig(glib-2.0) >= 2.43.4 BuildRequires: pkgconfig(gmodule-export-2.0) BuildRequires: pkgconfig(goa-1.0) >= 3.2.0 -BuildRequires: pkgconfig(gtk+-3.0) >= 3.19.1 +BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.21.2 +BuildRequires: pkgconfig(gtk+-3.0) >= 3.21.1 BuildRequires: pkgconfig(libecal-1.2) >= 3.13.90 BuildRequires: pkgconfig(libedataserver-1.2) >= 3.17.1 BuildRequires: pkgconfig(libical) >= 1.0 @@ -53,6 +56,7 @@ search results from GNOME Calendar. %lang_package %prep %setup -q +%patch0 -p1 %build %configure --disable-static