/home/Yaakov/src/cygport/tests/cygport-0.20.2-1.noarch/src/cygport-0.20.2/cygclass/gtk2-perl.cygclass

Cygport Reference Manual

### TABLE OF CONTENTS

- gtk2-perl.cygclass

- CATEGORY (gtk2-perl)
- SUMMARY (gtk2-perl)
- HOMEPAGE (gtk2-perl)
- SRC_URI (gtk2-perl)
- DEPS_PATH (gtk2-perl)
- gtk2_perl_compile

## gtk2-perl.cygclass

[ Top ] [ Cygclasses ] [ Cygclasses ]

SYNOPSIS

      [CPAN_AUTHOR=username]
      inherit gtk2-perl

DESCRIPTION

The Gtk2-Perl project provides Perl bindings for the GLib, GTK+, and GNOME libraries, allowing full-fledged GNOME programs to be written in the Perl programming language. Source packages are based on the ExtUtils::MakeMaker system with some additions to handle the unique requirements of inter-module dependencies and POD generation from XS. Several third-party modules are also available on CPAN which use the same system to bind libraries not yet covered by the Gtk2-Perl project.

This cygclass builds both official and third-party Gtk2-Perl binding packages.

INHERITS

perl.cygclass

REQUIRES

perl-ExtUtils-Depends, perl-ExtUtils-PkgConfig

## CATEGORY (gtk2-perl)

[ Top ] [ gtk2-perl.cygclass ] [ Overloads ]

DEFINITION

    CATEGORY="Perl"

## SUMMARY (gtk2-perl)

[ Top ] [ gtk2-perl.cygclass ] [ Overloads ]

DEFINITION

    SUMMARY="Perl ${ORIG_PN//-/::} bindings"

## HOMEPAGE (gtk2-perl)

[ Top ] [ gtk2-perl.cygclass ] [ Overloads ]

DESCRIPTION

Homepage of the Gtk2-Perl project.

NOTE

If CPAN_AUTHOR is defined, the value set by perl.cygclass is used instead.

## SRC_URI (gtk2-perl)

[ Top ] [ gtk2-perl.cygclass ] [ Overloads ]

DESCRIPTION

Download location of the release tarball from the Gtk2-Perl project.

NOTE

If CPAN_AUTHOR is defined, the value set by perl.cygclass is used instead.

## DEPS_PATH (gtk2-perl)

[ Top ] [ gtk2-perl.cygclass ] [ Overloads ]

DESCRIPTION

Gtk2-Perl modules are unique that they are not only linked against the C libraries which they bind, but also expose an API to bindings higher up in the stack which link against them as well. Therefore, DEPS_PATH is set to catch these inter-module link dependencies.

## gtk2_perl_compile

[ Top ] [ gtk2-perl.cygclass ] [ Compile Functions ]

DESCRIPTION

An alias for perl_compile.

HISTORY

Gtk2-Perl's build system originally posed some challenges on Cygwin:

- Inter-module linking. ExtUtils-Depends did not support this for quite some time, so the necessary link libraries had to be specially added.
- POD manpages. On other *NIX systems, POD manpages are generated from hand-written POD files and include '::' in their filename, which was illegal on Cygwin until 1.7, so perl and man are patched to substitute '::' with '.'. Gtk2-Perl uses its own system to first build POD files from XS, then build manpages from those, so the 's/::/./g' substitution was not available and intervention was required to create the manpages. Since Cygwin 1.7, however, technically this would no longer necessary, as filenames can include ':', but man still makes the substitution.

Therefore, this function no longer serves a purpose. Now, the manpages are built and installed with '::' as on other platforms, but are renamed during postinstall so that man can find them.