summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libfm
diff options
context:
space:
mode:
authorMax Krummenacher <max.oss.09@gmail.com>2015-01-07 23:29:55 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-01-08 09:24:48 +0000
commit6450281c6b785aa7c20e99c010fc7a5e3c5ac79a (patch)
tree41e89f9990953e96c15962ec2ae9a9f26f0f7503 /meta/recipes-support/libfm
parent41fa9bd7aa53b3afd0aff25a0ca16d8a33c51fc4 (diff)
downloadpoky-6450281c6b785aa7c20e99c010fc7a5e3c5ac79a.tar.gz
libfm: update to 1.2.3
split out libfm-extra as a seperate recipe to break a circular dependency with newer menu-cache recipe. This obsoletes ignore_automake_warnings.patch. This obsoletes fix-make-parallelism-issue.patch. https://github.com/lxde/libfm/commit/24c8eab43cb5b79ca917d67a2c5924aca34c80c9 The library part of libfm has its license changed by the authors to LGPL: http://git.lxde.org/gitweb/?p=lxde/libfm.git;a=commit;h=e0d250aeb40f26ceead82d4b4c7af3b58ab34930 (From OE-Core rev: 4f12442b752626ad5f9711cbb1344720fdb3f47e) Signed-off-by: Max Krummenacher <max.oss.09@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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-extra_1.2.3.bb21
-rw-r--r--meta/recipes-support/libfm/libfm_1.1.2.2.bb25
-rw-r--r--meta/recipes-support/libfm/libfm_1.2.3.bb36
5 files changed, 57 insertions, 70 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
deleted file mode 100644
index 5d39d1954d..0000000000
--- a/meta/recipes-support/libfm/libfm-1.1.2.2/fix-make-parallelism-issue.patch
+++ /dev/null
@@ -1,31 +0,0 @@
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
deleted file mode 100644
index 58a2f09d66..0000000000
--- a/meta/recipes-support/libfm/libfm-1.1.2.2/ignore_automake_warnings.patch
+++ /dev/null
@@ -1,14 +0,0 @@
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-extra_1.2.3.bb b/meta/recipes-support/libfm/libfm-extra_1.2.3.bb
new file mode 100644
index 0000000000..8bdb12c301
--- /dev/null
+++ b/meta/recipes-support/libfm/libfm-extra_1.2.3.bb
@@ -0,0 +1,21 @@
1SUMMARY = "Library for file management"
2HOMEPAGE = "http://pcmanfm.sourceforge.net/"
3
4LICENSE = "LGPLv2+"
5LIC_FILES_CHKSUM = "file://src/fm-extra.h;beginline=8;endline=21;md5=ef1f84da64b3c01cca447212f7ef6007"
6
7SECTION = "x11/libs"
8DEPENDS = "glib-2.0 intltool-native"
9
10SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.xz"
11
12SRC_URI[md5sum] = "3ff38200701658f7e80e25ed395d92dd"
13SRC_URI[sha256sum] = "c692f1624a4cbc8d1dd55f3b3f3369fbf5d26f63a916e2c295230b2344e1fbf9"
14
15S = "${WORKDIR}/libfm-${PV}"
16
17EXTRA_OECONF = "--with-extra-only --with-gtk=no"
18
19inherit autotools-brokensep pkgconfig gtk-doc
20
21do_configure[dirs] =+ "${S}/m4"
diff --git a/meta/recipes-support/libfm/libfm_1.1.2.2.bb b/meta/recipes-support/libfm/libfm_1.1.2.2.bb
deleted file mode 100644
index 10f31d9911..0000000000
--- a/meta/recipes-support/libfm/libfm_1.1.2.2.bb
+++ /dev/null
@@ -1,25 +0,0 @@
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/"
diff --git a/meta/recipes-support/libfm/libfm_1.2.3.bb b/meta/recipes-support/libfm/libfm_1.2.3.bb
new file mode 100644
index 0000000000..856364a60a
--- /dev/null
+++ b/meta/recipes-support/libfm/libfm_1.2.3.bb
@@ -0,0 +1,36 @@
1SUMMARY = "Library for file management"
2HOMEPAGE = "http://pcmanfm.sourceforge.net/"
3
4LICENSE = "GPLv2+ & LGPLv2+"
5LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
6 file://src/fm.h;beginline=8;endline=21;md5=ef1f84da64b3c01cca447212f7ef6007 \
7 file://src/base/fm-config.h;beginline=10;endline=23;md5=ef1f84da64b3c01cca447212f7ef6007 \
8 file://src/fm-gtk.h;beginline=6;endline=19;md5=646baa4955c04fe768f2ca27b92ac8dd"
9
10
11SECTION = "x11/libs"
12DEPENDS = "glib-2.0 pango gtk+ menu-cache intltool-native libexif libfm-extra"
13
14SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.xz"
15
16SRC_URI[md5sum] = "3ff38200701658f7e80e25ed395d92dd"
17SRC_URI[sha256sum] = "c692f1624a4cbc8d1dd55f3b3f3369fbf5d26f63a916e2c295230b2344e1fbf9"
18
19inherit autotools-brokensep pkgconfig gtk-doc
20
21do_configure[dirs] =+ "${S}/m4"
22
23PACKAGES += "${PN}-mime"
24FILES_${PN}-mime = "${datadir}/mime/"
25FILES_${PN}-dbg += "${libdir}/libfm/modules/.debug"
26
27do_install_append () {
28 # remove files which are part of libfm-extra
29 rm -f ${D}${includedir}/libfm-1.0/fm-xml-file.h
30 rm -f ${D}${includedir}/libfm-1.0/fm-version.h
31 rm -f ${D}${includedir}/libfm-1.0/fm-extra.h
32 rm -f ${D}${libdir}/pkgconfig/libfm-extra.pc
33 rm -f ${D}${libdir}/libfm-extra.so*
34 rm -f ${D}${libdir}/libfm-extra.a
35 rm -f ${D}${libdir}/libfm-extra.la
36}