svn commit: r559818 - in head/deskutils: . elementary-calendar elementary-calendar/files
Kurt Jaeger
pi at FreeBSD.org
Fri Jan 1 09:56:23 UTC 2021
Author: pi
Date: Fri Jan 1 09:56:21 2021
New Revision: 559818
URL: https://svnweb.freebsd.org/changeset/ports/559818
Log:
New port: deskutils/elementary-calendar: Desktop calendar app designed for elementary OS
Desktop calendar app designed for elementary OS.
WWW: https://github.com/elementary/calendar
PR: 252185
Submitted by: Neel Chauhan <neel at neelc.org>
Added:
head/deskutils/elementary-calendar/
head/deskutils/elementary-calendar/Makefile (contents, props changed)
head/deskutils/elementary-calendar/distinfo (contents, props changed)
head/deskutils/elementary-calendar/files/
head/deskutils/elementary-calendar/files/patch-core_Services_Calendar_EventStore.vala (contents, props changed)
head/deskutils/elementary-calendar/pkg-descr (contents, props changed)
head/deskutils/elementary-calendar/pkg-plist (contents, props changed)
Modified:
head/deskutils/Makefile
Modified: head/deskutils/Makefile
==============================================================================
--- head/deskutils/Makefile Fri Jan 1 09:42:22 2021 (r559817)
+++ head/deskutils/Makefile Fri Jan 1 09:56:21 2021 (r559818)
@@ -47,6 +47,7 @@
SUBDIR += dstask
SUBDIR += easystroke
SUBDIR += egroupware
+ SUBDIR += elementary-calendar
SUBDIR += fasd
SUBDIR += fbreader
SUBDIR += fet
Added: head/deskutils/elementary-calendar/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/deskutils/elementary-calendar/Makefile Fri Jan 1 09:56:21 2021 (r559818)
@@ -0,0 +1,35 @@
+# $FreeBSD$
+
+PORTNAME= elementary-calendar
+DISTVERSION= 5.1.1
+CATEGORIES= deskutils
+
+MAINTAINER= neel at neelc.org
+COMMENT= Desktop calendar app designed for elementary OS
+
+LICENSE= GPLv3+
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS= valac:lang/vala
+LIB_DEPENDS= libcanberra.so:audio/libcanberra \
+ libchamplain-0.12.so:graphics/libchamplain \
+ libclutter-1.0.so:graphics/clutter \
+ libedataserver-1.2.so:databases/evolution-data-server \
+ libfolks.so:net-im/folks \
+ libgee-0.8.so:devel/libgee \
+ libgeoclue-2.so:net/geoclue \
+ libgeocode-glib.so:net/geocode-glib \
+ libgranite.so:x11-toolkits/granite \
+ libhandy-1.so:x11-toolkits/libhandy \
+ libical.so:devel/libical \
+ libnotify.so:devel/libnotify
+
+USES= gnome meson pkgconfig
+USE_GITHUB= yes
+GH_ACCOUNT= elementary
+GH_PROJECT= calendar
+USE_GNOME= glib20 gtk30
+GLIB_SCHEMAS= io.elementary.calendar.gschema.xml
+INSTALLS_ICONS= yes
+
+.include <bsd.port.mk>
Added: head/deskutils/elementary-calendar/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/deskutils/elementary-calendar/distinfo Fri Jan 1 09:56:21 2021 (r559818)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1609034354
+SHA256 (elementary-calendar-5.1.1_GH0.tar.gz) = 59e9e775c355791f093580fab73e45a8b0581b70899c2bb89e870b9e89b39573
+SIZE (elementary-calendar-5.1.1_GH0.tar.gz) = 505188
Added: head/deskutils/elementary-calendar/files/patch-core_Services_Calendar_EventStore.vala
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/deskutils/elementary-calendar/files/patch-core_Services_Calendar_EventStore.vala Fri Jan 1 09:56:21 2021 (r559818)
@@ -0,0 +1,20 @@
+--- core/Services/Calendar/EventStore.vala.orig 2020-10-08 20:26:30 UTC
++++ core/Services/Calendar/EventStore.vala
+@@ -303,7 +303,7 @@ public class Calendar.EventStore : Object {
+ // number we want, so we convert the pointer address to a uint to get
+ // the data. Since the pointer address is actually data, using it as a
+ // pointer will segfault.
+- uint week_day1 = (uint) Posix.NLTime.WEEK_1STDAY.to_string ();
++ uint week_day1 = (uint) Posix.NLItem.DAY_1.to_string ();
+ var week_1stday = 0; // Default to 0 if unrecognized data
+ if (week_day1 == 19971130) { // Sunday
+ week_1stday = 0;
+@@ -322,7 +322,7 @@ public class Calendar.EventStore : Object {
+ // Get the start of week
+ // HACK This line produces a string of 3 bytes. It takes the raw value
+ // of the first one and uses that as the value of week_start.
+- int week_start_posix = Posix.NLTime.FIRST_WEEKDAY.to_string ().data[0];
++ int week_start_posix = Posix.NLItem.DAY_1.to_string ().data[0];
+
+ var week_start = week_start_posix + glib_offset;
+ if (week_start == 0) { // Sunday special case
Added: head/deskutils/elementary-calendar/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/deskutils/elementary-calendar/pkg-descr Fri Jan 1 09:56:21 2021 (r559818)
@@ -0,0 +1,3 @@
+Desktop calendar app designed for elementary OS.
+
+WWW: https://github.com/elementary/calendar
Added: head/deskutils/elementary-calendar/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/deskutils/elementary-calendar/pkg-plist Fri Jan 1 09:56:21 2021 (r559818)
@@ -0,0 +1,12 @@
+bin/io.elementary.calendar
+etc/xdg/autostart/io.elementary.calendar-daemon.desktop
+include/elementary-calendar/elementary-calendar.h
+lib/io.elementary.calendar/plugins/CalDAV/libcaldav.so
+lib/io.elementary.calendar/plugins/Google/libgoogle.so
+lib/libelementary-calendar.so
+lib/libelementary-calendar.so.0
+lib/libelementary-calendar.so.0.1
+libdata/pkgconfig/elementary-calendar.pc
+libexec/io.elementary.calendar-daemon
+share/vala/vapi/elementary-calendar.deps
+share/vala/vapi/elementary-calendar.vapi
More information about the svn-ports-all
mailing list