From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [RFC] xtools: add xtools-live subpackage
Date: Mon, 04 Jul 2022 18:02:43 +0200 [thread overview]
Message-ID: <20220704160243.18pOof_EpcTOc-Ch-psGoLXjIYzjH94Piur8xcsnS4s@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37826@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 849 bytes --]
There is an updated pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages xtools-live
https://github.com/void-linux/void-packages/pull/37826
[RFC] xtools: add xtools-live subpackage
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
- Not too sure about this approach, it's a bit clunky, and leaves non-included tools in the manpage.
- Should the subpackage be named as such or something else?
- is this list of tools a good selection? I took all the ones that aren't related to packaging *and* don't need git (the largest dependency by far)
see also void-linux/void-mklive#255
A patch file from https://github.com/void-linux/void-packages/pull/37826.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-xtools-live-37826.patch --]
[-- Type: text/x-diff, Size: 1910 bytes --]
From 58759cedc7b43ee4193360ea5cb48872cff4e9ab Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sun, 3 Jul 2022 20:35:54 -0400
Subject: [PATCH] xtools: add xtools-minimal subpackage
---
srcpkgs/xtools-minimal | 1 +
srcpkgs/xtools/template | 24 ++++++++++++++++++++++--
2 files changed, 23 insertions(+), 2 deletions(-)
create mode 120000 srcpkgs/xtools-minimal
diff --git a/srcpkgs/xtools-minimal b/srcpkgs/xtools-minimal
new file mode 120000
index 000000000000..2af5852036b4
--- /dev/null
+++ b/srcpkgs/xtools-minimal
@@ -0,0 +1 @@
+xtools
\ No newline at end of file
diff --git a/srcpkgs/xtools/template b/srcpkgs/xtools/template
index 5392fb9a0602..fee3cfda7ef5 100644
--- a/srcpkgs/xtools/template
+++ b/srcpkgs/xtools/template
@@ -1,12 +1,32 @@
# Template file for 'xtools'
pkgname=xtools
version=0.64
-revision=1
+revision=2
build_style=gnu-makefile
-depends="bash curl findutils git make spdx-licenses-list xbps"
+depends="curl git make spdx-licenses-list xbps
+ xtools-minimal-${version}_${revision}"
short_desc="Opinionated helpers for working with XBPS"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Public Domain"
homepage="http://git.vuxu.org/xtools"
distfiles="http://git.vuxu.org/xtools/snapshot/xtools-${version}.tar.gz"
checksum=a49140066744d4aaaf856fb40d92df26d6d3f80b2aa03da1746c513e7eab40be
+
+# all xtools that can function without git installed
+# (git is by far the largest dependency)
+_minimal="xcheckrestart xchroot xclash xdbg xdiff xdistdir xdowngrade
+ xetcchanges xgrep xhog xi xilog xmandoc xls xmksv xnodev xoptdiff xpkg xq xrs
+ xuname xvoidstrap"
+
+xtools-minimal_package() {
+ short_desc+=" - minimal subset"
+ depends="bash findutils xbps"
+ pkg_install() {
+ for tool in $_minimal; do
+ vmove usr/bin/$tool
+ vmove usr/share/man/man1/$tool.1
+ done
+ vmove usr/share/man/man1/xtools.1
+ vmove usr/share/zsh
+ }
+}
next prev parent reply other threads:[~2022-07-04 16:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-04 1:23 [PR PATCH] " classabbyamp
2022-07-04 13:12 ` leahneukirchen
2022-07-04 16:02 ` classabbyamp [this message]
2022-07-04 16:06 ` classabbyamp
2022-07-04 17:26 ` [PR PATCH] [Updated] [RFC] xtools: add xtools-minimal subpackage classabbyamp
2022-07-07 16:01 ` [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=20220704160243.18pOof_EpcTOc-Ch-psGoLXjIYzjH94Piur8xcsnS4s@z \
--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).