summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2008-01-30 09:35:55 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2008-01-30 09:35:55 +0800
commit1f2eaa29c03a638654a502a5f70394dcc4eb8271 (patch)
tree9ada71caabdff93a6a309ffa038a8eb9ba5bdbf1 /www
parentccd33811656176504cbb62abac7082f2a3a412d1 (diff)
downloadmarcuscom-ports-1f2eaa29c03a638654a502a5f70394dcc4eb8271.tar.gz
marcuscom-ports-1f2eaa29c03a638654a502a5f70394dcc4eb8271.tar.zst
marcuscom-ports-1f2eaa29c03a638654a502a5f70394dcc4eb8271.zip
Fix the build with libsoup 2.4. This patch was took from its SVN.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10298 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www')
-rw-r--r--www/evolution-webcal/Makefile35
-rw-r--r--www/evolution-webcal/distinfo3
-rw-r--r--www/evolution-webcal/files/patch-libsoup2462
-rw-r--r--www/evolution-webcal/pkg-descr7
-rw-r--r--www/evolution-webcal/pkg-plist96
5 files changed, 203 insertions, 0 deletions
diff --git a/www/evolution-webcal/Makefile b/www/evolution-webcal/Makefile
new file mode 100644
index 000000000..4c7d22a25
--- /dev/null
+++ b/www/evolution-webcal/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: evolution-webcal
+# Date created: Mon Apr 26 18:08:00 CEST 2004
+# Whom: Koop Mast <kwm@rainbow-runner.nl>
+#
+# $FreeBSD$
+# $MCom$
+#
+
+PORTNAME= evolution-webcal
+PORTVERSION= 2.12.0
+CATEGORIES= www gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PKGNAMEPREFIX}${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Webcal(endar) handler for gnome
+
+USE_XLIB= yes
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_GETTEXT= yes
+USE_PERL5= yes
+USE_GNOME= gnomeprefix gnomehack intlhack evolutiondataserver libgnomeui
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+GCONF_SCHEMAS= evolution-webcal.schemas
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|@mkdir_p@|mkdir -p|g' \
+ ${WRKSRC}/po/Makefile.in.in
+
+.include <bsd.port.mk>
diff --git a/www/evolution-webcal/distinfo b/www/evolution-webcal/distinfo
new file mode 100644
index 000000000..882d3aec8
--- /dev/null
+++ b/www/evolution-webcal/distinfo
@@ -0,0 +1,3 @@
+MD5 (evolution-webcal-2.12.0.tar.bz2) = 21e77fa081decb87ce641f3a77245864
+SHA256 (evolution-webcal-2.12.0.tar.bz2) = f8445c3d93af4f8f4f325c5eb3fa94093f9eb299171a0983056d069e9658fc00
+SIZE (evolution-webcal-2.12.0.tar.bz2) = 193553
diff --git a/www/evolution-webcal/files/patch-libsoup24 b/www/evolution-webcal/files/patch-libsoup24
new file mode 100644
index 000000000..4c8be1add
--- /dev/null
+++ b/www/evolution-webcal/files/patch-libsoup24
@@ -0,0 +1,62 @@
+--- trunk/src/evolution-webcal-main.c 2008/01/14 11:00:46 410
++++ src/evolution-webcal-main.c 2008/01/17 14:55:45 411
+@@ -45,7 +45,7 @@
+
+ comp = icalparser_parse_string (body);
+ if (comp == NULL) {
+- SoupUri * tmpuri;
++ SoupURI * tmpuri;
+ gchar * message, * tmpname;
+
+ tmpuri = soup_uri_new (uri);
+@@ -100,16 +100,15 @@
+ bonobo_main_quit ();
+ }
+
+-static void e_webcal_read (SoupMessage * msg, gpointer data) {
+- const SoupUri * tmpuri;
++static void e_webcal_read (SoupSession *session, SoupMessage * msg, gpointer data) {
++ const SoupURI * tmpuri;
+ const gchar * uri = (const gchar *) data;
+ const gchar * header;
+- gchar * body;
+
+ tmpuri = soup_message_get_uri (msg);
+
+ if (SOUP_STATUS_IS_REDIRECTION (msg->status_code)) {
+- header = soup_message_get_header (msg->response_headers, "Location");
++ header = soup_message_headers_get (msg->response_headers, "Location");
+ if (header) {
+ e_webcal_open_cal_http (header, uri);
+ }
+@@ -154,9 +153,7 @@
+ return;
+ }
+
+- body = g_strndup (msg->response.body, msg->response.length);
+- e_webcal_load (body, uri);
+- g_free (body);
++ e_webcal_load (msg->response_body->data, uri);
+
+ g_free (data);
+ }
+@@ -188,7 +185,7 @@
+ soup_message_set_flags (message, SOUP_MESSAGE_NO_REDIRECT);
+
+ soup_session_queue_message (session, message,
+- (SoupMessageCallbackFn) e_webcal_read,
++ (SoupSessionCallback) e_webcal_read,
+ (gpointer) olduri);
+ }
+
+--- trunk/src/evolution-webcal-notify.c 2008/01/14 11:00:46 410
++++ src/evolution-webcal-notify.c 2008/01/17 14:55:45 411
+@@ -249,7 +249,7 @@
+ GtkWidget * rlabel, * clabel;
+ GtkWidget * cbutton;
+ GtkWidget * label, * button;
+- SoupUri * tmpuri;
++ SoupURI * tmpuri;
+ gchar * tmpname;
+ gchar * icofile, * mrkname, * ref_str;
+ gint ref_timeout, ref_multi;
diff --git a/www/evolution-webcal/pkg-descr b/www/evolution-webcal/pkg-descr
new file mode 100644
index 000000000..ab2f04e9d
--- /dev/null
+++ b/www/evolution-webcal/pkg-descr
@@ -0,0 +1,7 @@
+Evolution Webcal installs a GNOME URL Handler for "webcal:".
+This will pop up a subscription dialog when you point your web browser at it.
+The calendars will automaticaly appear in Evolution 1.5.x if it is running,
+or will show up the next time you start Evolution.
+
+It also works for non-GNOME applications. These applications need to set
+there URL handler to be "gnome-open".
diff --git a/www/evolution-webcal/pkg-plist b/www/evolution-webcal/pkg-plist
new file mode 100644
index 000000000..82f6d353b
--- /dev/null
+++ b/www/evolution-webcal/pkg-plist
@@ -0,0 +1,96 @@
+libexec/evolution-webcal
+share/locale/ar/LC_MESSAGES/evolution-webcal.mo
+share/locale/as/LC_MESSAGES/evolution-webcal.mo
+share/locale/az/LC_MESSAGES/evolution-webcal.mo
+share/locale/bg/LC_MESSAGES/evolution-webcal.mo
+share/locale/bn/LC_MESSAGES/evolution-webcal.mo
+share/locale/bn_IN/LC_MESSAGES/evolution-webcal.mo
+share/locale/bs/LC_MESSAGES/evolution-webcal.mo
+share/locale/ca/LC_MESSAGES/evolution-webcal.mo
+share/locale/cs/LC_MESSAGES/evolution-webcal.mo
+share/locale/cy/LC_MESSAGES/evolution-webcal.mo
+share/locale/da/LC_MESSAGES/evolution-webcal.mo
+share/locale/de/LC_MESSAGES/evolution-webcal.mo
+share/locale/dz/LC_MESSAGES/evolution-webcal.mo
+share/locale/el/LC_MESSAGES/evolution-webcal.mo
+share/locale/en_CA/LC_MESSAGES/evolution-webcal.mo
+share/locale/en_GB/LC_MESSAGES/evolution-webcal.mo
+share/locale/es/LC_MESSAGES/evolution-webcal.mo
+share/locale/et/LC_MESSAGES/evolution-webcal.mo
+share/locale/eu/LC_MESSAGES/evolution-webcal.mo
+share/locale/fa/LC_MESSAGES/evolution-webcal.mo
+share/locale/fi/LC_MESSAGES/evolution-webcal.mo
+share/locale/fr/LC_MESSAGES/evolution-webcal.mo
+share/locale/gl/LC_MESSAGES/evolution-webcal.mo
+share/locale/gu/LC_MESSAGES/evolution-webcal.mo
+share/locale/hi/LC_MESSAGES/evolution-webcal.mo
+share/locale/hu/LC_MESSAGES/evolution-webcal.mo
+share/locale/id/LC_MESSAGES/evolution-webcal.mo
+share/locale/it/LC_MESSAGES/evolution-webcal.mo
+share/locale/ja/LC_MESSAGES/evolution-webcal.mo
+share/locale/ka/LC_MESSAGES/evolution-webcal.mo
+share/locale/ko/LC_MESSAGES/evolution-webcal.mo
+share/locale/ku/LC_MESSAGES/evolution-webcal.mo
+share/locale/ky/LC_MESSAGES/evolution-webcal.mo
+share/locale/lt/LC_MESSAGES/evolution-webcal.mo
+share/locale/lv/LC_MESSAGES/evolution-webcal.mo
+share/locale/mk/LC_MESSAGES/evolution-webcal.mo
+share/locale/ml/LC_MESSAGES/evolution-webcal.mo
+share/locale/mr/LC_MESSAGES/evolution-webcal.mo
+share/locale/ms/LC_MESSAGES/evolution-webcal.mo
+share/locale/nb/LC_MESSAGES/evolution-webcal.mo
+share/locale/ne/LC_MESSAGES/evolution-webcal.mo
+share/locale/nl/LC_MESSAGES/evolution-webcal.mo
+share/locale/oc/LC_MESSAGES/evolution-webcal.mo
+share/locale/or/LC_MESSAGES/evolution-webcal.mo
+share/locale/pa/LC_MESSAGES/evolution-webcal.mo
+share/locale/pl/LC_MESSAGES/evolution-webcal.mo
+share/locale/pt/LC_MESSAGES/evolution-webcal.mo
+share/locale/pt_BR/LC_MESSAGES/evolution-webcal.mo
+share/locale/ro/LC_MESSAGES/evolution-webcal.mo
+share/locale/ru/LC_MESSAGES/evolution-webcal.mo
+share/locale/rw/LC_MESSAGES/evolution-webcal.mo
+share/locale/si/LC_MESSAGES/evolution-webcal.mo
+share/locale/sk/LC_MESSAGES/evolution-webcal.mo
+share/locale/sl/LC_MESSAGES/evolution-webcal.mo
+share/locale/sq/LC_MESSAGES/evolution-webcal.mo
+share/locale/sr/LC_MESSAGES/evolution-webcal.mo
+share/locale/sr@Latn/LC_MESSAGES/evolution-webcal.mo
+share/locale/sv/LC_MESSAGES/evolution-webcal.mo
+share/locale/ta/LC_MESSAGES/evolution-webcal.mo
+share/locale/te/LC_MESSAGES/evolution-webcal.mo
+share/locale/th/LC_MESSAGES/evolution-webcal.mo
+share/locale/tr/LC_MESSAGES/evolution-webcal.mo
+share/locale/ug/LC_MESSAGES/evolution-webcal.mo
+share/locale/uk/LC_MESSAGES/evolution-webcal.mo
+share/locale/vi/LC_MESSAGES/evolution-webcal.mo
+share/locale/xh/LC_MESSAGES/evolution-webcal.mo
+share/locale/zh_CN/LC_MESSAGES/evolution-webcal.mo
+share/locale/zh_HK/LC_MESSAGES/evolution-webcal.mo
+share/locale/zh_TW/LC_MESSAGES/evolution-webcal.mo
+@dirrmtry share/locale/zh_HK/LC_MESSAGES
+@dirrmtry share/locale/zh_HK
+@dirrmtry share/locale/xh/LC_MESSAGES
+@dirrmtry share/locale/xh
+@dirrmtry share/locale/ug/LC_MESSAGES
+@dirrmtry share/locale/ug
+@dirrmtry share/locale/te/LC_MESSAGES
+@dirrmtry share/locale/te
+@dirrmtry share/locale/si/LC_MESSAGES
+@dirrmtry share/locale/si
+@dirrmtry share/locale/rw/LC_MESSAGES
+@dirrmtry share/locale/rw
+@dirrmtry share/locale/oc/LC_MESSAGES
+@dirrmtry share/locale/oc
+@dirrmtry share/locale/mr/LC_MESSAGES
+@dirrmtry share/locale/mr
+@dirrmtry share/locale/ky/LC_MESSAGES
+@dirrmtry share/locale/ky
+@dirrmtry share/locale/ku/LC_MESSAGES
+@dirrmtry share/locale/ku
+@dirrmtry share/locale/dz/LC_MESSAGES
+@dirrmtry share/locale/dz
+@dirrmtry share/locale/bn_IN/LC_MESSAGES
+@dirrmtry share/locale/bn_IN
+@dirrmtry share/locale/as/LC_MESSAGES
+@dirrmtry share/locale/as