debian/0000755000000000000000000000000011706376267007205 5ustar debian/changelog0000644000000000000000000001030311706375603011045 0ustar libflickrnet (1:2.2.0-4) unstable; urgency=low * Rebuild for CLR 4.0 transition. * Convert to 3.0 (quilt) * Standards-Version → 3.9.2, no changes required -- Iain Lane Fri, 20 Jan 2012 23:36:41 +0000 libflickrnet (1:2.2.0-3) unstable; urgency=low * debian/control: + Depend on mono-devel 2.4.3, and strip out no-longer-needed direct library dependencies -- Jo Shields Fri, 13 Nov 2009 21:33:35 +0000 libflickrnet (1:2.2.0-2) unstable; urgency=low * debian/control, debian/rules, debian/libflickrnet-cil-dev.install, debian/libflickrnet2.2-cil.installcligac: + New -dev package containing unversioned pkgconfig file * debian/compile.sh, debian/control: + Use mono-csc from mono-devel 2.4.2.3 * debian/rules, debian/flickrnet.pc, debian/libflickrnet2.2-cil.installcligac: + CLI Policy 0.7 install location * debian/control: + Remove obsolete Replaces libflickrnet2.2-cil -- Jo Shields Fri, 06 Nov 2009 09:16:42 +0000 libflickrnet (1:2.2.0-1) unstable; urgency=low * New upstream release * Don't use svn version in package version * debian/control: - Set the binary package name to libflickrnet2.2-cil - Add Replaces libflickrnet2.1.5-cil - Set Section to cli-mono - Bump Standards-Version to 3.8.3 * Update debian/patches and add descriptions * Add debian/README.source explaining the patch system * debian/copyright: Update download link * Add dummy watch file listing upstream site -- Varun Hiremath Mon, 24 Aug 2009 01:24:23 -0400 libflickrnet (25277-8) unstable; urgency=low * Add patch unbreak-zooomr-support.diff to fix f-spot crashes when exporting to Zooomr (Closes: #514460). Thanks to Chris Coulson for providing the patch. * Bump Standards-Version to 3.8.0 -- Varun Hiremath Sun, 01 Mar 2009 03:19:42 -0500 libflickrnet (25277-7) unstable; urgency=low [ Steve Langasek ] * debian/control: update build-dependencies for mono 2.0 transition * debian/compile.sh: call csc instead of gmcs for mono 2.0 [ Mirco Bauer ] * Upload to unstable. * debian/control: + Removed the useless and funny build-dep on libgnome2.0-cil. -- Mirco Bauer Thu, 26 Feb 2009 23:46:40 +0100 libflickrnet (25277-6) unstable; urgency=low * Rebuild against cli-common-dev 0.5.6 to fix postrm script, which lets the package purge properly (Closes: #459971) -- Varun Hiremath Fri, 11 Jan 2008 11:19:35 +0530 libflickrnet (25277-5) unstable; urgency=low * Move package to pkg-cli-libs svn * debian/control: + Set Maintainer to Debian CLI Libraries Team and add myself to Uploaders + Update Vcs headers * Use lowercase name for the FlickrNet.dll pkg-config file * debian/rules: + Install versioned pkg-config file and create a symlink without version (Closes: #458891) + Use dh_clifixperms instead of chmod. Thanks to Mirco Bauer * Add patches/AssemblyInfo.diff to fix assembly version and comply with the Debian CLI Policy * Add debian/cligacpolicy to fix the ABI breakage (Closes: #458844) -- Varun Hiremath Thu, 03 Jan 2008 23:10:09 +0530 libflickrnet (25277-4) unstable; urgency=low * Add pkg-config file for FlickrNet.dll (Closes: #458891) -- Varun Hiremath Thu, 03 Jan 2008 21:27:01 +0530 libflickrnet (25277-3) unstable; urgency=low * debian/control: + Remove mono from Build-Depends (Closes: #457791) + Update Standards-Version to 3.7.3 + Add Homepage header and replace XS-Vcs with Vcs + Separate out Build-Depends and Build-Depends-Indep -- Varun Hiremath Wed, 02 Jan 2008 23:43:53 +0530 libflickrnet (25277-2) unstable; urgency=low [ Torsten Werner ] * Add myself to Uploaders. [ Varun Hiremath ] * debian/rules: remove FlickrNet/FlickrNet.dll.mdb in clean target. (Closes: #442633) -- Varun Hiremath Mon, 17 Sep 2007 01:21:17 +0530 libflickrnet (25277-1) unstable; urgency=low * Initial release (Closes: #436796) -- Varun Hiremath Mon, 06 Aug 2007 21:41:48 +0530 debian/compat0000644000000000000000000000000210737232524010371 0ustar 5 debian/libflickrnet2.2-cil.installcligac0000644000000000000000000000005111277052774015370 0ustar /usr/lib/cli/FlickrNet-2.2/FlickrNet.dll debian/source/0000755000000000000000000000000011706376267010505 5ustar debian/source/format0000644000000000000000000000001411706375542011706 0ustar 3.0 (quilt) debian/compile.sh0000644000000000000000000000014111274771425011160 0ustar mono-csc -debug -target:library -out:FlickrNet.dll -r:System.Web.dll -r:System.Drawing.dll *.cs debian/flickrnet.pc0000644000000000000000000000024211277052774011505 0ustar prefix=/usr libdir=${prefix}/lib Name: flickrnet Description: Flickr.Net API Library Version: @VERSION@ Libs: -r:${libdir}/cli/FlickrNet-@VERSION@/FlickrNet.dll debian/rules0000755000000000000000000000173411706376225010264 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk export MONO_SHARED_DIR := /tmp build: debian/stamp-build build-arch build-indep debian/stamp-build: (cd FlickrNet; $(SHELL) ../debian/compile.sh) touch $@ clean:: $(RM) FlickrNet/FlickrNet.dll FlickrNet/FlickrNet.dll.mdb debian/stamp-build VERSION=2.2 install/libflickrnet$(VERSION)-cil:: dh_install -plibflickrnet$(VERSION)-cil FlickrNet/FlickrNet.dll /usr/lib/cli/FlickrNet-$(VERSION)/ install/libflickrnet-cil-dev:: install -m644 -D debian/flickrnet.pc $(DEB_DESTDIR)/usr/lib/pkgconfig/flickrnet.pc sed -i "s/@VERSION@/$(VERSION)/g" $(DEB_DESTDIR)/usr/lib/pkgconfig/flickrnet.pc dh_install -plibflickrnet-cil-dev binary-install/libflickrnet$(VERSION)-cil:: dh_installcligac -plibflickrnet$(VERSION)-cil dh_cligacpolicy dh_clifixperms binary-predeb/libflickrnet$(VERSION)-cil:: dh_makeclilibs -plibflickrnet$(VERSION)-cil dh_clideps -d get-orig-source: sh debian/orig-tar.sh $(DEB_UPSTREAM_VERSION) debian/README.source0000644000000000000000000000041511244422325011344 0ustar Patch System ============ This package uses quilt to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. See /usr/share/doc/quilt/README.source for a detailed explanation. debian/orig-tar.sh0000755000000000000000000000060610737232524011260 0ustar #!/bin/sh -e # called by uscan with '--upstream-version' TAR=../libflickrnet_$1.orig.tar.gz DIR=libflickrnet-$1 ZIP=FlickrNet-$1.zip # clean up the upstream tarball unzip $ZIP -d $DIR tar -c -z -f $TAR $DIR rm -rf $DIR $ZIP # move to directory 'tarballs' if [ -r .svn/deb-layout ]; then . .svn/deb-layout mv $TAR $origDir echo "moved $TAR to $origDir" fi exit 0 debian/libflickrnet-cil-dev.install0000644000000000000000000000005211274771425014556 0ustar debian/tmp/usr/lib/pkgconfig/flickrnet.pc debian/watch0000644000000000000000000000015011241315070010205 0ustar # Project hosted at: http://flickrnet.codeplex.com/ # No easy way to track upstream version using uscan debian/control0000644000000000000000000000275011706375340010603 0ustar Source: libflickrnet Section: cli-mono Priority: optional Maintainer: Debian CLI Libraries Team Uploaders: Varun Hiremath , Torsten Werner Build-Depends: cdbs, debhelper (>= 5) Build-Depends-Indep: mono-devel (>= 2.4.3), pkg-config, cli-common-dev (>= 0.5.7) Standards-Version: 3.9.2 Homepage: http://www.codeplex.com/FlickrNet Vcs-Svn: svn://svn.debian.org/svn/pkg-cli-libs/packages/libflickrnet/trunk/ Vcs-Browser: http://svn.debian.org/wsvn/pkg-cli-libs/packages/libflickrnet/trunk/ Package: libflickrnet2.2-cil Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends}, ${cli:Depends} Description: Flickr.Net API Library The Flickr.Net API is a .Net Library for accessing the Flickr API. Written entirely in C# it can be accessed from with any .Net language in .Net Framework 1.1, .Net Framework 2.0, .Net Compact Framework 2.0 and Mono. . This package contains the Flickr.Net library Package: libflickrnet-cil-dev Architecture: all Depends: libflickrnet2.2-cil (= ${binary:Version}), ${misc:Depends} Replaces: libflickrnet2.2-cil (<< 1:2.2.0-2) Description: Flickr.Net API Library The Flickr.Net API is a .Net Library for accessing the Flickr API. Written entirely in C# it can be accessed from with any .Net language in .Net Framework 1.1, .Net Framework 2.0, .Net Compact Framework 2.0 and Mono. . This package contains development files for the Flickr.Net library, and should be used for compilation debian/copyright0000644000000000000000000000217211241315070011115 0ustar This package was debianized by Varun Hiremath on Mon, 06 Aug 2007 21:41:48 +0530. Version 2.2.0 was downloaded from: http://flickrnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=6181 Upstream Author: Coordinators: samjudson Developers: timheuer Copyright: All source code and information supplied as part of the Flick .Net API Library is copyright too its contributers. License: This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. On Debian systems, you can find the LGPL license in: /usr/share/common-licenses/LGPL The Debian packaging is © 2007, Varun Hiremath and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. debian/patches/0000755000000000000000000000000011706376267010634 5ustar debian/patches/unbreak-zooomr-support.diff0000644000000000000000000000606211241315070016131 0ustar Description: Fix f-spot crashes when exporting to Zooomr Debian-BTS: #514460 Origin: vendor, Debian Forwarded: no Author: Chris Coulson Last-Update: Thu, 13 Aug 2009 20:52:59 -0400 Index: libflickrnet2-48055~2.2.0/FlickrNet/Flickr.cs =================================================================== --- libflickrnet2-48055~2.2.0.orig/FlickrNet/Flickr.cs 2009-03-10 04:03:54.000000000 -0400 +++ libflickrnet2-48055~2.2.0/FlickrNet/Flickr.cs 2009-08-13 20:51:51.000000000 -0400 @@ -54,7 +54,7 @@ private string[] _baseUrl = new string[] { "http://api.flickr.com/services/rest/", - "http://beta.zooomr.com/bluenote/api/rest", + "http://www.zooomr.com/api/rest", "http://www.23hq.com/services/rest/"}; private string UploadUrl @@ -63,7 +63,7 @@ } private static string[] _uploadUrl = new string[] { "http://api.flickr.com/services/upload/", - "http://beta.zooomr.com/bluenote/api/upload", + "http://www.zooomr.com/api/upload", "http://www.23hq.com/services/upload/"}; private string ReplaceUrl @@ -72,7 +72,7 @@ } private static string[] _replaceUrl = new string[] { "http://api.flickr.com/services/replace/", - "http://beta.zooomr.com/bluenote/api/replace", + "http://www.zooomr.com/api/replace", "http://www.23hq.com/services/replace/"}; private string AuthUrl @@ -81,7 +81,7 @@ } private static string[] _authUrl = new string[] { "http://www.flickr.com/services/auth/", - "http://beta.zooomr.com/auth/", + "http://www.zooomr.com/services/auth/", "http://www.23hq.com/services/auth/"}; private string _apiKey; @@ -443,7 +443,8 @@ { // This is needed in the Compact Framework // See for more details: http://msdn2.microsoft.com/en-us/library/1afx2b0f.aspx - req.GetRequestStream().Close(); + if (req.Method=="POST") + req.GetRequestStream().Close(); } try @@ -754,7 +755,7 @@ FlickrNet.Response response = GetResponseNoCache(parameters); if( response.Status == ResponseStatus.OK ) { - return response.AllElements[0].InnerText; + return response.AllElements[CurrentService==SupportedService.Zooomr?1:0].InnerText; } else { @@ -825,7 +826,7 @@ FlickrNet.Response response = GetResponseNoCache(parameters); if( response.Status == ResponseStatus.OK ) { - Auth auth = new Auth(response.AllElements[0]); + Auth auth = new Auth(response.AllElements[CurrentService==SupportedService.Zooomr?1:0]); return auth; } else @@ -875,7 +876,7 @@ FlickrNet.Response response = GetResponseNoCache(parameters); if( response.Status == ResponseStatus.OK ) { - Auth auth = new Auth(response.AllElements[0]); + Auth auth = new Auth(response.AllElements[CurrentService==SupportedService.Zooomr?1:0]); return auth; } else debian/patches/AssemblyInfo.diff0000644000000000000000000000237611241315070014044 0ustar Description: Fix assembly version to comply with the Debian CLI Policy Origin: vendor, Debian Forwarded: no Author: Varun Hiremath Last-Update: Thu, 13 Aug 2009 20:52:59 -0400 Index: libflickrnet2-48055~2.2.0/FlickrNet/AssemblyInfo.cs =================================================================== --- libflickrnet2-48055~2.2.0.orig/FlickrNet/AssemblyInfo.cs 2009-03-10 04:03:54.000000000 -0400 +++ libflickrnet2-48055~2.2.0/FlickrNet/AssemblyInfo.cs 2009-08-13 20:48:01.000000000 -0400 @@ -30,7 +30,7 @@ // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("2.2.0.*")] +[assembly: AssemblyVersion("2.2.0.0")] // // In order to sign your assembly you must specify a key to use. Refer to the @@ -61,10 +61,10 @@ [assembly: AssemblyKeyName("")] #if !WindowsCE -[assembly: AssemblyKeyFile("..\\..\\FlickrNet.snk")] +[assembly: AssemblyKeyFile("FlickrNet.snk")] [assembly: AllowPartiallyTrustedCallers()] [assembly: SecurityPermission(SecurityAction.RequestMinimum, Execution = true)] #endif [assembly: CLSCompliantAttribute(true)] -[assembly: ComVisible(false)] \ No newline at end of file +[assembly: ComVisible(false)] debian/patches/series0000644000000000000000000000005611152442765012042 0ustar AssemblyInfo.diff unbreak-zooomr-support.diff