From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48645) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f76SM-0001GT-80 for guix-patches@gnu.org; Fri, 13 Apr 2018 17:42:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f76SI-00086c-4D for guix-patches@gnu.org; Fri, 13 Apr 2018 17:42:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:43126) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f76SH-00086K-Vz for guix-patches@gnu.org; Fri, 13 Apr 2018 17:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f76SH-000336-NZ for guix-patches@gnu.org; Fri, 13 Apr 2018 17:42:01 -0400 Subject: [bug#30886] Libreoffice Resent-Message-ID: Date: Fri, 13 Apr 2018 22:58:12 +0200 From: Thomas Sigurdsen Message-ID: <20180413225812.303a39d3@merlin.browniehive.net> In-Reply-To: <87efjvcfwg.fsf@gnu.org> References: <20180320182829.2b5abb89@merlin.browniehive.net> <87efjvcfwg.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 30886@debbugs.gnu.org Hi, Seems this issue is a slow back and forth thing :) I applied the patch and built it. The build fails before finishing with a scheme backtrace. At first I thought it didn't finish anything, but it seems to have finished building libreoffice because I get: ------- Installation finished, you can now execute: /gnu/store/hf2a8f4rca9dvw1s6ffcsrbcsp39aj83-libreoffice-5.4.6.2/lib/libreof= fice/program/soffice ------ And then the most important part of the error after (I think): ------ phase `install' succeeded after 27.2 seconds starting phase `bin-and-desktop-install' Backtrace: ------ The backtrace points to trying to copy a file that might exist... the following path exists in /tmp/guix-build-...libreoffice..../ - but ofcourse, the whole path is not in the backtrace: 0 (copy-file "sysui/desktop/appstream-appdata/libreoffic=E2=80=A6" =E2=80= =A6) But, I can run the generated binary from the store. And the filechooser dialog still causes libreoffice to crash: "(soffice:9332): GLib-GIO-ERROR **: Settings schema 'org.gtk.Settings.FileChooser' is not installed " On Wed, 04 Apr 2018 14:30:55 +0200 ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > Hello Thomas, >=20 > Sorry for the late reply. >=20 > Thomas Sigurdsen skribis: >=20 > > First is a change according to a comment. I started looking at these > > because I wanted to check digital signatures and NSS was needed. Not su= re > > NPAPI is needed for NSS, but it is now enabled as per the old comment. = =20 >=20 > OK. >=20 > > 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 her= e. > > =20 > >>From 4623ee9b626efe331dacfc97383d15bd80a9e4f3 Mon Sep 17 00:00:00 2001 = =20 > > From: Tonton > > Date: Tue, 20 Mar 2018 17:23:52 +0100 > > Subject: [PATCH 1/2] The corresponding inputs looks to be packaged (bui= lds > > 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, > > meanings 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" =20 >=20 > I suspect this doesn=E2=80=99t have any effect because =E2=80=98configure= =E2=80=99 complains: >=20 > --8<---------------cut here---------------start------------->8--- > configure: WARNING: unrecognized options: --enable-fast-install, > --enable-verbose, --with-system-npapi-headers --8<---------------cut > here---------------end--------------->8--- >=20 > Are you sure digital signatures don=E2=80=99t work without this patch? >=20 > >>From ac709f4766668030de58b76e5a3a847796c379e5 Mon Sep 17 00:00:00 2001 = =20 > > 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 =20 >=20 > This is not OK because we=E2=80=99d rather keep using GTK+3. >=20 > Could you try the patch below and see if it fixes the FileChooser issue? >=20 > Thanks, > Ludo=E2=80=99. >=20