Skip to contentSkip to conversation

package/libfribidi: bump version to 1.0.17

PATCH Applied Bernd Kuhls 2 participants 3 messages Oct 22 – Nov 16

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libfribidi: bump version to 1.0.17

https://github.com/fribidi/fribidi/releases/tag/v1.0.17

Switched to sha256 tarball hash provided by upstream.

Updated license hash due to upstream commit
https://github.com/fribidi/fribidi/commit/5d829288e00b9dd709c8050f469ad0b2737f822c

Switched build system to meson to avoid fixing autoconf-related build errors which would be introduced by this bump. Even after adding upstream commit
https://github.com/fribidi/fribidi/commit/1d42f35e26f7ee4cde23a4103ace0f9f4f86a1aa
the build is still broken:

cp: './fribidi.1' and 'fribidi.1' are the same file make[4]: *** [Makefile:834: fribidi.1] Error 1 make[3]: *** [Makefile:507: all-recursive] Error 1 make[2]: *** [Makefile:416: all] Error 2

We would not only need to add autoreconf but also a _POST_EXTRACT_HOOKS entry to remove bin/fribidi.1 from the extracted tarball.

Instead of fixing these errors we switch the build system to meson which is supported upstream since version 1.0.2:
https://github.com/fribidi/fribidi/blob/master/NEWS#L117
when it was added in 2018 by commit
https://github.com/fribidi/fribidi/commit/a991b009b11fb791a9217af23659b092eb45377e

---
Gitlab pipelines passed:
https://gitlab.com/bkuhls/buildroot/-/commits/0d3b5398d3dfcfd3940852f1b65d21f53d2a8345

with the exception of an unrelated build error for target bootlin-x86-i686-musl/build/ffmpeg-7.0.3/.stamp_built:
https://gitlab.com/bkuhls/buildroot/-/jobs/17395269501

 package/libfribidi/libfribidi.hash | 5 +++--
 package/libfribidi/libfribidi.mk   | 6 +++---
 2 files changed, 6 insertions(+), 5 deletions(-)
package/libfribidi/libfribidi.hash +3 -2
index 9da9281c85..38acd814d0 100644
@@ -1,3 +1,4 @@
+# From https://github.com/fribidi/fribidi/releases/tag/v1.0.17
+sha256  6949dcde27d41cebad1fd741fcafc36d55a1020d2d872d4a6eb3914caabbada2  fribidi-1.0.17.tar.xz
 # Locally computed
-sha256  1b1cde5b235d40479e91be2f0e88a309e3214c8ab470ec8a2744d82a5a9ea05c  fribidi-1.0.16.tar.xz
-sha256  32434afcc8666ba060e111d715bfdb6c2d5dd8a35fa4d3ab8ad67d8f850d2f2b  COPYING
+sha256  20e50fe7aae3e56378ebf0417d9de904f55a0e61e4df315333e632a4d3555d95  COPYING
package/libfribidi/libfribidi.mk +3 -3
index ca0a39ccb4..1a275c5fcf 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBFRIBIDI_VERSION = 1.0.16
+LIBFRIBIDI_VERSION = 1.0.17
 LIBFRIBIDI_SOURCE = fribidi-$(LIBFRIBIDI_VERSION).tar.xz
 LIBFRIBIDI_SITE = https://github.com/fribidi/fribidi/releases/download/v$(LIBFRIBIDI_VERSION)
 LIBFRIBIDI_LICENSE = LGPL-2.1+
@@ -14,5 +14,5 @@ LIBFRIBIDI_CPE_ID_PRODUCT = fribidi
 LIBFRIBIDI_INSTALL_STAGING = YES
 LIBFRIBIDI_DEPENDENCIES = host-pkgconf
 
-$(eval $(autotools-package))
-$(eval $(host-autotools-package))
+$(eval $(meson-package))
+$(eval $(host-meson-package))
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 21 lines · Bernd Kuhls

https://github.com/fribidi/fribidi/releases/tag/v1.0.17

Switched to sha256 tarball hash provided by upstream.

Updated license hash due to upstream commit
https://github.com/fribidi/fribidi/commit/5d829288e00b9dd709c8050f469ad0b2737f822c

Switched build system to meson to avoid fixing autoconf-related build errors which would be introduced by this bump. Even after adding upstream commit
https://github.com/fribidi/fribidi/commit/1d42f35e26f7ee4cde23a4103ace0f9f4f86a1aa
the build is still broken:

cp: './fribidi.1' and 'fribidi.1' are the same file make[4]: *** [Makefile:834: fribidi.1] Error 1 make[3]: *** [Makefile:507: all-recursive] Error 1 make[2]: *** [Makefile:416: all] Error 2

