Josh Wyatt | 15 Jan 2002 17:46
Picon

perlcc and rrdtool/RRDs


Hi All,

Anyone have a procedure for using perlcc to compile perl scripts using
the RRDs module?
I've never used perlcc before, but it seems that I should first compile
RRDs.pm into RRDs.so, then include it.

Anyone done this so far?

Thanks,
Josh

--
Unsubscribe mailto:rrd-developers-request <at> list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request <at> list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Tobias Oetiker | 16 Jan 2002 00:09
Picon
Picon
Favicon

rrdtool is now using freetype and libart


Folks,

Over the last few weeks I have been working on a huge patch for
rrdtool (1.1.x CVS) to replace libgd by libart and freetype.

The result is still a bit rough round the edges, but the graphs
are now 'zoomable' anti-aliased and all the colors can be specified
with alpha transparency.

It is all in the cvs archive and tonight a current snapshot will
show up in the beta directory of the rrdtool/pub tree ...

I have not yet tried building what is in cvs, but this would only
be a matter of some files which I have messed up while checking in
...

The new version also contains all new configure and friends which
will only work with the latest and greatest automake, libtool and
autoconf.

The legend placement is not yet done optimally, I will implement
tabs to allow the alignement of proportional fonts and vertical
text is not implemnted as well ...

Currently you must adjust the line
#define RRD_DEFAULT_FONT "/usr/openwin/lib/X11/fonts/TrueType/Arial.ttf"
in rrd_graph.c to point to a truetype font on your system ... I
will integrate this into configure.ac. What would help me is a list
of places where fonts may be found on a system ... the above is for
(Continue reading)

Matt Zimmerman | 16 Jan 2002 04:02
Picon
Favicon

Re: rrdtool is now using freetype and libart


On Wed, Jan 16, 2002 at 12:09:29AM +0100, Tobias Oetiker wrote:

> Over the last few weeks I have been working on a huge patch for
> rrdtool (1.1.x CVS) to replace libgd by libart and freetype.
> 
> The result is still a bit rough round the edges, but the graphs
> are now 'zoomable' anti-aliased and all the colors can be specified
> with alpha transparency.
> 
> It is all in the cvs archive and tonight a current snapshot will
> show up in the beta directory of the rrdtool/pub tree ...
> 
> I have not yet tried building what is in cvs, but this would only
> be a matter of some files which I have messed up while checking in
> ...

This all looks very nice.  Current CVS built for me with no problems, and I
am able to generate graphs with the resulting binaries.

> Currently you must adjust the line
> #define RRD_DEFAULT_FONT "/usr/openwin/lib/X11/fonts/TrueType/Arial.ttf"
> in rrd_graph.c to point to a truetype font on your system ... I
> will integrate this into configure.ac. What would help me is a list
> of places where fonts may be found on a system ... the above is for
> solaris ...

In Debian, these are found primarily in /usr/share/fonts/truetype, with some
in /usr/X11R6/lib/X11/fonts/TrueType.

(Continue reading)

Bob Ostermann | 16 Jan 2002 14:16

Re: rrdtool is now using freetype and libart


maybe both RRD_FONT_DIRECTORY and RRD_FONT as runtime vars?

I keep all my fonts in /usr/local/fonts (already in use in a bunch of GD stuff)

bob.

At 12:09 AM 1/16/02 +0100, you wrote:

>Folks,
>
>Over the last few weeks I have been working on a huge patch for
>rrdtool (1.1.x CVS) to replace libgd by libart and freetype.
>
>The result is still a bit rough round the edges, but the graphs
>are now 'zoomable' anti-aliased and all the colors can be specified
>with alpha transparency.
>
>It is all in the cvs archive and tonight a current snapshot will
>show up in the beta directory of the rrdtool/pub tree ...
>
>I have not yet tried building what is in cvs, but this would only
>be a matter of some files which I have messed up while checking in
>...
>
>The new version also contains all new configure and friends which
>will only work with the latest and greatest automake, libtool and
>autoconf.
>
>The legend placement is not yet done optimally, I will implement
(Continue reading)

Mark Mills | 16 Jan 2002 15:29

Re: rrdtool is now using freetype and libart


As someone else said, you need both RRD_FONT_PATH and RRD_FONT_DEFAULT.

Also, I would recommend you find a simple GPL'ed font to ship with the package. Or con a list member into
donating a made one to the project. It would sure simplify things if the path to the default font was always
"$RRDTOOL/libart/fonts" and the default file was always "SomeFreeFont.ttf"!

Not only will it be easier, it will reduce the "why don't my graphs look like the ones in the examples?"
questions. A consistent look is part of the reason why I keep coming back to MRTG and RRDTool after all these years.

Aside from that quibbling Mandrake 8.x Linux appears to stick the fonts in:
/usr/share/fonts/ttf/

--mark

> -----Original Message-----
> From: Tobias Oetiker [mailto:oetiker <at> ee.ethz.ch]
> Sent: Tuesday, January 15, 2002 6:09 PM
> To: rrd-developers <at> list.ee.ethz.ch
> Subject: [rrd-developers] rrdtool is now using freetype and libart
> 
> 
> 
> #define RRD_DEFAULT_FONT 
> "/usr/openwin/lib/X11/fonts/TrueType/Arial.ttf"

--
Unsubscribe mailto:rrd-developers-request <at> list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request <at> list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
(Continue reading)

