Remove libgcal and akonadi-googledata.
According to the libgcal homepage, it is written against the Google Calendar v2 API, which was shut down by Google in 2014. The homepage declares the author's intent to halt development. ok landry@ rsadowski@ sthen@
This commit is contained in:
parent
f46625be16
commit
578bba8362
@ -1,8 +1,7 @@
|
||||
# $OpenBSD: Makefile,v 1.77 2017/09/15 13:44:51 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.78 2018/01/05 07:15:31 bentley Exp $
|
||||
|
||||
SUBDIR =
|
||||
SUBDIR += akonadi
|
||||
SUBDIR += akonadi-googledata
|
||||
SUBDIR += aqbanking
|
||||
SUBDIR += attica
|
||||
SUBDIR += baikal
|
||||
@ -24,7 +23,6 @@
|
||||
SUBDIR += kmymoney
|
||||
SUBDIR += ledger
|
||||
SUBDIR += libalkimia
|
||||
SUBDIR += libgcal
|
||||
SUBDIR += libkfbapi
|
||||
SUBDIR += libkgapi
|
||||
SUBDIR += librcps
|
||||
|
@ -1,33 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2017/11/21 00:13:03 naddy Exp $
|
||||
|
||||
CATEGORIES = productivity
|
||||
COMMENT = Google contacts/calendar connector for Akonadi
|
||||
DISTNAME = akonadi-googledata-1.2.0
|
||||
REVISION = 2
|
||||
|
||||
HOMEPAGE = https://code.google.com/p/libgcal/
|
||||
|
||||
WANTLIB = c m pthread
|
||||
WANTLIB += lib/qt4/QtDBus lib/qt4/QtGui lib/qt4/QtNetwork
|
||||
WANTLIB += lib/qt4/QtSvg lib/qt4/QtXml
|
||||
WANTLIB += ${KDE4LIB}/akonadi-kde ${KDE4LIB}/kabc ${KDE4LIB}/kcal
|
||||
WANTLIB += ${KDE4LIB}/kdeui ${KDE4LIB}/kio ${KDE4LIB}/kresources
|
||||
WANTLIB += gcal iconv intl
|
||||
WANTLIB += ${COMPILER_LIBCXX}
|
||||
|
||||
MASTER_SITES = ${MASTER_SITE_GOOGLECODE:=libgcal/}
|
||||
EXTRACT_SUFX = .tar.bz2
|
||||
|
||||
# LGPLv2.1+
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
MODULES = x11/kde4
|
||||
MODKDE4_USE = pim
|
||||
|
||||
BUILD_DEPENDS = devel/boost \
|
||||
devel/gettext-tools \
|
||||
textproc/libxslt
|
||||
|
||||
LIB_DEPENDS = productivity/libgcal
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,2 +0,0 @@
|
||||
SHA256 (akonadi-googledata-1.2.0.tar.bz2) = ssKeeOHG2f+8UFIRPTm9Eid4A7905MpwyAXilj8PiXQ=
|
||||
SIZE (akonadi-googledata-1.2.0.tar.bz2) = 126372
|
@ -1,14 +0,0 @@
|
||||
Akonadi-googledata allows you to syncronize Akonadi with your Google
|
||||
calendar and contacts.
|
||||
|
||||
Passwords will be stored in KWallet, for while only 1 account is
|
||||
allowed. For hosted accounts (i.e. joe.bar@whatever.com), just input
|
||||
the whole username plus server name in configuration dialog (i.e.
|
||||
joe.bar@whatever.com). For normal google accounts (i.e. joe@gmail.com),
|
||||
just the username is required (i.e. joe).
|
||||
|
||||
Only the main calendar is supported.
|
||||
|
||||
Recurrent events are not supported, the reason: Google uses an
|
||||
invalid iCal inside of the XML to represent recurrence).
|
||||
http://code.google.com/apis/calendar/data/2.0/developers_guide_protocol.html#CreatingRecurring
|
@ -1,47 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2014/07/09 10:52:54 zhuk Exp $
|
||||
@bin bin/akonadi_gcal_resource
|
||||
@bin bin/akonadi_googledata_resource
|
||||
share/akonadi/agents/gcalresource.desktop
|
||||
share/akonadi/agents/googledataresource.desktop
|
||||
share/locale/bg/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/ca/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/ca@valencia/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/cs/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/da/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/de/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/en_GB/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/eo/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/es/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/et/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/fi/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/fr/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/ga/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/gl/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/hr/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/hu/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/is/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/ja/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/km/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/lt/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/lv/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/nb/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/nds/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/nl/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/pt/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/pt_BR/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/ro/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/sk/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/sr/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/sr@ijekavian/
|
||||
share/locale/sr@ijekavian/LC_MESSAGES/
|
||||
share/locale/sr@ijekavian/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/sr@ijekavianlatin/
|
||||
share/locale/sr@ijekavianlatin/LC_MESSAGES/
|
||||
share/locale/sr@ijekavianlatin/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/sr@latin/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/sv/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/th/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/tr/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/uk/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/zh_CN/LC_MESSAGES/akonadi_gcal_resource.mo
|
||||
share/locale/zh_TW/LC_MESSAGES/akonadi_gcal_resource.mo
|
@ -1,28 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2017/11/21 00:13:03 naddy Exp $
|
||||
|
||||
CATEGORIES = productivity devel
|
||||
COMMENT = C library for Google calendar and contacts
|
||||
DISTNAME = libgcal-0.9.6
|
||||
HOMEPAGE = https://code.google.com/p/libgcal/
|
||||
REVISION = 4
|
||||
|
||||
SHARED_LIBS = gcal 0.0
|
||||
|
||||
# BSDL
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
WANTLIB = crypto curl iconv intl lzma m nghttp2 pthread ssl xml2 z
|
||||
|
||||
MASTER_SITES = ${MASTER_SITE_GOOGLECODE:=libgcal/}
|
||||
EXTRACT_SUFX = .tar.bz2
|
||||
|
||||
CONFIGURE_STYLE = gnu
|
||||
|
||||
BUILD_DEPENDS = devel/check
|
||||
LIB_DEPENDS = devel/gettext \
|
||||
net/curl \
|
||||
textproc/libxml
|
||||
|
||||
SEPARATE_BUILD = Yes
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,2 +0,0 @@
|
||||
SHA256 (libgcal-0.9.6.tar.bz2) = MZfXbEYkONCnYcR9GZ5AK52fBfhqf5wwQxOnnsxaFQM=
|
||||
SIZE (libgcal-0.9.6.tar.bz2) = 555942
|
@ -1,67 +0,0 @@
|
||||
$OpenBSD: patch-src_atom_parser_c,v 1.1.1.1 2014/07/09 10:51:26 zhuk Exp $
|
||||
BUG: https://code.google.com/p/libgcal/issues/detail?id=95
|
||||
--- src/atom_parser.c.orig Fri Jan 24 15:26:28 2014
|
||||
+++ src/atom_parser.c Fri Jan 24 15:45:30 2014
|
||||
@@ -235,7 +235,7 @@ static int extract_and_check_multi(xmlDoc *doc, char *
|
||||
{
|
||||
xmlXPathObject *xpath_obj;
|
||||
xmlNodeSet *node;
|
||||
- xmlChar *tmp;
|
||||
+ xmlChar *tmp, *tmp2;
|
||||
int result = -1;
|
||||
int i;
|
||||
|
||||
@@ -265,11 +265,11 @@ static int extract_and_check_multi(xmlDoc *doc, char *
|
||||
goto exit;
|
||||
}
|
||||
|
||||
- *values = (char **)malloc(node->nodeNr * sizeof(char*));
|
||||
+ *values = calloc(node->nodeNr, sizeof(char*));
|
||||
if (attr2)
|
||||
- *types = (char **)malloc(node->nodeNr * sizeof(char*));
|
||||
+ *types = calloc(node->nodeNr, sizeof(char*));
|
||||
if (attr3)
|
||||
- *protocols = (char **)malloc(node->nodeNr * sizeof(char*));
|
||||
+ *protocols = calloc(node->nodeNr, sizeof(char*));
|
||||
|
||||
for (i = 0; i < node->nodeNr; i++) {
|
||||
if (getContent)
|
||||
@@ -282,7 +282,8 @@ static int extract_and_check_multi(xmlDoc *doc, char *
|
||||
if (attr2) {
|
||||
if (xmlHasProp(node->nodeTab[i], attr2)) {
|
||||
tmp = xmlGetProp(node->nodeTab[i], attr2);
|
||||
- (*types)[i] = strdup(strchr(tmp,'#') + 1);
|
||||
+ tmp2 = strchr(tmp,'#');
|
||||
+ (*types)[i] = strdup(tmp2 ? tmp2 : "");
|
||||
xmlFree(tmp);
|
||||
}
|
||||
else
|
||||
@@ -292,7 +293,8 @@ static int extract_and_check_multi(xmlDoc *doc, char *
|
||||
if (attr3) {
|
||||
if (xmlHasProp(node->nodeTab[i], attr3)) {
|
||||
tmp = xmlGetProp(node->nodeTab[i], attr3);
|
||||
- (*protocols)[i] = strdup(strchr(tmp,'#') + 1);
|
||||
+ tmp2 = strchr(tmp,'#');
|
||||
+ (*protocols)[i] = strdup(tmp2 ? tmp2 : "");
|
||||
xmlFree(tmp);
|
||||
}
|
||||
else
|
||||
@@ -323,7 +325,7 @@ static int extract_and_check_multisub(xmlDoc *doc, cha
|
||||
xmlXPathObject *xpath_obj;
|
||||
xmlNodeSet *node;
|
||||
xmlNode *child, *cur_node;
|
||||
- xmlChar *tmp;
|
||||
+ xmlChar *tmp, *tmp2;
|
||||
struct gcal_structured_subvalues *tempval;
|
||||
int result = -1;
|
||||
int i;
|
||||
@@ -383,7 +385,8 @@ static int extract_and_check_multisub(xmlDoc *doc, cha
|
||||
if (attr1) {
|
||||
if (xmlHasProp(node->nodeTab[i], attr1)) {
|
||||
tmp = xmlGetProp(node->nodeTab[i], attr1);
|
||||
- (*types)[i] = strdup(strchr(tmp,'#') + 1);
|
||||
+ tmp2 = strchr(tmp,'#');
|
||||
+ (*types)[i] = strdup(tmp2 ? tmp2 : "");
|
||||
xmlFree(tmp);
|
||||
} else
|
||||
(*types)[i] = strdup("");
|
@ -1,19 +0,0 @@
|
||||
libgcal is an ANSI C library that does allow communication with
|
||||
google calendar and contacts, useful if you need to support this
|
||||
in a C or C++ application.
|
||||
|
||||
Currently, libgcal implements:
|
||||
|
||||
- authentication
|
||||
- get all events/contacts
|
||||
- atom stream parsing
|
||||
- access to individual events/contacts
|
||||
- add/delete/edit using gcal objects
|
||||
- add/delete/edit using raw XML
|
||||
- query for updated events/contacts
|
||||
- timezone
|
||||
- contact photo download/upload
|
||||
|
||||
What is missing: batch commit, calendar (creation of recurrent
|
||||
events), support other calendars (only the main calendar is currently
|
||||
supported).
|
@ -1,15 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.2 2015/05/22 11:31:18 ajacoutot Exp $
|
||||
include/libgcal/
|
||||
include/libgcal/atom_parser.h
|
||||
include/libgcal/gcal.h
|
||||
include/libgcal/gcal_parser.h
|
||||
include/libgcal/gcal_status.h
|
||||
include/libgcal/gcalendar.h
|
||||
include/libgcal/gcont.h
|
||||
include/libgcal/gcontact.h
|
||||
include/libgcal/internal_gcal.h
|
||||
include/libgcal/xml_aux.h
|
||||
lib/libgcal.a
|
||||
lib/libgcal.la
|
||||
@lib lib/libgcal.so.${LIBgcal_VERSION}
|
||||
lib/pkgconfig/libgcal.pc
|
Loading…
Reference in New Issue
Block a user