Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] (help needed) New package: sbcl-doc-2.1.11
@ 2021-12-28  9:48 HiPhish
  2021-12-28 14:09 ` [PR PATCH] [Updated] " HiPhish
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: HiPhish @ 2021-12-28  9:48 UTC (permalink / raw)
  To: ml

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

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

https://github.com/HiPhish/void-packages sbcl-doc
https://github.com/void-linux/void-packages/pull/34730

(help needed) New package: sbcl-doc-2.1.11
Add the GNU Info manual for SBCL and its accompanying ASDF manual.

This package has an issue: it will install the manual with the `sbcl` package as well. This is due to the fact that the `do_install` function of the `sbcl` package runs `install.sh`, which will install the manual if it is available. There does not seem to be a way of suppressing that behaviour.

I tried to define a custom `do_build` function inside the subpackage, but it appears that it is not being run: 

```sh
sbcl-doc_package() {
	short_desc+=" - documentation"
	do_build() {
		(cd ./doc/manual; make info)
	}
	pkg_install() {
		vmkdir 'usr/share/info'
		vcopy "doc/manual/*.info*" 'usr/share/info'
	}
}
```

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

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sbcl-doc-34730.patch --]
[-- Type: text/x-diff, Size: 1436 bytes --]

From d7111026edf599a2ef508400a1aa2718f5b07d1f Mon Sep 17 00:00:00 2001
From: HiPhish <hiphish@posteo.de>
Date: Tue, 28 Dec 2021 10:15:29 +0100
Subject: [PATCH] New package: sbcl-doc-2.1.11

Add the GNU Info manual for SBCL and its accompanying ASDF manual.
---
 srcpkgs/sbcl-doc      |  1 +
 srcpkgs/sbcl/template | 11 ++++++++++-
 2 files changed, 11 insertions(+), 1 deletion(-)
 create mode 120000 srcpkgs/sbcl-doc

diff --git a/srcpkgs/sbcl-doc b/srcpkgs/sbcl-doc
new file mode 120000
index 000000000000..d6eeb2634b04
--- /dev/null
+++ b/srcpkgs/sbcl-doc
@@ -0,0 +1 @@
+sbcl
\ No newline at end of file
diff --git a/srcpkgs/sbcl/template b/srcpkgs/sbcl/template
index 524d66eb8d05..223cfcd1b628 100644
--- a/srcpkgs/sbcl/template
+++ b/srcpkgs/sbcl/template
@@ -3,7 +3,7 @@ pkgname=sbcl
 version=2.1.11
 revision=1
 archs="i686 x86_64* armv7l aarch64 ppc64le*"
-hostmakedepends="iana-etc"
+hostmakedepends="iana-etc texinfo"
 makedepends="zlib-devel"
 conf_files="/etc/sbclrc"
 short_desc="Steel Bank Common Lisp"
@@ -46,6 +46,7 @@ do_build() {
 	bash make.sh \
 		"$_bootstrap_lisp" \
 		--without-sb-test --with-sb-core-compression --prefix=/usr
+	(cd ./doc/manual; make info)
 }
 
 do_install() {
@@ -64,3 +65,11 @@ sbcl-source_package() {
 		vcopy src usr/lib/sbcl
 	}
 }
+
+sbcl-doc_package() {
+	short_desc+=" - documentation"
+	pkg_install() {
+		vmkdir 'usr/share/info'
+		vcopy "doc/manual/*.info*" 'usr/share/info'
+	}
+}

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2022-01-09 15:27 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-28  9:48 [PR PATCH] (help needed) New package: sbcl-doc-2.1.11 HiPhish
2021-12-28 14:09 ` [PR PATCH] [Updated] " HiPhish
2021-12-28 14:13 ` HiPhish
2021-12-28 20:35 ` Chocimier
2021-12-28 20:36 ` Chocimier
2021-12-28 23:01 ` [PR PATCH] [Updated] " HiPhish
2021-12-28 23:13 ` HiPhish
2021-12-29 23:49 ` Chocimier
2021-12-30 12:04 ` [PR PATCH] [Updated] " HiPhish
2021-12-30 12:06 ` HiPhish
2021-12-30 14:08 ` leahneukirchen
2021-12-30 14:09 ` leahneukirchen
2021-12-30 15:44 ` [PR PATCH] [Updated] " HiPhish
2021-12-30 15:45 ` HiPhish
2021-12-30 15:46 ` HiPhish
2022-01-09 15:19 ` [PR PATCH] [Updated] " HiPhish
2022-01-09 15:19 ` HiPhish
2022-01-09 15:27 ` [PR PATCH] [Merged]: " leahneukirchen

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).