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 7/8] package/libfreeglut: new package
Date: Sun, 13 Dec 2015 14:46:26 +0100	[thread overview]
Message-ID: <20151213144626.5a7db29f@free-electrons.com> (raw)
In-Reply-To: <1449945103-23715-7-git-send-email-bernd.kuhls@t-online.de>

Bernd,

On Sat, 12 Dec 2015 19:31:42 +0100, Bernd Kuhls wrote:

> diff --git a/package/libfreeglut/Config.in b/package/libfreeglut/Config.in
> new file mode 100644
> index 0000000..e67fdae
> --- /dev/null
> +++ b/package/libfreeglut/Config.in
> @@ -0,0 +1,19 @@
> +config BR2_PACKAGE_LIBFREEGLUT
> +	bool "libfreeglut"
> +	select BR2_PACKAGE_LIBGLU
> +	select BR2_PACKAGE_XLIB_LIBXI

Are you sure about this dependency? I don't see any reference to libXi
in the libfreeglut source code? However, I do see a reference to
libXxf86vm:

  SET(PC_LIBS_PRIVATE "-lX11 -lXxf86vm -lXrandr -lGL -lm")

> +	select BR2_PACKAGE_XLIB_LIBXRANDR
> +	depends on BR2_PACKAGE_HAS_LIBGL

There seems to be provisions for using OpenGLES and not only full
OpenGL:

# OpenGL ES support
OPTION(FREEGLUT_GLES "Use OpenGL ES (requires EGL)" OFF)

Also, have you test static/shared build ? There are some options to
control this:

OPTION(FREEGLUT_BUILD_SHARED_LIBS "Build FreeGLUT shared library." ON)
OPTION(FREEGLUT_BUILD_STATIC_LIBS "Build FreeGLUT static library." ON)

But it's true you depend on BR2_PACKAGE_XORG7, so a pure static lib
build is not possible. But what about BR2_STATIC_SHARED_LIBS vs.
BR2_SHARED_LIBS ?

Thanks!

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

  reply	other threads:[~2015-12-13 13:46 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-12 18:31 [Buildroot] [PATCH 1/8] package/mesa3d-demos: bump version to 8.3.0 Bernd Kuhls
2015-12-12 18:31 ` [Buildroot] [PATCH 2/8] package/tvheadend: bump version Bernd Kuhls
2015-12-13 13:39   ` Thomas Petazzoni
2015-12-12 18:31 ` [Buildroot] [PATCH 3/8] package/znc: bump version to 1.6.2 Bernd Kuhls
2015-12-13 13:39   ` Thomas Petazzoni
2015-12-12 18:31 ` [Buildroot] [PATCH 4/8] package/{mesa3d, mesa3d-headers}: bump version to 11.0.7 Bernd Kuhls
2015-12-13 13:39   ` Thomas Petazzoni
2015-12-12 18:31 ` [Buildroot] [PATCH 5/8] package/dovecot-pigeonhole: bum version to 0.4.10.rc2 Bernd Kuhls
2015-12-13 13:40   ` Thomas Petazzoni
2015-12-12 18:31 ` [Buildroot] [PATCH 6/8] package/dovecot: bump version to 2.2.21 Bernd Kuhls
2015-12-13 13:40   ` Thomas Petazzoni
2015-12-12 18:31 ` [Buildroot] [PATCH 7/8] package/libfreeglut: new package Bernd Kuhls
2015-12-13 13:46   ` Thomas Petazzoni [this message]
2015-12-13 16:32     ` Bernd Kuhls
2015-12-12 18:31 ` [Buildroot] [PATCH 8/8] package/mesa3d-demos: add glut support Bernd Kuhls
2015-12-13 13:39 ` [Buildroot] [PATCH 1/8] package/mesa3d-demos: bump version to 8.3.0 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=20151213144626.5a7db29f@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