All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2, 1/3] package/php-xdebug: drop unrecognized variable
@ 2024-03-30  9:03 Fabrice Fontaine
  2024-03-30  9:03 ` [Buildroot] [PATCH v2, 2/3] package/php-xdebug: add zlib optional dependency Fabrice Fontaine
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Fabrice Fontaine @ 2024-03-30  9:03 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

--with-xdebug is not recognized since the addition of the package in
commit 7b7dffd0984e1b274273f5638a975165606384f9:

configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-dependency-tracking, --enable-ipv6, --disable-nls, --with-xdebug

Fixes: 7b7dffd0984e1b274273f5638a975165606384f9

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/php-xdebug/php-xdebug.mk | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/package/php-xdebug/php-xdebug.mk b/package/php-xdebug/php-xdebug.mk
index c5a1e10ebc..62ef3fa997 100644
--- a/package/php-xdebug/php-xdebug.mk
+++ b/package/php-xdebug/php-xdebug.mk
@@ -14,8 +14,7 @@ PHP_XDEBUG_LICENSE_FILES = LICENSE
 PHP_XDEBUG_DEPENDENCIES = php host-autoconf
 PHP_XDEBUG_CONF_OPTS = \
 	--enable-xdebug \
-	--with-php-config=$(STAGING_DIR)/usr/bin/php-config \
-	--with-xdebug=$(STAGING_DIR)/usr
+	--with-php-config=$(STAGING_DIR)/usr/bin/php-config
 
 define PHP_XDEBUG_PHPIZE
 	(cd $(@D); \
-- 
2.43.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH v2, 2/3] package/php-xdebug: add zlib optional dependency
  2024-03-30  9:03 [Buildroot] [PATCH v2, 1/3] package/php-xdebug: drop unrecognized variable Fabrice Fontaine
@ 2024-03-30  9:03 ` Fabrice Fontaine
  2024-05-06 20:46   ` Peter Korsgaard
  2024-03-30  9:03 ` [Buildroot] [PATCH v2, 3/3] package/php-xdebug: bump to version 3.3.1 Fabrice Fontaine
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 6+ messages in thread
From: Fabrice Fontaine @ 2024-03-30  9:03 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

zlib is an optional dependency (enabled by default) since bump to
version 3.2.0 in commit 8280400fbadde09e51ccff312d7a4ef6a386f589 and
https://github.com/xdebug/xdebug/commit/3954e5cd9e48eec0a8a2a0c6a2fc120bbe562656

Fixes: 8280400fbadde09e51ccff312d7a4ef6a386f589

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/php-xdebug/php-xdebug.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/php-xdebug/php-xdebug.mk b/package/php-xdebug/php-xdebug.mk
index 62ef3fa997..3bc197e556 100644
--- a/package/php-xdebug/php-xdebug.mk
+++ b/package/php-xdebug/php-xdebug.mk
@@ -25,4 +25,11 @@ endef
 
 PHP_XDEBUG_PRE_CONFIGURE_HOOKS += PHP_XDEBUG_PHPIZE
 
+ifeq ($(BR2_PACKAGE_ZLIB),y)
+PHP_XDEBUG_CONF_OPTS += --with-xdebug-compression
+PHP_XDEBUG_DEPENDENCIES += zlib
+else
+PHP_XDEBUG_CONF_OPTS += --without-xdebug-compression
+endif
+
 $(eval $(autotools-package))
-- 
2.43.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH v2, 3/3] package/php-xdebug: bump to version 3.3.1
  2024-03-30  9:03 [Buildroot] [PATCH v2, 1/3] package/php-xdebug: drop unrecognized variable Fabrice Fontaine
  2024-03-30  9:03 ` [Buildroot] [PATCH v2, 2/3] package/php-xdebug: add zlib optional dependency Fabrice Fontaine
@ 2024-03-30  9:03 ` Fabrice Fontaine
  2024-04-10 21:12 ` [Buildroot] [PATCH v2, 1/3] package/php-xdebug: drop unrecognized variable Thomas Petazzoni via buildroot
  2024-05-06 20:45 ` Peter Korsgaard
  3 siblings, 0 replies; 6+ messages in thread
From: Fabrice Fontaine @ 2024-03-30  9:03 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

- License updated to match the PHP 3.01 license:
  https://github.com/xdebug/xdebug/commit/5fc2d818067d05503226ee8c6442985cb2fe069d
- This bump will fix the following build failure raised since bump of
  php to version 8.3.4 in commit
  e50460f9f12a8c5f82f2166733afe9cca3c8cd19:

  checking Check for supported PHP versions... configure: error: not supported. Need a PHP version >= 8.0.0 and < 8.3.0 (found 8.3.4)

https://xdebug.org/updates#x_3_3_1

Fixes: e50460f9f12a8c5f82f2166733afe9cca3c8cd19
 - http://autobuild.buildroot.org/results/0209b522baec3c88a2060e79f805552db79b2c70

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
Changes v1 -> v2:
 - Update PXP_XDEBUG_LICENSE

 package/php-xdebug/php-xdebug.hash | 4 ++--
 package/php-xdebug/php-xdebug.mk   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/package/php-xdebug/php-xdebug.hash b/package/php-xdebug/php-xdebug.hash
index 2509e6e2ee..251b79ab77 100644
--- a/package/php-xdebug/php-xdebug.hash
+++ b/package/php-xdebug/php-xdebug.hash
@@ -1,3 +1,3 @@
 # Locally computed
-sha256  f48777371f90cbb315ea4ea082a1ede6765bcfb35d7d6356ab8f71fd6dfcc157  xdebug-3.2.2.tgz
-sha256  ef479ee1a3da3f933e0d046ca8cd0c14601f29b2c0c41cc60c9388546a4e0272  LICENSE
+sha256  4eb4ee270bbcc5f14195c38f6ee58580e007cf4886ce32e11430318ab5bc2315  xdebug-3.3.1.tgz
+sha256  bc2aee27f3f0806be39e329d284ddbbfb14602a49af261df305dd6122d988eb0  LICENSE
diff --git a/package/php-xdebug/php-xdebug.mk b/package/php-xdebug/php-xdebug.mk
index 3bc197e556..771b96534a 100644
--- a/package/php-xdebug/php-xdebug.mk
+++ b/package/php-xdebug/php-xdebug.mk
@@ -4,11 +4,11 @@
 #
 ################################################################################
 
-PHP_XDEBUG_VERSION = 3.2.2
+PHP_XDEBUG_VERSION = 3.3.1
 PHP_XDEBUG_SOURCE = xdebug-$(PHP_XDEBUG_VERSION).tgz
 PHP_XDEBUG_SITE = https://xdebug.org/files
 PHP_XDEBUG_INSTALL_STAGING = YES
-PHP_XDEBUG_LICENSE = Xdebug License (PHP-3.0-like)
+PHP_XDEBUG_LICENSE = Xdebug License (PHP-3.01-like)
 PHP_XDEBUG_LICENSE_FILES = LICENSE
 # phpize does the autoconf magic
 PHP_XDEBUG_DEPENDENCIES = php host-autoconf
-- 
2.43.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH v2, 1/3] package/php-xdebug: drop unrecognized variable
  2024-03-30  9:03 [Buildroot] [PATCH v2, 1/3] package/php-xdebug: drop unrecognized variable Fabrice Fontaine
  2024-03-30  9:03 ` [Buildroot] [PATCH v2, 2/3] package/php-xdebug: add zlib optional dependency Fabrice Fontaine
  2024-03-30  9:03 ` [Buildroot] [PATCH v2, 3/3] package/php-xdebug: bump to version 3.3.1 Fabrice Fontaine
@ 2024-04-10 21:12 ` Thomas Petazzoni via buildroot
  2024-05-06 20:45 ` Peter Korsgaard
  3 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-04-10 21:12 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: buildroot

On Sat, 30 Mar 2024 10:03:34 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> --with-xdebug is not recognized since the addition of the package in
> commit 7b7dffd0984e1b274273f5638a975165606384f9:
> 
> configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-dependency-tracking, --enable-ipv6, --disable-nls, --with-xdebug
> 
> Fixes: 7b7dffd0984e1b274273f5638a975165606384f9
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/php-xdebug/php-xdebug.mk | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

Series applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH v2, 1/3] package/php-xdebug: drop unrecognized variable
  2024-03-30  9:03 [Buildroot] [PATCH v2, 1/3] package/php-xdebug: drop unrecognized variable Fabrice Fontaine
                   ` (2 preceding siblings ...)
  2024-04-10 21:12 ` [Buildroot] [PATCH v2, 1/3] package/php-xdebug: drop unrecognized variable Thomas Petazzoni via buildroot
@ 2024-05-06 20:45 ` Peter Korsgaard
  3 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2024-05-06 20:45 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > --with-xdebug is not recognized since the addition of the package in
 > commit 7b7dffd0984e1b274273f5638a975165606384f9:

 > configure: WARNING: unrecognized options: --disable-gtk-doc,
 > --disable-gtk-doc-html, --disable-doc, --disable-docs,
 > --disable-documentation, --with-xmlto, --with-fop,
 > --disable-dependency-tracking, --enable-ipv6, --disable-nls,
 > --with-xdebug

 > Fixes: 7b7dffd0984e1b274273f5638a975165606384f9

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2024.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH v2, 2/3] package/php-xdebug: add zlib optional dependency
  2024-03-30  9:03 ` [Buildroot] [PATCH v2, 2/3] package/php-xdebug: add zlib optional dependency Fabrice Fontaine
@ 2024-05-06 20:46   ` Peter Korsgaard
  0 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2024-05-06 20:46 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > zlib is an optional dependency (enabled by default) since bump to
 > version 3.2.0 in commit 8280400fbadde09e51ccff312d7a4ef6a386f589 and
 > https://github.com/xdebug/xdebug/commit/3954e5cd9e48eec0a8a2a0c6a2fc120bbe562656

 > Fixes: 8280400fbadde09e51ccff312d7a4ef6a386f589

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2024.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2024-05-06 20:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-30  9:03 [Buildroot] [PATCH v2, 1/3] package/php-xdebug: drop unrecognized variable Fabrice Fontaine
2024-03-30  9:03 ` [Buildroot] [PATCH v2, 2/3] package/php-xdebug: add zlib optional dependency Fabrice Fontaine
2024-05-06 20:46   ` Peter Korsgaard
2024-03-30  9:03 ` [Buildroot] [PATCH v2, 3/3] package/php-xdebug: bump to version 3.3.1 Fabrice Fontaine
2024-04-10 21:12 ` [Buildroot] [PATCH v2, 1/3] package/php-xdebug: drop unrecognized variable Thomas Petazzoni via buildroot
2024-05-06 20:45 ` Peter Korsgaard

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.