[2/2] fmt: Convert from build only to run time also for mpd

Message ID 20220811122921.3499697-2-adolf.belka@ipfire.org
State Accepted
Headers
Series [1/2] mpd: Add fmt as a run time dependency |

Commit Message

Adolf Belka Aug. 11, 2022, 12:29 p.m. UTC
  - libfmt required in run time by mpd
- mpd changelog specifically said fmt was a build only dependency
- Bug#12909 flagged up that fmt was also a run time dependency for mpd

Fixes: Bug#12909
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/{common => packages}/fmt | 4 ++--
 lfs/fmt                                   | 7 +++++++
 2 files changed, 9 insertions(+), 2 deletions(-)
 rename config/rootfiles/{common => packages}/fmt (92%)
  

Comments

Peter Müller Aug. 11, 2022, 6:28 p.m. UTC | #1
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>

> - libfmt required in run time by mpd
> - mpd changelog specifically said fmt was a build only dependency
> - Bug#12909 flagged up that fmt was also a run time dependency for mpd
> 
> Fixes: Bug#12909
> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
> ---
>  config/rootfiles/{common => packages}/fmt | 4 ++--
>  lfs/fmt                                   | 7 +++++++
>  2 files changed, 9 insertions(+), 2 deletions(-)
>  rename config/rootfiles/{common => packages}/fmt (92%)
> 
> diff --git a/config/rootfiles/common/fmt b/config/rootfiles/packages/fmt
> similarity index 92%
> rename from config/rootfiles/common/fmt
> rename to config/rootfiles/packages/fmt
> index d9067f14a..ab97316a2 100644
> --- a/config/rootfiles/common/fmt
> +++ b/config/rootfiles/packages/fmt
> @@ -18,6 +18,6 @@
>  #usr/lib/cmake/fmt/fmt-targets-release.cmake
>  #usr/lib/cmake/fmt/fmt-targets.cmake
>  #usr/lib/libfmt.so
> -#usr/lib/libfmt.so.8
> -#usr/lib/libfmt.so.8.1.1
> +usr/lib/libfmt.so.8
> +usr/lib/libfmt.so.8.1.1
>  #usr/lib/pkgconfig/fmt.pc
> diff --git a/lfs/fmt b/lfs/fmt
> index 754de03b1..9f36e4942 100644
> --- a/lfs/fmt
> +++ b/lfs/fmt
> @@ -24,6 +24,8 @@
>  
>  include Config
>  
> +SUMMARY    = Open-source formatting library for C++
> +
>  VER        = 8.1.1
>  
>  THISAPP    = fmt-$(VER)
> @@ -31,6 +33,11 @@ DL_FILE    = $(THISAPP).tar.gz
>  DL_FROM    = $(URL_IPFIRE)
>  DIR_APP    = $(DIR_SRC)/$(THISAPP)
>  TARGET     = $(DIR_INFO)/$(THISAPP)
> +PROG       = fmt
> +PAK_VER    = 1
> +SUP_ARCH   = aarch64 armv6l x86_64
> +
> +DEPS       = 
>  
>  ###############################################################################
>  # Top-level Rules
  

Patch

diff --git a/config/rootfiles/common/fmt b/config/rootfiles/packages/fmt
similarity index 92%
rename from config/rootfiles/common/fmt
rename to config/rootfiles/packages/fmt
index d9067f14a..ab97316a2 100644
--- a/config/rootfiles/common/fmt
+++ b/config/rootfiles/packages/fmt
@@ -18,6 +18,6 @@ 
 #usr/lib/cmake/fmt/fmt-targets-release.cmake
 #usr/lib/cmake/fmt/fmt-targets.cmake
 #usr/lib/libfmt.so
-#usr/lib/libfmt.so.8
-#usr/lib/libfmt.so.8.1.1
+usr/lib/libfmt.so.8
+usr/lib/libfmt.so.8.1.1
 #usr/lib/pkgconfig/fmt.pc
diff --git a/lfs/fmt b/lfs/fmt
index 754de03b1..9f36e4942 100644
--- a/lfs/fmt
+++ b/lfs/fmt
@@ -24,6 +24,8 @@ 
 
 include Config
 
+SUMMARY    = Open-source formatting library for C++
+
 VER        = 8.1.1
 
 THISAPP    = fmt-$(VER)
@@ -31,6 +33,11 @@  DL_FILE    = $(THISAPP).tar.gz
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
+PROG       = fmt
+PAK_VER    = 1
+SUP_ARCH   = aarch64 armv6l x86_64
+
+DEPS       = 
 
 ###############################################################################
 # Top-level Rules