From: sgn <sgn@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] spdlog shared lib
Date: Mon, 15 Mar 2021 16:39:13 +0100 [thread overview]
Message-ID: <20210315153913.E252Lt_XWpQiiZXkCxkX6r3oYf-pzadT5O4IQy81FU4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-29489@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1671 bytes --]
There is an updated 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: 4504 bytes --]
From 4d71ff346b1c1de6fb77796196dd4c2b650c13f2 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..184a4d891698 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} fmt-devel"
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 960bc4adbffef516ac2bdc928f282062f994e661 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 ab3fd7d00ba6152f64232ae58ad06027d7cab2e5 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 3d344b69f6f4059b5664340840190af2035ba48e 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 d381283f53efa6171d2df7fce6b03b5003479139 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
next prev parent reply other threads:[~2021-03-15 15:39 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-15 15:12 [PR PATCH] " sgn
2021-03-15 15:13 ` sgn
2021-03-15 15:39 ` sgn [this message]
2021-03-15 16:27 ` [PR PATCH] [Updated] " 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
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=20210315153913.E252Lt_XWpQiiZXkCxkX6r3oYf-pzadT5O4IQy81FU4@z \
--to=sgn@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).