* [Buildroot] [PATCH 1/1] package/gnuplot: drop gdlib-config
@ 2021-01-23 10:32 Fabrice Fontaine
2021-01-23 21:23 ` Yann E. MORIN
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2021-01-23 10:32 UTC (permalink / raw)
To: buildroot
Drop gdlib-config and use pkg-config to find gd.
Indeed, gdlib.pc is available since version 2.1.0 and
https://github.com/libgd/libgd/commit/071a2a94ee9f9e5ce00ff689dfe67a0fcb885ad6
and gdlib-config has been dropped from version 2.3.0
gnuplot supports pkg-config to find gd since version 5.4.1 and
https://sourceforge.net/p/gnuplot/gnuplot-main/ci/4a64124cf5e7bf7d6fd7be1f1a7b853c022678fd
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/gnuplot/gnuplot.mk | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/package/gnuplot/gnuplot.mk b/package/gnuplot/gnuplot.mk
index 746831275a..bebaf1fa76 100644
--- a/package/gnuplot/gnuplot.mk
+++ b/package/gnuplot/gnuplot.mk
@@ -31,9 +31,7 @@ endif
ifeq ($(BR2_PACKAGE_GD)$(BR2_PACKAGE_LIBPNG),yy)
GNUPLOT_CONF_OPTS += --with-gd
-GNUPLOT_DEPENDENCIES += gd
-GNUPLOT_CONF_ENV += \
- ac_cv_path_GDLIB_CONFIG=$(STAGING_DIR)/usr/bin/gdlib-config
+GNUPLOT_DEPENDENCIES += host-pkgconf gd
else
GNUPLOT_CONF_OPTS += --without-gd
endif
--
2.29.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] package/gnuplot: drop gdlib-config
2021-01-23 10:32 [Buildroot] [PATCH 1/1] package/gnuplot: drop gdlib-config Fabrice Fontaine
@ 2021-01-23 21:23 ` Yann E. MORIN
0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2021-01-23 21:23 UTC (permalink / raw)
To: buildroot
Fabrice, All,
On 2021-01-23 11:32 +0100, Fabrice Fontaine spake thusly:
> Drop gdlib-config and use pkg-config to find gd.
> Indeed, gdlib.pc is available since version 2.1.0 and
> https://github.com/libgd/libgd/commit/071a2a94ee9f9e5ce00ff689dfe67a0fcb885ad6
> and gdlib-config has been dropped from version 2.3.0
>
> gnuplot supports pkg-config to find gd since version 5.4.1 and
> https://sourceforge.net/p/gnuplot/gnuplot-main/ci/4a64124cf5e7bf7d6fd7be1f1a7b853c022678fd
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> package/gnuplot/gnuplot.mk | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/package/gnuplot/gnuplot.mk b/package/gnuplot/gnuplot.mk
> index 746831275a..bebaf1fa76 100644
> --- a/package/gnuplot/gnuplot.mk
> +++ b/package/gnuplot/gnuplot.mk
> @@ -31,9 +31,7 @@ endif
>
> ifeq ($(BR2_PACKAGE_GD)$(BR2_PACKAGE_LIBPNG),yy)
> GNUPLOT_CONF_OPTS += --with-gd
> -GNUPLOT_DEPENDENCIES += gd
> -GNUPLOT_CONF_ENV += \
> - ac_cv_path_GDLIB_CONFIG=$(STAGING_DIR)/usr/bin/gdlib-config
> +GNUPLOT_DEPENDENCIES += host-pkgconf gd
> else
> GNUPLOT_CONF_OPTS += --without-gd
> endif
> --
> 2.29.2
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-23 21:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-23 10:32 [Buildroot] [PATCH 1/1] package/gnuplot: drop gdlib-config Fabrice Fontaine
2021-01-23 21:23 ` Yann E. MORIN
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.