mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: grodriguez <guille.rodriguez@gmail.com>
To: ptxdist@pengutronix.de
Cc: grodriguez <guille.rodriguez@gmail.com>
Subject: [ptxdist] [PATCH v3] New package: fuse-zip
Date: Tue, 13 Jan 2015 17:04:39 +0100	[thread overview]
Message-ID: <1421165079-3352-1-git-send-email-guille.rodriguez@gmail.com> (raw)
In-Reply-To: <1418745419-20940-1-git-send-email-guille.rodriguez@gmail.com>

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

Signed-off-by: Guillermo Rodriguez <guille.rodriguez@gmail.com>
---
 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 <stdexcept>
+ #include <syslog.h>
+ #include <cassert>
++#define __STDC_LIMIT_MACROS
++#include <stdint.h>
+ 
+ #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 <guille.rodriguez@gmail.com>
+#
+# 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 <guille.rodriguez@gmail.com>")
+	@$(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

  reply	other threads:[~2015-01-13 16:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-12 16:00 [ptxdist] [PATCH] " grodriguez
2014-12-16 15:56 ` [ptxdist] [PATCH v2] " grodriguez
2015-01-13 16:04   ` grodriguez [this message]
2015-01-14 10:22     ` [ptxdist] [PATCH v3] " Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1421165079-3352-1-git-send-email-guille.rodriguez@gmail.com \
    --to=guille.rodriguez@gmail.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox