Re: pixman and perl

2009-10-23 Thread John Taylor
Dan wrote:
 Interesting.
 
 Personally, I don't like Python. That is to say, I've learned a bit of
 Python, and I don't like programming in it. But as Python is used by my
 distribution's package management system ( Gentoo ), I have Python
 installed on my system, and I've never really thought more about it.
 
 What did Perl do to you anyway? Just curious.

It may seem strange, but I don't like perl because of the way it must be 
installed. As far as I remember, it has not a configure script and a 
makefile. Also, I prefer my system to be made of packages written in as 
few languages as possible, possibly C only.
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: pixman and perl

2009-10-23 Thread Alan Coopersmith
John Taylor wrote:
 Dan wrote:
 Interesting.

 Personally, I don't like Python. That is to say, I've learned a bit of
 Python, and I don't like programming in it. But as Python is used by my
 distribution's package management system ( Gentoo ), I have Python
 installed on my system, and I've never really thought more about it.

 What did Perl do to you anyway? Just curious.
 
 It may seem strange, but I don't like perl because of the way it must be 
 installed. As far as I remember, it has not a configure script and a 
 makefile. 

Umm... I'm pretty sure Larry Wall invented configure scripts, originally
for rn, then perl - and then the GNU project built autoconf to make
creating them easier for the rest of us.   Perhaps you're confusing perl
with something else?

-- 
-Alan Coopersmith-   alan.coopersm...@sun.com
 Sun Microsystems, Inc. - X Window System Engineering

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: pixman and perl

2009-10-23 Thread Frédéric L . W . Meunier
On Fri, 23 Oct 2009, Justin P. Mattock wrote:

 Alan Coopersmith wrote:
 John Taylor wrote:

 Dan wrote:

 Interesting.

 Personally, I don't like Python. That is to say, I've learned a bit of
 Python, and I don't like programming in it. But as Python is used by my
 distribution's package management system ( Gentoo ), I have Python
 installed on my system, and I've never really thought more about it.

 What did Perl do to you anyway? Just curious.

 It may seem strange, but I don't like perl because of the way it must be
 installed. As far as I remember, it has not a configure script and a
 makefile.


 Umm... I'm pretty sure Larry Wall invented configure scripts, originally
 for rn, then perl - and then the GNU project built autoconf to make
 creating them easier for the rest of us.   Perhaps you're confusing perl
 with something else?


 In any case I guess just hack pkgconfiig i.g.
 /usr/lib*/pkgconfig/*.pc
 ( to pass configure)
 but then unfortunately depending how your
 build is, you could run into issues later on down the line,
 or maybe during the build i.g. -lpython etc..

 try it out and see(personally seems more work
 to do so, but then again seems interesting).

To bypass the perl detection without editing configure, it's 
just a matter of symlinking /usr/bin/perl to something else, or 
create a fake /usr/bin/perl, since configure just checks if 
'perl' is present.

Anyway, Perl is widely used by many things, like Autoconf and 
Automake. On the other hand, I rarely touch anything 
Python-based, and didn't have it installed for years until 
recently. I also had to install Ruby just to run an 
autogen.sh...
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: pixman and perl

2009-10-22 Thread John Taylor
Stephan Raue wrote:
 Hi John,
 
 i dont think pixman need perl. i can compile Xorg without perl.

I have pixman-0.16.2. During the configure stage, it clearly says:

configure: error: Perl is required to build pixman.

I hope I'm wrong.
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: pixman and perl

2009-10-22 Thread Frédéric L . W . Meunier
On Thu, 22 Oct 2009, John Taylor wrote:

 Stephan Raue wrote:
 Hi John,

 i dont think pixman need perl. i can compile Xorg without perl.

 I have pixman-0.16.2. During the configure stage, it clearly says:

 configure: error: Perl is required to build pixman.

 I hope I'm wrong.

The perl references are in pixman/Makefile.am. Looking at 
pixman-combine32.c, you should only need perl if compiling from 
git.

When I run make using the 0.16.2 tarball, there is no sign of 
perl in the build sequence.
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: pixman and perl

2009-10-22 Thread Ingmar Vanhassel
Excerpts from Frédéric L. W. Meunier's message of Thu Oct 22 20:09:11 +0200 
2009:
 On Thu, 22 Oct 2009, John Taylor wrote:
 
  Stephan Raue wrote:
  Hi John,
 
  i dont think pixman need perl. i can compile Xorg without perl.
 
  I have pixman-0.16.2. During the configure stage, it clearly says:
 
  configure: error: Perl is required to build pixman.
 
  I hope I'm wrong.
 
 The perl references are in pixman/Makefile.am. Looking at 
 pixman-combine32.c, you should only need perl if compiling from 
 git.
 
 When I run make using the 0.16.2 tarball, there is no sign of 
 perl in the build sequence.

Half correct.

./configure still checks for perl unconditionally, and aborts if it's
not found, see configure.ac:129.

-- 
Exherbo KDE, X.org maintainer
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: pixman and perl

2009-10-22 Thread James Cloos
 John == John Taylor pi00100...@gmail.com writes:

John I have pixman-0.16.2. During the configure stage, it clearly says:
John configure: error: Perl is required to build pixman.

A quick git grep shows that $(srcdir)/make-combine.pl is used to create
the four files pixman/pixman-combine{32,64}.{c,h} from the template
files pixman/pixman-combine.{c,h}.template.

You should be able to do that manually with sed(1), awk(1) or your
favourite text editor.

Then edit out the check for perl in configure.ac or configure.

It is a sufficiently complex conversion that I can see why Søren
wrote it in Perl.

You will need pixman to compile/run the Xorg server and cairo.

-JimC
-- 
James Cloos cl...@jhcloos.com OpenPGP: 1024D/ED7DAEA6
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: pixman and perl

2009-10-22 Thread Dan
On Thu, 22 Oct 2009 16:54:49 +0200, John Taylor pi00100...@gmail.com
wrote:

 Hello,
 
 I'm trying to manually build X.org, but I'm stuck with pixman. It says 
 it needs perl, but I really don't want perl on my system (I hate it). Is 
 there any known workaround? Either disabling pixman or perl dependency 
 for example?

Interesting.

Personally, I don't like Python. That is to say, I've learned a bit of
Python, and I don't like programming in it. But as Python is used by my
distribution's package management system ( Gentoo ), I have Python
installed on my system, and I've never really thought more about it.

What did Perl do to you anyway? Just curious.

Dan
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg