* [Buildroot] [PATCH v2 0/2] lesstif support
@ 2013-09-24 8:35 Thierry Bultel
2013-09-24 8:35 ` [Buildroot] [PATCH v2 1/2] Added " Thierry Bultel
2013-09-24 8:35 ` [Buildroot] [PATCH v2 2/2] Align = Thierry Bultel
0 siblings, 2 replies; 6+ messages in thread
From: Thierry Bultel @ 2013-09-24 8:35 UTC (permalink / raw)
To: buildroot
This patch adds support for lesstif.
This is a quite old thing, latest version is from 2009
but it is useful to applications based on xmotif.
It has been tested with buildroot on ARM/iMX6.
Signed-off-by Thierry Bultel <thierry.bultel@wanadoo.fr>
---
Changes v1 -> v2
- Fixed the way the aclocal file is handled: The lesstif makefile is patched in order not to install it.
- Changed the location in xconfig, lesstif is now under 'Libraries' -> 'Graphics' (suggested by Thomas).
- Fixes the indentation
- Added dependency to freetype
- Match dependencies in Config.in and lesstif.mk (Suggested by Peter)
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH v2 1/2] Added lesstif support
2013-09-24 8:35 [Buildroot] [PATCH v2 0/2] lesstif support Thierry Bultel
@ 2013-09-24 8:35 ` Thierry Bultel
2013-09-24 8:35 ` [Buildroot] [PATCH v2 2/2] Align = Thierry Bultel
1 sibling, 0 replies; 6+ messages in thread
From: Thierry Bultel @ 2013-09-24 8:35 UTC (permalink / raw)
To: buildroot
---
package/Config.in | 1 +
package/lesstif/Config.in | 10 ++++++++++
package/lesstif/lesstif.mk | 41 +++++++++++++++++++++++++++++++++++++++++
3 files changed, 52 insertions(+), 0 deletions(-)
create mode 100644 package/lesstif/Config.in
create mode 100644 package/lesstif/lesstif.mk
diff --git a/package/Config.in b/package/Config.in
index 1dd60d1..dc44609 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -498,6 +498,7 @@ source "package/harfbuzz/Config.in"
source "package/imlib2/Config.in"
source "package/jpeg/Config.in"
source "package/lcms2/Config.in"
+source "package/lesstif/Config.in"
source "package/libart/Config.in"
source "package/libdmtx/Config.in"
source "package/libdrm/Config.in"
diff --git a/package/lesstif/Config.in b/package/lesstif/Config.in
new file mode 100644
index 0000000..3a999ea
--- /dev/null
+++ b/package/lesstif/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_LESSTIF
+ bool "lesstif"
+ depends on BR2_PACKAGE_XORG7
+ select BR2_PACKAGE_XLIB_LIBXT
+ select BR2_PACKAGE_XLIB_LIBXEXT
+ select BR2_PACKAGE_FREETYPE
+ help
+ lesstif is the Hungry Programmers' version of OSF/Motif
+
+ http://lesstif.sourceforge.net/
diff --git a/package/lesstif/lesstif.mk b/package/lesstif/lesstif.mk
new file mode 100644
index 0000000..4c0ef4c
--- /dev/null
+++ b/package/lesstif/lesstif.mk
@@ -0,0 +1,41 @@
+################################################################################
+#
+# lesstif
+#
+################################################################################
+LESSTIF_VERSION = 0.95.2
+LESSTIF_SOURCE = lesstif-$(LESSTIF_VERSION).tar.bz2
+LESSTIF_SITE = http://downloads.sourceforge.net/project/lesstif/lesstif/$(LESSTIF_VERSION)
+LESSTIF_INSTALL_STAGING = YES
+LESSTIF_DEPENDENCIES = \
+ xlib_libXt \
+ xlib_libXext \
+ freetype
+
+LESSTIF_CONF_OPT = \
+ --with-gnu-ld \
+ --with-freetype-config=$(STAGING_DIR)/usr/bin/freetype-config \
+ --enable-debug=no \
+ --enable-production=yes \
+ --enable-build-tests=no
+
+# Reduces the buggy makefile to the smallest possible (and working) thing
+define LESSTIF_NOMAN2HTML
+ echo "all:" > $(@D)/doc/Makefile
+ echo "" >> $(@D)/doc/Makefile
+ echo "install:" >> $(@D)/doc/Makefile
+ echo "" >> $(@D)/doc/Makefile
+ echo "clean:" >> $(@D)/doc/Makefile
+endef
+
+# Prevents to copy ac_find_motif.m4 on target, it would else
+# be created at $(TARGET_DIR)/$(TOPDIR)/output/host/usr/share/aclocal/ac_find_motif.m4
+
+define LESSTIF_FIXACLOCAL
+ sed -i -e "/install-data-am: install-aclocalDATA/d" $(@D)/scripts/autoconf/Makefile
+endef
+
+LESSTIF_POST_CONFIGURE_HOOKS += LESSTIF_NOMAN2HTML
+LESSTIF_POST_CONFIGURE_HOOKS += LESSTIF_FIXACLOCAL
+
+$(eval $(autotools-package))
--
1.7.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH v2 2/2] Align =
2013-09-24 8:35 [Buildroot] [PATCH v2 0/2] lesstif support Thierry Bultel
2013-09-24 8:35 ` [Buildroot] [PATCH v2 1/2] Added " Thierry Bultel
@ 2013-09-24 8:35 ` Thierry Bultel
2013-09-24 15:22 ` Thomas Petazzoni
1 sibling, 1 reply; 6+ messages in thread
From: Thierry Bultel @ 2013-09-24 8:35 UTC (permalink / raw)
To: buildroot
---
package/lesstif/lesstif.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/lesstif/lesstif.mk b/package/lesstif/lesstif.mk
index 4c0ef4c..e912554 100644
--- a/package/lesstif/lesstif.mk
+++ b/package/lesstif/lesstif.mk
@@ -4,8 +4,8 @@
#
################################################################################
LESSTIF_VERSION = 0.95.2
-LESSTIF_SOURCE = lesstif-$(LESSTIF_VERSION).tar.bz2
-LESSTIF_SITE = http://downloads.sourceforge.net/project/lesstif/lesstif/$(LESSTIF_VERSION)
+LESSTIF_SOURCE = lesstif-$(LESSTIF_VERSION).tar.bz2
+LESSTIF_SITE = http://downloads.sourceforge.net/project/lesstif/lesstif/$(LESSTIF_VERSION)
LESSTIF_INSTALL_STAGING = YES
LESSTIF_DEPENDENCIES = \
xlib_libXt \
--
1.7.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH v2 2/2] Align =
2013-09-24 8:35 ` [Buildroot] [PATCH v2 2/2] Align = Thierry Bultel
@ 2013-09-24 15:22 ` Thomas Petazzoni
2013-09-24 15:58 ` Thierry Bultel
2013-09-27 12:18 ` Thierry Bultel
0 siblings, 2 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2013-09-24 15:22 UTC (permalink / raw)
To: buildroot
Dear Thierry Bultel,
On Tue, 24 Sep 2013 10:35:09 +0200, Thierry Bultel wrote:
> ---
> package/lesstif/lesstif.mk | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/package/lesstif/lesstif.mk b/package/lesstif/lesstif.mk
> index 4c0ef4c..e912554 100644
> --- a/package/lesstif/lesstif.mk
> +++ b/package/lesstif/lesstif.mk
> @@ -4,8 +4,8 @@
> #
> ################################################################################
> LESSTIF_VERSION = 0.95.2
> -LESSTIF_SOURCE = lesstif-$(LESSTIF_VERSION).tar.bz2
> -LESSTIF_SITE = http://downloads.sourceforge.net/project/lesstif/lesstif/$(LESSTIF_VERSION)
> +LESSTIF_SOURCE = lesstif-$(LESSTIF_VERSION).tar.bz2
> +LESSTIF_SITE = http://downloads.sourceforge.net/project/lesstif/lesstif/$(LESSTIF_VERSION)
> LESSTIF_INSTALL_STAGING = YES
> LESSTIF_DEPENDENCIES = \
> xlib_libXt \
This should be part of the previous patch. See how to use "git rebase
-i" to reorganize your Git patches.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH v2 2/2] Align =
2013-09-24 15:22 ` Thomas Petazzoni
@ 2013-09-24 15:58 ` Thierry Bultel
2013-09-27 12:18 ` Thierry Bultel
1 sibling, 0 replies; 6+ messages in thread
From: Thierry Bultel @ 2013-09-24 15:58 UTC (permalink / raw)
To: buildroot
Hi,
fixed and re-sent
best regards
Thierry
Le 24/09/2013 17:22, Thomas Petazzoni a ?crit :
> Dear Thierry Bultel,
>
> On Tue, 24 Sep 2013 10:35:09 +0200, Thierry Bultel wrote:
>> ---
>> package/lesstif/lesstif.mk | 4 ++--
>> 1 files changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/package/lesstif/lesstif.mk b/package/lesstif/lesstif.mk
>> index 4c0ef4c..e912554 100644
>> --- a/package/lesstif/lesstif.mk
>> +++ b/package/lesstif/lesstif.mk
>> @@ -4,8 +4,8 @@
>> #
>> ################################################################################
>> LESSTIF_VERSION = 0.95.2
>> -LESSTIF_SOURCE = lesstif-$(LESSTIF_VERSION).tar.bz2
>> -LESSTIF_SITE = http://downloads.sourceforge.net/project/lesstif/lesstif/$(LESSTIF_VERSION)
>> +LESSTIF_SOURCE = lesstif-$(LESSTIF_VERSION).tar.bz2
>> +LESSTIF_SITE = http://downloads.sourceforge.net/project/lesstif/lesstif/$(LESSTIF_VERSION)
>> LESSTIF_INSTALL_STAGING = YES
>> LESSTIF_DEPENDENCIES = \
>> xlib_libXt \
>
> This should be part of the previous patch. See how to use "git rebase
> -i" to reorganize your Git patches.
>
> Best regards,
>
> Thomas
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH v2 2/2] Align =
2013-09-24 15:22 ` Thomas Petazzoni
2013-09-24 15:58 ` Thierry Bultel
@ 2013-09-27 12:18 ` Thierry Bultel
1 sibling, 0 replies; 6+ messages in thread
From: Thierry Bultel @ 2013-09-27 12:18 UTC (permalink / raw)
To: buildroot
Hi Thomas,
did you get the opportunity to take a look at the latest version I sent
for lesstif ?
If yes, is there still any blocking reason to integrate it ?
Best regards
Thierry
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-09-27 12:18 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-24 8:35 [Buildroot] [PATCH v2 0/2] lesstif support Thierry Bultel
2013-09-24 8:35 ` [Buildroot] [PATCH v2 1/2] Added " Thierry Bultel
2013-09-24 8:35 ` [Buildroot] [PATCH v2 2/2] Align = Thierry Bultel
2013-09-24 15:22 ` Thomas Petazzoni
2013-09-24 15:58 ` Thierry Bultel
2013-09-27 12:18 ` Thierry Bultel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox