Message ID | 20230517081542.412-1-florin.diaconescu009@gmail.com |
---|---|
State | New |
Headers | show |
Series | ncurses: change GitHub mirror | expand |
On Wed, 17 May 2023 at 10:16, Florin Diaconescu <florin.diaconescu009@gmail.com> wrote: > > Change from github.com/mirror/ncurses to > github.com/ThomasDickey/ncurses-snapshots (which is linked in the > ncurses FAQ http://invisible-island.net/ncurses/ncurses.faq.html) ... > # commit id corresponds to the revision in package version > -SRCREV = "79b9071f2be20a24c7be031655a5638f6032f29f" > +SRCREV = "1003914e200fd622a27237abca155ce6bf2e6030" This cannot be bundled together with the SRC_URI change without explanation. Please split out into a separate patch, if it is even necessary. Alex
This was done in a similar way to this commit, when the change was made from Debian packaging to GitHub's mirror: https://git.yoctoproject.org/p oky/commit/meta/recipes-core/n curses?id=dfaabf971b02e33870f9 f927e9b1356e05e74a17 ( https://git.yoctoproject.org/poky/commit/meta/recipes-core/ncurses?id=dfaabf971b02e33870f9f927e9b1356e05e74a17 ) If I only change the SRC_URI, then it won't find the original 79b9071f2be20a24c7be031655a5638f6032f29f revision. 1003914e200fd622a27237abca155ce6bf2e6030 is the commit hash of the 6.4 release tag: https://github.com/ThomasDicke y/ncurses-snapshots/releases/ tag/v6_4 ( https://github.com/ThomasDickey/ncurses-snapshots/releases/tag/v6_4 ) Florin
Thanks, this should go into the commit message. You also need to find out why the license checksum doesn't match and explain that too. Alex On Wed, 17 May 2023 at 10:32, Florin Diaconescu <florin.diaconescu009@gmail.com> wrote: > > This was done in a similar way to this commit, when the change was made from Debian packaging to GitHub's mirror: > > https://git.yoctoproject.org/poky/commit/meta/recipes-core/ncurses?id=dfaabf971b02e33870f9f927e9b1356e05e74a17 > If I only change the SRC_URI, then it won't find the original 79b9071f2be20a24c7be031655a5638f6032f29f revision. > > 1003914e200fd622a27237abca155ce6bf2e6030 is the commit hash of the 6.4 release tag: > https://github.com/ThomasDickey/ncurses-snapshots/releases/tag/v6_4 > > Florin > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#181475): https://lists.openembedded.org/g/openembedded-core/message/181475 > Mute This Topic: https://lists.openembedded.org/mt/98944084/1686489 > Group Owner: openembedded-core+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc index 367f3b19f4..eeb110687c 100644 --- a/meta/recipes-core/ncurses/ncurses.inc +++ b/meta/recipes-core/ncurses/ncurses.inc @@ -2,7 +2,7 @@ SUMMARY = "The New Curses library" DESCRIPTION = "SVr4 and XSI-Curses compatible curses library and terminfo tools including tic, infocmp, captoinfo. Supports color, multiple highlights, forms-drawing characters, and automatic recognition of keypad and function-key sequences. Extensions include resizable windows and mouse support on both xterm and Linux console using the gpm library." HOMEPAGE = "http://www.gnu.org/software/ncurses/ncurses.html" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://COPYING;md5=c5a4600fdef86384c41ca33ecc70a4b8;endline=27" +LIC_FILES_CHKSUM = "file://COPYING;md5=8f2e5b99d5b6c0e6ee7cb39b992733b6;endline=27" SECTION = "libs" DEPENDS = "ncurses-native" DEPENDS:class-native = "" @@ -13,7 +13,7 @@ BINCONFIG = "${bindir}/ncurses5-config ${bindir}/ncursesw5-config \ inherit autotools binconfig-disabled multilib_header pkgconfig # Upstream has useful patches at times at ftp://invisible-island.net/ncurses/ -SRC_URI = "git://github.com/mirror/ncurses.git;protocol=https;branch=master" +SRC_URI = "git://github.com/ThomasDickey/ncurses-snapshots.git;protocol=https;branch=master" EXTRA_AUTORECONF = "-I m4" diff --git a/meta/recipes-core/ncurses/ncurses_6.4.bb b/meta/recipes-core/ncurses/ncurses_6.4.bb index 1eb15673d1..166e30713c 100644 --- a/meta/recipes-core/ncurses/ncurses_6.4.bb +++ b/meta/recipes-core/ncurses/ncurses_6.4.bb @@ -6,7 +6,7 @@ SRC_URI += "file://0001-tic-hang.patch \ file://exit_prototype.patch \ " # commit id corresponds to the revision in package version -SRCREV = "79b9071f2be20a24c7be031655a5638f6032f29f" +SRCREV = "1003914e200fd622a27237abca155ce6bf2e6030" S = "${WORKDIR}/git" EXTRA_OECONF += "--with-abi-version=5" UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)$"
Change from github.com/mirror/ncurses to github.com/ThomasDickey/ncurses-snapshots (which is linked in the ncurses FAQ http://invisible-island.net/ncurses/ncurses.faq.html) This is updated at least weekly, compared to mirror/ncurses, which was last updated on March 12th. Signed-off-by: Florin Diaconescu <florin.diaconescu009@gmail.com> --- meta/recipes-core/ncurses/ncurses.inc | 4 ++-- meta/recipes-core/ncurses/ncurses_6.4.bb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)