mirror of
https://git.yoctoproject.org/poky
synced 2026-03-10 17:29:40 +01:00
work arounds for: oe-core/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb:do_compile oe-core/meta/recipes-connectivity/connman/connman-gnome_0.7.bb:do_compile oe-core/meta/recipes-support/libfm/libfm_1.3.2.bb:do_compile http://errors.yoctoproject.org/Errors/Build/183127/ More fixes on ML (especially for -native with gcc-14 on host) cdrtools: https://lists.openembedded.org/g/openembedded-core/message/198899 syslinux: https://lists.openembedded.org/g/openembedded-core/message/198901 (From OE-Core rev: 924dc9bd3b1b21a60ebb117b0abf81d2650aedd0) Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 856ffc7d0893c1dc549baf401899947f70d31896) Signed-off-by: Steve Sakoman <steve@sakoman.com>
60 lines
2.4 KiB
BlitzBasic
60 lines
2.4 KiB
BlitzBasic
SUMMARY = "Library for file management"
|
|
DESCRIPTION = "LibFM provides file management functions built on top of Glib/GIO \
|
|
giving a convenient higher-level API."
|
|
HOMEPAGE = "http://pcmanfm.sourceforge.net/"
|
|
|
|
LICENSE = "GPL-2.0-or-later & LGPL-2.0-or-later"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=4641e94ec96f98fabc56ff9cc48be14b \
|
|
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 glib-2.0-native pango gtk+3 menu-cache intltool-native libexif libfm-extra"
|
|
|
|
SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.xz \
|
|
file://0001-Correctly-check-the-stamp-file-that-indicates-if-we-.patch \
|
|
file://0001-Do-not-add-library-path-to-avoid-host-contamination.patch \
|
|
"
|
|
|
|
SRC_URI[sha256sum] = "a5042630304cf8e5d8cff9d565c6bd546f228b48c960153ed366a34e87cad1e5"
|
|
|
|
inherit autotools pkgconfig gtk-doc gettext features_check mime mime-xdg
|
|
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
|
|
|
|
EXTRA_OECONF = "--with-gtk=3"
|
|
|
|
do_configure[dirs] =+ "${S}/m4"
|
|
|
|
PACKAGES =+ "libfm-gtk"
|
|
PACKAGES += "${PN}-mime"
|
|
FILES:libfm-gtk = " \
|
|
${libdir}/libfm-gtk*so.* \
|
|
${libdir}/libfm/modules/gtk* \
|
|
${bindir}/libfm-pref-apps \
|
|
${bindir}/lxshortcut \
|
|
${datadir}/applications/libfm-pref-apps.desktop \
|
|
${datadir}/applications/lxshortcut.desktop \
|
|
${datadir}/libfm/images/folder.png \
|
|
${datadir}/libfm/images/unknown.png \
|
|
${datadir}/libfm/ui/*.ui \
|
|
"
|
|
FILES:${PN}-mime = "${datadir}/mime/"
|
|
|
|
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}${includedir}/libfm
|
|
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
|
|
}
|
|
|
|
# http://errors.yoctoproject.org/Errors/Details/766924/
|
|
# libfm-1.3.2/src/actions/action.c:2050:25: error: assignment to 'gchar **' {aka 'char **'} from incompatible pointer type 'const gchar * const*' {aka 'const char * const*'} [-Wincompatible-pointer-types]
|
|
CFLAGS += "-Wno-error=incompatible-pointer-types"
|