Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New Package: nng-1.5.2
@ 2021-08-22  6:43 ruantu
  2021-08-22  7:24 ` paper42
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: ruantu @ 2021-08-22  6:43 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ruantu/void-packages-nng master
https://github.com/void-linux/void-packages/pull/32625

New Package: nng-1.5.2
#### General
- [x ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

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

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

From 7ae61b76d7a2c9ab749c13937bc339b779e7c912 Mon Sep 17 00:00:00 2001
From: ruantu <mtwget@gmail.com>
Date: Sun, 22 Aug 2021 14:41:12 +0800
Subject: [PATCH] New Package: nng-1.5.2

---
 common/shlibs        |  1 +
 srcpkgs/nng-devel    |  1 +
 srcpkgs/nng-doc      |  1 +
 srcpkgs/nng-tools    |  1 +
 srcpkgs/nng/template | 58 ++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 62 insertions(+)
 create mode 120000 srcpkgs/nng-devel
 create mode 120000 srcpkgs/nng-doc
 create mode 120000 srcpkgs/nng-tools
 create mode 100644 srcpkgs/nng/template

diff --git a/common/shlibs b/common/shlibs
index b5363014957e..99526fddf8ca 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4017,3 +4017,4 @@ libmt32emu.so.2 libmt32emu-2.5.1_1
 libqrtr-glib.so.0 libqrtr-glib-1.0.0_1
 libstemmer.so.2 libstemmer-2.1.0_1
 libdecor-0.so.0 libdecor-0.1.0_1
+libnng.so.1 nng-1.5.2_1
diff --git a/srcpkgs/nng-devel b/srcpkgs/nng-devel
new file mode 120000
index 000000000000..cb46bd461484
--- /dev/null
+++ b/srcpkgs/nng-devel
@@ -0,0 +1 @@
+nng
\ No newline at end of file
diff --git a/srcpkgs/nng-doc b/srcpkgs/nng-doc
new file mode 120000
index 000000000000..cb46bd461484
--- /dev/null
+++ b/srcpkgs/nng-doc
@@ -0,0 +1 @@
+nng
\ No newline at end of file
diff --git a/srcpkgs/nng-tools b/srcpkgs/nng-tools
new file mode 120000
index 000000000000..cb46bd461484
--- /dev/null
+++ b/srcpkgs/nng-tools
@@ -0,0 +1 @@
+nng
\ No newline at end of file
diff --git a/srcpkgs/nng/template b/srcpkgs/nng/template
new file mode 100644
index 000000000000..f9e3596df73f
--- /dev/null
+++ b/srcpkgs/nng/template
@@ -0,0 +1,58 @@
+# Template file for 'nng'
+pkgname=nng
+version=1.5.2
+revision=1
+build_style=cmake
+configure_args="-DNNG_TOOLS=ON -DNNG_ENABLE_TLS=ON -DNNG_ENABLE_DOC=ON -DBUILD_SHARED_LIBS=ON"
+hostmakedepends="ruby-asciidoctor"
+makedepends="mbedtls-devel"
+checkdepends="iana-etc"
+short_desc="Nanomsg-next-generation -- light-weight brokerless messaging"
+maintainer="yd.zhang <yd.zhang@ilabservice.com>"
+license="MIT"
+homepage="https://nng.nanomsg.org/"
+distfiles="https://github.com/nanomsg/nng/archive/refs/tags/v${version}.tar.gz"
+checksum=f8b25ab86738864b1f2e3128e8badab581510fa8085ff5ca9bb980d317334c46
+
+if [ "$CROSS_BUILD" ]; then
+	configure_args+=" -DNNG_TESTS=OFF"
+else
+	configure_args+=" -DNNG_TESTS=ON"
+fi
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+fi
+
+post_install() {
+	vlicense LICENSE.txt
+}
+
+nng-doc_package() {
+	short_desc+=" - documentation"
+	pkg_install() {
+		vmove usr/share/doc
+	}
+}
+
+nng-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}-${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.so"
+		vmove usr/lib/cmake
+		vmove usr/share/man/man3
+		vmove "usr/share/man/man3*"
+		vmove usr/share/man/man5
+		vmove usr/share/man/man7
+	}
+}
+
+nng-tools_package() {
+	short_desc+=" - tools"
+	pkg_install() {
+		vmove usr/bin
+		vmove usr/share/man/man1
+	}
+}

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

* Re: New Package: nng-1.5.2
  2021-08-22  6:43 [PR PATCH] New Package: nng-1.5.2 ruantu
@ 2021-08-22  7:24 ` paper42
  2021-08-22  7:25 ` paper42
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: paper42 @ 2021-08-22  7:24 UTC (permalink / raw)
  To: ml

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

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/32625#issuecomment-903226267

Comment:
next time, update the old PR #31365 instead of opening a new one

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

* Re: New Package: nng-1.5.2
  2021-08-22  6:43 [PR PATCH] New Package: nng-1.5.2 ruantu
  2021-08-22  7:24 ` paper42
