~ubuntu-branches/debian/experimental/libmtp/experimental

« back to all changes in this revision

Viewing changes to src/gphoto2-sync.sh

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2012-06-16 10:39:41 UTC
  • mfrom: (0.2.7) (16.1.27 sid)
  • Revision ID: package-import@ubuntu.com-20120616103941-u61e72y10244eo9e
Tags: 1.1.3-24-g9aca343-1
* New upstream snapshot 1.1.3-24-g9aca343.
* Replace dh-autotools_dev with dh-autoreconf.
  - Build-Depends on dh-autoreconf, gnulib.
  - Install config.rpath by hand.
* Drop {1001-kfreebsd_hurd_ftbfs,1002-fix_libusb_checks}.patch,
  applied upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
#set -e
 
3
 
 
4
srcdir=`dirname $0`
 
5
 
 
6
# Get sources from gphoto2 SVN
 
7
WGET=`which wget`
 
8
if [ "x$WGET" != "x" ]; then
 
9
    wget -O tmpfile http://gphoto.svn.sourceforge.net/viewvc/*checkout*/gphoto/trunk/libgphoto2/camlibs/ptp2/ptp.c
 
10
    mv tmpfile ptp.c.gphoto2
 
11
    wget -O tmpfile http://gphoto.svn.sourceforge.net/viewvc/*checkout*/gphoto/trunk/libgphoto2/camlibs/ptp2/ptp.h
 
12
    mv tmpfile ptp.h.gphoto2
 
13
    wget -O tmpfile http://gphoto.svn.sourceforge.net/viewvc/*checkout*/gphoto/trunk/libgphoto2/camlibs/ptp2/ptp-pack.c
 
14
    mv tmpfile ptp-pack.c.gphoto2
 
15
    wget -O tmpfile http://gphoto.svn.sourceforge.net/viewvc/*checkout*/gphoto/trunk/libgphoto2/camlibs/ptp2/library.c
 
16
    mv tmpfile library.c.gphoto2
 
17
    wget -O tmpfile http://gphoto.svn.sourceforge.net/viewvc/*checkout*/gphoto/trunk/libgphoto2/camlibs/ptp2/music-players.h
 
18
    mv tmpfile music-players.h.gphoto2
 
19
else
 
20
    echo "Could not sync to gphoto2. No WGET."
 
21
fi
 
22
 
 
23
echo "Finished!"
 
24