Github messages for voidlinux
 help / color / mirror / Atom feed
From: bingulo <bingulo@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: Orthanc-1.11.1
Date: Mon, 08 Aug 2022 21:16:54 +0200	[thread overview]
Message-ID: <20220808191654.bxl24X2XbXAXsW-6xBPO9XmEGpMvanIbPD3hcaAonz8@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38537@inbox.vuxu.org>

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

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

https://github.com/bingulo/void-packages orthanc
https://github.com/void-linux/void-packages/pull/38537

New package: Orthanc-1.11.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

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

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-LIBC)

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

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

From 924f0529c1ad54fb0513cbb4ea113a3fd5da1b2e Mon Sep 17 00:00:00 2001
From: bingulo <gcarlos@disroot.org>
Date: Mon, 8 Aug 2022 15:41:58 -0300
Subject: [PATCH 1/2] New package: civetweb-1.15

---
 common/shlibs                              |  1 +
 srcpkgs/civetweb/patches/install-fix.patch | 16 +++++++++
 srcpkgs/civetweb/template                  | 39 ++++++++++++++++++++++
 srcpkgs/libcivetweb                        |  1 +
 srcpkgs/libcivetweb-devel                  |  1 +
 5 files changed, 58 insertions(+)
 create mode 100644 srcpkgs/civetweb/patches/install-fix.patch
 create mode 100644 srcpkgs/civetweb/template
 create mode 120000 srcpkgs/libcivetweb
 create mode 120000 srcpkgs/libcivetweb-devel

diff --git a/common/shlibs b/common/shlibs
index ea6fde4ffe31..a941669934ef 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4185,3 +4185,4 @@ libnvidia-container-go.so.1 libnvidia-container-1.10.0_1
 libqtspell-qt5.so.1 qtspell-1.0.1_1
 libopensmtpd.so.0 libopensmtpd-0.7_1
 libiio.so.0 libiio-0.23_1
+libcivetweb.so.1 libcivetweb-1.15_1
diff --git a/srcpkgs/civetweb/patches/install-fix.patch b/srcpkgs/civetweb/patches/install-fix.patch
new file mode 100644
index 000000000000..be282dbf613c
--- /dev/null
+++ b/srcpkgs/civetweb/patches/install-fix.patch
@@ -0,0 +1,16 @@
+--- a/Makefile
++++ b/Makefile
+@@ -19,10 +19,10 @@
+ # http://www.gnu.org/prep/standards/html_node/Directory-Variables.html
+ PREFIX ?= /usr/local
+ EXEC_PREFIX = $(PREFIX)
+-BINDIR = $(EXEC_PREFIX)/bin
+-DATAROOTDIR = $(PREFIX)/share
++BINDIR = $(DESTDIR)$(EXEC_PREFIX)/bin
++DATAROOTDIR = $(DESTDIR)$(PREFIX)/share
+ DOCDIR = $(DATAROOTDIR)/doc/$(CPROG)
+-SYSCONFDIR ?= $(PREFIX)/etc
++SYSCONFDIR ?= $(DESTDIR)/etc
+ HTMLDIR = $(DOCDIR)
+ INCLUDEDIR = $(DESTDIR)$(PREFIX)/include
+ LIBDIR = $(DESTDIR)$(EXEC_PREFIX)/lib
diff --git a/srcpkgs/civetweb/template b/srcpkgs/civetweb/template
new file mode 100644
index 000000000000..96ff8080508b
--- /dev/null
+++ b/srcpkgs/civetweb/template
@@ -0,0 +1,39 @@
+# Template file for 'civetweb'
+pkgname=civetweb
+version=1.15
+revision=1
+build_style=gnu-makefile
+make_install_target="install install-headers install-lib install-slib"
+make_use_env=yes
+makedepends="openssl-devel"
+short_desc="Embedded C/C++ web server"
+maintainer="Carlos E. Gallo F. <gcarlos@disroot.org>"
+license="MIT"
+homepage="https://civetweb.github.io/civetweb/"
+distfiles="https://github.com/civetweb/civetweb/archive/refs/tags/v${version}.tar.gz"
+checksum=90a533422944ab327a4fbb9969f0845d0dba05354f9cacce3a5005fa59f593b9
+
+pre_install() {
+	vmkdir usr/include
+}
+
+post_install() {
+	vlicense LICENSE.md
+}
+
+libcivetweb_package() {
+	short_desc+=' - library'
+	pkg_install() {
+		vmove "usr/lib/*.so.*"
+	}
+}
+
+libcivetweb-devel_package() {
+	depends="lib${sourcepkg}>=${version}_${revision}"
+	short_desc+=' - development files'
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+	}
+}
diff --git a/srcpkgs/libcivetweb b/srcpkgs/libcivetweb
new file mode 120000
index 000000000000..f740b5313316
--- /dev/null
+++ b/srcpkgs/libcivetweb
@@ -0,0 +1 @@
+civetweb
\ No newline at end of file
diff --git a/srcpkgs/libcivetweb-devel b/srcpkgs/libcivetweb-devel
new file mode 120000
index 000000000000..f740b5313316
--- /dev/null
+++ b/srcpkgs/libcivetweb-devel
@@ -0,0 +1 @@
+civetweb
\ No newline at end of file