@ 2021-08-22  7:25 ` paper42
  2021-08-22  7:28 ` [PR PATCH] [Updated] " ruantu
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: paper42 @ 2021-08-22  7:25 UTC (permalink / raw)
  To: ml

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

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/32625#issuecomment-903226267

Comment:
next time, update the old PR #31356 instead of opening a new one

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

* Re: [PR PATCH] [Updated] New Package: nng-1.5.2
  2021-08-22  6:43 [PR PATCH] New Package: nng-1.5.2 ruantu
  2021-08-22  7:24 ` paper42
  2021-08-22  7:25 ` paper42
@ 2021-08-22  7:28 ` ruantu
  2021-08-22  7:41 ` ruantu
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ruantu @ 2021-08-22  7:28 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by ruantu against master on the void-packages repository

https://github.com/ruantu/void-packages-nng master
https://github.com/void-linux/void-packages/pull/32625

New Package: nng-1.5.2
#### General
- [x ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

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

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

From 21416eb9bf851864db42c68cbc5ce86630c76634 Mon Sep 17 00:00:00 2001
From: "yd.zhang" <mtwget@gmail.com>
Date: Sun, 22 Aug 2021 15:27:46 +0800
Subject: [PATCH] New Package: nng-1.5.2

---
 common/shlibs        |  1 +
 srcpkgs/nng-devel    |  1 +
 srcpkgs/nng-doc      |  1 +
 srcpkgs/nng-tools    |  1 +
 srcpkgs/nng/template | 58 ++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 62 insertions(+)
 create mode 120000 srcpkgs/nng-devel
 create mode 120000 srcpkgs/nng-doc
 create mode 120000 srcpkgs/nng-tools
 create mode 100644 srcpkgs/nng/template

diff --git a/common/shlibs b/common/shlibs
index b5363014957e..99526fddf8ca 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4017,3 +4017,4 @@ libmt32emu.so.2 libmt32emu-2.5.1_1
 libqrtr-glib.so.0 libqrtr-glib-1.0.0_1
 libstemmer.so.2 libstemmer-2.1.0_1
 libdecor-0.so.0 libdecor-0.1.0_1
+libnng.so.1 nng-1.5.2_1
diff --git a/srcpkgs/nng-devel b/srcpkgs/nng-devel
new file mode 120000
index 000000000000..cb46bd461484
--- /dev/null
+++ b/srcpkgs/nng-devel
@@ -0,0 +1 @@
+nng
\ No newline at end of file
diff --git a/srcpkgs/nng-doc b/srcpkgs/nng-doc
new file mode 120000
index 000000000000..cb46bd461484
--- /dev/null
+++ b/srcpkgs/nng-doc
@@ -0,0 +1 @@
+nng
\ No newline at end of file
diff --git a/srcpkgs/nng-tools b/srcpkgs/nng-tools
new file mode 120000
index 000000000000..cb46bd461484
--- /dev/null
+++ b/srcpkgs/nng-tools
@@ -0,0 +1 @@
+nng
\ No newline at end of file
diff --git a/srcpkgs/nng/template b/srcpkgs/nng/template
new file mode 100644
index 000000000000..b147d9e7c47b
--- /dev/null
+++ b/srcpkgs/nng/template
@@ -0,0 +1,58 @@
+# Template file for 'nng'
+pkgname=nng
+version=1.5.2
+revision=1
+build_style=cmake
+configure_args="-DNNG_TOOLS=ON -DNNG_ENABLE_TLS=ON -DNNG_ENABLE_DOC=ON -DBUILD_SHARED_LIBS=ON"
+hostmakedepends="ruby-asciidoctor"
+makedepends="mbedtls-devel"
+checkdepends="iana-etc"
+short_desc="Nanomsg-next-generation -- light-weight brokerless messaging"
+maintainer="yd.zhang <mtwget@gmail.com>"
+license="MIT"
+homepage="https://nng.nanomsg.org/"
+distfiles="https://github.com/nanomsg/nng/archive/refs/tags/v${version}.tar.gz"
+checksum=f8b25ab86738864b1f2e3128e8badab581510fa8085ff5ca9bb980d317334c46
+
+if [ "$CROSS_BUILD" ]; then
+	configure_args+=" -DNNG_TESTS=OFF"
+else
+	configure_args+=" -DNNG_TESTS=ON"
+fi
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+fi
+
+post_install() {
+	vlicense LICENSE.txt
+}
+
+nng-doc_package() {
+	short_desc+=" - documentation"
+	pkg_install() {
+		vmove usr/share/doc
+	}
+}
+
+nng-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}-${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.so"
+		vmove usr/lib/cmake
+		vmove usr/share/man/man3
+		vmove "usr/share/man/man3*"
+		vmove usr/share/man/man5
+		vmove usr/share/man/man7
+	}
+}
+
+nng-tools_package() {
+	short_desc+=" - tools"
+	pkg_install() {
+		vmove usr/bin
+		vmove usr/share/man/man1
+	}
+}

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

