Patchwork [meta-oe] tmux: Add initial recipe for vesion 1.6.

login
register
mail settings
Submitter Peter Tworek
Date Feb. 1, 2012, 9:38 p.m.
Message ID <1328132338-15939-1-git-send-email-tworaz666@gmail.com>
Download mbox | patch
Permalink /patch/20519/
State Superseded, archived
Headers show

Comments

Peter Tworek - Feb. 1, 2012, 9:38 p.m.
Signed-off-by: Peter Tworek <tworaz666@gmail.com>
---
 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
Paul Menzel - Feb. 2, 2012, 8:27 a.m.
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.

> Signed-off-by: Peter Tworek <tworaz666@gmail.com>
> ---
>  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
> 
> diff --git a/meta-oe/recipes-extended/tmux/tmux_1.6.bb b/meta-oe/recipes-extended/tmux/tmux_1.6.bb
> new file mode 100644
> index 0000000..eb6f7df
> --- /dev/null
> +++ b/meta-oe/recipes-extended/tmux/tmux_1.6.bb
> @@ -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"

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.

> +}


Thanks,

Paul
Peter Tworek - Feb. 2, 2012, 7:19 p.m.
On 02/02/2012 09:27 AM, Paul Menzel wrote:
> Dear Peter,
>
>
> thank you for your latest work. It is much appreciated.
You're welcome. Thanks for taking your time to review my patches.
>
> 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.

>
>> Signed-off-by: Peter Tworek<tworaz666@gmail.com>
>> ---
>>   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
>>
>> diff --git a/meta-oe/recipes-extended/tmux/tmux_1.6.bb b/meta-oe/recipes-extended/tmux/tmux_1.6.bb
>> new file mode 100644
>> index 0000000..eb6f7df
>> --- /dev/null
>> +++ b/meta-oe/recipes-extended/tmux/tmux_1.6.bb
>> @@ -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"
> 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.
>
> 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.

>> +}
>
> Thanks,
>
> Paul
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Patch

diff --git a/meta-oe/recipes-extended/tmux/tmux_1.6.bb b/meta-oe/recipes-extended/tmux/tmux_1.6.bb
new file mode 100644
index 0000000..eb6f7df
--- /dev/null
+++ b/meta-oe/recipes-extended/tmux/tmux_1.6.bb
@@ -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"
+}