Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New Package: nng-1.4.0
@ 2021-06-08  6:57 ruantu
  2021-06-08  7:26 ` [PR PATCH] [Updated] " ruantu
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: ruantu @ 2021-06-08  6:57 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ruantu/void-packages new_package_nng
https://github.com/void-linux/void-packages/pull/31356

New Package: nng-1.4.0
#### 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/31356.patch is attached

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

From dee31d6f88ddc1357bef39ec2ab10cf42c7f3a90 Mon Sep 17 00:00:00 2001
From: "yd.zhang" <yd.zhang@ilabservice.com>
Date: Tue, 8 Jun 2021 13:30:03 +0800
Subject: [PATCH] New Package: nng-1.4.0

---
 common/shlibs        |  1 +
 srcpkgs/nng-devel    |  1 +
 srcpkgs/nng-doc      |  1 +
 srcpkgs/nng-tools    |  1 +
 srcpkgs/nng/template | 55 ++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 59 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 7cfb4f583c9c..27ebc0a91aff 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4007,3 +4007,4 @@ libbasu.so.0 basu-0.2.0_1
 libXcomp.so.3 nx-libs-3.5.99.24_1
 libXcompshad.so.3 nx-libs-3.5.99.24_1
 libNX_X11.so.6 nx-libs-3.5.99.24_1
+libnng.so.1 nng-1.4.0_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..e13e13e36325
--- /dev/null
+++ b/srcpkgs/nng/template
@@ -0,0 +1,55 @@
+# Template file for 'nng'
+pkgname=nng
+version=1.4.0
+revision=1
+build_style=cmake
+configure_args="-DNNG_ENABLE_TLS=ON -DNNG_ENABLE_DOC=ON -DBUILD_SHARED_LIBS=ON"
+hostmakedepends="ruby-asciidoctor"
+makedepends="mbedtls-devel"
+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/${pkgname}/archive/refs/tags/v${version}.tar.gz"
+checksum=e0af76aff291c670d091a07a4e71febf7b7a254f1ab5939f9464ccbd8f8aa2ba
+
+if [ "$CROSS_BUILD" ]; then
+	configure_args+=" -DNNG_TOOLS=ON -DNNG_TESTS=OFF"
+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] 9+ messages in thread

* Re: [PR PATCH] [Updated] New Package: nng-1.4.0
  2021-06-08  6:57 [PR PATCH] New Package: nng-1.4.0 ruantu
@ 2021-06-08  7:26 ` ruantu
  2021-06-08 12:35 ` [PR REVIEW] " ericonr
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: ruantu @ 2021-06-08  7:26 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ruantu/void-packages new_package_nng
https://github.com/void-linux/void-packages/pull/31356

New Package: nng-1.4.0
#### 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/31356.patch is attached

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

From 97ee5c0991e0e52155db393e358f70104fb10ee9 Mon Sep 17 00:00:00 2001
From: "yd.zhang" <yd.zhang@ilabservice.com>
Date: Tue, 8 Jun 2021 13:30:03 +0800
Subject: [PATCH] New Package: nng-1.4.0

---
 common/shlibs        |  1 +
 srcpkgs/nng-devel    |  1 +
 srcpkgs/nng-doc      |  1 +
 srcpkgs/nng-tools    |  1 +
 srcpkgs/nng/template | 57 ++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 61 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 7cfb4f583c9c..27ebc0a91aff 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4007,3 +4007,4 @@ libbasu.so.0 basu-0.2.0_1
 libXcomp.so.3 nx-libs-3.5.99.24_1
 libXcompshad.so.3 nx-libs-3.5.99.24_1
 libNX_X11.so.6 nx-libs-3.5.99.24_1
+libnng.so.1 nng-1.4.0_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..e602fad3765f
--- /dev/null
+++ b/srcpkgs/nng/template
@@ -0,0 +1,57 @@
+# Template file for 'nng'
+pkgname=nng
+version=1.4.0
+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"
+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/${pkgname}/archive/refs/tags/v${version}.tar.gz"
+checksum=e0af76aff291c670d091a07a4e71febf7b7a254f1ab5939f9464ccbd8f8aa2ba
+
+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] 9+ messages in thread

* Re: [PR REVIEW] New Package: nng-1.4.0
  2021-06-08  6:57 [PR PATCH] New Package: nng-1.4.0 ruantu
  2021-06-08  7:26 ` [PR PATCH] [Updated] " ruantu