* Re: New Package: nng-1.5.2
  2021-08-22  6:43 [PR PATCH] New Package: nng-1.5.2 ruantu
                   ` (2 preceding siblings ...)
  2021-08-22  7:28 ` [PR PATCH] [Updated] " ruantu
@ 2021-08-22  7:41 ` ruantu
  2021-08-22  7:43 ` paper42
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ruantu @ 2021-08-22  7:41 UTC (permalink / raw)
  To: ml

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

New comment by ruantu on void-packages repository

https://github.com/void-linux/void-packages/pull/32625#issuecomment-903227820

Comment:
The Github CI environment does not support ipv6, results in the following error:
  resolver_test.c:63: Check nng_aio_alloc(&aio, NULL, NULL) succeeds... ok
  resolver_test.c:66: Check nng_aio_result(aio) succeeds... failed
    nng_aio_result(aio): expected success, got Address invalid (15)
  resolver_test.c:67: Check sa.s_in6.sa_family == NNG_AF_INET6... failed
  resolver_test.c:68: Check sa.s_in6.sa_port == nuts_be16(80)... failed
  resolver_test.c:69: Check memcmp(sa.s_in6.sa_addr, v6loop, 16) == 0... failed
  FAILED: 4 conditions have failed.

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

* Re: New Package: nng-1.5.2
  2021-08-22  6:43 [PR PATCH] New Package: nng-1.5.2 ruantu
                   ` (3 preceding siblings ...)
  2021-08-22  7:41 ` ruantu
@ 2021-08-22  7:43 ` paper42
  2021-08-22  7:56 ` [PR PATCH] [Updated] " ruantu
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: paper42 @ 2021-08-22  7:43 UTC (permalink / raw)
  To: ml

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

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/32625#issuecomment-903228038

Comment:
> The Github CI environment does not support ipv6, results in the following error:

If tests work on your machine, you can skip them in CI with
```
make_check=ci-skip # reason
```

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

* Re: [PR PATCH] [Updated] New Package: nng-1.5.2
  2021-08-22  6:43 [PR PATCH] New Package: nng-1.5.2 ruantu
                   ` (4 preceding siblings ...)
  2021-08-22  7:43 ` paper42
@ 2021-08-22  7:56 ` ruantu
  2021-08-22  8:19 ` ruantu
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ruantu @ 2021-08-22  7:56 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by ruantu against master on the void-packages repository

https://github.com/ruantu/void-packages-nng master
https://github.com/void-linux/void-packages/pull/32625

New Package: nng-1.5.2
#### General
- [x ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

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

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

From 44b94f364d257a9c5288dea710920994b263e95d Mon Sep 17 00:00:00 2001
From: "yd.zhang" <mtwget@gmail.com>
Date: Sun, 22 Aug 2021 15:27:46 +0800
Subject: [PATCH] New Package: nng-1.5.2

---
 common/shlibs        |  1 +
 srcpkgs/nng-devel    |  1 +
 srcpkgs/nng-doc      |  1 +
 srcpkgs/nng-tools    |  1 +
 srcpkgs/nng/template | 60 ++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 64 insertions(+)
 create mode 120000 srcpkgs/nng-devel
 create mode 120000 srcpkgs/nng-doc
 create mode 120000 srcpkgs/nng-tools
 create mode 100644 srcpkgs/nng/template

diff --git a/common/shlibs b/common/shlibs
index b5363014957e..99526fddf8ca 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4017,3 +4017,4 @@ libmt32emu.so.2 libmt32emu-2.5.1_1
 libqrtr-glib.so.0 libqrtr-glib-1.0.0_1
 libstemmer.so.2 libstemmer-2.1.0_1
 libdecor-0.so.0 libdecor-0.1.0_1
+libnng.so.1 nng-1.5.2_1
diff --git a/srcpkgs/nng-devel b/srcpkgs/nng-devel
new file mode 120000
index 000000000000..cb46bd461484
--- /dev/null
+++ b/srcpkgs/nng-devel
@@ -0,0 +1 @@
+nng
\ No newline at end of file
diff --git a/srcpkgs/nng-doc b/srcpkgs/nng-doc
new file mode 120000
index 000000000000..cb46bd461484
--- /dev/null
+++ b/srcpkgs/nng-doc
@@ -0,0 +1 @@
+nng
\ No newline at end of file
diff --git a/srcpkgs/nng-tools b/srcpkgs/nng-tools
new file mode 120000
index 000000000000..cb46bd461484
--- /dev/null
+++ b/srcpkgs/nng-tools
@@ -0,0 +1 @@
+nng
\ No newline at end of file
diff --git a/srcpkgs/nng/template b/srcpkgs/nng/template
new file mode 100644
index 000000000000..02dcd47c6f25
--- /dev/null
+++ b/srcpkgs/nng/template
@@ -0,0 +1,60 @@
+# Template file for 'nng'
+pkgname=nng
+version=1.5.2
+revision=1
+build_style=cmake
+configure_args="-DNNG_TOOLS=ON -DNNG_ENABLE_TLS=ON -DNNG_ENABLE_DOC=ON -DBUILD_SHARED_LIBS=ON"
+hostmakedepends="ruby-asciidoctor"
+makedepends="mbedtls-devel"
+checkdepends="iana-etc"
+short_desc="Nanomsg-next-generation -- light-weight brokerless messaging"
+maintainer="yd.zhang <mtwget@gmail.com>"
+license="MIT"
+homepage="https://nng.nanomsg.org/"
+distfiles="https://github.com/nanomsg/nng/archive/refs/tags/v${version}.tar.gz"
+checksum=f8b25ab86738864b1f2e3128e8badab581510fa8085ff5ca9bb980d317334c46
+
+make_check=ci-skip # reason
+
+if [ "$CROSS_BUILD" ]; then
+	configure_args+=" -DNNG_TESTS=OFF"
+else
+	configure_args+=" -DNNG_TESTS=ON"
+fi
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+fi
+
+post_install() {
+	vlicense LICENSE.txt
+}
+
+nng-doc_package() {
+	short_desc+=" - documentation"
+	pkg_install() {
+		vmove usr/share/doc
+	}
+}
+
+nng-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}-${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.so"
+		vmove usr/lib/cmake
+		vmove usr/share/man/man3
+		vmove "usr/share/man/man3*"
+		vmove usr/share/man/man5
+		vmove usr/share/man/man7
+	}
+}
+
+nng-tools_package() {
+	short_desc+=" - tools"
+	pkg_install() {
+		vmove usr/bin
+		vmove usr/share/man/man1
+	}
+}

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

