mirror of
https://git.yoctoproject.org/poky
synced 2026-07-16 15:57:04 +00:00
38f0ffaf43
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>
40 lines
1.4 KiB
BlitzBasic
40 lines
1.4 KiB
BlitzBasic
SUMMARY = "Library for file management"
|
|
HOMEPAGE = "http://pcmanfm.sourceforge.net/"
|
|
|
|
LICENSE = "GPLv2+ & LGPLv2+"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
|
|
file://src/fm.h;beginline=8;endline=21;md5=ef1f84da64b3c01cca447212f7ef6007 \
|
|
file://src/base/fm-config.h;beginline=10;endline=23;md5=ef1f84da64b3c01cca447212f7ef6007 \
|
|
file://src/fm-gtk.h;beginline=6;endline=19;md5=646baa4955c04fe768f2ca27b92ac8dd"
|
|
|
|
|
|
SECTION = "x11/libs"
|
|
DEPENDS = "glib-2.0 pango gtk+ menu-cache intltool-native libexif libfm-extra gettext-native"
|
|
|
|
SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.xz"
|
|
|
|
SRC_URI[md5sum] = "3ff38200701658f7e80e25ed395d92dd"
|
|
SRC_URI[sha256sum] = "c692f1624a4cbc8d1dd55f3b3f3369fbf5d26f63a916e2c295230b2344e1fbf9"
|
|
|
|
PR = "r1"
|
|
|
|
inherit autotools pkgconfig gtk-doc distro_features_check
|
|
ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
|
|
|
|
do_configure[dirs] =+ "${S}/m4"
|
|
|
|
PACKAGES += "${PN}-mime"
|
|
FILES_${PN}-mime = "${datadir}/mime/"
|
|
FILES_${PN}-dbg += "${libdir}/libfm/modules/.debug"
|
|
|
|
do_install_append () {
|
|
# remove files which are part of libfm-extra
|
|
rm -f ${D}${includedir}/libfm-1.0/fm-xml-file.h
|
|
rm -f ${D}${includedir}/libfm-1.0/fm-version.h
|
|
rm -f ${D}${includedir}/libfm-1.0/fm-extra.h
|
|
rm -f ${D}${libdir}/pkgconfig/libfm-extra.pc
|
|
rm -f ${D}${libdir}/libfm-extra.so*
|
|
rm -f ${D}${libdir}/libfm-extra.a
|
|
rm -f ${D}${libdir}/libfm-extra.la
|
|
}
|