Skip to contentSkip to conversation

liblockdev: new recipe, new version of libcec requires it

PATCH In review [email protected] 2 participants 8 messages Sep 6, 2012 – Sep 14, 2012

lore
Share & tools
lore
#0 lore raw

PATCH v5 1/2 liblockdev: new recipe, new version of libcec requires it

From: Jack Mitchell <[email protected]>

V5

- FILES_{PN} no loger required now libdir and includedir are passed to oe_runmake

V4

- Remove debian packaging patch, it is not needed

---
 .../recipes-extended/liblockdev/liblockdev_1.0.3.bb  | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 meta-oe/recipes-extended/liblockdev/liblockdev_1.0.3.bb
meta-oe/recipes-extended/liblockdev/liblockdev_1.0.3.bb new file +20 -0
new file mode 100644
index 0000000..210a47b
@@ -0,0 +1,20 @@
+DESCRIPTION = "Manage character and block device lockfiles."
+HOMEPAGE = "http://anonscm.debian.org/gitweb/?p=lockdev/lockdev.git;a=summary"
+
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d8045f3b8f929c1cb29a1e3fd737b499"
+
+SRC_URI = "http://ftp.de.debian.org/debian/pool/main/l/lockdev/lockdev_${PV}.orig.tar.gz"
+
+SRC_URI[md5sum] = "64b9c1b87b125fc348e892e24625524a"
+SRC_URI[sha256sum] = "ccae635d7ac3fdd50897eceb250872b3d9a191d298f213e7f0c836910d869f82"
+
+S = "${WORKDIR}/lockdev-${PV}"
+
+do_compile() {
+  oe_runmake CC="${CC}" LD="${LD}" shared
+}
+
+do_install() {
+  oe_runmake basedir="${D}" incdir="${D}${includedir}" libdir="${D}${libdir}" install_dev
+}
Signature · 1 line
1.7.12
#1 lore raw

PATCH v5 2/2 libcec: update libcec to latest version (1.8.1) as to include RasPi support

From: Jack Mitchell <[email protected]>

V2

- Change package version to 1.8.1

V1

- Now depends on liblockdev
- Slight licence change - new md5sum

---
 meta-oe/recipes-extended/libcec/libcec_git.bb | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
meta-oe/recipes-extended/libcec/libcec_git.bb +5 -6
index 142b2e2..81b518a 100644
@@ -1,14 +1,13 @@
 DESCRIPTION = "USB CEC Adaptor communication Library"
 HOMEPAGE = "http://libcec.pulse-eight.com/"
 
-LICENSE = "GPLv2+"
-LIC_FILES_CHKSUM = "file://COPYING;md5=185ead350fec5fc223da0f65f9a802af"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=5e8e16396992369f73f3d28875f846da"
 
-DEPENDS = "udev"
+DEPENDS = "udev liblockdev"
 
-PR = "r1"
-PV = "1.4.0"
-SRCREV = "2db8981f49fbd167ddbbf19c1fbadd064abc332a"
+PV = "1.8.1"
+SRCREV = "34a9cecdd92f6b2844f9c4054da202b152ab2217"
 SRC_URI = "git://github.com/Pulse-Eight/libcec.git"
 
 S = "${WORKDIR}/git"
Signature · 1 line
1.7.12
#2 lore raw
In reply to [email protected]
Quoted 33 lines · On 06/09/12 12:35, [email protected] wrote:

From: Jack Mitchell <[email protected]>

V5

- FILES_{PN} no loger required now libdir and includedir are passed to oe_runmake

V4

- Remove debian packaging patch, it is not needed

---
  .../recipes-extended/liblockdev/liblockdev_1.0.3.bb  | 20 ++++++++++++++++++++
  1 file changed, 20 insertions(+)

create mode 100644 meta-oe/recipes-extended/liblockdev/liblockdev_1.0.3.bb

