Github messages for voidlinux
 help / color / mirror / Atom feed
From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] schilytools: move ved online help out of /usr/share/man
Date: Thu, 30 Mar 2023 23:50:37 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43126@inbox.vuxu.org> (raw)

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

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

https://github.com/classabbyamp/void-packages ved-help
https://github.com/void-linux/void-packages/pull/43126

schilytools: move ved online help out of /usr/share/man
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

cc: @leahneukirchen


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ved-help-43126.patch --]
[-- Type: text/x-diff, Size: 2268 bytes --]

From 81dc124eb4260d7a690e7206b6e4b17f3a4e3f27 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Thu, 30 Mar 2023 17:48:48 -0400
Subject: [PATCH] schilytools: move ved online help out of /usr/share/man

---
 srcpkgs/schilytools/patches/helpfile.patch | 46 ++++++++++++++++++++++
 srcpkgs/schilytools/template               |  2 +-
 2 files changed, 47 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/schilytools/patches/helpfile.patch

diff --git a/srcpkgs/schilytools/patches/helpfile.patch b/srcpkgs/schilytools/patches/helpfile.patch
new file mode 100644
index 000000000000..b53b440fd989
--- /dev/null
+++ b/srcpkgs/schilytools/patches/helpfile.patch
@@ -0,0 +1,46 @@
+don't put the online help in /usr/share/man/help
+
+--- a/ved/ved.h
++++ b/ved/ved.h
+@@ -165,7 +165,7 @@
+ #define	HELPFILE	UC "/doc/cmds/ved.help"
+ #else
+ #define	DEFSHELL	"/bin/sh"
+-#define	HELPFILE	UC "/opt/schily/share/man/help/ved.help"
++#define	HELPFILE	UC "/opt/schily/share/doc/ved/help/ved.help"
+ #endif
+ 
+ /*
+--- a/ved/ved.c
++++ b/ved/ved.c
+@@ -530,7 +530,7 @@
+ 	Uchar	*hfile = HELPFILE;
+ 	Uchar	*name;
+ 
+-	name = _gethelpfile("share/man/help/ved.help");
++	name = _gethelpfile("share/doc/ved/help/ved.help");
+ 	if (name == NULL)
+ 		name = _gethelpfile("man/help/ved.help");
+ 
+--- a/ved/ved.1
++++ b/ved/ved.1
+@@ -3276,7 +3276,7 @@
+ .B ved
+ shell command execute buffer.
+ .TP
+-.B .../man/help/ved.help
++.B .../doc/ved/help/ved.help
+ The on-line help file is assumed to be in the same
+ directory tree as the
+ .B ved
+--- a/ved/Makefile.help
++++ b/ved/Makefile.help
+@@ -7,7 +7,7 @@
+ include		$(SRCROOT)/$(RULESDIR)/rules.top
+ ###########################################################################
+ 
+-INSDIR=		share/man/help
++INSDIR=		share/doc/ved/help
+ TARGET=		ved.help
+ #XMK_FILE=	Makefile.man
+ 
diff --git a/srcpkgs/schilytools/template b/srcpkgs/schilytools/template
index 176318566932..4ff29eb3ee83 100644
--- a/srcpkgs/schilytools/template
+++ b/srcpkgs/schilytools/template
@@ -1,7 +1,7 @@
 # Template file for 'schilytools'
 pkgname=schilytools
 version=2023.01.12
-revision=1
+revision=2
 build_style=meta
 makedepends="acl-devel attr-devel e2fsprogs-devel m4"
 depends="sccs sdd sfind smake star ved"

             reply	other threads:[~2023-03-30 21:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-30 21:50 classabbyamp [this message]
2023-03-30 22:05 ` classabbyamp
2023-04-06 22:56 ` [PR PATCH] [Merged]: " classabbyamp

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-43126@inbox.vuxu.org \
    --to=classabbyamp@users.noreply.github.com \
    --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).