[oe] [PATCH] qt4: remove qte.sh from shared SRC_URI and PACKAGE_ARCH_palmpre

Martin Jansa martin.jansa at gmail.com
Sat May 28 14:51:59 UTC 2011


On Sat, May 28, 2011 at 04:28:43PM +0200, Simon Busch wrote:
> On 28.05.2011 10:09, Martin Jansa wrote:
> > Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> > ---
> >  recipes/qt4/qt-4.6.3.inc          |    3 ---
> >  recipes/qt4/qt-4.7.3.inc          |    3 ---
> >  recipes/qt4/qt4-embedded.inc      |    3 ---
> >  recipes/qt4/qt4-embedded_4.6.3.bb |    4 ++++
> >  recipes/qt4/qt4-embedded_4.7.3.bb |    4 ++++
> >  5 files changed, 8 insertions(+), 9 deletions(-)
> > 
> > diff --git a/recipes/qt4/qt-4.6.3.inc b/recipes/qt4/qt-4.6.3.inc
> > index a35d57a..36c6a56 100644
> > --- a/recipes/qt4/qt-4.6.3.inc
> > +++ b/recipes/qt4/qt-4.6.3.inc
> > @@ -19,9 +19,6 @@ SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-everywhere-opensource-src-${PV}.
> >             file://linux.conf \
> >             "
> >  
> > -# Set necessary variables in the profile
> > -SRC_URI += "file://qte.sh"
> > -
> >  S = "${WORKDIR}/qt-everywhere-opensource-src-${PV}"
> >  
> >  do_configure_prepend() {
> > diff --git a/recipes/qt4/qt-4.7.3.inc b/recipes/qt4/qt-4.7.3.inc
> > index 2450144..b29d892 100644
> > --- a/recipes/qt4/qt-4.7.3.inc
> > +++ b/recipes/qt4/qt-4.7.3.inc
> > @@ -16,9 +16,6 @@ SRC_URI = "\
> >  	file://linux.conf \
> >  	"
> >  
> > -# Set necessary variables in the profile
> > -SRC_URI += "file://qte.sh"
> > -
> >  S = "${WORKDIR}/qt-everywhere-opensource-src-${PV}"
> >  
> >  FILES_${QT_BASE_NAME}-tools                += "${bindir}/qml"
> > diff --git a/recipes/qt4/qt4-embedded.inc b/recipes/qt4/qt4-embedded.inc
> > index 147126d..168a867 100644
> > --- a/recipes/qt4/qt4-embedded.inc
> > +++ b/recipes/qt4/qt4-embedded.inc
> > @@ -28,9 +28,6 @@ SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-embedded-linux-opensource-src-${
> >  # Set necessary variables in the profile
> >  SRC_URI += "file://qte.sh"
> >  
> > -# For the palmpre we ship a modified qte.sh
> > -PACKAGE_ARCH_palmpre = "${MACHINE_ARCH}"
> > -
> >  S = "${WORKDIR}/qt-embedded-linux-opensource-src-${PV}"
> >  
> >  QT_CONFIG_FLAGS += " \
> > diff --git a/recipes/qt4/qt4-embedded_4.6.3.bb b/recipes/qt4/qt4-embedded_4.6.3.bb
> > index fe49fdb..8c883f5 100644
> > --- a/recipes/qt4/qt4-embedded_4.6.3.bb
> > +++ b/recipes/qt4/qt4-embedded_4.6.3.bb
> > @@ -5,3 +5,7 @@ PR = "${INC_PR}.2"
> >  QT_CONFIG_FLAGS_append_armv6 = " -no-neon "
> >  
> >  require qt-${PV}.inc
> > +
> > +# SRC_URI from qt4-embedded.inc was replaced in .inc above and qte.sh lost
> > +# Set necessary variables in the profile
> > +SRC_URI += "file://qte.sh"
> > diff --git a/recipes/qt4/qt4-embedded_4.7.3.bb b/recipes/qt4/qt4-embedded_4.7.3.bb
> > index 7e3d4b8..47176a9 100644
> > --- a/recipes/qt4/qt4-embedded_4.7.3.bb
> > +++ b/recipes/qt4/qt4-embedded_4.7.3.bb
> > @@ -8,6 +8,10 @@ QT_CONFIG_FLAGS_append_armv6 = " -no-neon "
> >  
> >  require qt-${PV}.inc
> >  
> > +# SRC_URI from qt4-embedded.inc was replaced in .inc above and qte.sh lost
> > +# Set necessary variables in the profile
> > +SRC_URI += "file://qte.sh"
> > +
> >  QT_CONFIG_FLAGS += " \
> >   -exceptions \
> >  "
> 
> Isn't this needing a PR bump? Are we safe that the package is exactly
> the same as before?

PR bump would be usefull only to test that I didn't break SRC_URI for 
qt4-embedded (which you can test after -c clean) and to rebuild 
qt4-x11-free with FEED_ARCH instead
of MACHINE_ARCH but it can be rebuilt with next change (I've killed
build on shr buildhost when I noticed building palmpre specific..).

I think buildsystem in ${S} is not looking for qte.sh in ${WORKDIR} and
we're using qte.sh in recipe only for embedded version, so I bet
resulting packages are the same.

Please confirm that I didn't break SRC_URI in qt4-embedded and if no
I'll push it without PR bump (it takes really long to build :)).

Regards,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110528/7ad40b2e/attachment-0002.sig>


More information about the Openembedded-devel mailing list