* [Buildroot] [PATCH 1/2] package/perl-gd: bump to version 2.76
@ 2022-02-15 7:07 Francois Perrad
2022-02-15 7:07 ` [Buildroot] [PATCH 2/2] package/perl-gd: add webp support Francois Perrad
2022-03-10 21:25 ` [Buildroot] [PATCH 1/2] package/perl-gd: bump to version 2.76 Arnout Vandecappelle
0 siblings, 2 replies; 3+ messages in thread
From: Francois Perrad @ 2022-02-15 7:07 UTC (permalink / raw)
To: buildroot
remove upstreamed patch
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
...-fix-cross-compilation-with-gdlib.pc.patch | 34 -------------------
package/perl-gd/perl-gd.hash | 4 +--
package/perl-gd/perl-gd.mk | 2 +-
3 files changed, 3 insertions(+), 37 deletions(-)
delete mode 100644 package/perl-gd/0001-Makefile.PL-fix-cross-compilation-with-gdlib.pc.patch
diff --git a/package/perl-gd/0001-Makefile.PL-fix-cross-compilation-with-gdlib.pc.patch b/package/perl-gd/0001-Makefile.PL-fix-cross-compilation-with-gdlib.pc.patch
deleted file mode 100644
index af053c560..000000000
--- a/package/perl-gd/0001-Makefile.PL-fix-cross-compilation-with-gdlib.pc.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 11dc017e902397c452331425eb6101b3315572fa Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-Date: Sun, 24 Jan 2021 10:59:31 +0100
-Subject: [PATCH] Makefile.PL: fix cross-compilation with gdlib.pc
-
-Cross-compilation will fail if gdlib.pc does not contain any cflags.
-Indeed, if cflags is empty, Makefile.PL will use the default value for
-INC (i.e. -I/usr/include -I/usr/include/gd)
-
-It should be noted that gdlib-config has been dropped from gd since
-version 2.3.0
-
-Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-[Upstream status: probably not upstreamable]
----
- Makefile.PL | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Makefile.PL b/Makefile.PL
-index 25f2f93..7da3651 100644
---- a/Makefile.PL
-+++ b/Makefile.PL
-@@ -47,7 +47,7 @@ If you want to try to compile anyway, please rerun this script with the option -
- END
- }
-
--@INC = qw(-I/usr/include -I/usr/include/gd) unless @INC;
-+#@INC = qw(-I/usr/include -I/usr/include/gd) unless @INC;
- @LIBPATH = qw(-L/usr/lib/X11 -L/usr/X11R6/lib -L/usr/X11/lib -L/usr/lib) unless @LIBPATH;
- @LIBS = qw(-lgd) unless @LIBS;
-
---
-2.29.2
-
diff --git a/package/perl-gd/perl-gd.hash b/package/perl-gd/perl-gd.hash
index 780b1d1e2..97f1da821 100644
--- a/package/perl-gd/perl-gd.hash
+++ b/package/perl-gd/perl-gd.hash
@@ -1,6 +1,6 @@
# retrieved by scancpan from http://cpan.metacpan.org/
-md5 c2bf1ca56d15e33d2432e4d8ba5aeadf GD-2.73.tar.gz
-sha256 491c9e73238522e2987e66725a20935f4268a3864202ecbaf4659a1691ba322b GD-2.73.tar.gz
+md5 fb4bacab10ed4f28d52c2aabdaf866bb GD-2.76.tar.gz
+sha256 693d9e3d709e9188a682cb9090a77b70aac12a04e84128677577b94e4331775b GD-2.76.tar.gz
# computed by scancpan
sha256 1e2250289d6df4ba1c24f7550982d7ffaff2c97cd02e847659406e1afd28e83f LICENSE
diff --git a/package/perl-gd/perl-gd.mk b/package/perl-gd/perl-gd.mk
index b402dfff4..9787cc12f 100644
--- a/package/perl-gd/perl-gd.mk
+++ b/package/perl-gd/perl-gd.mk
@@ -4,7 +4,7 @@
#
################################################################################
-PERL_GD_VERSION = 2.73
+PERL_GD_VERSION = 2.76
PERL_GD_SOURCE = GD-$(PERL_GD_VERSION).tar.gz
PERL_GD_SITE = $(BR2_CPAN_MIRROR)/authors/id/R/RU/RURBAN
PERL_GD_DEPENDENCIES = host-perl-extutils-pkgconfig zlib gd
--
2.32.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 2/2] package/perl-gd: add webp support
2022-02-15 7:07 [Buildroot] [PATCH 1/2] package/perl-gd: bump to version 2.76 Francois Perrad
@ 2022-02-15 7:07 ` Francois Perrad
2022-03-10 21:25 ` [Buildroot] [PATCH 1/2] package/perl-gd: bump to version 2.76 Arnout Vandecappelle
1 sibling, 0 replies; 3+ messages in thread
From: Francois Perrad @ 2022-02-15 7:07 UTC (permalink / raw)
To: buildroot
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
package/perl-gd/perl-gd.mk | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/package/perl-gd/perl-gd.mk b/package/perl-gd/perl-gd.mk
index 9787cc12f..cd32c7fb8 100644
--- a/package/perl-gd/perl-gd.mk
+++ b/package/perl-gd/perl-gd.mk
@@ -40,6 +40,12 @@ PERL_GD_OPTIONS += PNG
PERL_GD_CONF_OPTS += -lib_png_path=$(STAGING_DIR)/usr
endif
+ifeq ($(BR2_PACKAGE_WEBP),y)
+PERL_GD_DEPENDENCIES += webp
+PERL_GD_OPTIONS += WEBP
+PERL_GD_CONF_OPTS += -lib_webp_path=$(STAGING_DIR)/usr
+endif
+
ifeq ($(BR2_PACKAGE_XLIB_LIBXPM),y)
PERL_GD_DEPENDENCIES += xlib_libXpm
PERL_GD_OPTIONS += XPM
--
2.32.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/2] package/perl-gd: bump to version 2.76
2022-02-15 7:07 [Buildroot] [PATCH 1/2] package/perl-gd: bump to version 2.76 Francois Perrad
2022-02-15 7:07 ` [Buildroot] [PATCH 2/2] package/perl-gd: add webp support Francois Perrad
@ 2022-03-10 21:25 ` Arnout Vandecappelle
1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle @ 2022-03-10 21:25 UTC (permalink / raw)
To: Francois Perrad, buildroot
On 15/02/2022 08:07, Francois Perrad wrote:
> remove upstreamed patch
>
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Both applied to master, thanks.
Regards,
Arnout
> ---
> ...-fix-cross-compilation-with-gdlib.pc.patch | 34 -------------------
> package/perl-gd/perl-gd.hash | 4 +--
> package/perl-gd/perl-gd.mk | 2 +-
> 3 files changed, 3 insertions(+), 37 deletions(-)
> delete mode 100644 package/perl-gd/0001-Makefile.PL-fix-cross-compilation-with-gdlib.pc.patch
>
> diff --git a/package/perl-gd/0001-Makefile.PL-fix-cross-compilation-with-gdlib.pc.patch b/package/perl-gd/0001-Makefile.PL-fix-cross-compilation-with-gdlib.pc.patch
> deleted file mode 100644
> index af053c560..000000000
> --- a/package/perl-gd/0001-Makefile.PL-fix-cross-compilation-with-gdlib.pc.patch
> +++ /dev/null
> @@ -1,34 +0,0 @@
> -From 11dc017e902397c452331425eb6101b3315572fa Mon Sep 17 00:00:00 2001
> -From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> -Date: Sun, 24 Jan 2021 10:59:31 +0100
> -Subject: [PATCH] Makefile.PL: fix cross-compilation with gdlib.pc
> -
> -Cross-compilation will fail if gdlib.pc does not contain any cflags.
> -Indeed, if cflags is empty, Makefile.PL will use the default value for
> -INC (i.e. -I/usr/include -I/usr/include/gd)
> -
> -It should be noted that gdlib-config has been dropped from gd since
> -version 2.3.0
> -
> -Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> -[Upstream status: probably not upstreamable]
> ----
> - Makefile.PL | 2 +-
> - 1 file changed, 1 insertion(+), 1 deletion(-)
> -
> -diff --git a/Makefile.PL b/Makefile.PL
> -index 25f2f93..7da3651 100644
> ---- a/Makefile.PL
> -+++ b/Makefile.PL
> -@@ -47,7 +47,7 @@ If you want to try to compile anyway, please rerun this script with the option -
> - END
> - }
> -
> --@INC = qw(-I/usr/include -I/usr/include/gd) unless @INC;
> -+#@INC = qw(-I/usr/include -I/usr/include/gd) unless @INC;
> - @LIBPATH = qw(-L/usr/lib/X11 -L/usr/X11R6/lib -L/usr/X11/lib -L/usr/lib) unless @LIBPATH;
> - @LIBS = qw(-lgd) unless @LIBS;
> -
> ---
> -2.29.2
> -
> diff --git a/package/perl-gd/perl-gd.hash b/package/perl-gd/perl-gd.hash
> index 780b1d1e2..97f1da821 100644
> --- a/package/perl-gd/perl-gd.hash
> +++ b/package/perl-gd/perl-gd.hash
> @@ -1,6 +1,6 @@
> # retrieved by scancpan from http://cpan.metacpan.org/
> -md5 c2bf1ca56d15e33d2432e4d8ba5aeadf GD-2.73.tar.gz
> -sha256 491c9e73238522e2987e66725a20935f4268a3864202ecbaf4659a1691ba322b GD-2.73.tar.gz
> +md5 fb4bacab10ed4f28d52c2aabdaf866bb GD-2.76.tar.gz
> +sha256 693d9e3d709e9188a682cb9090a77b70aac12a04e84128677577b94e4331775b GD-2.76.tar.gz
>
> # computed by scancpan
> sha256 1e2250289d6df4ba1c24f7550982d7ffaff2c97cd02e847659406e1afd28e83f LICENSE
> diff --git a/package/perl-gd/perl-gd.mk b/package/perl-gd/perl-gd.mk
> index b402dfff4..9787cc12f 100644
> --- a/package/perl-gd/perl-gd.mk
> +++ b/package/perl-gd/perl-gd.mk
> @@ -4,7 +4,7 @@
> #
> ################################################################################
>
> -PERL_GD_VERSION = 2.73
> +PERL_GD_VERSION = 2.76
> PERL_GD_SOURCE = GD-$(PERL_GD_VERSION).tar.gz
> PERL_GD_SITE = $(BR2_CPAN_MIRROR)/authors/id/R/RU/RURBAN
> PERL_GD_DEPENDENCIES = host-perl-extutils-pkgconfig zlib gd
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-03-10 21:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-15 7:07 [Buildroot] [PATCH 1/2] package/perl-gd: bump to version 2.76 Francois Perrad
2022-02-15 7:07 ` [Buildroot] [PATCH 2/2] package/perl-gd: add webp support Francois Perrad
2022-03-10 21:25 ` [Buildroot] [PATCH 1/2] package/perl-gd: bump to version 2.76 Arnout Vandecappelle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox