From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 04 08:31:00 2018 Received: (at 30886) by debbugs.gnu.org; 4 Apr 2018 12:31:00 +0000 Received: from localhost ([127.0.0.1]:37791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f3hZ6-00087M-DT for submit@debbugs.gnu.org; Wed, 04 Apr 2018 08:31:00 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:43186) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f3hZ4-00087E-DI for 30886@debbugs.gnu.org; Wed, 04 Apr 2018 08:30:59 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id CB85B127F0; Wed, 4 Apr 2018 14:30:57 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bdv8ezsEFeuR; Wed, 4 Apr 2018 14:30:56 +0200 (CEST) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 4F3761081A; Wed, 4 Apr 2018 14:30:56 +0200 (CEST) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Thomas Sigurdsen Subject: Re: [bug#30886] Libreoffice References: <20180320182829.2b5abb89@merlin.browniehive.net> Date: Wed, 04 Apr 2018 14:30:55 +0200 In-Reply-To: <20180320182829.2b5abb89@merlin.browniehive.net> (Thomas Sigurdsen's message of "Tue, 20 Mar 2018 18:28:29 +0100") Message-ID: <87efjvcfwg.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 30886 Cc: 30886@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Thomas, Sorry for the late reply. Thomas Sigurdsen skribis: > First is a change according to a comment. I started looking at these beca= use > I wanted to check digital signatures and NSS was needed. Not sure NPAPI is > needed for NSS, but it is now enabled as per the old comment. OK. > Second is enabling gtk2. This fixes bug#30642 for me. I think this is > because I'm not using gnome and therefore libreoffice can't find what it > needs. But Idk. > > Filechooser dialog and digital signatures work with these 2 changes here. > >>From 4623ee9b626efe331dacfc97383d15bd80a9e4f3 Mon Sep 17 00:00:00 2001 > From: Tonton > Date: Tue, 20 Mar 2018 17:23:52 +0100 > Subject: [PATCH 1/2] The corresponding inputs looks to be packaged (builds > succesfully) > > Signed-off-by: Tonton > --- > gnu/packages/libreoffice.scm | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm > index 316602adb..77c83b014 100644 > --- a/gnu/packages/libreoffice.scm > +++ b/gnu/packages/libreoffice.scm > @@ -1027,8 +1027,7 @@ and to return information on pronunciations, meanin= gs and synonyms.") > "--without-fonts" > ;; With java, the build fails since sac.jar is missing. > "--without-java" > - ;; FIXME: Enable once the corresponding inputs are packaged. > - "--without-system-npapi-headers" > + "--with-system-npapi-headers" I suspect this doesn=E2=80=99t have any effect because =E2=80=98configure= =E2=80=99 complains: --8<---------------cut here---------------start------------->8--- configure: WARNING: unrecognized options: --enable-fast-install, --enable-v= erbose, --with-system-npapi-headers --8<---------------cut here---------------end--------------->8--- Are you sure digital signatures don=E2=80=99t work without this patch? >>From ac709f4766668030de58b76e5a3a847796c379e5 Mon Sep 17 00:00:00 2001 > From: Tonton > Date: Tue, 20 Mar 2018 17:24:49 +0100 > Subject: [PATCH 2/2] Enable gtk2 > > Racionale: on systems without gtk2 the openfile dialog makes openoffice > crash. This (enabling gtk2) fixes this. > > Signed-off-by: Tonton This is not OK because we=E2=80=99d rather keep using GTK+3. Could you try the patch below and see if it fixes the FileChooser issue? Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm index ef40e018b..5b8991299 100644 --- a/gnu/packages/libreoffice.scm +++ b/gnu/packages/libreoffice.scm @@ -27,6 +27,7 @@ (define-module (gnu packages libreoffice) #:use-module (guix build-system gnu) + #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system trivial) #:use-module (guix download) #:use-module ((guix licenses) @@ -855,7 +856,7 @@ and to return information on pronunciations, meanings and synonyms.") (sha256 (base32 "0icd8h221gp2dsbn6d35flwhqhcfpx66cjc5dg8yifhhvrfam74i")))) - (build-system gnu-build-system) + (build-system glib-or-gtk-build-system) (native-inputs `(("bison" ,bison) ("cppunit" ,cppunit-1.14) --=-=-=--