diff options
Diffstat (limited to 'Mk/Scripts')
-rw-r--r-- | Mk/Scripts/cargo-crates-git-common.awk | 20 | ||||
-rw-r--r-- | Mk/Scripts/check_have_symbols.sh | 1 | ||||
-rw-r--r-- | Mk/Scripts/qa.sh | 2 |
3 files changed, 20 insertions, 3 deletions
diff --git a/Mk/Scripts/cargo-crates-git-common.awk b/Mk/Scripts/cargo-crates-git-common.awk index 36eb0027d3d7..e2263f94678a 100644 --- a/Mk/Scripts/cargo-crates-git-common.awk +++ b/Mk/Scripts/cargo-crates-git-common.awk @@ -73,6 +73,26 @@ function split_git_url(info, git_url, url, path, account, project, commit, i, d info["dir"] = sprintf("%s-%s", project, dir_ver) return 1 + } else if (url["host"] == "codeberg.org") { + split(url["path"], path, "/") + account = path[2] + project = path[3] + sub(/\.[gG][iI][tT]$/, "", project) + commit = commit_from_git_url(url) + + delete url + url["scheme"] = "https" + url["host"] = "codeberg.org" + url["path"] = sprintf("/%s/%s/archive/%s.tar.gz", account, project, commit) + url["query"] = "dummy" + url["query", "dummy"] = "/" + info["site"] = join_url(url) + + info["filename"] = sprintf("%s-%s-%s_CB0.tar.gz", account, project, commit) + + info["dir"] = sprintf("%s", project) + + return 1 } else if (gitlab_hosts[url["host"]]) { split(url["path"], path, "/") account = path[2] diff --git a/Mk/Scripts/check_have_symbols.sh b/Mk/Scripts/check_have_symbols.sh index ee3095dabf74..652c975109dd 100644 --- a/Mk/Scripts/check_have_symbols.sh +++ b/Mk/Scripts/check_have_symbols.sh @@ -1,7 +1,6 @@ #!/bin/sh set -eu -set -o pipefail # the 3 implementations of readelf we can use have different output, but they all have a similarity # for the .gnu.version_d section they all have the symbol version in last element of their output diff --git a/Mk/Scripts/qa.sh b/Mk/Scripts/qa.sh index 781143db972e..9c351420f607 100644 --- a/Mk/Scripts/qa.sh +++ b/Mk/Scripts/qa.sh @@ -371,7 +371,6 @@ proxydeps_suggest_uses() { ${pkg} = "graphics/cairomm" -o \ ${pkg} = "devel/dconf" -o \ ${pkg} = "devel/gconf2" -o \ - ${pkg} = "devel/gconfmm26" -o \ ${pkg} = "devel/glib20" -o \ ${pkg} = "devel/glibmm" -o \ ${pkg} = "audio/gsound" -o \ @@ -386,7 +385,6 @@ proxydeps_suggest_uses() { ${pkg} = "x11-toolkits/gtksourceviewmm3" -o \ ${pkg} = "databases/libgda5" -o \ ${pkg} = "databases/libgda5-ui" -o \ - ${pkg} = "databases/libgdamm5" -o \ ${pkg} = "devel/libglade2" -o \ ${pkg} = "graphics/libgnomecanvas" -o \ ${pkg} = "x11/libgnomekbd" -o \ |