* Re: New Package: nng-1.5.2
  2021-08-22  6:43 [PR PATCH] New Package: nng-1.5.2 ruantu
                   ` (5 preceding siblings ...)
  2021-08-22  7:56 ` [PR PATCH] [Updated] " ruantu
@ 2021-08-22  8:19 ` ruantu
  2021-08-22  8:48 ` [PR REVIEW] " ardadem
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ruantu @ 2021-08-22  8:19 UTC (permalink / raw)
  To: ml

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

New comment by ruantu on void-packages repository

https://github.com/void-linux/void-packages/pull/32625#issuecomment-903232187

Comment:
> > The Github CI environment does not support ipv6, results in the following error:
> 
> If tests work on your machine, you can skip them in CI with
> 
> ```
> make_check=ci-skip # reason
> ```

OK, I have modified.

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

* Re: [PR REVIEW] New Package: nng-1.5.2
  2021-08-22  6:43 [PR PATCH] New Package: nng-1.5.2 ruantu
                   ` (6 preceding siblings ...)
  2021-08-22  8:19 ` ruantu
@ 2021-08-22  8:48 ` ardadem
  2021-08-25 15:05 ` [PR PATCH] [Updated] " ruantu
  2021-09-14  6:17 ` ruantu
  9 siblings, 0 replies; 11+ messages in thread
From: ardadem @ 2021-08-22  8:48 UTC (permalink / raw)
  To: ml

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

New review comment by ardadem on void-packages repository

https://github.com/void-linux/void-packages/pull/32625#discussion_r693467171

Comment:
```suggestion
# The Github CI environment does not support ipv6
make_check=ci-skip
```

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

* Re: [PR PATCH] [Updated] New Package: nng-1.5.2
  2021-08-22  6:43 [PR PATCH] New Package: nng-1.5.2 ruantu
                   ` (7 preceding siblings ...)
  2021-08-22  8:48 ` [PR REVIEW] " ardadem
@ 2021-08-25 15:05 ` ruantu
  2021-09-14  6:17 ` ruantu
  9 siblings, 0 replies; 11+ messages in thread
From: ruantu @ 2021-08-25 15:05 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by ruantu against master on the void-packages repository

https://github.com/ruantu/void-packages-nng master
https://github.com/void-linux/void-packages/pull/32625

New Package: nng-1.5.2
#### General
- [x ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

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

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

From 44b94f364d257a9c5288dea710920994b263e95d Mon Sep 17 00:00:00 2001
From: "yd.zhang" <mtwget@gmail.com>
Date: Sun, 22 Aug 2021 15:27:46 +0800
Subject: [PATCH 1/2] New Package: nng-1.5.2

---
 common/shlibs        |  1 +
 srcpkgs/nng-devel    |  1 +
 srcpkgs/nng-doc      |  1 +
 srcpkgs/nng-tools    |  1 +
 srcpkgs/nng/template | 60 ++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 64 insertions(+)
 create mode 120000 srcpkgs/nng-devel
 create mode 120000 srcpkgs/nng-doc
 create mode 120000 srcpkgs/nng-tools
 create mode 100644 srcpkgs/nng/template

diff --git a/common/shlibs b/common/shlibs
index b5363014957e..99526fddf8ca 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4017,3 +4017,4 @@ libmt32emu.so.2 libmt32emu-2.5.1_1
 libqrtr-glib.so.0 libqrtr-glib-1.0.0_1
 libstemmer.so.2 libstemmer-2.1.0_1
 libdecor-0.so.0 libdecor-0.1.0_1
+libnng.so.1 nng-1.5.2_1
diff --git a/srcpkgs/nng-devel b/srcpkgs/nng-devel
new file mode 120000
index 000000000000..cb46bd461484
--- /dev/null
+++ b/srcpkgs/nng-devel
@@ -0,0 +1 @@
+nng
\ No newline at end of file
diff --git a/srcpkgs/nng-doc b/srcpkgs/nng-doc
new file mode 120000
index 000000000000..cb46bd461484
--- /dev/null
+++ b/srcpkgs/nng-doc
@@ -0,0 +1 @@
+nng
\ No newline at end of file
diff --git a/srcpkgs/nng-tools b/srcpkgs/nng-tools
new file mode 120000
index 000000000000..cb46bd461484
--- /dev/null
+++ b/srcpkgs/nng-tools
@@ -0,0 +1 @@
+nng
\ No newline at end of file
diff --git a/srcpkgs/nng/template b/srcpkgs/nng/template
new file mode 100644
index 000000000000..02dcd47c6f25
--- /dev/null
+++ b/srcpkgs/nng/template
@@ -0,0 +1,60 @@
+# Template file for 'nng'
+pkgname=nng
+version=1.5.2
+revision=1
+build_style=cmake
+configure_args="-DNNG_TOOLS=ON -DNNG_ENABLE_TLS=ON -DNNG_ENABLE_DOC=ON -DBUILD_SHARED_LIBS=ON"
+hostmakedepends="ruby-asciidoctor"
+makedepends="mbedtls-devel"
+checkdepends="iana-etc"
+short_desc="Nanomsg-next-generation -- light-weight brokerless messaging"
+maintainer="yd.zhang <mtwget@gmail.com>"
+license="MIT"
+homepage="https://nng.nanomsg.org/"
+distfiles="https://github.com/nanomsg/nng/archive/refs/tags/v${version}.tar.gz"
+checksum=f8b25ab86738864b1f2e3128e8badab581510fa8085ff5ca9bb980d317334c46
+
+make_check=ci-skip # reason
+
+if [ "$CROSS_BUILD" ]; then
+	configure_args+=" -DNNG_TESTS=OFF"
+else
+	configure_args+=" -DNNG_TESTS=ON"
+fi
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+fi
+
+post_install() {
+	vlicense LICENSE.txt
+}
+
+nng-doc_package() {
+	short_desc+=" - documentation"
+	pkg_install() {
+		vmove usr/share/doc
+	}
+}
+
+nng-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}-${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.so"
+		vmove usr/lib/cmake
+		vmove usr/share/man/man3
+		vmove "usr/share/man/man3*"
+		vmove usr/share/man/man5
+		vmove usr/share/man/man7
+	}
+}
+
+nng-tools_package() {
+	short_desc+=" - tools"
+	pkg_install() {
+		vmove usr/bin
+		vmove usr/share/man/man1
+	}
+}

From 5a68ba5634faa5a117bd56f51e92341749790377 Mon Sep 17 00:00:00 2001
From: "yd.zhang" <yd.zhang@ilabservice.com>
Date: Wed, 25 Aug 2021 23:05:32 +0800
Subject: [PATCH 2/2] Update srcpkgs/nng/template

Co-authored-by: Arda Demir <ddmirarda@gmail.com>
---
 srcpkgs/nng/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/nng/template b/srcpkgs/nng/template
index 02dcd47c6f25..0d0badd32971 100644
--- a/srcpkgs/nng/template
+++ b/srcpkgs/nng/template
@@ -14,7 +14,8 @@ homepage="https://nng.nanomsg.org/"
 distfiles="https://github.com/nanomsg/nng/archive/refs/tags/v${version}.tar.gz"
 checksum=f8b25ab86738864b1f2e3128e8badab581510fa8085ff5ca9bb980d317334c46
 
-make_check=ci-skip # reason
+# The Github CI environment does not support ipv6
+make_check=ci-skip
 
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" -DNNG_TESTS=OFF"

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

* Re: [PR PATCH] [Updated] New Package: nng-1.5.2
  2021-08-22  6:43 [PR PATCH] New Package: nng-1.5.2 ruantu
                   ` (8 preceding siblings ...)
  2021-08-25 15:05 ` [PR PATCH] [Updated] " ruantu
@ 2021-09-14  6:17 ` ruantu
  9 siblings, 0 replies; 11+ messages in thread
From: ruantu @ 2021-09-14  6:17 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by ruantu against master on the void-packages repository

https://github.com/ruantu/void-packages-nng master
https://github.com/void-linux/void-packages/pull/32625

New Package: nng-1.5.2
#### General
- [x ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

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

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

From 44b94f364d257a9c5288dea710920994b263e95d Mon Sep 17 00:00:00 2001
From: "yd.zhang" <mtwget@gmail.com>
Date: Sun, 22 Aug 2021 15:27:46 +0800
Subject: [PATCH 1/2] New Package: nng-1.5.2

---
 common/shlibs        |  1 +
 srcpkgs/nng-devel    |  1 +
 srcpkgs/nng-doc      |  1 +
 srcpkgs/nng-tools    |  1 +
 srcpkgs/nng/template | 60 ++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 64 insertions(+)
 create mode 120000 srcpkgs/nng-devel
 create mode 120000 srcpkgs/nng-doc
 create mode 120000 srcpkgs/nng-tools
 create mode 100644 srcpkgs/nng/template

diff --git a/common/shlibs b/common/shlibs
index b5363014957e..99526fddf8ca 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4017,3 +4017,4 @@ libmt32emu.so.2 libmt32emu-2.5.1_1
 libqrtr-glib.so.0 libqrtr-glib-1.0.0_1
 libstemmer.so.2 libstemmer-2.1.0_1
 libdecor-0.so.0 libdecor-0.1.0_1
+libnng.so.1 nng-1.5.2_1
diff --git a/srcpkgs/nng-devel b/srcpkgs/nng-devel
new file mode 120000
index 000000000000..cb46bd461484
--- /dev/null
+++ b/srcpkgs/nng-devel
@@ -0,0 +1 @@
+nng
\ No newline at end of file
diff --git a/srcpkgs/nng-doc b/srcpkgs/nng-doc
new file mode 120000
index 000000000000..cb46bd461484
--- /dev/null
+++ b/srcpkgs/nng-doc
@@ -0,0 +1 @@
+nng
\ No newline at end of file
diff --git a/srcpkgs/nng-tools b/srcpkgs/nng-tools
new file mode 120000
index 000000000000..cb46bd461484
--- /dev/null
+++ b/srcpkgs/nng-tools
@@ -0,0 +1 @@
+nng
\ No newline at end of file
diff --git a/srcpkgs/nng/template b/srcpkgs/nng/template
new file mode 100644
index 000000000000..02dcd47c6f25
--- /dev/null
+++ b/srcpkgs/nng/template
@@ -0,0 +1,60 @@
+# Template file for 'nng'
+pkgname=nng
+version=1.5.2
+revision=1
+build_style=cmake
+configure_args="-DNNG_TOOLS=ON -DNNG_ENABLE_TLS=ON -DNNG_ENABLE_DOC=ON -DBUILD_SHARED_LIBS=ON"
+hostmakedepends="ruby-asciidoctor"
+makedepends="mbedtls-devel"
+checkdepends="iana-etc"
+short_desc="Nanomsg-next-generation -- light-weight brokerless messaging"
+maintainer="yd.zhang <mtwget@gmail.com>"
+license="MIT"
+homepage="https://nng.nanomsg.org/"
+distfiles="https://github.com/nanomsg/nng/archive/refs/tags/v${version}.tar.gz"
+checksum=f8b25ab86738864b1f2e3128e8badab581510fa8085ff5ca9bb980d317334c46
+
+make_check=ci-skip # reason
+
+if [ "$CROSS_BUILD" ]; then
+	configure_args+=" -DNNG_TESTS=OFF"
+else
+	configure_args+=" -DNNG_TESTS=ON"
+fi
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+fi
+
+post_install() {
+	vlicense LICENSE.txt
+}
+
+nng-doc_package() {
+	short_desc+=" - documentation"
+	pkg_install() {
+		vmove usr/share/doc
+	}
+}
+
+nng-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}-${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.so"
+		vmove usr/lib/cmake
+		vmove usr/share/man/man3
+		vmove "usr/share/man/man3*"
+		vmove usr/share/man/man5
+		vmove usr/share/man/man7
+	}
+}
+
+nng-tools_package() {
+	short_desc+=" - tools"
+	pkg_install() {
+		vmove usr/bin
+		vmove usr/share/man/man1
+	}
+}

