Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] [WIP] New package: opencamlib-2019.07
@ 2020-08-29  1:53 karl-nilsson
  2020-08-29  2:50 ` ahesford
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: karl-nilsson @ 2020-08-29  1:53 UTC (permalink / raw)
  To: ml

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

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

https://github.com/karl-nilsson/void-packages opencamlib
https://github.com/void-linux/void-packages/pull/24529

[WIP] New package: opencamlib-2019.07
@Piraty the python bindings depend on vtk's python wrapper. How difficult would it be to enable that in vtk?

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

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

From 752f281b9b5d96b7d4d907e4b88df8b2a077d399 Mon Sep 17 00:00:00 2001
From: Karl Nilsson <karl.robert.nilsson@gmail.com>
Date: Wed, 29 Jul 2020 23:51:18 -0400
Subject: [PATCH] New package: opencamlib-2019.07

---
 common/shlibs               |  1 +
 srcpkgs/opencamlib-devel    |  1 +
 srcpkgs/opencamlib-python3  |  1 +
 srcpkgs/opencamlib/template | 34 ++++++++++++++++++++++++++++++++++
 4 files changed, 37 insertions(+)
 create mode 120000 srcpkgs/opencamlib-devel
 create mode 120000 srcpkgs/opencamlib-python3
 create mode 100644 srcpkgs/opencamlib/template

diff --git a/common/shlibs b/common/shlibs
index 4ee9b8a8e32..87ad1687d0c 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3975,6 +3975,7 @@ libtexlua53.so.5 texlive-LuaTeX-20200406_1
 libptexenc.so.1 texlive-20200406_1
 libsynctex.so.2 libsynctex-20200406_3
 libdolphinvcs.so.5 dolphin-20.04.3_1
+libocl.so.2019.07 opencamlib-2019.07_1
 libcglm.so.0 cglm-0.7.6_1
 libfcft.so.3 fcft-2.2.2_1
 libaml.so.0 aml-0.1.0_1
diff --git a/srcpkgs/opencamlib-devel b/srcpkgs/opencamlib-devel
new file mode 120000
index 00000000000..04163ffbe65
--- /dev/null
+++ b/srcpkgs/opencamlib-devel
@@ -0,0 +1 @@
+opencamlib/
\ No newline at end of file
diff --git a/srcpkgs/opencamlib-python3 b/srcpkgs/opencamlib-python3
new file mode 120000
index 00000000000..04163ffbe65
--- /dev/null
+++ b/srcpkgs/opencamlib-python3
@@ -0,0 +1 @@
+opencamlib/
\ No newline at end of file
diff --git a/srcpkgs/opencamlib/template b/srcpkgs/opencamlib/template
new file mode 100644
index 00000000000..2178c3fb344
--- /dev/null
+++ b/srcpkgs/opencamlib/template
@@ -0,0 +1,34 @@
+# Template file for 'opencamlib'
+pkgname=opencamlib
+version=2019.07
+revision=1
+build_style=cmake
+configure_args="-DBUILD_PY_LIB=ON -DUSE_PY_3=ON -DVERSION_STRING=${version}"
+hostmakedepends="python3-devel"
+makedepends="boost-devel libboost_program_options1.72 libgomp-devel"
+short_desc="Open source computer aided manufacturing algorithms library"
+maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
+license="LGPL-2.1-or-later"
+homepage="http://www.anderswallin.net/CAM"
+distfiles="https://github.com/aewallin/opencamlib/archive/${version}.tar.gz"
+checksum=e08ab50672e24b51d30938ac60a6caa38bd8f5fb5f8fa3375dec0e69031cb620
+
+pkg_install() {
+	vmove usr/lib/opencamlib/
+}
+
+opencamlib-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+	}
+}
+
+opencamlib-python3_package() {
+	short_desc+=" - Python3 bindings"a
+	depends="python3"
+	pkg_install() {
+		vmove "usr/lib/python3*"
+	}
+}

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

* Re: [WIP] New package: opencamlib-2019.07
  2020-08-29  1:53 [PR PATCH] [WIP] New package: opencamlib-2019.07 karl-nilsson
@ 2020-08-29  2:50 ` ahesford
  2020-08-29 14:29 ` [PR PATCH] [Updated] " karl-nilsson
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ahesford @ 2020-08-29  2:50 UTC (permalink / raw)
  To: ml

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

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/24529#issuecomment-683225276

Comment:
VTK python bindings in #24531 

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

* Re: [PR PATCH] [Updated] [WIP] New package: opencamlib-2019.07
  2020-08-29  1:53 [PR PATCH] [WIP] New package: opencamlib-2019.07 karl-nilsson
  2020-08-29  2:50 ` ahesford
