mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-26 07:37:14 +00:00
bc22fe3465
The command "bitbake universe -c fetch" currently throws a ton of warnings as there are many 'impossible' dependencies. In some cases these variants may never have worked and were just added by copy and paste of recipes. In some cases they once clearly did work but became broken somewhere along the way. Users may also be carrying local bbappend files which add further BBCLASSEXTEND. Having universe fetch work without warnings is desireable so clean up the broken variants. Anyone actually needing something dropped here can propose adding it and the correct functional dependencies back quite easily. This also then ensures we're not carrying or fixing things nobody uses. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit9962d57f7c) Backport: * Updated paths to follow PV changes * Adapted modified recipes to the ones generating warnings * NB: cups-filter needs poppler-native but its not available. To fix this,5fa0188b8ccould be backported. Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Armin Kuster <akuster808@gmail.com>
42 lines
1.6 KiB
BlitzBasic
42 lines
1.6 KiB
BlitzBasic
SUMMARY = "Report application memory usage in a meaningful way"
|
|
DESCRIPTION = "smem is a tool that can give numerous reports on memory usage on Linux \
|
|
systems. Unlike existing tools, smem can report proportional set size (PSS), \
|
|
which is a more meaningful representation of the amount of memory used by \
|
|
libraries and applications in a virtual memory system."
|
|
HOMEPAGE = "http://www.selenic.com/smem/"
|
|
SECTION = "Applications/System"
|
|
|
|
LICENSE = "GPLv2+"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
|
|
|
HG_CHANGESET = "98273ce331bb"
|
|
SRC_URI = "https://selenic.com/repo/${BPN}/archive/${HG_CHANGESET}.tar.bz2;downloadfilename=${BP}.tar.bz2 \
|
|
file://0001-smem-fix-support-for-source-option-python3.patch"
|
|
SRC_URI[md5sum] = "51c3989779360f42b42ef46b2831be3a"
|
|
SRC_URI[sha256sum] = "161131c686a6d9962a0e96912526dd46308e022d62e3f8acaed5a56fda8e08ce"
|
|
|
|
UPSTREAM_CHECK_URI = "https://selenic.com/repo/smem/tags"
|
|
UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
|
|
|
|
S = "${WORKDIR}/${BPN}-${HG_CHANGESET}"
|
|
|
|
do_compile() {
|
|
${CC} ${CFLAGS} ${LDFLAGS} smemcap.c -o smemcap
|
|
}
|
|
|
|
do_install() {
|
|
install -d ${D}/${bindir}/
|
|
install -d ${D}/${mandir}/man8
|
|
install -m 0755 ${S}/smem ${D}${bindir}/
|
|
sed -i -e '1s,#!.*python.*,#!${USRBINPATH}/env python3,' ${D}${bindir}/smem
|
|
install -m 0755 ${S}/smemcap ${D}${bindir}/
|
|
install -m 0644 ${S}/smem.8 ${D}/${mandir}/man8/
|
|
}
|
|
|
|
RDEPENDS_${PN} = "python3-core python3-compression"
|
|
RRECOMMENDS_${PN} = "python3-matplotlib python3-numpy"
|
|
|
|
PACKAGE_BEFORE_PN = "smemcap"
|
|
|
|
FILES_smemcap = "${bindir}/smemcap"
|