Skip to contentSkip to conversation

qt4.inc: remove the optional documentation package from the demo's RRECOMMENDS

PATCH In review Denis Carikli 4 participants 6 messages Sep 5, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qt4.inc: remove the optional documentation package from the demo's RRECOMMENDS

The documentation is 285M and doesn't fit on the NAND of many machines.

---
 meta/recipes-qt/qt4/qt4-embedded.inc |    2 +-
 meta/recipes-qt/qt4/qt4-x11-free.inc |    2 +-
 meta/recipes-qt/qt4/qt4.inc          |    3 +--
 3 files changed, 3 insertions(+), 4 deletions(-)
meta/recipes-qt/qt4/qt4-embedded.inc +1 -1
index d464a1d..9914c61 100644
@@ -3,7 +3,7 @@ SECTION = "libs"
 LICENSE = "LGPLv2.1 | GPLv3"
 HOMEPAGE = "http://qt.nokia.com"
 DEPENDS += "directfb tslib"
-INC_PR = "r29"
+INC_PR = "r30"
 
 QT_BASE_NAME ?= "qt4-embedded"
 QT_BASE_LIB  ?= "libqt-embedded"
meta/recipes-qt/qt4/qt4-x11-free.inc +1 -1
index 234cb89..0a714be 100644
@@ -5,7 +5,7 @@ HOMEPAGE = "http://qt.nokia.com"
 SECTION = "x11/libs"
 DEPENDS += "virtual/libgl virtual/libx11 fontconfig libxft libxext libxrender libxrandr libxcursor"
 
-INC_PR = "r26"
+INC_PR = "r27"
 
 QT_GLFLAGS ?= "${@base_contains('DISTRO_FEATURES', 'opengl', '-opengl', '-no-opengl', d)} "
 QT_GLFLAGS_qemux86 = "-opengl"
meta/recipes-qt/qt4/qt4.inc +1 -2
index 5545be7..8a6b59a 100644
@@ -124,8 +124,7 @@ RRECOMMENDS_${QT_BASE_NAME}-demos += " \
             ${QT_BASE_NAME}-plugin-sqldriver-sqlite \
             ${QT_BASE_NAME}-plugin-imageformat-jpeg \
             ${QT_BASE_NAME}-qml-plugins \
-            ${QT_BASE_NAME}-assistant \
-            ${PN}-doc"
+            ${QT_BASE_NAME}-assistant"
 RRECOMMENDS_${QT_BASE_NAME}-examples += " \
             ${QT_BASE_NAME}-plugin-sqldriver-sqlite \
             ${QT_BASE_NAME}-plugin-imageformat-jpeg \
Signature · 1 line
1.7.4.1
#1 lore raw

Op 5 sep. 2011 om 15:24 heeft Denis Carikli <[email protected]> het volgende geschreven:

Quoted 1 line

The documentation is 285M and doesn't fit on the NAND of many machines.

That does remove all the descriptions from the qtdemo app, so removing all docs isn't a good idea

Quoted 56 lines

---

meta/recipes-qt/qt4/qt4-embedded.inc |    2 +-
meta/recipes-qt/qt4/qt4-x11-free.inc |    2 +-
meta/recipes-qt/qt4/qt4.inc          |    3 +--
3 files changed, 3 insertions(+), 4 deletions(-)
meta/recipes-qt/qt4/qt4-embedded.inc +0 -0
index d464a1d..9914c61 100644
@@ -3,7 +3,7 @@ SECTION = "libs"

LICENSE = "LGPLv2.1 | GPLv3"
HOMEPAGE = "http://qt.nokia.com"
DEPENDS += "directfb tslib"

meta/recipes-qt/qt4/qt4-embedded.inc +1 -1
-INC_PR = "r29"
+INC_PR = "r30"

QT_BASE_NAME ?= "qt4-embedded"
QT_BASE_LIB ?= "libqt-embedded"

meta/recipes-qt/qt4/qt4-x11-free.inc +0 -0
index 234cb89..0a714be 100644
@@ -5,7 +5,7 @@ HOMEPAGE = "http://qt.nokia.com"

SECTION = "x11/libs"
DEPENDS += "virtual/libgl virtual/libx11 fontconfig libxft libxext libxrender libxrandr libxcursor"

