From: Bernd Kuhls <bernd.kuhls@t-online.de>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 7/8] package/libfreeglut: new package
Date: Sun, 13 Dec 2015 17:32:40 +0100 [thread overview]
Message-ID: <86j0kcx3eu.ln2@ID-313208.user.individual.net> (raw)
In-Reply-To: 20151213144626.5a7db29f@free-electrons.com
Hi Thomas,
Am Sun, 13 Dec 2015 14:46:26 +0100 schrieb Thomas Petazzoni:
> 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")
Yes, libXi is needed:
http://sourceforge.net/p/freeglut/code/HEAD/tree/tags/FG_3_0_0/
README.cmake#l45
http://sourceforge.net/p/freeglut/code/HEAD/tree/tags/FG_3_0_0/src/x11/
fg_internal_x11.h#l42
V2 of the patch added libXxf86vm as dependency.
>> + 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)
After seeing this note in the Gentoo package
https://gitweb.gentoo.org/repo/gentoo.git/tree/media-libs/freeglut/
freeglut-3.0.0.ebuild#n17
I did not bother to handle OpenGLES support atm.
> 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 ?
I just sent v2 of the patch handling the shared-only case:
http://patchwork.ozlabs.org/patch/556195/
Thanks for the review!
Regards, Bernd
next prev parent reply other threads:[~2015-12-13 16:32 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
2015-12-13 16:32 ` Bernd Kuhls [this message]
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=86j0kcx3eu.ln2@ID-313208.user.individual.net \
--to=bernd.kuhls@t-online.de \
--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