Skip to contentSkip to conversation

org.oe.dev packages/webkit: Build and package naming fixes (when using debian renaming)

oe-commits Koen Kooi 3 participants 3 messages Oct 26, 2007 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Koen Kooi

author
#1 lore raw

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

freyther commit schreef:

Quoted 3 lines

packages/webkit: Build and package naming fixes (when using debian renaming)
We do not want the package to be named libwebkitgtk-launcher but want to keep the webkit-gtklauncher names.

Do we? I created and maintain those recipes, and I made the decision to name it libwebkitgtk-launcher when using debian naming. I would have used DEBIAN_NOAUTONAME_webkit-gtklauncher otherwise. Which brings me to my second point:

Review

Quoted 8 lines
(quoted diff) +8 -0
+python populate_packages_prepend() {
+    print "foooo"
+    print bb.data.getVar("DEBIAN_NAMES", d, True)
+    if bb.data.getVar("DEBIAN_NAMES", d, True):
+        base = bb.data.expand("${PN}launcher", d, True)
+        bb.data.setVar("PKG_%s" % base, base, d)
+        bb.data.setVar("PKG_%s-dbg" % base, "%s-dbg" % base, d)
+}

Using python is unneeded and confusing. And as webkit maintainerin OE, I don't want those in the recipes.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFHIXCDMkyGM64RGpERAqZuAKCsK/Dxm1EPgk0qEp+20dixabuHYwCeLTLv Ztk68CUYd2ByaVgFxEh+67M=
=e/yc
-----END PGP SIGNATURE-----

#2 lore raw

Am 26.10.2007 um 06:43 schrieb Koen Kooi:

Quoted 9 lines

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

freyther commit schreef:

Quoted 4 lines

packages/webkit: Build and package naming fixes (when using debian renaming)
We do not want the package to be named libwebkitgtk-launcher
but want to
keep the webkit-gtklauncher names.

Quoted 5 lines

Do we? I created and maintain those recipes, and I made the decision to name it libwebkitgtk-launcher when using debian naming. I would have used DEBIAN_NOAUTONAME_webkit-gtklauncher otherwise. Which brings me to my second point:

Hi Koen,

please enlighten me. I want to put webkit-gtklauncher into my image. Due the package renaming do_rootfs will fail. Do you want people to put webkit-gtklauncher into their image? How can they do it?

I will restore webkit-gtk_svn.bb but would like to keep the qt and qtopia variant like it is (minus probably removing the python code).

Regarding the python code. Do we have some kind of janitor tasks for newbies? They could kill it from ~5-10 recipes as well.

z.

#3 lore raw
Quoted 19 lines · Holger Freyther

Am 26.10.2007 um 06:43 schrieb Koen Kooi:

Quoted 10 lines

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

freyther commit schreef:

Quoted 5 lines

packages/webkit: Build and package naming fixes (when using debian renaming)
We do not want the package to be named libwebkitgtk-launcher
but want to
keep the webkit-gtklauncher names.

Quoted 6 lines

Do we? I created and maintain those recipes, and I made the decision to
name it libwebkitgtk-launcher when using debian naming. I would have used DEBIAN_NOAUTONAME_webkit-gtklauncher otherwise. Which brings me to
my second point:

Quoted 3 lines

please enlighten me. I want to put webkit-gtklauncher into my image. Due the package renaming do_rootfs will fail. Do you want people to put webkit-gtklauncher into their image? How can they do it?

In theory, package renaming should be accounted for in package creation. We write package renaming data to the staging area in the form of pkgmaps and pkgdata and this is then used when creating packages to remap the Dependency and similar fields. Extremely ugly but it does work.

Dredging the depths of my memory I think there is a bug where IMAGE_INSTALL (or whatever the field is called) is not remapped before processing and it should be. Most people work around or don't see this by using task packages.

Cheers,

Richard