Package: release.debian.org Severity: normal Tags: bookworm User: release.debian....@packages.debian.org Usertags: pu X-Debbugs-Cc: libfirefox-marionette-p...@packages.debian.org Control: affects -1 + src:libfirefox-marionette-perl
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 I've uploaded libfirefox-marionette-perl/1.35-1+deb12u1 to bookworm. Compared to 1.35-1 it contains one small patch, taken from an upstream commit which is in the 1.36 release, which adjusts the Firefox Capabilities handling to Firefox 112+. This upload fixes the FTBFS bug #1042299. Upstream bug report: https://github.com/david-dick/firefox-marionette/issues/21 Related firefox issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1819029 Upstream commit (= patch): https://github.com/david-dick/firefox-marionette/commit/1e8785004852e561c8b7a98701bc82fb7a537ffd Full debdiff attached. Thanks in advance, gregor -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAmWGF1VfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ qgb3DhAAw0+ye42GcRoBBymTiCrJR6TzCxT1SI0gwBnC6bTczNkv5yg8sEYAlXMe NpG4RRNG77x6oqBB95yXt/USUCMZdgjlpJcgqZrK3NiZ3QLuMC+erghsToWSCL6S WqRy4DHJPx4xsOenGsyVIgMqQzxtlkg1wsr93vjI5ToL1fAppki3QZuN/ovXl7wU p6yb/aoTXaW1jn7ZN7FbLBe6KNC1Vl6NX5JNuCR0iihBxXZDQTLoZDle60s/7Hjc TZpuSK7KTwhW2f3Rg8kYvuuA4VlX8x2uVuGb4q7ptvUTHWlSdKjRcPeMKLOcb9NQ h3YFhhSxS1Cofn0sX8Rz67yfnYkVnY+QEJZESueEIyhgp0NDpWMoiVqSeiOWyjXy kBYIIupb6eaPKSVnCd0Cbqbf9IuTeotP6YukS9xIdAZRwaPu4dEYIVH52i+U4oXT ZoX/Pe6GruG+4UFrP/Elo5VSSxuHFhM3Z8tfa2OMGUd47KfehbZFbikAH+2uX1/v 9n5liqIMwTJl3rJBfSMYPKSZFukICnvFiqwIP44uTG6WYgHaQwUUcLmzMQyPXTFO 8zZSU5EFqG8jEjp9j/z6IxzVI5VtRI+cU7UIc0ZHkcMtsdVBVkIXel60lfetynsg 2XxuUt5g+10f1KJAmGWIOgixc/8JMPz88XpLhI1OpycG5NpL1cg= =bm57 -----END PGP SIGNATURE-----
diff -Nru libfirefox-marionette-perl-1.35/debian/changelog libfirefox-marionette-perl-1.35/debian/changelog --- libfirefox-marionette-perl-1.35/debian/changelog 2023-01-30 20:40:55.000000000 +0100 +++ libfirefox-marionette-perl-1.35/debian/changelog 2023-12-22 23:49:39.000000000 +0100 @@ -1,3 +1,12 @@ +libfirefox-marionette-perl (1.35-1+deb12u1) bookworm; urgency=medium + + * Add patch 0001-Fixes-to-capabilities-for-Firefox-112.-Looks- + related.patch: "Fixes to capabilities for Firefox 112." + (This is upstream commit 1e87850, included in the 1.36 release.) + Closes: #1042299 + + -- gregor herrmann <gre...@debian.org> Fri, 22 Dec 2023 23:49:39 +0100 + libfirefox-marionette-perl (1.35-1) unstable; urgency=medium * Import upstream version 1.35. diff -Nru libfirefox-marionette-perl-1.35/debian/patches/0001-Fixes-to-capabilities-for-Firefox-112.-Looks-related.patch libfirefox-marionette-perl-1.35/debian/patches/0001-Fixes-to-capabilities-for-Firefox-112.-Looks-related.patch --- libfirefox-marionette-perl-1.35/debian/patches/0001-Fixes-to-capabilities-for-Firefox-112.-Looks-related.patch 1970-01-01 01:00:00.000000000 +0100 +++ libfirefox-marionette-perl-1.35/debian/patches/0001-Fixes-to-capabilities-for-Firefox-112.-Looks-related.patch 2023-12-22 23:49:39.000000000 +0100 @@ -0,0 +1,39 @@ +From 1e8785004852e561c8b7a98701bc82fb7a537ffd Mon Sep 17 00:00:00 2001 +From: David Dick <dd...@cpan.org> +Date: Sat, 29 Apr 2023 13:37:28 +1000 +Subject: [PATCH] Fixes to capabilities for Firefox 112. Looks related to + https://bugzilla.mozilla.org/show_bug.cgi?id=1819029. Thanks to toreau for + the bug report in GH#21 + +Bugs-Debian: https://bugs.debian.org/1042299 + +--- + lib/Firefox/Marionette.pm | 12 ++++++++++-- + 1 file changed, 10 insertions(+), 2 deletions(-) + +diff --git a/lib/Firefox/Marionette.pm b/lib/Firefox/Marionette.pm +index 2d10d85..6b8440b 100644 +--- a/lib/Firefox/Marionette.pm ++++ b/lib/Firefox/Marionette.pm +@@ -7670,8 +7670,16 @@ sub capabilities { + ); + my $response = $self->_get_response($message_id); + if ( $self->marionette_protocol() == _MARIONETTE_PROTOCOL_VERSION_3() ) { +- return $self->_create_capabilities( +- $response->result()->{capabilities} ); ++ if ( ( $response->result()->{value} ) ++ && ( $response->result()->{value}->{capabilities} ) ) ++ { ++ return $self->_create_capabilities( ++ $response->result()->{value}->{capabilities} ); ++ } ++ else { ++ return $self->_create_capabilities( ++ $response->result()->{capabilities} ); ++ } + } + else { + return $self->_create_capabilities( $response->result()->{value} ); +-- +2.43.0 + diff -Nru libfirefox-marionette-perl-1.35/debian/patches/series libfirefox-marionette-perl-1.35/debian/patches/series --- libfirefox-marionette-perl-1.35/debian/patches/series 2023-01-30 20:40:55.000000000 +0100 +++ libfirefox-marionette-perl-1.35/debian/patches/series 2023-12-22 23:49:39.000000000 +0100 @@ -1 +1,2 @@ no-network.patch +0001-Fixes-to-capabilities-for-Firefox-112.-Looks-related.patch