@ 2020-08-29 14:29 ` karl-nilsson
  2020-08-29 14:29 ` karl-nilsson
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: karl-nilsson @ 2020-08-29 14:29 UTC (permalink / raw)
  To: ml

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

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

https://github.com/karl-nilsson/void-packages opencamlib
https://github.com/void-linux/void-packages/pull/24529

[WIP] New package: opencamlib-2019.07
@Piraty the python bindings depend on vtk's python wrapper. How difficult would it be to enable that in vtk?

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

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

From d0670d7b0466a4d89ab82cde374ca2a5d0cc5ddf Mon Sep 17 00:00:00 2001
From: Karl Nilsson <karl.robert.nilsson@gmail.com>
Date: Wed, 29 Jul 2020 23:51:18 -0400
Subject: [PATCH] New package: opencamlib-2019.07

---
 common/shlibs               |  1 +
 srcpkgs/opencamlib-devel    |  1 +
 srcpkgs/opencamlib-python3  |  1 +
 srcpkgs/opencamlib/template | 34 ++++++++++++++++++++++++++++++++++
 4 files changed, 37 insertions(+)
 create mode 120000 srcpkgs/opencamlib-devel
 create mode 120000 srcpkgs/opencamlib-python3
 create mode 100644 srcpkgs/opencamlib/template

diff --git a/common/shlibs b/common/shlibs
index 4ee9b8a8e32..87ad1687d0c 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3975,6 +3975,7 @@ libtexlua53.so.5 texlive-LuaTeX-20200406_1
 libptexenc.so.1 texlive-20200406_1
 libsynctex.so.2 libsynctex-20200406_3
 libdolphinvcs.so.5 dolphin-20.04.3_1
+libocl.so.2019.07 opencamlib-2019.07_1
 libcglm.so.0 cglm-0.7.6_1
 libfcft.so.3 fcft-2.2.2_1
 libaml.so.0 aml-0.1.0_1
diff --git a/srcpkgs/opencamlib-devel b/srcpkgs/opencamlib-devel
new file mode 120000
index 00000000000..04163ffbe65
--- /dev/null
+++ b/srcpkgs/opencamlib-devel
@@ -0,0 +1 @@
+opencamlib/
\ No newline at end of file
diff --git a/srcpkgs/opencamlib-python3 b/srcpkgs/opencamlib-python3
new file mode 120000
index 00000000000..04163ffbe65
--- /dev/null
+++ b/srcpkgs/opencamlib-python3
@@ -0,0 +1 @@
+opencamlib/
\ No newline at end of file
diff --git a/srcpkgs/opencamlib/template b/srcpkgs/opencamlib/template
new file mode 100644
index 00000000000..ce73ca043e6
--- /dev/null
+++ b/srcpkgs/opencamlib/template
@@ -0,0 +1,34 @@
+# Template file for 'opencamlib'
+pkgname=opencamlib
+version=2019.07
+revision=1
+build_style=cmake
+configure_args="-DBUILD_PY_LIB=ON -DUSE_PY_3=ON -DVERSION_STRING=${version}"
+hostmakedepends="python3-devel"
+makedepends="boost-devel libboost_program_options1.72 libgomp-devel"
+short_desc="Open source computer aided manufacturing algorithms library"
+maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
+license="LGPL-2.1-or-later"
+homepage="http://www.anderswallin.net/CAM"
+distfiles="https://github.com/aewallin/opencamlib/archive/${version}.tar.gz"
+checksum=e08ab50672e24b51d30938ac60a6caa38bd8f5fb5f8fa3375dec0e69031cb620
+
+pkg_install() {
+	vmove usr/lib/opencamlib/
+}
+
+opencamlib-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+	}
+}
+
+opencamlib-python3_package() {
+	short_desc+=" - Python3 bindings"
+	depends="vtk-python3"
+	pkg_install() {
+		vmove "usr/lib/python3*"
+	}
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: opencamlib-2019.07
  2020-08-29  1:53 [PR PATCH] [WIP] New package: opencamlib-2019.07 karl-nilsson
  2020-08-29  2:50 ` ahesford
  2020-08-29 14:29 ` [PR PATCH] [Updated] " karl-nilsson
@ 2020-08-29 14:29 ` karl-nilsson
  2020-08-29 15:29 ` karl-nilsson
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: karl-nilsson @ 2020-08-29 14:29 UTC (permalink / raw)
  To: ml

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

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

https://github.com/karl-nilsson/void-packages opencamlib
https://github.com/void-linux/void-packages/pull/24529

[WIP] New package: opencamlib-2019.07
@Piraty the python bindings depend on vtk's python wrapper. How difficult would it be to enable that in vtk?

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

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

From ecca40a754ab39ec7de4c999240c6901dad13780 Mon Sep 17 00:00:00 2001
From: Karl Nilsson <karl.robert.nilsson@gmail.com>
Date: Wed, 29 Jul 2020 23:51:18 -0400
Subject: [PATCH] New package: opencamlib-2019.07

---
 common/shlibs               |  1 +
 srcpkgs/opencamlib-devel    |  1 +
 srcpkgs/opencamlib-python3  |  1 +
 srcpkgs/opencamlib/template | 34 ++++++++++++++++++++++++++++++++++
 4 files changed, 37 insertions(+)
 create mode 120000 srcpkgs/opencamlib-devel
 create mode 120000 srcpkgs/opencamlib-python3
 create mode 100644 srcpkgs/opencamlib/template

diff --git a/common/shlibs b/common/shlibs
index a6b5737b845..31f7806cdd0 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3982,6 +3982,7 @@ libtexlua53.so.5 texlive-LuaTeX-20200406_1
 libptexenc.so.1 texlive-20200406_1
 libsynctex.so.2 libsynctex-20200406_3
 libdolphinvcs.so.5 dolphin-20.04.3_1
+libocl.so.2019.07 opencamlib-2019.07_1
 libcglm.so.0 cglm-0.7.6_1
 libfcft.so.3 fcft-2.2.2_1
 libaml.so.0 aml-0.1.0_1
diff --git a/srcpkgs/opencamlib-devel b/srcpkgs/opencamlib-devel
new file mode 120000
index 00000000000..04163ffbe65
--- /dev/null
+++ b/srcpkgs/opencamlib-devel
@@ -0,0 +1 @@
+opencamlib/
\ No newline at end of file
diff --git a/srcpkgs/opencamlib-python3 b/srcpkgs/opencamlib-python3
new file mode 120000
index 00000000000..04163ffbe65
--- /dev/null
+++ b/srcpkgs/opencamlib-python3
@@ -0,0 +1 @@
+opencamlib/
\ No newline at end of file
diff --git a/srcpkgs/opencamlib/template b/srcpkgs/opencamlib/template
new file mode 100644
index 00000000000..ce73ca043e6
--- /dev/null
+++ b/srcpkgs/opencamlib/template
@@ -0,0 +1,34 @@
+# Template file for 'opencamlib'
+pkgname=opencamlib
+version=2019.07
+revision=1
+build_style=cmake
+configure_args="-DBUILD_PY_LIB=ON -DUSE_PY_3=ON -DVERSION_STRING=${version}"
+hostmakedepends="python3-devel"
+makedepends="boost-devel libboost_program_options1.72 libgomp-devel"
+short_desc="Open source computer aided manufacturing algorithms library"
+maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
+license="LGPL-2.1-or-later"
+homepage="http://www.anderswallin.net/CAM"
+distfiles="https://github.com/aewallin/opencamlib/archive/${version}.tar.gz"
+checksum=e08ab50672e24b51d30938ac60a6caa38bd8f5fb5f8fa3375dec0e69031cb620
+
+pkg_install() {
+	vmove usr/lib/opencamlib/
+}
+
+opencamlib-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+	}
+}
+
+opencamlib-python3_package() {
+	short_desc+=" - Python3 bindings"
+	depends="vtk-python3"
+	pkg_install() {
+		vmove "usr/lib/python3*"
+	}
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: opencamlib-2019.07
  2020-08-29  1:53 [PR PATCH] [WIP] New package: opencamlib-2019.07 karl-nilsson
                   ` (2 preceding siblings ...)
  2020-08-29 14:29 ` karl-nilsson
@ 2020-08-29 15:29 ` karl-nilsson
  2020-08-29 15:33 ` [PR PATCH] [Updated] " karl-nilsson
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: karl-nilsson @ 2020-08-29 15:29 UTC (permalink / raw)
  To: ml

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

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

https://github.com/karl-nilsson/void-packages opencamlib
https://github.com/void-linux/void-packages/pull/24529

[WIP] New package: opencamlib-2019.07
@Piraty the python bindings depend on vtk's python wrapper. How difficult would it be to enable that in vtk?

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

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

From dd73a5c1702c189de5a658f888589407904cfef8 Mon Sep 17 00:00:00 2001
From: Karl Nilsson <karl.robert.nilsson@gmail.com>
Date: Wed, 29 Jul 2020 23:51:18 -0400
Subject: [PATCH] New package: opencamlib-2019.07

---
 common/shlibs               |  1 +
 srcpkgs/opencamlib-devel    |  1 +
 srcpkgs/opencamlib-python3  |  1 +
 srcpkgs/opencamlib/template | 40 +++++++++++++++++++++++++++++++++++++
 4 files changed, 43 insertions(+)
 create mode 120000 srcpkgs/opencamlib-devel
 create mode 120000 srcpkgs/opencamlib-python3
 create mode 100644 srcpkgs/opencamlib/template

diff --git a/common/shlibs b/common/shlibs
index a6b5737b845..31f7806cdd0 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3982,6 +3982,7 @@ libtexlua53.so.5 texlive-LuaTeX-20200406_1
 libptexenc.so.1 texlive-20200406_1
 libsynctex.so.2 libsynctex-20200406_3
 libdolphinvcs.so.5 dolphin-20.04.3_1
+libocl.so.2019.07 opencamlib-2019.07_1
 libcglm.so.0 cglm-0.7.6_1
 libfcft.so.3 fcft-2.2.2_1
 libaml.so.0 aml-0.1.0_1
diff --git a/srcpkgs/opencamlib-devel b/srcpkgs/opencamlib-devel
new file mode 120000
index 00000000000..04163ffbe65
--- /dev/null
+++ b/srcpkgs/opencamlib-devel
@@ -0,0 +1 @@
+opencamlib/
\ No newline at end of file
diff --git a/srcpkgs/opencamlib-python3 b/srcpkgs/opencamlib-python3
new file mode 120000
index 00000000000..04163ffbe65
--- /dev/null
+++ b/srcpkgs/opencamlib-python3
@@ -0,0 +1 @@
+opencamlib/
\ No newline at end of file
diff --git a/srcpkgs/opencamlib/template b/srcpkgs/opencamlib/template
new file mode 100644
index 00000000000..e83a3b64f3a
--- /dev/null
+++ b/srcpkgs/opencamlib/template
@@ -0,0 +1,40 @@
+# Template file for 'opencamlib'
+pkgname=opencamlib
+version=2019.07
+revision=1
+build_style=cmake
+configure_args="-DBUILD_PY_LIB=ON -DUSE_PY_3=ON -DVERSION_STRING=${version}"
+hostmakedepends="python3-devel"
+makedepends="boost-devel libboost_program_options1.72 libgomp-devel"
+short_desc="Open source computer aided manufacturing algorithms library"
+maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
+license="LGPL-2.1-or-later"
+homepage="http://www.anderswallin.net/CAM"
+distfiles="https://github.com/aewallin/opencamlib/archive/${version}.tar.gz"
+checksum=e08ab50672e24b51d30938ac60a6caa38bd8f5fb5f8fa3375dec0e69031cb620
+
+subpackages="opencamlib-devel"
+# opencamlib-python3 cannot be cross compiled because of vtk-python3
+if [ -z "$CROSS_BUILD" ]; then
+	subpackages+=" opencamlib-python3"
+fi
+
+pkg_install() {
+	vmove usr/lib/opencamlib/
+}
+
+opencamlib-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+	}
+}
+
+opencamlib-python3_package() {
+	short_desc+=" - Python3 bindings"
+	depends="vtk-python3"
+	pkg_install() {
+		vmove "usr/lib/python3*"
+	}
+}

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

* Re: [PR PATCH] [Updated] New package: opencamlib-2019.07
  2020-08-29  1:53 [PR PATCH] [WIP] New package: opencamlib-2019.07 karl-nilsson
                   ` (3 preceding siblings ...)
  2020-08-29 15:29 ` karl-nilsson
@ 2020-08-29 15:33 ` karl-nilsson
  2020-08-29 15:46 ` karl-nilsson
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: karl-nilsson @ 2020-08-29 15:33 UTC (permalink / raw)
  To: ml

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

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

https://github.com/karl-nilsson/void-packages opencamlib
https://github.com/void-linux/void-packages/pull/24529

New package: opencamlib-2019.07
@Piraty the python bindings depend on vtk's python wrapper. How difficult would it be to enable that in vtk?

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

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

From f3afdd179e958fbdf6d1ca517d682f29a5ce2c70 Mon Sep 17 00:00:00 2001
From: Karl Nilsson <karl.robert.nilsson@gmail.com>
Date: Wed, 29 Jul 2020 23:51:18 -0400
Subject: [PATCH] New package: opencamlib-2019.07

---
 common/shlibs               |  1 +
 srcpkgs/opencamlib-devel    |  1 +
 srcpkgs/opencamlib-python3  |  1 +
 srcpkgs/opencamlib/template | 36 ++++++++++++++++++++++++++++++++++++
 4 files changed, 39 insertions(+)
 create mode 120000 srcpkgs/opencamlib-devel
 create mode 120000 srcpkgs/opencamlib-python3
 create mode 100644 srcpkgs/opencamlib/template

diff --git a/common/shlibs b/common/shlibs
index a6b5737b845..31f7806cdd0 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3982,6 +3982,7 @@ libtexlua53.so.5 texlive-LuaTeX-20200406_1
 libptexenc.so.1 texlive-20200406_1
 libsynctex.so.2 libsynctex-20200406_3
 libdolphinvcs.so.5 dolphin-20.04.3_1
+libocl.so.2019.07 opencamlib-2019.07_1
 libcglm.so.0 cglm-0.7.6_1
 libfcft.so.3 fcft-2.2.2_1
 libaml.so.0 aml-0.1.0_1
diff --git a/srcpkgs/opencamlib-devel b/srcpkgs/opencamlib-devel
new file mode 120000
index 00000000000..04163ffbe65
--- /dev/null
+++ b/srcpkgs/opencamlib-devel
@@ -0,0 +1 @@
+opencamlib/
\ No newline at end of file
diff --git a/srcpkgs/opencamlib-python3 b/srcpkgs/opencamlib-python3
new file mode 120000
index 00000000000..04163ffbe65
--- /dev/null
+++ b/srcpkgs/opencamlib-python3
@@ -0,0 +1 @@
+opencamlib/
\ No newline at end of file
diff --git a/srcpkgs/opencamlib/template b/srcpkgs/opencamlib/template
new file mode 100644
index 00000000000..ba58b45a18c
--- /dev/null
+++ b/srcpkgs/opencamlib/template
@@ -0,0 +1,36 @@
+# Template file for 'opencamlib'
+pkgname=opencamlib
+version=2019.07
+revision=1
+build_style=cmake
+configure_args="-DBUILD_PY_LIB=ON -DUSE_PY_3=ON -DVERSION_STRING=${version}"
+hostmakedepends="python3-devel"
+makedepends="boost-devel libboost_program_options1.72 libgomp-devel"
+short_desc="Open source computer aided manufacturing algorithms library"
+maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
+license="LGPL-2.1-or-later"
+homepage="http://www.anderswallin.net/CAM"
+distfiles="https://github.com/aewallin/opencamlib/archive/${version}.tar.gz"
+checksum=e08ab50672e24b51d30938ac60a6caa38bd8f5fb5f8fa3375dec0e69031cb620
+
+subpackages="opencamlib-devel"
+# opencamlib-python3 cannot be cross compiled because of vtk-python3
+if [ -z "$CROSS_BUILD" ]; then
+	subpackages+=" opencamlib-python3"
+fi
+
+opencamlib-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+	}
+}
+
+opencamlib-python3_package() {
+	short_desc+=" - Python3 bindings"
+	depends="vtk-python3"
+	pkg_install() {
+		vmove "usr/lib/python3*"
+	}
+}

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

