Skip to contentSkip to conversation

tmux: Add initial recipe for vesion 1.6.

PATCH Superseded Peter Tworek 3 participants 10 messages Feb 1, 2012 – Feb 4, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tmux: Add initial recipe for vesion 1.6.

---
 meta-oe/recipes-extended/tmux/tmux_1.6.bb |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-extended/tmux/tmux_1.6.bb
meta-oe/recipes-extended/tmux/tmux_1.6.bb new file +18 -0
new file mode 100644
index 0000000..eb6f7df
@@ -0,0 +1,18 @@
+DESCRIPTION = "Terminal multiplexer"
+HOMEPAGE = "http://tmux.sourceforge.net"
+SECTION = "console/utils"
+
+LICENSE = "ISC"
+LIC_FILES_CHKSUM = "file://tmux.c;startline=3;endline=17;md5=f36d9c9e6c1c24996a88891fdf783d04"
+
+DEPENDS = "ncurses libevent"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/tmux/${P}.tar.gz"
+SRC_URI[md5sum] = "3e37db24aa596bf108a0442a81c845b3"
+SRC_URI[sha256sum] = "faee08ba1bd8c22537cd5b7458881d1bdb4985df88ed6bc5967c56881a7efbd6"
+
+inherit autotools
+
+do_configure_prepend () {
+	sed -i -e 's:-I/usr/local/include::' Makefile.am || bb_fatal "sed failed"
+}
Signature · 1 line
1.7.3.4
#1 lore raw

Dear Peter,

thank you for your latest work. It is much appreciated.

Am Mittwoch, den 01.02.2012, 22:38 +0100 schrieb Peter Tworek:

This is just an optional request from me. I would like to see in the commit message what build configuration you used for testing.

Quoted 19 lines
---
 meta-oe/recipes-extended/tmux/tmux_1.6.bb |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-extended/tmux/tmux_1.6.bb
meta-oe/recipes-extended/tmux/tmux_1.6.bb new file +7 -0
new file mode 100644
index 0000000..eb6f7df
@@ -0,0 +1,18 @@
+DESCRIPTION = "Terminal multiplexer"
+HOMEPAGE = "http://tmux.sourceforge.net"
+SECTION = "console/utils"
+
+LICENSE = "ISC"
+LIC_FILES_CHKSUM = "file://tmux.c;startline=3;endline=17;md5=f36d9c9e6c1c24996a88891fdf783d04"
+

meta-oe/recipes-extended/tmux/tmux_1.6.bb line 17

Quoted 10 lines
meta-oe/recipes-extended/tmux/tmux_1.6.bb new file +10 -0
+DEPENDS = "ncurses libevent"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/tmux/${P}.tar.gz"
+SRC_URI[md5sum] = "3e37db24aa596bf108a0442a81c845b3"
+SRC_URI[sha256sum] = "faee08ba1bd8c22537cd5b7458881d1bdb4985df88ed6bc5967c56881a7efbd6"
+
+inherit autotools
+
+do_configure_prepend () {
+	sed -i -e 's:-I/usr/local/include::' Makefile.am || bb_fatal "sed failed"

You can ensure that sed is available by depending on sed-native I think. At least in OE-Classic this was available.

Additionally it would be great if you could contact upstream and make them aware of this problem and maybe even provide a patch. So that in the feature no adaptations are needed and other distributions/framework can profit too.

meta-oe/recipes-extended/tmux/tmux_1.6.bb line 18

Quoted 1 line
meta-oe/recipes-extended/tmux/tmux_1.6.bb new file +1 -0
+}

Thanks,

Paul

#2 lore raw
Quoted 4 lines · Paul Menzel

Dear Peter,

thank you for your latest work. It is much appreciated.

You're welcome. Thanks for taking your time to review my patches.

Quoted 5 lines

Am Mittwoch, den 01.02.2012, 22:38 +0100 schrieb Peter Tworek:

This is just an optional request from me. I would like to see in the commit message what build configuration you used for testing.

No problem. Currently my main target is netbook pro.

Quoted 24 lines
Quoted 24 lines
---
  meta-oe/recipes-extended/tmux/tmux_1.6.bb |   18 ++++++++++++++++++
  1 files changed, 18 insertions(+), 0 deletions(-)

create mode 100644 meta-oe/recipes-extended/tmux/tmux_1.6.bb

meta-oe/recipes-extended/tmux/tmux_1.6.bb new file +11 -0
new file mode 100644
index 0000000..eb6f7df
@@ -0,0 +1,18 @@
+DESCRIPTION = "Terminal multiplexer"
+HOMEPAGE = "http://tmux.sourceforge.net"
+SECTION = "console/utils"
+
+LICENSE = "ISC"
+LIC_FILES_CHKSUM = "file://tmux.c;startline=3;endline=17;md5=f36d9c9e6c1c24996a88891fdf783d04"
+
+DEPENDS = "ncurses libevent"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/tmux/${P}.tar.gz"
+SRC_URI[md5sum] = "3e37db24aa596bf108a0442a81c845b3"
Quoted 8 lines

