Harfbuzz bump major version question
Hi All,
I'm going to bump harfbuzz to version 3.0.0 but being a major version it looses 15 apis[1] and introduce some new ones. So I'm not that sure if this can be a normal bump or I need to introduce the new package harfbuzz3. Package pango that requires harfbuzz builds fine, but how should I proceed? Should I build every package that depends on it and check if it builds fine? Or should I add package harfbuzz3 and then every package that depends on harfbuzz should move to harfbuzz3 package per package? I'm new to this case so help is appreciated.
Thanks in advance!
[1]: https://github.com/harfbuzz/harfbuzz/blob/main/NEWS#L29-L49
Signature · 6 lines
Giulio Benetti Benetti Engineering sas _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hello Giulio,
Quoted 8 lines · On Sun, 19 Sep 2021 23:10:23 +0200 Giulio Benetti…
I'm going to bump harfbuzz to version 3.0.0 but being a major version it looses 15 apis[1] and introduce some new ones. So I'm not that sure if this can be a normal bump or I need to introduce the new package harfbuzz3. Package pango that requires harfbuzz builds fine, but how should I proceed? Should I build every package that depends on it and check if it builds fine? Or should I add package harfbuzz3 and then every package that depends on harfbuzz should move to harfbuzz3 package per package? I'm new to this case so help is appreciated.
The best is to not have to introduce a separate harfbuzz3 package, as it really complicates things.
There are not that many packages that have a dependency on harfbuzz:
package/efl/efl.mk:ifeq ($(BR2_PACKAGE_HARFBUZZ),y)
package/libass/Config.in: select BR2_PACKAGE_HARFBUZZ package/mupdf/Config.in: select BR2_PACKAGE_HARFBUZZ package/pango/Config.in: select BR2_PACKAGE_HARFBUZZ
package/qt5/qt5base/Config.in:config BR2_PACKAGE_QT5BASE_HARFBUZZ package/qt5/qt5base/Config.in: select BR2_PACKAGE_HARFBUZZ if \
package/qt5/qt5base/qt5base.mk:ifeq ($(BR2_PACKAGE_QT5BASE_HARFBUZZ),y) package/supertuxkart/Config.in: select BR2_PACKAGE_HARFBUZZ package/vlc/vlc.mk:ifeq ($(BR2_PACKAGE_HARFBUZZ),y)
package/webkitgtk/Config.in: select BR2_PACKAGE_HARFBUZZ package/wpewebkit/Config.in: select BR2_PACKAGE_HARFBUZZ
So I would suggest to create a configuration that builds all those packages successfully prior to the harfbuzz bump, and then retry this configuration with the harfbuzz bump applied. This will give you a sense of how much breakage the API changes are causing.
Best regards,
Thomas
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
Quoted 28 lines · Thomas Petazzoni
Hello Giulio,
Quoted 8 lines · On Sun, 19 Sep 2021 23:10:23 +0200 Giulio Benetti…
I'm going to bump harfbuzz to version 3.0.0 but being a major version it looses 15 apis[1] and introduce some new ones. So I'm not that sure if this can be a normal bump or I need to introduce the new package harfbuzz3. Package pango that requires harfbuzz builds fine, but how should I proceed? Should I build every package that depends on it and check if it builds fine? Or should I add package harfbuzz3 and then every package that depends on harfbuzz should move to harfbuzz3 package per package? I'm new to this case so help is appreciated.
The best is to not have to introduce a separate harfbuzz3 package, as it really complicates things.
There are not that many packages that have a dependency on harfbuzz:
package/efl/efl.mk:ifeq ($(BR2_PACKAGE_HARFBUZZ),y)
package/libass/Config.in: select BR2_PACKAGE_HARFBUZZ package/mupdf/Config.in: select BR2_PACKAGE_HARFBUZZ package/pango/Config.in: select BR2_PACKAGE_HARFBUZZpackage/qt5/qt5base/Config.in:config
BR2_PACKAGE_QT5BASE_HARFBUZZpackage/qt5/qt5base/Config.in: selectBR2_PACKAGE_HARFBUZZif \
package/qt5/qt5base/qt5base.mk:ifeq ($(BR2_PACKAGE_QT5BASE_HARFBUZZ),y) package/supertuxkart/Config.in: selectBR2_PACKAGE_HARFBUZZpackage/vlc/vlc.mk:ifeq ($(BR2_PACKAGE_HARFBUZZ),y)
Quoted 7 lines
package/webkitgtk/Config.in: select BR2_PACKAGE_HARFBUZZ package/wpewebkit/Config.in: select BR2_PACKAGE_HARFBUZZSo I would suggest to create a configuration that builds all those packages successfully prior to the harfbuzz bump, and then retry this configuration with the harfbuzz bump applied. This will give you a sense of how much breakage the API changes are causing.
It would be nice to convert the explanation above into a documentation update!
Regards,
Arnout
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 34 lines · Arnout Vandecappelle
Quoted 31 lines · Thomas Petazzoni
Hello Giulio,
Quoted 8 lines · On Sun, 19 Sep 2021 23:10:23 +0200 Giulio Benetti…
I'm going to bump harfbuzz to version 3.0.0 but being a major version it looses 15 apis[1] and introduce some new ones. So I'm not that sure if this can be a normal bump or I need to introduce the new package harfbuzz3. Package pango that requires harfbuzz builds fine, but how should I proceed? Should I build every package that depends on it and check if it builds fine? Or should I add package harfbuzz3 and then every package that depends on harfbuzz should move to harfbuzz3 package per package? I'm new to this case so help is appreciated.
The best is to not have to introduce a separate harfbuzz3 package, as it really complicates things.
There are not that many packages that have a dependency on harfbuzz:
package/efl/efl.mk:ifeq ($(BR2_PACKAGE_HARFBUZZ),y)
package/libass/Config.in: select BR2_PACKAGE_HARFBUZZ package/mupdf/Config.in: select BR2_PACKAGE_HARFBUZZ package/pango/Config.in: select BR2_PACKAGE_HARFBUZZpackage/qt5/qt5base/Config.in:config
BR2_PACKAGE_QT5BASE_HARFBUZZpackage/qt5/qt5base/Config.in: selectBR2_PACKAGE_HARFBUZZif \
package/qt5/qt5base/qt5base.mk:ifeq ($(BR2_PACKAGE_QT5BASE_HARFBUZZ),y) package/supertuxkart/Config.in: selectBR2_PACKAGE_HARFBUZZpackage/vlc/vlc.mk:ifeq ($(BR2_PACKAGE_HARFBUZZ),y)package/webkitgtk/Config.in: select BR2_PACKAGE_HARFBUZZ package/wpewebkit/Config.in: select BR2_PACKAGE_HARFBUZZ
Quoted 6 lines
Quoted 4 lines
So I would suggest to create a configuration that builds all those packages successfully prior to the harfbuzz bump, and then retry this configuration with the harfbuzz bump applied. This will give you a sense of how much breakage the API changes are causing.
It would be nice to convert the explanation above into a documentation update!
I could add 'Updating a package' under 'III. Developer guide' in the manual on the same level of 'Adding new packages to Buildroot', does it sound good?
I've never contributed to the manual.
Best regards
Signature · 2 lines
Giulio Benetti Benetti Engineering sas
Quoted 8 lines
Regards,
Arnout_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 28 lines · Thomas Petazzoni
Hello Giulio,
Quoted 8 lines · On Sun, 19 Sep 2021 23:10:23 +0200 Giulio Benetti…
I'm going to bump harfbuzz to version 3.0.0 but being a major version it looses 15 apis[1] and introduce some new ones. So I'm not that sure if this can be a normal bump or I need to introduce the new package harfbuzz3. Package pango that requires harfbuzz builds fine, but how should I proceed? Should I build every package that depends on it and check if it builds fine? Or should I add package harfbuzz3 and then every package that depends on harfbuzz should move to harfbuzz3 package per package? I'm new to this case so help is appreciated.
The best is to not have to introduce a separate harfbuzz3 package, as it really complicates things.
There are not that many packages that have a dependency on harfbuzz:
package/efl/efl.mk:ifeq ($(BR2_PACKAGE_HARFBUZZ),y)
package/libass/Config.in: select BR2_PACKAGE_HARFBUZZ package/mupdf/Config.in: select BR2_PACKAGE_HARFBUZZ package/pango/Config.in: select BR2_PACKAGE_HARFBUZZpackage/qt5/qt5base/Config.in:config
BR2_PACKAGE_QT5BASE_HARFBUZZpackage/qt5/qt5base/Config.in: selectBR2_PACKAGE_HARFBUZZif \
package/qt5/qt5base/qt5base.mk:ifeq ($(BR2_PACKAGE_QT5BASE_HARFBUZZ),y) package/supertuxkart/Config.in: selectBR2_PACKAGE_HARFBUZZpackage/vlc/vlc.mk:ifeq ($(BR2_PACKAGE_HARFBUZZ),y)
Quoted 7 lines
package/webkitgtk/Config.in: select BR2_PACKAGE_HARFBUZZ package/wpewebkit/Config.in: select BR2_PACKAGE_HARFBUZZSo I would suggest to create a configuration that builds all those packages successfully prior to the harfbuzz bump, and then retry this configuration with the harfbuzz bump applied. This will give you a sense of how much breakage the API changes are causing.
Ok, I proceed this way then.
Thank you
Best regards
Signature · 6 lines
Giulio Benetti Benetti Engineering sas _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 1/1 package/harfbuzz: bump to version 3.0.0
In reply to Thomas PetazzoniThis major version introduces 16 new APIs[1] and remove 20 of them considered unstable[2]. All packages that depends on harfbuzz build correctly with this new version because they don't use the "old unstable" APIs.
[1]: https://github.com/harfbuzz/harfbuzz/blob/main/NEWS#L11-L27
[2]: https://github.com/harfbuzz/harfbuzz/blob/main/NEWS#L29-L49
--- package/harfbuzz/harfbuzz.hash | 2 +- package/harfbuzz/harfbuzz.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/harfbuzz/harfbuzz.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 0edcc980f526a338452180e701d6aba6323aef457b6686976a7d17ccbddc51cf harfbuzz-2.9.1.tar.xz +sha256 036b0ee118451539783ec7864148bb4106be42a2eb964df4e83e6703ec46f3d9 harfbuzz-3.0.0.tar.xz sha256 4345e1735f8bc6d812fed5180cabb5a5e88a4109d332652f2a45c13cfa5ee692 COPYING
package/harfbuzz/harfbuzz.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -HARFBUZZ_VERSION = 2.9.1 +HARFBUZZ_VERSION = 3.0.0 HARFBUZZ_SITE = https://github.com/harfbuzz/harfbuzz/releases/download/$(HARFBUZZ_VERSION) HARFBUZZ_SOURCE = harfbuzz-$(HARFBUZZ_VERSION).tar.xz HARFBUZZ_LICENSE = MIT, ISC (ucdn library)
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH] package/harfbuzz: bump to version 3.0.0
Quoted 9 lines · Giulio Benetti
This major version introduces 16 new APIs[1] and remove 20 of them considered unstable[2]. All packages that depends on harfbuzz build correctly with this new version because they don't use the "old unstable" APIs.
[1]: https://github.com/harfbuzz/harfbuzz/blob/main/NEWS#L11-L27
[2]: https://github.com/harfbuzz/harfbuzz/blob/main/NEWS#L29-L49Signed-off-by Giulio Benetti <[email protected]>
Applied to master, thanks. Let's see if the autobuilders complain :-)
Regards,
Arnout
Quoted 20 lines
--- package/harfbuzz/harfbuzz.hash | 2 +- package/harfbuzz/harfbuzz.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)package/harfbuzz/harfbuzz.hash +1
-1@@ -1,3 +1,3 @@ # Locally computed -sha256 0edcc980f526a338452180e701d6aba6323aef457b6686976a7d17ccbddc51cf harfbuzz-2.9.1.tar.xz +sha256 036b0ee118451539783ec7864148bb4106be42a2eb964df4e83e6703ec46f3d9 harfbuzz-3.0.0.tar.xz sha256 4345e1735f8bc6d812fed5180cabb5a5e88a4109d332652f2a45c13cfa5ee692 COPYINGpackage/harfbuzz/harfbuzz.mk +0
-0
package/harfbuzz/harfbuzz.mk line 10
Quoted 8 lines
package/harfbuzz/harfbuzz.mk +1
-1@@ -4,7 +4,7 @@ # ################################################################################ -HARFBUZZ_VERSION = 2.9.1 +HARFBUZZ_VERSION = 3.0.0 HARFBUZZ_SITE = https://github.com/harfbuzz/harfbuzz/releases/download/$(HARFBUZZ_VERSION) HARFBUZZ_SOURCE = harfbuzz-$(HARFBUZZ_VERSION).tar.xz HARFBUZZ_LICENSE = MIT, ISC (ucdn library)
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot