* [meta-oe][PATCH] libforms: add version 1.2.3
@ 2019-02-24 13:18 Hoang Anh Tuan
2019-04-12 11:17 ` Martin Jansa
0 siblings, 1 reply; 2+ messages in thread
From: Hoang Anh Tuan @ 2019-02-24 13:18 UTC (permalink / raw)
To: openembedded-devel
Signed-off-by: Hoang Anh Tuan <tuanha@viosoft.com>
---
.../files/add-absolute-path-for-include-dir.patch | 12 +++++++++++
.../libforms/files/fix-link-to-xforms-man.patch | 12 +++++++++++
.../libforms/files/fix-path-fdesign_LDADD.patch | 12 +++++++++++
.../recipes-graphics/libforms/libforms_1.2.3.bb | 24 ++++++++++++++++++++++
4 files changed, 60 insertions(+)
create mode 100644 meta-oe/recipes-graphics/libforms/files/add-absolute-path-for-include-dir.patch
create mode 100644 meta-oe/recipes-graphics/libforms/files/fix-link-to-xforms-man.patch
create mode 100644 meta-oe/recipes-graphics/libforms/files/fix-path-fdesign_LDADD.patch
create mode 100644 meta-oe/recipes-graphics/libforms/libforms_1.2.3.bb
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 0000000..db400f7
--- /dev/null
+++ b/meta-oe/recipes-graphics/libforms/files/add-absolute-path-for-include-dir.patch
@@ -0,0 +1,12 @@
+diff -Naur xforms-1.2.3.orig/fdesign/Makefile.am xforms-1.2.3/fdesign/Makefile.am
+--- xforms-1.2.3.orig/fdesign/Makefile.am 2019-02-24 12:58:51.968645873 +0000
++++ xforms-1.2.3/fdesign/Makefile.am 2019-02-24 13:00:48.500635163 +0000
+@@ -11,7 +11,7 @@
+ fdesign.1:
+ cp -p $(srcdir)/fdesign.man fdesign.1
+
+-INCLUDES = -I./xpm $(X_CFLAGS)
++INCLUDES = -I./xpm -I$(srcdir)/xpm $(X_CFLAGS)
+
+ bin_PROGRAMS = fdesign
+
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 0000000..c95bd18
--- /dev/null
+++ b/meta-oe/recipes-graphics/libforms/files/fix-link-to-xforms-man.patch
@@ -0,0 +1,12 @@
+diff -Naur xforms-1.2.3.orig/lib/Makefile.am xforms-1.2.3/lib/Makefile.am
+--- xforms-1.2.3.orig/lib/Makefile.am 2019-02-24 12:53:58.340678373 +0000
++++ xforms-1.2.3/lib/Makefile.am 2019-02-24 12:54:33.096674102 +0000
+@@ -25,7 +25,7 @@
+ man_MANS = xforms.5
+
+ xforms.5:
+- cp -p ./xforms.man xforms.5
++ cp -p $(srcdir)/xforms.man xforms.5
+
+ libforms_la_SOURCES = \
+ 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 0000000..73956de
--- /dev/null
+++ b/meta-oe/recipes-graphics/libforms/files/fix-path-fdesign_LDADD.patch
@@ -0,0 +1,12 @@
+diff -Naur xforms-1.2.3.orig/fdesign/Makefile.am xforms-1.2.3/fdesign/Makefile.am
+--- xforms-1.2.3.orig/fdesign/Makefile.am 2019-02-24 13:08:48.412603250 +0000
++++ xforms-1.2.3/fdesign/Makefile.am 2019-02-24 13:09:18.412601874 +0000
+@@ -15,7 +15,7 @@
+
+ bin_PROGRAMS = fdesign
+
+-fdesign_LDADD = $(top_srcdir)/lib/libforms.la $(X_LIBS) $(X_PRE_LIBS) $(XPM_LIB) -lX11 $(LIBS) $(X_EXTRA_LIBS)
++fdesign_LDADD = $(top_builddir)/lib/libforms.la $(X_LIBS) $(X_PRE_LIBS) $(XPM_LIB) -lX11 $(LIBS) $(X_EXTRA_LIBS)
+
+ fdesign_SOURCES = \
+ 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 0000000..8a214d1
--- /dev/null
+++ b/meta-oe/recipes-graphics/libforms/libforms_1.2.3.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "The XForms graphical interface widget library "
+HOMEPAGE = "http://savannah.nongnu.org/projects/xforms/"
+PR = "r0"
+
+LICENSE = "LGPLv2.1+"
+LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=ade9a053df81f5b9408d2f4f5546df86"
+
+SRC_URI = "http://download.savannah.nongnu.org/releases/xforms/xforms-${PV}.tar.gz \
+ file://fix-link-to-xforms-man.patch \
+ file://add-absolute-path-for-include-dir.patch \
+ file://fix-path-fdesign_LDADD.patch \
+ "
+
+SRC_URI[md5sum] = "235720a758a8b8d9e6e452dc67190e9b"
+SRC_URI[sha256sum] = "7989b39598c769820ad451ad91e5cb0de29946940c8240aac94ca8238c2def61"
+
+inherit autotools
+
+S = "${WORKDIR}/xforms-${PV}"
+
+DEPENDS = "libxpm jpeg libx11 mesa"
+RDEPENDS_${PN} = "bash"
+
+EXTRA_OECONF = "--with-extra-inc=${S}/lib"
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [meta-oe][PATCH] libforms: add version 1.2.3
2019-02-24 13:18 [meta-oe][PATCH] libforms: add version 1.2.3 Hoang Anh Tuan
@ 2019-04-12 11:17 ` Martin Jansa
0 siblings, 0 replies; 2+ messages in thread
From: Martin Jansa @ 2019-04-12 11:17 UTC (permalink / raw)
To: Hoang Anh Tuan; +Cc: openembedded-devel
It depends on libx11, so it should have x11 in REQUIRED_DISTRO_FEATURES,
will send a fix shortly.
On Sun, Feb 24, 2019 at 2:19 PM Hoang Anh Tuan <tuanhoanganh.dev@gmail.com>
wrote:
> Signed-off-by: Hoang Anh Tuan <tuanha@viosoft.com>
> ---
> .../files/add-absolute-path-for-include-dir.patch | 12 +++++++++++
> .../libforms/files/fix-link-to-xforms-man.patch | 12 +++++++++++
> .../libforms/files/fix-path-fdesign_LDADD.patch | 12 +++++++++++
> .../recipes-graphics/libforms/libforms_1.2.3.bb | 24
> ++++++++++++++++++++++
> 4 files changed, 60 insertions(+)
> create mode 100644
> meta-oe/recipes-graphics/libforms/files/add-absolute-path-for-include-dir.patch
> create mode 100644
> meta-oe/recipes-graphics/libforms/files/fix-link-to-xforms-man.patch
> create mode 100644
> meta-oe/recipes-graphics/libforms/files/fix-path-fdesign_LDADD.patch
> create mode 100644 meta-oe/recipes-graphics/libforms/libforms_1.2.3.bb
>
> 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 0000000..db400f7
> --- /dev/null
> +++
> b/meta-oe/recipes-graphics/libforms/files/add-absolute-path-for-include-dir.patch
> @@ -0,0 +1,12 @@
> +diff -Naur xforms-1.2.3.orig/fdesign/Makefile.am
> xforms-1.2.3/fdesign/Makefile.am
> +--- xforms-1.2.3.orig/fdesign/Makefile.am 2019-02-24
> 12:58:51.968645873 +0000
> ++++ xforms-1.2.3/fdesign/Makefile.am 2019-02-24 13:00:48.500635163 +0000
> +@@ -11,7 +11,7 @@
> + fdesign.1:
> + cp -p $(srcdir)/fdesign.man fdesign.1
> +
> +-INCLUDES = -I./xpm $(X_CFLAGS)
> ++INCLUDES = -I./xpm -I$(srcdir)/xpm $(X_CFLAGS)
> +
> + bin_PROGRAMS = fdesign
> +
> 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 0000000..c95bd18
> --- /dev/null
> +++ b/meta-oe/recipes-graphics/libforms/files/fix-link-to-xforms-man.patch
> @@ -0,0 +1,12 @@
> +diff -Naur xforms-1.2.3.orig/lib/Makefile.am xforms-1.2.3/lib/Makefile.am
> +--- xforms-1.2.3.orig/lib/Makefile.am 2019-02-24 12:53:58.340678373 +0000
> ++++ xforms-1.2.3/lib/Makefile.am 2019-02-24 12:54:33.096674102 +0000
> +@@ -25,7 +25,7 @@
> + man_MANS = xforms.5
> +
> + xforms.5:
> +- cp -p ./xforms.man xforms.5
> ++ cp -p $(srcdir)/xforms.man xforms.5
> +
> + libforms_la_SOURCES = \
> + 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 0000000..73956de
> --- /dev/null
> +++ b/meta-oe/recipes-graphics/libforms/files/fix-path-fdesign_LDADD.patch
> @@ -0,0 +1,12 @@
> +diff -Naur xforms-1.2.3.orig/fdesign/Makefile.am
> xforms-1.2.3/fdesign/Makefile.am
> +--- xforms-1.2.3.orig/fdesign/Makefile.am 2019-02-24
> 13:08:48.412603250 +0000
> ++++ xforms-1.2.3/fdesign/Makefile.am 2019-02-24 13:09:18.412601874 +0000
> +@@ -15,7 +15,7 @@
> +
> + bin_PROGRAMS = fdesign
> +
> +-fdesign_LDADD = $(top_srcdir)/lib/libforms.la $(X_LIBS) $(X_PRE_LIBS)
> $(XPM_LIB) -lX11 $(LIBS) $(X_EXTRA_LIBS)
> ++fdesign_LDADD = $(top_builddir)/lib/libforms.la $(X_LIBS) $(X_PRE_LIBS)
> $(XPM_LIB) -lX11 $(LIBS) $(X_EXTRA_LIBS)
> +
> + fdesign_SOURCES = \
> + 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 0000000..8a214d1
> --- /dev/null
> +++ b/meta-oe/recipes-graphics/libforms/libforms_1.2.3.bb
> @@ -0,0 +1,24 @@
> +DESCRIPTION = "The XForms graphical interface widget library "
> +HOMEPAGE = "http://savannah.nongnu.org/projects/xforms/"
> +PR = "r0"
> +
> +LICENSE = "LGPLv2.1+"
> +LIC_FILES_CHKSUM =
> "file://COPYING.LIB;md5=ade9a053df81f5b9408d2f4f5546df86"
> +
> +SRC_URI = "
> http://download.savannah.nongnu.org/releases/xforms/xforms-${PV}.tar.gz \
> + file://fix-link-to-xforms-man.patch \
> + file://add-absolute-path-for-include-dir.patch \
> + file://fix-path-fdesign_LDADD.patch \
> + "
> +
> +SRC_URI[md5sum] = "235720a758a8b8d9e6e452dc67190e9b"
> +SRC_URI[sha256sum] =
> "7989b39598c769820ad451ad91e5cb0de29946940c8240aac94ca8238c2def61"
> +
> +inherit autotools
> +
> +S = "${WORKDIR}/xforms-${PV}"
> +
> +DEPENDS = "libxpm jpeg libx11 mesa"
> +RDEPENDS_${PN} = "bash"
> +
> +EXTRA_OECONF = "--with-extra-inc=${S}/lib"
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-04-12 11:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-24 13:18 [meta-oe][PATCH] libforms: add version 1.2.3 Hoang Anh Tuan
2019-04-12 11:17 ` Martin Jansa
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.