From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rafael Fontenelle Subject: Re: How to build only Guix Manual Date: Mon, 2 Sep 2019 21:37:25 -0300 Message-ID: References: <20190902215757.326904a0@sybil.lepiller.eu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:34851) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i4wpl-0002w2-DI for help-guix@gnu.org; Mon, 02 Sep 2019 20:38:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i4wph-00057e-RB for help-guix@gnu.org; Mon, 02 Sep 2019 20:38:09 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:42959) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i4wph-00057K-Kb for help-guix@gnu.org; Mon, 02 Sep 2019 20:38:05 -0400 Received: by mail-lj1-f195.google.com with SMTP id y23so3150353lje.9 for ; Mon, 02 Sep 2019 17:38:05 -0700 (PDT) Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com. [209.85.167.54]) by smtp.gmail.com with ESMTPSA id i17sm2658527lfj.35.2019.09.02.17.38.03 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 02 Sep 2019 17:38:03 -0700 (PDT) Received: by mail-lf1-f54.google.com with SMTP id j4so11456004lfh.8 for ; Mon, 02 Sep 2019 17:38:03 -0700 (PDT) In-Reply-To: <20190902215757.326904a0@sybil.lepiller.eu> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Julien Lepiller Cc: help-guix@gnu.org Julien, Thanks, it is helping me a lot to fix errors in anchors and references already. But the compilation is not successfully completing because some os-config-* can not found -- indeed, I notice there is no os-config-* in the build tree (no pt_BR neither English one). See output of `make doc/guix.pt_BR.html' (it seems safe to ignore po4a "seems outdated" messages): PO4A doc/contributing.pt_BR.texi Your input po file po/doc/guix-manual.pt_BR.po seems outdated (The amount of entries differ between files: 7994 is not 228 ). Please consider running po4a-updatepo to refresh it. POXREF doc/contributing.pt_BR.texi mv "doc/contributing.pt_BR.texi.tmp" "doc/contributing.pt_BR.texi" PO4A doc/guix.pt_BR.texi Your input po file po/doc/guix-manual.pt_BR.po seems outdated (The amount of entries differ between files: 7994 is not 8055 ). Please consider running po4a-updatepo to refresh it. sed -i "s|guix\.info|$(basename "doc/guix.pt_BR.texi" | sed 's|texi$|info|')|" "doc/guix.pt_BR.texi.tmp" POXREF doc/guix.pt_BR.texi mv "doc/guix.pt_BR.texi.tmp" "doc/guix.pt_BR.texi" Updating ./doc/version-pt_BR.texi MAKEINFO doc/guix.pt_BR.html doc/guix.pt_BR.texi:10287: @include: could not find os-config-bare-bones-pt_BR.texi doc/guix.pt_BR.texi:10422: @include: could not find os-config-desktop-pt_BR= .texi doc/guix.pt_BR.texi:10429: @include: could not find os-config-lightweight-desktop-pt_BR.texi make: *** [Makefile:4228: doc/guix.pt_BR.html] Error 1 Any suggestion? Em seg, 2 de set de 2019 =C3=A0s 17:04, Julien Lepiller escreveu: > > Le Mon, 2 Sep 2019 16:41:22 -0300, > Rafael Fontenelle a =C3=A9crit : > > > Hello, > > > > I'm translating Guix Manual to Brazilian Portuguese, and I want to > > build only the documentation (not the software) in order to test my > > translation. > > > > What I've got so far found: > > 1- doc/build.scm : line 9 : added "pt_BR" to the list of languages > > 2- doc/local.mk : line 21 : added guix.pt_BR.texi to info_TEXINFOS > > 3- doc/local.mk : line 34 : added guix/contributing.pt_BR.texi to > > TRANSLATED_INFO > > 4- po/doc/local.mk: line 58: added "guix-manual.pt_BR.po" to > > DOC_PO_FILES > > > > Is there a way for me to build only the Guix Manual (not the > > software)? > > > > Thanks in advance. > > > > Best regards, > > Rafael Fontenelle > > > > Hi Rafael, > > thanks for taking the time to translate the manual! > > You can build the manual only by configuring the repository. If you are > running guix, you can simply run `guix environment guix` inside your > current git checkout. Otherwise, you will need to install the required > dependencies using your system package manager. > > Then, you can run: > > ./bootstrap > ./configure --localstatedir=3D/var > > and to build only the manual: > > make doc/guix.pt_BR.info > > or > > make doc/guix.pt_BR.html