aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authoravilla <avilla@FreeBSD.org>2012-04-11 06:51:16 +0800
committeravilla <avilla@FreeBSD.org>2012-04-11 06:51:16 +0800
commit30b3e5daf33cac681f4a3b38e886d8119adbd907 (patch)
treeed39c263f4458fea16573aa868c9f39ff63a12e0 /databases
parent03ccf7f72e96c3254fec93c9fd4accbc91c59f80 (diff)
downloadfreebsd-ports-gnome-30b3e5daf33cac681f4a3b38e886d8119adbd907.tar.gz
freebsd-ports-gnome-30b3e5daf33cac681f4a3b38e886d8119adbd907.tar.zst
freebsd-ports-gnome-30b3e5daf33cac681f4a3b38e886d8119adbd907.zip
Akonadi Google is a set of Akonadi resources providing access to
various Google services like Google Contacts or Google Calendar from KDE-Pim applications. WWW: http://progdan.cz/category/akonadi-google
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/akonadi-google/Makefile35
-rw-r--r--databases/akonadi-google/distinfo2
-rw-r--r--databases/akonadi-google/files/patch-clang.diff43
-rw-r--r--databases/akonadi-google/pkg-descr5
-rw-r--r--databases/akonadi-google/pkg-plist37
6 files changed, 123 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index bcd1dbe1fd6f..7422420d643a 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -11,6 +11,7 @@
SUBDIR += adodb5
SUBDIR += adstudio
SUBDIR += akonadi
+ SUBDIR += akonadi-google
SUBDIR += akonadi-googledata
SUBDIR += animenfo-client
SUBDIR += animenfo-client-gtk
diff --git a/databases/akonadi-google/Makefile b/databases/akonadi-google/Makefile
new file mode 100644
index 000000000000..6204453c86ec
--- /dev/null
+++ b/databases/akonadi-google/Makefile
@@ -0,0 +1,35 @@
+# New ports collection Makefile for: akonadi-google
+# Date created: 10 April 2012
+# Whom: Alberto Villa <avilla@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= akonadi-google
+PORTVERSION= 0.3.0
+CATEGORIES= databases kde
+MASTER_SITES= http://www.progdan.cz/wp-content/uploads/
+DISTNAME= ${PORTNAME}-${PORTVERSION:R}
+
+MAINTAINER= avilla@FreeBSD.org
+COMMENT= Akonadi resources for accessing Google services
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+LIB_DEPENDS= qjson.0:${PORTSDIR}/devel/qjson
+BUILD_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt
+
+USE_KDE4= kdehier kdelibs kdeprefix pimlibs automoc4
+USE_QT_VER= 4
+QT_COMPONENTS= dbus gui network webkit xml \
+ moc_build qmake_build rcc_build uic_build
+USE_CMAKE= yes
+MAKE_JOBS_SAFE= yes
+USE_LDCONFIG= yes
+
+pre-configure:
+ ${REINPLACE_CMD} -e '/pkgconfig/ s/$${LIB_INSTALL_DIR}/libdata/' \
+ ${WRKSRC}/libkgoogle/CMakeLists.txt
+
+.include <bsd.port.mk>
diff --git a/databases/akonadi-google/distinfo b/databases/akonadi-google/distinfo
new file mode 100644
index 000000000000..88de4669116e
--- /dev/null
+++ b/databases/akonadi-google/distinfo
@@ -0,0 +1,2 @@
+SHA256 (akonadi-google-0.3.tar.gz) = 797430ad841fd15759f8bbea6849456c3913e8c6e2c48440b670d96528c009a2
+SIZE (akonadi-google-0.3.tar.gz) = 155492
diff --git a/databases/akonadi-google/files/patch-clang.diff b/databases/akonadi-google/files/patch-clang.diff
new file mode 100644
index 000000000000..2198d2f1c2c3
--- /dev/null
+++ b/databases/akonadi-google/files/patch-clang.diff
@@ -0,0 +1,43 @@
+From: Christophe Giboudeaux <cgiboudeaux@gmx.com>
+Date: Mon, 02 Apr 2012 12:38:56 +0000
+Subject: Build with Clang.
+X-Git-Url: http://quickgit.kde.org/?p=akonadi-google.git&amp;a=commitdiff&amp;h=3e0a93e1b24cd7b6e394cf76d153c428246f9fa9
+---
+Build with Clang.
+Exception is ambiguous. It's defined in both common.h and kdepimlibs/akonadi/exception.h
+---
+
+
+--- ./calendar/calendarresource.cpp
++++ ./calendar/calendarresource.cpp
+@@ -141,7 +141,7 @@ void CalendarResource::configure(WId win
+ try {
+ Auth *auth = Auth::instance();
+ m_account = auth->getAccount(Settings::self()->account());
+- } catch (Exception::BaseException &e) {
++ } catch (KGoogle::Exception::BaseException &e) {
+ emit status(Broken, e.what());
+ delete settingsDialog;
+ return;
+
+--- ./contacts/contactsresource.cpp
++++ ./contacts/contactsresource.cpp
+@@ -87,7 +87,7 @@ ContactsResource::ContactsResource(const
+ if (!Settings::self()->account().isEmpty()) {
+ try {
+ m_account = auth->getAccount(Settings::self()->account());
+- } catch (Exception::BaseException &e) {
++ } catch (KGoogle::Exception::BaseException &e) {
+ emit status(Broken, e.what());
+ return;
+ }
+@@ -137,7 +137,7 @@ void ContactsResource::configure(WId win
+ try {
+ Auth *auth = Auth::instance();
+ m_account = auth->getAccount(Settings::self()->account());
+- } catch (Exception::BaseException &e) {
++ } catch (KGoogle::Exception::BaseException &e) {
+ emit status(Broken, e.what());
+ delete settingsDialog;
+ return;
+
diff --git a/databases/akonadi-google/pkg-descr b/databases/akonadi-google/pkg-descr
new file mode 100644
index 000000000000..087dbc9976db
--- /dev/null
+++ b/databases/akonadi-google/pkg-descr
@@ -0,0 +1,5 @@
+Akonadi Google is a set of Akonadi resources providing access to
+various Google services like Google Contacts or Google Calendar from
+KDE-Pim applications.
+
+WWW: http://progdan.cz/category/akonadi-google
diff --git a/databases/akonadi-google/pkg-plist b/databases/akonadi-google/pkg-plist
new file mode 100644
index 000000000000..da390b8509dd
--- /dev/null
+++ b/databases/akonadi-google/pkg-plist
@@ -0,0 +1,37 @@
+bin/akonadi_googlecalendar_resource
+bin/akonadi_googlecontacts_resource
+include/libkgoogle/accessmanager.h
+include/libkgoogle/account.h
+include/libkgoogle/auth.h
+include/libkgoogle/common.h
+include/libkgoogle/fetchlistjob.h
+include/libkgoogle/libkgoogle_export.h
+include/libkgoogle/object.h
+include/libkgoogle/objects/accountinfo.h
+include/libkgoogle/objects/calendar.h
+include/libkgoogle/objects/contact.h
+include/libkgoogle/objects/contactsgroup.h
+include/libkgoogle/objects/event.h
+include/libkgoogle/objects/task.h
+include/libkgoogle/objects/tasklist.h
+include/libkgoogle/reply.h
+include/libkgoogle/request.h
+include/libkgoogle/service.h
+include/libkgoogle/services/accountinfo.h
+include/libkgoogle/services/calendar.h
+include/libkgoogle/services/contacts.h
+include/libkgoogle/services/tasks.h
+include/libkgoogle/ui/accountscombo.h
+lib/libkgoogle.so
+lib/libkgoogle.so.0
+lib/libkgoogle.so.0.3.0
+libdata/pkgconfig/libkgoogle.pc
+share/akonadi/agents/googlecalendarresource.desktop
+share/akonadi/agents/googlecontactsresource.desktop
+share/apps/cmake/modules/FindLibKGoogle.cmake
+@dirrmtry share/akonadi/agents
+@dirrmtry share/akonadi
+@dirrm include/libkgoogle/ui
+@dirrm include/libkgoogle/services
+@dirrm include/libkgoogle/objects
+@dirrm include/libkgoogle