[Midnightbsd-cvs] mports [18899] trunk/devel: add librest
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat May 9 18:28:28 EDT 2015
Revision: 18899
http://svnweb.midnightbsd.org/mports/?rev=18899
Author: laffer1
Date: 2015-05-09 18:28:28 -0400 (Sat, 09 May 2015)
Log Message:
-----------
add librest
Modified Paths:
--------------
trunk/devel/Makefile
Added Paths:
-----------
trunk/devel/librest/
trunk/devel/librest/Makefile
trunk/devel/librest/distinfo
trunk/devel/librest/files/
trunk/devel/librest/files/patch-rest_oauth-proxy-call.c
trunk/devel/librest/files/patch-tests_custom-serialize.c
trunk/devel/librest/files/patch-tests_threaded.c
trunk/devel/librest/pkg-descr
trunk/devel/librest/pkg-plist
Modified: trunk/devel/Makefile
===================================================================
--- trunk/devel/Makefile 2015-05-09 22:20:48 UTC (rev 18898)
+++ trunk/devel/Makefile 2015-05-09 22:28:28 UTC (rev 18899)
@@ -166,6 +166,7 @@
SUBDIR += libpeas
SUBDIR += libplist
SUBDIR += libpthread-stubs
+SUBDIR += librest
SUBDIR += libsigc++12
SUBDIR += libsigc++20
SUBDIR += libsigsegv
Added: trunk/devel/librest/Makefile
===================================================================
--- trunk/devel/librest/Makefile (rev 0)
+++ trunk/devel/librest/Makefile 2015-05-09 22:28:28 UTC (rev 18899)
@@ -0,0 +1,41 @@
+# $MidnightBSD$
+
+PORTNAME= rest
+PORTVERSION= 0.7.92
+CATEGORIES= devel www
+MASTER_SITES= GNOME
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Easy access to RESTful web services
+
+LICENSE= lgpl2.1
+
+BUILD_DEPENDS= ca_root_nss>0:${PORTSDIR}/security/ca_root_nss
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+USES= gmake libtool pathfix pkgconfig tar:xz
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-ca-certificates=${LOCALBASE}/share/certs/ca-root-nss.crt
+USE_LDCONFIG= yes
+USE_GNOME= glib20 intlhack libxml2 introspection:build
+
+PORTEXAMPLES= *.c
+
+OPTIONS_DEFINE= GNOME EXAMPLES
+OPTIONS_DEFAULT= GNOME
+
+GNOME_LIB_DEPENDS= libsoup-gnome-2.4.so:${PORTSDIR}/devel/libsoup-gnome
+GNOME_CONFIGURE_OFF= --without-gnome
+GNOME_LIB_DEPENDS_OFF= libsoup-2.4.so:${PORTSDIR}/devel/libsoup
+
+post-install:
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/*.c ${STAGEDIR}${EXAMPLESDIR}
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librest-0.7.so.0
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librest-extras-0.7.so.0
+
+regression-test:
+ (cd ${WRKSRC}/tests && \
+ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} check)
+
+.include <bsd.port.mk>
Property changes on: trunk/devel/librest/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/librest/distinfo
===================================================================
--- trunk/devel/librest/distinfo (rev 0)
+++ trunk/devel/librest/distinfo 2015-05-09 22:28:28 UTC (rev 18899)
@@ -0,0 +1,2 @@
+SHA256 (rest-0.7.92.tar.xz) = 07548c8785a3e743daf54a82b952ff5f32af94fee68997df4c83b00d52f9c0ec
+SIZE (rest-0.7.92.tar.xz) = 321580
Property changes on: trunk/devel/librest/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/librest/files/patch-rest_oauth-proxy-call.c
===================================================================
--- trunk/devel/librest/files/patch-rest_oauth-proxy-call.c (rev 0)
+++ trunk/devel/librest/files/patch-rest_oauth-proxy-call.c 2015-05-09 22:28:28 UTC (rev 18899)
@@ -0,0 +1,10 @@
+--- rest/oauth-proxy-call.c.orig 2015-02-24 01:13:22.000000000 +0100
++++ rest/oauth-proxy-call.c 2015-02-24 01:13:39.000000000 +0100
+@@ -25,6 +25,7 @@
+ #include <rest/rest-proxy-call.h>
+ #include "oauth-proxy-call.h"
+ #include "oauth-proxy-private.h"
++#include "rest-proxy-call-private.h"
+ #include "sha1.h"
+
+ G_DEFINE_TYPE (OAuthProxyCall, oauth_proxy_call, REST_TYPE_PROXY_CALL)
Property changes on: trunk/devel/librest/files/patch-rest_oauth-proxy-call.c
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/librest/files/patch-tests_custom-serialize.c
===================================================================
--- trunk/devel/librest/files/patch-tests_custom-serialize.c (rev 0)
+++ trunk/devel/librest/files/patch-tests_custom-serialize.c 2015-05-09 22:28:28 UTC (rev 18899)
@@ -0,0 +1,11 @@
+--- tests/custom-serialize.c.orig 2015-02-23 23:22:16.000000000 +0100
++++ tests/custom-serialize.c 2015-02-23 23:22:28.000000000 +0100
+@@ -125,6 +125,8 @@
+ soup_server_add_handler (server, NULL, server_callback, NULL, NULL);
+ g_thread_create ((GThreadFunc)soup_server_run, server, FALSE, NULL);
+
++ sleep(2);
++
+ url = g_strdup_printf ("http://127.0.0.1:%d/", soup_server_get_port (server));
+
+ proxy = rest_proxy_new (url, FALSE);
Property changes on: trunk/devel/librest/files/patch-tests_custom-serialize.c
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/librest/files/patch-tests_threaded.c
===================================================================
--- trunk/devel/librest/files/patch-tests_threaded.c (rev 0)
+++ trunk/devel/librest/files/patch-tests_threaded.c 2015-05-09 22:28:28 UTC (rev 18899)
@@ -0,0 +1,11 @@
+--- tests/threaded.c.orig 2015-02-23 23:21:35.000000000 +0100
++++ tests/threaded.c 2015-02-23 23:22:06.000000000 +0100
+@@ -92,6 +92,8 @@
+ soup_server_add_handler (server, NULL, server_callback, NULL, NULL);
+ g_thread_create ((GThreadFunc)soup_server_run, server, FALSE, NULL);
+
++ sleep(2);
++
+ url = g_strdup_printf ("http://127.0.0.1:%d/", soup_server_get_port (server));
+
+ for (i = 0; i < G_N_ELEMENTS (threads); i++) {
Property changes on: trunk/devel/librest/files/patch-tests_threaded.c
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/librest/pkg-descr
===================================================================
--- trunk/devel/librest/pkg-descr (rev 0)
+++ trunk/devel/librest/pkg-descr 2015-05-09 22:28:28 UTC (rev 18899)
@@ -0,0 +1,8 @@
+librest is a library that was designed to make it easier to access RESTful
+web services.
+
+It comprises of two parts: the first aims to make it easier to make requests
+by providing a wrapper around libsoup, the second aids with XML parsing by
+wrapping libxml2.
+
+WWW: https://wiki.gnome.org/Projects/Librest
Property changes on: trunk/devel/librest/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/librest/pkg-plist
===================================================================
--- trunk/devel/librest/pkg-plist (rev 0)
+++ trunk/devel/librest/pkg-plist 2015-05-09 22:28:28 UTC (rev 18899)
@@ -0,0 +1,60 @@
+include/rest-0.7/rest-extras/flickr-proxy-call.h
+include/rest-0.7/rest-extras/flickr-proxy.h
+include/rest-0.7/rest-extras/lastfm-proxy-call.h
+include/rest-0.7/rest-extras/lastfm-proxy.h
+include/rest-0.7/rest-extras/youtube-proxy.h
+include/rest-0.7/rest/oauth-proxy-call.h
+include/rest-0.7/rest/oauth-proxy.h
+include/rest-0.7/rest/oauth2-proxy-call.h
+include/rest-0.7/rest/oauth2-proxy.h
+include/rest-0.7/rest/rest-enum-types.h
+include/rest-0.7/rest/rest-param.h
+include/rest-0.7/rest/rest-params.h
+include/rest-0.7/rest/rest-proxy-auth.h
+include/rest-0.7/rest/rest-proxy-call.h
+include/rest-0.7/rest/rest-proxy.h
+include/rest-0.7/rest/rest-xml-node.h
+include/rest-0.7/rest/rest-xml-parser.h
+lib/girepository-1.0/Rest-0.7.typelib
+lib/girepository-1.0/RestExtras-0.7.typelib
+lib/librest-0.7.so
+lib/librest-0.7.so.0
+lib/librest-0.7.so.0.0.0
+lib/librest-extras-0.7.so
+lib/librest-extras-0.7.so.0
+lib/librest-extras-0.7.so.0.0.0
+libdata/pkgconfig/rest-0.7.pc
+libdata/pkgconfig/rest-extras-0.7.pc
+share/gir-1.0/Rest-0.7.gir
+share/gir-1.0/RestExtras-0.7.gir
+share/gtk-doc/html/rest-0.7/FlickrProxy.html
+share/gtk-doc/html/rest-0.7/FlickrProxyCall.html
+share/gtk-doc/html/rest-0.7/LastfmProxy.html
+share/gtk-doc/html/rest-0.7/LastfmProxyCall.html
+share/gtk-doc/html/rest-0.7/OAuth2Proxy.html
+share/gtk-doc/html/rest-0.7/OAuth2ProxyCall.html
+share/gtk-doc/html/rest-0.7/OAuthProxy.html
+share/gtk-doc/html/rest-0.7/OAuthProxyCall.html
+share/gtk-doc/html/rest-0.7/RestProxy.html
+share/gtk-doc/html/rest-0.7/RestProxyCall.html
+share/gtk-doc/html/rest-0.7/RestXmlParser.html
+share/gtk-doc/html/rest-0.7/ch01.html
+share/gtk-doc/html/rest-0.7/ch02.html
+share/gtk-doc/html/rest-0.7/ch03.html
+share/gtk-doc/html/rest-0.7/ch04.html
+share/gtk-doc/html/rest-0.7/ch05.html
+share/gtk-doc/html/rest-0.7/home.png
+share/gtk-doc/html/rest-0.7/index.html
+share/gtk-doc/html/rest-0.7/index.sgml
+share/gtk-doc/html/rest-0.7/ix01.html
+share/gtk-doc/html/rest-0.7/ix02.html
+share/gtk-doc/html/rest-0.7/left.png
+share/gtk-doc/html/rest-0.7/left-insensitive.png
+share/gtk-doc/html/rest-0.7/right-insensitive.png
+share/gtk-doc/html/rest-0.7/up-insensitive.png
+share/gtk-doc/html/rest-0.7/rest-0.7.devhelp2
+share/gtk-doc/html/rest-0.7/rest-RestParam.html
+share/gtk-doc/html/rest-0.7/rest-RestParams.html
+share/gtk-doc/html/rest-0.7/right.png
+share/gtk-doc/html/rest-0.7/style.css
+share/gtk-doc/html/rest-0.7/up.png
Property changes on: trunk/devel/librest/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list