summaryrefslogtreecommitdiff
path: root/gnome-extra/gnome-calendar
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-17 06:49:08 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-17 06:49:08 +0000
commit2bf68d7062b64d9f815f3b8ce6942a66afe53b0d (patch)
treeac1e773aaa4d3575d18d178ae260cab963bbf64c /gnome-extra/gnome-calendar
parentcd356b722fd8d162f02a5059fae1a66e00be52e3 (diff)
gentoo auto-resync : 17:03:2024 - 06:49:08
Diffstat (limited to 'gnome-extra/gnome-calendar')
-rw-r--r--gnome-extra/gnome-calendar/Manifest2
-rw-r--r--gnome-extra/gnome-calendar/files/gnome-calendar-45.1-c99.patch23
-rw-r--r--gnome-extra/gnome-calendar/gnome-calendar-45.1-r1.ebuild51
3 files changed, 76 insertions, 0 deletions
diff --git a/gnome-extra/gnome-calendar/Manifest b/gnome-extra/gnome-calendar/Manifest
index 8b24172b4f2e..efb1b2df538f 100644
--- a/gnome-extra/gnome-calendar/Manifest
+++ b/gnome-extra/gnome-calendar/Manifest
@@ -1,3 +1,5 @@
+AUX gnome-calendar-45.1-c99.patch 713 BLAKE2B abbf128c1527b2c0996ceab29ae0fe8a77bcbaff57b5069a92ea9cadac3d72aee8d6ce443cdda6a070f4229ac660e999096b2a7b8eb35ffa5bfb910e000eba65 SHA512 4e7bc0ea05629ae95885edaf288a4571aad41113ef6c0a9c71174322efe7f5de75dd3c6090bbef87351003ad31b4fb123fae4560015fbdef3049b3950c1797e1
DIST gnome-calendar-45.1.tar.xz 456436 BLAKE2B 7d095314887c055834c6cbba13a6070eedf521b737976b46c184f09d1fd40ac1f07a436fd8d72174d0ea4cf070bc6acd6e0d81e2630839bd3774cdf751cdf1a4 SHA512 372abcf94c7b49980c9d1a5f7ee6cea1e34760337f2ab8886fdb3207fd3d87f4c45feecfa9156f6f8596f395af8d02469c2db53acf6b718735db94221af8c623
+EBUILD gnome-calendar-45.1-r1.ebuild 1056 BLAKE2B e778cd49de2c8606a2f02469aefef18aa2e405912cf14f64974c48d6ea421ca2f8b0cf2b8cd5342f921d88f1bbc8d411479652f9ccf46235db0b3d8a8cfc1ec3 SHA512 84be06e77403b5ff6623df4df793cfa11422b21b252a168421a26dc657b839287d153f3073dbfe1f7ab977d3bdf46f69c3e75e62db1fd1a7610c140edd1819a6
EBUILD gnome-calendar-45.1.ebuild 995 BLAKE2B 493851027d027874fba596e3aadab902b0df238859dc17fc78fc4f770ee0e4a72cc29ee005e4ad75ee6ca6b4487a95d79e8b33fa8341e5e00aa88313bdc37303 SHA512 6050374b376b4cdcea9ae10f8cd2d570a250f3732f7f24e2752ea75abb4984172b1cc7c3e2e02ddb1fd7fb71d782063fcf819dabd98b04794bab300c1d28a6d4
MISC metadata.xml 641 BLAKE2B 5cdd6f1f7445a7120c135c9401ea6bacaa6386ab797191e293ce6fddb1ecd2f7829c6854f39d5ca085ae6c7c0c6f737d59da26fa8104398e3ca81c451430510a SHA512 9bd92483720db367fdeee389c7b5a0ef7c2a8c3c9970bac891ef3978c0cfd3357588b5df1cde8276763742d3f4f81dc41ea221e74a4b03618f2a5f2bb2226432
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
+}