mirror of
https://git.yoctoproject.org/poky
synced 2026-02-09 18:23:02 +01:00
The gettext 0.16.1 doesn't install any m4 files to sysroot, please see
the following commit:
commit 9e10db5bdf
Author: Christopher Larson <kergoth@gmail.com>
Date: Mon Mar 17 18:10:54 2014 +0000
gettext-0.16.1: kill target m4 macros from sysroot
This is aim for using gettext-native's macros(gettext-native-0.19.4),
but when we set:
PREFERRED_VERSION_gettext = "0.16.1"
And build the recipes like pcmanfm, we would get errors when
do_configure:
configure:5164: error: possibly undefined macro: AM_NLS
This is because autotools_copy_aclocals doesn't copy the native macros
for target unless they're direct dependencies.
Add gettext-native to DEPENDS will fix the problem.
(From OE-Core rev: 48c168334bb60937653ab782026948d139603f8e)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
35 lines
987 B
BlitzBasic
35 lines
987 B
BlitzBasic
require oprofileui.inc
|
|
|
|
SRCREV = "389e1875af4721d52c7e65cf9cfffb69b0ed6a59"
|
|
PV = "0.0+git${SRCPV}"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
SRC_URI = "git://git.yoctoproject.org/oprofileui \
|
|
file://init \
|
|
file://oprofileui-server.service "
|
|
|
|
DEPENDS += "intltool-native gettext-native"
|
|
|
|
EXTRA_OECONF += "--disable-client --enable-server"
|
|
|
|
RDEPENDS_${PN} = "oprofile avahi-daemon"
|
|
|
|
do_install_append() {
|
|
install -d ${D}${sysconfdir}/init.d
|
|
install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/oprofileui-server
|
|
|
|
install -d ${D}${systemd_unitdir}/system
|
|
install -m 0644 ${WORKDIR}/oprofileui-server.service ${D}${systemd_unitdir}/system/
|
|
sed -i -e 's,@SYSCONFDIR@,${sysconfdir},g' \
|
|
-e 's,@BINDIR@,${bindir},g' ${D}${systemd_unitdir}/system/oprofileui-server.service
|
|
}
|
|
|
|
inherit update-rc.d systemd
|
|
|
|
INITSCRIPT_NAME = "oprofileui-server"
|
|
INITSCRIPT_PARAMS = "start 99 5 2 . stop 20 0 1 6 ."
|
|
|
|
SYSTEMD_SERVICE_${PN} = "oprofileui-server.service"
|
|
SYSTEMD_AUTO_ENABLE = "disable"
|