import flickcurl 1.5
Flickcurl is a C library (and utility) for the Flickr API, handling creating the requests, signing, token management, calling the API, marshalling request parameters and decoding responses. It also includes a program flickrdf to turn photo metadata, tags, machine tags and places into an RDF triples description. rather loosely based on a submission by edd barret (MAINTAINER)
This commit is contained in:
parent
6356396b33
commit
2f03961198
38
net/flickcurl/Makefile
Normal file
38
net/flickcurl/Makefile
Normal file
@ -0,0 +1,38 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2008/12/11 22:35:42 jasper Exp $
|
||||
|
||||
COMMENT = flickr API library and utility
|
||||
|
||||
DISTNAME = flickcurl-1.5
|
||||
SHARED_LIBS += flickcurl 0.0 # .0.0
|
||||
CATEGORIES = net
|
||||
|
||||
HOMEPAGE = http://librdf.org/flickcurl/
|
||||
MAINTAINER = Edd Barrett <vext01@gmail.com>
|
||||
|
||||
# LGPLv2.1/GPLv2/Apachev2.0
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM =Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
MODULES = devel/gettext
|
||||
|
||||
WANTLIB = c crypto m ssl z
|
||||
|
||||
MASTER_SITES = http://download.dajobe.org/flickcurl/
|
||||
|
||||
USE_LIBTOOL = Yes
|
||||
|
||||
LIB_DEPENDS = curl.>=10::net/curl \
|
||||
idn.>=16::devel/libidn \
|
||||
xml2.>=9::textproc/libxml,-main \
|
||||
|
||||
CONFIGURE_STYLE = gnu
|
||||
CONFIGURE_ARGS = --without-raptor
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/flickcurl
|
||||
${INSTALL_DATA} ${FILESDIR}/README.OpenBSD \
|
||||
${PREFIX}/share/doc/flickcurl
|
||||
|
||||
.include <bsd.port.mk>
|
5
net/flickcurl/distinfo
Normal file
5
net/flickcurl/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (flickcurl-1.5.tar.gz) = CXmrTGI9gcg4PqHDg24Tbw==
|
||||
RMD160 (flickcurl-1.5.tar.gz) = IJbo4L9On2KypEEMTVbgbK2ObxE=
|
||||
SHA1 (flickcurl-1.5.tar.gz) = nbUSC2wWqP/hE0u5wIqwMHry1sg=
|
||||
SHA256 (flickcurl-1.5.tar.gz) = +/zwDYU/J04Scd4gDJlfwZAkKfKnJdTAde2m0DfB/uo=
|
||||
SIZE (flickcurl-1.5.tar.gz) = 639464
|
26
net/flickcurl/files/README.OpenBSD
Normal file
26
net/flickcurl/files/README.OpenBSD
Normal file
@ -0,0 +1,26 @@
|
||||
$OpenBSD: README.OpenBSD,v 1.1.1.1 2008/12/11 22:35:42 jasper Exp $
|
||||
|
||||
You will need to have a ~/.flickcurl.conf .
|
||||
|
||||
1. Get an API key if you don't already have one.
|
||||
|
||||
Go to http://www.flickr.com/services/api/keys/ and obtain a "mobile" app
|
||||
key You will be give an "api key", "shared secret" and an
|
||||
authentication URL.
|
||||
|
||||
2. Create a ~/.flickcurl.conf file. For example:
|
||||
|
||||
[flickr]
|
||||
api_key=<your api key>
|
||||
secret=<your shared secret>
|
||||
|
||||
3. Get a frob
|
||||
Visit your authentication url in a web browser to get a "frob".
|
||||
|
||||
4. Exchange the frob for an authentication token
|
||||
|
||||
flickcurl -a <your frob>
|
||||
|
||||
flickcurl will save the token in yor config file. Don't be fooled by
|
||||
'Try `flickcurl --help' for more information.'. Unless you see errors,
|
||||
it worked.
|
13
net/flickcurl/pkg/DESCR
Normal file
13
net/flickcurl/pkg/DESCR
Normal file
@ -0,0 +1,13 @@
|
||||
Flickcurl is a C library (and utility) 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 1.0 or later supports 100% of the
|
||||
2008-04-07 version of the API (see Flickcurl API coverage) including the
|
||||
functions for photo/video uploading, browsing, searching, adding and
|
||||
editing comments, groups, notes, photosets, categories, activity, blogs,
|
||||
favorites, places, tags and photo, video metadata.
|
||||
|
||||
It also includes a program flickrdf to turn photo metadata, tags,
|
||||
machine tags and places into an RDF triples description.
|
2
net/flickcurl/pkg/MESSAGE
Normal file
2
net/flickcurl/pkg/MESSAGE
Normal file
@ -0,0 +1,2 @@
|
||||
See ${PREFIX}/share/doc/flickcurl/README.OpenBSD for information on how
|
||||
to set up flickcurl for usage on OpenBSD.
|
2
net/flickcurl/pkg/PFRAG.shared
Normal file
2
net/flickcurl/pkg/PFRAG.shared
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2008/12/11 22:35:42 jasper Exp $
|
||||
@lib lib/libflickcurl.so.${LIBflickcurl_VERSION}
|
59
net/flickcurl/pkg/PLIST
Normal file
59
net/flickcurl/pkg/PLIST
Normal file
@ -0,0 +1,59 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/12/11 22:35:42 jasper Exp $
|
||||
%%SHARED%%
|
||||
@bin bin/flickcurl
|
||||
bin/flickcurl-config
|
||||
@bin bin/flickrdf
|
||||
include/flickcurl.h
|
||||
lib/libflickcurl.a
|
||||
lib/libflickcurl.la
|
||||
lib/pkgconfig/
|
||||
lib/pkgconfig/flickcurl.pc
|
||||
@man man/man1/flickcurl-config.1
|
||||
@man man/man1/flickcurl.1
|
||||
@man man/man1/flickrdf.1
|
||||
share/doc/flickcurl/
|
||||
share/doc/flickcurl/README.OpenBSD
|
||||
share/gtk-doc/
|
||||
share/gtk-doc/html/
|
||||
share/gtk-doc/html/flickcurl/
|
||||
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-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-comment.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-general.html
|
||||
share/gtk-doc/html/flickcurl/flickcurl-section-group.html
|
||||
share/gtk-doc/html/flickcurl/flickcurl-section-misc.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-photoset.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-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/introduction.html
|
||||
share/gtk-doc/html/flickcurl/ix01.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
|
Loading…
x
Reference in New Issue
Block a user