Import librest1-0.9.1

librest is a helper library for RESTful services.
It uses libsoup to provide HTTP communication.

ok robert@
This commit is contained in:
ajacoutot 2022-11-06 11:30:55 +00:00
parent c0e0117f2f
commit 90069b53b3
4 changed files with 262 additions and 0 deletions

View File

@ -0,0 +1,34 @@
COMMENT = helper library for RESTful services
GNOME_VERSION = 0.9.1
GNOME_PROJECT = rest
PKGNAME = librest1-${GNOME_VERSION}
SHARED_LIBS += rest-1.0 0.0 # 0.0.0
SHARED_LIBS += rest-extras-1.0 0.0 # 0.0.0
CATEGORIES = net devel
# LGPLv2.1
PERMIT_PACKAGE = Yes
WANTLIB += adwaita-1 c gio-2.0 glib-2.0 gobject-2.0 gtk-4 gtksourceview-5
WANTLIB += intl json-glib-1.0 soup-3.0 xml2
MODULES = devel/meson \
x11/gnome
MODGNOME_TOOLS = desktop-file-utils gi-docgen gobject-introspection
LIB_DEPENDS = devel/json-glib \
devel/libsoup3 \
x11/gnome/libadwaita \
x11/gtksourceview5
CONFIGURE_ARGS = -Dca_certificates=true \
-Dca_certificates_path=/etc/ssl/cert.pem
# needed for `make test'
PORTHOME= ${WRKDIST}
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (gnome/rest-0.9.1.tar.xz) = kmalwQ7OOD4ZPft/+we1CcwfUVIauNrXavlu0UISwuM=
SIZE (gnome/rest-0.9.1.tar.xz) = 71136

View File

@ -0,0 +1,2 @@
librest is a helper library for RESTful services.
It uses libsoup to provide HTTP communication.

View File

