Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] spdlog shared lib
@ 2021-03-15 15:12 sgn
  2021-03-15 15:13 ` sgn
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: sgn @ 2021-03-15 15:12 UTC (permalink / raw)
  To: ml

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

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

https://github.com/sgn/void-packages spdlog-shared-lib
https://github.com/void-linux/void-packages/pull/29489

spdlog shared lib
<!-- Mark items with [x] where applicable -->
I keep the development files in `spdlog` because I don't want to break user system.

#### General
- [ ] 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?
- [ ] 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

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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/29489.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-spdlog-shared-lib-29489.patch --]
[-- Type: text/x-diff, Size: 4494 bytes --]

From 1e3e12cbfdb7c416ce195021deab41fe8063a518 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Mon, 15 Mar 2021 22:01:47 +0700
Subject: [PATCH 1/5] spdlog: build shared lib

---
 common/shlibs           |  1 +
 srcpkgs/spdlog/template | 14 ++++++++++----
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 86567af2ad0f..d463813d035e 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3966,3 +3966,4 @@ libsimavrparts.so.1 simavr-1.6_2
 libsword-1.8.1.so libsword-1.8.1_6
 libpari-gmp.so.7 pari-2.13.0_1
 libtree-sitter.so.0 tree-sitter-0.19.0_1
+libspdlog.so.1 libspdlog-1.8.2_2
diff --git a/srcpkgs/spdlog/template b/srcpkgs/spdlog/template
index 2a8e1c9e8f16..fc3f6e7d6b60 100644
--- a/srcpkgs/spdlog/template
+++ b/srcpkgs/spdlog/template
@@ -1,11 +1,13 @@
 # Template file for 'spdlog'
 pkgname=spdlog
 version=1.8.2
-revision=1
+revision=2
 build_style=cmake
-configure_args="-DSPDLOG_BUILD_EXAMPLE=OFF -DSPDLOG_FMT_EXTERNAL=ON"
+configure_args="-DSPDLOG_BUILD_EXAMPLE=OFF -DSPDLOG_FMT_EXTERNAL=ON
+ -DSPDLOG_BUILD_SHARED=ON"
 hostmakedepends="pkg-config"
 makedepends="fmt-devel"
+depends="libspdlog>=${version}_${revision}"
 short_desc="Fast C++ logging library"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
@@ -17,6 +19,10 @@ if [ "$XBPS_CHECK_PKGS" ]; then
 	configure_args+=" -DSPDLOG_BUILD_TESTS_HO=ON"
 fi
 
-post_install() {
-	vlicense LICENSE
+libspdlog_package() {
+	short_desc+=" - libraries"
+	pkg_install() {
+		vmove "usr/lib/*.so.*"
+		vlicense LICENSE
+	}
 }

From c6c68e55c5af4a26257dcb7b45a5b798f170584f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Mon, 15 Mar 2021 22:02:20 +0700
Subject: [PATCH 2/5] Waybar: use shared spdlog

---
 srcpkgs/Waybar/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/Waybar/template b/srcpkgs/Waybar/template
index 16588a75f874..13b84b38d847 100644
--- a/srcpkgs/Waybar/template
+++ b/srcpkgs/Waybar/template
@@ -1,7 +1,7 @@
 # Template file for 'Waybar'
 pkgname=Waybar
 version=0.9.5
-revision=1
+revision=2
 _date_version=3.0.0
 create_wrksrc=yes
 build_wrksrc=${pkgname}-${version}

From 5634e6f71d46e185365e5e7e6c2d89563d72783f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Mon, 15 Mar 2021 22:02:29 +0700
Subject: [PATCH 3/5] gerbera: use shared spdlog

---
 srcpkgs/gerbera/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/gerbera/template b/srcpkgs/gerbera/template
index 451f9eff5398..13ff8252378d 100644
--- a/srcpkgs/gerbera/template
+++ b/srcpkgs/gerbera/template
@@ -1,7 +1,7 @@
 # Template file for 'gerbera'
 pkgname=gerbera
 version=1.6.4
-revision=2
+revision=3
 build_style=cmake
 configure_args="-DWITH_SYSTEMD=0 -DWITH_AVCODEC=1"
 hostmakedepends="pkg-config"

From c06d738c298594ff9338823b85f04a9dbb497440 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Mon, 15 Mar 2021 22:02:34 +0700
Subject: [PATCH 4/5] libixion: use shared spdlog

---
 srcpkgs/libixion/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libixion/template b/srcpkgs/libixion/template
index 2d709b3f88b6..6ffb939d830b 100644
--- a/srcpkgs/libixion/template
+++ b/srcpkgs/libixion/template
@@ -1,7 +1,7 @@
 # Template file for 'libixion'
 pkgname=libixion
 version=0.16.1
-revision=1
+revision=2
 build_style=gnu-configure
 hostmakedepends="pkg-config python3"
 makedepends="boost-devel fmt-devel mdds python3-devel spdlog"

From 1497a61705a05826ffcbf5cb3215416de5faae0e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Mon, 15 Mar 2021 22:02:42 +0700
Subject: [PATCH 5/5] nheko: use shared spdlog

---
 srcpkgs/nheko/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/nheko/template b/srcpkgs/nheko/template
index 541d113a16e6..dd635f70f249 100644
--- a/srcpkgs/nheko/template
+++ b/srcpkgs/nheko/template
@@ -1,7 +1,7 @@
 # Template file for 'nheko'
 pkgname=nheko
 version=0.7.2
-revision=2
+revision=3
 build_style=cmake
 hostmakedepends="qt5-host-tools qt5-qmake pkg-config qt5-declarative"
 makedepends="qt5-multimedia-devel qt5-svg-devel qt5-tools-devel fmt-devel

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

end of thread, other threads:[~2021-03-16 23:07 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-15 15:12 [PR PATCH] spdlog shared lib sgn
2021-03-15 15:13 ` sgn
2021-03-15 15:39 ` [PR PATCH] [Updated] " sgn
2021-03-15 16:27 ` sgn
2021-03-15 16:27 ` sgn
2021-03-15 18:01 ` Johnnynator
2021-03-16  0:15 ` [PR PATCH] [Updated] " sgn
2021-03-16  0:18 ` sgn
2021-03-16  1:29 ` sgn
2021-03-16  1:44 ` sgn
2021-03-16 15:33 ` sgn
2021-03-16 15:37 ` sgn
2021-03-16 23:05 ` sgn
2021-03-16 23:06 ` sgn
2021-03-16 23:07 ` [PR PATCH] [Merged]: " sgn

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