summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjakllsch <jakllsch@pkgsrc.org>2011-08-25 13:30:23 +0000
committerjakllsch <jakllsch@pkgsrc.org>2011-08-25 13:30:23 +0000
commit7d5906c9bb8269b29d3eaebea142011f59daee65 (patch)
tree14f683813f244d1c8d725f5713762a9765a0a843 /net
parentfb714ca8ae79b4ca5a0f233c72dcf27bf73f797b (diff)
downloadpkgsrc-7d5906c9bb8269b29d3eaebea142011f59daee65.tar.gz
Add flickcurl-1.21
Flickcurl is a C library for the Flickr API, handling creating the requests, signing, token management, calling the API, marshalling request parameters and decoding responses. It uses libcurl to call the REST web service and libxml2 to manipulate the XML responses. Flickcurl supports all of the API including the functions for photo/video uploading, browsing, searching, adding and editing comments, groups, notes, photosets, categories, activity, blogs, favorites, places, tags, machine tags, institutions, pandas and photo/video metadata. It also includes a program flickrdf to turn photo metadata, tags, machine tags and places into an RDF triples description.
Diffstat (limited to 'net')
-rw-r--r--net/flickcurl/DESCR11
-rw-r--r--net/flickcurl/Makefile20
-rw-r--r--net/flickcurl/PLIST76
-rw-r--r--net/flickcurl/buildlink3.mk13
-rw-r--r--net/flickcurl/distinfo6
-rw-r--r--net/flickcurl/patches/patch-src_flickcurl__internal.h12
6 files changed, 138 insertions, 0 deletions
diff --git a/net/flickcurl/DESCR b/net/flickcurl/DESCR
new file mode 100644
index 00000000000..d7dd1aee945
--- /dev/null
+++ b/net/flickcurl/DESCR
@@ -0,0 +1,11 @@
+Flickcurl is a C library for the Flickr API, handling creating the
+requests, signing, token management, calling the API, marshalling
+request parameters and decoding responses. It uses libcurl to call
+the REST web service and libxml2 to manipulate the XML responses.
+Flickcurl supports all of the API including the functions for
+photo/video uploading, browsing, searching, adding and editing
+comments, groups, notes, photosets, categories, activity, blogs,
+favorites, places, tags, machine tags, institutions, pandas and
+photo/video metadata. It also includes a program flickrdf to turn
+photo metadata, tags, machine tags and places into an RDF triples
+description.
diff --git a/net/flickcurl/Makefile b/net/flickcurl/Makefile
new file mode 100644
index 00000000000..c6092c45f37
--- /dev/null
+++ b/net/flickcurl/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/08/25 13:30:23 jakllsch Exp $
+#
+
+DISTNAME= flickcurl-1.21
+CATEGORIES= net
+MASTER_SITES= http://download.dajobe.org/flickcurl/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://download.dajobe.org/flickcurl/
+COMMENT= Flickr API library
+LICENSE= gnu-lgpl-v2.1 OR gnu-gpl-v2 OR apache-2.0
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+
+.include "../../www/curl/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../textproc/raptor/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/flickcurl/PLIST b/net/flickcurl/PLIST
new file mode 100644
index 00000000000..fb6b2efd5b8
--- /dev/null
+++ b/net/flickcurl/PLIST
@@ -0,0 +1,76 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/08/25 13:30:23 jakllsch Exp $
+bin/flickcurl
+bin/flickcurl-config
+bin/flickrdf
+include/flickcurl.h
+lib/libflickcurl.la
+lib/pkgconfig/flickcurl.pc
+man/man1/flickcurl-config.1
+man/man1/flickcurl.1
+man/man1/flickrdf.1
+share/gtk-doc/html/flickcurl/appgarden-commercial-picker.png
+share/gtk-doc/html/flickcurl/appgarden-edit-auth-flow-mobile.png
+share/gtk-doc/html/flickcurl/appgarden-edit-auth-flow.png
+share/gtk-doc/html/flickcurl/appgarden-get-your-api-key.png
+share/gtk-doc/html/flickcurl/appgarden-mobile-auth-page.png
+share/gtk-doc/html/flickcurl/appgarden-new-api-key-secret.png
+share/gtk-doc/html/flickcurl/appgarden-tell-us-about-your-app.png
+share/gtk-doc/html/flickcurl/appgarden-test-app-page.png
+share/gtk-doc/html/flickcurl/flickcurl-auth-authenticate.html
+share/gtk-doc/html/flickcurl/flickcurl-auth-register.html
+share/gtk-doc/html/flickcurl/flickcurl-auth-use.html
+share/gtk-doc/html/flickcurl/flickcurl-auth.html
+share/gtk-doc/html/flickcurl/flickcurl-searching-search-example.html
+share/gtk-doc/html/flickcurl/flickcurl-searching-search-extras.html
+share/gtk-doc/html/flickcurl/flickcurl-searching-search-paging.html
+share/gtk-doc/html/flickcurl/flickcurl-searching-search-parameters.html
+share/gtk-doc/html/flickcurl/flickcurl-searching-search-result-formats.html
+share/gtk-doc/html/flickcurl/flickcurl-searching-search-results.html
+share/gtk-doc/html/flickcurl/flickcurl-searching-search-run.html
+share/gtk-doc/html/flickcurl/flickcurl-searching.html
+share/gtk-doc/html/flickcurl/flickcurl-section-activity.html
+share/gtk-doc/html/flickcurl/flickcurl-section-auth.html
+share/gtk-doc/html/flickcurl/flickcurl-section-blogs.html
+share/gtk-doc/html/flickcurl/flickcurl-section-category.html
+share/gtk-doc/html/flickcurl/flickcurl-section-collections.html
+share/gtk-doc/html/flickcurl/flickcurl-section-comment.html
+share/gtk-doc/html/flickcurl/flickcurl-section-commons.html
+share/gtk-doc/html/flickcurl/flickcurl-section-contact.html
+share/gtk-doc/html/flickcurl/flickcurl-section-context.html
+share/gtk-doc/html/flickcurl/flickcurl-section-core.html
+share/gtk-doc/html/flickcurl/flickcurl-section-exif.html
+share/gtk-doc/html/flickcurl/flickcurl-section-favorite.html
+share/gtk-doc/html/flickcurl/flickcurl-section-gallery.html
+share/gtk-doc/html/flickcurl/flickcurl-section-general.html
+share/gtk-doc/html/flickcurl/flickcurl-section-group.html
+share/gtk-doc/html/flickcurl/flickcurl-section-machinetags.html
+share/gtk-doc/html/flickcurl/flickcurl-section-misc.html
+share/gtk-doc/html/flickcurl/flickcurl-section-note.html
+share/gtk-doc/html/flickcurl/flickcurl-section-panda.html
+share/gtk-doc/html/flickcurl/flickcurl-section-people.html
+share/gtk-doc/html/flickcurl/flickcurl-section-person.html
+share/gtk-doc/html/flickcurl/flickcurl-section-photo.html
+share/gtk-doc/html/flickcurl/flickcurl-section-photos-people.html
+share/gtk-doc/html/flickcurl/flickcurl-section-photoset.html
+share/gtk-doc/html/flickcurl/flickcurl-section-photoslist.html
+share/gtk-doc/html/flickcurl/flickcurl-section-place.html
+share/gtk-doc/html/flickcurl/flickcurl-section-prefs.html
+share/gtk-doc/html/flickcurl/flickcurl-section-reflection.html
+share/gtk-doc/html/flickcurl/flickcurl-section-serializer.html
+share/gtk-doc/html/flickcurl/flickcurl-section-stats.html
+share/gtk-doc/html/flickcurl/flickcurl-section-tag.html
+share/gtk-doc/html/flickcurl/flickcurl-section-test.html
+share/gtk-doc/html/flickcurl/flickcurl-section-upload.html
+share/gtk-doc/html/flickcurl/flickcurl-section-urls.html
+share/gtk-doc/html/flickcurl/flickcurl-section-video.html
+share/gtk-doc/html/flickcurl/flickcurl.devhelp
+share/gtk-doc/html/flickcurl/flickcurl.devhelp2
+share/gtk-doc/html/flickcurl/home.png
+share/gtk-doc/html/flickcurl/index.html
+share/gtk-doc/html/flickcurl/index.sgml
+share/gtk-doc/html/flickcurl/indexes.html
+share/gtk-doc/html/flickcurl/introduction.html
+share/gtk-doc/html/flickcurl/left.png
+share/gtk-doc/html/flickcurl/right.png
+share/gtk-doc/html/flickcurl/style.css
+share/gtk-doc/html/flickcurl/up.png
diff --git a/net/flickcurl/buildlink3.mk b/net/flickcurl/buildlink3.mk
new file mode 100644
index 00000000000..e7705c686b3
--- /dev/null
+++ b/net/flickcurl/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2011/08/25 13:30:23 jakllsch Exp $
+
+BUILDLINK_TREE+= flickcurl
+
+.if !defined(FLICKCURL_BUILDLINK3_MK)
+FLICKCURL_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.flickcurl+= flickcurl>=1.21
+BUILDLINK_PKGSRCDIR.flickcurl?= ../../net/flickcurl
+
+.endif # FLICKCURL_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -flickcurl
diff --git a/net/flickcurl/distinfo b/net/flickcurl/distinfo
new file mode 100644
index 00000000000..b7ecb4ab9c7
--- /dev/null
+++ b/net/flickcurl/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/08/25 13:30:23 jakllsch Exp $
+
+SHA1 (flickcurl-1.21.tar.gz) = 42f73733e750a54758bd07db81fdd12b91c430dd
+RMD160 (flickcurl-1.21.tar.gz) = 5943d029d98d540802a162eab8ca13b9b2e9480a
+Size (flickcurl-1.21.tar.gz) = 1775999 bytes
+SHA1 (patch-src_flickcurl__internal.h) = d0d2312289ccd99101bc135cb38f1e371dc88ecb
diff --git a/net/flickcurl/patches/patch-src_flickcurl__internal.h b/net/flickcurl/patches/patch-src_flickcurl__internal.h
new file mode 100644
index 00000000000..8b1c22b8650
--- /dev/null
+++ b/net/flickcurl/patches/patch-src_flickcurl__internal.h
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_flickcurl__internal.h,v 1.1.1.1 2011/08/25 13:30:23 jakllsch Exp $
+
+--- src/flickcurl_internal.h.orig 2010-07-24 19:33:34.000000000 +0000
++++ src/flickcurl_internal.h
+@@ -24,7 +24,6 @@
+ #include <libxml/xpath.h>
+
+ #include <curl/curl.h>
+-#include <curl/types.h>
+ #include <curl/easy.h>
+
+