All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH v2 1/3] Revert "openmotif: remove due to lack of libxp in repository"
@ 2012-12-19 16:32 Otavio Salvador
  2012-12-19 16:32 ` [meta-oe][PATCH v2 2/3] openmotif: Update SRC_URI and add libxft in depends Otavio Salvador
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Otavio Salvador @ 2012-12-19 16:32 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Otavio Salvador

This reverts commit 14b68506078a4133e743491d35245775a58a1317.

Change-Id: I3dd4afe60d217e96fef08377c2d32f5c793af992
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 .../openmotif/openmotif/configure.patch            |   15 ++++++++
 .../recipes-support/openmotif/openmotif_2.3.3.bb   |   38 ++++++++++++++++++++
 2 files changed, 53 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-support/openmotif/openmotif/configure.patch
 create mode 100644 meta-oe/recipes-support/openmotif/openmotif_2.3.3.bb

diff --git a/meta-oe/recipes-support/openmotif/openmotif/configure.patch b/meta-oe/recipes-support/openmotif/openmotif/configure.patch
new file mode 100644
index 0000000..8868e80
--- /dev/null
+++ b/meta-oe/recipes-support/openmotif/openmotif/configure.patch
@@ -0,0 +1,15 @@
+--- a/configure.ac~	2009-10-27 14:10:23.000000000 -0200
++++ b/configure.ac	2011-05-31 10:51:00.207232036 -0300
+@@ -3,12 +3,6 @@
+ AC_CONFIG_SRCDIR([lib/Xm/Form.c])
+ AC_PREREQ(2.52)
+ AC_CONFIG_AUX_DIR(.)
+-AC_CHECK_FILE(/usr/X/include/X11/X.h,
+-  AC_PREFIX_DEFAULT(/usr/X),
+-  AC_PREFIX_DEFAULT(/usr))
+-AC_CHECK_FILE(/usr/X11R6/include/X11/X.h,
+-  AC_PREFIX_DEFAULT(/usr/X11R6),
+-  AC_PREFIX_DEFAULT(/usr))
+ 
+ dnl AM_MAINTAINER_MODE
+ AC_CANONICAL_TARGET
diff --git a/meta-oe/recipes-support/openmotif/openmotif_2.3.3.bb b/meta-oe/recipes-support/openmotif/openmotif_2.3.3.bb
new file mode 100644
index 0000000..2e9c2de
--- /dev/null
+++ b/meta-oe/recipes-support/openmotif/openmotif_2.3.3.bb
@@ -0,0 +1,38 @@
+SECTION = "libs"
+DESCRIPTION = "OSM/Motif implementation."
+LICENSE = "OGPL"
+DEPENDS = "xbitmaps virtual/libx11 libxt libxp"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=14f692c82491db3d52419929d2f3b343"
+
+SRC_URI = "http://openmotif.com/files/public_downloads/openmotif/2.3/2.3.3/openmotif-2.3.3.tar.gz \
+           file://configure.patch;patch=1"
+
+SRC_URI[md5sum] = "fd27cd3369d6c7d5ef79eccba524f7be"
+SRC_URI[sha256sum] = "c85f5545e218fa0c59a3789192132d472fc5a33e914a221a568eee4fc10cd103"
+
+inherit autotools
+
+PACKAGES += "${PN}-bin"
+
+FILES_${PN}-bin = "${bindir}"
+
+do_compile() {
+	(
+		# HACK: build a native binaries need during the build
+		unset CC LD CXX CCLD CFLAGS
+		oe_runmake -C config/util CC="${BUILD_CC}" LD="${BUILD_LD}" CXX="${BUILD_CXX}" LIBS="" makestrs
+    )
+    if [ "$?" != "0" ]; then
+        exit 1
+    fi
+    oe_runmake -C lib
+    oe_runmake -C include
+}
+
+do_install() {
+    oe_runmake DESTDIR=${D} -C lib install
+    oe_runmake DESTDIR=${D} -C include install
+}
+
+LEAD_SONAME = "libXm.so.4"
-- 
1.7.2.5




^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [meta-oe][PATCH v2 2/3] openmotif: Update SRC_URI and add libxft in depends
  2012-12-19 16:32 [meta-oe][PATCH v2 1/3] Revert "openmotif: remove due to lack of libxp in repository" Otavio Salvador
@ 2012-12-19 16:32 ` Otavio Salvador
  2012-12-19 16:32 ` [meta-oe][PATCH v2 3/3] openmotif: Disable printing support Otavio Salvador
  2012-12-20  9:01 ` [meta-oe][PATCH v2 1/3] Revert "openmotif: remove due to lack of libxp in repository" Martin Jansa
  2 siblings, 0 replies; 5+ messages in thread
