[-- Attachment #1: Type: text/plain, Size: 1064 bytes --] There is a new pull request by basicfunc against master on the void-packages repository https://github.com/basicfunc/void-packages master https://github.com/void-linux/void-packages/pull/35305 Added template for mold. #### 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** <!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration) and test at least one native build and, if supported, at least one cross build. Ignore this section if this PR is not skipping CI. --> #### Local build testing - I built this PR locally for my native architecture, (x86_64-glibc) - I built this PR locally for these architectures (if supported. mark crossbuilds): - i686 A patch file from https://github.com/void-linux/void-packages/pull/35305.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-master-35305.patch --] [-- Type: text/x-diff, Size: 968 bytes --] From 59e9382230f81140f1a1a434e46222394bb63e15 Mon Sep 17 00:00:00 2001 From: Rahul <basicfunc@gmail.com> Date: Sun, 30 Jan 2022 11:07:40 +0530 Subject: [PATCH] Added template for mold. --- srcpkgs/mold/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/mold/template diff --git a/srcpkgs/mold/template b/srcpkgs/mold/template new file mode 100644 index 000000000000..e843aae14fbc --- /dev/null +++ b/srcpkgs/mold/template @@ -0,0 +1,14 @@ +# Template file for 'mold' +pkgname=mold +version=1.0.2 +revision=1 +archs="i686 x86_64" +build_style=gnu-makefile +hostmakedepends="cmake pkg-config" +makedepends="libstdc++-devel openssl-devel zlib-devel" +short_desc="A Modern Linker." +maintainer="Rahul <basicfunc@gmail.com>" +license="AGPL-3.0-only" +homepage="https://github.com/rui314/mold" +distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz" +checksum=1a5c4779d10c6c81d21092ea776504f51e6a4994121f536550c60a8e7bb6a028
[-- Attachment #1: Type: text/plain, Size: 1069 bytes --] There is an updated pull request by basicfunc against master on the void-packages repository https://github.com/basicfunc/void-packages master https://github.com/void-linux/void-packages/pull/35305 Added template for mold. #### 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** <!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration) and test at least one native build and, if supported, at least one cross build. Ignore this section if this PR is not skipping CI. --> #### Local build testing - I built this PR locally for my native architecture, (x86_64-glibc) - I built this PR locally for these architectures (if supported. mark crossbuilds): - i686 A patch file from https://github.com/void-linux/void-packages/pull/35305.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-master-35305.patch --] [-- Type: text/x-diff, Size: 968 bytes --] From 59e9382230f81140f1a1a434e46222394bb63e15 Mon Sep 17 00:00:00 2001 From: Rahul <basicfunc@gmail.com> Date: Sun, 30 Jan 2022 11:07:40 +0530 Subject: [PATCH] Added template for mold. --- srcpkgs/mold/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/mold/template diff --git a/srcpkgs/mold/template b/srcpkgs/mold/template new file mode 100644 index 000000000000..e843aae14fbc --- /dev/null +++ b/srcpkgs/mold/template @@ -0,0 +1,14 @@ +# Template file for 'mold' +pkgname=mold +version=1.0.2 +revision=1 +archs="i686 x86_64" +build_style=gnu-makefile +hostmakedepends="cmake pkg-config" +makedepends="libstdc++-devel openssl-devel zlib-devel" +short_desc="A Modern Linker." +maintainer="Rahul <basicfunc@gmail.com>" +license="AGPL-3.0-only" +homepage="https://github.com/rui314/mold" +distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz" +checksum=1a5c4779d10c6c81d21092ea776504f51e6a4994121f536550c60a8e7bb6a028
[-- Attachment #1: Type: text/plain, Size: 386 bytes --] New comment by kawaiiamber on void-packages repository https://github.com/void-linux/void-packages/pull/35305#issuecomment-1027734440 Comment: Commit message and PR message should be `New Package: mold-1.0.2`. Squash the two commits to one - one commit per package. If [this](https://www.reddit.com/r/voidlinux/comments/siek3g/xbpssrc_help/) is you, could you include full error log?
[-- Attachment #1: Type: text/plain, Size: 265 bytes --] New review comment by kawaiiamber on void-packages repository https://github.com/void-linux/void-packages/pull/35305#discussion_r797409676 Comment: Why limit the archs? I've built mold locally on an x86_64-musl arch. You can test build local archs with xbps-src.
[-- Attachment #1: Type: text/plain, Size: 238 bytes --] New review comment by kawaiiamber on void-packages repository https://github.com/void-linux/void-packages/pull/35305#discussion_r797410123 Comment: short_desc shouldn't start with an article (a, an, the) and shouldn't end with a period
[-- Attachment #1: Type: text/plain, Size: 348 bytes --] New comment by kawaiiamber on void-packages repository https://github.com/void-linux/void-packages/pull/35305#issuecomment-1027744934 Comment: If the `do_check` is failing (according to the reddit post), you could override `do_check()` to run true. Though, still interested in why it's failing - full error log. ``` do_check() { : } ```
[-- Attachment #1: Type: text/plain, Size: 231 bytes --] New comment by kawaiiamber on void-packages repository https://github.com/void-linux/void-packages/pull/35305#issuecomment-1027751898 Comment: For `AGPL-3.0-only` license, add ``` post_install() { vlicense LICENSE } ```
[-- Attachment #1: Type: text/plain, Size: 378 bytes --] New review comment by kawaiiamber on void-packages repository https://github.com/void-linux/void-packages/pull/35305#discussion_r797409676 Comment: ~~Why limit the archs? I've built mold locally on an x86_64-musl arch. You can test build local archs with xbps-src.~~ I tested on latest master branch. 1.0.3 does fail on musl arch. Which, version 1.0.3 is out, why yse 1.0.2?
[-- Attachment #1: Type: text/plain, Size: 315 bytes --] New comment by basicfunc on void-packages repository https://github.com/void-linux/void-packages/pull/35305#issuecomment-1027960652 Comment: Thanks @kawaiiamber. Yes I'm the same guy from reddit. Should I close this PR as [one another](https://github.com/void-linux/void-packages/pull/35337) is open with v1.0.3?
[-- Attachment #1: Type: text/plain, Size: 169 bytes --] New review comment by basicfunc on void-packages repository https://github.com/void-linux/void-packages/pull/35305#discussion_r797626142 Comment: I'll keep it in mind
[-- Attachment #1: Type: text/plain, Size: 169 bytes --] New review comment by basicfunc on void-packages repository https://github.com/void-linux/void-packages/pull/35305#discussion_r797626929 Comment: I forgot it. Sorry
[-- Attachment #1: Type: text/plain, Size: 1069 bytes --] There is an updated pull request by basicfunc against master on the void-packages repository https://github.com/basicfunc/void-packages master https://github.com/void-linux/void-packages/pull/35305 Added template for mold. #### 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** <!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration) and test at least one native build and, if supported, at least one cross build. Ignore this section if this PR is not skipping CI. --> #### Local build testing - I built this PR locally for my native architecture, (x86_64-glibc) - I built this PR locally for these architectures (if supported. mark crossbuilds): - i686 A patch file from https://github.com/void-linux/void-packages/pull/35305.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-master-35305.patch --] [-- Type: text/x-diff, Size: 2122 bytes --] From 59e9382230f81140f1a1a434e46222394bb63e15 Mon Sep 17 00:00:00 2001 From: Rahul <basicfunc@gmail.com> Date: Sun, 30 Jan 2022 11:07:40 +0530 Subject: [PATCH 1/2] Added template for mold. --- srcpkgs/mold/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/mold/template diff --git a/srcpkgs/mold/template b/srcpkgs/mold/template new file mode 100644 index 000000000000..e843aae14fbc --- /dev/null +++ b/srcpkgs/mold/template @@ -0,0 +1,14 @@ +# Template file for 'mold' +pkgname=mold +version=1.0.2 +revision=1 +archs="i686 x86_64" +build_style=gnu-makefile +hostmakedepends="cmake pkg-config" +makedepends="libstdc++-devel openssl-devel zlib-devel" +short_desc="A Modern Linker." +maintainer="Rahul <basicfunc@gmail.com>" +license="AGPL-3.0-only" +homepage="https://github.com/rui314/mold" +distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz" +checksum=1a5c4779d10c6c81d21092ea776504f51e6a4994121f536550c60a8e7bb6a028 From 298c7d3659ca3d91ffcfa1ca0e3c8769f56bbb29 Mon Sep 17 00:00:00 2001 From: Rahul <basicfunc@gmail.com> Date: Wed, 2 Feb 2022 19:30:17 +0530 Subject: [PATCH 2/2] Updated version for mold and fixed template issues. --- srcpkgs/mold/template | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/srcpkgs/mold/template b/srcpkgs/mold/template index e843aae14fbc..60b8f826963d 100644 --- a/srcpkgs/mold/template +++ b/srcpkgs/mold/template @@ -1,14 +1,22 @@ # Template file for 'mold' pkgname=mold -version=1.0.2 +version=1.0.3 revision=1 -archs="i686 x86_64" +archs="aarch64 i686 x86_64" build_style=gnu-makefile hostmakedepends="cmake pkg-config" makedepends="libstdc++-devel openssl-devel zlib-devel" -short_desc="A Modern Linker." +short_desc="Fast drop-in replacement for existing Unix linkers" maintainer="Rahul <basicfunc@gmail.com>" license="AGPL-3.0-only" homepage="https://github.com/rui314/mold" distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz" checksum=1a5c4779d10c6c81d21092ea776504f51e6a4994121f536550c60a8e7bb6a028 + +do_check(){ + : +} + +post_install() { + vlicense LICENSE +}
[-- Attachment #1: Type: text/plain, Size: 1069 bytes --] There is an updated pull request by basicfunc against master on the void-packages repository https://github.com/basicfunc/void-packages master https://github.com/void-linux/void-packages/pull/35305 Added template for mold. #### 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** <!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration) and test at least one native build and, if supported, at least one cross build. Ignore this section if this PR is not skipping CI. --> #### Local build testing - I built this PR locally for my native architecture, (x86_64-glibc) - I built this PR locally for these architectures (if supported. mark crossbuilds): - i686 A patch file from https://github.com/void-linux/void-packages/pull/35305.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-master-35305.patch --] [-- Type: text/x-diff, Size: 2122 bytes --] From 59e9382230f81140f1a1a434e46222394bb63e15 Mon Sep 17 00:00:00 2001 From: Rahul <basicfunc@gmail.com> Date: Sun, 30 Jan 2022 11:07:40 +0530 Subject: [PATCH 1/2] Added template for mold. --- srcpkgs/mold/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/mold/template diff --git a/srcpkgs/mold/template b/srcpkgs/mold/template new file mode 100644 index 000000000000..e843aae14fbc --- /dev/null +++ b/srcpkgs/mold/template @@ -0,0 +1,14 @@ +# Template file for 'mold' +pkgname=mold +version=1.0.2 +revision=1 +archs="i686 x86_64" +build_style=gnu-makefile +hostmakedepends="cmake pkg-config" +makedepends="libstdc++-devel openssl-devel zlib-devel" +short_desc="A Modern Linker." +maintainer="Rahul <basicfunc@gmail.com>" +license="AGPL-3.0-only" +homepage="https://github.com/rui314/mold" +distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz" +checksum=1a5c4779d10c6c81d21092ea776504f51e6a4994121f536550c60a8e7bb6a028 From 298c7d3659ca3d91ffcfa1ca0e3c8769f56bbb29 Mon Sep 17 00:00:00 2001 From: Rahul <basicfunc@gmail.com> Date: Wed, 2 Feb 2022 19:30:17 +0530 Subject: [PATCH 2/2] Updated version for mold and fixed template issues. --- srcpkgs/mold/template | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/srcpkgs/mold/template b/srcpkgs/mold/template index e843aae14fbc..60b8f826963d 100644 --- a/srcpkgs/mold/template +++ b/srcpkgs/mold/template @@ -1,14 +1,22 @@ # Template file for 'mold' pkgname=mold -version=1.0.2 +version=1.0.3 revision=1 -archs="i686 x86_64" +archs="aarch64 i686 x86_64" build_style=gnu-makefile hostmakedepends="cmake pkg-config" makedepends="libstdc++-devel openssl-devel zlib-devel" -short_desc="A Modern Linker." +short_desc="Fast drop-in replacement for existing Unix linkers" maintainer="Rahul <basicfunc@gmail.com>" license="AGPL-3.0-only" homepage="https://github.com/rui314/mold" distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz" checksum=1a5c4779d10c6c81d21092ea776504f51e6a4994121f536550c60a8e7bb6a028 + +do_check(){ + : +} + +post_install() { + vlicense LICENSE +}
[-- Attachment #1: Type: text/plain, Size: 1069 bytes --] There is an updated pull request by basicfunc against master on the void-packages repository https://github.com/basicfunc/void-packages master https://github.com/void-linux/void-packages/pull/35305 Added template for mold. #### 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** <!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration) and test at least one native build and, if supported, at least one cross build. Ignore this section if this PR is not skipping CI. --> #### Local build testing - I built this PR locally for my native architecture, (x86_64-glibc) - I built this PR locally for these architectures (if supported. mark crossbuilds): - i686 A patch file from https://github.com/void-linux/void-packages/pull/35305.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-master-35305.patch --] [-- Type: text/x-diff, Size: 2807 bytes --] From 59e9382230f81140f1a1a434e46222394bb63e15 Mon Sep 17 00:00:00 2001 From: Rahul <basicfunc@gmail.com> Date: Sun, 30 Jan 2022 11:07:40 +0530 Subject: [PATCH 1/3] Added template for mold. --- srcpkgs/mold/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/mold/template diff --git a/srcpkgs/mold/template b/srcpkgs/mold/template new file mode 100644 index 000000000000..e843aae14fbc --- /dev/null +++ b/srcpkgs/mold/template @@ -0,0 +1,14 @@ +# Template file for 'mold' +pkgname=mold +version=1.0.2 +revision=1 +archs="i686 x86_64" +build_style=gnu-makefile +hostmakedepends="cmake pkg-config" +makedepends="libstdc++-devel openssl-devel zlib-devel" +short_desc="A Modern Linker." +maintainer="Rahul <basicfunc@gmail.com>" +license="AGPL-3.0-only" +homepage="https://github.com/rui314/mold" +distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz" +checksum=1a5c4779d10c6c81d21092ea776504f51e6a4994121f536550c60a8e7bb6a028 From 298c7d3659ca3d91ffcfa1ca0e3c8769f56bbb29 Mon Sep 17 00:00:00 2001 From: Rahul <basicfunc@gmail.com> Date: Wed, 2 Feb 2022 19:30:17 +0530 Subject: [PATCH 2/3] Updated version for mold and fixed template issues. --- srcpkgs/mold/template | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/srcpkgs/mold/template b/srcpkgs/mold/template index e843aae14fbc..60b8f826963d 100644 --- a/srcpkgs/mold/template +++ b/srcpkgs/mold/template @@ -1,14 +1,22 @@ # Template file for 'mold' pkgname=mold -version=1.0.2 +version=1.0.3 revision=1 -archs="i686 x86_64" +archs="aarch64 i686 x86_64" build_style=gnu-makefile hostmakedepends="cmake pkg-config" makedepends="libstdc++-devel openssl-devel zlib-devel" -short_desc="A Modern Linker." +short_desc="Fast drop-in replacement for existing Unix linkers" maintainer="Rahul <basicfunc@gmail.com>" license="AGPL-3.0-only" homepage="https://github.com/rui314/mold" distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz" checksum=1a5c4779d10c6c81d21092ea776504f51e6a4994121f536550c60a8e7bb6a028 + +do_check(){ + : +} + +post_install() { + vlicense LICENSE +} From cf6b50a2904712df014b66f9593fad80ddbc52e3 Mon Sep 17 00:00:00 2001 From: Rahul <basicfunc@gmail.com> Date: Wed, 2 Feb 2022 19:35:42 +0530 Subject: [PATCH 3/3] Added musl architecture. --- srcpkgs/mold/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/mold/template b/srcpkgs/mold/template index 60b8f826963d..a78c49c82e7d 100644 --- a/srcpkgs/mold/template +++ b/srcpkgs/mold/template @@ -2,7 +2,7 @@ pkgname=mold version=1.0.3 revision=1 -archs="aarch64 i686 x86_64" +archs="aarch64 i686 x86_64 aarch64-musl x86_64-musl" build_style=gnu-makefile hostmakedepends="cmake pkg-config" makedepends="libstdc++-devel openssl-devel zlib-devel"
[-- Attachment #1: Type: text/plain, Size: 1069 bytes --] There is an updated pull request by basicfunc against master on the void-packages repository https://github.com/basicfunc/void-packages master https://github.com/void-linux/void-packages/pull/35305 Added template for mold. #### 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** <!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration) and test at least one native build and, if supported, at least one cross build. Ignore this section if this PR is not skipping CI. --> #### Local build testing - I built this PR locally for my native architecture, (x86_64-glibc) - I built this PR locally for these architectures (if supported. mark crossbuilds): - i686 A patch file from https://github.com/void-linux/void-packages/pull/35305.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-master-35305.patch --] [-- Type: text/x-diff, Size: 3600 bytes --] From 59e9382230f81140f1a1a434e46222394bb63e15 Mon Sep 17 00:00:00 2001 From: Rahul <basicfunc@gmail.com> Date: Sun, 30 Jan 2022 11:07:40 +0530 Subject: [PATCH 1/4] Added template for mold. --- srcpkgs/mold/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/mold/template diff --git a/srcpkgs/mold/template b/srcpkgs/mold/template new file mode 100644 index 000000000000..e843aae14fbc --- /dev/null +++ b/srcpkgs/mold/template @@ -0,0 +1,14 @@ +# Template file for 'mold' +pkgname=mold +version=1.0.2 +revision=1 +archs="i686 x86_64" +build_style=gnu-makefile +hostmakedepends="cmake pkg-config" +makedepends="libstdc++-devel openssl-devel zlib-devel" +short_desc="A Modern Linker." +maintainer="Rahul <basicfunc@gmail.com>" +license="AGPL-3.0-only" +homepage="https://github.com/rui314/mold" +distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz" +checksum=1a5c4779d10c6c81d21092ea776504f51e6a4994121f536550c60a8e7bb6a028 From 298c7d3659ca3d91ffcfa1ca0e3c8769f56bbb29 Mon Sep 17 00:00:00 2001 From: Rahul <basicfunc@gmail.com> Date: Wed, 2 Feb 2022 19:30:17 +0530 Subject: [PATCH 2/4] Updated version for mold and fixed template issues. --- srcpkgs/mold/template | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/srcpkgs/mold/template b/srcpkgs/mold/template index e843aae14fbc..60b8f826963d 100644 --- a/srcpkgs/mold/template +++ b/srcpkgs/mold/template @@ -1,14 +1,22 @@ # Template file for 'mold' pkgname=mold -version=1.0.2 +version=1.0.3 revision=1 -archs="i686 x86_64" +archs="aarch64 i686 x86_64" build_style=gnu-makefile hostmakedepends="cmake pkg-config" makedepends="libstdc++-devel openssl-devel zlib-devel" -short_desc="A Modern Linker." +short_desc="Fast drop-in replacement for existing Unix linkers" maintainer="Rahul <basicfunc@gmail.com>" license="AGPL-3.0-only" homepage="https://github.com/rui314/mold" distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz" checksum=1a5c4779d10c6c81d21092ea776504f51e6a4994121f536550c60a8e7bb6a028 + +do_check(){ + : +} + +post_install() { + vlicense LICENSE +} From cf6b50a2904712df014b66f9593fad80ddbc52e3 Mon Sep 17 00:00:00 2001 From: Rahul <basicfunc@gmail.com> Date: Wed, 2 Feb 2022 19:35:42 +0530 Subject: [PATCH 3/4] Added musl architecture. --- srcpkgs/mold/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/mold/template b/srcpkgs/mold/template index 60b8f826963d..a78c49c82e7d 100644 --- a/srcpkgs/mold/template +++ b/srcpkgs/mold/template @@ -2,7 +2,7 @@ pkgname=mold version=1.0.3 revision=1 -archs="aarch64 i686 x86_64" +archs="aarch64 i686 x86_64 aarch64-musl x86_64-musl" build_style=gnu-makefile hostmakedepends="cmake pkg-config" makedepends="libstdc++-devel openssl-devel zlib-devel" From 2407dac7d5d30a60e96ed4d26637727128ed7588 Mon Sep 17 00:00:00 2001 From: Rahul <basicfunc@gmail.com> Date: Wed, 2 Feb 2022 21:45:26 +0530 Subject: [PATCH 4/4] Updated checksum for mold --- srcpkgs/mold/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/mold/template b/srcpkgs/mold/template index a78c49c82e7d..577b2b8ccf3a 100644 --- a/srcpkgs/mold/template +++ b/srcpkgs/mold/template @@ -11,7 +11,8 @@ maintainer="Rahul <basicfunc@gmail.com>" license="AGPL-3.0-only" homepage="https://github.com/rui314/mold" distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz" -checksum=1a5c4779d10c6c81d21092ea776504f51e6a4994121f536550c60a8e7bb6a028 +checksum=488c12058b4c7c77bff94c6f919e40b2f12c304214e2e0d7d4833c21167837c0 + do_check(){ :
[-- Attachment #1: Type: text/plain, Size: 1069 bytes --] There is an updated pull request by basicfunc against master on the void-packages repository https://github.com/basicfunc/void-packages master https://github.com/void-linux/void-packages/pull/35305 Added template for mold. #### 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** <!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration) and test at least one native build and, if supported, at least one cross build. Ignore this section if this PR is not skipping CI. --> #### Local build testing - I built this PR locally for my native architecture, (x86_64-glibc) - I built this PR locally for these architectures (if supported. mark crossbuilds): - i686 A patch file from https://github.com/void-linux/void-packages/pull/35305.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-master-35305.patch --] [-- Type: text/x-diff, Size: 9235 bytes --] From 59e9382230f81140f1a1a434e46222394bb63e15 Mon Sep 17 00:00:00 2001 From: Rahul <basicfunc@gmail.com> Date: Sun, 30 Jan 2022 11:07:40 +0530 Subject: [PATCH 1/6] Added template for mold. --- srcpkgs/mold/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/mold/template diff --git a/srcpkgs/mold/template b/srcpkgs/mold/template new file mode 100644 index 000000000000..e843aae14fbc --- /dev/null +++ b/srcpkgs/mold/template @@ -0,0 +1,14 @@ +# Template file for 'mold' +pkgname=mold +version=1.0.2 +revision=1 +archs="i686 x86_64" +build_style=gnu-makefile +hostmakedepends="cmake pkg-config" +makedepends="libstdc++-devel openssl-devel zlib-devel" +short_desc="A Modern Linker." +maintainer="Rahul <basicfunc@gmail.com>" +license="AGPL-3.0-only" +homepage="https://github.com/rui314/mold" +distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz" +checksum=1a5c4779d10c6c81d21092ea776504f51e6a4994121f536550c60a8e7bb6a028 From 298c7d3659ca3d91ffcfa1ca0e3c8769f56bbb29 Mon Sep 17 00:00:00 2001 From: Rahul <basicfunc@gmail.com> Date: Wed, 2 Feb 2022 19:30:17 +0530 Subject: [PATCH 2/6] Updated version for mold and fixed template issues. --- srcpkgs/mold/template | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/srcpkgs/mold/template b/srcpkgs/mold/template index e843aae14fbc..60b8f826963d 100644 --- a/srcpkgs/mold/template +++ b/srcpkgs/mold/template @@ -1,14 +1,22 @@ # Template file for 'mold' pkgname=mold -version=1.0.2 +version=1.0.3 revision=1 -archs="i686 x86_64" +archs="aarch64 i686 x86_64" build_style=gnu-makefile hostmakedepends="cmake pkg-config" makedepends="libstdc++-devel openssl-devel zlib-devel" -short_desc="A Modern Linker." +short_desc="Fast drop-in replacement for existing Unix linkers" maintainer="Rahul <basicfunc@gmail.com>" license="AGPL-3.0-only" homepage="https://github.com/rui314/mold" distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz" checksum=1a5c4779d10c6c81d21092ea776504f51e6a4994121f536550c60a8e7bb6a028 + +do_check(){ + : +} + +post_install() { + vlicense LICENSE +} From cf6b50a2904712df014b66f9593fad80ddbc52e3 Mon Sep 17 00:00:00 2001 From: Rahul <basicfunc@gmail.com> Date: Wed, 2 Feb 2022 19:35:42 +0530 Subject: [PATCH 3/6] Added musl architecture. --- srcpkgs/mold/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/mold/template b/srcpkgs/mold/template index 60b8f826963d..a78c49c82e7d 100644 --- a/srcpkgs/mold/template +++ b/srcpkgs/mold/template @@ -2,7 +2,7 @@ pkgname=mold version=1.0.3 revision=1 -archs="aarch64 i686 x86_64" +archs="aarch64 i686 x86_64 aarch64-musl x86_64-musl" build_style=gnu-makefile hostmakedepends="cmake pkg-config" makedepends="libstdc++-devel openssl-devel zlib-devel" From 2407dac7d5d30a60e96ed4d26637727128ed7588 Mon Sep 17 00:00:00 2001 From: Rahul <basicfunc@gmail.com> Date: Wed, 2 Feb 2022 21:45:26 +0530 Subject: [PATCH 4/6] Updated checksum for mold --- srcpkgs/mold/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/mold/template b/srcpkgs/mold/template index a78c49c82e7d..577b2b8ccf3a 100644 --- a/srcpkgs/mold/template +++ b/srcpkgs/mold/template @@ -11,7 +11,8 @@ maintainer="Rahul <basicfunc@gmail.com>" license="AGPL-3.0-only" homepage="https://github.com/rui314/mold" distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz" -checksum=1a5c4779d10c6c81d21092ea776504f51e6a4994121f536550c60a8e7bb6a028 +checksum=488c12058b4c7c77bff94c6f919e40b2f12c304214e2e0d7d4833c21167837c0 + do_check(){ : From f99d1e55c3d948f22029915e00a3c93a4f73b81b Mon Sep 17 00:00:00 2001 From: Rahul <basicfunc@gmail.com> Date: Wed, 2 Feb 2022 22:46:20 +0530 Subject: [PATCH 5/6] Added template for quicklisp --- srcpkgs/quicklisp/files/LICENSE | 50 +++++++++++++++++++++++++++++++++ srcpkgs/quicklisp/template | 29 +++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 srcpkgs/quicklisp/files/LICENSE create mode 100644 srcpkgs/quicklisp/template diff --git a/srcpkgs/quicklisp/files/LICENSE b/srcpkgs/quicklisp/files/LICENSE new file mode 100644 index 000000000000..2e8fe40971cb --- /dev/null +++ b/srcpkgs/quicklisp/files/LICENSE @@ -0,0 +1,50 @@ +License information + + Copyright © 2010 Zachary Beane <zach@quicklisp.org> + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +Portions of Quicklisp are derived from Pierre Mai's Deflate library, which is available under the following terms: + + Deflate --- RFC 1951 Deflate Decompression + + Copyright (C) 2000-2009 PMSF IT Consulting Pierre R. Mai. + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR + OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of the author shall + not be used in advertising or otherwise to promote the sale, use or + other dealings in this Software without prior written authorization + from the author. diff --git a/srcpkgs/quicklisp/template b/srcpkgs/quicklisp/template new file mode 100644 index 000000000000..78ee77535b21 --- /dev/null +++ b/srcpkgs/quicklisp/template @@ -0,0 +1,29 @@ +# Template file for 'quicklisp' +pkgname=quicklisp +version=20150128 +revision=1 +wrksrc=${pkgname} +build_style=fetch +makedepends="sbcl" +depends="sbcl" +short_desc="Library manager for Common Lisp" +maintainer="Rahul <basicfunc@gmail.com>" +license="custom:bsd" +homepage="https://beta.quicklisp.org" +distfiles="${homepage}/quicklisp.lisp" +checksum=4a7a5c2aebe0716417047854267397e24a44d0cce096127411e9ce9ccfeb2c17 +nocheckperms=1 + +do_install( ){ + echo -ne "(quicklisp-quickstart:install :path \"${DESTDIR}/usr/lib/${pkgname}\")\n(quit)\n" | + sbcl --no-userinit --load $pkgname.lisp + chmod 777 -R "$DESTDIR"/usr/lib/${pkgname} + chmod 777 -R "$DESTDIR"/usr/lib/${pkgname}/tmp + chmod 777 -R "$DESTDIR"/usr/lib/${pkgname}/dists + chmod 777 -R "$DESTDIR"/usr/lib/${pkgname}/local-projects + echo -ne "(load \"/usr/lib/${pkgname}/setup\")\n" > ${DESDIR}/etc/default/${pkgname} +} + +post_install( ){ + vlicense ${FILESDIR}/LICENSE +} From a359c27afe8e2bf5cfe595cb282cbab97e1d437a Mon Sep 17 00:00:00 2001 From: Rahul <basicfunc@gmail.com> Date: Wed, 2 Feb 2022 22:50:13 +0530 Subject: [PATCH 6/6] Added template for quicklisp --- srcpkgs/quicklisp/template | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/srcpkgs/quicklisp/template b/srcpkgs/quicklisp/template index 78ee77535b21..54d7331be122 100644 --- a/srcpkgs/quicklisp/template +++ b/srcpkgs/quicklisp/template @@ -12,11 +12,10 @@ license="custom:bsd" homepage="https://beta.quicklisp.org" distfiles="${homepage}/quicklisp.lisp" checksum=4a7a5c2aebe0716417047854267397e24a44d0cce096127411e9ce9ccfeb2c17 -nocheckperms=1 +nocheckperms=yes do_install( ){ - echo -ne "(quicklisp-quickstart:install :path \"${DESTDIR}/usr/lib/${pkgname}\")\n(quit)\n" | - sbcl --no-userinit --load $pkgname.lisp + echo -ne "(quicklisp-quickstart:install :path \"${DESTDIR}/usr/lib/${pkgname}\")\n(quit)\n" | sbcl --no-userinit --load $pkgname.lisp chmod 777 -R "$DESTDIR"/usr/lib/${pkgname} chmod 777 -R "$DESTDIR"/usr/lib/${pkgname}/tmp chmod 777 -R "$DESTDIR"/usr/lib/${pkgname}/dists
[-- Attachment #1: Type: text/plain, Size: 234 bytes --] New comment by kawaiiamber on void-packages repository https://github.com/void-linux/void-packages/pull/35305#issuecomment-1028191049 Comment: This PR was opened before that one. I mention the other one just so that they're linked.
[-- Attachment #1: Type: text/plain, Size: 1069 bytes --] There is an updated pull request by basicfunc against master on the void-packages repository https://github.com/basicfunc/void-packages master https://github.com/void-linux/void-packages/pull/35305 Added template for mold. #### 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** <!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration) and test at least one native build and, if supported, at least one cross build. Ignore this section if this PR is not skipping CI. --> #### Local build testing - I built this PR locally for my native architecture, (x86_64-glibc) - I built this PR locally for these architectures (if supported. mark crossbuilds): - i686 A patch file from https://github.com/void-linux/void-packages/pull/35305.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-master-35305.patch --] [-- Type: text/x-diff, Size: 13711 bytes --] From 59e9382230f81140f1a1a434e46222394bb63e15 Mon Sep 17 00:00:00 2001 From: Rahul <basicfunc@gmail.com> Date: Sun, 30 Jan 2022 11:07:40 +0530 Subject: [PATCH 1/7] Added template for mold. --- srcpkgs/mold/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/mold/template diff --git a/srcpkgs/mold/template b/srcpkgs/mold/template new file mode 100644 index 000000000000..e843aae14fbc --- /dev/null +++ b/srcpkgs/mold/template @@ -0,0 +1,14 @@ +# Template file for 'mold' +pkgname=mold +version=1.0.2 +revision=1 +archs="i686 x86_64" +build_style=gnu-makefile +hostmakedepends="cmake pkg-config" +makedepends="libstdc++-devel openssl-devel zlib-devel" +short_desc="A Modern Linker." +maintainer="Rahul <basicfunc@gmail.com>" +license="AGPL-3.0-only" +homepage="https://github.com/rui314/mold" +distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz" +checksum=1a5c4779d10c6c81d21092ea776504f51e6a4994121f536550c60a8e7bb6a028 From 298c7d3659ca3d91ffcfa1ca0e3c8769f56bbb29 Mon Sep 17 00:00:00 2001 From: Rahul <basicfunc@gmail.com> Date: Wed, 2 Feb 2022 19:30:17 +0530 Subject: [PATCH 2/7] Updated version for mold and fixed template issues. --- srcpkgs/mold/template | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/srcpkgs/mold/template b/srcpkgs/mold/template index e843aae14fbc..60b8f826963d 100644 --- a/srcpkgs/mold/template +++ b/srcpkgs/mold/template @@ -1,14 +1,22 @@ # Template file for 'mold' pkgname=mold -version=1.0.2 +version=1.0.3 revision=1 -archs="i686 x86_64" +archs="aarch64 i686 x86_64" build_style=gnu-makefile hostmakedepends="cmake pkg-config" makedepends="libstdc++-devel openssl-devel zlib-devel" -short_desc="A Modern Linker." +short_desc="Fast drop-in replacement for existing Unix linkers" maintainer="Rahul <basicfunc@gmail.com>" license="AGPL-3.0-only" homepage="https://github.com/rui314/mold" distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz" checksum=1a5c4779d10c6c81d21092ea776504f51e6a4994121f536550c60a8e7bb6a028 + +do_check(){ + : +} + +post_install() { + vlicense LICENSE +} From cf6b50a2904712df014b66f9593fad80ddbc52e3 Mon Sep 17 00:00:00 2001 From: Rahul <basicfunc@gmail.com> Date: Wed, 2 Feb 2022 19:35:42 +0530 Subject: [PATCH 3/7] Added musl architecture. --- srcpkgs/mold/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/mold/template b/srcpkgs/mold/template index 60b8f826963d..a78c49c82e7d 100644 --- a/srcpkgs/mold/template +++ b/srcpkgs/mold/template @@ -2,7 +2,7 @@ pkgname=mold version=1.0.3 revision=1 -archs="aarch64 i686 x86_64" +archs="aarch64 i686 x86_64 aarch64-musl x86_64-musl" build_style=gnu-makefile hostmakedepends="cmake pkg-config" makedepends="libstdc++-devel openssl-devel zlib-devel" From 2407dac7d5d30a60e96ed4d26637727128ed7588 Mon Sep 17 00:00:00 2001 From: Rahul <basicfunc@gmail.com> Date: Wed, 2 Feb 2022 21:45:26 +0530 Subject: [PATCH 4/7] Updated checksum for mold --- srcpkgs/mold/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/mold/template b/srcpkgs/mold/template index a78c49c82e7d..577b2b8ccf3a 100644 --- a/srcpkgs/mold/template +++ b/srcpkgs/mold/template @@ -11,7 +11,8 @@ maintainer="Rahul <basicfunc@gmail.com>" license="AGPL-3.0-only" homepage="https://github.com/rui314/mold" distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz" -checksum=1a5c4779d10c6c81d21092ea776504f51e6a4994121f536550c60a8e7bb6a028 +checksum=488c12058b4c7c77bff94c6f919e40b2f12c304214e2e0d7d4833c21167837c0 + do_check(){ : From f99d1e55c3d948f22029915e00a3c93a4f73b81b Mon Sep 17 00:00:00 2001 From: Rahul <basicfunc@gmail.com> Date: Wed, 2 Feb 2022 22:46:20 +0530 Subject: [PATCH 5/7] Added template for quicklisp --- srcpkgs/quicklisp/files/LICENSE | 50 +++++++++++++++++++++++++++++++++ srcpkgs/quicklisp/template | 29 +++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 srcpkgs/quicklisp/files/LICENSE create mode 100644 srcpkgs/quicklisp/template diff --git a/srcpkgs/quicklisp/files/LICENSE b/srcpkgs/quicklisp/files/LICENSE new file mode 100644 index 000000000000..2e8fe40971cb --- /dev/null +++ b/srcpkgs/quicklisp/files/LICENSE @@ -0,0 +1,50 @@ +License information + + Copyright © 2010 Zachary Beane <zach@quicklisp.org> + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +Portions of Quicklisp are derived from Pierre Mai's Deflate library, which is available under the following terms: + + Deflate --- RFC 1951 Deflate Decompression + + Copyright (C) 2000-2009 PMSF IT Consulting Pierre R. Mai. + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR + OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of the author shall + not be used in advertising or otherwise to promote the sale, use or + other dealings in this Software without prior written authorization + from the author. diff --git a/srcpkgs/quicklisp/template b/srcpkgs/quicklisp/template new file mode 100644 index 000000000000..78ee77535b21 --- /dev/null +++ b/srcpkgs/quicklisp/template @@ -0,0 +1,29 @@ +# Template file for 'quicklisp' +pkgname=quicklisp +version=20150128 +revision=1 +wrksrc=${pkgname} +build_style=fetch +makedepends="sbcl" +depends="sbcl" +short_desc="Library manager for Common Lisp" +maintainer="Rahul <basicfunc@gmail.com>" +license="custom:bsd" +homepage="https://beta.quicklisp.org" +distfiles="${homepage}/quicklisp.lisp" +checksum=4a7a5c2aebe0716417047854267397e24a44d0cce096127411e9ce9ccfeb2c17 +nocheckperms=1 + +do_install( ){ + echo -ne "(quicklisp-quickstart:install :path \"${DESTDIR}/usr/lib/${pkgname}\")\n(quit)\n" | + sbcl --no-userinit --load $pkgname.lisp + chmod 777 -R "$DESTDIR"/usr/lib/${pkgname} + chmod 777 -R "$DESTDIR"/usr/lib/${pkgname}/tmp + chmod 777 -R "$DESTDIR"/usr/lib/${pkgname}/dists + chmod 777 -R "$DESTDIR"/usr/lib/${pkgname}/local-projects + echo -ne "(load \"/usr/lib/${pkgname}/setup\")\n" > ${DESDIR}/etc/default/${pkgname} +} + +post_install( ){ + vlicense ${FILESDIR}/LICENSE +} From a359c27afe8e2bf5cfe595cb282cbab97e1d437a Mon Sep 17 00:00:00 2001 From: Rahul <basicfunc@gmail.com> Date: Wed, 2 Feb 2022 22:50:13 +0530 Subject: [PATCH 6/7] Added template for quicklisp --- srcpkgs/quicklisp/template | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/srcpkgs/quicklisp/template b/srcpkgs/quicklisp/template index 78ee77535b21..54d7331be122 100644 --- a/srcpkgs/quicklisp/template +++ b/srcpkgs/quicklisp/template @@ -12,11 +12,10 @@ license="custom:bsd" homepage="https://beta.quicklisp.org" distfiles="${homepage}/quicklisp.lisp" checksum=4a7a5c2aebe0716417047854267397e24a44d0cce096127411e9ce9ccfeb2c17 -nocheckperms=1 +nocheckperms=yes do_install( ){ - echo -ne "(quicklisp-quickstart:install :path \"${DESTDIR}/usr/lib/${pkgname}\")\n(quit)\n" | - sbcl --no-userinit --load $pkgname.lisp + echo -ne "(quicklisp-quickstart:install :path \"${DESTDIR}/usr/lib/${pkgname}\")\n(quit)\n" | sbcl --no-userinit --load $pkgname.lisp chmod 777 -R "$DESTDIR"/usr/lib/${pkgname} chmod 777 -R "$DESTDIR"/usr/lib/${pkgname}/tmp chmod 777 -R "$DESTDIR"/usr/lib/${pkgname}/dists From 9c198817b19363ae07144b87751fce2053310b07 Mon Sep 17 00:00:00 2001 From: Rahul <basicfunc@gmail.com> Date: Wed, 2 Feb 2022 23:19:57 +0530 Subject: [PATCH 7/7] Added template for quicklisp --- srcpkgs/quicklisp/files/LICENSE | 50 +++++++++++++++++++++++++++++++++ srcpkgs/quicklisp/template | 28 ++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 srcpkgs/quicklisp/files/LICENSE create mode 100644 srcpkgs/quicklisp/template diff --git a/srcpkgs/quicklisp/files/LICENSE b/srcpkgs/quicklisp/files/LICENSE new file mode 100644 index 000000000000..2e8fe40971cb --- /dev/null +++ b/srcpkgs/quicklisp/files/LICENSE @@ -0,0 +1,50 @@ +License information + + Copyright © 2010 Zachary Beane <zach@quicklisp.org> + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +Portions of Quicklisp are derived from Pierre Mai's Deflate library, which is available under the following terms: + + Deflate --- RFC 1951 Deflate Decompression + + Copyright (C) 2000-2009 PMSF IT Consulting Pierre R. Mai. + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR + OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. + + Except as contained in this notice, the name of the author shall + not be used in advertising or otherwise to promote the sale, use or + other dealings in this Software without prior written authorization + from the author. diff --git a/srcpkgs/quicklisp/template b/srcpkgs/quicklisp/template new file mode 100644 index 000000000000..54d7331be122 --- /dev/null +++ b/srcpkgs/quicklisp/template @@ -0,0 +1,28 @@ +# Template file for 'quicklisp' +pkgname=quicklisp +version=20150128 +revision=1 +wrksrc=${pkgname} +build_style=fetch +makedepends="sbcl" +depends="sbcl" +short_desc="Library manager for Common Lisp" +maintainer="Rahul <basicfunc@gmail.com>" +license="custom:bsd" +homepage="https://beta.quicklisp.org" +distfiles="${homepage}/quicklisp.lisp" +checksum=4a7a5c2aebe0716417047854267397e24a44d0cce096127411e9ce9ccfeb2c17 +nocheckperms=yes + +do_install( ){ + echo -ne "(quicklisp-quickstart:install :path \"${DESTDIR}/usr/lib/${pkgname}\")\n(quit)\n" | sbcl --no-userinit --load $pkgname.lisp + chmod 777 -R "$DESTDIR"/usr/lib/${pkgname} + chmod 777 -R "$DESTDIR"/usr/lib/${pkgname}/tmp + chmod 777 -R "$DESTDIR"/usr/lib/${pkgname}/dists + chmod 777 -R "$DESTDIR"/usr/lib/${pkgname}/local-projects + echo -ne "(load \"/usr/lib/${pkgname}/setup\")\n" > ${DESDIR}/etc/default/${pkgname} +} + +post_install( ){ + vlicense ${FILESDIR}/LICENSE +}
[-- Attachment #1: Type: text/plain, Size: 926 bytes --] New comment by kawaiiamber on void-packages repository https://github.com/void-linux/void-packages/pull/35305#issuecomment-1028202026 Comment: Try to keep only one commit since there's only one package - one commit per package (see [CONTRIBUTING.md](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md)). Since there's 12 commits at the moment, reabse and squash them `git rebase -i HEAD~12` and choose `squash`. Change initial commit message to `New package: mold-1.0.2`, or 1.0.3 if you've updated. After squashing, you'll need to force push. `git push origin master -f` For furutre commits, just ammend them to the currect one. `git commit --ammend; git push origin master -f`. If you plan on contributing more, I would also recommend making a branch on your fork to merge against that's not the master branch. People here would usually call that branch the package name. e..g `git checkout -b mold`.
[-- Attachment #1: Type: text/plain, Size: 362 bytes --] New comment by kawaiiamber on void-packages repository https://github.com/void-linux/void-packages/pull/35305#issuecomment-1028203986 Comment: Hi, I noticed you added a template for quicklisp. Usually unless it's a dependancy of another package to PR, separate packages are PR'd separately. This is another reason why having different branches is recommended.
[-- Attachment #1: Type: text/plain, Size: 287 bytes --] New comment by kawaiiamber on void-packages repository https://github.com/void-linux/void-packages/pull/35305#issuecomment-1028278635 Comment: [#31706](https://github.com/void-linux/void-packages/pull/31706) seems to add an older version of mold. Not sure on the status of it, though.
[-- Attachment #1: Type: text/plain, Size: 910 bytes --] There's a closed pull request on the void-packages repository Added template for mold. https://github.com/void-linux/void-packages/pull/35305 Description: #### 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** <!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration) and test at least one native build and, if supported, at least one cross build. Ignore this section if this PR is not skipping CI. --> #### Local build testing - I built this PR locally for my native architecture, (x86_64-glibc) - I built this PR locally for these architectures (if supported. mark crossbuilds): - i686