We would not only need to add autoreconf but also a _POST_EXTRACT_HOOKS entry to remove bin/fribidi.1 from the extracted tarball.

Quoted 7 lines

Instead of fixing these errors we switch the build system to meson which is supported upstream since version 1.0.2:
https://github.com/fribidi/fribidi/blob/master/NEWS#L117
when it was added in 2018 by commit
https://github.com/fribidi/fribidi/commit/a991b009b11fb791a9217af23659b092eb45377e

Applied to master, thanks!

Best regards,

Thomas Petazzoni

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Bernd Kuhls

In reply of:

Quoted 21 lines

https://github.com/fribidi/fribidi/releases/tag/v1.0.17

Switched to sha256 tarball hash provided by upstream.

Updated license hash due to upstream commit
https://github.com/fribidi/fribidi/commit/5d829288e00b9dd709c8050f469ad0b2737f822c

Switched build system to meson to avoid fixing autoconf-related build errors which would be introduced by this bump. Even after adding upstream commit
https://github.com/fribidi/fribidi/commit/1d42f35e26f7ee4cde23a4103ace0f9f4f86a1aa
the build is still broken:

cp: './fribidi.1' and 'fribidi.1' are the same file make[4]: *** [Makefile:834: fribidi.1] Error 1 make[3]: *** [Makefile:507: all-recursive] Error 1 make[2]: *** [Makefile:416: all] Error 2

We would not only need to add autoreconf but also a _POST_EXTRACT_HOOKS entry to remove bin/fribidi.1 from the extracted tarball.

Quoted 7 lines

Instead of fixing these errors we switch the build system to meson which is supported upstream since version 1.0.2:
https://github.com/fribidi/fribidi/blob/master/NEWS#L117
when it was added in 2018 by commit
https://github.com/fribidi/fribidi/commit/a991b009b11fb791a9217af23659b092eb45377e

Applied to 2025.02.x, 2026.08.x. Thanks

Quoted 37 lines

---
Gitlab pipelines passed:
https://gitlab.com/bkuhls/buildroot/-/commits/0d3b5398d3dfcfd3940852f1b65d21f53d2a8345

with the exception of an unrelated build error for target bootlin-x86-i686-musl/build/ffmpeg-7.0.3/.stamp_built:
https://gitlab.com/bkuhls/buildroot/-/jobs/17395269501

 package/libfribidi/libfribidi.hash | 5 +++--
 package/libfribidi/libfribidi.mk   | 6 +++---
 2 files changed, 6 insertions(+), 5 deletions(-)
package/libfribidi/libfribidi.hash +3 -2
index 9da9281c85..38acd814d0 100644
@@ -1,3 +1,4 @@
+# From https://github.com/fribidi/fribidi/releases/tag/v1.0.17
+sha256  6949dcde27d41cebad1fd741fcafc36d55a1020d2d872d4a6eb3914caabbada2  fribidi-1.0.17.tar.xz
 # Locally computed
-sha256  1b1cde5b235d40479e91be2f0e88a309e3214c8ab470ec8a2744d82a5a9ea05c  fribidi-1.0.16.tar.xz
-sha256  32434afcc8666ba060e111d715bfdb6c2d5dd8a35fa4d3ab8ad67d8f850d2f2b  COPYING
+sha256  20e50fe7aae3e56378ebf0417d9de904f55a0e61e4df315333e632a4d3555d95  COPYING
package/libfribidi/libfribidi.mk +1 -1
index ca0a39ccb4..1a275c5fcf 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBFRIBIDI_VERSION = 1.0.16
+LIBFRIBIDI_VERSION = 1.0.17
 LIBFRIBIDI_SOURCE = fribidi-$(LIBFRIBIDI_VERSION).tar.xz
 LIBFRIBIDI_SITE = https://github.com/fribidi/fribidi/releases/download/v$(LIBFRIBIDI_VERSION)
 LIBFRIBIDI_LICENSE = LGPL-2.1+

package/libfribidi/libfribidi.mk LIBFRIBIDI_CPE_ID_PRODUCT = fribidi · line 18

Quoted 7 lines
package/libfribidi/libfribidi.mk +2 -2
@@ -14,5 +14,5 @@ LIBFRIBIDI_CPE_ID_PRODUCT = fribidi
 LIBFRIBIDI_INSTALL_STAGING = YES
 LIBFRIBIDI_DEPENDENCIES = host-pkgconf
 
-$(eval $(autotools-package))
-$(eval $(host-autotools-package))
+$(eval $(meson-package))
+$(eval $(host-meson-package))

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot