summaryrefslogtreecommitdiff
path: root/filesystems
diff options
context:
space:
mode:
authorsborrill <sborrill>2007-05-02 19:43:40 +0000
committersborrill <sborrill>2007-05-02 19:43:40 +0000
commit46c6a9a30f4457af12485a20cd189c12bc25c137 (patch)
tree7e9486ef7c8858386f3903cc0a0718f1f5913533 /filesystems
parentfbdf823b3abfa214978812f14223eb70dfa6e652 (diff)
downloadpkgsrc-46c6a9a30f4457af12485a20cd189c12bc25c137.tar.gz
GPhotoFS is a filesystem client based on libgphoto2 that exposes
supported cameras as filesystems; while some cameras implement the USB Mass Storage class and already appear as filesystems (making this program redundant), many use the Picture Transfer Protocol (PTP) or some other custom protocol. But as long as the camera is supported by libgphoto2, it can be mounted as a filesystem using this program. N.B. This requires revision 1.50 or later of lib/librefuse/refuse.c on NetBSD
Diffstat (limited to 'filesystems')
-rw-r--r--filesystems/fuse-gphotofs/DESCR6
-rw-r--r--filesystems/fuse-gphotofs/Makefile26
-rw-r--r--filesystems/fuse-gphotofs/PLIST3
-rw-r--r--filesystems/fuse-gphotofs/distinfo6
-rw-r--r--filesystems/fuse-gphotofs/patches/patch-aa13
5 files changed, 54 insertions, 0 deletions
diff --git a/filesystems/fuse-gphotofs/DESCR b/filesystems/fuse-gphotofs/DESCR
new file mode 100644
index 00000000000..156597cef9e
--- /dev/null
+++ b/filesystems/fuse-gphotofs/DESCR
@@ -0,0 +1,6 @@
+GPhotoFS is a filesystem client based on libgphoto2 that exposes
+supported cameras as filesystems; while some cameras implement the
+USB Mass Storage class and already appear as filesystems (making
+this program redundant), many use the Picture Transfer Protocol (PTP)
+or some other custom protocol. But as long as the camera is supported
+by libgphoto2, it can be mounted as a filesystem using this program.
diff --git a/filesystems/fuse-gphotofs/Makefile b/filesystems/fuse-gphotofs/Makefile
new file mode 100644
index 00000000000..760e99063d5
--- /dev/null
+++ b/filesystems/fuse-gphotofs/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/05/02 19:43:40 sborrill Exp $
+#
+
+DISTNAME= gphotofs-0.3
+PKGNAME= fuse-${DISTNAME}
+CATEGORIES= filesystems
+EXTRACT_SUFX= .tar.bz2
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gphoto/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://gphoto.sourceforge.net/proj/gphotofs/
+COMMENT= FUSE filesystem for accessing digital cameras
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= gmake pkg-config
+
+INSTALLATION_DIRS= share/doc/${PKGBASE}
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/${PKGBASE}
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/libgphoto2/buildlink3.mk"
+.include "../../mk/fuse.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/filesystems/fuse-gphotofs/PLIST b/filesystems/fuse-gphotofs/PLIST
new file mode 100644
index 00000000000..2381b91e8c8
--- /dev/null
+++ b/filesystems/fuse-gphotofs/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/05/02 19:43:40 sborrill Exp $
+bin/gphotofs
+share/doc/fuse-gphotofs/README
diff --git a/filesystems/fuse-gphotofs/distinfo b/filesystems/fuse-gphotofs/distinfo
new file mode 100644
index 00000000000..aacb71ab629
--- /dev/null
+++ b/filesystems/fuse-gphotofs/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/05/02 19:43:40 sborrill Exp $
+
+SHA1 (gphotofs-0.3.tar.bz2) = 24b6a66f89da6f53bf4240a91003841c2ff41fc5
+RMD160 (gphotofs-0.3.tar.bz2) = 34fc6c5019319c57fcfc8c53938fccbf6cede18d
+Size (gphotofs-0.3.tar.bz2) = 76186 bytes
+SHA1 (patch-aa) = ab598c3c3dd5d1ca568d3a7a433ac8f508c8a25f
diff --git a/filesystems/fuse-gphotofs/patches/patch-aa b/filesystems/fuse-gphotofs/patches/patch-aa
new file mode 100644
index 00000000000..9ebef63c9e1
--- /dev/null
+++ b/filesystems/fuse-gphotofs/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/05/02 19:43:40 sborrill Exp $
+
+--- configure.orig 2007-05-02 21:33:59.000000000 +0100
++++ configure 2007-05-02 21:33:59.000000000 +0100
+@@ -6069,7 +6069,7 @@
+ posrcprefix="../"
+ fi
+ rm -f po/POTFILES
+- sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
++ test -f $srcdir/po/POTFILES.in && sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
+ < $srcdir/po/POTFILES.in > po/POTFILES
+
+