meta-oe/recipes-extended/tmux/tmux_1.6.bb line 17

Quoted 6 lines
meta-oe/recipes-extended/tmux/tmux_1.6.bb new file +6 -0
+SRC_URI[sha256sum] = "faee08ba1bd8c22537cd5b7458881d1bdb4985df88ed6bc5967c56881a7efbd6"
+
+inherit autotools
+
+do_configure_prepend () {
+	sed -i -e 's:-I/usr/local/include::' Makefile.am || bb_fatal "sed failed"

You can ensure that sed is available by depending on sed-native I think. At least in OE-Classic this was available.

I'll add it in v2. Thanks for pointing that one out.

Quoted 5 lines

Additionally it would be great if you could contact upstream and make them aware of this problem and maybe even provide a patch. So that in the feature no adaptations are needed and other distributions/framework can profit too.

Sure, I'll do that. The fix itself is just for QA warning about including host headers.

Quoted 11 lines

meta-oe/recipes-extended/tmux/tmux_1.6.bb line 18

Quoted 1 line
meta-oe/recipes-extended/tmux/tmux_1.6.bb new file +1 -0
+}

Thanks,

Paul

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

#3 lore raw

PATCH v2 1/1 tmux: Add initial recipe for vesion 1.6.

In reply to Peter Tworek

From: Piotr Tworek <[email protected]>

Run tested on netbook pro.

---
 meta-oe/recipes-extended/tmux/tmux_1.6.bb |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-extended/tmux/tmux_1.6.bb
meta-oe/recipes-extended/tmux/tmux_1.6.bb new file +18 -0
new file mode 100644
index 0000000..fa58065
@@ -0,0 +1,18 @@
+DESCRIPTION = "Terminal multiplexer"
+HOMEPAGE = "http://tmux.sourceforge.net"
+SECTION = "console/utils"
+
+LICENSE = "ISC"
+LIC_FILES_CHKSUM = "file://tmux.c;startline=3;endline=17;md5=f36d9c9e6c1c24996a88891fdf783d04"
+
+DEPENDS = "ncurses libevent sed-native"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/tmux/${P}.tar.gz"
+SRC_URI[md5sum] = "3e37db24aa596bf108a0442a81c845b3"
+SRC_URI[sha256sum] = "faee08ba1bd8c22537cd5b7458881d1bdb4985df88ed6bc5967c56881a7efbd6"
+
+inherit autotools
+
+do_configure_prepend () {
+	sed -i -e 's:-I/usr/local/include::' Makefile.am || bb_fatal "sed failed"
+}
Signature · 1 line
1.7.3.4
Acked-by on v2 1/1
#4 lore raw

Am Donnerstag, den 02.02.2012, 20:22 +0100 schrieb Peter Tworek:

Quoted 1 line

From: Piotr Tworek <[email protected]>

Some configuration changed in your setup. Please try to avoid that so that so that changelog statistics can be more meaningful.

There is the typo ve*r*sion in the summary.

Quoted 3 lines

Run tested on netbook pro.

Should you resend patches you can add the following.

Quoted 4 lines
---
 meta-oe/recipes-extended/tmux/tmux_1.6.bb |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-extended/tmux/tmux_1.6.bb

[…]

Thanks,

Paul

#5 lore raw
Quoted 7 lines · Paul Menzel

Am Donnerstag, den 02.02.2012, 20:22 +0100 schrieb Peter Tworek:

Quoted 1 line

From: Piotr Tworek<[email protected]>

Some configuration changed in your setup. Please try to avoid that so that so that changelog statistics can be more meaningful.

There is the typo ve*r*sion in the summary.

Thanks, both issues fixed in v3.

Quoted 17 lines
Quoted 3 lines

Run tested on netbook pro.

Should you resend patches you can add the following.

Quoted 4 lines
---
  meta-oe/recipes-extended/tmux/tmux_1.6.bb |   18 ++++++++++++++++++
  1 files changed, 18 insertions(+), 0 deletions(-)

create mode 100644 meta-oe/recipes-extended/tmux/tmux_1.6.bb

[…]

Thanks,

Paul

#6 lore raw

PATCH v3 1/1 tmux: Add initial recipe for version 1.6.

In reply to Peter Tworek

Run tested on netbook pro.

---
 meta-oe/recipes-extended/tmux/tmux_1.6.bb |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-extended/tmux/tmux_1.6.bb
meta-oe/recipes-extended/tmux/tmux_1.6.bb new file +18 -0
new file mode 100644
index 0000000..fa58065
@@ -0,0 +1,18 @@
+DESCRIPTION = "Terminal multiplexer"
+HOMEPAGE = "http://tmux.sourceforge.net"
+SECTION = "console/utils"
+
+LICENSE = "ISC"
+LIC_FILES_CHKSUM = "file://tmux.c;startline=3;endline=17;md5=f36d9c9e6c1c24996a88891fdf783d04"
+
+DEPENDS = "ncurses libevent sed-native"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/tmux/${P}.tar.gz"
+SRC_URI[md5sum] = "3e37db24aa596bf108a0442a81c845b3"
+SRC_URI[sha256sum] = "faee08ba1bd8c22537cd5b7458881d1bdb4985df88ed6bc5967c56881a7efbd6"
+
+inherit autotools
+
+do_configure_prepend () {
+	sed -i -e 's:-I/usr/local/include::' Makefile.am || bb_fatal "sed failed"
+}
Signature · 1 line
1.7.3.4
#7 lore raw

Re: [meta-oe][PATCH v3] tmux: Add initial recipe for version 1.6.

Quoted 15 lines · Peter Tworek

Run tested on netbook pro.

---
 meta-oe/recipes-extended/tmux/tmux_1.6.bb |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-extended/tmux/tmux_1.6.bb
meta-oe/recipes-extended/tmux/tmux_1.6.bb new file +0 -0
new file mode 100644
index 0000000..fa58065

meta-oe/recipes-extended/tmux/tmux_1.6.bb line 5

Quoted 5 lines
meta-oe/recipes-extended/tmux/tmux_1.6.bb new file +5 -0
@@ -0,0 +1,18 @@
+DESCRIPTION = "Terminal multiplexer"
+HOMEPAGE = "http://tmux.sourceforge.net"
+SECTION = "console/utils"
+
+LICENSE = "ISC"

what is ISC license ? I thought tmux is more like BSD license here is what I read in NOTES files

tmux is intended to be a simple, modern, BSD-licensed alternative....

#8 lore raw

Re: [meta-oe][PATCH v3] tmux: Add initial recipe for version 1.6.

Quoted 24 lines · Khem Raj
Quoted 15 lines · Peter Tworek

Run tested on netbook pro.

---
  meta-oe/recipes-extended/tmux/tmux_1.6.bb |   18 ++++++++++++++++++
  1 files changed, 18 insertions(+), 0 deletions(-)

create mode 100644 meta-oe/recipes-extended/tmux/tmux_1.6.bb

meta-oe/recipes-extended/tmux/tmux_1.6.bb new file +0 -0
new file mode 100644
index 0000000..fa58065

meta-oe/recipes-extended/tmux/tmux_1.6.bb line 5

Quoted 5 lines
meta-oe/recipes-extended/tmux/tmux_1.6.bb new file +5 -0
@@ -0,0 +1,18 @@
+DESCRIPTION = "Terminal multiplexer"
+HOMEPAGE = "http://tmux.sourceforge.net"
+SECTION = "console/utils"
+
+LICENSE = "ISC"

what is ISC license ? I thought tmux is more like BSD license here is what I read in NOTES files

Quoted 1 line

tmux is intended to be a simple, modern, BSD-licensed alternative....

Technically ISC is a BSD license [1]. Looking at the actual license text in tmux [2] it seems that it uses exactly this license. OE-core seems to also distinguish between BSD and ISC (meta/files/common-licenses/ISC), so I decided to use it.

[1] http://en.wikipedia.org/wiki/ISC_license
[2] http://tmux.svn.sourceforge.net/viewvc/tmux/trunk/tmux.c?revision=2697&view=markup

/ptw

#9 lore raw

Re: [meta-oe][PATCH v3] tmux: Add initial recipe for version 1.6.

Quoted 32 lines · Peter Tworek
Quoted 28 lines · Khem Raj
Quoted 17 lines · Peter Tworek

Run tested on netbook pro.

---
 meta-oe/recipes-extended/tmux/tmux_1.6.bb |   18 ++++++++++++++++++

 1 files changed, 18 insertions(+), 0 deletions(-)

 create mode 100644 meta-oe/recipes-extended/tmux/tmux_1.6.bb

meta-oe/recipes-extended/tmux/tmux_1.6.bb new file +0 -0
new file mode 100644
index 0000000..fa58065

meta-oe/recipes-extended/tmux/tmux_1.6.bb line 5

Quoted 5 lines
meta-oe/recipes-extended/tmux/tmux_1.6.bb new file +5 -0
@@ -0,0 +1,18 @@
+DESCRIPTION = "Terminal multiplexer"
+HOMEPAGE = "http://tmux.sourceforge.net"
+SECTION = "console/utils"
+
+LICENSE = "ISC"

what is ISC license ? I thought tmux is more like BSD license here is what I read in NOTES files

Quoted 1 line

tmux is intended to be a simple, modern, BSD-licensed alternative....

Quoted 8 lines

Technically ISC is a BSD license [1]. Looking at the actual license text in tmux [2] it seems that it uses exactly this license. OE-core seems to also distinguish between BSD and ISC (meta/files/common-licenses/ISC), so I decided to use it.

[1] http://en.wikipedia.org/wiki/ISC_license
[2]
http://tmux.svn.sourceforge.net/viewvc/tmux/trunk/tmux.c?revision=2697&view=markup

thanks looks fine

Quoted 8 lines

/ptw

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