Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH/next 12/13] package/x11r7/xlib_libXfont2: new package
Date: Sun, 27 Nov 2016 22:44:04 +0100	[thread overview]
Message-ID: <20161127224404.49d5b738@free-electrons.com> (raw)
In-Reply-To: <20161127110616.3451-12-bernd.kuhls@t-online.de>

Hello,

On Sun, 27 Nov 2016 12:06:15 +0100, Bernd Kuhls wrote:

> diff --git a/package/x11r7/xlib_libXfont2/xlib_libXfont2.mk b/package/x11r7/xlib_libXfont2/xlib_libXfont2.mk
> new file mode 100644
> index 0000000..233ec40
> --- /dev/null
> +++ b/package/x11r7/xlib_libXfont2/xlib_libXfont2.mk
> @@ -0,0 +1,35 @@
> +################################################################################
> +#
> +# xlib_libXfont2
> +#
> +################################################################################
> +
> +XLIB_LIBXFONT2_VERSION = 2.0.1
> +XLIB_LIBXFONT2_SOURCE = libXfont2-$(XLIB_LIBXFONT2_VERSION).tar.bz2
> +XLIB_LIBXFONT2_SITE = http://xorg.freedesktop.org/releases/individual/lib
> +XLIB_LIBXFONT2_AUTORECONF = YES

Why is autoreconf needed? The tarball has the configure script
generated, and there are no patches for this package. If there's a good
reason, it should be specified by a comment above this line.

> +XLIB_LIBXFONT2_LICENSE = MIT
> +XLIB_LIBXFONT2_LICENSE_FILES = COPYING
> +XLIB_LIBXFONT2_INSTALL_STAGING = YES
> +
> +XLIB_LIBXFONT2_DEPENDENCIES = freetype xlib_libfontenc xlib_xtrans xproto_fontsproto xproto_xproto xfont_encodings

Breaking this line that is a bit too long would be good.

> +HOST_XLIB_LIBXFONT2_DEPENDENCIES = \
> +	host-freetype host-xlib_libfontenc host-xlib_xtrans \
> +	host-xproto_fontsproto host-xproto_xproto host-xfont_encodings
> +
> +XLIB_LIBXFONT2_CONF_OPTS = --disable-devel-docs
> +HOST_XLIB_LIBXFONT2_CONF_OPTS = --disable-devel-docs
> +
> +ifeq ($(BR2_microblaze),y)
> +# The microblaze toolchains don't define the __ELF__ preprocessor
> +# symbol even though they do use the elf format. LibXfont checks for
> +# this symbol to know if weak symbols are supported, and otherwise
> +# falls back to emulation code using dlopen - Causing linker issues
> +# for stuff using libXfont.
> +# Work around it by defining the symbol here as well.
> +XLIB_LIBXFONT2_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -D__ELF__"
> +endif

Are you sure this is needed? The src/stubs/stubs.h code in libXfont
doesn't exist in libXfont2.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

  reply	other threads:[~2016-11-27 21:44 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-27 11:06 [Buildroot] [PATCH/next 01/13] package/x11r7/xdriver_xf86-input-joystick: bump version to 1.6.3 Bernd Kuhls
2016-11-27 11:06 ` [Buildroot] [PATCH/next 02/13] package/x11r7/xdriver_xf86-input-keyboard: bump version to 1.9.0 Bernd Kuhls
2016-11-27 11:06 ` [Buildroot] [PATCH/next 03/13] package/x11r7/xdriver_xf86-input-mouse: bump version to 1.9.2 Bernd Kuhls
2016-11-27 11:06 ` [Buildroot] [PATCH/next 04/13] package/x11r7/xdriver_xf86-input-synaptics: bump version to 1.9.0 Bernd Kuhls
2016-11-27 11:06 ` [Buildroot] [PATCH/next 05/13] package/x11r7/xdriver_xf86-video-amdgpu: bump version to 1.2.0 Bernd Kuhls
2016-11-27 11:06 ` [Buildroot] [PATCH/next 06/13] package/x11r7/xdriver_xf86-video-ati: bump version to 7.8.0 Bernd Kuhls
2016-11-27 11:06 ` [Buildroot] [PATCH/next 07/13] package/x11r7/xdriver_xf86-video-openchrome: bump version to 0.5.0 Bernd Kuhls
2016-11-27 11:06 ` [Buildroot] [PATCH/next 08/13] package/x11r7/xdriver_xf86-video-vmware: bump version to 13.2.1 Bernd Kuhls
2016-11-27 11:06 ` [Buildroot] [PATCH/next 09/13] package/x11r7/xdriver_xf86-video-*: mass addition of patches for ABI 23 support (xserver_xorg-server 1.19+) Bernd Kuhls
2016-11-27 11:06 ` [Buildroot] [PATCH/next 10/13] package/x11r7/xdriver_xf86-video-qxl: Add patches for newer xserver_xorg-server releases Bernd Kuhls
2016-11-27 11:06 ` [Buildroot] [PATCH/next 11/13] package/x11r7/xdriver_xf86-video-sis: Add patch for ABI 23 support (xserver_xorg-server 1.19+) Bernd Kuhls
2016-11-27 11:06 ` [Buildroot] [PATCH/next 12/13] package/x11r7/xlib_libXfont2: new package Bernd Kuhls
2016-11-27 21:44   ` Thomas Petazzoni [this message]
2016-11-27 11:06 ` [Buildroot] [PATCH/next 13/13] package/x11r7/xserver_xorg-server: add new version 1.19.0 Bernd Kuhls
2016-11-27 21:48   ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161127224404.49d5b738@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox