Github messages for voidlinux
 help / color / mirror / Atom feed
From: basicfunc <basicfunc@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] Added template for mold.
Date: Wed, 02 Feb 2022 18:20:42 +0100	[thread overview]
Message-ID: <20220202172042.VFLHDLD59TXYvVcpX_UezeX9WERZS_iuMMuuGIUhoG4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35305@inbox.vuxu.org>

[-- 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

  parent reply	other threads:[~2022-02-02 17:20 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-30  5:41 [PR PATCH] " basicfunc
2022-02-01  7:33 ` [PR PATCH] [Updated] " basicfunc
2022-02-02  9:19 ` kawaiiamber
2022-02-02  9:23 ` [PR REVIEW] " kawaiiamber
2022-02-02  9:24 ` kawaiiamber
2022-02-02  9:32 ` kawaiiamber
2022-02-02  9:41 ` kawaiiamber
2022-02-02 10:06 ` [PR REVIEW] " kawaiiamber
2022-02-02 13:50 ` basicfunc
2022-02-02 13:51 ` [PR REVIEW] " basicfunc
2022-02-02 13:52 ` basicfunc
2022-02-02 14:00 ` [PR PATCH] [Updated] " basicfunc
2022-02-02 14:01 ` basicfunc
2022-02-02 14:05 ` basicfunc
2022-02-02 16:15 ` basicfunc
2022-02-02 17:20 ` basicfunc [this message]
2022-02-02 17:43 ` kawaiiamber
2022-02-02 17:50 ` [PR PATCH] [Updated] " basicfunc
2022-02-02 17:54 ` kawaiiamber
2022-02-02 17:56 ` kawaiiamber
2022-02-02 19:21 ` kawaiiamber
2022-02-02 19:36 ` [PR PATCH] [Closed]: " basicfunc

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=20220202172042.VFLHDLD59TXYvVcpX_UezeX9WERZS_iuMMuuGIUhoG4@z \
    --to=basicfunc@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).