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 | 9 |
3 files changed, 23 insertions, 7 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 3a82ad4890fb..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 \ @@ -399,7 +397,6 @@ proxydeps_suggest_uses() { ${pkg} = "textproc/libxml++26" -o \ ${pkg} = "textproc/libxml2" -o \ ${pkg} = "textproc/libxslt" -o \ - ${pkg} = "x11-wm/metacity" -o \ ${pkg} = "x11-toolkits/pango" -o \ ${pkg} = "x11-toolkits/pangomm" -o \ ${pkg} = "x11-toolkits/pangox-compat" -o \ @@ -415,7 +412,7 @@ proxydeps_suggest_uses() { elif [ ${pkg} = "devel/gobject-introspection" ]; then warn "you need USE_GNOME+=introspection" elif [ ${pkg} = "graphics/libart_lgpl" ]; then warn "you need USE_GNOME+=libartlgpl2" elif [ ${pkg} = "devel/libIDL" ]; then warn "you need USE_GNOME+=libidl" - elif [ ${pkg} = "x11-fm/nautilus" ]; then warn "you need USE_GNOME+=nautilus3" + elif [ ${pkg} = "x11-fm/nautilus" ]; then warn "you need USE_GNOME+=nautilus4" elif [ ${pkg} = "graphics/librsvg2-rust" ]; then warn "you need USE_GNOME+=librsvg2" # mate # grep LIB_DEPENDS= Mk/Uses/mate.mk |sed -e 's|\(.*\)_LIB_DEPENDS.*:\(.*\)\/\(.*\)|elif [ ${pkg} = "\2/\3" ]; then warn "you need USE_MATE+=\1"|' @@ -723,9 +720,9 @@ proxydeps() { sed -e 's/^\.//') EOT - # Check whether all files in LIB_DPEENDS are actually linked against + # Check whether all files in LIB_DEPENDS are actually linked against for _library in ${WANTED_LIBRARIES} ; do - if ! listcontains ${_library} "${dep_lib_files}" ; then + if ! listcontains ${_library%%.so*}.so "${dep_lib_files}" ; then warn "you might not need LIB_DEPENDS on ${_library}" fi done |