debian/0000755000000000000000000000000011347020143007161 5ustar debian/control0000644000000000000000000000243211347003554010574 0ustar Source: libwww-facebook-api-perl Section: perl Priority: optional Build-Depends: debhelper (>= 7.0.50) Build-Depends-Indep: perl, libwww-perl, libcrypt-ssleay-perl, libjson-xs-perl, libtest-mockobject-perl, libjson-any-perl, libreadonly-perl, perl (>= 5.10) | libversion-perl, libio-string-perl Maintainer: Debian Perl Group Uploaders: AGOSTINI Yves , gregor herrmann , Nathan Handler , Jonathan Yu Standards-Version: 3.8.4 Homepage: http://search.cpan.org/dist/WWW-Facebook-API/ Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libwww-facebook-api-perl/ Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libwww-facebook-api-perl/ Package: libwww-facebook-api-perl Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, libwww-perl, libcrypt-ssleay-perl, libjson-any-perl, libjson-xs-perl, perl (>= 5.10) | libversion-perl, libreadonly-perl Description: Facebook API implementation WWW::Facebook::API is a Perl implementation of the Facebook API, working off of the canonical Java and PHP implementations. By default it uses JSON::Any to parse the response returned by Facebook's server. There is an option to return the raw response in either XML or JSON. debian/libwww-facebook-api-perl.examples0000644000000000000000000000001311164756741015525 0ustar examples/* debian/copyright0000644000000000000000000000321011347003554011117 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=59 Maintainer: David Romano Source: http://search.cpan.org/dist/WWW-Facebook-API/ Name: WWW-Facebook-API Files: * Copyright: 2007-2010, David Romano License: Artistic or GPL-1+ Files: lib/WWW/Facebook/API/Canvas.pm, examples/facebook-canvas-json Copyright: 2007-2010, David Romano 2007, David Leadbeater License: Artistic or GPL-1+ Files: lib/WWW/Facebook/API/Permissions.pm Copyright: 2010, Playfish 2010, David Romano License: Artistic or GPL-1+ Files: lib/WWW/Facebook/API/FBML.pm Copyright: 2010, David Romano 2007, Thomas Sibley License: Artistic or GPL-1+ Files: debian/* Copyright: 2009-2010, Jonathan Yu 2009, Nathan Handler 2008-2009, gregor herrmann 2008, AGOSTINI Yves License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian GNU/Linux systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic' License: GPL-1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. . On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL' debian/watch0000644000000000000000000000017511245516000010214 0ustar version=3 http://search.cpan.org/dist/WWW-Facebook-API/ .*/WWW-Facebook-API-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/patches/0000755000000000000000000000000011347020040010604 5ustar debian/patches/fix-pod-diagnostics.patch0000644000000000000000000000622311347012712015512 0ustar Description: fix POD (drop C<> blocks from diagnostics section) Author: Jonathan Yu Origin: vendor Forwarded: no --- a/lib/WWW/Facebook/API/Auth.pm +++ b/lib/WWW/Facebook/API/Auth.pm @@ -253,7 +253,7 @@ =over -=item C< Token needed for call to get_session > +=item Token needed for call to get_session You are running a desktop app and you did not pass a token into get_session. You can create a token by calling create_token() or (better) login(). @@ -262,13 +262,13 @@ web app. When the user does so, an auth_token will be returned (as a parameter) to your callback url. Use that auth_token for the session. -=item C< Don't know how to open browser for the system %s > +=item Don't know how to open browser for the system %s The module doesn't know the command to use to open a browser on the given system. If you passed in C to login(), it can use that string as the command to execute to open the login url. -=item C< Cannot use login method with web app > +=item Cannot use login method with web app The login() method is not able to be used to sign in when using a web app. See the Facebook TOS A.9.iv. --- a/lib/WWW/Facebook/API.pm +++ b/lib/WWW/Facebook/API.pm @@ -1280,38 +1280,38 @@ =over -=item C<< Unable to load JSON module for parsing: %s >> +=item Unable to load JSON module for parsing: %s L was not able to load one of the JSON modules it uses to parse JSON. Please make sure you have one (of the several) JSON modules it can use installed. -=item C<< Error during REST call: %s >> +=item Error during REST call: %s This means that there's most likely an error in the server you are using to communicate to the Facebook REST server. Look at the traceback to determine why an error was thrown. Double-check that C is set to the right location. -=item C<< Cannot create namespace %s: %s >> +=item Cannot create namespace %s: %s Cannot create the needed subclass method. Contact the developer to report. -=item C<< Cannot create attribute %s: %s >> +=item Cannot create attribute %s: %s Cannot create the needed attribute method. Contact the developer to report. -=item C<<_format_and_check_params must be called in list context!>> +=item _format_and_check_params must be called in list context! You're using a private method call and you're not calling it in list context. It returns a list of items, all of which should be interesting to you. -=item C<< Cannot open %s >> +=item Cannot open %s Cannot open the configuration file. Make sure the filename is correct and that the program has the appropriate permissions. -=item C<< Cannot close %s >> +=item Cannot close %s Cannot close the configuration file. Make sure the filename is correct and that the program has the appropriate permissions. --- a/lib/WWW/Facebook/API/Canvas.pm +++ b/lib/WWW/Facebook/API/Canvas.pm @@ -202,7 +202,7 @@ =over -=item C<< Multiple values for %s. Are you using POST for forms? >> +=item Multiple values for %s. Are you using POST for forms? Your forms are most likely using GET rather than POST to the Facebook URLs. Change your forms to using POST and the problem should be resolved. (See debian/patches/fix-pod-spelling.patch0000644000000000000000000000072011347003554015020 0ustar Description: fix POD spelling problems Author: Jonathan Yu Origin: vendor Forwarded: no --- a/lib/WWW/Facebook/API.pm +++ b/lib/WWW/Facebook/API.pm @@ -989,7 +989,7 @@ =item last_call_success(1|0) -A boolean set to true or false, to show whether the last call was succesful +A boolean set to true or false, to show whether the last call was successful or not. Called by C. Defaults to 1. =item last_error( $error_message ) debian/patches/manpage-errors.patch0000644000000000000000000000107011245532072014557 0ustar Author: gregor herrmann Description: avoid manpage-has-errors-from-man: "can't break line" error --- a/lib/WWW/Facebook/API/Feed.pm +++ b/lib/WWW/Facebook/API/Feed.pm @@ -92,7 +92,7 @@ full_story_template => 'JSON', ); -The formats for C,C,C are +The formats for C, C, C are described on the developer wiki: http://wiki.developers.facebook.com/index.php/Feed.registerTemplateBundle debian/patches/series0000644000000000000000000000010611347012712012025 0ustar manpage-errors.patch fix-pod-spelling.patch fix-pod-diagnostics.patch debian/compat0000644000000000000000000000000211164756716010402 0ustar 7 debian/changelog0000644000000000000000000000652211347012712011043 0ustar libwww-facebook-api-perl (0.4.18-1) unstable; urgency=low * New upstream release * Update copyright information * Use new 3.0 (quilt) source format * Standards-Version 3.8.4 (no changes) * Remove POD test modules from B-D-I * Add patch to fix POD spelling errors * Add a patch to fix problems with diagnostics POD section -- Jonathan Yu Sat, 13 Mar 2010 18:14:32 -0500 libwww-facebook-api-perl (0.4.17-1) unstable; urgency=low [ Jonathan Yu ] * New upstream release * Add myself to Uploaders * Refresh copyright information * Fix shebang in examples using override [ Ryan Niebur ] * Update jawnsy's email address [ gregor herrmann ] * debian/control: Changed: (build-)depend on perl instead of perl- modules. -- Jonathan Yu Thu, 26 Nov 2009 19:31:52 -0500 libwww-facebook-api-perl (0.4.16-1) unstable; urgency=low [ Nathan Handler ] * New upstream release * debian/watch: - Update to ignore development releases. - Remove comments * debian/control: - Add myself to list of Uploaders * debian/patches/*: - Remove since fix-pod.patch is no longer needed (fixed upstream) [ Jonathan Yu ] * Updated copyright information * Use new short debhelper rules format * Standards-Version 3.8.3 (remove perl version dependency) [ gregor herrmann ] * debian/copyright: add additional copyright holders. * Remove some build dependencies that are not used any more. * New patch manpage-errors.patch to avoid manpage-has-errors-from-man: "can't break line" error. -- Nathan Handler Thu, 27 Aug 2009 00:30:17 +0000 libwww-facebook-api-perl (0.4.14-1) unstable; urgency=low * New upstream release. * debian/control: mention module name in long description. * Add debian/README.source to document quilt usage, as required by Debian Policy since 3.8.0. * debian/control: Changed: Switched Vcs-Browser field to ViewSVN (source stanza). * Don't enable optional Perl::Critic tests in debian/rules since they fail with newer versions of Perl::Critic; thanks to Daniel Schepler for the bug report (closes: #521988). * debian/copyright: update formatting and copyright holders for debian/*. * Set Standards-Version to 3.8.1 (no changes). -- gregor herrmann Wed, 01 Apr 2009 23:38:39 +0200 libwww-facebook-api-perl (0.4.13-1) unstable; urgency=low [ AGOSTINI Yves ] * new upstream release * add libreadonly-perl as dep * no more FBTFS with libtest-perl-critic-perl, add perl::critic tests with PERL_TEST_CRITIC=1 in debian/rules [ gregor herrmann ] * Create patch fix-pod.patch to get linebreaks into the manpage, remove the lintian override. -- AGOSTINI Yves Tue, 12 Aug 2008 15:35:30 +0200 libwww-facebook-api-perl (0.4.11-2) unstable; urgency=low * Remove libtest-perl-critic-perl from build dependencies to fix FBTFS because of failures in t/perlcritic.t (closes: #490325). Don't allow "eval { }; if $@ { }" (but allowing "eval { }; { } if $@") looks like some Perl::Critic bug. * Add /me to Uploaders. -- gregor herrmann Fri, 11 Jul 2008 23:25:08 +0200 libwww-facebook-api-perl (0.4.11-1) unstable; urgency=low * Initial Release. (Closes: #487659) -- AGOSTINI Yves Mon, 23 Jun 2008 14:13:52 +0200 debian/source/0000755000000000000000000000000011347020040010455 5ustar debian/source/format0000644000000000000000000000001411347020140011664 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000035311347003554010251 0ustar #!/usr/bin/make -f PACKAGE = $(shell dh_listpackages) TMP = $(CURDIR)/debian/$(PACKAGE) %: dh $@ override_dh_installexamples: dh_installexamples sed -i '1s|^#!perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/*