Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/rygel: update the patches to be applied with fuzz 0
@ 2024-07-07 12:59 Dario Binacchi
  2024-07-08 20:22 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Dario Binacchi @ 2024-07-07 12:59 UTC (permalink / raw)
  To: buildroot; +Cc: Dario Binacchi, Fabrice Fontaine

Commit 8f88a644ed7d6 ("support/scripts/apply-patches.sh: set the maximum
fuzz factor to 0") reduced the fuzz factor.

Due to this change, rygel fails to build with output:

    Applying 0001-meson.build-fix-g_ir_compiler-calls.patch using patch:
    patching file src/librygel-core/meson.build
    Hunk #1 succeeded at 73 (offset 3 lines).
    patching file src/librygel-renderer-gst/meson.build
    Hunk #1 succeeded at 37 (offset 1 line).
    patching file src/librygel-renderer/meson.build
    Hunk #1 FAILED at 43.
    1 out of 1 hunk FAILED -- saving rejects to file src/librygel-renderer/meson.build.rej
    patching file src/librygel-server/meson.build
    Hunk #1 FAILED at 122.
    1 out of 1 hunk FAILED -- saving rejects to file src/librygel-server/meson.build.rej

This commit refreshes the package patch on the current package version.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
 .checkpackageignore                              |  1 -
 ...001-meson.build-fix-g_ir_compiler-calls.patch | 16 +++++++++-------
 2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/.checkpackageignore b/.checkpackageignore
index 0a1d2627455e..b63173c3a665 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -1323,7 +1323,6 @@ package/rtorrent/0001-Added--disable-execinfo-option-to-configure.patch lib_patc
 package/rtty/0001-CMakeLists.txt-prefer-pkg_check_modules.patch lib_patch.Upstream
 package/rubix/0001-dont-use-legacy-functions.patch lib_patch.Upstream
 package/rubix/0002-misc-fixes.patch lib_patch.Sob lib_patch.Upstream
-package/rygel/0001-meson.build-fix-g_ir_compiler-calls.patch lib_patch.Upstream
 package/rygel/S99rygel Shellcheck lib_sysv.Indent lib_sysv.Variables
 package/s6-linux-init/0001-configure-add-D_GNU_SOURCE.patch lib_patch.Upstream
 package/safeclib/0001-fix-armv7-asm-inline-error-GH-115.patch lib_patch.Upstream
diff --git a/package/rygel/0001-meson.build-fix-g_ir_compiler-calls.patch b/package/rygel/0001-meson.build-fix-g_ir_compiler-calls.patch
index 1d8f4599f4ab..7b4d5a904c6a 100644
--- a/package/rygel/0001-meson.build-fix-g_ir_compiler-calls.patch
+++ b/package/rygel/0001-meson.build-fix-g_ir_compiler-calls.patch
@@ -20,7 +20,9 @@ Fixes:
  - http://autobuild.buildroot.org/results/2b8956818f03f66a53480f7ed5fc0abb4f05288d
 
 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-[Upstream status: probably not upstreamable]
+Upstream: probably not upstreamable
+[Dario: make the patch to be applied with fuzz factor 0]
+Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
 ---
  src/librygel-core/meson.build         | 4 +++-
  src/librygel-renderer-gst/meson.build | 1 +
@@ -32,7 +34,7 @@ diff --git a/src/librygel-core/meson.build b/src/librygel-core/meson.build
 index fd43bebe..e6be2b5e 100644
 --- a/src/librygel-core/meson.build
 +++ b/src/librygel-core/meson.build
-@@ -70,7 +70,9 @@ core_gir = custom_target('RygelCore-2.6.gir',
+@@ -73,7 +73,9 @@
  # so we depend on the custom_target from that step and pass the input through
  # commandline.
  custom_target('RygelCore-2.8.typelib',
@@ -47,7 +49,7 @@ diff --git a/src/librygel-renderer-gst/meson.build b/src/librygel-renderer-gst/m
 index ad98a3a7..e8baefe1 100644
 --- a/src/librygel-renderer-gst/meson.build
 +++ b/src/librygel-renderer-gst/meson.build
-@@ -36,6 +36,7 @@ custom_target('RygelRendererGst-2.6.typelib',
+@@ -37,6 +37,7 @@
                          '--output', '@OUTPUT@',
                          '--includedir', core_girdir,
                          '--includedir', renderer_girdir,
@@ -59,25 +61,25 @@ diff --git a/src/librygel-renderer/meson.build b/src/librygel-renderer/meson.bui
 index 5f401527..821273ff 100644
 --- a/src/librygel-renderer/meson.build
 +++ b/src/librygel-renderer/meson.build
-@@ -43,6 +43,7 @@ custom_target('RygelRenderer-2.6.typelib',
+@@ -44,6 +44,7 @@
                 command: [g_ir_compiler,
                          '--output', '@OUTPUT@',
                          '--includedir', core_girdir,
 +                        '--includedir', meson.get_external_property('sys_root') + get_option('prefix') + '/' + gir_dir,
                          join_paths(meson.current_build_dir(), 'RygelRenderer-2.8.gir')],
-                output: 'RygelRenderer-2.6.typelib',
+                output: 'RygelRenderer-2.8.typelib',
                 depends: [ renderer_lib, renderer_gir, core_gir ],
 diff --git a/src/librygel-server/meson.build b/src/librygel-server/meson.build
 index a3bd77d9..6b084eb6 100644
 --- a/src/librygel-server/meson.build
 +++ b/src/librygel-server/meson.build
-@@ -122,6 +122,7 @@ custom_target('RygelServer-2.6.typelib',
+@@ -125,6 +125,7 @@
                 command: [g_ir_compiler,
                          '--output', '@OUTPUT@',
                          '--includedir', core_girdir,
 +                        '--includedir', meson.get_external_property('sys_root') + get_option('prefix') + '/' + gir_dir,
                          join_paths(meson.current_build_dir(), 'RygelServer-2.8.gir')],
-                output: 'RygelServer-2.6.typelib',
+                output: 'RygelServer-2.8.typelib',
                 depends: [ server_lib, server_gir, core_gir ],
 -- 
 2.35.1
-- 
2.43.0

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

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

* Re: [Buildroot] [PATCH 1/1] package/rygel: update the patches to be applied with fuzz 0
  2024-07-07 12:59 [Buildroot] [PATCH 1/1] package/rygel: update the patches to be applied with fuzz 0 Dario Binacchi
@ 2024-07-08 20:22 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-07-08 20:22 UTC (permalink / raw)
  To: Dario Binacchi; +Cc: Fabrice Fontaine, buildroot

On Sun,  7 Jul 2024 14:59:21 +0200
Dario Binacchi <dario.binacchi@amarulasolutions.com> wrote:

> Commit 8f88a644ed7d6 ("support/scripts/apply-patches.sh: set the maximum
> fuzz factor to 0") reduced the fuzz factor.
> 
> Due to this change, rygel fails to build with output:
> 
>     Applying 0001-meson.build-fix-g_ir_compiler-calls.patch using patch:
>     patching file src/librygel-core/meson.build
>     Hunk #1 succeeded at 73 (offset 3 lines).
>     patching file src/librygel-renderer-gst/meson.build
>     Hunk #1 succeeded at 37 (offset 1 line).
>     patching file src/librygel-renderer/meson.build
>     Hunk #1 FAILED at 43.
>     1 out of 1 hunk FAILED -- saving rejects to file src/librygel-renderer/meson.build.rej
>     patching file src/librygel-server/meson.build
>     Hunk #1 FAILED at 122.
>     1 out of 1 hunk FAILED -- saving rejects to file src/librygel-server/meson.build.rej
> 
> This commit refreshes the package patch on the current package version.
> 
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> ---
>  .checkpackageignore                              |  1 -
>  ...001-meson.build-fix-g_ir_compiler-calls.patch | 16 +++++++++-------
>  2 files changed, 9 insertions(+), 8 deletions(-)

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] 2+ messages in thread

end of thread, other threads:[~2024-07-08 20:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-07 12:59 [Buildroot] [PATCH 1/1] package/rygel: update the patches to be applied with fuzz 0 Dario Binacchi
2024-07-08 20:22 ` Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox