Skip to contentSkip to conversation

Koen Kooi : libdrm.inc: fix packaging regression that cause ${PN} to go from libdrm2 to libdrm

oe-commits Martin Jansa 2 participants 3 messages Jun 26, 2010 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 22 lines · git version control
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 5f8da0c97cb5200d83483d4bbe1dc867e133dbbc
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=5f8da0c97cb5200d83483d4bbe1dc867e133dbbc
Author: Koen Kooi <[email protected]>
Date:   Sat Jun 26 13:55:22 2010 +0200

libdrm.inc: fix packaging regression that cause ${PN} to go from libdrm2 to libdrm

---

 recipes/dri/libdrm.inc |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
recipes/dri/libdrm.inc +0 -0
index eebd6b2..487eae6 100644
@@ -3,6 +3,11 @@ LICENSE = "MIT"
 SRC_URI = "http://dri.freedesktop.org/libdrm/libdrm-${PV}.tar.bz2"
 PROVIDES = "drm"

recipes/dri/libdrm.inc LICENSE = "MIT" · line 13

Quoted 10 lines
recipes/dri/libdrm.inc +6 -1
 
-INC_PR = "r3"
+INC_PR = "r4"
 
 inherit autotools pkgconfig
+
+PACKAGES =+ "${PN}-drivers"
+FILES_${PN}-drivers = "${libdir}/libdrm_*.so.*"
+
+LEAD_SONAME_${PN} = "libdrm.so"

Hi,

Just noticed the problem too and seems like this solution wasn't enough, would you add ${PN}-kms package? Or do you have an idea why it ignored LEAD_SONAME?

NOTE: Multiple libraries (libkms.so.1, libdrm.so.2) found and LEAD_SONAME not defined

Packaged contents of libdrm-drivers into /home/shr/shr-unstable/tmp/deploy/ipk/armv4t/libdrm-glamo1_2.4.20+gitr4566+9411b0ca002b34d2d13a132038170c2e7b08945c-r4.0.5_armv4t.ipk Packaged contents of libdrm-dbg into /home/shr/shr-unstable/tmp/deploy/ipk/armv4t/libdrm-dbg_2.4.20+gitr4566+9411b0ca002b34d2d13a132038170c2e7b08945c-r4.0.5_armv4t.ipk Packaged contents of libdrm into /home/shr/shr-unstable/tmp/deploy/ipk/armv4t/libdrm_2.4.20+gitr4566+9411b0ca002b34d2d13a132038170c2e7b08945c-r4.0.5_armv4t.ipk Packaged contents of libdrm-dev into /home/shr/shr-unstable/tmp/deploy/ipk/armv4t/libdrm-dev_2.4.20+gitr4566+9411b0ca002b34d2d13a132038170c2e7b08945c-r4.0.5_armv4t.ipk

Regards,

Signature · 1 line
Jansa 'JaMa' Martin     jabber: [email protected]
#2 lore raw

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

Quoted 3 lines · Martin Jansa

Just noticed the problem too and seems like this solution wasn't enough, would you add ${PN}-kms package? Or do you have an idea why it ignored LEAD_SONAME?

It doens't build a libkms for me, so it looks safe to add such a package. No idea on the LEAD_SONAME, sorry.

regards,

Koen

Quoted 12 lines

NOTE: Multiple libraries (libkms.so.1, libdrm.so.2) found and LEAD_SONAME not defined

Packaged contents of libdrm-drivers into /home/shr/shr-unstable/tmp/deploy/ipk/armv4t/libdrm-glamo1_2.4.20+gitr4566+9411b0ca002b34d2d13a132038170c2e7b08945c-r4.0.5_armv4t.ipk Packaged contents of libdrm-dbg into /home/shr/shr-unstable/tmp/deploy/ipk/armv4t/libdrm-dbg_2.4.20+gitr4566+9411b0ca002b34d2d13a132038170c2e7b08945c-r4.0.5_armv4t.ipk Packaged contents of libdrm into /home/shr/shr-unstable/tmp/deploy/ipk/armv4t/libdrm_2.4.20+gitr4566+9411b0ca002b34d2d13a132038170c2e7b08945c-r4.0.5_armv4t.ipk Packaged contents of libdrm-dev into /home/shr/shr-unstable/tmp/deploy/ipk/armv4t/libdrm-dev_2.4.20+gitr4566+9411b0ca002b34d2d13a132038170c2e7b08945c-r4.0.5_armv4t.ipk

Quoted 2 lines

Regards,

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

iD8DBQFMJhzBMkyGM64RGpERAoo8AJ9nSuiwuayM+rWgfqQkWUjFW86MFgCggmxF YXh6aO1xz7JyI9YajSCohvw=
=2j1c
-----END PGP SIGNATURE-----

#3 lore raw
Quoted 11 lines · Koen Kooi

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

Quoted 3 lines · Martin Jansa

Just noticed the problem too and seems like this solution wasn't enough, would you add ${PN}-kms package? Or do you have an idea why it ignored LEAD_SONAME?

It doens't build a libkms for me, so it looks safe to add such a package. No idea on the LEAD_SONAME, sorry.

LEAD_SONAME doesn't like _${PV} override, I'll add kms package and remove _${PV} in case someone has build even more sonames than libdrm and libkms.

regards,

Signature · 1 line
Jansa 'JaMa' Martin     jabber: [email protected]