unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#62458] [PATCH] gnu: Add avfs.
@ 2023-03-26  9:30 Sergey Trofimov
  2023-03-26  9:39 ` [bug#62458] [PATCH v2] " Sergey Trofimov
  0 siblings, 1 reply; 3+ messages in thread
From: Sergey Trofimov @ 2023-03-26  9:30 UTC (permalink / raw)
  To: 62458; +Cc: Sergey Trofimov

* gnu/packages/file-systems.scm (avfs): New variable.
---
 gnu/packages/file-systems.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index bc5bb41fb3..512ed0bdc9 100644
--- a/gnu/packages/file-systems.scm
+++ b/gnu/packages/file-systems.scm
@@ -260,6 +260,38 @@ (define-public cachefilesd-inotify
 @code{dnotify} to monitor file changes.")
     (license license:gpl2+)))
 
+(define-public avfs
+  (package
+    (name "avfs")
+    (version "1.1.5")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/avf/avfs/" version
+                                  "/avfs-" version ".tar.bz2"))
+              (sha256
+               (base32
+                "1kvjaaj2dlps98alpc8rhnzhk4vriw46f3y7b2h0jq2d21j3p7xd"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:configure-flags ("--enable-library" "--enable-fuse")))
+    (native-inputs (list pkg-config))
+    (inputs (list xz fuse))
+    (synopsis "Virtual filesystem that allows browsing of compressed files")
+    (description
+     "FUSE-based filesystem that allows browsing of compressed files.  It provides
+@command{mountavfs} command that starts a small @command{avfsd} daemon.  When a
+specially formatted path under @file{~/.avfs} is accessed, the daemon will provide
+listings and content access on the fly.  The canonical form of virtual path is:
+[basepath]#handler[options][:parameters][/internalpath].  Example paths:
+@itemize
+@item ~/.avfs/home/user/archive.tar.gz#ugz#utar/path/file
+@item ~/.avfs/#http:localhost|some|path
+@end itemize
+@code{emacs-dired-hacks} has @code{dired-avfs} module which enables seamless
+integration with @code{avfs}.")
+    (home-page "http://avf.sourceforge.net/")
+    (license license:gpl2+)))
+
 (define-public davfs2
   (package
     (name "davfs2")
-- 
2.39.2





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#62458] [PATCH v2] gnu: Add avfs.
  2023-03-26  9:30 [bug#62458] [PATCH] gnu: Add avfs Sergey Trofimov
@ 2023-03-26  9:39 ` Sergey Trofimov
  2023-04-06 14:43   ` bug#62458: [PATCH] " Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Sergey Trofimov @ 2023-03-26  9:39 UTC (permalink / raw)
  To: 62458; +Cc: Sergey Trofimov

* gnu/packages/file-systems.scm (avfs): New variable.
---
 gnu/packages/file-systems.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index bc5bb41fb3..ec0f7ba44b 100644
--- a/gnu/packages/file-systems.scm
+++ b/gnu/packages/file-systems.scm
@@ -260,6 +260,38 @@ (define-public cachefilesd-inotify
 @code{dnotify} to monitor file changes.")
     (license license:gpl2+)))
 
+(define-public avfs
+  (package
+    (name "avfs")
+    (version "1.1.5")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/avf/avfs/" version
+                                  "/avfs-" version ".tar.bz2"))
+              (sha256
+               (base32
+                "1kvjaaj2dlps98alpc8rhnzhk4vriw46f3y7b2h0jq2d21j3p7xd"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:configure-flags '("--enable-library" "--enable-fuse")))
+    (native-inputs (list pkg-config))
+    (inputs (list xz fuse))
+    (synopsis "Virtual filesystem that allows browsing of compressed files")
+    (description
+     "FUSE-based filesystem that allows browsing of compressed files.  It provides
+@command{mountavfs} command that starts a small @command{avfsd} daemon.  When a
+specially formatted path under @file{~/.avfs} is accessed, the daemon will provide
+listings and content access on the fly.  The canonical form of virtual path is:
+[basepath]#handler[options][:parameters][/internalpath].  Example paths:
+@itemize
+@item ~/.avfs/home/user/archive.tar.gz#ugz#utar/path/file
+@item ~/.avfs/#http:localhost|some|path
+@end itemize
+@code{emacs-dired-hacks} has @code{dired-avfs} module which enables seamless
+integration with @code{avfs}.")
+    (home-page "http://avf.sourceforge.net/")
+    (license license:gpl2+)))
+
 (define-public davfs2
   (package
     (name "davfs2")
-- 
2.39.2





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#62458: [PATCH] gnu: Add avfs.
  2023-03-26  9:39 ` [bug#62458] [PATCH v2] " Sergey Trofimov
@ 2023-04-06 14:43   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2023-04-06 14:43 UTC (permalink / raw)
  To: Sergey Trofimov; +Cc: 62458-done

[-- Attachment #1: Type: text/plain, Size: 177 bytes --]

Hi,

Sergey Trofimov <sarg@sarg.org.ru> skribis:

> * gnu/packages/file-systems.scm (avfs): New variable.

Applied with the cosmetic changes below, thanks!

Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1788 bytes --]

diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index 5ae84ba1d1..d57d407d9c 100644
--- a/gnu/packages/file-systems.scm
+++ b/gnu/packages/file-systems.scm
@@ -276,17 +276,24 @@ (define-public avfs
      '(#:configure-flags '("--enable-library" "--enable-fuse")))
     (native-inputs (list pkg-config))
     (inputs (list xz fuse))
-    (synopsis "Virtual filesystem that allows browsing of compressed files")
+    (synopsis "Virtual file system that allows browsing of compressed files")
     (description
-     "FUSE-based filesystem that allows browsing of compressed files.  It provides
-@command{mountavfs} command that starts a small @command{avfsd} daemon.  When a
-specially formatted path under @file{~/.avfs} is accessed, the daemon will provide
-listings and content access on the fly.  The canonical form of virtual path is:
-[basepath]#handler[options][:parameters][/internalpath].  Example paths:
+     "AVFS is a FUSE-based filesystem that allows browsing of compressed
+files.  It provides the @command{mountavfs} command that starts a small
+@command{avfsd} daemon.  When a specially formatted path under @file{~/.avfs}
+is accessed, the daemon provides listings and content access on the fly.  The
+canonical form of virtual file name is:
+
+@example
+[basepath]#handler[options][:parameters][/internalpath]
+@end example
+
+Example file names:
 @itemize
-@item ~/.avfs/home/user/archive.tar.gz#ugz#utar/path/file
-@item ~/.avfs/#http:localhost|some|path
+@item @file{~/.avfs/home/user/archive.tar.gz#ugz#utar/path/file}
+@item @file{~/.avfs/#http:localhost|some|path}
 @end itemize
+
 @code{emacs-dired-hacks} has @code{dired-avfs} module which enables seamless
 integration with @code{avfs}.")
     (home-page "http://avf.sourceforge.net/")

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-04-06 14:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-26  9:30 [bug#62458] [PATCH] gnu: Add avfs Sergey Trofimov
2023-03-26  9:39 ` [bug#62458] [PATCH v2] " Sergey Trofimov
2023-04-06 14:43   ` bug#62458: [PATCH] " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).