Hi,

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 to remove libgcal (and akonadi-googledata, which is part of the
same codebase)?

Index: Makefile
===================================================================
RCS file: /cvs/ports/productivity/Makefile,v
retrieving revision 1.77
diff -u -p -r1.77 Makefile
--- Makefile    15 Sep 2017 13:44:51 -0000      1.77
+++ Makefile    4 Jan 2018 08:51:29 -0000
@@ -2,7 +2,6 @@
 
      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
Index: akonadi-googledata/Makefile
===================================================================
RCS file: akonadi-googledata/Makefile
diff -N akonadi-googledata/Makefile
--- akonadi-googledata/Makefile 21 Nov 2017 00:13:03 -0000      1.8
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -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>
Index: akonadi-googledata/distinfo
===================================================================
RCS file: akonadi-googledata/distinfo
diff -N akonadi-googledata/distinfo
--- akonadi-googledata/distinfo 9 Jul 2014 10:52:54 -0000       1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,2 +0,0 @@
-SHA256 (akonadi-googledata-1.2.0.tar.bz2) = 
ssKeeOHG2f+8UFIRPTm9Eid4A7905MpwyAXilj8PiXQ=
-SIZE (akonadi-googledata-1.2.0.tar.bz2) = 126372
Index: akonadi-googledata/pkg/DESCR
===================================================================
RCS file: akonadi-googledata/pkg/DESCR
diff -N akonadi-googledata/pkg/DESCR
--- akonadi-googledata/pkg/DESCR        9 Jul 2014 10:52:54 -0000       1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -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. [email protected]), just input
-the whole username plus server name in configuration dialog (i.e.
[email protected]). For normal google accounts (i.e. [email protected]),
-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
Index: akonadi-googledata/pkg/PLIST
===================================================================
RCS file: akonadi-googledata/pkg/PLIST
diff -N akonadi-googledata/pkg/PLIST
--- akonadi-googledata/pkg/PLIST        9 Jul 2014 10:52:54 -0000       1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -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
Index: libgcal/Makefile
===================================================================
RCS file: libgcal/Makefile
diff -N libgcal/Makefile
--- libgcal/Makefile    21 Nov 2017 00:13:03 -0000      1.8
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -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>
Index: libgcal/distinfo
===================================================================
RCS file: libgcal/distinfo
diff -N libgcal/distinfo
--- libgcal/distinfo    9 Jul 2014 10:51:26 -0000       1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,2 +0,0 @@
-SHA256 (libgcal-0.9.6.tar.bz2) = MZfXbEYkONCnYcR9GZ5AK52fBfhqf5wwQxOnnsxaFQM=
-SIZE (libgcal-0.9.6.tar.bz2) = 555942
Index: libgcal/patches/patch-src_atom_parser_c
===================================================================
RCS file: libgcal/patches/patch-src_atom_parser_c
diff -N libgcal/patches/patch-src_atom_parser_c
--- libgcal/patches/patch-src_atom_parser_c     9 Jul 2014 10:51:26 -0000       
1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -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("");
Index: libgcal/pkg/DESCR
===================================================================
RCS file: libgcal/pkg/DESCR
diff -N libgcal/pkg/DESCR
--- libgcal/pkg/DESCR   9 Jul 2014 10:51:26 -0000       1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -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).
Index: libgcal/pkg/PLIST
===================================================================
RCS file: libgcal/pkg/PLIST
diff -N libgcal/pkg/PLIST
--- libgcal/pkg/PLIST   22 May 2015 11:31:18 -0000      1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -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

Reply via email to