Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2002-10

FPC Imlib headers

5 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Andrew Johnson
As far as I know, Imlib is a standalone library; I would >therefore add the header translations as a separate package.

Okay.. or a package group like GTK. Standard Imlib headers only require the Xll packages, not the GDK packages but gdk_imlib headers reuire glib, gdk, and X11. So if I were to put in an Imlib directory with an Imlib subdirectory, and a gdk_imlib subdirectory, then each could have its own Makefile.fpc with the proper required packages included. I will see if I can't figure out how do to do this based on the gtk packages later on.

Andrew

_________________________________________________________________ Join the world�s largest e-mail service with MSN Hotmail. http://www.hotmail.com

Reply by email

Andrew Johnson

Date: Sun, 6 Oct 2002 02:20:36 +0200 (CEST)
From: (Marco van de Voort)

Show quoted text 8 lines
> would be possible using the imlib library to do this in lazarus as well. But > what is the availablity of imlib on the average system? is it available on > bsd's? Yes. Even on NetBSD/ppc. But it is much less likely already >installed on an average system than GTK.

sweet.. Rather than add support to the normal routines I will add imlib versions of the routines which can be enabled by a passed compiler switch, which will be disabled by default. That way we can have 3-4 versions of the Graphics routines- gdkpixbuf which is fast and supports most important things, basic which just uses GDK routines and is therfore very minimal; and gdk_imlib, which supports almost everything and is as fast as gdkpixbuf in some ways but slower in others. The possible fourth is of course what I had thought of doing to begin with, that is using both Pixbuf and gdk_imlib, depending on which supported what and which was faster. This way we could set it up so that when we get a GNOME version, then the GNOME1 version could use gdk_imlib by default, and GNOME2 could use the gdkpixbuf version by default, which would pretty much ensure that most users had the right libraries required.

Andrew

_________________________________________________________________ Join the world�s largest e-mail service with MSN Hotmail. http://www.hotmail.com

Reply by email

Unknown author
to Andrew Johnson: Okay.. 1st) this is a question for those in the know on Imlib & GNOME, I have ported the…
Andrew Johnson wrote 6 lines
2nd)a question for anyone on the FPC team, I ported the headers initially because they are required by portions of the libgnomeui 1 headers, which will be required if we are ever going to get a GNOME interface. So can Imlib be made into a package, or added to the GDK package, or should it be added to the GNOME package itself when we have one. As I understand it GNOME 2 no longer uses Imlib, so how will this affect things?

As far as I know, Imlib is a standalone library; I would therefore add the header translations as a separate package.

Michael.

Reply by email

Andrew Johnson

Okay..

1st) this is a question for those in the know on Imlib & GNOME, I have ported the main Imlib and gdk_imlib C headers(not Private though), and was wondering. Imlib supports a few nice things that gdkpixbuf doesn't, for instance- in Win32 StretchBlt will flip images horizontally or vertically if the width or height is negative. gdk_imlib supports flipping images, so it would be possible using the imlib library to do this in lazarus as well. But what is the availablity of imlib on the average system? is it available on bsd's? I do not want to add extra library requirements to the standard GTK interface unless I know that most people will have it or can get it. Either way if I were to add it I would add a compiler flag so it could easily be excluded.

2nd)a question for anyone on the FPC team, I ported the headers initially because they are required by portions of the libgnomeui 1 headers, which will be required if we are ever going to get a GNOME interface. So can Imlib be made into a package, or added to the GDK package, or should it be added to the GNOME package itself when we have one. As I understand it GNOME 2 no longer uses Imlib, so how will this affect things?

Andrew

_________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com

Reply by email