All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][zeus][master] harfbuzz: split libharfbuzz-subset.so to its own binary package
@ 2019-11-07  8:13 Mikko Rapeli
  2019-11-07 10:54 ` Ross Burton
  0 siblings, 1 reply; 3+ messages in thread
From: Mikko Rapeli @ 2019-11-07  8:13 UTC (permalink / raw)
  To: openembedded-core

harfbuzz binary package size increased from 624608 bytes in yocto 2.5 to
1365431 bytes in yocto 3.0. Most of the size increase is in the new
libharfbuzz-subset.so* library, which based on the name seems to
duplicate parts of the libharfbuzz main library, though it
RDEPENDS on harfbuzz which is odd. Split it to its own binary
package which will be installed if anyone needs it. Effect to harfbuzz
binary package size is:

-PKGSIZE = 1476271
+PKGSIZE = 1007424

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
---
 meta/recipes-graphics/harfbuzz/harfbuzz_2.6.1.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/harfbuzz/harfbuzz_2.6.1.bb b/meta/recipes-graphics/harfbuzz/harfbuzz_2.6.1.bb
index 99cd4cd..80ab545 100644
--- a/meta/recipes-graphics/harfbuzz/harfbuzz_2.6.1.bb
+++ b/meta/recipes-graphics/harfbuzz/harfbuzz_2.6.1.bb
@@ -21,7 +21,7 @@ PACKAGECONFIG[glib] = "--with-glib,--without-glib,glib-2.0"
 PACKAGECONFIG[graphite] = "--with-graphite2,--without-graphite2,graphite2"
 PACKAGECONFIG[icu] = "--with-icu,--without-icu,icu"
 
-PACKAGES =+ "${PN}-icu ${PN}-icu-dev"
+PACKAGES =+ "${PN}-icu ${PN}-icu-dev ${PN}-subset"
 
 LEAD_SONAME = "libharfbuzz.so"
 
@@ -36,5 +36,6 @@ FILES_${PN}-icu-dev = "${libdir}/libharfbuzz-icu.la \
                        ${libdir}/libharfbuzz-icu.so \
                        ${libdir}/pkgconfig/harfbuzz-icu.pc \
 "
+FILES_${PN}-subset = "${libdir}/libharfbuzz-subset.so.*"
 
 BBCLASSEXTEND = "native nativesdk"
-- 
1.9.1



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

* Re: [PATCH][zeus][master] harfbuzz: split libharfbuzz-subset.so to its own binary package
  2019-11-07  8:13 [PATCH][zeus][master] harfbuzz: split libharfbuzz-subset.so to its own binary package Mikko Rapeli
@ 2019-11-07 10:54 ` Ross Burton
  2019-11-07 13:36   ` Mikko.Rapeli
  0 siblings, 1 reply; 3+ messages in thread
From: Ross Burton @ 2019-11-07 10:54 UTC (permalink / raw)
  To: openembedded-core

On 07/11/2019 08:13, Mikko Rapeli wrote:
> harfbuzz binary package size increased from 624608 bytes in yocto 2.5 to
> 1365431 bytes in yocto 3.0. Most of the size increase is in the new
> libharfbuzz-subset.so* library, which based on the name seems to
> duplicate parts of the libharfbuzz main library, though it
> RDEPENDS on harfbuzz which is odd. Split it to its own binary
> package which will be installed if anyone needs it. Effect to harfbuzz
> binary package size is:


The subset piece is a library to subset fonts, not a subset of the 
library itself.

https://harfbuzz.github.io/utilities.html#utilities-command-line-hbsubset

Can you update the message?

Ross


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

* Re: [PATCH][zeus][master] harfbuzz: split libharfbuzz-subset.so to its own binary package
  2019-11-07 10:54 ` Ross Burton
@ 2019-11-07 13:36   ` Mikko.Rapeli
  0 siblings, 0 replies; 3+ messages in thread
From: Mikko.Rapeli @ 2019-11-07 13:36 UTC (permalink / raw)
  To: ross.burton; +Cc: openembedded-core

On Thu, Nov 07, 2019 at 10:54:23AM +0000, Ross Burton wrote:
> On 07/11/2019 08:13, Mikko Rapeli wrote:
> > harfbuzz binary package size increased from 624608 bytes in yocto 2.5 to
> > 1365431 bytes in yocto 3.0. Most of the size increase is in the new
> > libharfbuzz-subset.so* library, which based on the name seems to
> > duplicate parts of the libharfbuzz main library, though it
> > RDEPENDS on harfbuzz which is odd. Split it to its own binary
> > package which will be installed if anyone needs it. Effect to harfbuzz
> > binary package size is:
> 
> 
> The subset piece is a library to subset fonts, not a subset of the library
> itself.
> 
> https://harfbuzz.github.io/utilities.html#utilities-command-line-hbsubset
> 
> Can you update the message?

Thanks, v2 coming.

-Mikko

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

end of thread, other threads:[~2019-11-07 13:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-07  8:13 [PATCH][zeus][master] harfbuzz: split libharfbuzz-subset.so to its own binary package Mikko Rapeli
2019-11-07 10:54 ` Ross Burton
2019-11-07 13:36   ` Mikko.Rapeli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.