--- libmtp-0.3.7.orig/debian/watch +++ libmtp-0.3.7/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/libmtp/libmtp-(.*).tar.gz --- libmtp-0.3.7.orig/debian/changelog +++ libmtp-0.3.7/debian/changelog @@ -0,0 +1,421 @@ +libmtp (0.3.7-3ubuntu1) karmic; urgency=low + + [ Savvas Radevic ] + * Merge from debian unstable, remaining changes: + + debian/control: Add Breaks to ensure the right udev version gets used. + + debian/libmtp.install.in, debian/libmtp.preinst.in, + debian/libmtp.postinst.in: Clean up the mess where files were still + going into the wrong directory. + * debian/libmtp.preinst.in: Dropped check on unsupported 0.2.5-1 (hardy has + 0.2.6.1-2ubuntu1) + + [ Flávio Martins ] + * debian/rules: Append proper prefix 45- to libmtp rules in UDEV variable + * debian/libmtp.install.in: ../../45-libmtp@SOVERSION@.rules lib/udev/rules.d + + -- Savvas Radevic Sat, 18 Apr 2009 19:58:14 +0100 + +libmtp (0.3.7-3) unstable; urgency=low + + * debian/control.in: + + Reword the long description of the packages. Thanks to Gerfried + Fuchs for the feedback (closes: #524041) + + The package is now maintained with Git at alioth.debian.org. Add + Vcs-Git field and change Vcs-Browser accordingly. + + -- Rafael Laboissiere Fri, 17 Apr 2009 17:18:29 +0200 + +libmtp (0.3.7-2) unstable; urgency=low + + * Upload to unstable, now that the libmtp7 -> libmtp8 transition is + completed + * debian/libmtp.docs.in: Drop ChangeLog from the list of doc files, + since dh_installchangelogs takes care of it + + -- Rafael Laboissiere Sun, 29 Mar 2009 23:50:16 +0200 + +libmtp (0.3.7-1) experimental; urgency=low + + * New upstream release. This version contains the necessary changes to + src/music-players.h that make the library find all tracks in Zen Xtra + (closes: #519980). + * Uploaded to experimental, to avoid interference with the libmtp7 -> + libmtp8 transition + * debian/control: Bump Standards-Version to 3.8.1 (no changes needed) + + -- Rafael Laboissiere Mon, 16 Mar 2009 22:21:13 +0100 + +libmtp (0.3.6-2) unstable; urgency=low + + * Upload to unstable, with the authorization of the debian-release team + * debian/control.in: Switch Vcs-Browser URL from wsvn to viewsvn + + -- Rafael Laboissiere Sun, 22 Feb 2009 09:48:25 +0100 + +libmtp (0.3.6-1) experimental; urgency=low + + * New upstream release + * debian/watch: Use the qa.debian.org SF redirector URL + + -- Rafael Laboissiere Thu, 22 Jan 2009 22:44:49 +0100 + +libmtp (0.3.5-1) experimental; urgency=low + + * New upstream release + * debian/rules: Clean src/_stdint.h file, which is created by configure + but not cleaned by make distclean, as it should + + -- Rafael Laboissiere Wed, 23 Dec 2008 14:42:24 +0100 + +libmtp (0.3.4-2) experimental; urgency=low + + * debian/watch: Fix upstream URL + * debian/control: Add ${misc:Depends} to the Depends fields of all + binary pacakges (Lintian warning) + + -- Rafael Laboissiere Wed, 17 Dec 2008 22:02:47 +0100 + +libmtp (0.3.4-1) experimental; urgency=low + + * New upstream release + + -- Rafael Laboissiere Wed, 12 Nov 2008 18:52:46 +0100 + +libmtp (0.3.3-1) experimental; urgency=low + + * New upstream release. + * debian/libmtp8.symbols: + + Add new symbols introduced in this release (SOVERSION bumped to + 8.1.0) + + Removed all the symbols that do not start with `LIBMTP_'. Upstream + is now doing the Right Thing(TM) and exporting only the symbols that + are actually part of the public API. + + -- Rafael Laboissiere Sat, 27 Sep 2008 12:55:49 +0200 + +libmtp (0.3.1-1) experimental; urgency=low + + * New upstream release. + * debian/symbols: Add shared library symbols file + * debian/watch: Fix URL of upstream tarball + + -- Rafael Laboissiere Fri, 29 Aug 2008 19:41:26 +0200 + +libmtp (0.3.0-1ubuntu3) jaunty; urgency=low + + * Add Breaks to ensure the right verison of udev gets used. + + -- Scott James Remnant Fri, 09 Jan 2009 11:56:15 +0000 + +libmtp (0.3.0-1ubuntu2) jaunty; urgency=low + + * debian/rules: Install to /lib/udev/rules.d + * debian/libmtp.preinst.in: Remove old rule if unchanged. + + * debian/libmtp.install.in, debian/libmtp.preinst.in: Clean up the mess + where files were still going into the wrong directory. + + -- Scott James Remnant Wed, 07 Jan 2009 11:04:53 +0000 + +libmtp (0.3.0-1ubuntu1) intrepid; urgency=low + + * Merge with Debian, remaining changes: + - Install rules directly instead of a link. Closes LP: #197968 + - Install hal fdi information. Closes LP: #205749 + - While we juggle the conffile anyway, add a proper prefix (45-) to the udev + rule file. + + + -- Jonathan Riddell Fri, 01 Aug 2008 16:41:31 +0100 + +libmtp (0.3.0-1) experimental; urgency=low + + * New upstream release. Upstream has bumped the SONAME version to 8. + Uploading to experimental for now. + + -- Rafael Laboissiere Mon, 30 Jun 2008 21:48:31 +0200 + +libmtp (0.2.6.1-3) unstable; urgency=low + + * debian/libmtp.install.in, debian/rules: Install hal fdi information. + This change was taken from the Ubuntu package, thanks to Flávio Martin + (closes LP#205749) + * debian/control.in: Bump Standards-Version to 3.8.0 (no changes needed) + + -- Rafael Laboissiere Sat, 28 Jun 2008 12:09:48 +0200 + +libmtp (0.2.6.1-2ubuntu1) hardy; urgency=low + + [ Flávio Martins ] + * Sync with Debian. + * Install rules directly instead of a link. Closes LP: #197968 + * Install hal fdi information. Closes LP: #205749 + + [ Martin Pitt ] + * While we juggle the conffile anyway, add a proper prefix (45-) to the udev + rule file. + + -- Martin Pitt Thu, 10 Apr 2008 11:11:39 -0500 + +libmtp (0.2.6.1-2) unstable; urgency=low + + * debian/control.in: + + Change the relationship to udev from Depends to Recommends + (closes: #472048) + + Append trunk/ to the path in Vcs-Svn:, such that debcheckout works + + -- Rafael Laboissiere Fri, 28 Mar 2008 20:34:45 +0100 + +libmtp (0.2.6.1-1) unstable; urgency=low + + * New upstream release + * debian/rules: Do not install the Lintian override, which is not needed + anymore + * debian/mtp-tools.lintian.in: Drop Lintian override file + * debian/sanitize-manpage.pl: Escape "-" signs that mean the "minus" + characters + + -- Rafael Laboissiere Sun, 16 Mar 2008 22:41:43 +0100 + +libmtp (0.2.6-1) unstable; urgency=low + + * New upstream release + + -- Rafael Laboissiere Thu, 06 Mar 2008 15:07:44 +0100 + +libmtp (0.2.5-2) unstable; urgency=low + + * Removed hotplug related stuff since the hotplug has been removed from + sid. Thanks to Michael Biebl for the heads up (closes: #461396). + + debian/rules: + - Do not process hotplug initialization files + - Do not put hotplug as an alternate dependency to udev + + debian/libmtp.install.in: Do not install hotplug configuration files + + debian/libmtp.preinst.in: New file containing code for properly + handling the removal of the hotplug conffiles + + -- Rafael Laboissiere Fri, 08 Feb 2008 15:28:26 +0100 + +libmtp (0.2.5-1) unstable; urgency=low + + * New upstream release + + -- Rafael Laboissiere Tue, 15 Jan 2008 15:39:48 +0100 + +libmtp (0.2.4-5) unstable; urgency=low + + * debian/control.in: Use the now official Vcs-* fields instead of the + obsolete XS-Vcs-* (this change was done already in version 0.2.3-2 of + the package, but in the wrong file debian/control) + * debian/rules: Insures that debian/control will be generated, if + debian/control.in is newer than it + + -- Rafael Laboissiere Sun, 06 Jan 2008 11:18:11 +0100 + +libmtp (0.2.4-4) unstable; urgency=low + + * debian/rules: Removed bashism in variable substitution. Thanks to + Robert Bihlmeyer and Clint Adams for the patch (closes: #458084) + * debian/control: Build-depends on chrpath + * debian/rules: Removed rpath from programs in the mtp-tools package and + from the libmtp.so.*.*.* library + + -- Rafael Laboissiere Sat, 5 Jan 2008 18:57:38 +0100 + +libmtp (0.2.4-3) unstable; urgency=low + + * debian/control.in: + + Dropped the Homepage pseudo-header from the extended descriptions + + Bumped Standards-Version to 3.7.3 + + -- Rafael Laboissiere Sun, 23 Dec 2007 09:06:13 +0100 + +libmtp (0.2.4-2) unstable; urgency=low + + * debian/control, debian/rules: Make the libmtp package depend on + udev and hotplug only for Linux systems (closes: #454256, thanks to + Aurelien Jarno for the patch) + + -- Rafael Laboissiere Tue, 04 Dec 2007 16:50:35 +0100 + +libmtp (0.2.4-1) unstable; urgency=low + + * New upstream version, released to unstable + * debian/patches/01_strtoul-mtp-command.patch: Dropped patch (applied + upstream) + * debian/rules: Do not include simple-patchsys.mk anymore + + -- Rafael Laboissiere Wed, 28 Nov 2007 09:21:57 +0100 + +libmtp (0.2.3-2) experimental; urgency=low + + * debian/patches/01_strtoul-mtp-command.patch: Added patch for using + strtoul instead of atoi when parsing the command-line arguments of + mtp-tools commands. This avoids crashes when file ids on the mtp + device are greater than INT_MAX. (Closes: #450651, thanks to Chris + Waters.) + + * debian/control: Use the now official Vcs-* fields instead of the + obsolete XS-Vcs-* + + -- Rafael Laboissiere Mon, 29 Oct 2007 23:16:08 +0100 + +libmtp (0.2.3-1) experimental; urgency=low + + * New upstream release, new soversion (libmtp7). Uploaded to + experimental, since 0.2.2-2 (libmtp6) must enter testing first. + * debian/rules: All debian/* files are now independent of the SOVERSION + and are automatically generated + + -- Rafael Laboissiere Sun, 28 Oct 2007 13:49:31 +0100 + +libmtp (0.2.2-2) unstable; urgency=low + + * Released to unstable + + -- Rafael Laboissiere Fri, 12 Oct 2007 14:05:54 +0200 + +libmtp (0.2.2-1) experimental; urgency=low + + * New upstream release. Uploading to experimental to avoid delaying the + libmtp6/gnomad2/amarok transition into testing + * debian/control.in: Added Homepage field + * debian/rules: Remove extra doc/man/man3/LIBMTP* files generate by + doxygen + * Fixed problems with manpages generated by doxygen: + * debian/sanitize-manpage.pl: Added script + * debian/rules: Run sanitize-manpage.pl on doc/man/man3/*.3 files + + -- Rafael Laboissiere Wed, 10 Oct 2007 14:20:25 +0200 + +libmtp (0.2.1-3) unstable; urgency=low + + * debian/rules: Fix rules for libmtp-doc to avoid extraneous manpages to + be included in the package + + -- Rafael Laboissiere Wed, 19 Sep 2007 11:43:07 +0200 + +libmtp (0.2.1-2) unstable; urgency=low + + * debian/rules, debian/libmtp6.install, debian/libmtp6.links: Install + all udev and hotplug files with names libmtp6.*, such that the clashes + with libmtp5 are avoided (closes: #439550) + + -- Rafael Laboissiere Sun, 26 Aug 2007 12:24:02 +0200 + +libmtp (0.2.1-1) unstable; urgency=low + + * New upstream release, uploaded to unstable (closes: #436461) + * The IDs for the Samsung YP-U3 players have been already included in + the src/libusb-glue.c upstream source (closes: #437829) + + -- Rafael Laboissiere Fri, 24 Aug 2007 11:50:56 +0200 + +libmtp (0.2.0-1) experimental; urgency=low + + * New upstream release (closes: #436060) + * debian/rules, debian/control.in, debian/mtp-tools.lintian.in: + Define variable SOVERSION in rules and use it to create files in the + debian/ directory + * debian/mtp-tools.links: Added link for mtp-reset man page + * debian/libmtp6.*: Renamed files from debian/libmtp5.* + + -- Rafael Laboissiere Sun, 5 Aug 2007 10:38:03 +0200 + +libmtp (0.1.5-2) unstable; urgency=low + + * debian/control: Added XS-Vcs-Svn and XS-Vcs-Browser fields + * debian/mtp-tools.lintian: Added Lintian override file + * debian/rules: Install Lintian override for the mtp-tools package + + -- Rafael Laboissiere Sun, 22 Apr 2007 10:59:31 +0200 + +libmtp (0.1.5-1) unstable; urgency=low + + * New upstream release (closes: #416323) + * debian/rules: The upstream Makefile.am clean now the generated files + in the top-level dir. Removed that from the clean target. + + -- Rafael Laboissiere Tue, 27 Mar 2007 01:03:12 +0200 + +libmtp (0.1.4-1) unstable; urgency=low + + * New upstream release (closes: #414500) + * debian/rules: + + Switched to CBDS + + Save and restore file src/gphoto2-endian.h, which is changed by + configure + * debian/watch: Fixed URL pattern + * debian/control: + + Simplified Standards-Version to 3.7.2 + + Build-depends on CDBS, bumped debhelper dependency version to >= 5 + + -- Rafael Laboissiere Mon, 12 Mar 2007 10:38:48 +0100 + +libmtp (0.1.3-4) unstable; urgency=low + + * debian/copyright: Clarified the copyright situation of the package + + -- Rafael Laboissiere Fri, 2 Feb 2007 13:46:23 +0100 + +libmtp (0.1.3-3) unstable; urgency=low + + * debian/control: Fixed typos in packages descriptions + + -- Rafael Laboissiere Fri, 2 Feb 2007 11:40:13 +0100 + +libmtp (0.1.3-2) unstable; urgency=low + + * debian/control: Improved the packages descriptions (thanks to + Dominique Dumont) + + -- Rafael Laboissiere Fri, 2 Feb 2007 10:33:40 +0100 + +libmtp (0.1.3-1) unstable; urgency=low + + * debian/control: + - Taken the package over from Jean Parpaillon. Thanks for your + initial work, Jean! + - Use the new ${binary:Source} variable instead of ${Source-Version} + when specifying dependencies on libmtp5. This needs a versioned + build-dependency on dpkg-dev >= 1.13.19. + - Put libmtp-doc package in Section: doc + * debian/mtp-tools.dbk: Added generic man page for the commands in the + mtp-tools package + * debian/rules: Build the man page mtp-tools.1 + * debian/mtp-tools.links: Links for the man pages of all the commands + included in the mtp-tools package + + -- Rafael Laboissiere Thu, 1 Feb 2007 20:55:31 +0100 + +libmtp (0.1.3-0.2) unstable; urgency=low + + * Non-maintainer upload + * Created package mtp-tools containing the programs distributed in the + examples directory + * debian/control: Added my name to Uploaders + * debian/rules: + - Clean files libmtp.rules, libmtp.fdi, and libmtp.usermap generated + at build time, such that they do not appear in the diff.gz + - Instead of installing debian/libmtp.rules, change the libmtp.rules + generated at build time to follow the Debian standards (MODE="660", + GROUP="audio") + + -- Rafael Laboissiere Thu, 1 Feb 2007 12:04:54 +0100 + +libmtp (0.1.3-0.1) unstable; urgency=low + + * Non-maintainer upload + * New upstream release + * debian/control: Changed the name of the binary package to libmtp5, + such that the package name matches the library SONAME + * debian/libmtp.docs: Dropped INSTALL from file list + + -- Rafael Laboissiere Wed, 31 Jan 2007 16:13:17 +0100 + +libmtp (0.0.10-1) unstable; urgency=low + + * Initial release (Closes: #382195) + + -- Jean Parpaillon (artefact) Wed, 9 Aug 2006 14:47:52 +0200 + --- libmtp-0.3.7.orig/debian/compat +++ libmtp-0.3.7/debian/compat @@ -0,0 +1 @@ +5 --- libmtp-0.3.7.orig/debian/control +++ libmtp-0.3.7/debian/control @@ -0,0 +1,72 @@ +Source: libmtp +Section: libs +Priority: optional +Maintainer: Ubuntu Core Developers +XSBC-Original-Maintainer: Rafael Laboissiere +Build-Depends: libusb-dev, doxygen, debhelper (>= 5), cdbs, + dpkg-dev (>= 1.13.19), xsltproc, docbook-xsl, chrpath +Standards-Version: 3.8.1 +Homepage: http://libmtp.sourceforge.net/ +Vcs-Git: git://alioth.debian.org/~rafael/public_git/deb-pkg/libmtp.git +Vcs-Browser: http://git.debian.org/?p=users/rafael/deb-pkg/libmtp.git + +Package: libmtp8 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: ${udev} +Breaks: udev (<< 136-1) +Description: Media Transfer Protocol (MTP) library + libmtp is a library for communicating with MTP aware devices in POSIX + compliant operating systems. It implements MTP Basic, the subset + proposed for standardization. + . + The Media Transfer Protocol (commonly referred to as MTP) is a devised + set of custom extensions to support the transfer of music files on + USB digital audio players and movie files on USB portable media players. + +Package: libmtp-dev +Section: libdevel +Architecture: any +Depends: libmtp8 (= ${binary:Version}), libusb-dev (>> 0.1.7), + ${misc:Depends} +Description: Media Transfer Protocol (MTP) development files + libmtp is a library for communicating with MTP aware devices in POSIX + compliant operating systems. It implements MTP Basic, the subset + proposed for standardization. + . + The Media Transfer Protocol (commonly referred to as MTP) is a devised + set of custom extensions to support the transfer of music files on + USB digital audio players and movie files on USB portable media players. + . + This package contains the headers and development libraries. + +Package: libmtp-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Description: Media Transfer Protocol (MTP) library documentation + libmtp is a library for communicating with MTP aware devices in POSIX + compliant operating systems. It implements MTP Basic, the subset + proposed for standardization. + . + The Media Transfer Protocol (commonly referred to as MTP) is a devised + set of custom extensions to support the transfer of music files on + USB digital audio players and movie files on USB portable media players. + . + This package contains the development documentation. + +Package: mtp-tools +Section: utils +Architecture: any +Depends: libmtp8 (= ${binary:Version}), ${shlibs:Depends}, + ${misc:Depends} +Description: Media Transfer Protocol (MTP) library tools + libmtp is a library for communicating with MTP aware devices in POSIX + compliant operating systems. It implements MTP Basic, the subset + proposed for standardization. + . + The Media Transfer Protocol (commonly referred to as MTP) is a devised + set of custom extensions to support the transfer of music files on + USB digital audio players and movie files on USB portable media players. + . + This package contains tools for communicating with MTP devices. --- libmtp-0.3.7.orig/debian/rules +++ libmtp-0.3.7/debian/rules @@ -0,0 +1,72 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk + +DEB_DH_INSTALL_SOURCEDIR = debian/tmp +DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl +XP = xsltproc -''-nonet +SOVERSION = 8 +SUBSTFILES = debian/libmtp$(SOVERSION).docs \ + debian/libmtp$(SOVERSION).install \ + debian/libmtp$(SOVERSION).preinst \ + debian/libmtp$(SOVERSION).postinst +UDEVFILES = 45-libmtp$(SOVERSION).rules 20-libmtp$(SOVERSION).fdi + +debdir = $(CURDIR)/debian +debver = $(shell perl -ne '/([\d.-]+)/;print "$$1"; last' \ + debian/changelog) + +# Replace SOVERSION string in debian/ files +libmtp$(SOVERSION).%: libmtp.%.in + sed "s/@SOVERSION@/$(SOVERSION)/g" < $< > $@ +%: %.in + sed "s/@SOVERSION@/$(SOVERSION)/g" < $< > $@ + +makebuilddir/libmtp$(SOVERSION):: $(SUBSTFILES) debian/control + # Save file modified by configure + test -e src/gphoto2-endian.h-orig \ + || cp src/gphoto2-endian.h src/gphoto2-endian.h-orig + +install/libmtp-doc:: + # Rename some man files and remove others + chmod +x debian/sanitize-manpage.pl + ( cd doc/man/man3/ ; \ + rm -f _* ; \ + for i in $$(ls *.3 | grep -v ^mtp_) ; do \ + ../../../debian/sanitize-manpage.pl < $$i > mtp_$$i ; \ + done ) + +build/libmtp$(SOVERSION):: + # Fix mode of udev lifting script + chmod +x libmtp.sh + # Adapt upstream udev rules file to Debian standards + perl -pi -e 's/MODE.*/MODE="660", GROUP="audio"/ if /MODE/' \ + libmtp.rules + # Rename udev files + for f in $(UDEVFILES) ; do \ + cp libmtp.$${f#*.} $$f ; \ + done + +binary-predeb/libmtp$(SOVERSION):: +ifeq (linux,$(DEB_HOST_ARCH_OS)) + echo "udev=udev" >> debian/libmtp$(SOVERSION).substvars +endif + # Remove rpath from the library + chrpath --delete $(debdir)/libmtp$(SOVERSION)/usr/lib/libmtp.so.*.* + +mtp-tools.1: debian/mtp-tools.dbk + # Build and install the man page for mtp-tools + $(XP) $(DB2MAN) $< + +build/mtp-tools:: mtp-tools.1 + +binary-predeb/mtp-tools:: + # Remove rpath from programs + chrpath --delete $(debdir)/mtp-tools/usr/bin/* + +clean:: + rm -f mtp-tools.1 $(SUBSTFILES) $(UDEVFILES) + # Restore original file + test ! -e src/gphoto2-endian.h-orig \ + || mv src/gphoto2-endian.h-orig src/gphoto2-endian.h --- libmtp-0.3.7.orig/debian/libmtp-doc.manpages +++ libmtp-0.3.7/debian/libmtp-doc.manpages @@ -0,0 +1 @@ +doc/man/man3/mtp_*.3 --- libmtp-0.3.7.orig/debian/libmtp.postinst.in +++ libmtp-0.3.7/debian/libmtp.postinst.in @@ -0,0 +1,30 @@ +#!/bin/sh +# preinst script for libmtp + +set -e + +PACKAGE=libmtp@SOVERSION@ + +# Move a conffile without triggering a dpkg question +mv_conffile() { + OLDCONFFILE="$1" + NEWCONFFILE="$2" + if [ -e "$OLDCONFFILE" ]; then + echo "Preserving user changes to $NEWCONFFILE ..." + mv -f "$NEWCONFFILE" "$NEWCONFFILE".dpkg-new + mv -f "$OLDCONFFILE" "$NEWCONFFILE" + fi +} + +case "$1" in +configure) + if dpkg --compare-versions "$2" lt-nl 0.2.6.1-2ubuntu1 ; then + mv_conffile /etc/udev/libmtp@SOVERSION@.rules \ + /etc/udev/rules.d/45-libmtp@SOVERSION@.rules + fi + +esac + +#DEBHELPER# + +exit 0 --- libmtp-0.3.7.orig/debian/mtp-tools.dbk +++ libmtp-0.3.7/debian/mtp-tools.dbk @@ -0,0 +1,172 @@ + +.
will be generated. You may view the +manual page with: nroff -man .
| less'. A +typical entry in a Makefile or Makefile.am is: + +DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\ +manpages/docbook.xsl +XP=xsltproc -''-nonet + +manpage.1: manpage.dbk + $(XP) $(DB2MAN) $< + +The xsltproc binary is found in the xsltproc package. The +XSL files are in docbook-xsl. Please remember that if you +create the nroff version in one of the debian/rules file +targets (such as build), you will need to include xsltproc +and docbook-xsl in your Build-Depends control field. + +--> + + + Rafael"> + Laboissiere"> + + 2007-02-01"> + + 1"> + rafael@debian.org"> + + mtp-tools"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2007 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + tools for communicating with Media Transfer Protocol + (MTP) devices + + + + mtp-albumart args + + + mtp-albums + + + mtp-connect args + + + mtp-delfile args + + + mtp-detect + + + mtp-emptyfolders + + + mtp-files + + + mtp-folders + + + mtp-format + + + mtp-getfile args + + + mtp-getplaylist args + + + mtp-hotplug args + + + mtp-newfolder args + + + mtp-newplaylist args + + + mtp-playlists + + + mtp-sendfile args + + + mtp-sendtr args + + + mtp-thumb args + + + mtp-tracks + + + mtp-trexist args + + + + + DESCRIPTION + + This manual page documents briefly the commands distributed + with the libmtp package, collectively called + &dhpackage;. + + This manual page was written for the &debian; distribution + because the original programs do not have manual pages. Concise + synopsis can be obtained by giving to the + commands. + + + + SEE ALSO + + http://libmtp.sourceforge.net + + + + + AUTHOR + + This manual page was written by &dhusername; &dhemail; for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + + +
+ --- libmtp-0.3.7.orig/debian/libmtp.install.in +++ libmtp-0.3.7/debian/libmtp.install.in @@ -0,0 +1,3 @@ +usr/lib/*.so.* +../../20-libmtp@SOVERSION@.fdi usr/share/hal/fdi/information/20thirdparty +../../45-libmtp@SOVERSION@.rules lib/udev/rules.d --- libmtp-0.3.7.orig/debian/control.in +++ libmtp-0.3.7/debian/control.in @@ -0,0 +1,70 @@ +Source: libmtp +Section: libs +Priority: optional +Maintainer: Rafael Laboissiere +Build-Depends: libusb-dev, doxygen, debhelper (>= 5), cdbs, + dpkg-dev (>= 1.13.19), xsltproc, docbook-xsl, chrpath +Standards-Version: 3.8.1 +Homepage: http://libmtp.sourceforge.net/ +Vcs-Git: git://alioth.debian.org/~rafael/public_git/deb-pkg/libmtp.git +Vcs-Browser: http://git.debian.org/?p=users/rafael/deb-pkg/libmtp.git + +Package: libmtp@SOVERSION@ +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: ${udev} +Description: Media Transfer Protocol (MTP) library + libmtp is a library for communicating with MTP aware devices in POSIX + compliant operating systems. It implements MTP Basic, the subset + proposed for standardization. + . + The Media Transfer Protocol (commonly referred to as MTP) is a devised + set of custom extensions to support the transfer of music files on + USB digital audio players and movie files on USB portable media players. + +Package: libmtp-dev +Section: libdevel +Architecture: any +Depends: libmtp@SOVERSION@ (= ${binary:Version}), libusb-dev (>> 0.1.7), + ${misc:Depends} +Description: Media Transfer Protocol (MTP) development files + libmtp is a library for communicating with MTP aware devices in POSIX + compliant operating systems. It implements MTP Basic, the subset + proposed for standardization. + . + The Media Transfer Protocol (commonly referred to as MTP) is a devised + set of custom extensions to support the transfer of music files on + USB digital audio players and movie files on USB portable media players. + . + This package contains the headers and development libraries. + +Package: libmtp-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Description: Media Transfer Protocol (MTP) library documentation + libmtp is a library for communicating with MTP aware devices in POSIX + compliant operating systems. It implements MTP Basic, the subset + proposed for standardization. + . + The Media Transfer Protocol (commonly referred to as MTP) is a devised + set of custom extensions to support the transfer of music files on + USB digital audio players and movie files on USB portable media players. + . + This package contains the development documentation. + +Package: mtp-tools +Section: utils +Architecture: any +Depends: libmtp@SOVERSION@ (= ${binary:Version}), ${shlibs:Depends}, + ${misc:Depends} +Description: Media Transfer Protocol (MTP) library tools + libmtp is a library for communicating with MTP aware devices in POSIX + compliant operating systems. It implements MTP Basic, the subset + proposed for standardization. + . + The Media Transfer Protocol (commonly referred to as MTP) is a devised + set of custom extensions to support the transfer of music files on + USB digital audio players and movie files on USB portable media players. + . + This package contains tools for communicating with MTP devices. --- libmtp-0.3.7.orig/debian/libmtp.preinst.in +++ libmtp-0.3.7/debian/libmtp.preinst.in @@ -0,0 +1,63 @@ +#!/bin/sh +# preinst script for libmtp + +set -e + +PACKAGE=libmtp@SOVERSION@ + +# Remove a no-longer used conffile +# Taken from http://wiki.debian.org/DpkgConffileHandling + +rm_conffile() { + PKGNAME="$1" + CONFFILE="$2" + if [ -e "$CONFFILE" ]; then + md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`" + old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE'{s/ obsolete$//;s/.* //p}\"`" + if [ "$md5sum" != "$old_md5sum" ]; then + echo "Obsolete conffile $CONFFILE has been modified by you." + echo "Saving as $CONFFILE.dpkg-bak ..." + mv -f "$CONFFILE" "$CONFFILE".dpkg-bak + else + echo "Removing obsolete conffile $CONFFILE ..." + rm -f "$CONFFILE" + fi + fi +} + +# Prepare to move a conffile without triggering a dpkg question +prep_mv_conffile() { + PKGNAME="$1" + CONFFILE="$2" + if [ -e "$CONFFILE" ]; then + md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`" + old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE '{s/ obsolete$//;s/.* //p}\"`" + if [ "$md5sum" = "$old_md5sum" ]; then + rm -f "$CONFFILE" + fi + fi +} + +case "$1" in +install|upgrade) + if dpkg --compare-versions "$2" lt-nl 0.2.6.1-2ubuntu1 ; then + rm -f /etc/udev/rules.d/libmtp@SOVERSION@.rules + prep_mv_conffile $PACKAGE /etc/udev/libmtp@SOVERSION@.rules + fi + if dpkg --compare-versions "$2" le 0.3.0-1ubuntu2 ; then + if [ -e "/etc/udev/rules.d/45-libmtp8.rules" ]; then + if [ "`md5sum \"/etc/udev/rules.d/45-libmtp8.rules\" | sed -e \"s/ .*//\"`" = \ + "`dpkg-query -W -f='${Conffiles}' $PACKAGE | sed -n -e \"\\\\' /etc/udev/rules.d/45-libmtp8.rules's/.* //p\"`" ] + then + rm -f "/etc/udev/rules.d/45-libmtp8.rules" + fi + fi + rm -f /etc/udev/libmtp.rules + rm -f /etc/udev/libmtp@SOVERSION@.rules + fi + +esac + +#DEBHELPER# + +exit 0 --- libmtp-0.3.7.orig/debian/mtp-tools.manpages +++ libmtp-0.3.7/debian/mtp-tools.manpages @@ -0,0 +1 @@ +mtp-tools.1 --- libmtp-0.3.7.orig/debian/libmtp-doc.docs +++ libmtp-0.3.7/debian/libmtp-doc.docs @@ -0,0 +1 @@ +doc/html --- libmtp-0.3.7.orig/debian/libmtp-dev.install +++ libmtp-0.3.7/debian/libmtp-dev.install @@ -0,0 +1,5 @@ +usr/include +usr/lib/*.a +usr/lib/*.la +usr/lib/*.so +usr/lib/pkgconfig --- libmtp-0.3.7.orig/debian/mtp-tools.links +++ libmtp-0.3.7/debian/mtp-tools.links @@ -0,0 +1,21 @@ +usr/share/man/man1/mtp-tools.1 usr/share/man/man1/mtp-albumart.1 +usr/share/man/man1/mtp-tools.1 usr/share/man/man1/mtp-albums.1 +usr/share/man/man1/mtp-tools.1 usr/share/man/man1/mtp-connect.1 +usr/share/man/man1/mtp-tools.1 usr/share/man/man1/mtp-delfile.1 +usr/share/man/man1/mtp-tools.1 usr/share/man/man1/mtp-detect.1 +usr/share/man/man1/mtp-tools.1 usr/share/man/man1/mtp-emptyfolders.1 +usr/share/man/man1/mtp-tools.1 usr/share/man/man1/mtp-files.1 +usr/share/man/man1/mtp-tools.1 usr/share/man/man1/mtp-folders.1 +usr/share/man/man1/mtp-tools.1 usr/share/man/man1/mtp-format.1 +usr/share/man/man1/mtp-tools.1 usr/share/man/man1/mtp-getfile.1 +usr/share/man/man1/mtp-tools.1 usr/share/man/man1/mtp-getplaylist.1 +usr/share/man/man1/mtp-tools.1 usr/share/man/man1/mtp-hotplug.1 +usr/share/man/man1/mtp-tools.1 usr/share/man/man1/mtp-newfolder.1 +usr/share/man/man1/mtp-tools.1 usr/share/man/man1/mtp-newplaylist.1 +usr/share/man/man1/mtp-tools.1 usr/share/man/man1/mtp-playlists.1 +usr/share/man/man1/mtp-tools.1 usr/share/man/man1/mtp-reset.1 +usr/share/man/man1/mtp-tools.1 usr/share/man/man1/mtp-sendfile.1 +usr/share/man/man1/mtp-tools.1 usr/share/man/man1/mtp-sendtr.1 +usr/share/man/man1/mtp-tools.1 usr/share/man/man1/mtp-thumb.1 +usr/share/man/man1/mtp-tools.1 usr/share/man/man1/mtp-tracks.1 +usr/share/man/man1/mtp-tools.1 usr/share/man/man1/mtp-trexist.1 --- libmtp-0.3.7.orig/debian/libmtp.docs.in +++ libmtp-0.3.7/debian/libmtp.docs.in @@ -0,0 +1,3 @@ +AUTHORS +README +TODO --- libmtp-0.3.7.orig/debian/libmtp8.symbols +++ libmtp-0.3.7/debian/libmtp8.symbols @@ -0,0 +1,79 @@ +libmtp.so.8 libmtp8 #MINVER# + LIBMTP_Clear_Errorstack@Base 0.3.1 + LIBMTP_Create_Folder@Base 0.3.1 + LIBMTP_Create_New_Album@Base 0.3.1 + LIBMTP_Create_New_Playlist@Base 0.3.1 + LIBMTP_Delete_Object@Base 0.3.1 + LIBMTP_Detect_Raw_Devices@Base 0.3.1 + LIBMTP_Dump_Device_Info@Base 0.3.1 + LIBMTP_Dump_Errorstack@Base 0.3.1 + LIBMTP_Find_Folder@Base 0.3.1 + LIBMTP_Format_Storage@Base 0.3.1 + LIBMTP_Get_Album@Base 0.3.1 + LIBMTP_Get_Album_List@Base 0.3.1 + LIBMTP_Get_Batterylevel@Base 0.3.1 + LIBMTP_Get_Connected_Devices@Base 0.3.1 + LIBMTP_Get_Device_Certificate@Base 0.3.1 + LIBMTP_Get_Deviceversion@Base 0.3.1 + LIBMTP_Get_Errorstack@Base 0.3.1 + LIBMTP_Get_File_To_File@Base 0.3.1 + LIBMTP_Get_File_To_File_Descriptor@Base 0.3.1 + LIBMTP_Get_Filelisting@Base 0.3.1 + LIBMTP_Get_Filelisting_With_Callback@Base 0.3.1 + LIBMTP_Get_Filemetadata@Base 0.3.1 + LIBMTP_Get_Filetype_Description@Base 0.3.1 + LIBMTP_Get_First_Device@Base 0.3.1 + LIBMTP_Get_Folder_List@Base 0.3.1 + LIBMTP_Get_Friendlyname@Base 0.3.1 + LIBMTP_Get_Manufacturername@Base 0.3.1 + LIBMTP_Get_Modelname@Base 0.3.1 + LIBMTP_Get_Playlist@Base 0.3.1 + LIBMTP_Get_Playlist_List@Base 0.3.1 + LIBMTP_Get_Representative_Sample@Base 0.3.1 + LIBMTP_Get_Representative_Sample_Format@Base 0.3.1 + LIBMTP_Get_Secure_Time@Base 0.3.1 + LIBMTP_Get_Serialnumber@Base 0.3.1 + LIBMTP_Get_Storage@Base 0.3.1 + LIBMTP_Get_Supported_Devices_List@Base 0.3.1 + LIBMTP_Get_Supported_Filetypes@Base 0.3.1 + LIBMTP_Get_Syncpartner@Base 0.3.1 + LIBMTP_Get_Track_To_File@Base 0.3.1 + LIBMTP_Get_Track_To_File_Descriptor@Base 0.3.1 + LIBMTP_Get_Tracklisting@Base 0.3.1 + LIBMTP_Get_Tracklisting_With_Callback@Base 0.3.1 + LIBMTP_Get_Trackmetadata@Base 0.3.1 + LIBMTP_Init@Base 0.3.1 + LIBMTP_Number_Devices_In_List@Base 0.3.1 + LIBMTP_Open_Raw_Device@Base 0.3.1 + LIBMTP_Release_Device@Base 0.3.1 + LIBMTP_Release_Device_List@Base 0.3.1 + LIBMTP_Reset_Device@Base 0.3.1 + LIBMTP_Send_File_From_File@Base 0.3.1 + LIBMTP_Send_File_From_File_Descriptor@Base 0.3.1 + LIBMTP_Send_Representative_Sample@Base 0.3.1 + LIBMTP_Send_Track_From_File@Base 0.3.1 + LIBMTP_Send_Track_From_File_Descriptor@Base 0.3.1 + LIBMTP_Set_Album_Name@Base 0.3.3 + LIBMTP_Set_File_Name@Base 0.3.3 + LIBMTP_Set_Folder_Name@Base 0.3.3 + LIBMTP_Set_Friendlyname@Base 0.3.1 + LIBMTP_Set_Object_Filename@Base 0.3.1 + LIBMTP_Set_Playlist_Name@Base 0.3.3 + LIBMTP_Set_Syncpartner@Base 0.3.1 + LIBMTP_Set_Track_Name@Base 0.3.3 + LIBMTP_Track_Exists@Base 0.3.1 + LIBMTP_Update_Album@Base 0.3.1 + LIBMTP_Update_Playlist@Base 0.3.1 + LIBMTP_Update_Track_Metadata@Base 0.3.1 + LIBMTP_destroy_album_t@Base 0.3.1 + LIBMTP_destroy_file_t@Base 0.3.1 + LIBMTP_destroy_filesampledata_t@Base 0.3.1 + LIBMTP_destroy_folder_t@Base 0.3.1 + LIBMTP_destroy_playlist_t@Base 0.3.1 + LIBMTP_destroy_track_t@Base 0.3.1 + LIBMTP_new_album_t@Base 0.3.1 + LIBMTP_new_file_t@Base 0.3.1 + LIBMTP_new_filesampledata_t@Base 0.3.1 + LIBMTP_new_folder_t@Base 0.3.1 + LIBMTP_new_playlist_t@Base 0.3.1 + LIBMTP_new_track_t@Base 0.3.1 --- libmtp-0.3.7.orig/debian/mtp-tools.install +++ libmtp-0.3.7/debian/mtp-tools.install @@ -0,0 +1 @@ +usr/bin --- libmtp-0.3.7.orig/debian/sanitize-manpage.pl +++ libmtp-0.3.7/debian/sanitize-manpage.pl @@ -0,0 +1,17 @@ +#!/usr/bin/perl -w + +my $flag = 0; + +while (<>) { + s {"/.*/}{"} if /^\.TH/; + if (/^\.SH NAME/) { + $flag = 1; + } elsif ($flag) { + m {^(.*) \\-} if not m {^/.*/([^/\\]+) }; + $_ = "libmtp \\- $1\n"; + $flag = 0; + } + ## Escape minus signs before "-1" as return value + s/-1 /\\-1 / if not /-1c/ and /-1/; + print; +} --- libmtp-0.3.7.orig/debian/libmtp.links.in +++ libmtp-0.3.7/debian/libmtp.links.in @@ -0,0 +1 @@ +etc/udev/libmtp@SOVERSION@.rules etc/udev/rules.d/libmtp@SOVERSION@.rules --- libmtp-0.3.7.orig/debian/copyright +++ libmtp-0.3.7/debian/copyright @@ -0,0 +1,35 @@ +This package was debianized by Jean Parpaillon on +Wed, 9 Aug 2006 14:55:02 +0100. + +It was downloaded from http://libmtp.sourceforge.net/ + +Upstream authors: +- Richard A. Low +- Linus Walleij + +Copyright: + +Most of the source files do not have copyright notices and/or licensing +conditions. From the presence of a LGPL COPYING file in the upstream +tarball and from the information in the ChangeLog file, we can deduce that: + + Copyright (c) 2006, 2007 Richard A. Low and Linus Walleij + + Redistribution and use in source and binary forms, with or without + modification, are permitted under the terms of the GNU LGPL 2.1. + +The following files have copyright notices (all released under the GNU LGPL): + +* src/ptp.h: + Copyright (C) 2001 Mariusz Woloszyn + +* src/ptp-pack.c: + Copyright (c) 2003 Nikolai Kopanygin + +* src/ptp.c: + Copyright (C) 2001-2004 Mariusz Woloszyn + Copyright (C) 2003-2006 Marcus Meissner + Copyright (C) 2006 Linus Walleij + +The complete text of the LGPL License can be found in +`/usr/share/common-licenses/LGPL-2.1'.