From bd19decefd8531c534b663920801437f564df3e9 Mon Sep 17 00:00:00 2001 From: kwm Date: Sat, 15 Oct 2011 14:11:10 +0000 Subject: Update to 0.4.2. Now with gtk3 flavor. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@16412 df743ca5-7f9a-e211-a948-0013205c9059 --- www/libepc/Makefile | 30 +++++++++ www/libepc/distinfo | 2 + .../files/patch-docs_reference_libepc_Makefile.in | 11 +++ www/libepc/files/patch-libepc_service-monitor.c | 15 +++++ www/libepc/files/patch-tests_framework.c | 22 ++++++ www/libepc/pkg-descr | 11 +++ www/libepc/pkg-plist | 78 ++++++++++++++++++++++ 7 files changed, 169 insertions(+) create mode 100644 www/libepc/Makefile create mode 100644 www/libepc/distinfo create mode 100644 www/libepc/files/patch-docs_reference_libepc_Makefile.in create mode 100644 www/libepc/files/patch-libepc_service-monitor.c create mode 100644 www/libepc/files/patch-tests_framework.c create mode 100644 www/libepc/pkg-descr create mode 100644 www/libepc/pkg-plist (limited to 'www') diff --git a/www/libepc/Makefile b/www/libepc/Makefile new file mode 100644 index 000000000..cfa283d72 --- /dev/null +++ b/www/libepc/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: libepc +# Date created: 24 Mar 2008 +# Whom: Koop Mast +# +# $FreeBSD: ports/www/libepc/Makefile,v 1.13 2011/09/23 22:26:01 amdmi3 Exp $ +# + +PORTNAME= libepc +PORTVERSION= 0.4.2 +CATEGORIES= www +MASTER_SITES= GNOME + +MAINTAINER= kwm@FreeBSD.org +COMMENT= The Easy Publish and Consume library + +LIB_DEPENDS= uuid.1:${PORTSDIR}/misc/e2fsprogs-libuuid \ + soup-2.4.1:${PORTSDIR}/devel/libsoup \ + avahi-ui-gtk3.0:${PORTSDIR}/net/avahi-gtk3 + +USE_XZ= yes +USE_GMAKE= yes +USE_GETTEXT= yes +USE_GNOME= gnomeprefix gnomehack gtk20 +USE_LDCONFIG= yes +GNU_CONFIGURE= yes +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib +CONFIGURE_ARGS= --enable-static + +.include diff --git a/www/libepc/distinfo b/www/libepc/distinfo new file mode 100644 index 000000000..67497286a --- /dev/null +++ b/www/libepc/distinfo @@ -0,0 +1,2 @@ +SHA256 (libepc-0.4.2.tar.xz) = 3dff25a7f2f0d024b7609389f13664789b0ab45a0e5740908395e3d49cceefc2 +SIZE (libepc-0.4.2.tar.xz) = 375176 diff --git a/www/libepc/files/patch-docs_reference_libepc_Makefile.in b/www/libepc/files/patch-docs_reference_libepc_Makefile.in new file mode 100644 index 000000000..f8e9107bb --- /dev/null +++ b/www/libepc/files/patch-docs_reference_libepc_Makefile.in @@ -0,0 +1,11 @@ +--- docs/reference/libepc/Makefile.in.orig 2008-03-24 11:01:18.000000000 +0100 ++++ docs/reference/libepc/Makefile.in 2008-03-24 11:01:41.000000000 +0100 +@@ -224,7 +224,7 @@ AUTOMAKE_OPTIONS = 1.6 + # of using the various options. + + # The name of the module, e.g. 'glib'. +-DOC_MODULE = libepc-1.0 ++DOC_MODULE = libepc + + # The top-level SGML file. You can change this if you want to. + DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml diff --git a/www/libepc/files/patch-libepc_service-monitor.c b/www/libepc/files/patch-libepc_service-monitor.c new file mode 100644 index 000000000..db6cff034 --- /dev/null +++ b/www/libepc/files/patch-libepc_service-monitor.c @@ -0,0 +1,15 @@ +--- libepc/service-monitor.c.orig 2008-03-24 00:54:58.000000000 +0100 ++++ libepc/service-monitor.c 2008-03-24 00:56:35.000000000 +0100 +@@ -307,7 +307,11 @@ epc_service_monitor_dispose (GObject *ob + + while (self->priv->browsers) + { +- avahi_service_browser_free (self->priv->browsers->data); ++ // This is evil, the real fix would be to prevent NULL entries from being added. ++ if (self->priv->browsers->data != NULL) ++ { ++ avahi_service_browser_free (self->priv->browsers->data); ++ } + self->priv->browsers = g_slist_delete_link (self->priv->browsers, self->priv->browsers); + } + diff --git a/www/libepc/files/patch-tests_framework.c b/www/libepc/files/patch-tests_framework.c new file mode 100644 index 000000000..e1eb61677 --- /dev/null +++ b/www/libepc/files/patch-tests_framework.c @@ -0,0 +1,22 @@ +--- tests/framework.c.orig 2008-08-05 02:14:30.000000000 +0200 ++++ tests/framework.c 2008-08-05 02:26:57.000000000 +0200 +@@ -24,6 +24,7 @@ + #include + #include + ++#include + #include + #include + +@@ -194,7 +195,11 @@ epc_test_list_ifaces (void) + goto out; + } + ++#ifdef __FreeBSD__ ++ ifaces[j].ifidx = req->ifr_index; ++#else + ifaces[j].ifidx = req->ifr_ifindex; ++#endif + ifaces[j].mask = epc_test_result; + + g_print ("%s: name=%s, ifidx=%u, \n", diff --git a/www/libepc/pkg-descr b/www/libepc/pkg-descr new file mode 100644 index 000000000..d81335d68 --- /dev/null +++ b/www/libepc/pkg-descr @@ -0,0 +1,11 @@ +The Easy Publish and Consume library provides an easy method to: + + * publish data per HTTPS + * announce that information via DNS-SD + * find that information + * and finally consume it + +You can use this library as key/value store published to the network, +using encryption, authentication and service discovery. + +WWW: http://live.gnome.org/libepc/ diff --git a/www/libepc/pkg-plist b/www/libepc/pkg-plist new file mode 100644 index 000000000..ea28e60d9 --- /dev/null +++ b/www/libepc/pkg-plist @@ -0,0 +1,78 @@ +include/libepc-1.0/libepc/consumer.h +include/libepc-1.0/libepc/contents.h +include/libepc-1.0/libepc/dispatcher.h +include/libepc-1.0/libepc/enums.h +include/libepc-1.0/libepc/marshal.h +include/libepc-1.0/libepc/protocol.h +include/libepc-1.0/libepc/publisher.h +include/libepc-1.0/libepc/service-info.h +include/libepc-1.0/libepc/service-monitor.h +include/libepc-1.0/libepc/service-type.h +include/libepc-1.0/libepc/shell.h +include/libepc-1.0/libepc/tls.h +include/libepc-ui-1.0/libepc-ui/password-dialog.h +include/libepc-ui-1.0/libepc-ui/progress-window.h +lib/libepc-1.0.a +lib/libepc-1.0.la +lib/libepc-1.0.so +lib/libepc-1.0.so.3 +lib/libepc-ui-1.0.a +lib/libepc-ui-1.0.la +lib/libepc-ui-1.0.so +lib/libepc-ui-1.0.so.3 +libdata/pkgconfig/libepc-1.0.pc +libdata/pkgconfig/libepc-ui-1.0.pc +%%DOCSDIR%%/EpcProtocol.html +%%DOCSDIR%%/EpcServiceInfo.html +%%DOCSDIR%%/consuming.html +%%DOCSDIR%%/dns-sd-support.html +%%DOCSDIR%%/home.png +%%DOCSDIR%%/index.html +%%DOCSDIR%%/index.sgml +%%DOCSDIR%%/internal-api.html +%%DOCSDIR%%/left.png +%%DOCSDIR%%/libepc-1.0-EpcServiceType.html +%%DOCSDIR%%/libepc-1.0-EpcShell.html +%%DOCSDIR%%/libepc-1.0-EpcTls.html +%%DOCSDIR%%/libepc-1.0-auth-context.html +%%DOCSDIR%%/libepc-1.0-consumer.html +%%DOCSDIR%%/libepc-1.0-contents.html +%%DOCSDIR%%/libepc-1.0-dispatcher.html +%%DOCSDIR%%/libepc-1.0-password-dialog.html +%%DOCSDIR%%/libepc-1.0-progress-window.html +%%DOCSDIR%%/libepc-1.0-publisher.html +%%DOCSDIR%%/libepc-1.0-service-monitor.html +%%DOCSDIR%%/libepc-1.0.devhelp2 +%%DOCSDIR%%/publishing.html +%%DOCSDIR%%/right.png +%%DOCSDIR%%/style.css +%%DOCSDIR%%/up.png +%%DOCSDIR%%/widgets.html +share/locale/ar/LC_MESSAGES/libepc.mo +share/locale/ca/LC_MESSAGES/libepc.mo +share/locale/cs/LC_MESSAGES/libepc.mo +share/locale/da/LC_MESSAGES/libepc.mo +share/locale/de/LC_MESSAGES/libepc.mo +share/locale/el/LC_MESSAGES/libepc.mo +share/locale/en_GB/LC_MESSAGES/libepc.mo +share/locale/es/LC_MESSAGES/libepc.mo +share/locale/fi/LC_MESSAGES/libepc.mo +share/locale/fr/LC_MESSAGES/libepc.mo +share/locale/gl/LC_MESSAGES/libepc.mo +share/locale/id/LC_MESSAGES/libepc.mo +share/locale/it/LC_MESSAGES/libepc.mo +share/locale/ja/LC_MESSAGES/libepc.mo +share/locale/lv/LC_MESSAGES/libepc.mo +share/locale/nb/LC_MESSAGES/libepc.mo +share/locale/pl/LC_MESSAGES/libepc.mo +share/locale/pt_BR/LC_MESSAGES/libepc.mo +share/locale/ru/LC_MESSAGES/libepc.mo +share/locale/sl/LC_MESSAGES/libepc.mo +share/locale/sv/LC_MESSAGES/libepc.mo +share/locale/th/LC_MESSAGES/libepc.mo +share/locale/zh_CN/LC_MESSAGES/libepc.mo +@dirrm %%DOCSDIR%% +@dirrm include/libepc-ui-1.0/libepc-ui +@dirrm include/libepc-ui-1.0 +@dirrm include/libepc-1.0/libepc +@dirrm include/libepc-1.0 -- cgit v1.2.3