public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-calendar/files/, gnome-extra/gnome-calendar/
Date: Sun, 17 Mar 2024 03:16:08 +0000 (UTC)	[thread overview]
Message-ID: <1710645186.82d0f1038dba761dcebeb6ca98fe4d4069afe0ed.sam@gentoo> (raw)

commit:     82d0f1038dba761dcebeb6ca98fe4d4069afe0ed
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 17 03:13:06 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 17 03:13:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82d0f103

gnome-extra/gnome-calendar: fix modern C issue

Closes: https://bugs.gentoo.org/926638
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../files/gnome-calendar-45.1-c99.patch            | 23 ++++++++++
 .../gnome-calendar/gnome-calendar-45.1-r1.ebuild   | 51 ++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/gnome-extra/gnome-calendar/files/gnome-calendar-45.1-c99.patch b/gnome-extra/gnome-calendar/files/gnome-calendar-45.1-c99.patch
new file mode 100644
index 000000000000..1a3411d335fa
--- /dev/null
+++ b/gnome-extra/gnome-calendar/files/gnome-calendar-45.1-c99.patch
@@ -0,0 +1,23 @@
+https://bugs.gentoo.org/926638
+https://gitlab.gnome.org/GNOME/gnome-calendar/-/commit/2c33d98d82386b0d5e9057c8ba532efc6e202818
+
+From 2c33d98d82386b0d5e9057c8ba532efc6e202818 Mon Sep 17 00:00:00 2001
+From: David King <amigadave@amigadave.com>
+Date: Mon, 26 Feb 2024 11:55:29 +0000
+Subject: [PATCH] weather-service: Fix incompatible pointer types
+
+--- a/src/weather/gcal-weather-service.c
++++ b/src/weather/gcal-weather-service.c
+@@ -486,8 +486,8 @@ preprocess_gweather_reports (GcalWeatherService *self,
+   GSList *iter = NULL;    /* unowned */
+   GDate cur_gdate;
+   glong first_tomorrow_dtime = -1;
+-  glong today_unix;
+-  glong unix_now;
++  gint64 today_unix;
++  gint64 unix_now;
+   guint i;
+ 
+   /*
+-- 
+GitLab

diff --git a/gnome-extra/gnome-calendar/gnome-calendar-45.1-r1.ebuild b/gnome-extra/gnome-calendar/gnome-calendar-45.1-r1.ebuild
new file mode 100644
index 000000000000..474e4f90fad4
--- /dev/null
+++ b/gnome-extra/gnome-calendar/gnome-calendar-45.1-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit gnome.org gnome2-utils meson virtualx xdg
+
+DESCRIPTION="Manage your online calendars with simple and modern interface"
+HOMEPAGE="https://wiki.gnome.org/Apps/Calendar"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
+
+DEPEND="
+	>=dev-libs/libical-1.0.1:0=
+	>=gnome-base/gsettings-desktop-schemas-3.21.2
+	>=gnome-extra/evolution-data-server-3.45.1:=[gtk]
+	net-libs/libsoup:3.0
+	>=gui-libs/libadwaita-1.4_alpha:1
+	>=dev-libs/glib-2.67.5:2
+	>=gui-libs/gtk-4.11.2:4
+	>=dev-libs/libgweather-4.2.0:4=
+	>=app-misc/geoclue-2.4:2.0
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+	dev-libs/appstream-glib
+	dev-libs/libxml2:2
+	dev-util/gdbus-codegen
+	dev-util/glib-utils
+	>=sys-devel/gettext-0.19.8
+	virtual/pkgconfig
+"
+
+PATCHES=(
+	"${FILESDIR}"/gnome-calendar-45.1-c99.patch
+)
+
+src_test() {
+	virtx meson_src_test
+}
+
+pkg_postinst() {
+	xdg_pkg_postinst
+	gnome2_schemas_update
+}
+
+pkg_postrm() {
+	xdg_pkg_postrm
+	gnome2_schemas_update
+}


             reply	other threads:[~2024-03-17  3:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-17  3:16 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-01-25  1:53 [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-calendar/files/, gnome-extra/gnome-calendar/ Sam James
2019-05-18 21:24 Mart Raudsepp
2018-01-08 14:56 Mart Raudsepp
2017-07-18  2:20 Mart Raudsepp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1710645186.82d0f1038dba761dcebeb6ca98fe4d4069afe0ed.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox