debian/0000755000000000000000000000000011604375072007173 5ustar debian/monodoc-mono-fuse-manual.install0000644000000000000000000000003011604374777015406 0ustar usr/lib/monodoc/sources debian/copyright0000644000000000000000000000452711604374777011151 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Name: Mono.Fuse Maintainer: Jonathan Pryor Source: http://www.jprl.com/Projects/mono-fuse.html Files: * Copyright: Copyright (C) 2005-2009 Jonathan Pryor License: MIT/X11 Files: src/Mono.Fuse/MapAttribute.cs Copyright: Copyright (C) Novell, Inc License: MIT/X11 Files: debian/* Copyright: Copyright (c) 2009 Marco Nenciarini License: GPL-2+ License: MIT/X11 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. License: GPL-2+ 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 2 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. . You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. . On Debian GNU/Linux systems, the text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. debian/docs0000644000000000000000000000001411604374777010054 0ustar NEWS README debian/changelog0000644000000000000000000000163011604375060011042 0ustar mono-fuse (0.4.2+dfsg-3) unstable; urgency=low * [5ffad20] fix build for mono 2.10. Closes: #627512 -- Julian Taylor Mon, 04 Jul 2011 18:36:16 +0100 mono-fuse (0.4.2+dfsg-2) unstable; urgency=low * Put full library path in pc file -- Marco Nenciarini Thu, 07 Jan 2010 12:10:19 +0100 mono-fuse (0.4.2+dfsg-1) unstable; urgency=low * Strip create-native-map.exe (binary only executable) from upstream source. * Build depends on mono-tools-devel which provides create-native-map * Patch build system to use create-native-map provided by system * Add glue native library and library config file to pkg-config file -- Marco Nenciarini Thu, 07 Jan 2010 12:10:06 +0100 mono-fuse (0.4.2-1) unstable; urgency=low * Initial release (Closes: #563052) -- Marco Nenciarini Thu, 31 Dec 2009 18:11:35 +0100 debian/watch0000644000000000000000000000016011604374777010234 0ustar version=3 opts=dversionmangle=s/\+dfsg// \ http://www.jprl.com/Projects/mono-fuse/ mono-fuse-([\d\.]+)\.tar\.gz debian/source/0000755000000000000000000000000011604374777010506 5ustar debian/source/format0000644000000000000000000000001411604374777011714 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000406511604374777010273 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 MAKEFILE = $(firstword $(MAKEFILE_LIST)) DEBIAN_DIR = $(dir $(MAKEFILE)) SOURCE_DIR = $(DEBIAN_DIR)/.. DEB_SOURCE_NAME = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Source | cut -d" " -f2) DEB_VERSION = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Version | cut -d" " -f2) SOURCE_VERSION = $(shell echo $(DEB_VERSION) | cut -d"-" -f1) VERSION = $(shell echo $(SOURCE_VERSION) | sed 's/+dfsg.*//') include /usr/share/cli-common/cli.make %: dh $@ override_dh_auto_configure: autoreconf-stamp dh_auto_configure -- CSC=/usr/bin/mono-csc MCS=/usr/bin/mono-csc autoreconf: autoreconf-stamp autoreconf-stamp: autoreconf -f -i -s -I . touch $@ override_dh_makeclilibs: # disabled override_dh_clean: dh_clean rm -f autoreconf-stamp # delete generated autofoo stuff from above find . -name "Makefile.in" -delete rm -f config.status config.sub config.guess configure config.h.in ltmain.sh missing install-sh aclocal.m4 depcomp INSTALL rm -f example/HelloFS/Mono.Fuse.dll.mdb example/HelloFS/HelloFS.exe.mdb example/RedirectFS/RedirectFS-FH.exe get-orig-source: rm -rf $@ mkdir -p $@ uscan \ --package $(DEB_SOURCE_NAME) \ --watchfile $(DEBIAN_DIR)/watch \ --upstream-version $(VERSION) \ --download-version $(VERSION) \ --destdir $@ \ --force-download \ --rename \ --repack mkdir -p $@/repack tar zx -C $@/repack -f $@/$(DEB_SOURCE_NAME)_$(VERSION).orig.tar.gz mv $@/repack/* $@/$(DEB_SOURCE_NAME)-$(SOURCE_VERSION) || ( mkdir $@/$(DEB_SOURCE_NAME)-$(SOURCE_VERSION) && mv $@/repack/* $@/$(DEB_SOURCE_NAME)-$(SOURCE_VERSION) ) rm -fr $@/$(DEB_SOURCE_NAME)-$(SOURCE_VERSION)/.git \ $@/$(DEB_SOURCE_NAME)-$(SOURCE_VERSION)/autom4te.cache \ $@/$(DEB_SOURCE_NAME)-$(SOURCE_VERSION)/src/Mono.Fuse/create-native-map.exe tar c -C $@ $(DEB_SOURCE_NAME)-$(SOURCE_VERSION) -f $(DEB_SOURCE_NAME)_$(SOURCE_VERSION).orig.tar gzip -9fn $(DEB_SOURCE_NAME)_$(SOURCE_VERSION).orig.tar rm -r $@ .PHONY: get-orig-source debian/compat0000644000000000000000000000000211604374777010404 0ustar 7 debian/patches/0000755000000000000000000000000011604374777010635 5ustar debian/patches/0005-Put-full-library-path-in-pc-file.patch0000644000000000000000000000114011604374777020261 0ustar From: Marco Nenciarini Date: Thu, 7 Jan 2010 12:06:28 +0100 Subject: [PATCH] Put full library path in pc file --- lib/pkgconfig/mono-fuse.pc.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/pkgconfig/mono-fuse.pc.in b/lib/pkgconfig/mono-fuse.pc.in index fb88cdd..42c192d 100644 --- a/lib/pkgconfig/mono-fuse.pc.in +++ b/lib/pkgconfig/mono-fuse.pc.in @@ -9,4 +9,4 @@ Name: Mono.Fuse Description: C# Binding for FUSE Version: @VERSION@ Requires: -Libs: -r:Mono.Fuse.dll -r:Mono.Posix.dll +Libs: -r:${assemblies_dir}/Mono.Fuse.dll -r:Mono.Posix.dll -- debian/patches/0003-fix-reported-version.patch0000644000000000000000000000136511604374777016336 0ustar From: Marco Nenciarini Date: Wed, 30 Dec 2009 19:01:08 +0100 Subject: [PATCH] fix reported version autoconf should report the right version. Such version it's used in the pkg-config file. --- configure.in | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index a2ab34f..da126f6 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -AC_INIT([mono-fuse], 0.1, [jonpryor@vt.edu]) +AC_INIT([mono-fuse], 0.4.2, [jonpryor@vt.edu]) AC_CANONICAL_SYSTEM AC_PREREQ(2.53) AM_INIT_AUTOMAKE([1.9 tar-ustar]) @@ -8,7 +8,7 @@ AC_PROG_CC AC_LIBTOOL_DLOPEN AM_PROG_LIBTOOL -ASSEMBLY_VERSION=0.1.0.0 +ASSEMBLY_VERSION=0.4.2.0 AC_PATH_PROG(MONO, mono) AC_PATH_PROG(MCS, gmcs) -- debian/patches/0001-fix-build.patch0000644000000000000000000000126011604374777014116 0ustar From: Jonathan Pryor Date: Wed, 30 Dec 2009 17:39:29 +0100 Subject: [PATCH] fix build --- example/HelloFS/HelloFS.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/example/HelloFS/HelloFS.cs b/example/HelloFS/HelloFS.cs index 4df38e1..401e0ab 100644 --- a/example/HelloFS/HelloFS.cs +++ b/example/HelloFS/HelloFS.cs @@ -58,7 +58,7 @@ namespace Mono.Fuse.Samples { hello_attrs ["foo"] = Encoding.UTF8.GetBytes ("bar"); } - protected override Errno OnGetPathStatus (string path, ref Stat stbuf) + protected override Errno OnGetPathStatus (string path, out Stat stbuf) { Trace.WriteLine ("(OnGetPathStatus {0})", path); -- debian/patches/series0000644000000000000000000000026411604374777012054 0ustar 0001-fix-build.patch 0002-native-libs-should-be-private.patch 0003-fix-reported-version.patch 0004-Use-system-s-create-native-map.patch 0005-Put-full-library-path-in-pc-file.patch debian/patches/0002-native-libs-should-be-private.patch0000644000000000000000000001133311604374777020003 0ustar From: Marco Nenciarini Date: Wed, 30 Dec 2009 17:41:08 +0100 Subject: [PATCH] native libs should be private --- configure.in | 7 ++++--- example/HelloFS/hellofs.in | 2 +- example/RedirectFS/redirectfs-fh.in | 2 +- example/RedirectFS/redirectfs.in | 2 +- lib/mono-fuse/Makefile.am | 2 ++ lib/mono-fuse/Mono.Fuse.dll.config.in | 3 +++ lib/pkgconfig/mono-fuse.pc.in | 6 +++--- src/MonoFuseHelper/Makefile.am | 10 +++++----- 8 files changed, 20 insertions(+), 14 deletions(-) create mode 100644 lib/mono-fuse/Mono.Fuse.dll.config.in diff --git a/configure.in b/configure.in index 2b6339e..a2ab34f 100644 --- a/configure.in +++ b/configure.in @@ -51,11 +51,11 @@ if test "x$has_mono" = "xtrue"; then AC_PATH_PROG(RUNTIME, mono, no) AC_PATH_PROG(CSC, gmcs, no) if test `uname -s` = "Darwin"; then - LIB_PREFIX= + LIB_PREFIX=lib LIB_SUFFIX=.dylib else - LIB_PREFIX=.so - LIB_SUFFIX= + LIB_PREFIX=lib + LIB_SUFFIX=.so fi fi @@ -138,6 +138,7 @@ Makefile doc/Makefile lib/Makefile lib/mono-fuse/Makefile +lib/mono-fuse/Mono.Fuse.dll.config lib/pkgconfig/Makefile lib/pkgconfig/mono-fuse.pc src/Makefile diff --git a/example/HelloFS/hellofs.in b/example/HelloFS/hellofs.in index af904a1..ae9a55c 100644 --- a/example/HelloFS/hellofs.in +++ b/example/HelloFS/hellofs.in @@ -1,6 +1,6 @@ #!/bin/sh -libdir="@TOP_BUILDDIR@/lib" +libdir="@TOP_BUILDDIR@/lib/mono-fuse" builddir="@BUILDDIR@" DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH:+$DYLD_LIBRARY_PATH:}$libdir" \ diff --git a/example/RedirectFS/redirectfs-fh.in b/example/RedirectFS/redirectfs-fh.in index bc27d25..e29fe53 100644 --- a/example/RedirectFS/redirectfs-fh.in +++ b/example/RedirectFS/redirectfs-fh.in @@ -1,6 +1,6 @@ #!/bin/sh -libdir="@TOP_BUILDDIR@/lib" +libdir="@TOP_BUILDDIR@/lib/mono-fuse" builddir="@BUILDDIR@" DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH:+$DYLD_LIBRARY_PATH:}$libdir" \ diff --git a/example/RedirectFS/redirectfs.in b/example/RedirectFS/redirectfs.in index a402978..c050b5a 100644 --- a/example/RedirectFS/redirectfs.in +++ b/example/RedirectFS/redirectfs.in @@ -1,6 +1,6 @@ #!/bin/sh -libdir="@TOP_BUILDDIR@/lib" +libdir="@TOP_BUILDDIR@/lib/mono-fuse" builddir="@BUILDDIR@" DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH:+$DYLD_LIBRARY_PATH:}$libdir" \ diff --git a/lib/mono-fuse/Makefile.am b/lib/mono-fuse/Makefile.am index e69de29..5b6679f 100644 --- a/lib/mono-fuse/Makefile.am +++ b/lib/mono-fuse/Makefile.am @@ -0,0 +1,2 @@ +EXTRA_DIST = Mono.Fuse.dll.config.in +DISTCLEANFILES = Mono.Fuse.dll.config diff --git a/lib/mono-fuse/Mono.Fuse.dll.config.in b/lib/mono-fuse/Mono.Fuse.dll.config.in new file mode 100644 index 0000000..7064f97 --- /dev/null +++ b/lib/mono-fuse/Mono.Fuse.dll.config.in @@ -0,0 +1,3 @@ + + + diff --git a/lib/pkgconfig/mono-fuse.pc.in b/lib/pkgconfig/mono-fuse.pc.in index e6d759b..fb88cdd 100644 --- a/lib/pkgconfig/mono-fuse.pc.in +++ b/lib/pkgconfig/mono-fuse.pc.in @@ -3,10 +3,10 @@ exec_prefix=${pcfiledir}/../.. libdir=@libdir@ includedir=${prefix}/include assemblies_dir=${libdir}/mono-fuse -Libraries=${assemblies_dir}/Mono.Fuse.dll - +Libraries=${assemblies_dir}/Mono.Fuse.dll ${assemblies_dir}/Mono.Fuse.dll.config ${assemblies_dir}/@LIB_PREFIX@MonoFuseHelper@LIB_SUFFIX@ + Name: Mono.Fuse Description: C# Binding for FUSE Version: @VERSION@ -Requires: +Requires: Libs: -r:Mono.Fuse.dll -r:Mono.Posix.dll diff --git a/src/MonoFuseHelper/Makefile.am b/src/MonoFuseHelper/Makefile.am index d06a506..de1abc8 100644 --- a/src/MonoFuseHelper/Makefile.am +++ b/src/MonoFuseHelper/Makefile.am @@ -1,4 +1,4 @@ -lib_LTLIBRARIES = libMonoFuseHelper.la +pkglib_LTLIBRARIES = libMonoFuseHelper.la INCLUDES = $(GLIB_CFLAGS) $(FUSE_CFLAGS) -I$(top_srcdir) -I$(top_builddir)/lib AM_CFLAGS = $(MFH_CFLAGS) -DHAVE_STRUCT_FUSE_ARGS @@ -14,7 +14,7 @@ libMonoFuseHelper_la_SOURCES = $(MFH_SOURCE) libMonoFuseHelper_la_LIBADD = $(MFH_LIBS) libMonoFuseHelper_la_LDFLAGS = -no-undefined -avoid-version -buildlibdir = $(shell cd $(top_builddir)/lib && pwd) +buildlibdir = $(shell cd $(top_builddir)/lib/mono-fuse && pwd) all: libMonoFuseHelper.la $(buildlibdir)/libMonoFuseHelper.so @@ -22,7 +22,7 @@ $(buildlibdir)/libMonoFuseHelper.so: $(MFH_SOURCE) $(LIBTOOL) --mode=install install -c libMonoFuseHelper.la $(buildlibdir) CLEANFILES = \ - $(top_builddir)/lib/libMonoFuseHelper.so \ - $(top_builddir)/lib/libMonoFuseHelper.la \ - $(top_builddir)/lib/libMonoFuseHelper.a + $(top_builddir)/lib/mono-fuse/libMonoFuseHelper.so \ + $(top_builddir)/lib/mono-fuse/libMonoFuseHelper.la \ + $(top_builddir)/lib/mono-fuse/libMonoFuseHelper.a -- debian/patches/0004-Use-system-s-create-native-map.patch0000644000000000000000000000213711604374777020060 0ustar From: Marco Nenciarini Date: Thu, 7 Jan 2010 09:41:41 +0100 Subject: [PATCH] Use system's create-native-map --- configure.in | 3 +++ src/Mono.Fuse/Makefile.am | 2 +- 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/configure.in b/configure.in index da126f6..3279b0f 100644 --- a/configure.in +++ b/configure.in @@ -131,6 +131,9 @@ fi AC_SUBST(MDASSEMBLER) AC_SUBST(MONODOCER) +AC_PATH_PROG(CREATE_NATIVE_MAP, create-native-map, no) +AC_SUBST(CREATE_NATIVE_MAP) + AM_CONDITIONAL(ENABLE_MONODOC, test "x$enable_monodoc" = "xyes") AC_OUTPUT([ diff --git a/src/Mono.Fuse/Makefile.am b/src/Mono.Fuse/Makefile.am index 94258f4..5f8bb39 100644 --- a/src/Mono.Fuse/Makefile.am +++ b/src/Mono.Fuse/Makefile.am @@ -20,7 +20,7 @@ $(DLL) : $(build_sources) $(CSC) $(CSC_FLAGS) -d:TRACE -debug+ -out:$@ -target:library $(REFS) $(build_sources) $(map_files) : $(DLL) - mono $(srcdir)/create-native-map.exe \ + $(CREATE_NATIVE_MAP) \ --impl-macro:FUSE_USE_VERSION=25 \ --impl-header:"" \ --library=MonoFuseHelper \ -- debian/control0000644000000000000000000000234411604374777010614 0ustar Source: mono-fuse Section: cli-mono Priority: optional Maintainer: Debian CLI Libraries Team Uploaders: Marco Nenciarini Build-Depends: debhelper (>= 7.0.50~), libtool, automake, autoconf, cli-common-dev (>= 0.7), mono-devel (>= 2.4.2.3), mono-tools-devel, monodoc-base, libfuse-dev, libglib2.0-dev Standards-Version: 3.8.3 Homepage: http://www.jprl.com/Projects/mono-fuse/ Vcs-Git: git://git.debian.org/git/pkg-cli-libs/packages/mono-fuse.git Vcs-Browser: http://git.debian.org/?p=pkg-cli-libs/packages/mono-fuse.git Package: libmono-fuse-cil Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${cli:Depends} Description: CLI binding for FUSE Mono.Fuse is a binding for the FUSE library, permitting user-space file systems to be written in C# or other CLI based / enabled languages. Package: monodoc-mono-fuse-manual Section: doc Architecture: all Depends: monodoc-manual, ${misc:Depends} Description: compiled XML documentation for mono-fuse Mono.Fuse is a binding for the FUSE library, permitting user-space file systems to be written in C# or other CLI based / enabled languages. . This package contains the compiled XML documentation for mono-fuse debian/libmono-fuse-cil.install0000644000000000000000000000021511604374777013740 0ustar usr/lib/mono-fuse/Mono.Fuse.dll usr/lib/mono-fuse/Mono.Fuse.dll.config usr/lib/pkgconfig/mono-fuse.pc usr/lib/mono-fuse/libMonoFuseHelper.so