Skip to contentSkip to conversation

svn commit: trunk/buildroot/package/fltk

Buildroot jacmet at uclibc.org 3 participants 6 messages Aug 27, 2008 – Sep 4, 2008

lore
Share & tools
lore
#0 lore raw

Author: jacmet
Date: 2008-08-27 13:19:19 -0700 (Wed, 27 Aug 2008) New Revision: 23259

Log:
fltk: fix long help text lines

Remove comment when X isn't available while we're at it.

Modified:
trunk/buildroot/package/fltk/Config.in

Changeset:
Modified: trunk/buildroot/package/fltk/Config.in
===================================================================

buildroot/package/fltk/Config.in +2 -4
@@ -2,9 +2,7 @@
 	bool "fltk"
 	depends on BR2_PACKAGE_XORG||BR2_PACKAGE_XORG7
 	help
-	  a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X.
+	  A cross-platform C++ GUI toolkit for UNIX/Linux (X11),
+	  Microsoft Windows, and MacOS X.
 
 	  http://www.fltk.org/
-
-comment "fltk		- disabled (requires Xorg(7))"
-	depends on !(BR2_PACKAGE_XORG || BR2_PACKAGE_XORG7)
#1 lore raw
Quoted 4 lines · jacmet at uclibc.org

Log:
fltk: fix long help text lines

Remove comment when X isn't available while we're at it.

[..]

buildroot/package/fltk/Config.in line 10

Quoted 4 lines
buildroot/package/fltk/Config.in +0 -3
-
-comment "fltk		- disabled (requires Xorg(7))"
-	depends on !(BR2_PACKAGE_XORG || BR2_PACKAGE_XORG7)

I think those comments are kind of helpful. Otherwise, if you know a package exists but can't find it in menuconfig, you need to open up Config.in to find the dependencies.

Alternatively the package could use select instead of depends.

Hamish

Signature · 1 line
Hamish Moffatt VK3SB <[email protected]> <[email protected]>
#2 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Hamish" == Hamish Moffatt <[email protected]> writes:

Hi,

Quoted 3 lines

buildroot/package/fltk/Config.in line 10

Quoted 3 lines
buildroot/package/fltk/Config.in +0 -2
-comment "fltk		- disabled (requires Xorg(7))"
-	depends on !(BR2_PACKAGE_XORG || BR2_PACKAGE_XORG7)

Hamish> I think those comments are kind of helpful. Otherwise, if you know a Hamish> package exists but can't find it in menuconfig, you need to open up Hamish> Config.in to find the dependencies.

Sometimes they are, but having tons of those lines listed for all X programs when you haven't selected X is imho not.

We should probably move X applications / libraries to it's own sub menu.

Hamish> Alternatively the package could use select instead of depends.

Yeah, but that wouldn't work here as there's multiple providers of X (and anyway, including a monster like X behind your back isn't really userfriendly either).

But in general I agree - Use select for hard dependencies and only print those comment lines for stuff like toolchain settings (locales, wchar, ..).

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

I think that generally the package directory is over populated. I would like to see a rule along the lines of:
SubMenu Entry = package/subdir
i.e
package/base (minimum packages for uclibc) package/x11r7 (X11r7 drivers)
package/xapps (x applications (only x))
package/utils (linux utilities)
package/network (network utilities)
package/block (block drivers etc like MTD package/audio (alsa etc)
package/java (Already there)
package/xmlutils (libxml2 etc)
package/games (games)
package/graphics (GTK/QT/DirectFB packages)

I think 300 ish packages in one directory is a bit too much. Each of these subdirs pretty much maps to a current menu entry package/Config.in would become smaller and simpler

What do people think?
Dan

Signature · 2 lines
View this message in context: http://www.nabble.com/svn-commit%3A-trunk-buildroot-package-fltk-tp19189068p19195469.html
Sent from the BuildRoot mailing list archive at Nabble.com.
#4 lore raw
In reply to Peter Korsgaard
Quoted 3 lines · Peter Korsgaard

But in general I agree - Use select for hard dependencies and only print those comment lines for stuff like toolchain settings (locales, wchar, ..).

Speaking of wchar and locales, do these work well enough in uClibc to enable them? I noticed that the latest procps requires wchar, but I have it disabled because in the past it broke floating point string conversions in uClibc. Or maybe it was locales that caused that. I am planning to write a patch for procps to make wchar optional.

Hamish

Signature · 1 line
Hamish Moffatt VK3SB <[email protected]> <[email protected]>
#5 lore raw
In reply to Peter Korsgaard
Quoted 6 lines · Peter Korsgaard

Hamish> I think those comments are kind of helpful. Otherwise, if you know a Hamish> package exists but can't find it in menuconfig, you need to open up Hamish> Config.in to find the dependencies.

Sometimes they are, but having tons of those lines listed for all X programs when you haven't selected X is imho not.

That's fair.

Quoted 2 lines

We should probably move X applications / libraries to it's own sub menu.

Good solution, then all the X applications could be disabled and replaced with a single comment if X libraries are not enabled.

Quoted 5 lines

Hamish> Alternatively the package could use select instead of depends.

Yeah, but that wouldn't work here as there's multiple providers of X (and anyway, including a monster like X behind your back isn't really userfriendly either).

Very true!

thanks
Hamish

Signature · 1 line
Hamish Moffatt VK3SB <[email protected]> <[email protected]>