From 5a68ba5634faa5a117bd56f51e92341749790377 Mon Sep 17 00:00:00 2001
From: "yd.zhang" <yd.zhang@ilabservice.com>
Date: Wed, 25 Aug 2021 23:05:32 +0800
Subject: [PATCH 2/2] Update srcpkgs/nng/template

Co-authored-by: Arda Demir <ddmirarda@gmail.com>
---
 srcpkgs/nng/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/nng/template b/srcpkgs/nng/template
index 02dcd47c6f25..0d0badd32971 100644
--- a/srcpkgs/nng/template
+++ b/srcpkgs/nng/template
@@ -14,7 +14,8 @@ homepage="https://nng.nanomsg.org/"
 distfiles="https://github.com/nanomsg/nng/archive/refs/tags/v${version}.tar.gz"
 checksum=f8b25ab86738864b1f2e3128e8badab581510fa8085ff5ca9bb980d317334c46
 
-make_check=ci-skip # reason
+# The Github CI environment does not support ipv6
+make_check=ci-skip
 
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" -DNNG_TESTS=OFF"

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

end of thread, other threads:[~2021-09-14  6:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-22  6:43 [PR PATCH] New Package: nng-1.5.2 ruantu
2021-08-22  7:24 ` paper42
2021-08-22  7:25 ` paper42
2021-08-22  7:28 ` [PR PATCH] [Updated] " ruantu
2021-08-22  7:41 ` ruantu
2021-08-22  7:43 ` paper42
2021-08-22  7:56 ` [PR PATCH] [Updated] " ruantu
2021-08-22  8:19 ` ruantu
2021-08-22  8:48 ` [PR REVIEW] " ardadem
2021-08-25 15:05 ` [PR PATCH] [Updated] " ruantu
2021-09-14  6:17 ` ruantu

Github messages for voidlinux

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.vuxu.org/voidlinux-github

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 voidlinux-github voidlinux-github/ https://inbox.vuxu.org/voidlinux-github \
		voidlinux-github@inbox.vuxu.org
	public-inbox-index voidlinux-github

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.github.voidlinux


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git