unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Julien Lepiller <julien@lepiller.eu>
To: 58553@debbugs.gnu.org
Subject: [bug#58553] [PATCH 1/8] gnu: Add java-brotli.
Date: Sun, 16 Oct 2022 10:48:31 +0200	[thread overview]
Message-ID: <20221016084838.25584-1-julien@lepiller.eu> (raw)
In-Reply-To: <20221015233630.4da3d935@sybil.lepiller.eu>

* gnu/packages/compression.scm (java-brotli): New variable.
---
 gnu/packages/compression.scm | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 684979018c..8d47913713 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -58,6 +58,7 @@ (define-module (gnu packages compression)
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix git-download)
+  #:use-module (guix build-system ant)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system glib-or-gtk)
   #:use-module (guix build-system gnu)
@@ -81,6 +82,7 @@ (define-module (gnu packages compression)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages gtk)
+  #:use-module (gnu packages java)
   #:use-module (gnu packages llvm)
   #:use-module (gnu packages man)
   #:use-module (gnu packages maths)
@@ -2239,6 +2241,19 @@ (define-public python-brotli
 (define-public python-google-brotli
   (deprecated-package "python-google-brotli" python-brotli))
 
+(define-public java-brotli
+  (package
+    (inherit brotli)
+    (name "java-brotli")
+    (build-system ant-build-system)
+    (arguments
+     `(#:jar-name "java-brotli.jar"
+       #:source-dir "java"
+       ;; Tests are mixed in with java sources, the ant build system
+       ;; doesn't allow that
+       #:tests? #f))
+    (native-inputs (list java-junit))))
+
 (define-public ucl
   (package
     (name "ucl")
-- 
2.38.0





  parent reply	other threads:[~2022-10-16  8:50 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-15 21:36 [bug#58553] [PATCH] gnu: josm: Update to 18570 Julien Lepiller
2022-10-15 21:39 ` [bug#58553] [PATCH 1/7] gnu: Add java-brotli Julien Lepiller
2022-10-15 21:39   ` [bug#58553] [PATCH 2/7] gnu: Add java-zstd Julien Lepiller
2022-10-15 21:39   ` [bug#58553] [PATCH 3/7] gnu: Add java-asm-3 Julien Lepiller
2022-10-15 21:39   ` [bug#58553] [PATCH 4/7] gnu: java-commons-compress: Update to 1.21 Julien Lepiller
2022-10-15 21:39   ` [bug#58553] [PATCH 5/7] gnu: java-opening-hours-parser: Update to 0.27.0 Julien Lepiller
2022-10-15 21:39   ` [bug#58553] [PATCH 6/7] gnu: java-commons-jcs: Update to 3.1 Julien Lepiller
2022-10-15 21:39   ` [bug#58553] [PATCH 7/7] gnu: josm: Udpate to 18570 Julien Lepiller
2022-10-16  8:48 ` Julien Lepiller [this message]
2022-10-16  8:48   ` [bug#58553] [PATCH 2/8] gnu: Add java-zstd Julien Lepiller
2022-10-16  8:48   ` [bug#58553] [PATCH 3/8] gnu: Add java-ow-util-ant-tasks Julien Lepiller
2022-10-16  8:48   ` [bug#58553] [PATCH 4/8] gnu: Add java-asm-3 Julien Lepiller
2022-10-16  8:48   ` [bug#58553] [PATCH 5/8] gnu: java-commons-compress: Update to 1.21 Julien Lepiller
2022-10-16  8:48   ` [bug#58553] [PATCH 6/8] gnu: java-opening-hours-parser: Update to 0.27.0 Julien Lepiller
2022-10-16  8:48   ` [bug#58553] [PATCH 7/8] gnu: java-commons-jcs: Update to 3.1 Julien Lepiller
2022-10-16  8:48   ` [bug#58553] [PATCH 8/8] gnu: josm: Udpate to 18570 Julien Lepiller
2022-11-03 14:13     ` bug#58553: " 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=20221016084838.25584-1-julien@lepiller.eu \
    --to=julien@lepiller.eu \
    --cc=58553@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).