From patchwork Sat May 4 22:41:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?QmrDtnJuIEjDtmZsaW5n?= X-Patchwork-Id: 13899 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E5AA516F9C; Sat, 4 May 2019 23:42:17 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 5B8FA16F99 for ; Sat, 4 May 2019 23:42:17 +0100 (BST) Received: from localhost ([127.0.0.1]:33668 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hN3MG-0004Jh-V1 for patchwork@mira.cbaines.net; Sat, 04 May 2019 18:42:16 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58211) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hN3M4-0004CP-0z for guix-patches@gnu.org; Sat, 04 May 2019 18:42:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hN3M2-0001VN-VU for guix-patches@gnu.org; Sat, 04 May 2019 18:42:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39052) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hN3M2-0001VI-So for guix-patches@gnu.org; Sat, 04 May 2019 18:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hN3M2-0007cu-QL for guix-patches@gnu.org; Sat, 04 May 2019 18:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#35570] [PATCH 6/8] gnu: Add java-ecj in version 4.6.3. Resent-From: =?utf-8?b?QmrDtnJuIEjDtmZsaW5n?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 04 May 2019 22:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35570 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 35570@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155700970929288 (code B ref -1); Sat, 04 May 2019 22:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 May 2019 22:41:49 +0000 Received: from localhost ([127.0.0.1]:52595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hN3Lp-0007cK-CG for submit@debbugs.gnu.org; Sat, 04 May 2019 18:41:49 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hN3Ln-0007c7-TF for submit@debbugs.gnu.org; Sat, 04 May 2019 18:41:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:55359) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hN3Li-0000f4-OT for submit@debbugs.gnu.org; Sat, 04 May 2019 18:41:42 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58121) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hN3Lh-00043C-Lj for guix-patches@gnu.org; Sat, 04 May 2019 18:41:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hN3Lg-0000d9-JA for guix-patches@gnu.org; Sat, 04 May 2019 18:41:41 -0400 Received: from m4s11.vlinux.de ([83.151.27.109]:35772 helo=bjoernhoefling.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hN3Lg-0000by-CF for guix-patches@gnu.org; Sat, 04 May 2019 18:41:40 -0400 Received: from alma-ubu (p508AC174.dip0.t-ipconnect.de [80.138.193.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bjoernhoefling.de (Postfix) with ESMTPSA id E78B13F85A for ; Sun, 5 May 2019 00:41:39 +0200 (CEST) Date: Sun, 5 May 2019 00:41:39 +0200 From: =?utf-8?b?QmrDtnJuIEjDtmZsaW5n?= Message-ID: <20190505004139.370990ba@alma-ubu> In-Reply-To: <20190505003450.3bc9058a@alma-ubu> References: <20190505003450.3bc9058a@alma-ubu> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/java.scm (java-ecj): New variable. --- gnu/packages/java.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) (let ((revision 38938) (base-version "14.12.0")) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 3e0198b6aa..df151013fd 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -2363,6 +2363,45 @@ Main-Class: org.eclipse.jdt.internal.compiler.batch.Main\n" (native-inputs `(("unzip" ,unzip))))) +(define-public java-ecj + (package (inherit java-ecj-3) + (version "4.6.3") + (source + (origin + (method url-fetch) + (uri (string-append + "http://archive.eclipse.org/eclipse/downloads/drops4/R-" + version + "-201703010400/ecjsrc-" + version + ".jar")) + (sha256 + (base32 + "11cfgsdgznja1pvlxkjbqykxd7pcd5655vkm7s44xmahmap15gpl")))) + (arguments + `(#:tests? #f ; none included + #:build-target "build" + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-build.xml + (lambda _ + (substitute* "src/build.xml" + (("^.*MANIFEST.*$") + "")) + #t)) + (add-after 'unpack 'fix-prop + (lambda _ + (substitute* "src/build.xml" + (("^.*properties.*$") + " + ")) + #t)) + (add-before 'build 'chdir + (lambda _ + (chdir "src") + #t)) + (replace 'install (install-jars "."))))))) + (define-public java-cisd-base