Re: c preprocessor.

2008-05-16 Thread Martin Langhoff
On Fri, May 16, 2008 at 5:21 PM, Michael Stone [EMAIL PROTECTED] wrote:
 is the only package that requires cpp. Next question - why does
 xorg-x11-server-utils require cpp?

According to the changelog

* Mon Nov 28 2005 Mike A. Harris [EMAIL PROTECTED] 0.99.2-6
  - Added Requires: cpp as xrdb requires it for proper operation (#174302)

Which leads to https://bugzilla.redhat.com/show_bug.cgi?id=174302
which is just plain horrid. But from a quick look it is common to all
distros.

What happens if we remove it? Well, it looks like Ubuntu tried, and
had to revert
https://bugs.launchpad.net/ubuntu/+source/control-center/+bug/21392

cheers,


m
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: c preprocessor.

2008-05-16 Thread Neil Graham
On Friday 16 May 2008 6:06:10 pm Martin Langhoff wrote:
 What happens if we remove it? Well, it looks like Ubuntu tried, and
 had to revert

It looks like they just removed the dependency rather than a replacement.

xrdb supports  
  -cpp filename   preprocessor to use [/usr/bin/cpp]
 so a smaller replacement is a possibilty here, tcc or mcpp 

The other option is to just ensure that resources do not need preprocessing.  
I'm not sure if that is viable but isn't xrdb simply a thing that happens at 
x startup?  Once into X everything is ok, right?

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: c preprocessor.

2008-05-16 Thread Albert Cahalan
This is good, not bad. Adding glibc-headers is the proper response.
The XO is really really close to having normal and standard tools
for software development.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: c preprocessor.

2008-05-15 Thread Michael Stone
On Fri, May 16, 2008 at 04:57:40PM +1200, Neil Graham wrote:
 I noticed today that my xo (newly 703) has cpp which while modest in size 
 seems to launch /usr/libexec/gcc/i386-redhat-linux/4.1.2/cc1 which weighs in 
 at 5.1Meg

rpm -q --whatrequires /usr/bin/cpp
rpm -qf /usr/bin/cpp
rpm -q --whatrequires cpp

report that 

xorg-x11-server-utils-7.2-1.fc7

is the only package that requires cpp. Next question - why does
xorg-x11-server-utils require cpp?

Michael
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel