Skip to contentSkip to conversation

qt4.inc: split font package

PATCH In review Eric Bénard 2 participants 2 messages Jun 2, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qt4.inc: split font package

* Before :
4228 KiB /armv5te/qt4-embedded-fonts_4.6.2-r19.1.5_armv5te.ipk

* After :
1058300 armv5te/qt4-embedded-fonts-pfa_4.6.2-r19.1.5_armv5te.ipk
293236 armv5te/qt4-embedded-fonts-pfb_4.6.2-r19.1.5_armv5te.ipk 649442 armv5te/qt4-embedded-fonts-qpf_4.6.2-r19.1.5_armv5te.ipk
1917230 armv5te/qt4-embedded-fonts-ttf-dejavu_4.6.2-r19.1.5_armv5te.ipk
344114 armv5te/qt4-embedded-fonts-ttf-vera_4.6.2-r19.1.5_armv5te.ipk

---
 recipes/qt4/qt4.inc |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)
recipes/qt4/qt4.inc +11 -3
index 5a19f65..eddfc64 100644
@@ -78,7 +78,11 @@ OTHER_PACKAGES = "\
              ${QT_BASE_NAME}-demos \
              ${QT_BASE_NAME}-designer \
              ${QT_BASE_NAME}-examples \
-             ${QT_BASE_NAME}-fonts \
+             ${QT_BASE_NAME}-fonts-ttf-vera \
+             ${QT_BASE_NAME}-fonts-ttf-dejavu \
+             ${QT_BASE_NAME}-fonts-pfa \
+             ${QT_BASE_NAME}-fonts-pfb \
+             ${QT_BASE_NAME}-fonts-qpf \
              ${QT_BASE_NAME}-linguist \
              ${QT_BASE_NAME}-makeqpf \
              ${QT_BASE_NAME}-mkspecs \
@@ -86,7 +90,7 @@ OTHER_PACKAGES = "\
              ${QT_BASE_NAME}-qt3to4"
 
 PACKAGES += "${LIB_PACKAGES} ${DEV_PACKAGES} ${DBG_PACKAGES} ${OTHER_PACKAGES}"
-PACKAGES_DYNAMIC = "${QT_BASE_NAME}-plugin-*  ${QT_BASE_NAME}-translation-*"
+PACKAGES_DYNAMIC = "${QT_BASE_NAME}-plugin-* ${QT_BASE_NAME}-translation-* ${QT_BASE_NAME}-fonts-*"
 
 ALLOW_EMPTY_${PN} = "1"
 FILES_${PN}     = ""
@@ -109,7 +113,11 @@ FILES_${QT_BASE_NAME}-designer             = "${bindir}/*designer*"
 FILES_${QT_BASE_NAME}-designer-dbg         = "${bindir}/.debug/*designer*"
 FILES_${QT_BASE_NAME}-examples             = "${bindir}/${QT_DIR_NAME}/examples/*"
 FILES_${QT_BASE_NAME}-examples-dbg         = "${bindir}/${QT_DIR_NAME}/examples/.debug ${bindir}/${QT_DIR_NAME}/examples/*/.debug ${bindir}/${QT_DIR_NAME}/examples/*/*/.debug ${bindir}/${QT_DIR_NAME}/examples/*/*/*/.debug ${bindir}/${QT_DIR_NAME}/examples/*/*/*/*/.debug"
-FILES_${QT_BASE_NAME}-fonts                = "${libdir}/fonts"
+FILES_${QT_BASE_NAME}-fonts-ttf-vera       = "${libdir}/fonts/Vera*.ttf"
+FILES_${QT_BASE_NAME}-fonts-ttf-dejavu     = "${libdir}/fonts/DejaVu*.ttf"
+FILES_${QT_BASE_NAME}-fonts-pfa            = "${libdir}/fonts/*.pfa"
+FILES_${QT_BASE_NAME}-fonts-pfb            = "${libdir}/fonts/*.pfb"
+FILES_${QT_BASE_NAME}-fonts-qpf            = "${libdir}/fonts/*.qpf"
 FILES_${QT_BASE_NAME}-linguist             = "${bindir}/*linguist* ${bindir}/lrelease ${bindir}/lupdate ${bindir}/lconvert ${bindir}/qm2ts"
 FILES_${QT_BASE_NAME}-linguist-dbg         = "${bindir}/.debug/*linguist* ${bindir}/.debug/lrelease ${bindir}/.debug/lupdate ${bindir}/.debug/lconvert ${bindir}/.debug/qm2ts"
 FILES_${QT_BASE_NAME}-pixeltool            = "${bindir}/pixeltool"
Signature · 1 line
1.6.3.3
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 9 lines · Eric Bénard

* Before :
4228 KiB /armv5te/qt4-embedded-fonts_4.6.2-r19.1.5_armv5te.ipk

* After :
1058300 armv5te/qt4-embedded-fonts-pfa_4.6.2-r19.1.5_armv5te.ipk
293236 armv5te/qt4-embedded-fonts-pfb_4.6.2-r19.1.5_armv5te.ipk 649442 armv5te/qt4-embedded-fonts-qpf_4.6.2-r19.1.5_armv5te.ipk
1917230 armv5te/qt4-embedded-fonts-ttf-dejavu_4.6.2-r19.1.5_armv5te.ipk
344114 armv5te/qt4-embedded-fonts-ttf-vera_4.6.2-r19.1.5_armv5te.ipk

Could you make this patch keep the -fonts packages which will RRECOMMEND the new ones from compat?

regards,

Koen

Quoted 35 lines
---
 recipes/qt4/qt4.inc |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)
recipes/qt4/qt4.inc +6 -2
index 5a19f65..eddfc64 100644
@@ -78,7 +78,11 @@ OTHER_PACKAGES = "\
              ${QT_BASE_NAME}-demos \
              ${QT_BASE_NAME}-designer \
              ${QT_BASE_NAME}-examples \
-             ${QT_BASE_NAME}-fonts \
+             ${QT_BASE_NAME}-fonts-ttf-vera \
+             ${QT_BASE_NAME}-fonts-ttf-dejavu \
+             ${QT_BASE_NAME}-fonts-pfa \
+             ${QT_BASE_NAME}-fonts-pfb \
+             ${QT_BASE_NAME}-fonts-qpf \
              ${QT_BASE_NAME}-linguist \
              ${QT_BASE_NAME}-makeqpf \
              ${QT_BASE_NAME}-mkspecs \
@@ -86,7 +90,7 @@ OTHER_PACKAGES = "\
              ${QT_BASE_NAME}-qt3to4"
 
 PACKAGES += "${LIB_PACKAGES} ${DEV_PACKAGES} ${DBG_PACKAGES} ${OTHER_PACKAGES}"
-PACKAGES_DYNAMIC = "${QT_BASE_NAME}-plugin-*  ${QT_BASE_NAME}-translation-*"
+PACKAGES_DYNAMIC = "${QT_BASE_NAME}-plugin-* ${QT_BASE_NAME}-translation-* ${QT_BASE_NAME}-fonts-*"
 
 ALLOW_EMPTY_${PN} = "1"
 FILES_${PN}     = ""
@@ -109,7 +113,11 @@ FILES_${QT_BASE_NAME}-designer             = "${bindir}/*designer*"
 FILES_${QT_BASE_NAME}-designer-dbg         = "${bindir}/.debug/*designer*"
 FILES_${QT_BASE_NAME}-examples             = "${bindir}/${QT_DIR_NAME}/examples/*"

recipes/qt4/qt4.inc FILES_${QT_BASE_NAME}-designer = "${bindir}/*designer*" · line 123

Quoted 10 lines
recipes/qt4/qt4.inc +5 -1
 FILES_${QT_BASE_NAME}-examples-dbg         = "${bindir}/${QT_DIR_NAME}/examples/.debug ${bindir}/${QT_DIR_NAME}/examples/*/.debug ${bindir}/${QT_DIR_NAME}/examples/*/*/.debug ${bindir}/${QT_DIR_NAME}/examples/*/*/*/.debug ${bindir}/${QT_DIR_NAME}/examples/*/*/*/*/.debug"
-FILES_${QT_BASE_NAME}-fonts                = "${libdir}/fonts"
+FILES_${QT_BASE_NAME}-fonts-ttf-vera       = "${libdir}/fonts/Vera*.ttf"
+FILES_${QT_BASE_NAME}-fonts-ttf-dejavu     = "${libdir}/fonts/DejaVu*.ttf"
+FILES_${QT_BASE_NAME}-fonts-pfa            = "${libdir}/fonts/*.pfa"
+FILES_${QT_BASE_NAME}-fonts-pfb            = "${libdir}/fonts/*.pfb"
+FILES_${QT_BASE_NAME}-fonts-qpf            = "${libdir}/fonts/*.qpf"
 FILES_${QT_BASE_NAME}-linguist             = "${bindir}/*linguist* ${bindir}/lrelease ${bindir}/lupdate ${bindir}/lconvert ${bindir}/qm2ts"
 FILES_${QT_BASE_NAME}-linguist-dbg         = "${bindir}/.debug/*linguist* ${bindir}/.debug/lrelease ${bindir}/.debug/lupdate ${bindir}/.debug/lconvert ${bindir}/.debug/qm2ts"
 FILES_${QT_BASE_NAME}-pixeltool            = "${bindir}/pixeltool"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFMBsGnMkyGM64RGpERAqLRAJ9RQkzA9RlyDBflWpfWI4U3LijgpQCgsuh2 wWlJ02MZesyLt3L4XXgW2/Y=
=KzQt
-----END PGP SIGNATURE-----