From f948af16acf91aefb916eccd160e5aaf589924fe Mon Sep 17 00:00:00 2001
From: bingulo <gcarlos@disroot.org>
Date: Mon, 8 Aug 2022 15:44:01 -0300
Subject: [PATCH 2/2] New package: dcmtk-3.6.7

---
 common/shlibs          | 27 +++++++++++++++++++++++
 srcpkgs/dcmtk-doc      |  1 +
 srcpkgs/dcmtk/template | 49 ++++++++++++++++++++++++++++++++++++++++++
 srcpkgs/libdcmtk       |  1 +
 srcpkgs/libdcmtk-devel |  1 +
 5 files changed, 79 insertions(+)
 create mode 120000 srcpkgs/dcmtk-doc
 create mode 100644 srcpkgs/dcmtk/template
 create mode 120000 srcpkgs/libdcmtk
 create mode 120000 srcpkgs/libdcmtk-devel

diff --git a/common/shlibs b/common/shlibs
index a941669934ef..d3fd58874703 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4186,3 +4186,30 @@ libqtspell-qt5.so.1 qtspell-1.0.1_1
 libopensmtpd.so.0 libopensmtpd-0.7_1
 libiio.so.0 libiio-0.23_1
 libcivetweb.so.1 libcivetweb-1.15_1
