--- libiphone-0.9.5.orig/debian/compat +++ libiphone-0.9.5/debian/compat @@ -0,0 +1 @@ +7 --- libiphone-0.9.5.orig/debian/iphoneinfo.1 +++ libiphone-0.9.5/debian/iphoneinfo.1 @@ -0,0 +1,36 @@ +.TH "iphoneinfo" 1 +.SH NAME +iphoneinfo \- Show information about the first connected iPhone/iPod Touch. +.SH SYNOPSIS +.B iphone_id +[OPTIONS] + +.SH DESCRIPTION + +Show information about the first connected iPhone/iPod Touch. + + +.SH OPTIONS +.TP +.B \-d|\-\-debug +enable communication debugging. +.TP +.B \-u|\-\-uuid UUID +target specific device by its 40-digit device UUID. +.TP +.B \-q|\-\-domain NAME +set domain of query to NAME. Default: None. +.TP +.B \-k|\-\-key NAME +only query key specified by NAME. Default: All keys. +.TP +.B \-x|\-\-xml +output information as xml plist instead of key/value pairs. +.TP +.B \-h|\-\-help +prints usage information + +.SH AUTHOR +Martin Szulecki + +Man page written to conform with Debian by Julien Lavergne. --- libiphone-0.9.5.orig/debian/rules +++ libiphone-0.9.5/debian/rules @@ -0,0 +1,64 @@ +#!/usr/bin/make -f + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CFLAGS = -O2 -Wall +LDFLAGS = -Wl,--as-needed + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS)" ./configure --prefix=/usr \ + --sysconfdir=/etc --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) + touch $@ + +build: build-stamp +build-stamp: configure + dh_testdir + $(MAKE) + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + [ ! -f Makefile ] || $(MAKE) distclean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installman + dh_install --fail-missing + dh_link + dh_strip --dbg-package=libiphone0-dbg + dh_compress + dh_pysupport + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- libiphone-0.9.5.orig/debian/control +++ libiphone-0.9.5/debian/control @@ -0,0 +1,78 @@ +Source: libiphone +Section: libs +Priority: optional +Maintainer: Julien Lavergne +Standards-Version: 3.8.3 +Build-Depends: debhelper (>= 7), + libgnutls-dev (>= 1.6.3), + libusb-1.0-0-dev (>= 1.0.3), + libglib2.0-dev (>= 2.14.1), + libplist-dev (>= 0.15), + libplist++-dev (>= 0.15), + python-all-dev, + python-support (>= 0.6.0), + swig (>= 1.3.36), + libusbmuxd-dev (>= 1.0.0), + libtasn1-3-dev (>= 1.1), + libreadline-dev, + python-plist +XS-Python-Version: current +Homepage: http://matt.colyer.name/projects/iphone-linux/ + +Package: libiphone0 +Architecture: any +Section: libs +Depends: ${shlibs:Depends}, ${misc:Depends}, usbmuxd +Description: Library for communicating with the iPhone and iPod Touch + libiphone is a library that talks the native Apple USB protocols that the + iPhone and iPod Touch use. Unlike other projects, libiphone does not + depends on using any existing libraries from Apple. + +Package: libiphone-dev +Architecture: any +Section: libdevel +Depends: libiphone0 (= ${binary:Version}), libusb-1.0-0-dev, libglib2.0-dev, libgnutls-dev, libplist-dev, libusbmuxd-dev,libtasn1-3-dev, ${misc:Depends} +Description: Library for communicating with iPhone and iPod Touch devices + libiphone is a library that talks the native Apple USB protocols that the + iPhone and iPod Touch use. Unlike other projects, libiphone does not + depend on using any existing libraries from Apple. + . + This package contains the development files. + +Package: libiphone0-dbg +Architecture: any +Section: debug +Priority: extra +Depends: libiphone0 (= ${binary:Version}), ${misc:Depends} +Description: Library for communicating with iPhone and iPod Touch devices + libiphone is a library that talks the native Apple USB protocols that the + iPhone and iPod Touch use. Unlike other projects, libiphone does not + depend on using any existing libraries from Apple. + . + This package contains the debugging symbols. + +Package: python-iphone +Section: python +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends} +XB-Python-Version: ${python:Versions} +Provides: ${python:Provides} +Conflicts: python-libiphone +Replaces: python-libiphone +Description: Library for communicating with iPhone and iPod Touch devices + libiphone is a library that talks the native Apple USB protocols that the + iPhone and iPod Touch use. Unlike other projects, libiphone does not + depend on using any existing libraries from Apple. + . + This package contains the Python bindings + +Package: libiphone-utils +Architecture: any +Section: utils +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Library for communicating with iPhone and iPod Touch devices + libiphone is a library that talks the native Apple USB protocols that the + iPhone and iPod Touch use. Unlike other projects, libiphone does not + depend on using any existing libraries from Apple. + . + This package contains the debugging symbols. --- libiphone-0.9.5.orig/debian/copyright +++ libiphone-0.9.5/debian/copyright @@ -0,0 +1,48 @@ +Authors: + Zach C. + Jonathan Beck + Matt Colyer + Martin Aumueller + Christophe Fergeau + Martin S. + Paul Sladen + Patrick Walton + Zoltan Balaton + Nikias Bassen + Todd Zullinger +Download: http://matt.colyer.name/projects/iphone-linux/ + +Files: * +Copyright: + Copyright (C) 2008 Zach C. All Rights Reserved + Copyright (C) 2008 Jonathan Beck All Rights Reserved + Copyright (C) 2008 Matt Colyer All Rights Reserved +License: LGPL-2.1+ + This package 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 package 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. + +Files: debian/* +Copyright: (C) 2008 Bradley Smith +License: GPL-3+. + 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 3 of the License, or + (at your option) any later version. + . + This program 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 General Public License for more details. + +On Debian GNU/Linux systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. + +On Debian systems, the complete text of the GNU General Public License +can be found in `/usr/share/common-licenses/GPL-3'. --- libiphone-0.9.5.orig/debian/pycompat +++ libiphone-0.9.5/debian/pycompat @@ -0,0 +1 @@ +2 --- libiphone-0.9.5.orig/debian/iphonesyslog.1 +++ libiphone-0.9.5/debian/iphonesyslog.1 @@ -0,0 +1,27 @@ +.TH "iphonesyslog" 1 +.SH NAME +iphonesyslog \- Relay syslog of a connected iPhone/iPod Touch. +.SH SYNOPSIS +.B iphone_id +[OPTIONS] + +.SH DESCRIPTION + +Relay syslog of a connected iPhone/iPod Touch. + +.SH OPTIONS +.TP +.B \-d|\-\-debug +enable communication debugging. +.TP +.B \-u|\-\-uuid UUID +target specific device by its 40-digit device UUID +.TP +.B \-h|\-\-help +prints usage information. +.TP + +.SH AUTHORS +Copyright (c) 2009 Martin Szulecki + +Man page written to conform with Debian by Julien Lavergne. --- libiphone-0.9.5.orig/debian/libiphone-utils.install +++ libiphone-0.9.5/debian/libiphone-utils.install @@ -0,0 +1 @@ +usr/bin/* --- libiphone-0.9.5.orig/debian/libiphone-dev.install +++ libiphone-0.9.5/debian/libiphone-dev.install @@ -0,0 +1,5 @@ +debian/tmp/usr/lib/*.so +debian/tmp/usr/lib/*.la +debian/tmp/usr/lib/*.a +debian/tmp/usr/include/* +debian/tmp/usr/lib/pkgconfig/* --- libiphone-0.9.5.orig/debian/changelog +++ libiphone-0.9.5/debian/changelog @@ -0,0 +1,76 @@ +libiphone (0.9.5-1~ppa1) karmic; urgency=low + + * Backport. + + -- Julien Lavergne Wed, 30 Dec 2009 20:55:38 +0100 + +libiphone (0.9.5-1) unstable; urgency=medium + + * New maintainer, thanks Bradley Smith for his work (Closes: #548595). + * Urgency set to medium to fix RC bug (#560619). + * New upstream release (Closes: #557642) + - Build with new libplist (Closes: #560619) + * debian/control & debian/libiphone-utils: + - Put executable binaries in a separate package. + * debian/control : + - Change python-libiphone to python-iphone binary, to reflect the change of + the module. + - Build against libusb-1.0-0-dev (>= 1.0.3), libusbmuxd-dev (>= 1.0.0), + libtasn1-3-dev (>= 1.1), libplist++-dev (>= 0.15), python-all-dev, + libreadline-dev and python-plist. + - Build depends on python-support. + - Update build-depends on libplist-dev to (>= 0.15) and swig to (>= 1.3.36). + - Wrap build-depends. + - Make libiphone-dev depends on libusbmuxd-dev and libtasn1-3-dev. + - Make libiphone0 depends on usbmuxd. + * debian/libiphone0.install: + - Remove udev rules, not shipped by upstream. + - Only install 0 library number. + * debian/python-iphone: Update installation location for python 2.6. + * debian/rules & debian/python-iphone.preinst: Switch to python-support. + * debian/libiphone-utils.manpages: Add man pages. + * Bump Standards-Version to 3.8.3, no change needed. + + -- Julien Lavergne Mon, 14 Dec 2009 21:16:05 +0100 + +libiphone (0.9.1-3) unstable; urgency=low + + * Fix udev rule installation path. Closes: #529650. + + -- Bradley Smith Wed, 20 May 2009 22:29:26 +0100 + +libiphone (0.9.1-2) unstable; urgency=low + + * Add missing Depends on libplist-dev. + + -- Bradley Smith Sun, 17 May 2009 14:08:18 +0100 + +libiphone (0.9.1-1) unstable; urgency=low + + * New upstream release. + * debian/control: + - Remove unneeded Build-Depends, and add libplist-dev. + - Correct -dbg section. + - Drop libiphone-utils package, binaries no longer present. + - Add python-libiphone package. + * Drop quilt patch system: + - Drop fix-gnutls-depend.diff - Gone upstream. + * Add watch file. + + -- Bradley Smith Tue, 12 May 2009 18:30:54 +0100 + +libiphone (0.1.0~git+20090323-1) experimental; urgency=low + + * New upstream snapshot. + * Add quilt patch system. + - fix-gnutls-depend.diff - Remove versioned depends on gnutls. Since it + is not needed. Closes: #520871, #520859. + * Update Standards-Version to 3.8.1. (No changes). + + -- Bradley Smith Mon, 23 Mar 2009 20:33:14 +0000 + +libiphone (0.1.0~git+20090210-1) experimental; urgency=low + + * Initial release. Closes: #501727. + + -- Bradley Smith Tue, 10 Feb 2009 12:34:49 +0000 --- libiphone-0.9.5.orig/debian/libiphone0.install +++ libiphone-0.9.5/debian/libiphone0.install @@ -0,0 +1,2 @@ +usr/lib/*.so.0* +usr/share/hal/fdi/information/20thirdparty/31-apple-mobile-device.fdi --- libiphone-0.9.5.orig/debian/iphone_id.1 +++ libiphone-0.9.5/debian/iphone_id.1 @@ -0,0 +1,49 @@ +.TH "iphone_id" 1 +.SH NAME +iphone_id \- Prints device name or a list of attached iPhone/iPod Touch devices. +.SH SYNOPSIS +.B iphone_id +[OPTIONS] [UUID] + +.SH DESCRIPTION + +Prints device name or a list of attached iPhone/iPod Touch devices. +The UUID is a 40-digit hexadecimal number of the device +for which the name should be retrieved. + +.SH OPTIONS +.TP +.B \-l|\-\-list +list UUID of all attached devices +.TP +.B \-d|\-\-debug +enable communication debugging. +.TP +.B \-h|\-\-help +prints usage information. +.TP + +.SH AUTHORS + Zach C. + + Jonathan Beck + + Matt Colyer + + Martin Aumueller + + Christophe Fergeau + + Martin S. + + Paul Sladen + + Patrick Walton + + Zoltan Balaton + + Nikias Bassen + + Todd Zullinger + +Man page written to conform with Debian by Julien Lavergne. --- libiphone-0.9.5.orig/debian/python-iphone.install +++ libiphone-0.9.5/debian/python-iphone.install @@ -0,0 +1 @@ +usr/lib/python*/*-packages/iphone --- libiphone-0.9.5.orig/debian/libiphone-utils.manpages +++ libiphone-0.9.5/debian/libiphone-utils.manpages @@ -0,0 +1,3 @@ +debian/iphone_id.1 +debian/iphoneinfo.1 +debian/iphonesyslog.1 --- libiphone-0.9.5.orig/debian/python-iphone.preinst +++ libiphone-0.9.5/debian/python-iphone.preinst @@ -0,0 +1,11 @@ +#!/bin/sh +# TODO: remove this file after releasing Squeeze +set -e +if [ "$1" = upgrade ] +then + if dpkg --compare-versions "$2" lt 0.9.5-1; then + pycentral pkgremove python-libiphone + fi +fi + +#DEBHELPER# --- libiphone-0.9.5.orig/debian/watch +++ libiphone-0.9.5/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://github.com/MattColyer/libiphone/downloads \ + http://cloud.github.com/downloads/MattColyer/libiphone/libiphone-([\d\.]+)\.tar\.bz2