From: bugs at busybox.net <bugs@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [buildroot 0004164]: SDL_ttf needs SDL to be compiled first
Date: Thu, 17 Jul 2008 00:20:33 -0700 [thread overview]
Message-ID: <4193670882faf7fa7a92c3cf637960e8@busybox.net> (raw)
A NOTE has been added to this issue.
======================================================================
http://busybox.net/bugs/view.php?id=4164
======================================================================
Reported By: artemys
Assigned To: buildroot
======================================================================
Project: buildroot
Issue ID: 4164
Category: Shared Library Support
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
======================================================================
Date Submitted: 07-16-2008 08:31 PDT
Last Modified: 07-17-2008 00:20 PDT
======================================================================
Summary: SDL_ttf needs SDL to be compiled first
Description:
It is possible to select the build of SDL_ttf even if SDL is not selected.
-> compilation error
Correction patch attached.
Same should apply to SDL_mixer...
======================================================================
----------------------------------------------------------------------
bernhardf - 07-16-08 08:47
----------------------------------------------------------------------
--- package/sdl_ttf/Config.in.org 2008-07-16 17:10:29.000000000 +0200
+++ package/sdl_ttf/Config.in 2008-07-16 17:10:57.000000000 +0200
@@ -1,6 +1,7 @@
config BR2_PACKAGE_SDL_TTF
bool "SDL_TTF"
default n
+ depends on BR2_PACKAGE_SDL
yes, exactly.
select BR2_PACKAGE_FREETYPE
help
SDL_ttf is a sample TrueType font library. It allows you to
--- package/sdl_ttf/sdl_ttf.mk.org 2008-07-16 17:29:42.000000000 +0200
+++ package/sdl_ttf/sdl_ttf.mk 2008-07-16 17:30:06.000000000 +0200
@@ -60,7 +60,7 @@
cp -dpf $(STAGING_DIR)/usr/lib/libSDL_ttf*.so* $(TARGET_DIR)/usr/lib/
-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED)
$(TARGET_DIR)/usr/lib/libSDL_ttf.so
-SDL sdl_ttf: uclibc $(TARGET_DIR)/usr/lib/libSDL_ttf.so
+SDL_TTF sdl_ttf: uclibc $(TARGET_DIR)/usr/lib/libSDL_ttf.so
That caps "SDL_TTF" sounds wrong (or at least redundant).
Also, i suspect that you will need to have libsdl.so as prereq, something
like:
sdl_ttf: uclibc $(TARGET_DIR)/usr/lib/libSDL.so \
$(TARGET_DIR)/usr/lib/libSDL_ttf.so
----------------------------------------------------------------------
artemys - 07-16-08 10:24
----------------------------------------------------------------------
sdl_ttf: uclibc sdl $(TARGET_DIR)/usr/lib/libSDL_ttf.so
will also work, I think...
----------------------------------------------------------------------
artemys - 07-17-08 00:20
----------------------------------------------------------------------
If I try to compile SDL_ttf with SDL not already selected, then I have the
same problem as issue http://busybox.net/bugs/view.php?id=2174
Issue History
Date Modified Username Field Change
======================================================================
07-16-08 08:31 artemys New Issue
07-16-08 08:31 artemys Status new => assigned
07-16-08 08:31 artemys Assigned To => buildroot
07-16-08 08:31 artemys File Added: sdl_ttf-depends-on-sdl.patch
07-16-08 08:47 bernhardf Note Added: 0009404
07-16-08 10:24 artemys Note Added: 0009414
07-17-08 00:20 artemys Note Added: 0009524
======================================================================
next reply other threads:[~2008-07-17 7:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-17 7:20 bugs at busybox.net [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-08-16 19:18 [Buildroot] [buildroot 0004164]: SDL_ttf needs SDL to be compiled first bugs at busybox.net
2008-07-17 10:37 bugs at busybox.net
2008-07-17 10:36 bugs at busybox.net
2008-07-17 9:51 bugs at busybox.net
2008-07-17 8:29 bugs at busybox.net
2008-07-17 7:59 bugs at busybox.net
2008-07-16 17:24 bugs at busybox.net
2008-07-16 15:47 bugs at busybox.net
2008-07-16 15:31 bugs at busybox.net
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=4193670882faf7fa7a92c3cf637960e8@busybox.net \
--to=bugs@busybox.net \
--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