+libcmr.so.17 libdcmtk-3.6.7_1
+libdcmrt.so.17 libdcmtk-3.6.7_1
+libdcmdata.so.17 libdcmtk-3.6.7_1
+libdcmseg.so.17 libdcmtk-3.6.7_1
+libdcmdsig.so.17 libdcmtk-3.6.7_1
+libdcmsr.so.17 libdcmtk-3.6.7_1
+libdcmect.so.17 libdcmtk-3.6.7_1
+libdcmtkcharls.so.17 libdcmtk-3.6.7_1
+libdcmfg.so.17 libdcmtk-3.6.7_1
+libdcmtls.so.17 libdcmtk-3.6.7_1
+libdcmimage.so.17 libdcmtk-3.6.7_1
+libdcmtract.so.17 libdcmtk-3.6.7_1
+libdcmimgle.so.17 libdcmtk-3.6.7_1
+libdcmwlm.so.17 libdcmtk-3.6.7_1
+libdcmiod.so.17 libdcmtk-3.6.7_1
+libi2d.so.17 libdcmtk-3.6.7_1
+libdcmjpeg.so.17 libdcmtk-3.6.7_1
+libijg12.so.17 libdcmtk-3.6.7_1
+libdcmjpls.so.17 libdcmtk-3.6.7_1
+libijg16.so.17 libdcmtk-3.6.7_1
+libdcmnet.so.17 libdcmtk-3.6.7_1
+libijg8.so.17 libdcmtk-3.6.7_1
+libdcmpmap.so.17 libdcmtk-3.6.7_1
+liboflog.so.17 libdcmtk-3.6.7_1
+libdcmpstat.so.17 libdcmtk-3.6.7_1
+libofstd.so.17 libdcmtk-3.6.7_1
+libdcmqrdb.so.17 libdcmtk-3.6.7_1
diff --git a/srcpkgs/dcmtk-doc b/srcpkgs/dcmtk-doc
new file mode 120000
index 000000000000..69ff54ce2e0c
--- /dev/null
+++ b/srcpkgs/dcmtk-doc
@@ -0,0 +1 @@
+dcmtk
\ No newline at end of file
diff --git a/srcpkgs/dcmtk/template b/srcpkgs/dcmtk/template
new file mode 100644
index 000000000000..63c28bc3c376
--- /dev/null
+++ b/srcpkgs/dcmtk/template
@@ -0,0 +1,49 @@
+# Template file for 'dcmtk'
+pkgname=dcmtk
+version=3.6.7
+revision=1
+build_style=cmake
+configure_args="-DDCMTK_ENABLE_CXX11=ON -DBUILD_SHARED_LIBS=ON -DDCMTK_WITH_DOXYGEN=ON"
+hostmakedepends="doxygen"
+makedepends="openssl-devel zlib-devel tiff-devel libpng-devel libxml2-devel icu-devel"
+short_desc="Libraries and tools that implements DICOM standard"
+maintainer="Carlos E. Gallo F. <gcarlos@disroot.org>"
+license="custom: see /usr/share/licenses/${pkgname}"
+homepage="https://dcmtk.org/dcmtk.php.en"
+distfiles="https://dicom.offis.de/download/dcmtk/${version//.}/dcmtk-${version}.tar.gz"
+checksum=7c58298e3e8d60232ee6fc8408cfadd14463cc11a3c4ca4c59af5988c7e9710a
+
+pre_build() {
+	ninja -C build DOXYGEN
+}
+
+post_install() {
+	vlicense COPYRIGHT
+}
+
+dcmtk-doc_package() {
+	short_desc+=' - documentation'
+	pkg_install() {
+		vmove usr/share/doc
+	}
+}
+
+# TODO need license here
+libdcmtk_package() {
+	short_desc+=' - runtime libraries'
+	pkg_install() {
+		vmove "usr/lib/*.so.*"
+		vmove usr/share/dcmtk
+	}
+}
+
+libdcmtk-devel_package() {
+	short_desc+=' - development files'
+	depends="lib${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove usr/lib/cmake
+		vmove "usr/lib/*.so"
+	}
+}
diff --git a/srcpkgs/libdcmtk b/srcpkgs/libdcmtk
new file mode 120000
index 000000000000..69ff54ce2e0c
--- /dev/null
+++ b/srcpkgs/libdcmtk
@@ -0,0 +1 @@
+dcmtk
\ No newline at end of file
diff --git a/srcpkgs/libdcmtk-devel b/srcpkgs/libdcmtk-devel
new file mode 120000
index 000000000000..69ff54ce2e0c
--- /dev/null
+++ b/srcpkgs/libdcmtk-devel
@@ -0,0 +1 @@
+dcmtk
\ No newline at end of file

  parent reply	other threads:[~2022-08-08 19:16 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-08 17:30 [PR PATCH] " bingulo
2022-08-08 18:23 ` abenson
2022-08-08 18:30 ` [PR REVIEW] " ahesford
2022-08-08 18:30 ` ahesford
2022-08-08 18:30 ` ahesford
2022-08-08 18:30 ` Chocimier
2022-08-08 18:30 ` Chocimier
2022-08-08 18:30 ` Chocimier
2022-08-08 18:30 ` Chocimier
2022-08-08 18:30 ` Chocimier
2022-08-08 18:55 ` [PR PATCH] [Updated] " bingulo
2022-08-08 19:03 ` [PR REVIEW] " bingulo
2022-08-08 19:10 ` [PR PATCH] [Updated] " bingulo
2022-08-08 19:16 ` bingulo [this message]
2022-08-08 19:25 ` bingulo
2022-08-08 19:29 ` bingulo
2022-08-08 19:48 ` bingulo
2022-08-08 20:07 ` bingulo
2022-08-08 20:10 ` Chocimier
2022-08-08 20:33 ` [PR PATCH] [Updated] " bingulo
2022-08-08 20:34 ` [PR REVIEW] " bingulo
2022-08-08 20:35 ` bingulo
2022-08-08 20:39 ` bingulo
2022-08-08 21:52 ` classabbyamp
2022-08-09  1:37 ` [PR PATCH] [Updated] " bingulo
2022-08-09  1:37 ` [PR REVIEW] " bingulo
2022-08-09  2:50 ` [PR PATCH] [Updated] " bingulo
2022-08-09  2:51 ` bingulo
2022-08-09 14:36 ` [PR REVIEW] " Chocimier
2022-08-09 14:36 ` Chocimier
2022-08-09 14:36 ` Chocimier
2022-08-09 15:39 ` bingulo
2022-08-09 15:40 ` bingulo
2022-08-09 15:57 ` [PR PATCH] [Updated] " bingulo
2022-08-09 15:58 ` [PR REVIEW] " bingulo
2022-08-09 16:45 ` bingulo
2022-08-09 16:48 ` ahesford
2022-08-09 16:51 ` bingulo
2022-08-09 16:56 ` [PR PATCH] [Updated] " bingulo
2022-08-09 17:01 ` bingulo
2022-08-09 17:04 ` [PR PATCH] [Updated] " bingulo
2022-08-09 17:47 ` Chocimier
2022-08-09 17:53 ` bingulo
2022-08-09 17:53 ` bingulo
2022-08-09 20:12 ` [PR PATCH] [Updated] " bingulo
2022-08-10  1:26 ` bingulo
2022-08-10  2:26 ` bingulo
2022-08-10  2:31 ` bingulo
2022-08-10  2:37 ` bingulo
2022-08-11 16:43 ` [PR PATCH] [Updated] " bingulo
2022-08-24 22:36 ` bingulo
2022-10-13 19:52 ` bingulo
2022-11-15 22:18 ` anhangah
2022-11-17 13:46 ` anhangah
2022-11-17 13:54 ` anhangah
2022-11-17 13:59 ` anhangah
2022-11-17 14:03 ` New package: Orthanc-1.11.2 anhangah
2022-11-22 20:24 ` [PR PATCH] [Updated] " anhangah
2022-11-22 23:28 ` anhangah
2022-11-23 20:43 ` anhangah
2022-12-30  2:10 ` anhangah
2023-02-08 15:23 ` gcarlos64
2023-05-10  1:51 ` github-actions
2023-05-24  1:56 ` [PR PATCH] [Closed]: " github-actions

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220808191654.bxl24X2XbXAXsW-6xBPO9XmEGpMvanIbPD3hcaAonz8@z \
    --to=bingulo@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).