Github messages for voidlinux
 help / color / mirror / Atom feed
From: Ilia1 <Ilia1@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] Libdispatch package
Date: Sat, 01 Jul 2023 21:51:39 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-44773@inbox.vuxu.org> (raw)

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

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

https://github.com/Ilia1/void-packages libdispatch
https://github.com/void-linux/void-packages/pull/44773

Libdispatch package
#### Testing the changes
- I tested the changes in this PR: **briefly**

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

#### Local build testing
- I built this PR locally for my native architecture, x86-64

This library is required to upgrade package deadbeef.


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

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

From ad3abbde4422b8cfe07f0f2df0b784b7c7c05949 Mon Sep 17 00:00:00 2001
From: Ilia1 <iliaponomaryow@ya.ru>
Date: Sun, 2 Jul 2023 00:43:15 +0500
Subject: [PATCH 1/2] Create template for libdispatch

---
 srcpkgs/libdispatch/template | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 srcpkgs/libdispatch/template

diff --git a/srcpkgs/libdispatch/template b/srcpkgs/libdispatch/template
new file mode 100644
index 000000000000..4d689ea5d97e
--- /dev/null
+++ b/srcpkgs/libdispatch/template
@@ -0,0 +1,32 @@
+pkgname=libdispatch
+version=5.5.3
+revision=1
+create_wrksrc=yes
+build_style=cmake
+hostmakedepends="ninja clang git"
+short_desc="Library provides comprehensive support for concurrent code execution on multicore hardware"
+maintainer="Ilya <ISPonomarev@yahoo.com>"
+license="Apache-2.0"
+homepage="https://github.com/apple/swift-corelibs-libdispatch"
+
+do_fetch() {
+       git clone https://github.com/apple/swift-corelibs-libdispatch
+       mv swift-corelibs-libdispatch ${pkgname}-${version}
+}
+
+pre_configure() {
+       mkdir build
+}
+
+do_configure() {
+        cd build
+        cmake -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ ..
+}
+
+libdispatch-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+	}
+}

From 140417d8b3683bbd0bb1d284d62ddc97bfe46fd8 Mon Sep 17 00:00:00 2001
From: Ilia1 <iliaponomaryow@ya.ru>
Date: Sun, 2 Jul 2023 00:44:39 +0500
Subject: [PATCH 2/2] Update shlibs

---
 common/shlibs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/common/shlibs b/common/shlibs
index 258b257a75c3..aa185f0d6a27 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4277,3 +4277,5 @@ libgsoapssl++-2.8.124.so gsoap-2.8.124_1
 libjxl.so.0.8 libjxl-0.8.2_1
 libjxl_dec.so.0.8 libjxl-0.8.2_1
 libjxl_threads.so.0.8 libjxl-0.8.2_1
+libdispatch.so libdispatch-5.5.3_1
+libBlocksRuntime.so libdispatch-5.5.3_1

             reply	other threads:[~2023-07-01 19:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-01 19:51 Ilia1 [this message]
2023-07-01 20:37 ` Bnyro
2023-07-02 10:06 ` [PR PATCH] [Updated] " Ilia1
2023-07-02 10:13 ` Ilia1
2023-07-02 10:39 ` Bnyro
2023-07-02 11:55 ` Ilia1
2023-07-02 11:55 ` [PR PATCH] [Closed]: " Ilia1

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-44773@inbox.vuxu.org \
    --to=ilia1@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).