unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Julien Lepiller <julien@lepiller.eu>
To: 30845@debbugs.gnu.org
Subject: [bug#30845] [PATCH 07/82] gnu: Add java-commons-vfs.
Date: Sun, 18 Mar 2018 14:05:27 +0100	[thread overview]
Message-ID: <20180318130530.1654-7-julien@lepiller.eu> (raw)
In-Reply-To: <20180318134211.38163cd6@lepiller.eu>

* gnu/packages/java.scm (java-commons-vfs): New variable.
---
 gnu/packages/java.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index b8fd30ea5..0ee4ade95 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -9474,3 +9474,44 @@ graphs, and pie charts.")
 implementation.  It also provides reusable components for client-side
 authentication, HTTP state management, and HTTP connection management.")
     (license license:asl2.0)))
+
+(define-public java-commons-vfs
+  (package
+    (name "java-commons-vfs")
+    (version "2.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://apache/commons/vfs/source/"
+                                  "commons-vfs2-distribution-" version "-src.tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1cnq1iaghbp4cslpnvwbp83i5v234x87irssqynhwpfgw7caf1s3"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:jar-name "commons-vfs.jar"
+       #:source-dir "commons-vfs2/src/main/java"
+       #:tests? #f; no tests
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'build 'remove-hadoop-and-webdav
+           ; Remove these files as they are not required and depend on difficult
+           ; packages.
+           (lambda _
+             (for-each delete-file-recursively
+               '("commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/webdav"
+                 "commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/hdfs")))))))
+    (inputs
+     `(("java-commons-collections4" ,java-commons-collections4)
+       ("java-commons-compress" ,java-commons-compress)
+       ("java-commons-httpclient" ,java-commons-httpclient)
+       ("java-commons-logging-minimal" ,java-commons-logging-minimal)
+       ("java-commons-net" ,java-commons-net)
+       ("java-jsch" ,java-jsch)))
+    (home-page "http://commons.apache.org/proper/commons-vfs/")
+    (synopsis "Java filesystem library")
+    (description "Commons VFS provides a single API for accessing various
+different file systems.  It presents a uniform view of the files from various
+different sources, such as the files on local disk, on an HTTP server, or
+inside a Zip archive.")
+    (license license:asl2.0)))
-- 
2.16.1

  parent reply	other threads:[~2018-03-18 13:06 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-18 12:42 [bug#30845] More java packages Julien Lepiller
2018-03-18 13:05 ` [bug#30845] [PATCH 01/82] gnu: Add java-jline-2 Julien Lepiller
2018-03-19 22:13   ` Björn Höfling
2018-03-18 13:05 ` [bug#30845] [PATCH 02/82] gnu: Update java-commons-cli to 1.4 Julien Lepiller
2018-03-19 22:13   ` Björn Höfling
2018-03-18 13:05 ` [bug#30845] [PATCH 03/82] gnu: java-eclipse-jetty-security-9.2: Ignore test error Julien Lepiller
2018-03-19 22:20   ` Björn Höfling
2018-03-18 13:05 ` [bug#30845] [PATCH 04/82] gnu: Add java-commons-bsf Julien Lepiller
2018-03-19 22:21   ` Björn Höfling
2018-03-18 13:05 ` [bug#30845] [PATCH 05/82] gnu: Add java-bouncycastle Julien Lepiller
2018-03-19 22:32   ` Björn Höfling
2018-03-20  8:06     ` julien lepiller
2018-03-21  8:08       ` Björn Höfling
2018-03-18 13:05 ` [bug#30845] [PATCH 06/82] gnu: Add java-commons-httpclient Julien Lepiller
2018-03-20 18:12   ` Björn Höfling
2018-03-18 13:05 ` Julien Lepiller [this message]
2018-03-20 18:12   ` [bug#30845] [PATCH 07/82] gnu: Add java-commons-vfs Björn Höfling
2018-03-18 13:05 ` [bug#30845] [PATCH 08/82] gnu: Add java-jakarta-oro Julien Lepiller
2018-03-20 18:13   ` Björn Höfling
2018-03-18 13:05 ` [bug#30845] [PATCH 09/82] gnu: Add java-native-access Julien Lepiller
2018-03-20 18:13   ` Björn Höfling
2018-03-18 13:05 ` [bug#30845] [PATCH 10/82] gnu: Add java-native-access-platform Julien Lepiller
2018-03-20 18:13   ` Björn Höfling
2018-04-05 17:50 ` bug#30845: More java packages Julien Lepiller

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=20180318130530.1654-7-julien@lepiller.eu \
    --to=julien@lepiller.eu \
    --cc=30845@debbugs.gnu.org \
    /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.
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).