* [PR PATCH] [WIP] bwidget: Fix permissions, adopt.
@ 2024-03-16 15:48 Eloitor
2024-03-16 15:49 ` Eloitor
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Eloitor @ 2024-03-16 15:48 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 490 bytes --]
There is a new pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages bwidget
https://github.com/void-linux/void-packages/pull/49319
[WIP] bwidget: Fix permissions, adopt.
#### Testing the changes
- I tested the changes in this PR: **NO**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/49319.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-bwidget-49319.patch --]
[-- Type: text/x-diff, Size: 1211 bytes --]
From 57fe23c98b7bab61750ee79783e48a4116d99b08 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Sat, 16 Mar 2024 16:47:27 +0100
Subject: [PATCH] bwidget: Fix permissions, adopt.
---
srcpkgs/bwidget/template | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/bwidget/template b/srcpkgs/bwidget/template
index d63fe0490130b2..a16e3babf30d5c 100644
--- a/srcpkgs/bwidget/template
+++ b/srcpkgs/bwidget/template
@@ -1,11 +1,11 @@
# Template file for 'bwidget'
pkgname=bwidget
version=1.9.16
-revision=1
+revision=2
makedepends="tk"
depends="tk"
short_desc="Set of extension widgets for Tcl/Tk"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Eloi Torrents <eloitor@duck.com>"
license="TCL"
homepage="https://core.tcl-lang.org/bwidget/home"
distfiles="${SOURCEFORGE_SITE}/tcllib/BWidget/${version}/${pkgname}-${version}.tar.gz"
@@ -16,4 +16,8 @@ do_install() {
vmkdir usr/lib/tcl8.6/BWidget
vcopy "*" usr/lib/tcl8.6/BWidget
+ chmod 644 ${DESTDIR}/usr/lib/tcl8.6/BWidget/*
+ chmod 644 ${DESTDIR}/usr/lib/tcl8.6/BWidget/*/*
+ chmod 644 ${DESTDIR}/usr/lib/tcl8.6/BWidget/*/*
+ chmod 755 ${DESTDIR}/usr/lib/tcl8.6/BWidget/demo/*.tcl
}
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [WIP] bwidget: Fix permissions, adopt.
2024-03-16 15:48 [PR PATCH] [WIP] bwidget: Fix permissions, adopt Eloitor
@ 2024-03-16 15:49 ` Eloitor
2024-03-16 15:51 ` [PR PATCH] [Updated] " Eloitor
2024-03-16 15:53 ` Eloitor
2 siblings, 0 replies; 4+ messages in thread
From: Eloitor @ 2024-03-16 15:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 228 bytes --]
New comment by Eloitor on void-packages repository
https://github.com/void-linux/void-packages/pull/49319#issuecomment-2002026471
Comment:
Currently the user does not have permissions in the folder `/usr/lib/tcl8.6/BWidget/`.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] bwidget: Fix permissions, adopt.
2024-03-16 15:48 [PR PATCH] [WIP] bwidget: Fix permissions, adopt Eloitor
2024-03-16 15:49 ` Eloitor
@ 2024-03-16 15:51 ` Eloitor
2024-03-16 15:53 ` Eloitor
2 siblings, 0 replies; 4+ messages in thread
From: Eloitor @ 2024-03-16 15:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 495 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages bwidget
https://github.com/void-linux/void-packages/pull/49319
[WIP] bwidget: Fix permissions, adopt.
#### Testing the changes
- I tested the changes in this PR: **NO**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/49319.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-bwidget-49319.patch --]
[-- Type: text/x-diff, Size: 1160 bytes --]
From b9b3ea0aca1f9a7b06e303e286960013bc3446d4 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Sat, 16 Mar 2024 16:47:27 +0100
Subject: [PATCH] bwidget: Fix permissions, adopt.
---
srcpkgs/bwidget/template | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/bwidget/template b/srcpkgs/bwidget/template
index d63fe0490130b2..da3ee25958a309 100644
--- a/srcpkgs/bwidget/template
+++ b/srcpkgs/bwidget/template
@@ -1,11 +1,11 @@
# Template file for 'bwidget'
pkgname=bwidget
version=1.9.16
-revision=1
+revision=2
makedepends="tk"
depends="tk"
short_desc="Set of extension widgets for Tcl/Tk"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Eloi Torrents <eloitor@duck.com>"
license="TCL"
homepage="https://core.tcl-lang.org/bwidget/home"
distfiles="${SOURCEFORGE_SITE}/tcllib/BWidget/${version}/${pkgname}-${version}.tar.gz"
@@ -16,4 +16,7 @@ do_install() {
vmkdir usr/lib/tcl8.6/BWidget
vcopy "*" usr/lib/tcl8.6/BWidget
+ chmod 644 ${DESTDIR}/usr/lib/tcl8.6/BWidget/*
+ chmod 644 ${DESTDIR}/usr/lib/tcl8.6/BWidget/*/*
+ chmod 755 ${DESTDIR}/usr/lib/tcl8.6/BWidget/demo/*.tcl
}
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [WIP] bwidget: Fix permissions, adopt.
2024-03-16 15:48 [PR PATCH] [WIP] bwidget: Fix permissions, adopt Eloitor
2024-03-16 15:49 ` Eloitor
2024-03-16 15:51 ` [PR PATCH] [Updated] " Eloitor
@ 2024-03-16 15:53 ` Eloitor
2 siblings, 0 replies; 4+ messages in thread
From: Eloitor @ 2024-03-16 15:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 811 bytes --]
New comment by Eloitor on void-packages repository
https://github.com/void-linux/void-packages/pull/49319#issuecomment-2002027608
Comment:
When I build this package locally I get the following...
```
=> bwidget-1.9.16_2: running do_install ...
chmod: cannot access '/destdir//bwidget-1.9.16/usr/lib/tcl8.6/BWidget/BWman/ArrowButton.html': Permission denied
chmod: cannot access '/destdir//bwidget-1.9.16/usr/lib/tcl8.6/BWidget/BWman/BWidget.html': Permission denied
chmod: cannot access '/destdir//bwidget-1.9.16/usr/lib/tcl8.6/BWidget/BWman/Button.html': Permission denied
chmod: cannot access '/destdir//bwidget-1.9.16/usr/lib/tcl8.6/BWidget/BWman/ButtonBox.html': Permission denied
chmod: cannot access '/destdir//bwidget-1.9.16/usr/lib/tcl8.6/BWidget/BWman/ComboBox.html': Permission denied
```
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-03-16 15:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-16 15:48 [PR PATCH] [WIP] bwidget: Fix permissions, adopt Eloitor
2024-03-16 15:49 ` Eloitor
2024-03-16 15:51 ` [PR PATCH] [Updated] " Eloitor
2024-03-16 15:53 ` Eloitor
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).