site  contact  subhomenews

libXaw3dXft compiled in OE

August 17, 2022 — BarryK

I was reading Peter's work creating GUIs with libXaw, linked from here:

And it was mentioned that libXaw3dXft could be used. This is based on libXaw3d, which is based on libXaw (Athena widgets), and adds freetype (truetype) aliased font support and UTF8 support.

The libXaw3dXft project is here:

I compiled it in OE, and the x86_64 binary package is here (169KB):

I don't think will include it in the next release of EasyOS, just as a package available via the PPM. Only reason for compiling it is to play with it, try BaCon examples and see what the GUIs look like. And want to get an impression how easy/difficult it is to code.

Here is the recipe, file '':

# Recipe created by recipetool
# recipetool create -o

SUMMARY = "based on X Athena Widget Set, lbXaw3d with freetype"

LIC_FILES_CHKSUM = "file://COPYING;md5=8d5e9a1707c9f4300b992b34e21ac54c"

SRC_URI = "${PV}.tar.bz2"

SRC_URI[md5sum] = "c32029b710abeed8e32d48536880d515"
SRC_URI[sha256sum] = "5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b"

S = "${WORKDIR}/libXaw3dXft-${PV}"

#no: xmlto-native
#do not know if all those -native really needed...
DEPENDS = "bison-native libxmu libxt flex-native libxext libxft libxpm \
util-macros xorgproto virtual/libx11 libxau freetype freetype-native \
libxft-native libxau-native util-macros-native libxft-native \

inherit pkgconfig autotools features_check

#--enable-internationalization provides utf8 support.
#--enable-multiplane-bitmaps for xpm support.
EXTRA_OECONF = "--disable-specs --without-groff --without-ps2pdf --without-fop \
--without-xmlto --enable-internationalization --enable-multiplane-bitmaps \
--enable-gray-stipples --enable-arrow-scrollbars"


...I used the existing 'libxaw' recipe in OE as a starting point to create this one.   

Tags: easy