california: remove

Upstream has been dead for years and it can't be built with newer
VALAs

closes #6232

Co-authored-by: Rasmus Thomsen <rasmus.thomsen@protonmail.com>
This commit is contained in:
maxice8 2018-12-27 01:05:10 -02:00
parent c8344929df
commit e43861837c
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B
4 changed files with 8 additions and 72 deletions

View file

@ -0,0 +1 @@
california is no longer provided by Void Linux, and will be fully removed from the repos on 2019/03/27

View file

@ -1,37 +0,0 @@
diff --git a/src/backing/eds/backing-eds-calendar-source.vala b/src/backing/eds/backing-eds-calendar-source.vala
index 7e30e08..eba3ac6 100644
--- a/src/backing/eds/backing-eds-calendar-source.vala
+++ b/src/backing/eds/backing-eds-calendar-source.vala
@@ -257,7 +257,7 @@ internal class EdsCalendarSource : CalendarSource {
// Invoked by EdsStore prior to making it available outside of unit
internal async void open_async(Cancellable? cancellable) throws Error {
client = (E.CalClient) yield E.CalClient.connect(eds_source, E.CalClientSourceType.EVENTS,
- cancellable);
+ 30, cancellable);
client.bind_property("readonly", this, PROP_READONLY, BindingFlags.SYNC_CREATE);
client.notify["readonly"].connect(() => {
diff --git a/vapi/libecal-1.2.vapi b/vapi/libecal-1.2.vapi
index 6ead3ec..1f39d14 100644
--- a/vapi/libecal-1.2.vapi
+++ b/vapi/libecal-1.2.vapi
@@ -23,8 +23,8 @@ namespace E {
public bool check_save_schedules ();
public static bool check_timezones (iCal.icalcomponent comp, GLib.List comps, GLib.Callback tzlookup, void* ecalclient, GLib.Cancellable cancellable) throws GLib.Error;
[CCode (finish_name = "e_cal_client_connect_finish")]
- public static async unowned E.Client connect (E.Source source, E.CalClientSourceType source_type, GLib.Cancellable cancellable) throws GLib.Error;
- public static unowned E.Client connect_sync (E.Source source, E.CalClientSourceType source_type, GLib.Cancellable cancellable) throws GLib.Error;
+ public static async unowned E.Client connect (E.Source source, E.CalClientSourceType source_type, uint32 wait_for_connected_seconds, GLib.Cancellable cancellable) throws GLib.Error;
+ public static unowned E.Client connect_sync (E.Source source, E.CalClientSourceType source_type, uint32 wait_for_connected_seconds, GLib.Cancellable cancellable) throws GLib.Error;
[CCode (finish_name = "e_cal_client_create_object_finish")]
public async void create_object (iCal.icalcomponent icalcomp, GLib.Cancellable? cancellable, out string out_uid) throws GLib.Error;
public bool create_object_sync (iCal.icalcomponent icalcomp, out string out_uid, GLib.Cancellable? cancellable) throws GLib.Error;
@@ -599,6 +599,8 @@ namespace E {
[CCode (cheader_filename = "libecal/libecal.h")]
public const string CAL_STATIC_CAPABILITY_NO_GEN_OPTIONS;
[CCode (cheader_filename = "libecal/libecal.h")]
+ public const string CAL_STATIC_CAPABILITY_NO_MEMO_START_DATE;
+ [CCode (cheader_filename = "libecal/libecal.h")]
public const string CAL_STATIC_CAPABILITY_NO_ORGANIZER;
[CCode (cheader_filename = "libecal/libecal.h")]
public const string CAL_STATIC_CAPABILITY_NO_PROCEDURE_ALARMS;

View file

@ -1,22 +0,0 @@
--- california-0.4.0/src/application/california-application.vala 2015-03-24 00:36:24.000000000 +0100
+++ california-0.4.0/src/application/california-application.vala 2017-02-12 16:21:50.338328785 +0100
@@ -55,7 +55,7 @@
}
}
- private static const ActionEntry[] action_entries = {
+ private const ActionEntry[] action_entries = {
// public actions
{ ACTION_CALENDAR_MANAGER, on_calendar_manager },
{ ACTION_HELP, on_help },
--- california-0.4.0/src/host/host-main-window.vala 2015-03-24 00:36:24.000000000 +0100
+++ california-0.4.0/src/host/host-main-window.vala 2017-02-12 16:22:17.723370162 +0100
@@ -71,7 +71,7 @@
private const string ACTION_RESET_FONT = "reset-font";
private const string ACCEL_RESET_FONT = "KP_Multiply";
- private static const ActionEntry[] action_entries = {
+ private const ActionEntry[] action_entries = {
{ ACTION_QUICK_CREATE_EVENT, on_quick_create_event },
{ ACTION_JUMP_TO_TODAY, on_jump_to_today },
{ ACTION_NEXT, on_next },

View file

@ -1,15 +1,9 @@
# Template file for 'california'
pkgname="california"
version="0.4.0"
revision=3
build_style=gnu-configure
short_desc="A new calendar application for GNOME 3"
maintainer="Luca - <elroncio@gmx.it>"
license="LGPL-2.1"
patch_args="-p1"
pkgname=california
version=0.4.0
revision=4
noarch=yes
build_style=meta
short_desc="A new calendar application for GNOME 3 (removed package)"
license="metapackage"
homepage="https://wiki.gnome.org/Apps/California"
hostmakedepends="pkg-config intltool itstool vala xdg-utils yelp-tools gobject-introspection"
makedepends="libgee08-devel evolution-data-server-devel gtk+3-devel"
distfiles="$GNOME_SITE/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum="b25f356363a9f8f8f93c7ab78af02de39f9c3b71964663129ac9904de9147eb6"
nocross="gobject-introspection cannot be cross compiled"