@ -0,0 +1,224 @@
@bin bin/librest-demo
include/rest-1.0/
include/rest-1.0/rest/
include/rest-1.0/rest-extras/
include/rest-1.0/rest-extras/flickr-proxy-call.h
include/rest-1.0/rest-extras/flickr-proxy.h
include/rest-1.0/rest-extras/lastfm-proxy-call.h
include/rest-1.0/rest-extras/lastfm-proxy.h
include/rest-1.0/rest-extras/youtube-proxy.h
include/rest-1.0/rest/rest-enum-types.h
include/rest-1.0/rest/rest-oauth2-proxy-call.h
include/rest-1.0/rest/rest-oauth2-proxy.h
include/rest-1.0/rest/rest-param.h
include/rest-1.0/rest/rest-params.h
include/rest-1.0/rest/rest-pkce-code-challenge.h
include/rest-1.0/rest/rest-proxy-auth.h
include/rest-1.0/rest/rest-proxy-call.h
include/rest-1.0/rest/rest-proxy.h
include/rest-1.0/rest/rest-utils.h
include/rest-1.0/rest/rest-xml-node.h
include/rest-1.0/rest/rest-xml-parser.h
include/rest-1.0/rest/rest.h
lib/girepository-1.0/Rest-1.0.typelib
lib/girepository-1.0/RestExtras-1.0.typelib
@lib lib/librest-1.0.so.${LIBrest-1.0_VERSION}
@lib lib/librest-extras-1.0.so.${LIBrest-extras-1.0_VERSION}
lib/pkgconfig/rest-1.0.pc
lib/pkgconfig/rest-extras-1.0.pc
share/applications/
share/applications/org.gnome.RestDemo.desktop
share/doc/librest-1.0/
share/doc/librest-1.0/RedHatDisplay-Black.woff
share/doc/librest-1.0/RedHatDisplay-Black.woff2
share/doc/librest-1.0/RedHatDisplay-BlackItalic.woff
share/doc/librest-1.0/RedHatDisplay-BlackItalic.woff2
share/doc/librest-1.0/RedHatDisplay-Bold.woff
share/doc/librest-1.0/RedHatDisplay-Bold.woff2
share/doc/librest-1.0/RedHatDisplay-BoldItalic.woff
share/doc/librest-1.0/RedHatDisplay-BoldItalic.woff2
share/doc/librest-1.0/RedHatDisplay-Italic.woff
share/doc/librest-1.0/RedHatDisplay-Italic.woff2
share/doc/librest-1.0/RedHatDisplay-Medium.woff
share/doc/librest-1.0/RedHatDisplay-Medium.woff2
share/doc/librest-1.0/RedHatDisplay-MediumItalic.woff
share/doc/librest-1.0/RedHatDisplay-MediumItalic.woff2
share/doc/librest-1.0/RedHatDisplay-Regular.woff
share/doc/librest-1.0/RedHatDisplay-Regular.woff2
share/doc/librest-1.0/RedHatText-Bold.woff
share/doc/librest-1.0/RedHatText-Bold.woff2
share/doc/librest-1.0/RedHatText-BoldItalic.woff
share/doc/librest-1.0/RedHatText-BoldItalic.woff2
share/doc/librest-1.0/RedHatText-Italic.woff
share/doc/librest-1.0/RedHatText-Italic.woff2
share/doc/librest-1.0/RedHatText-Medium.woff
share/doc/librest-1.0/RedHatText-Medium.woff2
share/doc/librest-1.0/RedHatText-MediumItalic.woff
share/doc/librest-1.0/RedHatText-MediumItalic.woff2
share/doc/librest-1.0/RedHatText-Regular.woff
share/doc/librest-1.0/RedHatText-Regular.woff2
share/doc/librest-1.0/SourceCodePro-It.ttf.woff
share/doc/librest-1.0/SourceCodePro-Regular.ttf.woff
share/doc/librest-1.0/SourceCodePro-Semibold.ttf.woff
share/doc/librest-1.0/callback.ProxyCallAsyncCallback.html
share/doc/librest-1.0/callback.ProxyCallContinuousCallback.html
share/doc/librest-1.0/callback.ProxyCallUploadCallback.html
share/doc/librest-1.0/class.OAuth2Proxy.html
share/doc/librest-1.0/class.OAuth2ProxyCall.html
share/doc/librest-1.0/class.Proxy.html
share/doc/librest-1.0/class.ProxyAuth.html
share/doc/librest-1.0/class.ProxyCall.html
share/doc/librest-1.0/class.XmlParser.html
share/doc/librest-1.0/classes_hierarchy.html
share/doc/librest-1.0/ctor.OAuth2Proxy.new.html
share/doc/librest-1.0/ctor.Param.new_full.html
share/doc/librest-1.0/ctor.Param.new_string.html
share/doc/librest-1.0/ctor.Param.new_with_owner.html
share/doc/librest-1.0/ctor.Params.new.html
share/doc/librest-1.0/ctor.PkceCodeChallenge.new_random.html
share/doc/librest-1.0/ctor.Proxy.new.html
share/doc/librest-1.0/ctor.Proxy.new_with_authentication.html
share/doc/librest-1.0/ctor.XmlParser.new.html
share/doc/librest-1.0/enum.MemoryUse.html
share/doc/librest-1.0/error.ProxyCallError.html
share/doc/librest-1.0/error.ProxyError.html
share/doc/librest-1.0/fonts.css
share/doc/librest-1.0/func.oauth2_error_quark.html
share/doc/librest-1.0/func.random_string.html
share/doc/librest-1.0/fzy.js
share/doc/librest-1.0/go-up-symbolic.png
share/doc/librest-1.0/index.html
share/doc/librest-1.0/index.json
share/doc/librest-1.0/librest-1.0.devhelp2
share/doc/librest-1.0/main.js
share/doc/librest-1.0/method.OAuth2Proxy.build_authorization_url.html
share/doc/librest-1.0/method.OAuth2Proxy.fetch_access_token_async.html
share/doc/librest-1.0/method.OAuth2Proxy.fetch_access_token_finish.html
share/doc/librest-1.0/method.OAuth2Proxy.get_access_token.html
share/doc/librest-1.0/method.OAuth2Proxy.get_auth_url.html
share/doc/librest-1.0/method.OAuth2Proxy.get_client_id.html
share/doc/librest-1.0/method.OAuth2Proxy.get_client_secret.html
share/doc/librest-1.0/method.OAuth2Proxy.get_expiration_date.html
share/doc/librest-1.0/method.OAuth2Proxy.get_redirect_uri.html
share/doc/librest-1.0/method.OAuth2Proxy.get_refresh_token.html
share/doc/librest-1.0/method.OAuth2Proxy.get_token_url.html
share/doc/librest-1.0/method.OAuth2Proxy.refresh_access_token.html
share/doc/librest-1.0/method.OAuth2Proxy.refresh_access_token_async.html
share/doc/librest-1.0/method.OAuth2Proxy.refresh_access_token_finish.html
share/doc/librest-1.0/method.OAuth2Proxy.set_access_token.html
share/doc/librest-1.0/method.OAuth2Proxy.set_auth_url.html
share/doc/librest-1.0/method.OAuth2Proxy.set_client_id.html
share/doc/librest-1.0/method.OAuth2Proxy.set_client_secret.html
share/doc/librest-1.0/method.OAuth2Proxy.set_expiration_date.html
share/doc/librest-1.0/method.OAuth2Proxy.set_redirect_uri.html
share/doc/librest-1.0/method.OAuth2Proxy.set_refresh_token.html
share/doc/librest-1.0/method.OAuth2Proxy.set_token_url.html
share/doc/librest-1.0/method.Param.get_content.html
share/doc/librest-1.0/method.Param.get_content_length.html
share/doc/librest-1.0/method.Param.get_content_type.html
share/doc/librest-1.0/method.Param.get_file_name.html
share/doc/librest-1.0/method.Param.get_name.html
share/doc/librest-1.0/method.Param.is_string.html
share/doc/librest-1.0/method.Param.ref.html
share/doc/librest-1.0/method.Param.unref.html
share/doc/librest-1.0/method.Params.add.html
share/doc/librest-1.0/method.Params.are_strings.html
share/doc/librest-1.0/method.Params.as_string_hash_table.html
share/doc/librest-1.0/method.Params.copy.html
share/doc/librest-1.0/method.Params.get.html
share/doc/librest-1.0/method.Params.ref.html
share/doc/librest-1.0/method.Params.remove.html
share/doc/librest-1.0/method.Params.unref.html
share/doc/librest-1.0/method.ParamsIter.init.html
share/doc/librest-1.0/method.ParamsIter.next.html
share/doc/librest-1.0/method.PkceCodeChallenge.copy.html
share/doc/librest-1.0/method.PkceCodeChallenge.free.html
share/doc/librest-1.0/method.PkceCodeChallenge.get_challenge.html
share/doc/librest-1.0/method.PkceCodeChallenge.get_verifier.html
share/doc/librest-1.0/method.Proxy.add_soup_feature.html
share/doc/librest-1.0/method.Proxy.bind.html
share/doc/librest-1.0/method.Proxy.bind_valist.html
share/doc/librest-1.0/method.Proxy.get_user_agent.html
share/doc/librest-1.0/method.Proxy.new_call.html
share/doc/librest-1.0/method.Proxy.set_user_agent.html
share/doc/librest-1.0/method.Proxy.simple_run.html
share/doc/librest-1.0/method.Proxy.simple_run_valist.html
share/doc/librest-1.0/method.ProxyAuth.cancel.html
share/doc/librest-1.0/method.ProxyAuth.pause.html
share/doc/librest-1.0/method.ProxyAuth.unpause.html
share/doc/librest-1.0/method.ProxyCall.add_header.html
share/doc/librest-1.0/method.ProxyCall.add_headers.html
share/doc/librest-1.0/method.ProxyCall.add_headers_from_valist.html
share/doc/librest-1.0/method.ProxyCall.add_param.html
share/doc/librest-1.0/method.ProxyCall.add_param_full.html
share/doc/librest-1.0/method.ProxyCall.add_params.html
share/doc/librest-1.0/method.ProxyCall.add_params_from_valist.html
share/doc/librest-1.0/method.ProxyCall.cancel.html
share/doc/librest-1.0/method.ProxyCall.continuous.html
share/doc/librest-1.0/method.ProxyCall.get_function.html
share/doc/librest-1.0/method.ProxyCall.get_method.html
share/doc/librest-1.0/method.ProxyCall.get_params.html
share/doc/librest-1.0/method.ProxyCall.get_payload.html
share/doc/librest-1.0/method.ProxyCall.get_payload_length.html
share/doc/librest-1.0/method.ProxyCall.get_response_headers.html
share/doc/librest-1.0/method.ProxyCall.get_status_code.html
share/doc/librest-1.0/method.ProxyCall.get_status_message.html
share/doc/librest-1.0/method.ProxyCall.invoke_async.html
share/doc/librest-1.0/method.ProxyCall.invoke_finish.html
share/doc/librest-1.0/method.ProxyCall.lookup_header.html
share/doc/librest-1.0/method.ProxyCall.lookup_param.html
share/doc/librest-1.0/method.ProxyCall.lookup_response_header.html
share/doc/librest-1.0/method.ProxyCall.remove_header.html
share/doc/librest-1.0/method.ProxyCall.remove_param.html
share/doc/librest-1.0/method.ProxyCall.serialize_params.html
share/doc/librest-1.0/method.ProxyCall.set_function.html
share/doc/librest-1.0/method.ProxyCall.set_method.html
share/doc/librest-1.0/method.ProxyCall.sync.html
share/doc/librest-1.0/method.ProxyCall.upload.html
share/doc/librest-1.0/method.XmlNode.add_attr.html
share/doc/librest-1.0/method.XmlNode.add_child.html
share/doc/librest-1.0/method.XmlNode.find.html
share/doc/librest-1.0/method.XmlNode.get_attr.html
share/doc/librest-1.0/method.XmlNode.print.html
share/doc/librest-1.0/method.XmlNode.ref.html
share/doc/librest-1.0/method.XmlNode.set_content.html
share/doc/librest-1.0/method.XmlNode.unref.html
share/doc/librest-1.0/method.XmlParser.parse_from_data.html
share/doc/librest-1.0/property.OAuth2Proxy.access-token.html
share/doc/librest-1.0/property.OAuth2Proxy.auth-url.html
share/doc/librest-1.0/property.OAuth2Proxy.client-id.html
share/doc/librest-1.0/property.OAuth2Proxy.client-secret.html
share/doc/librest-1.0/property.OAuth2Proxy.expiration-date.html
share/doc/librest-1.0/property.OAuth2Proxy.redirect-uri.html
share/doc/librest-1.0/property.OAuth2Proxy.refresh-token.html
share/doc/librest-1.0/property.OAuth2Proxy.token-url.html
share/doc/librest-1.0/property.Proxy.binding-required.html
share/doc/librest-1.0/property.Proxy.disable-cookies.html
share/doc/librest-1.0/property.Proxy.password.html
share/doc/librest-1.0/property.Proxy.ssl-ca-file.html
share/doc/librest-1.0/property.Proxy.ssl-strict.html
share/doc/librest-1.0/property.Proxy.url-format.html
share/doc/librest-1.0/property.Proxy.user-agent.html
share/doc/librest-1.0/property.Proxy.username.html
share/doc/librest-1.0/property.ProxyCall.proxy.html
share/doc/librest-1.0/search.js
share/doc/librest-1.0/solarized-dark.css
share/doc/librest-1.0/solarized-light.css
share/doc/librest-1.0/struct.Param.html
share/doc/librest-1.0/struct.Params.html
share/doc/librest-1.0/struct.ParamsIter.html
share/doc/librest-1.0/struct.PkceCodeChallenge.html
share/doc/librest-1.0/struct.XmlNode.html
share/doc/librest-1.0/style.css
share/doc/librest-1.0/type_func.ProxyCallError.quark.html
share/doc/librest-1.0/type_func.ProxyError.quark.html
share/doc/librest-1.0/vfunc.OAuth2Proxy.parse_access_token.html
share/doc/librest-1.0/vfunc.Proxy.authenticate.html
share/doc/librest-1.0/vfunc.Proxy.bind_valist.html
share/doc/librest-1.0/vfunc.Proxy.new_call.html
share/doc/librest-1.0/vfunc.Proxy.simple_run_valist.html
share/doc/librest-1.0/vfunc.ProxyCall.prepare.html
share/doc/librest-1.0/vfunc.ProxyCall.serialize_params.html
share/gir-1.0/Rest-1.0.gir
share/gir-1.0/RestExtras-1.0.gir
@tag update-desktop-database