debian/0000775000000000000000000000000012313333712007166 5ustar debian/copyright0000664000000000000000000000135212270513301011116 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Source: https://metacpan.org/release/Glib-Object-Introspection/ Files: * Copyright: © 2005-2013 Torsten Schoenfeld License: LGPL-2.1+ Files: debian/* Copyright: © 2012 intrigeri License: LGPL-2.1+ License: LGPL-2.1+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . On Debian systems, the complete text of version 2.1 of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. debian/libglib-object-introspection-perl.docs0000664000000000000000000000000712270513301016537 0ustar README debian/source/0000775000000000000000000000000012270513301010462 5ustar debian/source/format0000664000000000000000000000001412270513301011670 0ustar 3.0 (quilt) debian/source/lintian-overrides0000664000000000000000000000011712270513301014042 0ustar libglib-object-introspection-perl source: debian-watch-may-check-gpg-signature debian/changelog0000664000000000000000000000607512313333712011050 0ustar libglib-object-introspection-perl (0.019-1ubuntu1) trusty; urgency=medium * Apply patch from upstream to fix return value handling on 32-bit big-endian architectures, which sorts out the FTBFS on powerpc. -- Adam Conrad Sat, 22 Mar 2014 10:06:53 -0600 libglib-object-introspection-perl (0.019-1) unstable; urgency=medium * New upstream release. -- intrigeri Fri, 24 Jan 2014 17:33:35 +0100 libglib-object-introspection-perl (0.018-1) unstable; urgency=medium * New upstream release. * Declare compliance with Standards-Version 3.9.5. * Add a Lintian override for debian-watch-may-check-gpg-signature. Upstream does not provide detached signatures, but they sign Git tags, and we (well, at least I) verify it and compare to the imported tarball content before uploading to Debian. * Build-depend on debhelper (>= 9.20120312~) to get better hardening flags support. -- intrigeri Wed, 08 Jan 2014 13:33:23 +0100 libglib-object-introspection-perl (0.016-1) unstable; urgency=low * New upstream release. * Declare runtime dependency on libextutils-depends-perl and libextutils-pkgconfig-perl. * Take into account upstream copyright years bump. -- intrigeri Tue, 01 Oct 2013 15:52:53 +0200 libglib-object-introspection-perl (0.015-1) unstable; urgency=low [ Upstream ] * Unstable release 0.015 [ intrigeri ] * Drop obsolete Lintian override. -- intrigeri Thu, 05 Sep 2013 07:14:01 +0200 libglib-object-introspection-perl (0.014-2) unstable; urgency=low * Bump Standards-Version to 3.9.4 (no change required). * Upload to unstable. -- intrigeri Mon, 10 Jun 2013 18:03:17 +0200 libglib-object-introspection-perl (0.014-1) experimental; urgency=low [ Salvatore Bonaccorso ] * Change Vcs-Git to canonical URI (git://anonscm.debian.org) * Change search.cpan.org based URIs to metacpan.org based URIs [ intrigeri ] * Imported Upstream version 0.014 * Add build-dependency on libffi-dev. * Add build-dependency on libcairo-gobject-perl so that the upstream test suite can be run entirely. * Version build-time and runtime dependency on libglib-perl (>= 3:1.280). -- intrigeri Sat, 09 Feb 2013 11:54:49 +0100 libglib-object-introspection-perl (0.010-1) experimental; urgency=low * Imported Upstream version 0.010 -- intrigeri Mon, 09 Jul 2012 00:23:32 -0600 libglib-object-introspection-perl (0.009-1) unstable; urgency=low * Imported Upstream version 0.009 * Override hardening-no-fortify-functions Lintian warning. -- intrigeri Thu, 24 May 2012 09:13:54 +0200 libglib-object-introspection-perl (0.008-1) unstable; urgency=low * Imported Upstream version 0.008 -- intrigeri Sun, 29 Apr 2012 17:40:59 +0200 libglib-object-introspection-perl (0.007-1) unstable; urgency=low * Initial release (Closes: #653442). -- intrigeri Sat, 07 Apr 2012 10:07:02 +0200 debian/compat0000664000000000000000000000000212270513301010360 0ustar 9 debian/rules0000775000000000000000000000021612270513301010241 0ustar #!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow %: dh $@ override_dh_installchangelogs: dh_installchangelogs NEWS debian/control0000664000000000000000000000270212313332547010577 0ustar Source: libglib-object-introspection-perl Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Perl Group Uploaders: intrigeri Section: perl Priority: optional Build-Depends: debhelper (>= 9.20120312~), gobject-introspection (>= 0.10.0), libcairo-dev, libcairo-gobject-perl, libextutils-depends-perl, libextutils-pkgconfig-perl, libffi-dev, libgirepository1.0-dev, libglib2.0-dev, libglib-perl (>= 3:1.280), perl Standards-Version: 3.9.5 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libglib-object-introspection-perl.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libglib-object-introspection-perl.git Homepage: https://metacpan.org/release/Glib-Object-Introspection/ Package: libglib-object-introspection-perl Architecture: any Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends}, libextutils-depends-perl, libextutils-pkgconfig-perl, libglib-perl (>= 3:1.280) Description: Perl bindings for gobject-introspection libraries GObject is an abstraction layer that allows programming with an object paradigm that is compatible with many languages. It is a part of Glib, the core library used to build GTK+ and GNOME. . This package contains Glib::Object::Introspection, the Perl binding generator for libraries that support gobject-introspection, such as GTK+, WebKit, libsoup and many more. debian/watch0000664000000000000000000000022012270513301010205 0ustar version=3 https://metacpan.org/release/Glib-Object-Introspection/ .*/Glib-Object-Introspection-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/patches/0000775000000000000000000000000012313332423010613 5ustar debian/patches/0001-Fix-return-value-handling-on-big-endian-architecture.patch0000664000000000000000000000511312313332336024241 0ustar From 5a347de490cf8ee3136ad21aef0ecfc233aefedc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torsten=20Sch=C3=B6nfeld?= Date: Wed, 22 Jan 2014 23:14:07 +0100 Subject: [PATCH] Fix return value handling on big-endian architectures https://rt.cpan.org/Ticket/Display.html?id=89552 --- gperl-i11n-invoke-c.c | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/gperl-i11n-invoke-c.c b/gperl-i11n-invoke-c.c index 19f6317..1b00543 100644 --- a/gperl-i11n-invoke-c.c +++ b/gperl-i11n-invoke-c.c @@ -29,6 +29,10 @@ invoke_c_code (GICallableInfo *info, guint i; GPerlI11nInvocationInfo iinfo = {0,}; guint n_return_values; +#if GI_CHECK_VERSION (1, 32, 0) + GIFFIReturnValue ffi_return_value; +#endif + gpointer return_value_p; GIArgument return_value; GError * local_error = NULL; gpointer local_error_address = &local_error; @@ -46,6 +50,10 @@ invoke_c_code (GICallableInfo *info, iinfo.args[0] = &instance; } + /* + * --- handle arguments ----------------------------------------------- + */ + for (i = 0 ; i < iinfo.n_args ; i++) { GIArgInfo * arg_info; GITypeInfo * arg_type; @@ -172,6 +180,10 @@ invoke_c_code (GICallableInfo *info, iinfo.arg_types[iinfo.n_invoke_args - 1] = &ffi_type_pointer; } + /* + * --- prepare & call ------------------------------------------------- + */ + /* prepare and call the function */ if (FFI_OK != ffi_prep_cif (&cif, FFI_DEFAULT_ABI, iinfo.n_invoke_args, iinfo.return_type_ffi, iinfo.arg_types)) @@ -180,7 +192,13 @@ invoke_c_code (GICallableInfo *info, ccroak ("Could not prepare a call interface"); } - ffi_call (&cif, func_pointer, &return_value, iinfo.args); +#if GI_CHECK_VERSION (1, 32, 0) + return_value_p = &ffi_return_value; +#else + return_value_p = &return_value; +#endif + + ffi_call (&cif, func_pointer, return_value_p, iinfo.args); /* free call-scoped data */ _invoke_free_after_call_handlers (&iinfo); @@ -190,8 +208,17 @@ invoke_c_code (GICallableInfo *info, } /* - * handle return values + * --- handle return values ------------------------------------------- */ + +#if GI_CHECK_VERSION (1, 32, 0) + /* libffi has special semantics for return value storage; see `man + * ffi_call`. We use gobject-introspection's extraction helper. */ + gi_type_info_extract_ffi_return_value (iinfo.return_type_info, + &ffi_return_value, + &return_value); +#endif + n_return_values = 0; /* place return value and output args on the stack */ -- 1.8.5.3 debian/patches/series0000664000000000000000000000010012313332423012017 0ustar 0001-Fix-return-value-handling-on-big-endian-architecture.patch