summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libfm
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2025-11-07 13:31:53 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-11-07 13:31:53 +0000
commit8c22ff0d8b70d9b12f0487ef696a7e915b9e3173 (patch)
treeefdc32587159d0050a69009bdf2330a531727d95 /meta/recipes-support/libfm
parentd412d2747595c1cc4a5e3ca975e3adc31b2f7891 (diff)
downloadpoky-8c22ff0d8b70d9b12f0487ef696a7e915b9e3173.tar.gz
The poky repository master branch is no longer being updated.
You can either: a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs b) use the new bitbake-setup You can find information about either approach in our documentation: https://docs.yoctoproject.org/ Note that "poky" the distro setting is still available in meta-yocto as before and we continue to use and maintain that. Long live Poky! Some further information on the background of this change can be found in: https://lists.openembedded.org/g/openembedded-architecture/message/2179 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libfm')
-rw-r--r--meta/recipes-support/libfm/libfm-extra_1.3.2.bb23
-rw-r--r--meta/recipes-support/libfm/libfm/0001-Correctly-check-the-stamp-file-that-indicates-if-we-.patch28
-rw-r--r--meta/recipes-support/libfm/libfm/0001-Do-not-add-library-path-to-avoid-host-contamination.patch23
-rw-r--r--meta/recipes-support/libfm/libfm_1.3.2.bb59
4 files changed, 0 insertions, 133 deletions
diff --git a/meta/recipes-support/libfm/libfm-extra_1.3.2.bb b/meta/recipes-support/libfm/libfm-extra_1.3.2.bb
deleted file mode 100644
index 5bf2f0f502..0000000000
--- a/meta/recipes-support/libfm/libfm-extra_1.3.2.bb
+++ /dev/null
@@ -1,23 +0,0 @@
1SUMMARY = "Library for file management"
2DESCRIPTION = "Contains a library and other files required by menu-cache-gen libexec of menu-cache-1.1.0. "
3HOMEPAGE = "http://pcmanfm.sourceforge.net/"
4
5LICENSE = "LGPL-2.0-or-later"
6LIC_FILES_CHKSUM = "file://src/fm-extra.h;beginline=8;endline=21;md5=ef1f84da64b3c01cca447212f7ef6007"
7
8SECTION = "x11/libs"
9DEPENDS = "glib-2.0-native glib-2.0 intltool-native"
10
11SOURCEFORGE_PROJECT = "pcmanfm"
12SRC_URI = "${SOURCEFORGE_MIRROR}/${SOURCEFORGE_PROJECT}/libfm-${PV}.tar.xz \
13 "
14
15SRC_URI[sha256sum] = "a5042630304cf8e5d8cff9d565c6bd546f228b48c960153ed366a34e87cad1e5"
16
17S = "${UNPACKDIR}/libfm-${PV}"
18
19EXTRA_OECONF = "--with-extra-only --with-gtk=no"
20
21inherit autotools pkgconfig gtk-doc gettext sourceforge-releases
22
23do_configure[dirs] =+ "${S}/m4"
diff --git a/meta/recipes-support/libfm/libfm/0001-Correctly-check-the-stamp-file-that-indicates-if-we-.patch b/meta/recipes-support/libfm/libfm/0001-Correctly-check-the-stamp-file-that-indicates-if-we-.patch
deleted file mode 100644
index 701b259cf9..0000000000
--- a/meta/recipes-support/libfm/libfm/0001-Correctly-check-the-stamp-file-that-indicates-if-we-.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1From 23c6e9df611c86a5e97079e1b88c7a18474bf0bc Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 16 Dec 2016 16:52:04 +0200
4Subject: [PATCH] Correctly check the stamp file that indicates if we need to
5 re-build vala code
6
7Upstream-Status: Submitted [https://github.com/lxde/libfm/pull/85]
8Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
9---
10 configure.ac | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/configure.ac b/configure.ac
14index d043b3d..0e85590 100644
15--- a/configure.ac
16+++ b/configure.ac
17@@ -42,7 +42,7 @@ AM_COND_IF(EXTRALIB_ONLY,
18 [enable_actions=no])
19 if test x"$enable_actions" = xyes; then
20 dnl no vala compiler required when sources are from dist tarball
21- if test -f src/actions/libfmactions_la_vala.stamp; then
22+ if test -f $srcdir/src/actions/libfmactions_la_vala.stamp; then
23 AM_PROG_VALAC
24 else
25 AM_PROG_VALAC([0.13.0])
26--
272.10.2
28
diff --git a/meta/recipes-support/libfm/libfm/0001-Do-not-add-library-path-to-avoid-host-contamination.patch b/meta/recipes-support/libfm/libfm/0001-Do-not-add-library-path-to-avoid-host-contamination.patch
deleted file mode 100644
index 0437000adc..0000000000
--- a/meta/recipes-support/libfm/libfm/0001-Do-not-add-library-path-to-avoid-host-contamination.patch
+++ /dev/null
@@ -1,23 +0,0 @@
1From 07260295e031e845e38ba874fa6ab500790c4aaf Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Wed, 2 May 2018 16:48:47 +0300
4Subject: [PATCH] Do not add library path to avoid host contamination
5
6Upstream-Status: Submitted [https://github.com/lxde/libfm/pull/86]
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8---
9 src/modules/Makefile.am | 1 -
10 1 file changed, 1 deletion(-)
11
12diff --git a/src/modules/Makefile.am b/src/modules/Makefile.am
13index e61f4e0..01c15bd 100644
14--- a/src/modules/Makefile.am
15+++ b/src/modules/Makefile.am
16@@ -11,7 +11,6 @@ AM_CPPFLAGS = \
17 # tell libtool we compile module not library
18 AM_LDFLAGS = \
19 -no-undefined -module -avoid-version -shared -export-dynamic \
20- -L$(libdir) \
21 $(GIO_LIBS)
22
23 # the module should be linked only with libfm, not libfm-gtk or whatever
diff --git a/meta/recipes-support/libfm/libfm_1.3.2.bb b/meta/recipes-support/libfm/libfm_1.3.2.bb
deleted file mode 100644
index ab29ce4b40..0000000000
--- a/meta/recipes-support/libfm/libfm_1.3.2.bb
+++ /dev/null
@@ -1,59 +0,0 @@
1SUMMARY = "Library for file management"
2DESCRIPTION = "LibFM provides file management functions built on top of Glib/GIO \
3giving a convenient higher-level API."
4HOMEPAGE = "http://pcmanfm.sourceforge.net/"
5
6LICENSE = "GPL-2.0-or-later & LGPL-2.0-or-later"
7LIC_FILES_CHKSUM = "file://COPYING;md5=4641e94ec96f98fabc56ff9cc48be14b \
8 file://src/fm.h;beginline=8;endline=21;md5=ef1f84da64b3c01cca447212f7ef6007 \
9 file://src/base/fm-config.h;beginline=10;endline=23;md5=ef1f84da64b3c01cca447212f7ef6007 \
10 file://src/fm-gtk.h;beginline=6;endline=19;md5=646baa4955c04fe768f2ca27b92ac8dd"
11
12SECTION = "x11/libs"
13DEPENDS = "glib-2.0 glib-2.0-native pango gtk+3 menu-cache intltool-native libexif libfm-extra"
14
15SOURCEFORGE_PROJECT = "pcmanfm"
16SRC_URI = "${SOURCEFORGE_MIRROR}/${SOURCEFORGE_PROJECT}/libfm-${PV}.tar.xz \
17 file://0001-Correctly-check-the-stamp-file-that-indicates-if-we-.patch \
18 file://0001-Do-not-add-library-path-to-avoid-host-contamination.patch \
19 "
20
21SRC_URI[sha256sum] = "a5042630304cf8e5d8cff9d565c6bd546f228b48c960153ed366a34e87cad1e5"
22
23inherit autotools pkgconfig gtk-doc gettext features_check mime mime-xdg sourceforge-releases
24ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
25
26EXTRA_OECONF = "--with-gtk=3"
27
28do_configure[dirs] =+ "${S}/m4"
29
30PACKAGES =+ "libfm-gtk"
31PACKAGES += "${PN}-mime"
32FILES:libfm-gtk = " \
33 ${libdir}/libfm-gtk*so.* \
34 ${libdir}/libfm/modules/gtk* \
35 ${bindir}/libfm-pref-apps \
36 ${bindir}/lxshortcut \
37 ${datadir}/applications/libfm-pref-apps.desktop \
38 ${datadir}/applications/lxshortcut.desktop \
39 ${datadir}/libfm/images/folder.png \
40 ${datadir}/libfm/images/unknown.png \
41 ${datadir}/libfm/ui/*.ui \
42"
43FILES:${PN}-mime = "${datadir}/mime/"
44
45do_install:append () {
46 # remove files which are part of libfm-extra
47 rm -f ${D}${includedir}/libfm-1.0/fm-xml-file.h
48 rm -f ${D}${includedir}/libfm-1.0/fm-version.h
49 rm -f ${D}${includedir}/libfm-1.0/fm-extra.h
50 rm -f ${D}${includedir}/libfm
51 rm -f ${D}${libdir}/pkgconfig/libfm-extra.pc
52 rm -f ${D}${libdir}/libfm-extra.so*
53 rm -f ${D}${libdir}/libfm-extra.a
54 rm -f ${D}${libdir}/libfm-extra.la
55}
56
57# http://errors.yoctoproject.org/Errors/Details/766924/
58# 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]
59CFLAGS += "-Wno-error=incompatible-pointer-types"