* [PR PATCH] mdcat: add mdless symlink
@ 2023-03-27 22:10 classabbyamp
2023-03-27 23:32 ` cinerea0
2023-03-28 0:15 ` [PR PATCH] [Merged]: " classabbyamp
0 siblings, 2 replies; 3+ messages in thread
From: classabbyamp @ 2023-03-27 22:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 593 bytes --]
There is a new pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages mdcat-mdless
https://github.com/void-linux/void-packages/pull/43053
mdcat: add mdless symlink
mdcat has different behaviour if invoked as mdless. other distros package this symlink too.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
cc maintainer @cinerea0
A patch file from https://github.com/void-linux/void-packages/pull/43053.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mdcat-mdless-43053.patch --]
[-- Type: text/x-diff, Size: 899 bytes --]
From 1d4a9d12b4ba5872c54d1ea41393ffae0d1a8bf9 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Mon, 27 Mar 2023 18:08:01 -0400
Subject: [PATCH] mdcat: add mdless symlink
mdcat has different behaviour if invoked as mdless. other distros package this
symlink too.
---
srcpkgs/mdcat/template | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/mdcat/template b/srcpkgs/mdcat/template
index 0df201bcb212..9d01ef361b55 100644
--- a/srcpkgs/mdcat/template
+++ b/srcpkgs/mdcat/template
@@ -1,7 +1,7 @@
# Template file for 'mdcat'
pkgname=mdcat
version=1.0.0
-revision=1
+revision=2
build_style=cargo
hostmakedepends="pkg-config ruby-asciidoctor"
makedepends="openssl-devel"
@@ -30,4 +30,5 @@ post_install() {
man_page=$(find ${wrksrc}/target -name mdcat.1 -print -quit)
vman ${man_page}
+ ln -sf /usr/bin/mdcat ${DESTDIR}/usr/bin/mdless
}
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mdcat: add mdless symlink
2023-03-27 22:10 [PR PATCH] mdcat: add mdless symlink classabbyamp
@ 2023-03-27 23:32 ` cinerea0
2023-03-28 0:15 ` [PR PATCH] [Merged]: " classabbyamp
1 sibling, 0 replies; 3+ messages in thread
From: cinerea0 @ 2023-03-27 23:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 207 bytes --]
New comment by cinerea0 on void-packages repository
https://github.com/void-linux/void-packages/pull/43053#issuecomment-1485996499
Comment:
Nice catch! The change to the template and `mdless` work for me.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Merged]: mdcat: add mdless symlink
2023-03-27 22:10 [PR PATCH] mdcat: add mdless symlink classabbyamp
2023-03-27 23:32 ` cinerea0
@ 2023-03-28 0:15 ` classabbyamp
1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2023-03-28 0:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 427 bytes --]
There's a merged pull request on the void-packages repository
mdcat: add mdless symlink
https://github.com/void-linux/void-packages/pull/43053
Description:
mdcat has different behaviour if invoked as mdless. other distros package this symlink too.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
cc maintainer @cinerea0
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-03-28 0:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-27 22:10 [PR PATCH] mdcat: add mdless symlink classabbyamp
2023-03-27 23:32 ` cinerea0
2023-03-28 0:15 ` [PR PATCH] [Merged]: " classabbyamp
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).