From 67c22f097569f9bf5960bfb895b25718669a1cb8 Mon Sep 17 00:00:00 2001 From: sborrill Date: Wed, 2 May 2007 19:43:40 +0000 Subject: 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 --- filesystems/fuse-gphotofs/DESCR | 6 ++++++ filesystems/fuse-gphotofs/Makefile | 26 ++++++++++++++++++++++++++ filesystems/fuse-gphotofs/PLIST | 3 +++ filesystems/fuse-gphotofs/distinfo | 6 ++++++ filesystems/fuse-gphotofs/patches/patch-aa | 13 +++++++++++++ 5 files changed, 54 insertions(+) create mode 100644 filesystems/fuse-gphotofs/DESCR create mode 100644 filesystems/fuse-gphotofs/Makefile create mode 100644 filesystems/fuse-gphotofs/PLIST create mode 100644 filesystems/fuse-gphotofs/distinfo create mode 100644 filesystems/fuse-gphotofs/patches/patch-aa (limited to 'filesystems') 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 + + -- cgit v1.2.3