From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1YBL5P-0005Xp-SQ for ptxdist@pengutronix.de; Wed, 14 Jan 2015 11:22:03 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1YBL5P-0008LX-R5 for ptxdist@pengutronix.de; Wed, 14 Jan 2015 11:22:03 +0100 Date: Wed, 14 Jan 2015 11:22:03 +0100 From: Michael Olbrich Message-ID: <20150114102203.GU26436@pengutronix.de> References: <1418745419-20940-1-git-send-email-guille.rodriguez@gmail.com> <1421165079-3352-1-git-send-email-guille.rodriguez@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1421165079-3352-1-git-send-email-guille.rodriguez@gmail.com> Subject: Re: [ptxdist] [PATCH v3] New package: fuse-zip Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Tue, Jan 13, 2015 at 05:04:39PM +0100, grodriguez wrote: > v2: Added package description in .in file > > v3: Add patch to fix a missing header. More info: > http://code.google.com/p/fuse-zip/issues/detail?id=44 Thanks, applied. Michael > > Signed-off-by: Guillermo Rodriguez > --- > patches/fuse-zip-0.4.0/Fix_missing_header.diff | 13 +++++ > patches/fuse-zip-0.4.0/series | 1 + > rules/fuse-zip.in | 17 +++++++ > rules/fuse-zip.make | 58 ++++++++++++++++++++++++ > 4 files changed, 89 insertions(+), 0 deletions(-) > create mode 100644 patches/fuse-zip-0.4.0/Fix_missing_header.diff > create mode 100644 patches/fuse-zip-0.4.0/series > create mode 100644 rules/fuse-zip.in > create mode 100644 rules/fuse-zip.make > > diff --git a/patches/fuse-zip-0.4.0/Fix_missing_header.diff b/patches/fuse-zip-0.4.0/Fix_missing_header.diff > new file mode 100644 > index 0000000..39ccc92 > --- /dev/null > +++ b/patches/fuse-zip-0.4.0/Fix_missing_header.diff > @@ -0,0 +1,13 @@ > +Index: fuse-zip-0.4.0/lib/fileNode.cpp > +=================================================================== > +--- fuse-zip-0.4.0.orig/lib/fileNode.cpp 2014-01-14 17:55:27.000000000 +0100 > ++++ fuse-zip-0.4.0/lib/fileNode.cpp 2014-12-10 18:33:42.524472368 +0100 > +@@ -27,6 +27,8 @@ > + #include > + #include > + #include > ++#define __STDC_LIMIT_MACROS > ++#include > + > + #include "fileNode.h" > + #include "extraField.h" > diff --git a/patches/fuse-zip-0.4.0/series b/patches/fuse-zip-0.4.0/series > new file mode 100644 > index 0000000..b460945 > --- /dev/null > +++ b/patches/fuse-zip-0.4.0/series > @@ -0,0 +1 @@ > +Fix_missing_header.diff > diff --git a/rules/fuse-zip.in b/rules/fuse-zip.in > new file mode 100644 > index 0000000..f61df44 > --- /dev/null > +++ b/rules/fuse-zip.in > @@ -0,0 +1,17 @@ > +## SECTION=disk_and_file > + > +config FUSE_ZIP > + tristate > + prompt "fuse-zip" > + select LIBZIP > + select FUSE > + select FUSE__LIB > + help > + fuse-zip is a FUSE file system to navigate, extract, create > + and modify ZIP and ZIP64 archives based on libzip implemented > + in C++. > + > + With fuse-zip you really can work with ZIP archives as real > + directories. Unlike KIO or Gnome VFS, it can be used in any > + application without modifications. > + > diff --git a/rules/fuse-zip.make b/rules/fuse-zip.make > new file mode 100644 > index 0000000..482fe18 > --- /dev/null > +++ b/rules/fuse-zip.make > @@ -0,0 +1,58 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2014 by Guillermo Rodriguez > +# > +# See CREDITS for details about who has contributed to this project. > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_FUSE_ZIP) += fuse-zip > + > +# > +# Paths and names > +# > +FUSE_ZIP_VERSION := 0.4.0 > +FUSE_ZIP_MD5 := da2d85c5b28ccd153c928f8030e3f729 > +FUSE_ZIP := fuse-zip-$(FUSE_ZIP_VERSION) > +FUSE_ZIP_SUFFIX := tar.gz > +FUSE_ZIP_URL := http://fuse-zip.googlecode.com/files/$(FUSE_ZIP).$(FUSE_ZIP_SUFFIX) > +FUSE_ZIP_SOURCE := $(SRCDIR)/$(FUSE_ZIP).$(FUSE_ZIP_SUFFIX) > +FUSE_ZIP_DIR := $(BUILDDIR)/$(FUSE_ZIP) > +FUSE_ZIP_LICENSE := LGPL > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +FUSE_ZIP_CONF_TOOL := NO > +FUSE_ZIP_MAKE_ENV := $(CROSS_ENV) > + > +# Makefile ignores DESTDIR > +FUSE_ZIP_INSTALL_OPT := 'INSTALLPREFIX=$(FUSE_ZIP_PKGDIR)/usr' install > + > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/fuse-zip.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, fuse-zip) > + @$(call install_fixup, fuse-zip, PRIORITY,optional) > + @$(call install_fixup, fuse-zip, SECTION,base) > + @$(call install_fixup, fuse-zip, AUTHOR,"Guillermo Rodriguez ") > + @$(call install_fixup, fuse-zip, DESCRIPTION,missing) > + > + @$(call install_copy, fuse-zip, 0, 0, 0755, -, /usr/bin/fuse-zip) > + > + @$(call install_finish, fuse-zip) > + > + @$(call touch) > + > +# vim: syntax=make > -- > 1.7.0.4 > > > -- > ptxdist mailing list > ptxdist@pengutronix.de > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de