* Re: [PR PATCH] [Updated] New package: opencamlib-2019.07
  2020-08-29  1:53 [PR PATCH] [WIP] New package: opencamlib-2019.07 karl-nilsson
                   ` (4 preceding siblings ...)
  2020-08-29 15:33 ` [PR PATCH] [Updated] " karl-nilsson
@ 2020-08-29 15:46 ` karl-nilsson
  2020-08-30 12:59 ` [WIP] " karl-nilsson
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: karl-nilsson @ 2020-08-29 15:46 UTC (permalink / raw)
  To: ml

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

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

https://github.com/karl-nilsson/void-packages opencamlib
https://github.com/void-linux/void-packages/pull/24529

New package: opencamlib-2019.07
@Piraty the python bindings depend on vtk's python wrapper. How difficult would it be to enable that in vtk?

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

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

From d5cec0a64da325e611933b65f5ad31db143d6823 Mon Sep 17 00:00:00 2001
From: Karl Nilsson <karl.robert.nilsson@gmail.com>
Date: Wed, 29 Jul 2020 23:51:18 -0400
Subject: [PATCH] New package: opencamlib-2019.07

---
 common/shlibs               |  1 +
 srcpkgs/opencamlib-devel    |  1 +
 srcpkgs/opencamlib-python3  |  1 +
 srcpkgs/opencamlib/template | 35 +++++++++++++++++++++++++++++++++++
 4 files changed, 38 insertions(+)
 create mode 120000 srcpkgs/opencamlib-devel
 create mode 120000 srcpkgs/opencamlib-python3
 create mode 100644 srcpkgs/opencamlib/template

diff --git a/common/shlibs b/common/shlibs
index a6b5737b845..31f7806cdd0 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3982,6 +3982,7 @@ libtexlua53.so.5 texlive-LuaTeX-20200406_1
 libptexenc.so.1 texlive-20200406_1
 libsynctex.so.2 libsynctex-20200406_3
 libdolphinvcs.so.5 dolphin-20.04.3_1
+libocl.so.2019.07 opencamlib-2019.07_1
 libcglm.so.0 cglm-0.7.6_1
 libfcft.so.3 fcft-2.2.2_1
 libaml.so.0 aml-0.1.0_1
diff --git a/srcpkgs/opencamlib-devel b/srcpkgs/opencamlib-devel
new file mode 120000
index 00000000000..04163ffbe65
--- /dev/null
+++ b/srcpkgs/opencamlib-devel
@@ -0,0 +1 @@
+opencamlib/
\ No newline at end of file
diff --git a/srcpkgs/opencamlib-python3 b/srcpkgs/opencamlib-python3
new file mode 120000
index 00000000000..04163ffbe65
--- /dev/null
+++ b/srcpkgs/opencamlib-python3
@@ -0,0 +1 @@
+opencamlib/
\ No newline at end of file
diff --git a/srcpkgs/opencamlib/template b/srcpkgs/opencamlib/template
new file mode 100644
index 00000000000..65edc865f78
--- /dev/null
+++ b/srcpkgs/opencamlib/template
@@ -0,0 +1,35 @@
+# Template file for 'opencamlib'
+pkgname=opencamlib
+version=2019.07
+revision=1
+build_style=cmake
+configure_args="-DBUILD_PY_LIB=ON -DUSE_PY_3=ON -DVERSION_STRING=${version}"
+makedepends="python3-devel boost-devel libboost_program_options1.72 libgomp-devel"
+short_desc="Open source computer aided manufacturing algorithms library"
+maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
+license="LGPL-2.1-or-later"
+homepage="http://www.anderswallin.net/CAM"
+distfiles="https://github.com/aewallin/opencamlib/archive/${version}.tar.gz"
+checksum=e08ab50672e24b51d30938ac60a6caa38bd8f5fb5f8fa3375dec0e69031cb620
+
+subpackages="opencamlib-devel"
+# opencamlib-python3 cannot be cross compiled because of vtk-python3
+if [ -z "$CROSS_BUILD" ]; then
+	subpackages+=" opencamlib-python3"
+fi
+
+opencamlib-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+	}
+}
+
+opencamlib-python3_package() {
+	short_desc+=" - Python3 bindings"
+	depends="${sourcepkg}>=${version}_${revision} vtk-python3"
+	pkg_install() {
+		vmove "usr/lib/python3*"
+	}
+}

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

