home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / share / doc / libglib-perl / README < prev    next >
Encoding:
Text File  |  2006-09-25  |  3.6 KB  |  106 lines

  1. Glib version 1.140
  2. ==================
  3.  
  4. This module provides perl access to Glib and GLib's GObject libraries.
  5. GLib is a portability and utility library; GObject provides a generic
  6. type system with inheritance and a powerful signal system.  Together
  7. these libraries are used as the foundation for many of the libraries
  8. that make up the Gnome environment, and are used in many unrelated
  9. projects.
  10.  
  11. This wrapper attempts to provide a perlish interface while remaining
  12. as true as possible to the underlying C API, so that any reference
  13. materials you can find on using GLib may still apply to using the
  14. libraries from perl.  Where GLib's functionality overlaps perl's,
  15. perl's is favored; for example, you will find perl lists and arrays in
  16. place of GSList or GList objects.  Some concepts have been eliminated;
  17. you need never worry about reference-counting on GObjects or GBoxed
  18. structures.  Other concepts have been converted to a perlish analogy;
  19. the GType id will never be seen in perl, as the package name serves
  20. that purpose.  See the main Glib manpage for more information.
  21.  
  22. This module also provides facilities for creating wrappers for other
  23. GObject-based libraries.  The documentation page of the gtk2-perl
  24. project's website has information about this stuff; see
  25. http://gtk2-perl.sourceforge.net/
  26.  
  27. INSTALLATION
  28. ------------
  29.  
  30. To install this module type the following:
  31.  
  32.    perl Makefile.PL
  33.    make
  34.    make test
  35.    make install
  36.  
  37.  
  38. To avoid installing to a system directory, since this is a beta release,
  39. you can change the installation prefix at Makefile.PL time with
  40.  
  41.    perl Makefile.PL PREFIX=/some/other/place
  42.  
  43. This will install the module to the subdirectory lib/perl5 under the given
  44. prefix.  If this is not already in perl's include path, you'll need to tell
  45. perl how to get to this library directory so you can use it; there are three
  46. ways:
  47.  
  48.   in your environment (the easiest):
  49.     # assuming a bourne-style shell
  50.     PERL5LIB=/some/other/place/lib/perl5/site_perl
  51.     export PERL5LIB
  52.  
  53.   on the perl command line:
  54.     perl -I /some/other/place/lib/perl5/site_perl yourscript
  55.  
  56.   in the code of your perl script:
  57.     use lib '/some/other/place/lib/perl5/site_perl';
  58.  
  59.  
  60. DEPENDENCIES
  61. ------------
  62.  
  63. In order to use perl bindings for glib, you must have glib 2.x and its
  64. prerequisites (pkg-config and a decent standard c library) installed.
  65. glib-2.x is available from http://www.gtk.org, http://www.gnome.org,
  66. etc.
  67.  
  68. Glib uses unicode internally; therefore this module requires perl 5.8.0
  69. or newer.
  70.  
  71. You'll also need the following modules in order to build the Glib module
  72. from source:
  73.  
  74.   ExtUtils::Depends >= 0.200
  75.   ExtUtils::PkgConfig >= 1.00
  76.  
  77.  
  78. BUG REPORTS
  79. -----------
  80.  
  81. Please report bugs to the gnome-perl product in GNOME's Bugzilla:
  82. <http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-perl>
  83.  
  84.  
  85. COPYRIGHT AND LICENSE
  86. ---------------------
  87.  
  88. Copyright (C) 2003-2006 by the gtk2-perl team (see the file AUTHORS for the
  89. full list)
  90.  
  91. This library is free software; you can redistribute it and/or modify it under
  92. the terms of the GNU Library General Public License as published by the Free
  93. Software Foundation; either version 2.1 of the License, or (at your option) any
  94. later version.
  95.  
  96. This library is distributed in the hope that it will be useful, but WITHOUT ANY
  97. WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  98. PARTICULAR PURPOSE.  See the GNU Library General Public License for more
  99. details.
  100.  
  101. You should have received a copy of the GNU Library General Public License along
  102. with this library; if not, write to the Free Software Foundation, Inc., 59
  103. Temple Place - Suite 330, Boston, MA  02111-1307  USA.
  104.  
  105. # $Id: README,v 1.70 2006/09/04 18:04:37 kaffeetisch Exp $
  106.