package/libfribidi: bump to version v1.0.5
PATCH 1/1 package/libfribidi: bump to version v1.0.5
From: Adam Duskett <[email protected]>
Changes include:
- Changing the URL to GitHub, as the old URL was no longer valid resulting in the tar file being the HTML from www.fribidi.org.
- Switching the package to a meson package.
- Adding fix-meson.patch from
http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-support/fribidi/fribidi/meson.patch
which fixes the error: "Can not use target gen-unicode-version as a generator because it is cross-built and no exe wrapper is defined."
- Add a sha256 hash for the license file.
--- package/libfribidi/0001-fix-meson.patch | 42 +++++++++++++++++++++++++ package/libfribidi/libfribidi.hash | 5 +-- package/libfribidi/libfribidi.mk | 16 +++------- 3 files changed, 50 insertions(+), 13 deletions(-) create mode 100644 package/libfribidi/0001-fix-meson.patch
package/libfribidi/0001-fix-meson.patch new file +42 -0
@@ -0,0 +1,42 @@ +From f5feb6c599adb52f24656f8589868039b0d14272 Mon Sep 17 00:00:00 2001 +From: Heiko Becker <[email protected]> +Date: Fri, 7 Sep 2018 20:57:11 +0200 +Subject: [PATCH] Build generator executables natively + +They are run during the build and not installed in the end. Without +this one gets the following error from meson: "ERROR: Can not use +target gen-unicode-version as a generator because it is cross-built +and no exe wrapper is defined. You might want to set it to native +instead." + +Closes #87. +Signed-off-by: Ross Burton <[email protected]> +Signed-off-by: Adam Duskett <[email protected]> +--- + gen.tab/meson.build | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/gen.tab/meson.build b/gen.tab/meson.build +index 6006d98..8c21e98 100644 +--- a/gen.tab/meson.build ++++ b/gen.tab/meson.build +@@ -33,7 +33,8 @@ gen_unicode_version = executable('gen-unicode-version', + 'gen-unicode-version.c', + include_directories: incs, + c_args: native_args, +- install: false) ++ install: false, ++ native: true) + + fribidi_unicode_version_h = custom_target('fribidi-unicode-version.h', + input: files('unidata/ReadMe.txt', 'unidata/BidiMirroring.txt'), +@@ -67,7 +68,8 @@ foreach tab : tabs + gen_prog_src, 'packtab.c', + include_directories: incs, + c_args: native_args, +- install: false) ++ install: false, ++ native: true) + + tab_inc_file = custom_target(gen_prog_name, + input: gen_prog_inputs,
package/libfribidi/libfribidi.hash +3 -2
@@ -1,2 +1,3 @@ -# From http://www.fribidi.org/download/fribidi-0.19.7.tar.bz2.sha256 -sha256 08222a6212bbc2276a2d55c3bf370109ae4a35b689acbc66571ad2a670595a8e fribidi-0.19.7.tar.bz2 +# Locally caclulated +sha256 aee3a93d081c293eaca9157700f17dc780a0b6674bc911decc5aaa43aec9abd7 fribidi-v1.0.5.tar.gz +sha256 32434afcc8666ba060e111d715bfdb6c2d5dd8a35fa4d3ab8ad67d8f850d2f2b COPYING
package/libfribidi/libfribidi.mk +5 -11
@@ -4,19 +4,13 @@ # ################################################################################ -LIBFRIBIDI_VERSION = 0.19.7 -LIBFRIBIDI_SOURCE = fribidi-$(LIBFRIBIDI_VERSION).tar.bz2 -LIBFRIBIDI_SITE = http://www.fribidi.org/download +LIBFRIBIDI_VERSION = v1.0.5 +LIBFRIBIDI_SOURCE = fribidi-$(LIBFRIBIDI_VERSION).tar.gz +LIBFRIBIDI_SITE = $(call github,fribidi,fribidi,$(LIBFRIBIDI_VERSION)) LIBFRIBIDI_LICENSE = LGPL-2.1+ LIBFRIBIDI_LICENSE_FILES = COPYING LIBFRIBIDI_INSTALL_STAGING = YES -# Ships a beta libtool version hence our patch doesn't apply. -# Run autoreconf to regenerate ltmain.sh. -LIBFRIBIDI_AUTORECONF = YES LIBFRIBIDI_DEPENDENCIES = host-pkgconf -# libglib2 dependency causes a build failure, and this optional -# dependency is going to be removed upstream, see -# https://github.com/behdad/fribidi/pull/14 -LIBFRIBIDI_CONF_OPTS = --with-glib=no +LIBFRIBIDI_CONF_OPTS = -Ddocs=false -$(eval $(autotools-package)) +$(eval $(meson-package))
Signature · 1 line
2.21.0
PATCH 1/1 package/libfribidi: bump to version v1.0.5
Hi Adam,
Quoted 96 lines · aduskett
From: Adam Duskett <[email protected]>
Changes include:
- Changing the URL to GitHub, as the old URL was no longer valid resulting in the tar file being the HTML from www.fribidi.org.- Switching the package to a meson package.
- Adding fix-meson.patch from
http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-support/fribidi/fribidi/meson.patch
which fixes the error: "Can not use target gen-unicode-version as a generator because it is cross-built and no exe wrapper is defined."- Add a sha256 hash for the license file.
Signed-off-by Adam Duskett <[email protected]>--- package/libfribidi/0001-fix-meson.patch | 42 +++++++++++++++++++++++++ package/libfribidi/libfribidi.hash | 5 +-- package/libfribidi/libfribidi.mk | 16 +++------- 3 files changed, 50 insertions(+), 13 deletions(-) create mode 100644 package/libfribidi/0001-fix-meson.patchpackage/libfribidi/0001-fix-meson.patch new file +42
-0@@ -0,0 +1,42 @@ +From f5feb6c599adb52f24656f8589868039b0d14272 Mon Sep 17 00:00:00 2001 +From: Heiko Becker <[email protected]> +Date: Fri, 7 Sep 2018 20:57:11 +0200 +Subject: [PATCH] Build generator executables natively + +They are run during the build and not installed in the end. Without +this one gets the following error from meson: "ERROR: Can not use +target gen-unicode-version as a generator because it is cross-built +and no exe wrapper is defined. You might want to set it to native +instead." + +Closes #87. +Signed-off-by: Ross Burton <[email protected]> +Signed-off-by: Adam Duskett <[email protected]> +--- + gen.tab/meson.build | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/gen.tab/meson.build b/gen.tab/meson.build +index 6006d98..8c21e98 100644 +--- a/gen.tab/meson.build ++++ b/gen.tab/meson.build +@@ -33,7 +33,8 @@ gen_unicode_version = executable('gen-unicode-version', + 'gen-unicode-version.c', + include_directories: incs, + c_args: native_args, +- install: false) ++ install: false, ++ native: true) + + fribidi_unicode_version_h = custom_target('fribidi-unicode-version.h', + input: files('unidata/ReadMe.txt', 'unidata/BidiMirroring.txt'), +@@ -67,7 +68,8 @@ foreach tab : tabs + gen_prog_src, 'packtab.c', + include_directories: incs, + c_args: native_args, +- install: false) ++ install: false, ++ native: true) + + tab_inc_file = custom_target(gen_prog_name, + input: gen_prog_inputs,package/libfribidi/libfribidi.hash +3
-2@@ -1,2 +1,3 @@ -# From http://www.fribidi.org/download/fribidi-0.19.7.tar.bz2.sha256 -sha256 08222a6212bbc2276a2d55c3bf370109ae4a35b689acbc66571ad2a670595a8e fribidi-0.19.7.tar.bz2 +# Locally caclulated +sha256 aee3a93d081c293eaca9157700f17dc780a0b6674bc911decc5aaa43aec9abd7 fribidi-v1.0.5.tar.gz +sha256 32434afcc8666ba060e111d715bfdb6c2d5dd8a35fa4d3ab8ad67d8f850d2f2b COPYINGpackage/libfribidi/libfribidi.mk +3
-3@@ -4,19 +4,13 @@ # ################################################################################ -LIBFRIBIDI_VERSION = 0.19.7 -LIBFRIBIDI_SOURCE = fribidi-$(LIBFRIBIDI_VERSION).tar.bz2 -LIBFRIBIDI_SITE = http://www.fribidi.org/download +LIBFRIBIDI_VERSION = v1.0.5 +LIBFRIBIDI_SOURCE = fribidi-$(LIBFRIBIDI_VERSION).tar.gz +LIBFRIBIDI_SITE = $(call github,fribidi,fribidi,$(LIBFRIBIDI_VERSION)) LIBFRIBIDI_LICENSE = LGPL-2.1+
package/libfribidi/libfribidi.mk line 20
Quoted 10 lines
package/libfribidi/libfribidi.mk +0
-7LIBFRIBIDI_LICENSE_FILES = COPYING LIBFRIBIDI_INSTALL_STAGING = YES -# Ships a beta libtool version hence our patch doesn't apply. -# Run autoreconf to regenerate ltmain.sh. -LIBFRIBIDI_AUTORECONF = YES LIBFRIBIDI_DEPENDENCIES = host-pkgconf -# libglib2 dependency causes a build failure, and this optional -# dependency is going to be removed upstream, see -# https://github.com/behdad/fribidi/pull/14 -LIBFRIBIDI_CONF_OPTS = --with-glib=no
So what happened with the glib dependency then. Is it gone? Please explain in the commit log.
baruch
package/libfribidi/libfribidi.mk line 16
Quoted 4 lines
package/libfribidi/libfribidi.mk +2
-1+LIBFRIBIDI_CONF_OPTS = -Ddocs=false -$(eval $(autotools-package)) +$(eval $(meson-package))
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
PATCH 1/1 package/libfribidi: bump to version v1.0.5
Hey Baruch;
Quoted 105 lines · Baruch Siach
Hi Adam,
Quoted 101 lines · aduskett
From: Adam Duskett <[email protected]>
Changes include:
- Changing the URL to GitHub, as the old URL was no longer valid resulting in the tar file being the HTML from www.fribidi.org.- Switching the package to a meson package.
- Adding fix-meson.patch from
http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-support/fribidi/fribidi/meson.patch
which fixes the error: "Can not use target gen-unicode-version as a generator because it is cross-built and no exe wrapper is defined."- Add a sha256 hash for the license file.
Signed-off-by Adam Duskett <[email protected]>--- package/libfribidi/0001-fix-meson.patch | 42 +++++++++++++++++++++++++ package/libfribidi/libfribidi.hash | 5 +-- package/libfribidi/libfribidi.mk | 16 +++------- 3 files changed, 50 insertions(+), 13 deletions(-) create mode 100644 package/libfribidi/0001-fix-meson.patchpackage/libfribidi/0001-fix-meson.patch new file +42
-0@@ -0,0 +1,42 @@ +From f5feb6c599adb52f24656f8589868039b0d14272 Mon Sep 17 00:00:00 2001 +From: Heiko Becker <[email protected]> +Date: Fri, 7 Sep 2018 20:57:11 +0200 +Subject: [PATCH] Build generator executables natively + +They are run during the build and not installed in the end. Without +this one gets the following error from meson: "ERROR: Can not use +target gen-unicode-version as a generator because it is cross-built +and no exe wrapper is defined. You might want to set it to native +instead." + +Closes #87. +Signed-off-by: Ross Burton <[email protected]> +Signed-off-by: Adam Duskett <[email protected]> +--- + gen.tab/meson.build | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/gen.tab/meson.build b/gen.tab/meson.build +index 6006d98..8c21e98 100644 +--- a/gen.tab/meson.build ++++ b/gen.tab/meson.build +@@ -33,7 +33,8 @@ gen_unicode_version = executable('gen-unicode-version', + 'gen-unicode-version.c', + include_directories: incs, + c_args: native_args, +- install: false) ++ install: false, ++ native: true) + + fribidi_unicode_version_h = custom_target('fribidi-unicode-version.h', + input: files('unidata/ReadMe.txt', 'unidata/BidiMirroring.txt'), +@@ -67,7 +68,8 @@ foreach tab : tabs + gen_prog_src, 'packtab.c', + include_directories: incs, + c_args: native_args, +- install: false) ++ install: false, ++ native: true) + + tab_inc_file = custom_target(gen_prog_name, + input: gen_prog_inputs,package/libfribidi/libfribidi.hash +3
-2@@ -1,2 +1,3 @@ -# From http://www.fribidi.org/download/fribidi-0.19.7.tar.bz2.sha256 -sha256 08222a6212bbc2276a2d55c3bf370109ae4a35b689acbc66571ad2a670595a8e fribidi-0.19.7.tar.bz2 +# Locally caclulated +sha256 aee3a93d081c293eaca9157700f17dc780a0b6674bc911decc5aaa43aec9abd7 fribidi-v1.0.5.tar.gz +sha256 32434afcc8666ba060e111d715bfdb6c2d5dd8a35fa4d3ab8ad67d8f850d2f2b COPYINGpackage/libfribidi/libfribidi.mk +3
-6@@ -4,19 +4,13 @@ # ################################################################################ -LIBFRIBIDI_VERSION = 0.19.7 -LIBFRIBIDI_SOURCE = fribidi-$(LIBFRIBIDI_VERSION).tar.bz2 -LIBFRIBIDI_SITE = http://www.fribidi.org/download +LIBFRIBIDI_VERSION = v1.0.5 +LIBFRIBIDI_SOURCE = fribidi-$(LIBFRIBIDI_VERSION).tar.gz +LIBFRIBIDI_SITE = $(call github,fribidi,fribidi,$(LIBFRIBIDI_VERSION)) LIBFRIBIDI_LICENSE = LGPL-2.1+ LIBFRIBIDI_LICENSE_FILES = COPYING LIBFRIBIDI_INSTALL_STAGING = YES -# Ships a beta libtool version hence our patch doesn't apply. -# Run autoreconf to regenerate ltmain.sh. -LIBFRIBIDI_AUTORECONF = YES
Quoted 9 lines
package/libfribidi/libfribidi.mk line 20
Quoted 5 lines
package/libfribidi/libfribidi.mk +0
-4LIBFRIBIDI_DEPENDENCIES = host-pkgconf -# libglib2 dependency causes a build failure, and this optional -# dependency is going to be removed upstream, see -# https://github.com/behdad/fribidi/pull/14 -LIBFRIBIDI_CONF_OPTS = --with-glib=noSo what happened with the glib dependency then. Is it gone? Please explain in the commit log.
It is indeed gone. The new version is meson based and does not have the option to specify weather or not to use glib.
I hope that helps!
Adam
Quoted 16 lines
baruch
package/libfribidi/libfribidi.mk line 16
Quoted 4 lines
package/libfribidi/libfribidi.mk +2
-1+LIBFRIBIDI_CONF_OPTS = -Ddocs=false -$(eval $(autotools-package)) +$(eval $(meson-package))--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
PATCH 1/1 package/libfribidi: bump to version v1.0.5
In reply to aduskett at gmail.comHello Adam,
Quoted 15 lines · On Thu, 6 Jun 2019 13:17:20 -0400 aduskett at gmail.com wrote:
From: Adam Duskett <[email protected]>
Changes include:
- Changing the URL to GitHub, as the old URL was no longer valid resulting in the tar file being the HTML from www.fribidi.org.- Switching the package to a meson package.
- Adding fix-meson.patch from
http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-support/fribidi/fribidi/meson.patch
which fixes the error: "Can not use target gen-unicode-version as a generator because it is cross-built and no exe wrapper is defined."- Add a sha256 hash for the license file.
Quoted 7 lines
Signed-off-by Adam Duskett <[email protected]>--- package/libfribidi/0001-fix-meson.patch | 42 +++++++++++++++++++++++++ package/libfribidi/libfribidi.hash | 5 +-- package/libfribidi/libfribidi.mk | 16 +++------- 3 files changed, 50 insertions(+), 13 deletions(-) create mode 100644 package/libfribidi/0001-fix-meson.patch
Could you rebase on the latest master, in which we merged a separate patch that only does the 1.0.5 bump ?
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com