[oe] [meta-oe][PATCH] tmux: update to 2.1

Dan McGregor danismostlikely at gmail.com
Thu Nov 5 04:14:19 UTC 2015


On 4 November 2015 at 22:05, Khem Raj <raj.khem at gmail.com> wrote:
>
>> On Nov 4, 2015, at 7:55 PM, Dan McGregor <danismostlikely at gmail.com> wrote:
>>
>> From: Dan McGregor <dan.mcgregor at usask.ca>
>>
>> tmux 1.6 is three years old. Update to latest.
>>
>> Signed-off-by: Dan McGregor <dan.mcgregor at usask.ca>
>> ---
>> meta-oe/recipes-extended/tmux/tmux_1.6.bb | 18 ------------------
>> meta-oe/recipes-extended/tmux/tmux_2.1.bb | 17 +++++++++++++++++
>
> this is ok but use git format-parch -M so it can detect renames. Its easy to review.

Interesting. I did do that, but apparently the default wasn't good
enough to detect this one.

>
>> 2 files changed, 17 insertions(+), 18 deletions(-)
>> delete mode 100644 meta-oe/recipes-extended/tmux/tmux_1.6.bb
>> create mode 100644 meta-oe/recipes-extended/tmux/tmux_2.1.bb
>>
>> diff --git a/meta-oe/recipes-extended/tmux/tmux_1.6.bb b/meta-oe/recipes-extended/tmux/tmux_1.6.bb
>> deleted file mode 100644
>> index b4294d7..0000000
>> --- a/meta-oe/recipes-extended/tmux/tmux_1.6.bb
>> +++ /dev/null
>> @@ -1,18 +0,0 @@
>> -SUMMARY = "Terminal multiplexer"
>> -HOMEPAGE = "http://tmux.sourceforge.net"
>> -SECTION = "console/utils"
>> -
>> -LICENSE = "ISC"
>> -LIC_FILES_CHKSUM = "file://tmux.c;beginline=3;endline=17;md5=8685b4455330a940fab1ff451aa941a0"
>> -
>> -DEPENDS = "ncurses libevent"
>> -
>> -SRC_URI = "${SOURCEFORGE_MIRROR}/tmux/${BP}.tar.gz"
>> -SRC_URI[md5sum] = "3e37db24aa596bf108a0442a81c845b3"
>> -SRC_URI[sha256sum] = "faee08ba1bd8c22537cd5b7458881d1bdb4985df88ed6bc5967c56881a7efbd6"
>> -
>> -inherit autotools pkgconfig
>> -
>> -do_configure_prepend () {
>> -    sed -i -e 's:-I/usr/local/include::' ${S}/Makefile.am || bb_fatal "sed failed"
>> -}
>> diff --git a/meta-oe/recipes-extended/tmux/tmux_2.1.bb b/meta-oe/recipes-extended/tmux/tmux_2.1.bb
>> new file mode 100644
>> index 0000000..6e2c88d
>> --- /dev/null
>> +++ b/meta-oe/recipes-extended/tmux/tmux_2.1.bb
>> @@ -0,0 +1,17 @@
>> +SUMMARY = "Terminal multiplexer"
>> +HOMEPAGE = "http://tmux.sourceforge.net"
>> +SECTION = "console/utils"
>> +
>> +LICENSE = "ISC"
>> +LIC_FILES_CHKSUM = "file://tmux.c;beginline=3;endline=17;md5=8685b4455330a940fab1ff451aa941a0"
>> +
>> +DEPENDS = "ncurses libevent"
>> +
>> +
>> +SRC_URI = "git://github.com/tmux/tmux.git;branch=master"
>> +SRCREV ?= “310f0a960ca64fa3809545badc629c0c166c6cd2”
>
> is it as point release for 2.1 ? if not then may be SRCPV should be appended to PV
>

That SRCREV corresponds to the version 2.1 tag in the git repository.
I haven't confirmed that it's the same as the release tarball though.
>> +
>
>> +S = "${WORKDIR}/git"
>> +B = "${WORKDIR}/build"
>> +
>> +inherit autotools pkgconfig
>> --
>> 2.6.2.11.gb05c2f9
>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>



More information about the Openembedded-devel mailing list