meta/recipes-qt/qt4/qt4-x11-free.inc +1 -1
-INC_PR = "r26"
+INC_PR = "r27"

QT_GLFLAGS ?= "${@base_contains('DISTRO_FEATURES', 'opengl', '-opengl', '-no-opengl', d)} " QT_GLFLAGS_qemux86 = "-opengl"

meta/recipes-qt/qt4/qt4.inc +1 -2
index 5545be7..8a6b59a 100644
@@ -124,8 +124,7 @@ RRECOMMENDS_${QT_BASE_NAME}-demos += " \
            ${QT_BASE_NAME}-plugin-sqldriver-sqlite \
            ${QT_BASE_NAME}-plugin-imageformat-jpeg \
            ${QT_BASE_NAME}-qml-plugins \
-            ${QT_BASE_NAME}-assistant \
-            ${PN}-doc"
+            ${QT_BASE_NAME}-assistant"
 RRECOMMENDS_${QT_BASE_NAME}-examples += " \
            ${QT_BASE_NAME}-plugin-sqldriver-sqlite \
            ${QT_BASE_NAME}-plugin-imageformat-jpeg \
Signature · 7 lines
1.7.4.1


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
#2 lore raw
Quoted 1 line · On Monday 05 September 2011 16:38:42 Koen Kooi wrote:

Op 5 sep. 2011 om 15:24 heeft Denis Carikli <[email protected]> het volgende

geschreven:

Quoted 4 lines
Quoted 1 line

The documentation is 285M and doesn't fit on the NAND of many machines.

That does remove all the descriptions from the qtdemo app, so removing all docs isn't a good idea

This is what I was afraid of when the discussion came up on IRC. The proper solution is to split out the files required for the descriptions to a separate package. I don't know which files those are however.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#3 lore raw
In reply to Koen Kooi

Hi Koen,

Quoted 6 lines · Koen Kooi

Op 5 sep. 2011 om 15:24 heeft Denis Carikli<[email protected]> het volgende geschreven:

Quoted 1 line

The documentation is 285M and doesn't fit on the NAND of many machines.

That does remove all the descriptions from the qtdemo app, so removing all docs isn't a good idea

yes, that brings oe-core to the oe dev state (where the docs were not installed). This makes qt4-demo images usable on systems with 256 MB flash because the doc package is huge.

Next step will be to split the doc package in order to have the descriptions in one package and the code in an other one. We will try to find time to do this in a few days.

Eric

#4 lore raw
Quoted 4 lines · Eric Bénard
Quoted 3 lines · Koen Kooi

Op 5 sep. 2011 om 15:24 heeft Denis Carikli<[email protected]> het volgende geschreven:

Quoted 9 lines
Quoted 5 lines
Quoted 1 line

The documentation is 285M and doesn't fit on the NAND of many machines.

That does remove all the descriptions from the qtdemo app, so removing all docs isn't a good idea

yes, that brings oe-core to the oe dev state (where the docs were not installed). This makes qt4-demo images usable on systems with 256 MB flash because the doc package is huge.

FWIW with this patch we have exactly the same behaviour as (for example) a Fedora 15 : installing qt-demos brings a qt-demo program which can launch the demos and examples but lacks the explanation text, installing qt-docs brings the text (in a 126MB rpm !).

Quoted 4 lines

Next step will be to split the doc package in order to have the descriptions in one package and the code in an other one. We will try to find time to do this in a few days.

in fact the text comes from the html directory in the qt doc which is quite big : 184MB. After a few research, it seems "only" 36MB of these 184MB are used by qtdemo, so we could quite easily split qt-doc in 2 packages : qt-demo-doc and qt-doc.

Eric

#5 lore raw
In reply to Koen Kooi

Hi Koen,

Quoted 6 lines · Koen Kooi

Op 5 sep. 2011 om 15:24 heeft Denis Carikli<[email protected]> het volgende geschreven:

Quoted 1 line

The documentation is 285M and doesn't fit on the NAND of many machines.

That does remove all the descriptions from the qtdemo app, so removing all docs isn't a good idea

yes, that brings oe-core to the oe dev state (where the docs were not installed). This makes qt4-demo images usable on systems with 256 MB flash because the doc package is huge.

Next step will be to split the doc package in order to have the descriptions in one package and the code in an other one. We will try to find time to do this in a few days.

Eric