* Re: [WIP] New package: opencamlib-2019.07
  2020-08-29  1:53 [PR PATCH] [WIP] New package: opencamlib-2019.07 karl-nilsson
                   ` (5 preceding siblings ...)
  2020-08-29 15:46 ` karl-nilsson
@ 2020-08-30 12:59 ` karl-nilsson
  2020-08-31  0:50 ` ahesford
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: karl-nilsson @ 2020-08-30 12:59 UTC (permalink / raw)
  To: ml

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

New comment by karl-nilsson on void-packages repository

https://github.com/void-linux/void-packages/pull/24529#issuecomment-683417831

Comment:
> doxygen seems to be needed in `hostmakedepends`, see the CI build

Doxygen doesn't matter, because the current template doesn't build documentation.
It's failing because it can't find Python:
> -- Could NOT find Python3 (missing: Interpreter) (found version "3.8.5")
>    Reason given by package: 
>        Interpreter: Cannot run the interpreter "/usr/aarch64-linux-gnu/usr/bin/python3.8"

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

* Re: [WIP] New package: opencamlib-2019.07
  2020-08-29  1:53 [PR PATCH] [WIP] New package: opencamlib-2019.07 karl-nilsson
                   ` (6 preceding siblings ...)
  2020-08-30 12:59 ` [WIP] " karl-nilsson
@ 2020-08-31  0:50 ` ahesford
  2020-08-31 16:46 ` [PR PATCH] [Updated] " karl-nilsson
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ahesford @ 2020-08-31  0:50 UTC (permalink / raw)
  To: ml

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

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/24529#issuecomment-683496897

Comment:
You at least want to add `python3` to `hostmakedepends` in addition to your `python3-devel` in `makedepends`.

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

* Re: [PR PATCH] [Updated] [WIP] New package: opencamlib-2019.07
  2020-08-29  1:53 [PR PATCH] [WIP] New package: opencamlib-2019.07 karl-nilsson
                   ` (7 preceding siblings ...)
  2020-08-31  0:50 ` ahesford
