Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] libreoffice: fix soffice permissions
Date: Fri, 18 Oct 2019 12:07:57 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15587@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 558 bytes --]

There is a new pull request by q66 against master on the void-packages repository

https://github.com/void-ppc/void-packages libreoffice-perms
https://github.com/void-linux/void-packages/pull/15587

libreoffice: fix soffice permissions
This lone file for some reason can have incorrect non-executable permissions after build (it's a shell script). I have seen this on ppc32, but not anywhere else, and I haven't been able to figure out why. Fix it everywhere anyway.

A patch file from https://github.com/void-linux/void-packages/pull/15587.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libreoffice-perms-15587.patch --]
[-- Type: text/x-diff, Size: 1076 bytes --]

From cd702abb9dfcc81154ccbef973a8abe8bad691ed Mon Sep 17 00:00:00 2001
From: q66 <daniel@octaforge.org>
Date: Fri, 18 Oct 2019 12:04:02 +0200
Subject: [PATCH] libreoffice: fix soffice permissions

This lone file for some reason can have incorrect non-executable
permissions after build (it's a shell script). I have seen this
on ppc32, but not anywhere else, and I haven't been able to
figure out why. Fix it everywhere anyway.

[ci skip]
---
 srcpkgs/libreoffice/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/libreoffice/template b/srcpkgs/libreoffice/template
index 6e8685ac0fd..9d09324b59b 100644
--- a/srcpkgs/libreoffice/template
+++ b/srcpkgs/libreoffice/template
@@ -515,6 +515,11 @@ do_configure() {
 do_build() {
 	make ${makejobs} ${make_build_args}
 	make ${makejobs} -C libreofficekit
+
+	# on some platforms (32-bit ppc at least), this single file has
+	# incorrect (non-executable) permissions, so fix it here
+	# only this file is affected and i have no idea why...
+	chmod 755 ${wrksrc}/instdir/program/soffice
 }
 
 do_install() {

             reply	other threads:[~2019-10-18 10:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-18 10:07 voidlinux-github [this message]
2019-10-19 18:39 ` [PR PATCH] [Merged]: " voidlinux-github

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15587@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).