From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4AABD+gbu17FFAAA0tVLHw (envelope-from ) for ; Tue, 12 May 2020 21:58:00 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id aGJGK/Ybu16wWwAAbx9fmQ (envelope-from ) for ; Tue, 12 May 2020 21:58:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3D5D6940609 for ; Tue, 12 May 2020 21:58:12 +0000 (UTC) Received: from localhost ([::1]:54226 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYcuj-00034j-5O for larch@yhetil.org; Tue, 12 May 2020 17:58:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40882) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYcuZ-000343-PA for guix-devel@gnu.org; Tue, 12 May 2020 17:58:03 -0400 Received: from m4s11.vlinux.de ([83.151.27.109]:58712 helo=bjoernhoefling.de) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYcuY-0007zg-FB for guix-devel@gnu.org; Tue, 12 May 2020 17:58:03 -0400 Received: from alma-ubu (p508ACAB8.dip0.t-ipconnect.de [80.138.202.184]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bjoernhoefling.de (Postfix) with ESMTPSA id 9BC863F9C3; Tue, 12 May 2020 23:57:58 +0200 (CEST) Date: Tue, 12 May 2020 23:57:58 +0200 From: =?UTF-8?B?QmrDtnJuIEjDtmZsaW5n?= To: Michael Zucchi Subject: Re: icu4j, antlr4, source archives without a root path Message-ID: <20200512235758.101cefc3@alma-ubu> In-Reply-To: <5b42ff70-c6e3-e1f5-c1f8-101df1314f96@gmail.com> References: <5b42ff70-c6e3-e1f5-c1f8-101df1314f96@gmail.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/StudDnKqvCm9Zu6o9y9RZPe"; protocol="application/pgp-signature" Received-SPF: none client-ip=83.151.27.109; envelope-from=bjoern.hoefling@bjoernhoefling.de; helo=bjoernhoefling.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/12 17:57:59 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, FROM_EXCESS_BASE64=0.979, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 X-Spam-Score: -0.61 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Scan-Result: default: False [-0.61 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.53964009604973]; DWL_DNSWL_BLOCKED(0.00)[209.51.188.17:from]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.06), country: US(-0.00), ip: 209.51.188.17(-0.54)]; HAS_ATTACHMENT(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; RCPT_COUNT_TWO(0.00)[2]; MAILLIST(-0.20)[mailman]; FREEMAIL_TO(0.00)[gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[80.138.202.184:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:+,4:~]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; URIBL_BLOCKED(0.00)[icu-project.org:url,elephly.net:email,fastmail.com:email,bjoernhoefling.de:email]; FROM_HAS_DN(0.00)[]; FROM_NEQ_ENVFROM(0.00)[bjoern.hoefling@bjoernhoefling.de,guix-devel-bounces@gnu.org]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain,text/x-patch]; DMARC_NA(0.00)[bjoernhoefling.de]; HAS_LIST_UNSUB(-0.01)[]; DNSWL_BLOCKED(0.00)[209.51.188.17:from]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.51.188.17:from]; MID_RHS_NOT_FQDN(0.50)[]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: tMBPrZ7eDnS8 --Sig_/StudDnKqvCm9Zu6o9y9RZPe Content-Type: multipart/mixed; boundary="MP_/8Kv7Whi8mV_zQLot=3BtCM5" --MP_/8Kv7Whi8mV_zQLot=3BtCM5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Michael, what is the central message of your email? Is it just to say "I gave up, sorry", or do you need help at specific points? :-) At least I can tell you that I have quite a bunch of work-in-progress branches lying around because I start with "Oh, let's _just_ update/fix/add this little program ..." and you end up in a chain of needed updates, conflicting updates, broken states, etc. Don't get confused by this :-) I try to plan my work step by step in these situations, cleanly commit what's finished and write a personal log of the success and failures and intermediate knowledge gained. To the concrete java-icu4j: What do you think about the attached patch (needs some clean-up)? What's a bit uncommon about the project is that it builds separate sub-projects and then combines them. I'm not sure about the output(s): There are icu4j.jar, icu4j-charset.jar and icu4j-localespi.jar, I only copied the first one as I think this is what the original package definition did. Bj=C3=B6rn --MP_/8Kv7Whi8mV_zQLot=3BtCM5 Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=0001-gnu-java-icu4c-Update-to-66.1-use-full-sources.patch =46rom 85516c2319a94f1e4b22954efd32f489d7d3925e Mon Sep 17 00:00:00 2001 From: =3D?UTF-8?q?Bj=3DC3=3DB6rn=3D20H=3DC3=3DB6fling?=3D Date: Tue, 12 May 2020 20:27:59 +0200 Subject: [PATCH] gnu: java-icu4c: Update to 66.1, use full sources. * gnu/packages/icu4c.scm (java-icu4c): Update to 66.1. [source]: Use full sources instead of jar-sources. [arguments]: Add chdir phase, replace install phase. --- gnu/packages/icu4c.scm | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/gnu/packages/icu4c.scm b/gnu/packages/icu4c.scm index cf76c6fe20..ccced11f81 100644 --- a/gnu/packages/icu4c.scm +++ b/gnu/packages/icu4c.scm @@ -6,6 +6,7 @@ ;;; Copyright =C2=A9 2017 Ricardo Wurmus ;;; Copyright =C2=A9 2019, 2020 Marius Bakke ;;; Copyright =C2=A9 2019 Mathieu Othacehe +;;; Copyright =C2=A9 2020 Bj=C3=B6rn H=C3=B6fling ;;; ;;; This file is part of GNU Guix. ;;; @@ -117,22 +118,33 @@ C/C++ part.") (define-public java-icu4j (package (name "java-icu4j") - (version "59.1") + (version "66.1") (source (origin (method url-fetch) - (uri (string-append "http://download.icu-project.org/files/i= cu4j/" - version "/icu4j-" - (string-map (lambda (x) - (if (char=3D? x #\.) #\_ x= )) - version) - "-src.jar")) + (uri (string-append + "https://github.com/unicode-org/icu/releases/download/= release-" + (string-map (lambda (x) (if (char=3D? x #\.) #\- x)) v= ersion) + "/icu4j-" + (string-map (lambda (x) (if (char=3D? x #\.) #\_ x)) v= ersion) + ".tgz")) (sha256 - (base32 - "0bgxsvgi0qcwj60pvcxrf7a3fbk7aksyxnfwpbzavyfrfzixqh0c")))) + (base32 "1ahdyz9209lwl7knb2l3gmnkkby221p0vpgx70fj4j02rdzgvw= 0d")))) (build-system ant-build-system) (arguments `(#:tests? #f ; no tests included - #:jar-name "icu4j.jar")) + #:phases + (modify-phases %standard-phases + (add-before 'configure 'chdir + (lambda _ + (chdir "..") + #t)) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((share (string-append (assoc-ref outputs "out") + "/share/java/"))) + (mkdir-p share) + (install-file "icu4j.jar" share) + #t)))))) (home-page "http://site.icu-project.org/") (synopsis "International Components for Unicode") (description --=20 2.26.2 --MP_/8Kv7Whi8mV_zQLot=3BtCM5-- --Sig_/StudDnKqvCm9Zu6o9y9RZPe Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iF0EAREKAB0WIQQiGUP0np8nb5SZM4K/KGy2WT5f/QUCXrsb5gAKCRC/KGy2WT5f /Wp/AKCKtZNukWpGeCYgssV0CLtfC63Z9ACguiiSP42CUMBzlG3IO/1+AHesa0g= =TLKG -----END PGP SIGNATURE----- --Sig_/StudDnKqvCm9Zu6o9y9RZPe--