Import upstream/1.2.
Kumar Appaiah
16 years ago
0 | 2008-01-26 Dave Beckett <dave@dajobe.org> | |
0 | 2008-01-28 Dave Beckett <dave@dajobe.org> | |
1 | ||
2 | * ChangeLog: Snapshotted flickcurl_1_2 for 1.2 release (SVN 518) | |
3 | ||
4 | * configure.ac: Look for nanosleep in -lrt and -lposix4 to help solaris. | |
5 | ||
6 | * docs/Makefile.am: Add flickcurl.1.in to dist. Make build rule | |
7 | maintainer only | |
8 | ||
9 | 2008-01-26 Dave Beckett <dave@dajobe.org> | |
10 | ||
11 | * README.html: curl min | |
12 | ||
13 | * ChangeLog: Snapshotted flickcurl_1_1 for 1.1 release (SVN 507) | |
14 | ||
15 | * NEWS.html, configure.ac: Bump version to 1.2 | |
1 | 16 | |
2 | 17 | * Snapshotted flickcurl_1_1 for 1.1 release (SVN 509) |
3 | 18 |
0 | 0 | Flickcurl News |
1 | 1 | |
2 | 2 | [1]Dave Beckett |
3 | ||
4 | 2008-01-28 Flickcurl 1.2 | |
5 | ||
6 | Fixed "brown paper bag" issue. 1.1 could not be built as | |
7 | docs/flickcurl.1.in was missing from the tarball: | |
8 | make[1]: *** No rule to make target `flickcurl.1.in', needed by `flickcurl.1'. | |
9 | Stop. | |
10 | ||
11 | Added configure search for nanosleep() in librt and libposix4 for | |
12 | building on Solaris. | |
3 | 13 | |
4 | 14 | 2008-01-26 Flickcurl 1.1 |
5 | 15 |
10 | 10 | <h2 style="text-align:center"><a href="http://www.dajobe.org/">Dave Beckett</a></h2> |
11 | 11 | |
12 | 12 | |
13 | <h2 id="D2008-01-28">2008-01-28 Flickcurl 1.2</h2> | |
14 | ||
15 | <p>Fixed "brown paper bag" issue. | |
16 | 1.1 could not be built as docs/flickcurl.1.in was missing | |
17 | from the tarball:</p> | |
18 | <pre> | |
19 | make[1]: *** No rule to make target `flickcurl.1.in', needed by `flickcurl.1'. Stop. | |
20 | </pre> | |
21 | ||
22 | <p>Added <code>configure</code> search for <code>nanosleep()</code> | |
23 | in librt and libposix4 for building on Solaris. | |
24 | </p> | |
25 | ||
26 | ||
13 | 27 | <h2 id="D2008-01-26">2008-01-26 Flickcurl 1.1</h2> |
14 | 28 | |
15 | 29 | <p>2 new Flickr API calls for updates to the places APIs:</p> |
20 | 20 | News: [8]Flickcurl News including changes |
21 | 21 | |
22 | 22 | Requirements: the following libraries are needed: |
23 | * [9]libcurl | |
23 | * [9]libcurl 7.10.0 or newer | |
24 | 24 | * [10]libxml2 2.6.8 or newer |
25 | 25 | * [11]raptor 1.4.0 (optional), 1.4.14 recommended |
26 | 26 |
37 | 37 | |
38 | 38 | <p>Requirements: the following libraries are needed:</p> |
39 | 39 | <ul> |
40 | <li><a href="http://curl.haxx.se/libcurl/">libcurl</a></li> | |
40 | <li><a href="http://curl.haxx.se/libcurl/">libcurl</a> 7.10.0 or newer</li> | |
41 | 41 | <li><a href="http://xmlsoft.org/">libxml2</a> 2.6.8 or newer</li> |
42 | 42 | <li><a href="http://librdf.org/raptor/">raptor</a> 1.4.0 (optional), 1.4.14 recommended</li> |
43 | 43 | </ul> |
0 | 0 | #! /bin/sh |
1 | 1 | # From configure.ac Revision: . |
2 | 2 | # Guess values for system-dependent variables and create Makefiles. |
3 | # Generated by GNU Autoconf 2.61 for Flickcurl 1.1. | |
3 | # Generated by GNU Autoconf 2.61 for Flickcurl 1.2. | |
4 | 4 | # |
5 | 5 | # Report bugs to <http://bugs.librdf.org/>. |
6 | 6 | # |
728 | 728 | # Identity of this package. |
729 | 729 | PACKAGE_NAME='Flickcurl' |
730 | 730 | PACKAGE_TARNAME='flickcurl' |
731 | PACKAGE_VERSION='1.1' | |
732 | PACKAGE_STRING='Flickcurl 1.1' | |
731 | PACKAGE_VERSION='1.2' | |
732 | PACKAGE_STRING='Flickcurl 1.2' | |
733 | 733 | PACKAGE_BUGREPORT='http://bugs.librdf.org/' |
734 | 734 | |
735 | 735 | ac_unique_file="src/flickcurl.h" |
1398 | 1398 | # Omit some internal or obsolete options to make the list less imposing. |
1399 | 1399 | # This message is too long to be a string in the A/UX 3.1 sh. |
1400 | 1400 | cat <<_ACEOF |
1401 | \`configure' configures Flickcurl 1.1 to adapt to many kinds of systems. | |
1401 | \`configure' configures Flickcurl 1.2 to adapt to many kinds of systems. | |
1402 | 1402 | |
1403 | 1403 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1404 | 1404 | |
1468 | 1468 | |
1469 | 1469 | if test -n "$ac_init_help"; then |
1470 | 1470 | case $ac_init_help in |
1471 | short | recursive ) echo "Configuration of Flickcurl 1.1:";; | |
1471 | short | recursive ) echo "Configuration of Flickcurl 1.2:";; | |
1472 | 1472 | esac |
1473 | 1473 | cat <<\_ACEOF |
1474 | 1474 | |
1577 | 1577 | test -n "$ac_init_help" && exit $ac_status |
1578 | 1578 | if $ac_init_version; then |
1579 | 1579 | cat <<\_ACEOF |
1580 | Flickcurl configure 1.1 | |
1580 | Flickcurl configure 1.2 | |
1581 | 1581 | generated by GNU Autoconf 2.61 |
1582 | 1582 | |
1583 | 1583 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1591 | 1591 | This file contains any messages produced by compilers while |
1592 | 1592 | running configure, to aid debugging if configure makes a mistake. |
1593 | 1593 | |
1594 | It was created by Flickcurl $as_me 1.1, which was | |
1594 | It was created by Flickcurl $as_me 1.2, which was | |
1595 | 1595 | generated by GNU Autoconf 2.61. Invocation command line was |
1596 | 1596 | |
1597 | 1597 | $ $0 $@ |
2313 | 2313 | |
2314 | 2314 | # Define the identity of the package. |
2315 | 2315 | PACKAGE='flickcurl' |
2316 | VERSION='1.1' | |
2316 | VERSION='1.2' | |
2317 | 2317 | |
2318 | 2318 | |
2319 | 2319 | cat >>confdefs.h <<_ACEOF |
21283 | 21283 | fi |
21284 | 21284 | done |
21285 | 21285 | |
21286 | { echo "$as_me:$LINENO: checking for library containing nanosleep" >&5 | |
21287 | echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6; } | |
21288 | if test "${ac_cv_search_nanosleep+set}" = set; then | |
21289 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
21290 | else | |
21291 | ac_func_search_save_LIBS=$LIBS | |
21292 | cat >conftest.$ac_ext <<_ACEOF | |
21293 | /* confdefs.h. */ | |
21294 | _ACEOF | |
21295 | cat confdefs.h >>conftest.$ac_ext | |
21296 | cat >>conftest.$ac_ext <<_ACEOF | |
21297 | /* end confdefs.h. */ | |
21298 | ||
21299 | /* Override any GCC internal prototype to avoid an error. | |
21300 | Use char because int might match the return type of a GCC | |
21301 | builtin and then its argument prototype would still apply. */ | |
21302 | #ifdef __cplusplus | |
21303 | extern "C" | |
21304 | #endif | |
21305 | char nanosleep (); | |
21306 | int | |
21307 | main () | |
21308 | { | |
21309 | return nanosleep (); | |
21310 | ; | |
21311 | return 0; | |
21312 | } | |
21313 | _ACEOF | |
21314 | for ac_lib in '' rt posix4; do | |
21315 | if test -z "$ac_lib"; then | |
21316 | ac_res="none required" | |
21317 | else | |
21318 | ac_res=-l$ac_lib | |
21319 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | |
21320 | fi | |
21321 | rm -f conftest.$ac_objext conftest$ac_exeext | |
21322 | if { (ac_try="$ac_link" | |
21323 | case "(($ac_try" in | |
21324 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21325 | *) ac_try_echo=$ac_try;; | |
21326 | esac | |
21327 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21328 | (eval "$ac_link") 2>conftest.er1 | |
21329 | ac_status=$? | |
21330 | grep -v '^ *+' conftest.er1 >conftest.err | |
21331 | rm -f conftest.er1 | |
21332 | cat conftest.err >&5 | |
21333 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
21334 | (exit $ac_status); } && { | |
21335 | test -z "$ac_c_werror_flag" || | |
21336 | test ! -s conftest.err | |
21337 | } && test -s conftest$ac_exeext && | |
21338 | $as_test_x conftest$ac_exeext; then | |
21339 | ac_cv_search_nanosleep=$ac_res | |
21340 | else | |
21341 | echo "$as_me: failed program was:" >&5 | |
21342 | sed 's/^/| /' conftest.$ac_ext >&5 | |
21343 | ||
21344 | ||
21345 | fi | |
21346 | ||
21347 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
21348 | conftest$ac_exeext | |
21349 | if test "${ac_cv_search_nanosleep+set}" = set; then | |
21350 | break | |
21351 | fi | |
21352 | done | |
21353 | if test "${ac_cv_search_nanosleep+set}" = set; then | |
21354 | : | |
21355 | else | |
21356 | ac_cv_search_nanosleep=no | |
21357 | fi | |
21358 | rm conftest.$ac_ext | |
21359 | LIBS=$ac_func_search_save_LIBS | |
21360 | fi | |
21361 | { echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5 | |
21362 | echo "${ECHO_T}$ac_cv_search_nanosleep" >&6; } | |
21363 | ac_res=$ac_cv_search_nanosleep | |
21364 | if test "$ac_res" != no; then | |
21365 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | |
21366 | ||
21367 | else | |
21368 | { { echo "$as_me:$LINENO: error: nanosleep was not found" >&5 | |
21369 | echo "$as_me: error: nanosleep was not found" >&2;} | |
21370 | { (exit 1); exit 1; }; } | |
21371 | fi | |
21372 | ||
21286 | 21373 | |
21287 | 21374 | |
21288 | 21375 | |
22528 | 22615 | # report actual input values of CONFIG_FILES etc. instead of their |
22529 | 22616 | # values after options handling. |
22530 | 22617 | ac_log=" |
22531 | This file was extended by Flickcurl $as_me 1.1, which was | |
22618 | This file was extended by Flickcurl $as_me 1.2, which was | |
22532 | 22619 | generated by GNU Autoconf 2.61. Invocation command line was |
22533 | 22620 | |
22534 | 22621 | CONFIG_FILES = $CONFIG_FILES |
22581 | 22668 | _ACEOF |
22582 | 22669 | cat >>$CONFIG_STATUS <<_ACEOF |
22583 | 22670 | ac_cs_version="\\ |
22584 | Flickcurl config.status 1.1 | |
22671 | Flickcurl config.status 1.2 | |
22585 | 22672 | configured by $0, generated by GNU Autoconf 2.61, |
22586 | 22673 | with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
22587 | 22674 |
1 | 1 | # Copyright (C) 2007-2008 David Beckett http://www.dajobe.org/ |
2 | 2 | |
3 | 3 | AC_PREREQ(2.59) |
4 | AC_INIT(Flickcurl, 1.1, http://bugs.librdf.org/, flickcurl) | |
4 | AC_INIT(Flickcurl, 1.2, http://bugs.librdf.org/, flickcurl) | |
5 | 5 | AC_CONFIG_SRCDIR([src/flickcurl.h]) |
6 | 6 | AM_CONFIG_HEADER([src/config.h]) |
7 | 7 | AC_REVISION($Revision: $)dnl |
68 | 68 | AC_FUNC_STRFTIME |
69 | 69 | AC_FUNC_VPRINTF |
70 | 70 | AC_CHECK_FUNCS([getopt getopt_long memset strdup vsnprintf]) |
71 | AC_SEARCH_LIBS(nanosleep, rt posix4, , AC_MSG_ERROR(nanosleep was not found)) | |
71 | 72 | |
72 | 73 | AM_CONDITIONAL(GETOPT, test $ac_cv_func_getopt = no -a $ac_cv_func_getopt_long = no) |
73 | 74 |
0 | Index: b/flickcurl.1 | |
1 | =================================================================== | |
2 | --- a/flickcurl.1 | |
3 | +++ b/flickcurl.1 | |
4 | @@ -29,7 +29,7 @@ | |
5 | .B \-a \fIFROB\fP, \-\-auth \fIFROB\fP | |
6 | Authenticate with a \fIFROB\fP and write auth config. | |
7 | .SH SEE ALSO | |
8 | -.BR /usr/share/doc/flickcurl/README.gz, | |
9 | +.BR /usr/share/doc/flickcurl-utils/README.gz, | |
10 | .BR flickrdf (1). | |
11 | .br | |
12 | .SH AUTHOR |
65 | 65 | |
66 | 66 | EXTRA_DIST+= \ |
67 | 67 | $(man_MANS) \ |
68 | flickcurl.1.in \ | |
68 | 69 | version.xml.in |
69 | 70 | |
71 | if MAINTAINER_MODE | |
70 | 72 | flickcurl.1: $(srcdir)/flickcurl.1.in $(top_srcdir)/utils/flickcurl.c |
71 | 73 | ( cd $(top_builddir)/utils && $(MAKE) flickcurl ) && \ |
72 | 74 | sed -ne '1,/SH COMMANDS/p' $(srcdir)/flickcurl.1.in > flickcurl.1.head && \ |
74 | 76 | sed -ne '/SH SEE ALSO/,$$p' $(srcdir)/flickcurl.1.in > flickcurl.1.tail && \ |
75 | 77 | cat flickcurl.1.head flickcurl.1.body flickcurl.1.tail > flickcurl.1 && \ |
76 | 78 | rm -f flickcurl.1.head flickcurl.1.body flickcurl.1.tail |
79 | endif |
248 | 248 | TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE) |
249 | 249 | EXTRA_DIST = $(content_files) $(HTML_IMAGES) $(DOC_MAIN_SGML_FILE) \ |
250 | 250 | $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt \ |
251 | $(man_MANS) version.xml.in | |
251 | $(man_MANS) flickcurl.1.in version.xml.in | |
252 | 252 | DOC_STAMPS = scan-build.stamp tmpl-build.stamp sgml-build.stamp html-build.stamp \ |
253 | 253 | $(srcdir)/tmpl.stamp $(srcdir)/sgml.stamp $(srcdir)/html.stamp |
254 | 254 | |
607 | 607 | |
608 | 608 | .PHONY : dist-hook-local docs |
609 | 609 | |
610 | flickcurl.1: $(srcdir)/flickcurl.1.in $(top_srcdir)/utils/flickcurl.c | |
611 | ( cd $(top_builddir)/utils && $(MAKE) flickcurl ) && \ | |
612 | sed -ne '1,/SH COMMANDS/p' $(srcdir)/flickcurl.1.in > flickcurl.1.head && \ | |
613 | $(top_builddir)/utils/flickcurl -m > flickcurl.1.body && \ | |
614 | sed -ne '/SH SEE ALSO/,$$p' $(srcdir)/flickcurl.1.in > flickcurl.1.tail && \ | |
615 | cat flickcurl.1.head flickcurl.1.body flickcurl.1.tail > flickcurl.1 && \ | |
616 | rm -f flickcurl.1.head flickcurl.1.body flickcurl.1.tail | |
610 | @MAINTAINER_MODE_TRUE@flickcurl.1: $(srcdir)/flickcurl.1.in $(top_srcdir)/utils/flickcurl.c | |
611 | @MAINTAINER_MODE_TRUE@ ( cd $(top_builddir)/utils && $(MAKE) flickcurl ) && \ | |
612 | @MAINTAINER_MODE_TRUE@ sed -ne '1,/SH COMMANDS/p' $(srcdir)/flickcurl.1.in > flickcurl.1.head && \ | |
613 | @MAINTAINER_MODE_TRUE@ $(top_builddir)/utils/flickcurl -m > flickcurl.1.body && \ | |
614 | @MAINTAINER_MODE_TRUE@ sed -ne '/SH SEE ALSO/,$$p' $(srcdir)/flickcurl.1.in > flickcurl.1.tail && \ | |
615 | @MAINTAINER_MODE_TRUE@ cat flickcurl.1.head flickcurl.1.body flickcurl.1.tail > flickcurl.1 && \ | |
616 | @MAINTAINER_MODE_TRUE@ rm -f flickcurl.1.head flickcurl.1.body flickcurl.1.tail | |
617 | 617 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
618 | 618 | # Otherwise a system limit (for SysV at least) may be exceeded. |
619 | 619 | .NOEXPORT: |
0 | .TH FLICKCURL 1 "23 January 2008" | |
1 | .SH NAME | |
2 | flickcurl \- call Flickr API | |
3 | .SH SYNOPSIS | |
4 | .B flickcurl | |
5 | [\fB\-d \fIDELAY\fP\fR] [\fB\-a \fIFROB\fP\fR] [\fB\-h\fR] [\fB\-v\fR] [\fIcommands\fR] ... | |
6 | .br | |
7 | .SH DESCRIPTION | |
8 | \fBflickcurl\fP is a program that can call some of the Flickr APIs, | |
9 | plus help with authentication by turning mobile authentication method | |
10 | frobs into full auth_tokens with \fI-a NNN-NNN-NNN\fP and writing the | |
11 | \fI~/.flickcurl.conf\fP file. Use \fIflickcurl \-h\fP to get a list of | |
12 | the supported commands and their arguments. | |
13 | ||
14 | .SH OPTIONS | |
15 | These programs follow the usual GNU command line syntax, with long | |
16 | options starting with two dashes (`-'). | |
17 | A summary of options is included below. | |
18 | .TP | |
19 | .B \-h, \-\-help | |
20 | Show summary of options and exit. | |
21 | .TP | |
22 | .B \-v, \-\-version | |
23 | Display the version of the program and exit. | |
24 | .TP | |
25 | .B \-d \fIDELAY\fP, \-\-delay \fIDELAY\fP | |
26 | Set delay between requests to \fIDELAY\fP milliseconds. | |
27 | .TP | |
28 | .B \-a \fIFROB\fP, \-\-auth \fIFROB\fP | |
29 | Authenticate with a \fIFROB\fP and write auth config. | |
30 | .SH COMMANDS | |
31 | .SH SEE ALSO | |
32 | .BR flickrdf (1). | |
33 | .br | |
34 | .SH AUTHOR | |
35 | flickcurl was written by David Beckett. | |
36 | .PP | |
37 | This manual page was written by Kumar Appaiah <akumar@ee.iitm.ac.in>, | |
38 | for the Debian project (but may be used by others). |
22 | 22 |   <span class="otheraddr"><a class="ulink" href="http://www.dajobe.org/" target="_top">http://www.dajobe.org/</a></span><br> |
23 | 23 | </p></div></div> |
24 | 24 | </div></div> |
25 | <div><p class="releaseinfo">Manual for <a class="ulink" href="http://librdf.org/flickcurl/" target="_top">Flickcurl</a> 1.1 | |
25 | <div><p class="releaseinfo">Manual for <a class="ulink" href="http://librdf.org/flickcurl/" target="_top">Flickcurl</a> 1.2 | |
26 | 26 | </p></div> |
27 | 27 | <div><p class="copyright">Copyright © 2007, 2008 Dave Beckett</p></div> |
28 | 28 | <div><div class="legalnotice"> |