All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-qt5][PATCH v3] nativesdk-qtbase-tools: disable Debian-style package renaming
@ 2014-02-28 13:34 Jacob Kroon
  2014-02-28 13:48 ` Otavio Salvador
  0 siblings, 1 reply; 2+ messages in thread
From: Jacob Kroon @ 2014-02-28 13:34 UTC (permalink / raw)
  To: openembedded-devel

Since commit 8da5017712a7ddcb8488e095b9aa03b0273f23e9, libQt5*.so files
are included in the nativesdk-qtbase-tools package. However, this together
with the fact that the binaries are placed in a subdir "qt5" of bin will
confuse the Debian-style package renaming logic in debian.bbclass, causing the
resulting ipk package to be created as "nativesdk-libqt5core5".

Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
---
 recipes-qt/qt5/nativesdk-qtbase.inc | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/recipes-qt/qt5/nativesdk-qtbase.inc b/recipes-qt/qt5/nativesdk-qtbase.inc
index 3cb9b0e..884b1a6 100644
--- a/recipes-qt/qt5/nativesdk-qtbase.inc
+++ b/recipes-qt/qt5/nativesdk-qtbase.inc
@@ -60,6 +60,12 @@ FILES_${PN}-tools = " \
     ${OE_QMAKE_PATH_BINS}/* \
 "
 
+# qttools binaries are placed in a subdir of bin in order to avoid
+# collisions with qt4. This would trigger debian.bbclass to rename the
+# package, since it doesn't detect binaries in subdirs. Explicitly
+# disable package auto-renaming for the tools-package.
+DEBIAN_NOAUTONAME_${PN}-tools = "1"
+
 QT_CONFIG_FLAGS += " \
     -reduce-relocations \
     -shared \
-- 
1.8.5.3



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

* Re: [meta-qt5][PATCH v3] nativesdk-qtbase-tools: disable Debian-style package renaming
  2014-02-28 13:34 [meta-qt5][PATCH v3] nativesdk-qtbase-tools: disable Debian-style package renaming Jacob Kroon
@ 2014-02-28 13:48 ` Otavio Salvador
  0 siblings, 0 replies; 2+ messages in thread
From: Otavio Salvador @ 2014-02-28 13:48 UTC (permalink / raw)
  To: OpenEmbedded Devel List

On Fri, Feb 28, 2014 at 10:34 AM, Jacob Kroon
<jacob.kroon@mikrodidakt.se> wrote:
> Since commit 8da5017712a7ddcb8488e095b9aa03b0273f23e9, libQt5*.so files
> are included in the nativesdk-qtbase-tools package. However, this together
> with the fact that the binaries are placed in a subdir "qt5" of bin will
> confuse the Debian-style package renaming logic in debian.bbclass, causing the
> resulting ipk package to be created as "nativesdk-libqt5core5".
>
> Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
> Acked-by: Otavio Salvador <otavio@ossystems.com.br>

I applied this one. I confirmed it works as expected with buildhistory.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

end of thread, other threads:[~2014-02-28 13:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-28 13:34 [meta-qt5][PATCH v3] nativesdk-qtbase-tools: disable Debian-style package renaming Jacob Kroon
2014-02-28 13:48 ` Otavio Salvador

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.