From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 20 13:30:57 2018 Received: (at submit) by debbugs.gnu.org; 20 Mar 2018 17:30:57 +0000 Received: from localhost ([127.0.0.1]:44171 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyL68-0001DJ-V2 for submit@debbugs.gnu.org; Tue, 20 Mar 2018 13:30:57 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyL42-00018Y-OD for submit@debbugs.gnu.org; Tue, 20 Mar 2018 13:28:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eyL3w-0001ub-9i for submit@debbugs.gnu.org; Tue, 20 Mar 2018 13:28:41 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53039) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eyL3w-0001uW-5K for submit@debbugs.gnu.org; Tue, 20 Mar 2018 13:28:40 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49364) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyL3u-0003XP-Nq for guix-patches@gnu.org; Tue, 20 Mar 2018 13:28:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eyL3r-0001oX-K7 for guix-patches@gnu.org; Tue, 20 Mar 2018 13:28:38 -0400 Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]:54860) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eyL3r-0001lc-B4 for guix-patches@gnu.org; Tue, 20 Mar 2018 13:28:35 -0400 Received: by mail-wm0-x231.google.com with SMTP id h76so5010942wme.4 for ; Tue, 20 Mar 2018 10:28:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version; bh=OYPU/aYMF1/nSCMPqzBg58qI0i1tkhEG1YBZDc8DmRc=; b=LqMSZrnWnypIVzA9Cmmb2KUF3pxJXnF5IQ22L1/OjrnDh4bTgvCUq+zhKLYqbp2OIf hmSGqk8dEjhuipahxBYCZTli2aAT+/jKh4v9dIIyt/+2JybK9qCX+2FYaORDSuirLfQU IkCDCAPvSe6OQN27Rp5ilBaSp1ruskzriJ4AAWZwNtPOZEW7ooDoMiANGaIoMTSyE1Es fqsp5TzdyRCWhCmSKJ1YPwCuyx6aVWiD8EPPko4aBWog90xSlrOFKD4MtxOShZe88cor jBNxfSesCDW7fZdB/RKN6D29tcZkXVt7eBt9RZccZ/m4D4Gi0gBrrBT0uwPbvhzSEgfj CjvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version; bh=OYPU/aYMF1/nSCMPqzBg58qI0i1tkhEG1YBZDc8DmRc=; b=Kh+rBUUSKigXyQvubZnrtMnYP+Lg34gPFHjU4XAoVnXhV7zV2CE9xUePQleLlNXPYT tWqia8V6Dt+EuxPmQa1mS4wcimC4L0NAi7ZFDY5WTviNU94nrRBQHCP9D7yEdnX2qTs8 TPVKV8tMHJal9sxMUecMzVw69TELrSOqQrUeYTEvKt9Ke3cani+LsXvYB4UtkZNJyW4e lijVAANvmE5zh3MI+8SM76wezPVatemuD3Cd3fOJJ5LlVySexejN8IP64tw2hT078aDs 2qUtZL5cZSqHixk1guCbG9JRN2RIiG+gGgLBgqsbSRR/NE+mYyDfSgBAF5libBm+IOwv ccWA== X-Gm-Message-State: AElRT7EqP6pF6Q2eyATUrJmfmpbs6ToD/XLqDJ1Od06+qRzPL4qxo7Bf sWtyIxbdLPMDgiadR4WTd28SUNpE X-Google-Smtp-Source: AG47ELs4yuks7JoLB7Zs9dQH2tZdGgMwttXK6SYrMwSAtOwu8ZHcNEh5mgn7onAvEXRYWH5ruICt2A== X-Received: by 10.28.171.131 with SMTP id u125mr346785wme.19.1521566912764; Tue, 20 Mar 2018 10:28:32 -0700 (PDT) Received: from merlin.browniehive.net (93.red-83-45-239.dynamicip.rima-tde.net. [83.45.239.93]) by smtp.gmail.com with ESMTPSA id 140sm2242841wmy.38.2018.03.20.10.28.32 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 20 Mar 2018 10:28:32 -0700 (PDT) Date: Tue, 20 Mar 2018 18:28:29 +0100 From: Thomas Sigurdsen To: guix-patches@gnu.org Subject: Libreoffice Message-ID: <20180320182829.2b5abb89@merlin.browniehive.net> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/k7a+=WrCu0OjgF+5ht/4dyJ" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 20 Mar 2018 13:30:55 -0400 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: -4.0 (----) --MP_/k7a+=WrCu0OjgF+5ht/4dyJ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: 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. --MP_/k7a+=WrCu0OjgF+5ht/4dyJ Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0001-The-corresponding-inputs-looks-to-be-packaged-builds.patch 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, 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" "--disable-coinmp" "--disable-firebird-sdbc" ; embedded firebird "--disable-gltf" -- 2.16.2 --MP_/k7a+=WrCu0OjgF+5ht/4dyJ Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0002-Enable-gtk2.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 --- gnu/packages/libreoffice.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm index 77c83b014..92ff0f3b0 100644 --- a/gnu/packages/libreoffice.scm +++ b/gnu/packages/libreoffice.scm @@ -1035,7 +1035,7 @@ and to return information on pronunciations, meanings and synonyms.") ;; patching the build scripts to work with GCC5. Try enabling this ;; when our default compiler is >=GCC 6. "--disable-pdfium" - "--disable-gtk" ; disable use of GTK+ 2 + "--enable-gtk" "--without-doxygen"))) (home-page "https://www.libreoffice.org/") (synopsis "Office suite") -- 2.16.2 --MP_/k7a+=WrCu0OjgF+5ht/4dyJ--