@ 2020-08-31 16:46 ` karl-nilsson
  2020-08-31 16:57 ` karl-nilsson
  2020-08-31 17:13 ` [PR PATCH] [Closed]: " ahesford
  10 siblings, 0 replies; 12+ messages in thread
From: karl-nilsson @ 2020-08-31 16:46 UTC (permalink / raw)
  To: ml

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

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

https://github.com/karl-nilsson/void-packages opencamlib
https://github.com/void-linux/void-packages/pull/24529

[WIP] New package: opencamlib-2019.07
@Piraty the python bindings depend on vtk's python wrapper. How difficult would it be to enable that in vtk?

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

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

From ce7c85dfc62cca8faaa1baecaabce7fbeb5e32f6 Mon Sep 17 00:00:00 2001
From: Karl Nilsson <karl.robert.nilsson@gmail.com>
Date: Wed, 29 Jul 2020 23:51:18 -0400
Subject: [PATCH] New package: opencamlib-2019.07

---
 common/shlibs               |  1 +
 srcpkgs/opencamlib-devel    |  1 +
 srcpkgs/opencamlib-python3  |  1 +
 srcpkgs/opencamlib/template | 36 ++++++++++++++++++++++++++++++++++++
 4 files changed, 39 insertions(+)
 create mode 120000 srcpkgs/opencamlib-devel
 create mode 120000 srcpkgs/opencamlib-python3
 create mode 100644 srcpkgs/opencamlib/template

diff --git a/common/shlibs b/common/shlibs
index 8918a97744c..9f3b3921eff 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3981,6 +3981,7 @@ libtexlua53.so.5 texlive-LuaTeX-20200406_1
 libptexenc.so.1 texlive-20200406_1
 libsynctex.so.2 libsynctex-20200406_3
 libdolphinvcs.so.5 dolphin-20.04.3_1
+libocl.so.2019.07 opencamlib-2019.07_1
 libcglm.so.0 cglm-0.7.6_1
 libfcft.so.3 fcft-2.2.2_1
 libaml.so.0 aml-0.1.0_1
diff --git a/srcpkgs/opencamlib-devel b/srcpkgs/opencamlib-devel
new file mode 120000
index 00000000000..04163ffbe65
--- /dev/null
+++ b/srcpkgs/opencamlib-devel
@@ -0,0 +1 @@
+opencamlib/
\ No newline at end of file
diff --git a/srcpkgs/opencamlib-python3 b/srcpkgs/opencamlib-python3
new file mode 120000
index 00000000000..04163ffbe65
--- /dev/null
+++ b/srcpkgs/opencamlib-python3
@@ -0,0 +1 @@
+opencamlib/
\ No newline at end of file
diff --git a/srcpkgs/opencamlib/template b/srcpkgs/opencamlib/template
new file mode 100644
index 00000000000..03af09f779f
--- /dev/null
+++ b/srcpkgs/opencamlib/template
@@ -0,0 +1,36 @@
+# Template file for 'opencamlib'
+pkgname=opencamlib
+version=2019.07
+revision=1
+build_style=cmake
+configure_args="-DBUILD_PY_LIB=ON -DUSE_PY_3=ON -DVERSION_STRING=${version}"
+hostmakedepends="python3"
+makedepends="python3-devel boost-devel libboost_program_options1.72 libgomp-devel"
+short_desc="Open source computer aided manufacturing algorithms library"
+maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
+license="LGPL-2.1-or-later"
+homepage="http://www.anderswallin.net/CAM"
+distfiles="https://github.com/aewallin/opencamlib/archive/${version}.tar.gz"
+checksum=e08ab50672e24b51d30938ac60a6caa38bd8f5fb5f8fa3375dec0e69031cb620
+
+subpackages="opencamlib-devel"
+# opencamlib-python3 cannot be cross compiled because of vtk-python3
+if [ -z "$CROSS_BUILD" ]; then
+	subpackages+=" opencamlib-python3"
+fi
+
+opencamlib-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+	}
+}
+
+opencamlib-python3_package() {
+	short_desc+=" - Python3 bindings"
+	depends="${sourcepkg}>=${version}_${revision} vtk-python3"
+	pkg_install() {
+		vmove "usr/lib/python3*"
+	}
+}

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

* Re: New package: opencamlib-2019.07
  2020-08-29  1:53 [PR PATCH] [WIP] New package: opencamlib-2019.07 karl-nilsson
                   ` (8 preceding siblings ...)
  2020-08-31 16:46 ` [PR PATCH] [Updated] " karl-nilsson
@ 2020-08-31 16:57 ` karl-nilsson
  2020-08-31 17:13 ` [PR PATCH] [Closed]: " ahesford
  10 siblings, 0 replies; 12+ messages in thread
From: karl-nilsson @ 2020-08-31 16:57 UTC (permalink / raw)
  To: ml

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

New comment by karl-nilsson on void-packages repository

https://github.com/void-linux/void-packages/pull/24529#issuecomment-683903229

Comment:
@ahesford that seems to have fixed it, thanks!

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

* Re: [PR PATCH] [Closed]: New package: opencamlib-2019.07
  2020-08-29  1:53 [PR PATCH] [WIP] New package: opencamlib-2019.07 karl-nilsson
                   ` (9 preceding siblings ...)
  2020-08-31 16:57 ` karl-nilsson
@ 2020-08-31 17:13 ` ahesford
  10 siblings, 0 replies; 12+ messages in thread
From: ahesford @ 2020-08-31 17:13 UTC (permalink / raw)
  To: ml

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

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

New package: opencamlib-2019.07
https://github.com/void-linux/void-packages/pull/24529

Description:
@Piraty the python bindings depend on vtk's python wrapper. How difficult would it be to enable that in vtk?

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

end of thread, other threads:[~2020-08-31 17:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-29  1:53 [PR PATCH] [WIP] New package: opencamlib-2019.07 karl-nilsson
2020-08-29  2:50 ` ahesford
2020-08-29 14:29 ` [PR PATCH] [Updated] " karl-nilsson
2020-08-29 14:29 ` karl-nilsson
2020-08-29 15:29 ` karl-nilsson
2020-08-29 15:33 ` [PR PATCH] [Updated] " karl-nilsson
2020-08-29 15:46 ` karl-nilsson
2020-08-30 12:59 ` [WIP] " karl-nilsson
2020-08-31  0:50 ` ahesford
2020-08-31 16:46 ` [PR PATCH] [Updated] " karl-nilsson
2020-08-31 16:57 ` karl-nilsson
2020-08-31 17:13 ` [PR PATCH] [Closed]: " ahesford

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