| 1 |
Gtk2::ImageView |
|---|
| 2 |
=============== |
|---|
| 3 |
|
|---|
| 4 |
Perl bindings to the GtkImageView image viewer widget |
|---|
| 5 |
Find out more about GtkImageView at http://trac.bjourne.webfactional.com/. |
|---|
| 6 |
|
|---|
| 7 |
The Perl bindings follow the C API very closely, and the C reference |
|---|
| 8 |
should be considered the canonical documentation. |
|---|
| 9 |
|
|---|
| 10 |
Be sure to check out the example programs in the "examples" directory. |
|---|
| 11 |
|
|---|
| 12 |
To discuss Gtk2::ImageView or gtk2-perl, ask questions and flame/praise the |
|---|
| 13 |
authors, join gtk-perl-list@gnome.org at lists.gnome.org. |
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
INSTALLATION |
|---|
| 17 |
------------ |
|---|
| 18 |
|
|---|
| 19 |
To install this module type the following: |
|---|
| 20 |
|
|---|
| 21 |
perl Makefile.PL |
|---|
| 22 |
make |
|---|
| 23 |
make test |
|---|
| 24 |
make install |
|---|
| 25 |
|
|---|
| 26 |
|
|---|
| 27 |
To avoid installing to a system directory, since this is a beta release, |
|---|
| 28 |
you can change the installation prefix at Makefile.PL time with |
|---|
| 29 |
|
|---|
| 30 |
perl Makefile.PL PREFIX=/some/other/place |
|---|
| 31 |
|
|---|
| 32 |
This will install the module to the subdirectory lib/perl5 under the given |
|---|
| 33 |
prefix. If this is not already in perl's include path, you'll need to tell |
|---|
| 34 |
perl how to get to this library directory so you can use it; there are three |
|---|
| 35 |
ways: |
|---|
| 36 |
|
|---|
| 37 |
in your environment (the easiest): |
|---|
| 38 |
# assuming a bourne-style shell |
|---|
| 39 |
PERL5LIB=/some/other/place/lib/perl5/site_perl |
|---|
| 40 |
export PERL5LIB |
|---|
| 41 |
|
|---|
| 42 |
on the perl command line: |
|---|
| 43 |
perl -I /some/other/place/lib/perl5/site_perl yourscript |
|---|
| 44 |
|
|---|
| 45 |
in the code of your perl script: |
|---|
| 46 |
use lib '/some/other/place/lib/perl5/site_perl'; |
|---|
| 47 |
|
|---|
| 48 |
To build the documentation as html, run: |
|---|
| 49 |
|
|---|
| 50 |
make html |
|---|
| 51 |
|
|---|
| 52 |
Note that the bindings must first have been built and that the |
|---|
| 53 |
mpod2html script must be installed. |
|---|
| 54 |
|
|---|
| 55 |
|
|---|
| 56 |
DEPENDENCIES |
|---|
| 57 |
------------ |
|---|
| 58 |
|
|---|
| 59 |
This module requires these other modules and libraries: |
|---|
| 60 |
|
|---|
| 61 |
perl >= 5.8.0 |
|---|
| 62 |
Glib >= 1.163 (Perl module) |
|---|
| 63 |
GTK+ > 2.x (C library) |
|---|
| 64 |
GtkImageView >= 1.6.0 |
|---|
| 65 |
|
|---|
| 66 |
If GTK+ is as new or newer as 2.8, the Cairo module is also required: |
|---|
| 67 |
|
|---|
| 68 |
Cairo >= 1.00 (Perl module) |
|---|
| 69 |
|
|---|
| 70 |
In order to build it from source, you'll also need |
|---|
| 71 |
|
|---|
| 72 |
ExtUtils::Depends >= 0.2 |
|---|
| 73 |
ExtUtils::PkgConfig >= 1.03 |
|---|
| 74 |
|
|---|
| 75 |
|
|---|
| 76 |
BUG REPORTS |
|---|
| 77 |
----------- |
|---|
| 78 |
|
|---|
| 79 |
Please submit bug reports top |
|---|
| 80 |
http://trac.bjourne.webfactional.com/newticket/. |
|---|
| 81 |
|
|---|
| 82 |
|
|---|
| 83 |
COPYRIGHT AND LICENSE |
|---|
| 84 |
--------------------- |
|---|
| 85 |
|
|---|
| 86 |
Copyright (c) 2007 -- 2008 by Jeffrey Ratcliffe <Jeffrey.Ratcliffe@gmail.com> |
|---|
| 87 |
see AUTHORS for complete list of contributors |
|---|
| 88 |
|
|---|
| 89 |
This library is free software; you can redistribute it and/or |
|---|
| 90 |
modify it under the terms of the GNU Lesser General Public |
|---|
| 91 |
License as published by the Free Software Foundation; either |
|---|
| 92 |
version 3 of the License, or (at your option) any later version. |
|---|
| 93 |
|
|---|
| 94 |
This library is distributed in the hope that it will be useful, |
|---|
| 95 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 96 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|---|
| 97 |
Library General Public License for more details. |
|---|
| 98 |
|
|---|
| 99 |
You should have received a copy of the GNU Lesser General Public License |
|---|
| 100 |
along with this program. If not, see <http://www.gnu.org/licenses/>. |
|---|
| 101 |
|
|---|