Patchwork [meta-oe,v3] tmux: Add initial recipe for version 1.6.

login
register
mail settings
Submitter Peter Tworek
Date Feb. 3, 2012, 11:10 p.m.
Message ID <1328310612-2098-1-git-send-email-tworaz666@gmail.com>
Download mbox | patch
Permalink /patch/20683/
State New, archived
Headers show

Comments

Peter Tworek - Feb. 3, 2012, 11:10 p.m.
Run tested on netbook pro.

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
Acked-by: Paul Menzel <paulepanter@users.sourceforge.net>
---
 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
Khem Raj - Feb. 4, 2012, 2:14 a.m.
On (04/02/12 00:10), Peter Tworek wrote:
> Run tested on netbook pro.
> 
> Signed-off-by: Peter Tworek <tworaz666@gmail.com>
> Acked-by: Paul Menzel <paulepanter@users.sourceforge.net>
> ---
>  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..fa58065
> --- /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"

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....
Peter Tworek - Feb. 4, 2012, 9:55 a.m.
On 02/04/2012 03:14 AM, Khem Raj wrote:
> On (04/02/12 00:10), Peter Tworek wrote:
>> Run tested on netbook pro.
>>
>> Signed-off-by: Peter Tworek<tworaz666@gmail.com>
>> Acked-by: Paul Menzel<paulepanter@users.sourceforge.net>
>> ---
>>   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..fa58065
>> --- /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"
> 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....

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
Khem Raj - Feb. 4, 2012, 4:41 p.m.
On Sat, Feb 4, 2012 at 1:55 AM, Peter Tworek <tworaz666@gmail.com> wrote:
> On 02/04/2012 03:14 AM, Khem Raj wrote:
>>
>> On (04/02/12 00:10), Peter Tworek wrote:
>>>
>>> Run tested on netbook pro.
>>>
>>> Signed-off-by: Peter Tworek<tworaz666@gmail.com>
>>> Acked-by: Paul Menzel<paulepanter@users.sourceforge.net>
>>> ---
>>>  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..fa58065
>>> --- /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"
>>
>> 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....
>
>
> 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
>
> /ptw
>
>
> _______________________________________________
> 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..fa58065
--- /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 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"
+}