Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37898553
en ru br
ALT Linux repos
S:0.001-alt3

Group :: Development/Perl
RPM: perl-GooCanvas2-CairoTypes

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# BEGIN SourceDeps(oneline):
BuildRequires: perl(Cairo.pm) perl(Cairo/Install/Files.pm) perl(ExtUtils/Depends.pm) perl(ExtUtils/MakeMaker.pm) perl(ExtUtils/PkgConfig.pm) perl(File/Spec.pm) perl(Glib.pm) perl(Glib/Install/Files.pm) perl(Gtk3.pm) perl(Test/More.pm) perl(XSLoader.pm) perl(strict.pm) perl(warnings.pm) pkgconfig(goocanvas-2.0)
# END SourceDeps(oneline)
%define module_name GooCanvas2-CairoTypes
%define _unpackaged_files_terminate_build 1
BuildRequires: rpm-build-perl perl-devel perl-podlators

Name: perl-%module_name
Version: 0.001
Release: alt3
Summary: Bridge between GooCanvas2 and Cairo types
Group: Development/Perl
License: perl
Url: %CPAN %module_name

Source0: http://mirror.yandex.ru/mirrors/cpan/authors/id/A/AS/ASOKOLOV/%{module_name}-%{version}.tar.gz

%description
There is an issue in the interaction between GooCanvas, GObject Introspection, Cairo, and their Perl bindings, which causes some functionality to be unusable from Perl side. This is better described here, and there was an attempt to fix it upstream. Until it's fixed, this can serve as a workaround for it.

Currently this module only "fixes" `Cairo::Pattern/GooCanvas2::CairoPattern' interop. For certain calls it just works if this module was included; for some other calls you need to explicitly convert the type.

If you have any idea how to fix those cases to not require such call, or need to bridge more types, pull requests are welcome!

%prep
%setup -q -n %{module_name}-%{version}

%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%doc README LICENSE Changes
%perl_vendor_archlib/G*
%perl_vendor_autolib/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin