Subject: bug#62458: closed (Re: bug#62458: [PATCH] gnu: Add avfs.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 06 Apr 2023 14:44:02 +0000

Your bug report

#62458: [PATCH] gnu: Add avfs.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
62458: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62458
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#62458: [PATCH] gnu: Add avfs.
From: Ludovic Courtès <[email-masked]>
To: Sergey Trofimov <[email-masked]>
Cc: [email-masked]
Date: Thu, 06 Apr 2023 16:43:04 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Sergey Trofimov <[email-masked]> skribis:

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

Applied with the cosmetic changes below, thanks!

Ludo’.

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/")

Subject: [PATCH] gnu: Add avfs.
From: Sergey Trofimov <[email-masked]>
To: [email-masked]
Cc: Sergey Trofimov <[email-masked]>
Date: Sun, 26 Mar 2023 11:30:25 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* 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