meta-oe/recipes-extended/liblockdev/liblockdev_1.0.3.bb new file +10 -0
new file mode 100644
index 0000000..210a47b
@@ -0,0 +1,20 @@
+DESCRIPTION = "Manage character and block device lockfiles."
+HOMEPAGE = "http://anonscm.debian.org/gitweb/?p=lockdev/lockdev.git;a=summary"
+
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d8045f3b8f929c1cb29a1e3fd737b499"
+
+SRC_URI = "http://ftp.de.debian.org/debian/pool/main/l/lockdev/lockdev_${PV}.orig.tar.gz"
+
+SRC_URI[md5sum] = "64b9c1b87b125fc348e892e24625524a"
+SRC_URI[sha256sum] = "ccae635d7ac3fdd50897eceb250872b3d9a191d298f213e7f0c836910d869f82"

meta-oe/recipes-extended/liblockdev/liblockdev_1.0.3.bb line 20

Quoted 10 lines
meta-oe/recipes-extended/liblockdev/liblockdev_1.0.3.bb new file +10 -0
+
+S = "${WORKDIR}/lockdev-${PV}"
+
+do_compile() {
+  oe_runmake CC="${CC}" LD="${LD}" shared
+}
+
+do_install() {
+  oe_runmake basedir="${D}" incdir="${D}${includedir}" libdir="${D}${libdir}" install_dev
+}

Sorry Koen,

I messed up the meta-oe bit but patchwork seems to have caught it anyway!

Cheers,

Signature · 5 lines
  Jack Mitchell ([email protected])
  Embedded Systems Engineer
  http://www.embed.me.uk

--
#3 lore raw
In reply to [email protected]
Quoted 49 lines · On Thu, Sep 6, 2012 at 2:35 PM, <[email protected]> wrote:

From: Jack Mitchell <[email protected]>

V5

- FILES_{PN} no loger required now libdir and includedir are passed to oe_runmake

V4

- Remove debian packaging patch, it is not needed

---
 .../recipes-extended/liblockdev/liblockdev_1.0.3.bb  | 20
++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 meta-oe/recipes-extended/liblockdev/

liblockdev_1.0.3.bb

(quoted diff) +0 -0

liblockdev_1.0.3.bb
new file mode 100644
index 0000000..210a47b

meta-oe/recipes-extended/liblockdev/liblockdev_1.0.3.bb new file +2 -0
@@ -0,0 +1,20 @@
+DESCRIPTION = "Manage character and block device lockfiles."
+HOMEPAGE = "

http://anonscm.debian.org/gitweb/?p=lockdev/lockdev.git;a=summary"

meta-oe/recipes-extended/liblockdev/liblockdev_1.0.3.bb new file +5 -0
+
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d8045f3b8f929c1cb29a1e3fd737b499"
+
+SRC_URI = "

http://ftp.de.debian.org/debian/pool/main/l/lockdev/lockdev_${PV}.orig.tar.gz
"

meta-oe/recipes-extended/liblockdev/liblockdev_1.0.3.bb new file +3 -0
+
+SRC_URI[md5sum] = "64b9c1b87b125fc348e892e24625524a"
+SRC_URI[sha256sum] =

"ccae635d7ac3fdd50897eceb250872b3d9a191d298f213e7f0c836910d869f82"

meta-oe/recipes-extended/liblockdev/liblockdev_1.0.3.bb new file +9 -0
+
+S = "${WORKDIR}/lockdev-${PV}"
+
+do_compile() {
+  oe_runmake CC="${CC}" LD="${LD}" shared
+}
+
+do_install() {
+  oe_runmake basedir="${D}" incdir="${D}${includedir}"
Quoted 3 lines

libdir="${D}${libdir}" install_dev
+}

Why install only _dev? Why don't you use make install? It makes no sense to compile shared and not install it... I just tested your recipe.

ag

#4 lore raw
Quoted 57 lines · Andrei Gherzan
Quoted 49 lines · On Thu, Sep 6, 2012 at 2:35 PM, <[email protected]> wrote:

From: Jack Mitchell <[email protected]>

V5

- FILES_{PN} no loger required now libdir and includedir are passed to oe_runmake

V4

- Remove debian packaging patch, it is not needed

---
  .../recipes-extended/liblockdev/liblockdev_1.0.3.bb  | 20
++++++++++++++++++++
  1 file changed, 20 insertions(+)

create mode 100644 meta-oe/recipes-extended/liblockdev/
liblockdev_1.0.3.bb

(quoted diff) +0 -0

liblockdev_1.0.3.bb
new file mode 100644
index 0000000..210a47b

meta-oe/recipes-extended/liblockdev/liblockdev_1.0.3.bb new file +2 -0
@@ -0,0 +1,20 @@
+DESCRIPTION = "Manage character and block device lockfiles."
+HOMEPAGE = "

http://anonscm.debian.org/gitweb/?p=lockdev/lockdev.git;a=summary"

meta-oe/recipes-extended/liblockdev/liblockdev_1.0.3.bb new file +5 -0
+
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d8045f3b8f929c1cb29a1e3fd737b499"
+
+SRC_URI = "

http://ftp.de.debian.org/debian/pool/main/l/lockdev/lockdev_${PV}.orig.tar.gz
"

meta-oe/recipes-extended/liblockdev/liblockdev_1.0.3.bb new file +3 -0
+
+SRC_URI[md5sum] = "64b9c1b87b125fc348e892e24625524a"
+SRC_URI[sha256sum] =

"ccae635d7ac3fdd50897eceb250872b3d9a191d298f213e7f0c836910d869f82"

meta-oe/recipes-extended/liblockdev/liblockdev_1.0.3.bb new file +9 -0
+
+S = "${WORKDIR}/lockdev-${PV}"
+
+do_compile() {
+  oe_runmake CC="${CC}" LD="${LD}" shared
+}
+
+do_install() {
+  oe_runmake basedir="${D}" incdir="${D}${includedir}"
Quoted 3 lines

libdir="${D}${libdir}" install_dev
+}

Why install only _dev? Why don't you use make install? It makes no sense to compile shared and not install it... I just tested your recipe.

Quoted 5 lines

ag
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Ah, well spotted I had -dev as that was what I needed to get libcec to link - did you have to change anything other than install_dev to install?

Cheers,

Signature · 5 lines
  Jack Mitchell ([email protected])
  Embedded Systems Engineer
  http://www.embed.me.uk

--
#5 lore raw
Quoted 62 lines · Jack Mitchell
Quoted 60 lines · Andrei Gherzan

On Thu, Sep 6, 2012 at 2:35 PM, <[email protected]> wrote:

From: Jack Mitchell <[email protected].**uk<[email protected]>

Quoted 57 lines
Quoted 1 line

V5

- FILES_{PN} no loger required now libdir and includedir are passed to oe_runmake

V4

- Remove debian packaging patch, it is not needed