@ 2021-06-08 12:35 ` ericonr
  2021-06-08 16:35 ` ruantu
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: ericonr @ 2021-06-08 12:35 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/31356#discussion_r647394976

Comment:
Expand `pkgname` here.

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

* Re: [PR REVIEW] New Package: nng-1.4.0
  2021-06-08  6:57 [PR PATCH] New Package: nng-1.4.0 ruantu
  2021-06-08  7:26 ` [PR PATCH] [Updated] " ruantu
  2021-06-08 12:35 ` [PR REVIEW] " ericonr
@ 2021-06-08 16:35 ` ruantu
  2021-06-09  2:26 ` [PR PATCH] [Updated] " ruantu
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: ruantu @ 2021-06-08 16:35 UTC (permalink / raw)
  To: ml

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

New review comment by ruantu on void-packages repository

https://github.com/void-linux/void-packages/pull/31356#discussion_r647612079

Comment:
Ok, I will fix it.

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

* Re: [PR PATCH] [Updated] New Package: nng-1.4.0
  2021-06-08  6:57 [PR PATCH] New Package: nng-1.4.0 ruantu
                   ` (2 preceding siblings ...)
  2021-06-08 16:35 ` ruantu
@ 2021-06-09  2:26 ` ruantu
  2021-06-09  3:10 ` ruantu
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: ruantu @ 2021-06-09  2:26 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ruantu/void-packages new_package_nng
https://github.com/void-linux/void-packages/pull/31356

New Package: nng-1.4.0
#### 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/31356.patch is attached

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

From 254d17c3fb9904cf6cb445331891bbd2dc1c5b89 Mon Sep 17 00:00:00 2001
From: "yd.zhang" <yd.zhang@ilabservice.com>
Date: Tue, 8 Jun 2021 13:30:03 +0800
Subject: [PATCH] New Package: nng-1.4.0

---
 common/shlibs        |  1 +
 srcpkgs/nng-devel    |  1 +
 srcpkgs/nng-doc      |  1 +
 srcpkgs/nng-tools    |  1 +
 srcpkgs/nng/template | 57 ++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 61 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 7cfb4f583c9c..27ebc0a91aff 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4007,3 +4007,4 @@ libbasu.so.0 basu-0.2.0_1
 libXcomp.so.3 nx-libs-3.5.99.24_1
 libXcompshad.so.3 nx-libs-3.5.99.24_1
 libNX_X11.so.6 nx-libs-3.5.99.24_1
+libnng.so.1 nng-1.4.0_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..045c8b01ecf7
--- /dev/null
+++ b/srcpkgs/nng/template
@@ -0,0 +1,57 @@
+# Template file for 'nng'
+pkgname=nng
+version=1.4.0
+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"
+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=e0af76aff291c670d091a07a4e71febf7b7a254f1ab5939f9464ccbd8f8aa2ba
+
+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] 9+ messages in thread

* Re: [PR PATCH] [Updated] New Package: nng-1.4.0
  2021-06-08  6:57 [PR PATCH] New Package: nng-1.4.0 ruantu
                   ` (3 preceding siblings ...)
  2021-06-09  2:26 ` [PR PATCH] [Updated] " ruantu
@ 2021-06-09  3:10 ` ruantu
  2021-06-09  3:16 ` ruantu
  2021-08-22  6:31 ` [PR PATCH] [Closed]: " ruantu
  6 siblings, 0 replies; 9+ messages in thread
From: ruantu @ 2021-06-09  3:10 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ruantu/void-packages new_package_nng
https://github.com/void-linux/void-packages/pull/31356

New Package: nng-1.4.0
#### 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/31356.patch is attached

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

From 582539281efb561b4d4efcf200c3d91bef789adb Mon Sep 17 00:00:00 2001
From: "yd.zhang" <yd.zhang@ilabservice.com>
Date: Tue, 8 Jun 2021 13:30:03 +0800
Subject: [PATCH] New Package: nng-1.4.0

---
 common/shlibs        |  1 +
 srcpkgs/nng-devel    |  1 +
 srcpkgs/nng-doc      |  1 +
 srcpkgs/nng-tools    |  1 +
 srcpkgs/nng/template | 57 ++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 61 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 7cfb4f583c9c..27ebc0a91aff 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4007,3 +4007,4 @@ libbasu.so.0 basu-0.2.0_1
 libXcomp.so.3 nx-libs-3.5.99.24_1
 libXcompshad.so.3 nx-libs-3.5.99.24_1
 libNX_X11.so.6 nx-libs-3.5.99.24_1
+libnng.so.1 nng-1.4.0_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..50d4838afa41
--- /dev/null
+++ b/srcpkgs/nng/template
@@ -0,0 +1,57 @@
+# Template file for 'nng'
+pkgname=nng
+version=1.4.0
+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 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=e0af76aff291c670d091a07a4e71febf7b7a254f1ab5939f9464ccbd8f8aa2ba
+
+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] 9+ messages in thread

* Re: [PR PATCH] [Updated] New Package: nng-1.4.0
  2021-06-08  6:57 [PR PATCH] New Package: nng-1.4.0 ruantu
                   ` (4 preceding siblings ...)
  2021-06-09  3:10 ` ruantu
@ 2021-06-09  3:16 ` ruantu
  2021-08-22  6:31 ` [PR PATCH] [Closed]: " ruantu
  6 siblings, 0 replies; 9+ messages in thread
From: ruantu @ 2021-06-09  3:16 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ruantu/void-packages new_package_nng
https://github.com/void-linux/void-packages/pull/31356

New Package: nng-1.4.0
#### 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/31356.patch is attached

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

From 16f80ef01cefe843b6e14b79952e3163cbcf24f8 Mon Sep 17 00:00:00 2001
From: "yd.zhang" <yd.zhang@ilabservice.com>
Date: Tue, 8 Jun 2021 13:30:03 +0800
Subject: [PATCH] New Package: nng-1.4.0

---
 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 7cfb4f583c9c..27ebc0a91aff 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4007,3 +4007,4 @@ libbasu.so.0 basu-0.2.0_1
 libXcomp.so.3 nx-libs-3.5.99.24_1
 libXcompshad.so.3 nx-libs-3.5.99.24_1
 libNX_X11.so.6 nx-libs-3.5.99.24_1
+libnng.so.1 nng-1.4.0_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..5ca28dcddfb7
--- /dev/null
+++ b/srcpkgs/nng/template
@@ -0,0 +1,58 @@
+# Template file for 'nng'
+pkgname=nng
+version=1.4.0
+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=e0af76aff291c670d091a07a4e71febf7b7a254f1ab5939f9464ccbd8f8aa2ba
+
+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] 9+ messages in thread

* Re: [PR PATCH] [Closed]: New Package: nng-1.4.0
  2021-06-08  6:57 [PR PATCH] New Package: nng-1.4.0 ruantu
                   ` (5 preceding siblings ...)
  2021-06-09  3:16 ` ruantu
@ 2021-08-22  6:31 ` ruantu
  6 siblings, 0 replies; 9+ messages in thread
From: ruantu @ 2021-08-22  6:31 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

New Package: nng-1.4.0
https://github.com/void-linux/void-packages/pull/31356

Description:
#### 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

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

* [PR PATCH] New package: nng-1.4.0
@ 2021-06-04  8:55 ruantu
  0 siblings, 0 replies; 9+ messages in thread
From: ruantu @ 2021-06-04  8:55 UTC (permalink / raw)
  To: ml

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

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

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

New package: nng-1.4.0
#### 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

<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (host: armv7l)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] aarch64-musl (host: x86_64)
  - [x] armv7l (host: x86_64)
  - [x] armv6l-musl (host: x86_64)
-->


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

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

