mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-05 11:35:01 +00:00
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@neelc.org>
This commit is contained in:
parent
745fa50929
commit
d37040dc83
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=559818
@ -47,6 +47,7 @@
|
||||
SUBDIR += dstask
|
||||
SUBDIR += easystroke
|
||||
SUBDIR += egroupware
|
||||
SUBDIR += elementary-calendar
|
||||
SUBDIR += fasd
|
||||
SUBDIR += fbreader
|
||||
SUBDIR += fet
|
||||
|
35
deskutils/elementary-calendar/Makefile
Normal file
35
deskutils/elementary-calendar/Makefile
Normal file
@ -0,0 +1,35 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= elementary-calendar
|
||||
DISTVERSION= 5.1.1
|
||||
CATEGORIES= deskutils
|
||||
|
||||
MAINTAINER= neel@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>
|
3
deskutils/elementary-calendar/distinfo
Normal file
3
deskutils/elementary-calendar/distinfo
Normal file
@ -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
|
@ -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
|
3
deskutils/elementary-calendar/pkg-descr
Normal file
3
deskutils/elementary-calendar/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
Desktop calendar app designed for elementary OS.
|
||||
|
||||
WWW: https://github.com/elementary/calendar
|
12
deskutils/elementary-calendar/pkg-plist
Normal file
12
deskutils/elementary-calendar/pkg-plist
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user