Skip to contentSkip to conversation

libyui: switch to libyui-old repo which still has this SRCREV

PATCH New Martin Jansa 1 participant 2 messages Apr 6, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 libyui: switch to libyui-old repo which still has this SRCREV

* af06143017fc5f18c4b6488ba4aed26bcc43ff6e doesn't exist in current repo:
libyui$ git branch -a --contains af06143017fc5f18c4b6488ba4aed26bcc43ff6e
error: no such commit af06143017fc5f18c4b6488ba4aed26bcc43ff6e

* there are no common commits in the new libyui repo, but luckily old repo is kept as
https://github.com/libyui/libyui-old
similarly libyui-ncurses now contains only README about being obsolete in:
https://github.com/libyui/libyui-ncurses
but at least it wasn't rewritten to have the new content

---
 meta-oe/recipes-graphics/libyui/libyui_4.0.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-graphics/libyui/libyui_4.0.0.bb +1 -1
index bba17962e2..e42c178e66 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING.gpl-3;md5=d32239bcb673463ab874e80d47fae504 \
                     file://COPYING.lgpl-3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
                    "
 
-SRC_URI = "git://github.com/libyui/libyui.git \
+SRC_URI = "git://github.com/libyui/libyui-old.git \
            file://0001-Fix-build-with-clang.patch \
            file://0001-Use-relative-install-paths-for-CMake.patch \
            "
Signature · 1 line
2.30.2
#1 lore raw

PATCH 2/2 libyui(-ncurses): upgrade to 4.1.1, libyui repo was rewritten completely

* af06143017fc5f18c4b6488ba4aed26bcc43ff6e doesn't exist in current repo:
libyui$ git branch -a --contains af06143017fc5f18c4b6488ba4aed26bcc43ff6e
error: no such commit af06143017fc5f18c4b6488ba4aed26bcc43ff6e

* there are no common commits in the new libyui repo, but luckily old repo is kept as
https://github.com/libyui/libyui-old
similarly libyui-ncurses now contains only README about being obsolete in:
https://github.com/libyui/libyui-ncurses
but at least it wasn't rewritten to have the new content

* now both recipes need to use the same git repo and just different subdirs in S

---
 ...byui-ncurses_4.0.0.bb => libyui-ncurses_4.1.1.bb} | 11 +++++------
 .../libyui/{libyui_4.0.0.bb => libyui_4.1.1.bb}      | 12 ++++++------
 2 files changed, 11 insertions(+), 12 deletions(-)
 rename meta-oe/recipes-graphics/libyui/{libyui-ncurses_4.0.0.bb => libyui-ncurses_4.1.1.bb} (79%)
 rename meta-oe/recipes-graphics/libyui/{libyui_4.0.0.bb => libyui_4.1.1.bb} (66%)
meta-oe/recipes-graphics/libyui/libyui-ncurses_4.1.1.bb renamed from meta-oe/recipes-graphics/libyui/libyui-ncurses_4.0.0.bb +5 -6
similarity index 79%
rename from meta-oe/recipes-graphics/libyui/libyui-ncurses_4.0.0.bb
rename to meta-oe/recipes-graphics/libyui/libyui-ncurses_4.1.1.bb
index a3a4a15066..fdf01618a2 100644
@@ -1,17 +1,16 @@
 SUMMARY = "Character Based User Interface for libyui"
 LICENSE = "LGPLv3"
-LIC_FILES_CHKSUM = "file://COPYING.lgpl-3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
-    file://COPYING.lgpl-2.1;md5=4fbd65380cdd255951079008b364516c \
+LIC_FILES_CHKSUM = "file://../COPYING.lgpl-3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
+    file://../COPYING.lgpl-2.1;md5=4fbd65380cdd255951079008b364516c \
 "
 
-SRC_URI = "git://github.com/libyui/libyui-ncurses.git \
-          "
+SRC_URI = "git://github.com/libyui/libyui.git"
 
 SRC_URI_append_class-target = " file://0001-Fix-the-error-of-can-t-find-header-file.patch"
 
-SRCREV = "37d3a1e815a47f536b4f694f139f279cc93a3854"
+SRCREV = "718ac672374a2b0f50cbc7d637d90e6471babc3d"
 
-S = "${WORKDIR}/git"
+S = "${WORKDIR}/git/libyui-ncurses"
 
 inherit cmake gettext pkgconfig
 
meta-oe/recipes-graphics/libyui/libyui_4.1.1.bb renamed from meta-oe/recipes-graphics/libyui/libyui_4.0.0.bb +6 -6
similarity index 66%
rename from meta-oe/recipes-graphics/libyui/libyui_4.0.0.bb
rename to meta-oe/recipes-graphics/libyui/libyui_4.1.1.bb
index e42c178e66..acab7d4568 100644
@@ -1,18 +1,18 @@
 SUMMARY = "Libyui is a widget abstraction library providing Qt, GTK and ncurses frontends."
 LICENSE = "LGPLv3"
-LIC_FILES_CHKSUM = "file://COPYING.gpl-3;md5=d32239bcb673463ab874e80d47fae504 \
-                    file://COPYING.lgpl-2.1;md5=4fbd65380cdd255951079008b364516c \
-                    file://COPYING.lgpl-3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
+LIC_FILES_CHKSUM = "file://../COPYING.gpl-3;md5=d32239bcb673463ab874e80d47fae504 \
+                    file://../COPYING.lgpl-2.1;md5=4fbd65380cdd255951079008b364516c \
+                    file://../COPYING.lgpl-3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
                    "
 
-SRC_URI = "git://github.com/libyui/libyui-old.git \
+SRC_URI = "git://github.com/libyui/libyui.git \
            file://0001-Fix-build-with-clang.patch \
            file://0001-Use-relative-install-paths-for-CMake.patch \
            "
 
-SRCREV = "af06143017fc5f18c4b6488ba4aed26bcc43ff6e"
+SRCREV = "718ac672374a2b0f50cbc7d637d90e6471babc3d"
 
-S = "${WORKDIR}/git"
+S = "${WORKDIR}/git/libyui"
 
 inherit cmake gettext pkgconfig
 
Signature · 1 line
2.30.2