From: 0x5c <0x5c@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: contour-0.4.0.6245
Date: Wed, 20 Dec 2023 10:01:33 +0100 [thread overview]
Message-ID: <20231220090133.qQi_5GSBD68BeX01ZKHMSZKUSHW63z1-XPQkPHvwKhI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-47845@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1574 bytes --]
There is an updated pull request by 0x5c against master on the void-packages repository
https://github.com/0x5c/void-packages new/contour
https://github.com/void-linux/void-packages/pull/47845
New package: contour-0.4.0.6245
<!-- Uncomment relevant sections and delete options which are not applicable -->
Fixes #34513
`libunicode` provides a tool, currently packaged in `-devel`, should it be somewhere else? It's a simple tool that provides info on characters passed as argument.
I'm also not a fan of the way I have to download the Unicode UCD archive manually. The `linunicode` build system tries to do it, but it fails locally in xbps-src.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-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, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/47845.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new/contour-47845.patch --]
[-- Type: text/x-diff, Size: 9890 bytes --]
From a37cfb23ad798a789aebf49dea3302fbb50e40d0 Mon Sep 17 00:00:00 2001
From: 0x5c <dev@0x5c.io>
Date: Mon, 11 Dec 2023 07:22:23 -0500
Subject: [PATCH 1/8] New package: guidelines-support-library-4.0.0
---
srcpkgs/guidelines-support-library/template | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 srcpkgs/guidelines-support-library/template
diff --git a/srcpkgs/guidelines-support-library/template b/srcpkgs/guidelines-support-library/template
new file mode 100644
index 0000000000000..af77bd4941733
--- /dev/null
+++ b/srcpkgs/guidelines-support-library/template
@@ -0,0 +1,16 @@
+# Template file for 'guidelines-support-library'
+pkgname=guidelines-support-library
+version=4.0.0
+revision=1
+build_style=cmake
+configure_args="-DGSL_TEST:BOOL=OFF"
+short_desc="C++ Guidelines Support Library"
+maintainer="0x5c <dev@0x5c.io>"
+license="MIT"
+homepage="https://github.com/microsoft/GSL"
+distfiles="https://github.com/microsoft/GSL/archive/refs/tags/v${version}.tar.gz"
+checksum=f0e32cb10654fea91ad56bde89170d78cfbf4363ee0b01d8f097de2ba49f6ce9
+
+post_install() {
+ vlicense LICENSE
+}
From f89fb03afc782277e1673164d736dc8e540912d9 Mon Sep 17 00:00:00 2001
From: 0x5c <dev@0x5c.io>
Date: Wed, 20 Dec 2023 02:29:08 -0500
Subject: [PATCH 2/8] New package: boxed-cpp-1.1.0
---
srcpkgs/boxed-cpp/template | 12 ++++++++++++
1 file changed, 12 insertions(+)
create mode 100644 srcpkgs/boxed-cpp/template
diff --git a/srcpkgs/boxed-cpp/template b/srcpkgs/boxed-cpp/template
new file mode 100644
index 0000000000000..c466ff88e0d43
--- /dev/null
+++ b/srcpkgs/boxed-cpp/template
@@ -0,0 +1,12 @@
+# Template file for 'boxed-cpp'
+pkgname=boxed-cpp
+version=1.1.0
+revision=1
+build_style=cmake
+configure_args="-DCMAKE_BUILD_TYPE=Release"
+short_desc="Boxing primitive types in C++"
+maintainer="0x5c <dev@0x5c.io>"
+license="Apache-2.0"
+homepage="https://github.com/contour-terminal/boxed-cpp"
+distfiles="https://github.com/contour-terminal/boxed-cpp/archive/refs/tags/v${version}.tar.gz"
+checksum=dd1c78c3bad24e777bc33aa19e8e8efb8c579f8faa3220592c3aae4d7b103bf0
From 35f207576612d05c27d14769d8c57a1743a883e1 Mon Sep 17 00:00:00 2001
From: 0x5c <dev@0x5c.io>
Date: Mon, 11 Dec 2023 07:22:42 -0500
Subject: [PATCH 3/8] New package: libunicode-0.4.0
---
common/shlibs | 3 +++
srcpkgs/libunicode-devel | 1 +
srcpkgs/libunicode/template | 32 ++++++++++++++++++++++++++++++++
3 files changed, 36 insertions(+)
create mode 120000 srcpkgs/libunicode-devel
create mode 100644 srcpkgs/libunicode/template
diff --git a/common/shlibs b/common/shlibs
index a45654c4fa3cf..b5fcc05469326 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4277,3 +4277,6 @@ libdraco.so.8 draco-1.5.6_1
libpdal_base.so.15 libpdal-2.5.6_1
libpdal_util.so.15 libpdal-2.5.6_1
libdisplay-info.so.1 libdisplay-info-0.1.1_1
+libunicode.so.0.4 libunicode-0.4.0_1
+libunicode_ucd.so.0.4 libunicode-0.4.0_1
+libunicode_loader.so.0.4 libunicode-0.4.0_1
diff --git a/srcpkgs/libunicode-devel b/srcpkgs/libunicode-devel
new file mode 120000
index 0000000000000..3ee4071cb0f23
--- /dev/null
+++ b/srcpkgs/libunicode-devel
@@ -0,0 +1 @@
+libunicode
\ No newline at end of file
diff --git a/srcpkgs/libunicode/template b/srcpkgs/libunicode/template
new file mode 100644
index 0000000000000..44ab0f0607f03
--- /dev/null
+++ b/srcpkgs/libunicode/template
@@ -0,0 +1,32 @@
+# Template file for 'libunicode'
+pkgname=libunicode
+version=0.4.0
+revision=1
+_ucd_version=15.0.0
+build_style=cmake
+configure_args="-DCMAKE_BUILD_TYPE=Release -DLIBUNICODE_TESTING=OFF"
+hostmakedepends="python3 wget unzip"
+makedepends="fmt-devel"
+short_desc="Modern C++17 Unicode library"
+maintainer="0x5c <dev@0x5c.io>"
+license="Apache-2.0"
+homepage="https://github.com/contour-terminal/libunicode"
+changelog="https://github.com/contour-terminal/libunicode/raw/master/Changelog.md"
+distfiles="https://github.com/contour-terminal/libunicode/archive/refs/tags/v${version}.tar.gz"
+checksum=a5c8ba2cd3df539985bfafe43f812de143a56f01e4074e95831a37a13606beda
+
+post_extract() {
+ mkdir -p _ucd
+ wget -O "_ucd/ucd-${_ucd_version}.zip" https://www.unicode.org/Public/${_ucd_version}/ucd/UCD.zip
+}
+
+libunicode-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/bin
+ vmove "usr/lib/*.so"
+ vmove usr/lib/cmake
+ }
+}
From c7b50030a1eaf5bb3f9c4d1932e75c2c3206cf5f Mon Sep 17 00:00:00 2001
From: 0x5c <dev@0x5c.io>
Date: Mon, 11 Dec 2023 07:22:56 -0500
Subject: [PATCH 4/8] New package: contour-0.4.0.6245
---
srcpkgs/contour/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/contour/template
diff --git a/srcpkgs/contour/template b/srcpkgs/contour/template
new file mode 100644
index 0000000000000..638d0f51645e5
--- /dev/null
+++ b/srcpkgs/contour/template
@@ -0,0 +1,18 @@
+# Template file for 'contour'
+pkgname=contour
+version=0.4.0.6245
+revision=1
+build_style=cmake
+configure_args="-DCMAKE_BUILD_TYPE=Release -DCONTOUR_QT_VERSION=6 -DCONTOUR_TESTING=OFF
+ -DCRISPY_TESTING=OFF -DVTPARSER_TESTING=OFF -DLIBTERMINAL_TESTING=OFF"
+hostmakedepends="pkg-config"
+makedepends="boxed-cpp fmt-devel guidelines-support-library freetype-devel
+ harfbuzz-devel libunicode-devel libutempter-devel range-v3 yaml-cpp-devel
+ qt6-base-devel qt6-core qt6-declarative-devel qt6-gui qt6-multimedia-devel
+ qt6-network qt6-opengl-widgets qt6-qt5compat-devel qt6-widgets"
+short_desc="Modern C++ Terminal Emulator"
+maintainer="0x5c <dev@0x5c.io>"
+license="Apache-2.0"
+homepage="http://contour-terminal.org/"
+distfiles="https://github.com/contour-terminal/contour/archive/refs/tags/v${version}.tar.gz"
+checksum=a46ee637d793d72ffdc8b0570b9cc1ba90729d2fa5b571b74b815c7562ec8894
From a32be44acfd05956846faa089e5f610a6df7ffc1 Mon Sep 17 00:00:00 2001
From: 0x5c <dev@0x5c.io>
Date: Wed, 20 Dec 2023 03:08:20 -0500
Subject: [PATCH 5/8] fix libunicode cross failures?
it better do
---
srcpkgs/libunicode/template | 1 +
1 file changed, 1 insertion(+)
diff --git a/srcpkgs/libunicode/template b/srcpkgs/libunicode/template
index 44ab0f0607f03..2f9b25c583f7b 100644
--- a/srcpkgs/libunicode/template
+++ b/srcpkgs/libunicode/template
@@ -4,6 +4,7 @@ version=0.4.0
revision=1
_ucd_version=15.0.0
build_style=cmake
+build_helper=qemu
configure_args="-DCMAKE_BUILD_TYPE=Release -DLIBUNICODE_TESTING=OFF"
hostmakedepends="python3 wget unzip"
makedepends="fmt-devel"
From ffb9e1c99ae88f4f4eb2797ccd33281f8c216045 Mon Sep 17 00:00:00 2001
From: 0x5c <dev@0x5c.io>
Date: Wed, 20 Dec 2023 03:56:16 -0500
Subject: [PATCH 6/8] fixup: boxed-cpp
---
srcpkgs/boxed-cpp/template | 1 -
1 file changed, 1 deletion(-)
diff --git a/srcpkgs/boxed-cpp/template b/srcpkgs/boxed-cpp/template
index c466ff88e0d43..267e125a78b9c 100644
--- a/srcpkgs/boxed-cpp/template
+++ b/srcpkgs/boxed-cpp/template
@@ -3,7 +3,6 @@ pkgname=boxed-cpp
version=1.1.0
revision=1
build_style=cmake
-configure_args="-DCMAKE_BUILD_TYPE=Release"
short_desc="Boxing primitive types in C++"
maintainer="0x5c <dev@0x5c.io>"
license="Apache-2.0"
From 423dbf34bab2899ace2ae344724cb9d00e3d7f14 Mon Sep 17 00:00:00 2001
From: 0x5c <dev@0x5c.io>
Date: Wed, 20 Dec 2023 03:58:49 -0500
Subject: [PATCH 7/8] fixup: libunicode
---
srcpkgs/libunicode/template | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/libunicode/template b/srcpkgs/libunicode/template
index 2f9b25c583f7b..6ad6a3fa7e4a1 100644
--- a/srcpkgs/libunicode/template
+++ b/srcpkgs/libunicode/template
@@ -5,20 +5,27 @@ revision=1
_ucd_version=15.0.0
build_style=cmake
build_helper=qemu
-configure_args="-DCMAKE_BUILD_TYPE=Release -DLIBUNICODE_TESTING=OFF"
-hostmakedepends="python3 wget unzip"
+configure_args="-DLIBUNICODE_TESTING=OFF"
+hostmakedepends="python3"
makedepends="fmt-devel"
short_desc="Modern C++17 Unicode library"
maintainer="0x5c <dev@0x5c.io>"
license="Apache-2.0"
homepage="https://github.com/contour-terminal/libunicode"
changelog="https://github.com/contour-terminal/libunicode/raw/master/Changelog.md"
-distfiles="https://github.com/contour-terminal/libunicode/archive/refs/tags/v${version}.tar.gz"
-checksum=a5c8ba2cd3df539985bfafe43f812de143a56f01e4074e95831a37a13606beda
+distfiles="https://github.com/contour-terminal/libunicode/archive/refs/tags/v${version}.tar.gz
+ https://www.unicode.org/Public/${_ucd_version}/ucd/UCD.zip"
+checksum="a5c8ba2cd3df539985bfafe43f812de143a56f01e4074e95831a37a13606beda
+ 5fbde400f3e687d25cc9b0a8d30d7619e76cb2f4c3e85ba9df8ec1312cb6718c"
+skip_extraction="UCD.zip"
+
+if [ "$XBPS_TARGET_WORDSIZE" -eq 32 ]; then
+ broken="32bit architectures not currently supported, problems with SIMD"
+fi
post_extract() {
- mkdir -p _ucd
- wget -O "_ucd/ucd-${_ucd_version}.zip" https://www.unicode.org/Public/${_ucd_version}/ucd/UCD.zip
+ mkdir _ucd
+ cp "${XBPS_SRCDISTDIR}/${pkgname}-${version}/UCD.zip" "_ucd/ucd-${_ucd_version}.zip"
}
libunicode-devel_package() {
From 520267c100c8cdd9cc825b93f71d26a18b2f9e68 Mon Sep 17 00:00:00 2001
From: 0x5c <dev@0x5c.io>
Date: Wed, 20 Dec 2023 04:01:05 -0500
Subject: [PATCH 8/8] fixup: contour
---
srcpkgs/contour/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/contour/template b/srcpkgs/contour/template
index 638d0f51645e5..1c25b96839460 100644
--- a/srcpkgs/contour/template
+++ b/srcpkgs/contour/template
@@ -3,7 +3,7 @@ pkgname=contour
version=0.4.0.6245
revision=1
build_style=cmake
-configure_args="-DCMAKE_BUILD_TYPE=Release -DCONTOUR_QT_VERSION=6 -DCONTOUR_TESTING=OFF
+configure_args="-DCONTOUR_QT_VERSION=6 -DCONTOUR_TESTING=OFF
-DCRISPY_TESTING=OFF -DVTPARSER_TESTING=OFF -DLIBTERMINAL_TESTING=OFF"
hostmakedepends="pkg-config"
makedepends="boxed-cpp fmt-devel guidelines-support-library freetype-devel
next prev parent reply other threads:[~2023-12-20 9:01 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-20 7:48 [PR PATCH] " 0x5c
2023-12-20 8:04 ` 0x5c
2023-12-20 8:09 ` [PR PATCH] [Updated] " 0x5c
2023-12-20 8:13 ` 0x5c
2023-12-20 8:16 ` 0x5c
2023-12-20 8:19 ` 0x5c
2023-12-20 8:20 ` 0x5c
2023-12-20 9:01 ` 0x5c [this message]
2023-12-20 9:03 ` 0x5c
2023-12-20 9:24 ` [PR PATCH] [Updated] " 0x5c
2023-12-20 10:14 ` 0x5c
2023-12-20 10:58 ` 0x5c
2023-12-20 10:58 ` 0x5c
2023-12-20 10:58 ` 0x5c
2023-12-31 7:04 ` [PR PATCH] [Updated] " 0x5c
2023-12-31 7:07 ` 0x5c
2024-01-01 5:16 ` [PR PATCH] [Updated] " 0x5c
2024-01-05 5:22 ` [PR REVIEW] " classabbyamp
2024-01-05 5:22 ` classabbyamp
2024-01-05 5:22 ` classabbyamp
2024-01-05 23:05 ` [PR PATCH] [Updated] " 0x5c
2024-01-06 1:32 ` [PR PATCH] [Merged]: " classabbyamp
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=20231220090133.qQi_5GSBD68BeX01ZKHMSZKUSHW63z1-XPQkPHvwKhI@z \
--to=0x5c@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).