Tobias Oetiker | 16 Jan 2002 15:59
Picon
Picon
Favicon

Re: rrdtool is now using freetype and libart


Today Mark Mills wrote:

>
> As someone else said, you need both RRD_FONT_PATH and RRD_FONT_DEFAULT.
>
> Also, I would recommend you find a simple GPL'ed font to ship with the package. Or con a list member into
donating a made one to the project. It would sure simplify things if the path to the default font was always
"$RRDTOOL/libart/fonts" and the default file was always "SomeFreeFont.ttf"!
>
> Not only will it be easier, it will reduce the "why don't my graphs look like the ones in the examples?"
questions. A consistent look is part of the reason why I keep coming back to MRTG and RRDTool after all these years.
>
> Aside from that quibbling Mandrake 8.x Linux appears to stick the fonts in:
> /usr/share/fonts/ttf/

Hi Mark,

this would certainly be my favorite sollution and the most portable
one. Any nominations for the RRD Font ?

tobi
>
> --mark
>
> > -----Original Message-----
> > From: Tobias Oetiker [mailto:oetiker <at> ee.ethz.ch]
> > Sent: Tuesday, January 15, 2002 6:09 PM
> > To: rrd-developers <at> list.ee.ethz.ch
> > Subject: [rrd-developers] rrdtool is now using freetype and libart
(Continue reading)

Mark Mills | 16 Jan 2002 20:16

Re: rrdtool is now using freetype and libart


> -----Original Message-----
> this would certainly be my favorite sollution and the most portable
> one. Any nominations for the RRD Font ?
> 
> tobi

*Ack* I knew you would ask that.

I'll so a little research and see if I can find one or two... copyright on fonts really winds some people up so
most of the searches you do for "free fonts" gets you stolen stuff or rants about people stealing stuff.

=)

I presume the ones shipped with Debian are GPL or public domain, maybe we can snag one of them?

--mark

--
Unsubscribe mailto:rrd-developers-request <at> list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request <at> list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Matt Zimmerman | 16 Jan 2002 21:46
Picon
Favicon

Re: rrdtool is now using freetype and libart


On Wed, Jan 16, 2002 at 02:16:25PM -0500, Mark Mills wrote:

> > -----Original Message-----
> > this would certainly be my favorite sollution and the most portable
> > one. Any nominations for the RRD Font ?
> > 
> > tobi
> 
> *Ack* I knew you would ask that.
> 
> I'll so a little research and see if I can find one or two... copyright on
> fonts really winds some people up so most of the searches you do for "free
> fonts" gets you stolen stuff or rants about people stealing stuff.
> 
> =)
> 
> I presume the ones shipped with Debian are GPL or public domain, maybe we
> can snag one of them?

The ones that I am using at the moment are from the ttf-openoffice package,
and as such have the OpenOffice licensing:

You may only copy and distribute this program consistent with the
requirements and distribute this Program consistent with the requirements of
either the GNU General Public License (GPL) and GNU Lesser General Public
License (LGPL) or the Sun Industry Standards Source License (SISSL),
respectively, depending on whether you elected to obtain access to this
program via the GPL/LGPL Option or the SISSL Option. Copies of the GPL, LGPL
and SISSL licenses can be found
(Continue reading)

Tobias Oetiker | 16 Jan 2002 22:32
Picon
Picon
Favicon

Re: rrdtool is now using freetype and libart


Today Matt Zimmerman wrote:

> The ones that I am using at the moment are from the ttf-openoffice package,
> and as such have the OpenOffice licensing:
>
> You may only copy and distribute this program consistent with the
> requirements and distribute this Program consistent with the requirements of
> either the GNU General Public License (GPL) and GNU Lesser General Public
> License (LGPL) or the Sun Industry Standards Source License (SISSL),
> respectively, depending on whether you elected to obtain access to this
> program via the GPL/LGPL Option or the SISSL Option. Copies of the GPL, LGPL
> and SISSL licenses can be found
> http://www.openoffice.org/project/www/license.html

this sounds as if we could use these ... I will check it out

thanks for the hint
tobi

> ------------------------------------
> Copyright 2000 OpenOffice.org. All rights reserved.
>
>
>

--

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, ETZ J97, ETH, 8092 Zurich, Switzerland
 / // _ \/ _ \/ / phoneto:+41(0)1-632-5286  faxto:+41(0)1-632-1517
(Continue reading)

Alex van den Bogaerdt | 16 Jan 2002 23:20
Picon

Re: rrdtool is now using freetype and libart


Tobias Oetiker wrote:

> It is all in the cvs archive and tonight a current snapshot will
> show up in the beta directory of the rrdtool/pub tree ...

Downloaded it.

> I have not yet tried building what is in cvs, but this would only
> be a matter of some files which I have messed up while checking in
> ...

Tried to build it.

> The new version also contains all new configure and friends which
> will only work with the latest and greatest automake, libtool and
> autoconf.

Redhat 7.1 is definitely too old.  The links pointing to
/usr/pack/libtool-1.4.2-to/share/libtool/ don't exist.

Redhat 7.2 (unmodified) was the next try.  Result:
[alex <at> home rrdtool-2002-01-16]$ ./MakeMakefile
   + find . -name Makefile
   + xargs rm
   rm: too few arguments
   Try `rm --help' for more information.
   + find . -name Makefile.in
   + xargs rm
   rm: too few arguments
(Continue reading)


Gmane