Quoted 1 line
---
  .../recipes-extended/**liblockdev/liblockdev_1.0.3.bb  | 20
++++++++++++++++++++
  1 file changed, 20 insertions(+)

create mode 100644 meta-oe/recipes-extended/**liblockdev/
liblockdev_1.0.3.bb

(quoted diff) +0 -0

bbb/meta-oe/recipes-extended/**liblockdev/
liblockdev_1.0.3.bb
new file mode 100644
index 0000000..210a47b

meta-oe/recipes-extended/**liblockdev/liblockdev_1.0.3.bb new file +2 -0
@@ -0,0 +1,20 @@
+DESCRIPTION = "Manage character and block device lockfiles."
+HOMEPAGE = "

http://anonscm.debian.org/**gitweb/?p=lockdev/lockdev.git;**a=summary<http://anonscm.debian.org/gitweb/?p=lockdev/lockdev.git;a=summary>
"

meta-oe/recipes-extended/**liblockdev/liblockdev_1.0.3.bb new file +3 -0
+
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=**d8045f3b8f929c1cb29a1e3fd737b4

**99"

meta-oe/recipes-extended/**liblockdev/liblockdev_1.0.3.bb new file +2 -0
+
+SRC_URI = "

http://ftp.de.debian.org/**debian/pool/main/l/lockdev/**
lockdev_${PV}.orig.tar.gz<http://ftp.de.debian.org/debian/pool/main/l/lockdev/lockdev_$%7BPV%7D.orig.tar.gz> "

meta-oe/recipes-extended/**liblockdev/liblockdev_1.0.3.bb new file +3 -0
+
+SRC_URI[md5sum] = "**64b9c1b87b125fc348e892e2462552**4a"
+SRC_URI[sha256sum] =

"**ccae635d7ac3fdd50897eceb250872**b3d9a191d298f213e7f0c836910d86**9f82"

meta-oe/recipes-extended/**liblockdev/liblockdev_1.0.3.bb new file +9 -0
+
+S = "${WORKDIR}/lockdev-${PV}"
+
+do_compile() {
+  oe_runmake CC="${CC}" LD="${LD}" shared
+}
+
+do_install() {
+  oe_runmake basedir="${D}" incdir="${D}${includedir}"

libdir="${D}${libdir}" install_dev
+}

Quoted 5 lines
Quoted 5 lines
Quoted 1 line

Why install only _dev? Why don't you use make install? It makes no

sense to
compile shared and not install it... I just tested your recipe.

I cleaned a little your recipe and sent a pull request (added you as Signed of by).
https://github.com/openembedded/meta-oe/pull/10

ag

#6 lore raw
Quoted 70 lines · Andrei Gherzan
Quoted 59 lines · Jack Mitchell
Quoted 57 lines · Andrei Gherzan

On Thu, Sep 6, 2012 at 2:35 PM, <[email protected]> wrote:

From: Jack Mitchell <[email protected].**uk<[email protected]>

Quoted 54 lines

V5

- FILES_{PN} no loger required now libdir and includedir are passed to oe_runmake

V4

- Remove debian packaging patch, it is not needed

---
   .../recipes-extended/**liblockdev/liblockdev_1.0.3.bb  | 20
++++++++++++++++++++
   1 file changed, 20 insertions(+)

create mode 100644 meta-oe/recipes-extended/**liblockdev/
liblockdev_1.0.3.bb

(quoted diff) +0 -0

bbb/meta-oe/recipes-extended/**liblockdev/
liblockdev_1.0.3.bb
new file mode 100644
index 0000000..210a47b

meta-oe/recipes-extended/**liblockdev/liblockdev_1.0.3.bb new file +2 -0
@@ -0,0 +1,20 @@
+DESCRIPTION = "Manage character and block device lockfiles."
+HOMEPAGE = "

http://anonscm.debian.org/**gitweb/?p=lockdev/lockdev.git;**a=summary<http://anonscm.debian.org/gitweb/?p=lockdev/lockdev.git;a=summary>
"

meta-oe/recipes-extended/**liblockdev/liblockdev_1.0.3.bb new file +3 -0
+
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=**d8045f3b8f929c1cb29a1e3fd737b4

**99"

meta-oe/recipes-extended/**liblockdev/liblockdev_1.0.3.bb new file +2 -0
+
+SRC_URI = "

http://ftp.de.debian.org/**debian/pool/main/l/lockdev/**
lockdev_${PV}.orig.tar.gz<http://ftp.de.debian.org/debian/pool/main/l/lockdev/lockdev_$%7BPV%7D.orig.tar.gz> "

meta-oe/recipes-extended/**liblockdev/liblockdev_1.0.3.bb new file +3 -0
+
+SRC_URI[md5sum] = "**64b9c1b87b125fc348e892e2462552**4a"
+SRC_URI[sha256sum] =

"**ccae635d7ac3fdd50897eceb250872**b3d9a191d298f213e7f0c836910d86**9f82"

meta-oe/recipes-extended/**liblockdev/liblockdev_1.0.3.bb new file +9 -0
+
+S = "${WORKDIR}/lockdev-${PV}"
+
+do_compile() {
+  oe_runmake CC="${CC}" LD="${LD}" shared
+}
+
+do_install() {
+  oe_runmake basedir="${D}" incdir="${D}${includedir}"

libdir="${D}${libdir}" install_dev
+}

Quoted 5 lines
Quoted 5 lines
Quoted 1 line

Why install only _dev? Why don't you use make install? It makes no

sense to
compile shared and not install it... I just tested your recipe.

I cleaned a little your recipe and sent a pull request (added you as Signed of by).
https://github.com/openembedded/meta-oe/pull/10

Quoted 5 lines

ag
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Looks good, my only gripe is that you have listed basedir twice in the EXTRA_OEMAKE.

Cheers,

Signature · 5 lines
  Jack Mitchell ([email protected])
  Embedded Systems Engineer
  http://www.embed.me.uk

--
#7 lore raw
Quoted 94 lines · Jack Mitchell
Quoted 84 lines · Andrei Gherzan

On Tue, Sep 11, 2012 at 11:09 AM, Jack Mitchell <[email protected]

Quoted 1 line

wrote:

Quoted 69 lines · Andrei Gherzan
Quoted 67 lines · On Thu, Sep 6, 2012 at 2:35 PM, <[email protected]> wrote:

From: Jack Mitchell <[email protected].****uk<
jack.mitchell@**dbbroadcast.co.uk <[email protected]>>

Quoted 63 lines

V5

- FILES_{PN} no loger required now libdir and includedir are passed to oe_runmake

V4

- Remove debian packaging patch, it is not needed

jack.mitchell@**dbbroadcast.co.uk <[email protected]>>

---
   .../recipes-extended/****liblockdev/liblockdev_1.0.3.bb  | 20
++++++++++++++++++++
   1 file changed, 20 insertions(+)

create mode 100644 meta-oe/recipes-extended/****liblockdev/
liblockdev_1.0.3.bb

(quoted diff) +0 -0

liblockdev/liblockdev_1.0.3.**
bbb/meta-oe/recipes-extended/****liblockdev/
liblockdev_1.0.3.bb
new file mode 100644
index 0000000..210a47b

meta-oe/recipes-extended/****liblockdev/liblockdev_1.0.3.bb new file +2 -0
@@ -0,0 +1,20 @@
+DESCRIPTION = "Manage character and block device lockfiles."
+HOMEPAGE = "

http://anonscm.debian.org/****gitweb/?p=lockdev/lockdev.git;**
**a=summary<http://anonscm.debian.org/**gitweb/?p=lockdev/lockdev.git;**a=summary>
<http://anonscm.**debian.org/gitweb/?p=lockdev/**lockdev.git;a=summary<http://anonscm.debian.org/gitweb/?p=lockdev/lockdev.git;a=summary>

Quoted 1 line

"

meta-oe/recipes-extended/****liblockdev/liblockdev_1.0.3.bb new file +3 -0
+
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=****

d8045f3b8f929c1cb29a1e3fd737b4
**99"

meta-oe/recipes-extended/****liblockdev/liblockdev_1.0.3.bb new file +2 -0
+
+SRC_URI = "

http://ftp.de.debian.org/****debian/pool/main/l/lockdev/**<http://ftp.de.debian.org/**debian/pool/main/l/lockdev/**>
lockdev_${PV}.orig.tar.gz<http**://ftp.de.debian.org/debian/** pool/main/l/lockdev/lockdev_$%**7BPV%7D.orig.tar.gz<http://ftp.de.debian.org/debian/pool/main/l/lockdev/lockdev_$%7BPV%7D.orig.tar.gz>

Quoted 1 line

"

meta-oe/recipes-extended/****liblockdev/liblockdev_1.0.3.bb new file +3 -0
+
+SRC_URI[md5sum] = "****64b9c1b87b125fc348e892e2462552****4a"
+SRC_URI[sha256sum] =

"****ccae635d7ac3fdd50897eceb250872******
b3d9a191d298f213e7f0c836910d86****9f82"

meta-oe/recipes-extended/****liblockdev/liblockdev_1.0.3.bb new file +9 -0
+
+S = "${WORKDIR}/lockdev-${PV}"
+
+do_compile() {
+  oe_runmake CC="${CC}" LD="${LD}" shared
+}
+
+do_install() {
+  oe_runmake basedir="${D}" incdir="${D}${includedir}"

libdir="${D}${libdir}" install_dev
+}

Quoted 7 lines
Quoted 7 lines
Quoted 2 lines

Why install only _dev? Why don't you use make install? It makes no

sense to
compile shared and not install it... I just tested your recipe.

I cleaned a little your recipe and sent a pull request (added you as

Signed
of by).
https://github.com/**openembedded/meta-oe/pull/10<https://github.com/openembedded/meta-oe/pull/10>

Quoted 7 lines

ag
______________________________**_________________
Openembedded-devel mailing list Openembedded-devel@lists.**openembedded.org<[email protected]>
http://lists.linuxtogo.org/**cgi-bin/mailman/listinfo/**
openembedded-devel<http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>

Quoted 4 lines

Looks good, my only gripe is that you have listed basedir twice in the EXTRA_OEMAKE.

Don't ask. :) Amended. Thanks.

ag