From: Otavio Salvador @ 2012-12-19 16:32 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Otavio Salvador

The file couldn't be found in the official repository and it seems
unmaintained as it had processing errors when trying to register to be
able to download the last release. Researching in the web a mirror has
been found and than we're using now this mirror so fetch works again.

During build test, from a clean tmp directory we found that libxft is
a hard dependency so we add it to depends list.

Change-Id: If486a40718af688dfad6768d56432afb573cf8d8
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 .../recipes-support/openmotif/openmotif_2.3.3.bb   |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/openmotif/openmotif_2.3.3.bb b/meta-oe/recipes-support/openmotif/openmotif_2.3.3.bb
index 2e9c2de..e7a0220 100644
--- a/meta-oe/recipes-support/openmotif/openmotif_2.3.3.bb
+++ b/meta-oe/recipes-support/openmotif/openmotif_2.3.3.bb
@@ -1,11 +1,13 @@
 SECTION = "libs"
 DESCRIPTION = "OSM/Motif implementation."
 LICENSE = "OGPL"
-DEPENDS = "xbitmaps virtual/libx11 libxt libxp"
+DEPENDS = "xbitmaps virtual/libx11 libxt libxp libxft"
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=14f692c82491db3d52419929d2f3b343"
 
-SRC_URI = "http://openmotif.com/files/public_downloads/openmotif/2.3/2.3.3/openmotif-2.3.3.tar.gz \
+PR = "r1"
+
+SRC_URI = "http://fossies.org/unix/misc/openmotif-2.3.3.tar.gz \
            file://configure.patch;patch=1"
 
 SRC_URI[md5sum] = "fd27cd3369d6c7d5ef79eccba524f7be"
-- 
1.7.2.5




^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [meta-oe][PATCH v2 3/3] openmotif: Disable printing support
  2012-12-19 16:32 [meta-oe][PATCH v2 1/3] Revert "openmotif: remove due to lack of libxp in repository" Otavio Salvador
  2012-12-19 16:32 ` [meta-oe][PATCH v2 2/3] openmotif: Update SRC_URI and add libxft in depends Otavio Salvador
@ 2012-12-19 16:32 ` Otavio Salvador
  2012-12-20  9:01 ` [meta-oe][PATCH v2 1/3] Revert "openmotif: remove due to lack of libxp in repository" Martin Jansa
  2 siblings, 0 replies; 5+ messages in thread
From: Otavio Salvador @ 2012-12-19 16:32 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Otavio Salvador

Change-Id: Ibf0a4e3d6f1fd32b712a42053dbd97bbd06a16fc
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 .../recipes-support/openmotif/openmotif_2.3.3.bb   |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/openmotif/openmotif_2.3.3.bb b/meta-oe/recipes-support/openmotif/openmotif_2.3.3.bb
index e7a0220..23142ee 100644
--- a/meta-oe/recipes-support/openmotif/openmotif_2.3.3.bb
+++ b/meta-oe/recipes-support/openmotif/openmotif_2.3.3.bb
@@ -1,11 +1,11 @@
 SECTION = "libs"
 DESCRIPTION = "OSM/Motif implementation."
 LICENSE = "OGPL"
-DEPENDS = "xbitmaps virtual/libx11 libxt libxp libxft"
+DEPENDS = "xbitmaps virtual/libx11 libxt libxft"
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=14f692c82491db3d52419929d2f3b343"
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "http://fossies.org/unix/misc/openmotif-2.3.3.tar.gz \
            file://configure.patch;patch=1"
@@ -15,6 +15,8 @@ SRC_URI[sha256sum] = "c85f5545e218fa0c59a3789192132d472fc5a33e914a221a568eee4fc1
 
 inherit autotools
 
+EXTRA_OECONF = "--disable-printing"
+
 PACKAGES += "${PN}-bin"
 
 FILES_${PN}-bin = "${bindir}"
-- 
1.7.2.5




^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [meta-oe][PATCH v2 1/3] Revert "openmotif: remove due to lack of libxp in repository"
  2012-12-19 16:32 [meta-oe][PATCH v2 1/3] Revert "openmotif: remove due to lack of libxp in repository" Otavio Salvador
  2012-12-19 16:32 ` [meta-oe][PATCH v2 2/3] openmotif: Update SRC_URI and add libxft in depends Otavio Salvador
  2012-12-19 16:32 ` [meta-oe][PATCH v2 3/3] openmotif: Disable printing support Otavio Salvador
@ 2012-12-20  9:01 ` Martin Jansa
  2012-12-20 11:13   ` Otavio Salvador
  2 siblings, 1 reply; 5+ messages in thread
From: Martin Jansa @ 2012-12-20  9:01 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Otavio Salvador

[-- Attachment #1: Type: text/plain, Size: 3750 bytes --]

On Wed, Dec 19, 2012 at 02:32:09PM -0200, Otavio Salvador wrote:
> This reverts commit 14b68506078a4133e743491d35245775a58a1317.
> 
> Change-Id: I3dd4afe60d217e96fef08377c2d32f5c793af992
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

Unfortunately still fails here:
| gcc  -DHAVE_CONFIG_H -I. -I../../include -I../../lib/Xm     -O2 -pipe
-g -feliminate-unused-debug-types -Wall -g -fno-strict-aliasing
-Wno-unused -Wno-comment -fno-tree-ter
-I/OE/jansa-test/shr-core/tmp-eglibc/sysroots/qemuarm/usr/include/freetype2
-c makestrs.c
| makestrs.c:51:21: fatal error: X11/Xos.h: No such file or directory
| compilation terminated.
| make: *** [makestrs.o] Error 1
| make: Leaving directory
`/OE/jansa-test/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/openmotif/2.3.3-r2/openmotif-2.3.3/config/util'

Cheers,