From fe29fea6e77c09240dd039768b4a1d474f36ef3e Mon Sep 17 00:00:00 2001
From: "yd.zhang" <yd.zhang@ilabservice.com>
Date: Fri, 4 Jun 2021 15:56:54 +0800
Subject: [PATCH] New package: nng-1.4.0

---
 common/shlibs                                 |   1 +
 srcpkgs/libnng                                |   1 +
 srcpkgs/libnng-devel                          |   1 +
 srcpkgs/nng/patches/0001-no_html_doc.patch    |  37 ++++
 .../patches/0002-no_non-standard_doc.patch    | 160 ++++++++++++++++++
 srcpkgs/nng/template                          |  42 +++++
 6 files changed, 242 insertions(+)
 create mode 120000 srcpkgs/libnng
 create mode 120000 srcpkgs/libnng-devel
 create mode 100644 srcpkgs/nng/patches/0001-no_html_doc.patch
 create mode 100644 srcpkgs/nng/patches/0002-no_non-standard_doc.patch
 create mode 100644 srcpkgs/nng/template

diff --git a/common/shlibs b/common/shlibs
index ba589537b1f3..60f6c93bd62d 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4007,3 +4007,4 @@ libbasu.so.0 basu-0.2.0_1
 libXcomp.so.3 nx-libs-3.5.99.24_1
 libXcompshad.so.3 nx-libs-3.5.99.24_1
 libNX_X11.so.6 nx-libs-3.5.99.24_1
+libnng.so.1 libnng-1.4.0_1
diff --git a/srcpkgs/libnng b/srcpkgs/libnng
new file mode 120000
index 000000000000..cb46bd461484
--- /dev/null
+++ b/srcpkgs/libnng
@@ -0,0 +1 @@
+nng
\ No newline at end of file
diff --git a/srcpkgs/libnng-devel b/srcpkgs/libnng-devel
new file mode 120000
index 000000000000..cb46bd461484
--- /dev/null
+++ b/srcpkgs/libnng-devel
@@ -0,0 +1 @@
+nng
\ No newline at end of file
diff --git a/srcpkgs/nng/patches/0001-no_html_doc.patch b/srcpkgs/nng/patches/0001-no_html_doc.patch
new file mode 100644
index 000000000000..7d1b0d6dc7a4
--- /dev/null
+++ b/srcpkgs/nng/patches/0001-no_html_doc.patch
@@ -0,0 +1,37 @@
+--- docs/man/CMakeLists.txt
++++ docs/man/CMakeLists.txt
+@@ -25,7 +25,6 @@
+     set(NNG_DOCDIR ${CMAKE_CURRENT_SOURCE_DIR})
+ 
+     set(NNG_A2M ${ASCIIDOCTOR} -b manpage -amanmanual='NNG Reference Manual')
+-    set(NNG_A2H ${ASCIIDOCTOR} -a nofooter -atoc=left -aicons=font -d manpage -b html5)
+ 
+     macro(nng_man NAME SECT)
+ 
+@@ -35,20 +34,9 @@
+                 MAIN_DEPENDENCY ${NNG_DOCDIR}/${NAME}.${SECT}.adoc
+         )
+ 
+-        add_custom_command(
+-                OUTPUT ${NAME}.${SECT}.html
+-                COMMAND ${NNG_A2H} -o ${NAME}.${SECT}.html ${NNG_DOCDIR}/${NAME}.${SECT}.adoc
+-                MAIN_DEPENDENCY ${NNG_DOCDIR}/${NAME}.${SECT}.adoc
+-        )
+-
+         set(NNG_MANS ${NNG_MANS} ${NAME}.${SECT})
+-        set(NNG_HTMLS ${NNG_HTMLS} ${NAME}.${SECT}.html)
+ 
+         install(
+-                FILES ${CMAKE_CURRENT_BINARY_DIR}/${NAME}.${SECT}.html
+-                DESTINATION ${CMAKE_INSTALL_DOCDIR}
+-        )
+-        install(
+                 FILES ${CMAKE_CURRENT_BINARY_DIR}/${NAME}.${SECT}
+                 DESTINATION ${CMAKE_INSTALL_MANDIR}/man${SECT}
+         )
+@@ -433,5 +421,4 @@
+     endforeach ()
+ 
+     add_custom_target(man ALL DEPENDS ${NNG_MANS})
+-    add_custom_target(html ALL DEPENDS ${NNG_HTMLS})
+ endif ()
diff --git a/srcpkgs/nng/patches/0002-no_non-standard_doc.patch b/srcpkgs/nng/patches/0002-no_non-standard_doc.patch
new file mode 100644
index 000000000000..3674c1322a88
--- /dev/null
+++ b/srcpkgs/nng/patches/0002-no_non-standard_doc.patch
@@ -0,0 +1,160 @@
+--- docs/man/CMakeLists.txt
++++ docs/man/CMakeLists.txt
+@@ -181,157 +181,6 @@
+             nng_zt_register
+             )
+ 
+-    set(NNG_MAN3COMPAT
+-            nn_allocmsg
+-            nn_bind
+-            nn_close
+-            nn_cmsg
+-            nn_connect
+-            nn_device
+-            nn_errno
+-            nn_freemsg
+-            nn_get_statistic
+-            nn_getsockopt
+-            nn_poll
+-            nn_reallocmsg
+-            nn_recv
+-            nn_recvmsg
+-            nn_send
+-            nn_sendmsg
+-            nn_setsockopt
+-            nn_shutdown
+-            nn_socket
+-            nn_strerror
+-            nn_term
+-            nng_compat
+-            )
+-
+-    set(NNG_MAN3HTTP
+-            nng_http_client_alloc
+-            nng_http_client_connect
+-            nng_http_client_free
+-            nng_http_client_get_tls
+-            nng_http_client_set_tls
+-            nng_http_client_transact
+-            nng_http_conn_close
+-            nng_http_conn_read
+-            nng_http_conn_read_all
+-            nng_http_conn_read_req
+-            nng_http_conn_read_res
+-            nng_http_conn_transact
+-            nng_http_conn_write
+-            nng_http_conn_write_all
+-            nng_http_conn_write_req
+-            nng_http_conn_write_res
+-            nng_http_handler_alloc
+-            nng_http_handler_free
+-            nng_http_handler_get_data
+-            nng_http_handler_set_data
+-            nng_http_handler_set_host
+-            nng_http_handler_set_method
+-            nng_http_handler_set_tree
+-            nng_http_hijack
+-            nng_http_req_add_header
+-            nng_http_req_alloc
+-            nng_http_req_copy_data
+-            nng_http_req_del_header
+-            nng_http_req_free
+-            nng_http_req_get_data
+-            nng_http_req_get_header
+-            nng_http_req_get_method
+-            nng_http_req_get_uri
+-            nng_http_req_get_version
+-            nng_http_req_reset
+-            nng_http_req_set_data
+-            nng_http_req_set_header
+-            nng_http_req_set_method
+-            nng_http_req_set_uri
+-            nng_http_req_set_version
+-            nng_http_res_add_header
+-            nng_http_res_alloc
+-            nng_http_res_alloc_error
+-            nng_http_res_copy_data
+-            nng_http_res_del_header
+-            nng_http_res_free
+-            nng_http_res_get_data
+-            nng_http_res_get_header
+-            nng_http_res_get_reason
+-            nng_http_res_get_status
+-            nng_http_res_get_version
+-            nng_http_res_reset
+-            nng_http_res_set_data
+-            nng_http_res_set_header
+-            nng_http_res_set_reason
+-            nng_http_res_set_status
+-            nng_http_res_set_version
+-            nng_http_server_add_handler
+-            nng_http_server_del_handler
+-            nng_http_server_get_addr
+-            nng_http_server_get_tls
+-            nng_http_server_hold
+-            nng_http_server_release
+-            nng_http_server_set_tls
+-            nng_http_server_start
+-            nng_http_server_stop
+-            )
+-
+-    set(NNG_MAN3SUPP
+-            nng_clock
+-            nng_cv_alloc
+-            nng_cv_free
+-            nng_cv_until
+-            nng_cv_wait
+-            nng_cv_wake
+-            nng_cv_wake1
+-            nng_msleep
+-            nng_mtx_alloc
+-            nng_mtx_free
+-            nng_mtx_lock
+-            nng_mtx_unlock
+-            nng_opts_parse
+-            nng_random
+-            nng_thread_create
+-            nng_thread_destroy
+-            nng_thread_set_name
+-            )
+-
+-    set(NNG_MAN3STR
+-            nng_stream_close
+-            nng_stream_free
+-            nng_stream_get
+-            nng_stream_recv
+-            nng_stream_send
+-            nng_stream_set
+-            nng_stream_dialer_alloc
+-            nng_stream_dialer_close
+-            nng_stream_dialer_dial
+-            nng_stream_dialer_free
+-            nng_stream_dialer_get
+-            nng_stream_dialer_set
+-            nng_stream_listener_accept
+-            nng_stream_listener_alloc
+-            nng_stream_listener_close
+-            nng_stream_listener_free
+-            nng_stream_listener_get
+-            nng_stream_listener_listen
+-            nng_stream_listener_set
+-            )
+-
+-    set(NNG_MAN3TLS
+-            nng_tls_config_alloc
+-            nng_tls_config_auth_mode
+-            nng_tls_config_ca_chain
+-            nng_tls_config_ca_file
+-            nng_tls_config_cert_key_file
+-            nng_tls_config_free
+-            nng_tls_config_hold
+-            nng_tls_config_own_cert
+-            nng_tls_config_server_name
+-            nng_tls_engine_description
+-            nng_tls_engine_fips_mode
+-            nng_tls_engine_name
+-            )
+-
+     set(NNG_MAN5
+             nng_aio
+             nng_ctx
diff --git a/srcpkgs/nng/template b/srcpkgs/nng/template
new file mode 100644
index 000000000000..2e8718467ac2
--- /dev/null
+++ b/srcpkgs/nng/template
@@ -0,0 +1,42 @@
+# Template file for 'nng'
+pkgname=nng
+version=1.4.0
+revision=1
+build_style=cmake
+configure_args="-DBUILD_SHARED_LIBS=ON -DNNG_TESTS=OFF -DNNG_TOOLS=ON -DNNG_ENABLE_DOC=ON -DNNG_ENABLE_TLS=ON"
+hostmakedepends="ruby-asciidoctor"
+makedepends="mbedtls-devel"
+short_desc="nanomsg next generation utilities"
+maintainer="yd.zhang <yd.zhang@ilabservice.com>"
+license="MIT"
+homepage="https://nng.nanomsg.org/"
+distfiles="https://github.com/nanomsg/${pkgname}/archive/refs/tags/v${version}.tar.gz"
+checksum=e0af76aff291c670d091a07a4e71febf7b7a254f1ab5939f9464ccbd8f8aa2ba
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
+fi
+
+post_install() {
+	vlicense LICENSE.txt
+}
+
+libnng_package() {
+	short_desc="nanomsg next generation library"
+	pkg_install() {
+		vmove "usr/lib/*.so.*"
+	}
+}
+
+libnng-devel_package() {
+	depends="libnng-${version}_${revision}"
+	short_desc="nanomsg next generation library - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.so"
+		vmove usr/lib/cmake
+		vmove usr/share/man/man3
+		vmove usr/share/man/man5
+		vmove usr/share/man/man7
+	}
+}

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

end of thread, other threads:[~2021-08-22  6:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-08  6:57 [PR PATCH] New Package: nng-1.4.0 ruantu
2021-06-08  7:26 ` [PR PATCH] [Updated] " ruantu
2021-06-08 12:35 ` [PR REVIEW] " ericonr
2021-06-08 16:35 ` ruantu
2021-06-09  2:26 ` [PR PATCH] [Updated] " ruantu
2021-06-09  3:10 ` ruantu
2021-06-09  3:16 ` ruantu
2021-08-22  6:31 ` [PR PATCH] [Closed]: " ruantu
  -- strict thread matches above, loose matches on Subject: below --
2021-06-04  8:55 [PR PATCH] New package: nng-1.4.0 ruantu

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