From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miguel Subject: Re: GNU gettext 0.20.1 released Date: Wed, 15 May 2019 03:34:14 +0200 Message-ID: <20190515033415.060a6f18@gmail.com> References: <2958928.Xadj6vqmCY@omega> <87r292vz52.fsf@nckx> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/4VgPphnIDQUNKzTUdH8Ms7Z"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:59187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQioe-0008WI-SV for guix-devel@gnu.org; Tue, 14 May 2019 21:34:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQiod-0004jN-L4 for guix-devel@gnu.org; Tue, 14 May 2019 21:34:44 -0400 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:40616) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hQiod-0004gu-Db for guix-devel@gnu.org; Tue, 14 May 2019 21:34:43 -0400 Received: by mail-wr1-x42d.google.com with SMTP id h4so741134wre.7 for ; Tue, 14 May 2019 18:34:42 -0700 (PDT) In-Reply-To: <87r292vz52.fsf@nckx> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Tobias Geerinckx-Rice Cc: guix-devel , Bruno Haible --Sig_/4VgPphnIDQUNKzTUdH8Ms7Z Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Tobias, Tobias Geerinckx-Rice : > Bruno, >=20 > Wow. Thank you for this great summary! Would that all projects=20 > published such clear (and custom) release notes=E2=80=A6 <3 >=20 > I see that gnu/packages/gettext.scm has a nice chronological list=20 > of copyright lines, which does make it appear as if I'm the=20 > current packager of gettext in Guix. However, the Guix project=20 > doesn't have this notion of (package) maintainer: everyone=20 > packages, fixes, and updates what they can whenever they can.=20 > This might change in future but it works rather well now. >=20 > For that reason, I'm CC'ing the guix-devel@gnu.org list. I=20 > encourage you to add it to your own for future releases. >=20 > I'm having some trouble with the actual upgrade but I'll save that=20 > for a reply. What are the issues you have? I could help with that. :-) I see a big point that need special care: gettext-tools now depends on libtextstyle, so gettext-boot0 will definitely fail if only gettext-minimal is updated to the next version. This is going to be a big big update in any case. We can avoid the new bootstrap, keeping 0.19.8.1 for it, but we should update gettext-minimal so it may not worth the effort as probably almost all the packages will be rebuilt. My snippet for building it is this one, with some code from gettext-minimal and it need some work: -------------------->8-------------------- (define-public gettext-next (package (inherit gettext-minimal) (name "gettext-next") (version "0.20.1") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/gettext/gettext-" version ".tar.gz")) (sha256 (base32 "0p3zwkk27wm2m2ccfqm57nj7vqkmfpn7ja1nf65zmhz8qqs5chb6")))) (inputs `(("xml2" ,libxml2) ;; Avoid dependency cycles ("unistring" ,(@ (gnu packages libunistring) libunistring)) ("ncurses" ,(@ (gnu packages ncurses) ncurses)))) (arguments `(#:configure-flags (list "--with-included-libunistring=3Dno" "--with-included-libxml=3Dno" (string-append "--with-libxml2-prefix=3D" (assoc-ref %build-inputs "xml2")) (string-append "--with-libncurses-prefix=3D" (assoc-ref %build-inputs "ncurses")) (string-append "--with-libtermcap-prefix=3D" (assoc-ref %build-inputs "ncurses")) (string-append "--with-libunistring-prefix=3D" (assoc-ref %build-inputs "unistring"))) #:phases (modify-phases %standard-phases (add-before 'configure 'patch-fixed-paths (lambda* (#:key inputs #:allow-other-keys) (let* ((bash (which "sh"))) (substitute* '("gettext-tools/config.h.in" "gettext-tools/gnulib-tests/init.sh" "gettext-tools/tests/init.sh" "gettext-tools/system-tests/run-test") (("/bin/sh") bash)) (substitute* '("gettext-tools/src/project-id" "gettext-tools/projects/KDE/trigger" "gettext-tools/projects/GNOME/trigger") (("/bin/pwd") "pwd")) #t))) (add-before 'check 'patch-tests (lambda* (#:key inputs #:allow-other-keys) (let* ((bash (which "sh"))) ;; Some of the files we're patching are ;; ISO-8859-1-encoded, so choose it as the default ;; encoding so the byte encoding is preserved. (with-fluids ((%default-port-encoding #f)) (substitute* (find-files "gettext-tools/tests" "^(lang-sh|msg(exec|filter)-[0-9])") (("#![[:blank:]]/bin/sh") (format #f "#!~a" bash))) #t))))) ;; When tests fail, we want to know the details. #:make-flags '("VERBOSE=3Dyes"))))) --------------------8<-------------------- Happy hacking, Miguel --Sig_/4VgPphnIDQUNKzTUdH8Ms7Z Content-Type: application/pgp-signature Content-Description: Firma digital OpenPGP -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQTvTawTGaWpaHEOzWanpo4frMwviAUCXNtslwAKCRCnpo4frMwv iL+BAP437K4BOWAcPQw5bWvrw7szQ195jFTHseSKcHMVIQdH0wD+LVzi1vmFe1wZ d4K4xlOoBWkSfCqK62D1u1goobI18Aw= =asxo -----END PGP SIGNATURE----- --Sig_/4VgPphnIDQUNKzTUdH8Ms7Z--