summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libfm
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2015-10-09 22:59:03 +0200
committerTudor Florea <tudor.florea@enea.com>2015-10-09 22:59:03 +0200
commit972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch)
tree97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-support/libfm
downloadpoky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-support/libfm')
-rw-r--r--meta/recipes-support/libfm/libfm-1.1.2.2/fix-make-parallelism-issue.patch31
-rw-r--r--meta/recipes-support/libfm/libfm-1.1.2.2/ignore_automake_warnings.patch14
-rw-r--r--meta/recipes-support/libfm/libfm_1.1.2.2.bb25
3 files changed, 70 insertions, 0 deletions
diff --git a/meta/recipes-support/libfm/libfm-1.1.2.2/fix-make-parallelism-issue.patch b/meta/recipes-support/libfm/libfm-1.1.2.2/fix-make-parallelism-issue.patch
new file mode 100644
index 0000000000..5d39d1954d
--- /dev/null
+++ b/meta/recipes-support/libfm/libfm-1.1.2.2/fix-make-parallelism-issue.patch
@@ -0,0 +1,31 @@
1Fix make parallelism issue
2
3- remove pkginclude_HEADERS ( LIBFM_INCLUDES and LIBFM_GTK_INCLUDES
4variables are empty)
5- if we don't remove it then we will have a race condition between the code
6that tries to symlink ${includedir}/libfm-1.0 to ${includedir}/libfm and the
7am autogenerated code from the pkginclude_HEADERS definition which
8tries to create pkgincludedir (${includedir}/libfm);
9- if pkgincludedir is created before the symlink the symlink will be created
10in the ${includedir}/libfm dir and it will have libfm-1.0 as name which is
11wrong (we need the ${includedir}/libfm symlink for pcmanfm)
12
13Upstream-Status: Pending
14Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
15
16Index: libfm-1.1.0/src/Makefile.am
17===================================================================
18--- libfm-1.1.0.orig/src/Makefile.am
19+++ libfm-1.1.0/src/Makefile.am
20@@ -211,11 +211,6 @@ libfmgtkinclude_HEADERS = \
21 gtk/fm-gtk-marshal.h \
22 $(NULL)
23
24-pkginclude_HEADERS = \
25- $(LIBFM_INCLUDES) \
26- $(LIBFM_GTK_INCLUDES) \
27- $(NULL)
28-
29 EXTRA_LTLIBRARIES = libfm-gtk.la libfm-gtk3.la
30
31 lib_LTLIBRARIES = libfm.la @LIBFM_GTK_LTLIBRARIES@
diff --git a/meta/recipes-support/libfm/libfm-1.1.2.2/ignore_automake_warnings.patch b/meta/recipes-support/libfm/libfm-1.1.2.2/ignore_automake_warnings.patch
new file mode 100644
index 0000000000..58a2f09d66
--- /dev/null
+++ b/meta/recipes-support/libfm/libfm-1.1.2.2/ignore_automake_warnings.patch
@@ -0,0 +1,14 @@
1Upstream-Status: Inappropriate [configuration]
2
3Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
4diff -Nurd libfm-1.1.2.2/configure.ac libfm-1.1.2.2/configure.ac
5--- libfm-1.1.2.2/configure.ac 2013-08-22 23:16:09.000000000 +0300
6+++ libfm-1.1.2.2/configure.ac 2013-10-25 01:35:18.110323079 +0300
7@@ -3,7 +3,7 @@
8
9 AC_PREREQ([2.63])
10 AC_INIT([libfm], [1.1.2.2], [http://pcmanfm.sourceforge.net/])
11-AM_INIT_AUTOMAKE([-Wall -Werror foreign])
12+AM_INIT_AUTOMAKE([-Wall foreign])
13 AC_CONFIG_MACRO_DIR(m4)
14 AC_CONFIG_HEADERS([config.h])
diff --git a/meta/recipes-support/libfm/libfm_1.1.2.2.bb b/meta/recipes-support/libfm/libfm_1.1.2.2.bb
new file mode 100644
index 0000000000..10f31d9911
--- /dev/null
+++ b/meta/recipes-support/libfm/libfm_1.1.2.2.bb
@@ -0,0 +1,25 @@
1SUMMARY = "Library for file management"
2HOMEPAGE = "http://pcmanfm.sourceforge.net/"
3
4LICENSE = "GPLv2 & GPLv2+"
5LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
6 file://src/fm.h;endline=22;md5=e64555171770a551e3b51cc06fc62f1a \
7 file://src/base/fm-config.h;endline=23;md5=ad0fc418c3cf041eea35ddb3daf37f17"
8
9SECTION = "x11/libs"
10DEPENDS = "glib-2.0 pango gtk+ menu-cache intltool-native libexif"
11
12SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.gz \
13 file://fix-make-parallelism-issue.patch \
14 file://ignore_automake_warnings.patch \
15 "
16
17SRC_URI[md5sum] = "ea3d09b23ef4c37cb84ae57ea16b8f08"
18SRC_URI[sha256sum] = "158e2b6974350d2dab15932b496bb4d448553e60bbf7cdfe4d6e9bd99d19d682"
19
20inherit autotools-brokensep pkgconfig gtk-doc
21
22do_configure[dirs] =+ "${S}/m4"
23
24PACKAGES += "${PN}-mime"
25FILES_${PN}-mime = "${datadir}/mime/"