summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Walleij <triad@df.lth.se>2006-05-02 10:43:44 +0000
committerLinus Walleij <triad@df.lth.se>2006-05-02 10:43:44 +0000
commitf9e1e13ff41c486b029013c70661d2339edd0fcb (patch)
tree8a24db59befc4bff5c958b15e6450aae875fce03
parentd6a4997d8d50bfd1e5ffc88e5f0759b445aac451 (diff)
downloadlibmtp-f9e1e13ff41c486b029013c70661d2339edd0fcb.tar.gz
Fix up CVS
-rw-r--r--.cvsignore3
-rw-r--r--src/.cvsignore9
-rwxr-xr-xsrc/gphoto2-sync.sh22
3 files changed, 34 insertions, 0 deletions
diff --git a/.cvsignore b/.cvsignore
index ef13344..ee692c3 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -19,3 +19,6 @@ libmtp.pc
libtool
libmtp.sh
stamp-h1
+libmtp.rules
+libmtp.usermap
+ltmain.sh
diff --git a/src/.cvsignore b/src/.cvsignore
index 4fa58ee..52e863b 100644
--- a/src/.cvsignore
+++ b/src/.cvsignore
@@ -1,2 +1,11 @@
+libmtp.h
+libmtp.la
libptp-endian.h
libptp-byteorder.h
+Makefile.in
+Makefile
+.deps
+.libs
+*.gphoto2
+*.lo
+*.loT
diff --git a/src/gphoto2-sync.sh b/src/gphoto2-sync.sh
new file mode 100755
index 0000000..c0eb503
--- /dev/null
+++ b/src/gphoto2-sync.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+#set -e
+
+srcdir=`dirname $0`
+
+# Get sources from gphoto2 SVN
+WGET=`which wget`
+if [ "x$WGET" != "x" ]; then
+ wget -O tmpfile http://svn.sourceforge.net/viewcvs.cgi/*checkout*/gphoto/trunk/libgphoto2/camlibs/ptp2/ptp.c
+ mv tmpfile ptp.c.gphoto2
+ wget -O tmpfile http://svn.sourceforge.net/viewcvs.cgi/*checkout*/gphoto/trunk/libgphoto2/camlibs/ptp2/ptp.h
+ mv tmpfile ptp.h.gphoto2
+ wget -O tmpfile http://svn.sourceforge.net/viewcvs.cgi/*checkout*/gphoto/trunk/libgphoto2/camlibs/ptp2/ptp-pack.c
+ mv tmpfile ptp-pack.c.gphoto2
+ wget -O tmpfile http://svn.sourceforge.net/viewcvs.cgi/*checkout*/gphoto/trunk/libgphoto2/camlibs/ptp2/library.c
+ mv tmpfile library.c.gphoto2
+else
+ echo "Could not sync to gphoto2. No WGET."
+fi
+
+echo "Finished!"
+