GNU bug report logs - #30886
"LibreOffice digital signature support?"

Previous Next

Package: guix-patches;

Reported by: Thomas Sigurdsen <thomas.sigurdsen <at> gmail.com>

Date: Tue, 20 Mar 2018 17:31:02 UTC

Severity: normal

Tags: moreinfo

Done: zimoun <zimon.toutoune <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 30886 in the body.
You can then email your comments to 30886 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#30886; Package guix-patches. (Tue, 20 Mar 2018 17:31:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Thomas Sigurdsen <thomas.sigurdsen <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 20 Mar 2018 17:31:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Thomas Sigurdsen <thomas.sigurdsen <at> gmail.com>
To: guix-patches <at> gnu.org
Subject: Libreoffice
Date: Tue, 20 Mar 2018 18:28:29 +0100
[Message part 1 (text/plain, inline)]
Here is two patches for libreoffice, both are changes of the configure flags
in the definition.

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 sure NPAPI is
needed for NSS, but it is now enabled as per the old comment.

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.
[0001-The-corresponding-inputs-looks-to-be-packaged-builds.patch (text/x-patch, attachment)]
[0002-Enable-gtk2.patch (text/x-patch, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#30886; Package guix-patches. (Wed, 04 Apr 2018 12:31:01 GMT) Full text and rfc822 format available.

Message #8 received at 30886 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Thomas Sigurdsen <thomas.sigurdsen <at> gmail.com>
Cc: 30886 <at> debbugs.gnu.org
Subject: Re: [bug#30886] Libreoffice
Date: Wed, 04 Apr 2018 14:30:55 +0200
[Message part 1 (text/plain, inline)]
Hello Thomas,

Sorry for the late reply.

Thomas Sigurdsen <thomas.sigurdsen <at> gmail.com> skribis:

> 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 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 <tonton <at> riseup.net>
> 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 <tonton <at> riseup.net>
> ---
>  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"

I suspect this doesn’t have any effect because ‘configure’ complains:

--8<---------------cut here---------------start------------->8---
configure: WARNING: unrecognized options: --enable-fast-install, --enable-verbose, --with-system-npapi-headers
--8<---------------cut here---------------end--------------->8---

Are you sure digital signatures don’t work without this patch?

>>From ac709f4766668030de58b76e5a3a847796c379e5 Mon Sep 17 00:00:00 2001
> From: Tonton <tonton <at> riseup.net>
> 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 <tonton <at> riseup.net>

This is not OK because we’d rather keep using GTK+3.

Could you try the patch below and see if it fixes the FileChooser issue?

Thanks,
Ludo’.

[Message part 2 (text/x-patch, 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)

Information forwarded to guix-patches <at> gnu.org:
bug#30886; Package guix-patches. (Fri, 13 Apr 2018 21:42:01 GMT) Full text and rfc822 format available.

Message #11 received at 30886 <at> debbugs.gnu.org (full text, mbox):

From: Thomas Sigurdsen <thomas.sigurdsen <at> gmail.com>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 30886 <at> debbugs.gnu.org
Subject: Re: [bug#30886] Libreoffice
Date: Fri, 13 Apr 2018 22:58:12 +0200
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/libreoffice/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…" …)


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 <at> gnu.org (Ludovic Courtès) wrote:

> Hello Thomas,
> 
> Sorry for the late reply.
> 
> Thomas Sigurdsen <thomas.sigurdsen <at> gmail.com> skribis:
> 
> > 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 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 <tonton <at> riseup.net>
> > 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 <tonton <at> riseup.net>
> > ---
> >  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"  
> 
> I suspect this doesn’t have any effect because ‘configure’ complains:
> 
> --8<---------------cut here---------------start------------->8---
> configure: WARNING: unrecognized options: --enable-fast-install,
> --enable-verbose, --with-system-npapi-headers --8<---------------cut
> here---------------end--------------->8---
> 
> Are you sure digital signatures don’t work without this patch?
> 
> >>From ac709f4766668030de58b76e5a3a847796c379e5 Mon Sep 17 00:00:00 2001  
> > From: Tonton <tonton <at> riseup.net>
> > 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 <tonton <at> riseup.net>  
> 
> This is not OK because we’d rather keep using GTK+3.
> 
> Could you try the patch below and see if it fixes the FileChooser issue?
> 
> Thanks,
> Ludo’.
> 





Information forwarded to guix-patches <at> gnu.org:
bug#30886; Package guix-patches. (Sat, 14 Apr 2018 10:05:02 GMT) Full text and rfc822 format available.

Message #14 received at 30886 <at> debbugs.gnu.org (full text, mbox):

From: Nils Gillmann <ng0 <at> n0.is>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 30886 <at> debbugs.gnu.org, Thomas Sigurdsen <thomas.sigurdsen <at> gmail.com>
Subject: Re: [bug#30886] Libreoffice
Date: Sat, 14 Apr 2018 10:04:37 +0000
Ludovic Courtès transcribed 3.3K bytes:
> Hello Thomas,
> 
> Sorry for the late reply.
> 
> Thomas Sigurdsen <thomas.sigurdsen <at> gmail.com> skribis:
> 
> > 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 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 <tonton <at> riseup.net>
> > 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 <tonton <at> riseup.net>
> > ---
> >  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"
> 
> I suspect this doesn’t have any effect because ‘configure’ complains:
> 
> --8<---------------cut here---------------start------------->8---
> configure: WARNING: unrecognized options: --enable-fast-install, --enable-verbose, --with-system-npapi-headers
> --8<---------------cut here---------------end--------------->8---
> 
> Are you sure digital signatures don’t work without this patch?
> 
> >>From ac709f4766668030de58b76e5a3a847796c379e5 Mon Sep 17 00:00:00 2001
> > From: Tonton <tonton <at> riseup.net>
> > 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.

A quick workaround which I found some time ago:

Workaround: Libreoffice options > "Libreoffice" > "general" > "Use Libreoffice dialogs".

> > Signed-off-by: Tonton <tonton <at> riseup.net>
> 
> This is not OK because we’d rather keep using GTK+3.
> 
> Could you try the patch below and see if it fixes the FileChooser issue?
> 
> Thanks,
> Ludo’.
> 

> 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)





Information forwarded to guix-patches <at> gnu.org:
bug#30886; Package guix-patches. (Sat, 14 Apr 2018 11:06:02 GMT) Full text and rfc822 format available.

Message #17 received at 30886 <at> debbugs.gnu.org (full text, mbox):

From: Clément Lassieur <clement <at> lassieur.org>
To: Thomas Sigurdsen <thomas.sigurdsen <at> gmail.com>
Cc: Ludovic Courtès <ludo <at> gnu.org>, 30886 <at> debbugs.gnu.org,
 Nils Gillmann <ng0 <at> n0.is>
Subject: Re: [bug#30886] Libreoffice
Date: Sat, 14 Apr 2018 13:05:29 +0200
There was a similar issue some time ago on Icecat, see
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26593

Hope this helps.
Clément




Information forwarded to guix-patches <at> gnu.org:
bug#30886; Package guix-patches. (Tue, 12 Feb 2019 22:57:02 GMT) Full text and rfc822 format available.

Message #20 received at 30886 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Thomas Sigurdsen <thomas.sigurdsen <at> gmail.com>
Cc: 30886 <at> debbugs.gnu.org
Subject: Re: [bug#30886] Libreoffice
Date: Tue, 12 Feb 2019 17:56:10 -0500
[Message part 1 (text/plain, inline)]
On Tue, Mar 20, 2018 at 06:28:29PM +0100, Thomas Sigurdsen wrote:
> 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 sure NPAPI is
> needed for NSS, but it is now enabled as per the old comment.

What is the status of this patch? Do you still want it to be applied? It
seems the conversation just fizzled out.

> 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.

The file chooser dialog issue is fixed since commit
994bccd9443032141accede0e403cbfb62f6c63e.
[signature.asc (application/pgp-signature, inline)]

Changed bug title to '"LibreOffice digital signature support?"' from 'Libreoffice' Request was from Leo Famulari <leo <at> famulari.name> to control <at> debbugs.gnu.org. (Tue, 12 Feb 2019 23:00:02 GMT) Full text and rfc822 format available.

Added tag(s) moreinfo. Request was from Leo Famulari <leo <at> famulari.name> to control <at> debbugs.gnu.org. (Tue, 12 Feb 2019 23:00:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#30886; Package guix-patches. (Fri, 21 Apr 2023 08:22:02 GMT) Full text and rfc822 format available.

Message #27 received at 30886 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 30886 <at> debbugs.gnu.org, Thomas Sigurdsen <thomas.sigurdsen <at> gmail.com>
Subject: Re: bug#30886: "LibreOffice digital signature support?"
Date: Fri, 21 Apr 2023 09:51:35 +0200
Hi,

On Tue, 12 Feb 2019 at 17:56, Leo Famulari <leo <at> famulari.name> wrote:
> On Tue, Mar 20, 2018 at 06:28:29PM +0100, Thomas Sigurdsen wrote:
>> 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 sure NPAPI is
>> needed for NSS, but it is now enabled as per the old comment.
>
> What is the status of this patch? Do you still want it to be applied? It
> seems the conversation just fizzled out.
>
>> 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.
>
> The file chooser dialog issue is fixed since commit
> 994bccd9443032141accede0e403cbfb62f6c63e.

Well, I think this patch #30886 [1] can be closed.  The patches had
been sent on 2018 and improvements mentioned on 2019.

The initial report mentions that the patches are fixing bug #30642 [2]
which had been closed 4 years ago.

Any objection for closing?

1: https://issues.guix.gnu.org/issue/30886
2: https://issues.guix.gnu.org/issue/30642

Cheers,
simon




Reply sent to zimoun <zimon.toutoune <at> gmail.com>:
You have taken responsibility. (Mon, 24 Apr 2023 08:54:05 GMT) Full text and rfc822 format available.

Notification sent to Thomas Sigurdsen <thomas.sigurdsen <at> gmail.com>:
bug acknowledged by developer. (Mon, 24 Apr 2023 08:54:05 GMT) Full text and rfc822 format available.

Message #32 received at 30886-done <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 30886-done <at> debbugs.gnu.org, Thomas Sigurdsen <thomas.sigurdsen <at> gmail.com>
Subject: Re: bug#30886: "LibreOffice digital signature support?"
Date: Mon, 24 Apr 2023 10:26:55 +0200
Hi,

On Fri, 21 Apr 2023 at 09:51, zimoun <zimon.toutoune <at> gmail.com> wrote:

> Any objection for closing?

I am closing.  Feel free to reopen if I missed something.


Cheers,
simon




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 22 May 2023 11:24:14 GMT) Full text and rfc822 format available.

This bug report was last modified 339 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.