summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorTuan Hoang <tuanhoanganh.dev@gmail.com>2019-02-24 13:18:52 +0000
committerKhem Raj <raj.khem@gmail.com>2019-02-24 08:07:53 -0800
commitfbc644835875df5ee74bbafc295b4b13f347ec51 (patch)
tree3e3f69dba60378e747f96620f177117cd3622122 /meta-oe
parent0ad153f721ef99de585c4452a997a7104f45d71d (diff)
downloadmeta-openembedded-fbc644835875df5ee74bbafc295b4b13f347ec51.tar.gz
libforms: add version 1.2.3
Signed-off-by: Hoang Anh Tuan <tuanha@viosoft.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-graphics/libforms/files/add-absolute-path-for-include-dir.patch12
-rw-r--r--meta-oe/recipes-graphics/libforms/files/fix-link-to-xforms-man.patch12
-rw-r--r--meta-oe/recipes-graphics/libforms/files/fix-path-fdesign_LDADD.patch12
-rw-r--r--meta-oe/recipes-graphics/libforms/libforms_1.2.3.bb24
4 files changed, 60 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/libforms/files/add-absolute-path-for-include-dir.patch b/meta-oe/recipes-graphics/libforms/files/add-absolute-path-for-include-dir.patch
new file mode 100644
index 000000000..db400f702
--- /dev/null
+++ b/meta-oe/recipes-graphics/libforms/files/add-absolute-path-for-include-dir.patch
@@ -0,0 +1,12 @@
1diff -Naur xforms-1.2.3.orig/fdesign/Makefile.am xforms-1.2.3/fdesign/Makefile.am
2--- xforms-1.2.3.orig/fdesign/Makefile.am 2019-02-24 12:58:51.968645873 +0000
3+++ xforms-1.2.3/fdesign/Makefile.am 2019-02-24 13:00:48.500635163 +0000
4@@ -11,7 +11,7 @@
5 fdesign.1:
6 cp -p $(srcdir)/fdesign.man fdesign.1
7
8-INCLUDES = -I./xpm $(X_CFLAGS)
9+INCLUDES = -I./xpm -I$(srcdir)/xpm $(X_CFLAGS)
10
11 bin_PROGRAMS = fdesign
12
diff --git a/meta-oe/recipes-graphics/libforms/files/fix-link-to-xforms-man.patch b/meta-oe/recipes-graphics/libforms/files/fix-link-to-xforms-man.patch
new file mode 100644
index 000000000..c95bd18da
--- /dev/null
+++ b/meta-oe/recipes-graphics/libforms/files/fix-link-to-xforms-man.patch
@@ -0,0 +1,12 @@
1diff -Naur xforms-1.2.3.orig/lib/Makefile.am xforms-1.2.3/lib/Makefile.am
2--- xforms-1.2.3.orig/lib/Makefile.am 2019-02-24 12:53:58.340678373 +0000
3+++ xforms-1.2.3/lib/Makefile.am 2019-02-24 12:54:33.096674102 +0000
4@@ -25,7 +25,7 @@
5 man_MANS = xforms.5
6
7 xforms.5:
8- cp -p ./xforms.man xforms.5
9+ cp -p $(srcdir)/xforms.man xforms.5
10
11 libforms_la_SOURCES = \
12 align.c \
diff --git a/meta-oe/recipes-graphics/libforms/files/fix-path-fdesign_LDADD.patch b/meta-oe/recipes-graphics/libforms/files/fix-path-fdesign_LDADD.patch
new file mode 100644
index 000000000..73956dee9
--- /dev/null
+++ b/meta-oe/recipes-graphics/libforms/files/fix-path-fdesign_LDADD.patch
@@ -0,0 +1,12 @@
1diff -Naur xforms-1.2.3.orig/fdesign/Makefile.am xforms-1.2.3/fdesign/Makefile.am
2--- xforms-1.2.3.orig/fdesign/Makefile.am 2019-02-24 13:08:48.412603250 +0000
3+++ xforms-1.2.3/fdesign/Makefile.am 2019-02-24 13:09:18.412601874 +0000
4@@ -15,7 +15,7 @@
5
6 bin_PROGRAMS = fdesign
7
8-fdesign_LDADD = $(top_srcdir)/lib/libforms.la $(X_LIBS) $(X_PRE_LIBS) $(XPM_LIB) -lX11 $(LIBS) $(X_EXTRA_LIBS)
9+fdesign_LDADD = $(top_builddir)/lib/libforms.la $(X_LIBS) $(X_PRE_LIBS) $(XPM_LIB) -lX11 $(LIBS) $(X_EXTRA_LIBS)
10
11 fdesign_SOURCES = \
12 fd_attribs.c \
diff --git a/meta-oe/recipes-graphics/libforms/libforms_1.2.3.bb b/meta-oe/recipes-graphics/libforms/libforms_1.2.3.bb
new file mode 100644
index 000000000..8a214d1c8
--- /dev/null
+++ b/meta-oe/recipes-graphics/libforms/libforms_1.2.3.bb
@@ -0,0 +1,24 @@
1DESCRIPTION = "The XForms graphical interface widget library "
2HOMEPAGE = "http://savannah.nongnu.org/projects/xforms/"
3PR = "r0"
4
5LICENSE = "LGPLv2.1+"
6LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=ade9a053df81f5b9408d2f4f5546df86"
7
8SRC_URI = "http://download.savannah.nongnu.org/releases/xforms/xforms-${PV}.tar.gz \
9 file://fix-link-to-xforms-man.patch \
10 file://add-absolute-path-for-include-dir.patch \
11 file://fix-path-fdesign_LDADD.patch \
12 "
13
14SRC_URI[md5sum] = "235720a758a8b8d9e6e452dc67190e9b"
15SRC_URI[sha256sum] = "7989b39598c769820ad451ad91e5cb0de29946940c8240aac94ca8238c2def61"
16
17inherit autotools
18
19S = "${WORKDIR}/xforms-${PV}"
20
21DEPENDS = "libxpm jpeg libx11 mesa"
22RDEPENDS_${PN} = "bash"
23
24EXTRA_OECONF = "--with-extra-inc=${S}/lib"