> ---
>  .../openmotif/openmotif/configure.patch            |   15 ++++++++
>  .../recipes-support/openmotif/openmotif_2.3.3.bb   |   38 ++++++++++++++++++++
>  2 files changed, 53 insertions(+), 0 deletions(-)
>  create mode 100644 meta-oe/recipes-support/openmotif/openmotif/configure.patch
>  create mode 100644 meta-oe/recipes-support/openmotif/openmotif_2.3.3.bb
> 
> diff --git a/meta-oe/recipes-support/openmotif/openmotif/configure.patch b/meta-oe/recipes-support/openmotif/openmotif/configure.patch
> new file mode 100644
> index 0000000..8868e80
> --- /dev/null
> +++ b/meta-oe/recipes-support/openmotif/openmotif/configure.patch
> @@ -0,0 +1,15 @@
> +--- a/configure.ac~	2009-10-27 14:10:23.000000000 -0200
> ++++ b/configure.ac	2011-05-31 10:51:00.207232036 -0300
> +@@ -3,12 +3,6 @@
> + AC_CONFIG_SRCDIR([lib/Xm/Form.c])
> + AC_PREREQ(2.52)
> + AC_CONFIG_AUX_DIR(.)
> +-AC_CHECK_FILE(/usr/X/include/X11/X.h,
> +-  AC_PREFIX_DEFAULT(/usr/X),
> +-  AC_PREFIX_DEFAULT(/usr))
> +-AC_CHECK_FILE(/usr/X11R6/include/X11/X.h,
> +-  AC_PREFIX_DEFAULT(/usr/X11R6),
> +-  AC_PREFIX_DEFAULT(/usr))
> + 
> + dnl AM_MAINTAINER_MODE
> + AC_CANONICAL_TARGET
> diff --git a/meta-oe/recipes-support/openmotif/openmotif_2.3.3.bb b/meta-oe/recipes-support/openmotif/openmotif_2.3.3.bb
> new file mode 100644
> index 0000000..2e9c2de
> --- /dev/null
> +++ b/meta-oe/recipes-support/openmotif/openmotif_2.3.3.bb
> @@ -0,0 +1,38 @@
> +SECTION = "libs"
> +DESCRIPTION = "OSM/Motif implementation."
> +LICENSE = "OGPL"
> +DEPENDS = "xbitmaps virtual/libx11 libxt libxp"
> +
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=14f692c82491db3d52419929d2f3b343"
> +
> +SRC_URI = "http://openmotif.com/files/public_downloads/openmotif/2.3/2.3.3/openmotif-2.3.3.tar.gz \
> +           file://configure.patch;patch=1"
> +
> +SRC_URI[md5sum] = "fd27cd3369d6c7d5ef79eccba524f7be"
> +SRC_URI[sha256sum] = "c85f5545e218fa0c59a3789192132d472fc5a33e914a221a568eee4fc10cd103"
> +
> +inherit autotools
> +
> +PACKAGES += "${PN}-bin"
> +
> +FILES_${PN}-bin = "${bindir}"
> +
> +do_compile() {
> +	(
> +		# HACK: build a native binaries need during the build
> +		unset CC LD CXX CCLD CFLAGS
> +		oe_runmake -C config/util CC="${BUILD_CC}" LD="${BUILD_LD}" CXX="${BUILD_CXX}" LIBS="" makestrs
> +    )
> +    if [ "$?" != "0" ]; then
> +        exit 1
> +    fi
> +    oe_runmake -C lib
> +    oe_runmake -C include
> +}
> +
> +do_install() {
> +    oe_runmake DESTDIR=${D} -C lib install
> +    oe_runmake DESTDIR=${D} -C include install
> +}
> +
> +LEAD_SONAME = "libXm.so.4"
> -- 
> 1.7.2.5
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-oe][PATCH v2 1/3] Revert "openmotif: remove due to lack of libxp in repository"
  2012-12-20  9:01 ` [meta-oe][PATCH v2 1/3] Revert "openmotif: remove due to lack of libxp in repository" Martin Jansa
@ 2012-12-20 11:13   ` Otavio Salvador
  0 siblings, 0 replies; 5+ messages in thread
From: Otavio Salvador @ 2012-12-20 11:13 UTC (permalink / raw)
  To: Martin Jansa; +Cc: OpenEmbedded Devel List

On Thu, Dec 20, 2012 at 7:01 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> On Wed, Dec 19, 2012 at 02:32:09PM -0200, Otavio Salvador wrote:
>> This reverts commit 14b68506078a4133e743491d35245775a58a1317.
>>
>> Change-Id: I3dd4afe60d217e96fef08377c2d32f5c793af992
>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>
> Unfortunately still fails here:
> | gcc  -DHAVE_CONFIG_H -I. -I../../include -I../../lib/Xm     -O2 -pipe
> -g -feliminate-unused-debug-types -Wall -g -fno-strict-aliasing
> -Wno-unused -Wno-comment -fno-tree-ter
> -I/OE/jansa-test/shr-core/tmp-eglibc/sysroots/qemuarm/usr/include/freetype2
> -c makestrs.c
> | makestrs.c:51:21: fatal error: X11/Xos.h: No such file or directory
> | compilation terminated.
> | make: *** [makestrs.o] Error 1
> | make: Leaving directory
> `/OE/jansa-test/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/openmotif/2.3.3-r2/openmotif-2.3.3/config/util'

I built it here and I did it with a clean tmp and it worked. Please
check if it is a missing depends on xproto. If it works I can send a
new patch adding it.

--
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-12-20 11:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-19 16:32 [meta-oe][PATCH v2 1/3] Revert "openmotif: remove due to lack of libxp in repository" Otavio Salvador
2012-12-19 16:32 ` [meta-oe][PATCH v2 2/3] openmotif: Update SRC_URI and add libxft in depends Otavio Salvador
2012-12-19 16:32 ` [meta-oe][PATCH v2 3/3] openmotif: Disable printing support Otavio Salvador
2012-12-20  9:01 ` [meta-oe][PATCH v2 1/3] Revert "openmotif: remove due to lack of libxp in repository" Martin Jansa
2012-12-20 11:13   ` Otavio Salvador

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.