debian/0000755000000000000000000000000011334306033007162 5ustar debian/control0000644000000000000000000000226511334050661010575 0ustar Source: libextutils-xsbuilder-perl Section: perl Priority: optional Build-Depends: debhelper (>= 7.0.50~) Build-Depends-Indep: perl Maintainer: Debian Perl Group Uploaders: Jonathan Yu , Ansgar Burchardt Standards-Version: 3.8.4 Homepage: http://search.cpan.org/dist/ExtUtils-XSBuilder/ Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libextutils-xsbuilder-perl/ Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libextutils-xsbuilder-perl/ Package: libextutils-xsbuilder-perl Architecture: all Depends: ${misc:Depends}, libparse-recdescent-perl, libtie-ixhash-perl, ${perl:Depends} Description: Automatic XS glue code generation ExtUtils::XSBuilder is a set of modules to parse C header files and create XS glue code and documentation from it. . Ideally this allows you to "write" an interface to a C library without coding a line. Although this module automates much of the process, you must still be familiar with C and XS programming since no C API is ideal and usually some adjuments are necessary. When the C API changes, most of the time you only have to rerun XSBuilder to get your new Perl API. debian/copyright0000644000000000000000000000223611331022414011113 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Maintainer: Gerald Richter Source: http://search.cpan.org/dist/ExtUtils-XSBuilder/ Name: ExtUtils-XSBuilder Copyright: © 2000-2001, Doug MacEachern © 2001-2004, Gerald Richter / ecos gmbh (www.ecos.de) License-Alias: Perl License: Artistic | GPL-1+ Files: debian/* Copyright: © 2002-2008, Angus Lees © 2010, Ansgar Burchardt License: Artistic | GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. On Debian GNU/Linux systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic' License: GPL-1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL' debian/watch0000644000000000000000000000037111245247424010225 0ustar # format version number, currently 3; this line is compulsory! version=3 # URL to the package page followed by a regex to search http://search.cpan.org/dist/ExtUtils-XSBuilder/ .*/ExtUtils-XSBuilder-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/patches/0000755000000000000000000000000011334306005010610 5ustar debian/patches/spelling.patch0000644000000000000000000000123311332635444013457 0ustar From: Ansgar Burchardt Subject: Correct spelling errors Bug: https://rt.cpan.org/Ticket/Display.html?id=54313 --- libextutils-xsbuilder-perl.orig/XSBuilder.pod +++ libextutils-xsbuilder-perl/XSBuilder.pod @@ -62,7 +62,7 @@ =head2 Create map files -XSBuilder will not automaticly create XS functions for all C functions and +XSBuilder will not automatically create XS functions for all C functions and structures. You must provide hints in order for the XS files to be created properly. The map files are the mechanism to provide these hints. By default, the map files are found under C. There are four map types, C, debian/patches/series0000644000000000000000000000004011334050661012023 0ustar use-C-type.patch spelling.patch debian/patches/use-C-type.patch0000644000000000000000000000161711334050661013575 0ustar From: Angus Lees Date: Mon, 10 Mar 2003 22:47:03 +1100 Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=54387 Subject: use C type instead of mapped perl type for return declarations Patch WrapXS::get_function to use C type instead of mapped perl type for return declarations. --- libextutils-xsbuilder-perl.orig/XSBuilder/WrapXS.pm +++ libextutils-xsbuilder-perl/XSBuilder/WrapXS.pm @@ -557,7 +557,8 @@ $name =~ /^DESTROY$/ ? 'void' : $func->{return_type}; my $retdecl = @$retargs?(join "\n", - (map { my $type = $self -> cname($_->{class}) ; $type =~ s/\*$//; ' ' . $type . " $_->{name};"} @$retargs), + # TypeMap->map_args has already stripped a * from retargs + (map { my $type = $_->{rtype} ; $type =~ s/^const\s+//; ' ' . $type . " $_->{name};"} @$retargs), #' ' . $self -> cname($return_type) . ' RETVAL', ''):''; debian/compat0000644000000000000000000000000211331022414010353 0ustar 7 debian/changelog0000644000000000000000000000455211334050661011045 0ustar libextutils-xsbuilder-perl (0.28-2) unstable; urgency=low [ Jonathan Yu ] * Bringing this package under the pkg-perl group (Closes: #543610) * Updated d/watch with CPAN search site * Standards-Version 3.8.3 + Remove version dependency on perl + Add Vcs-* and Homepage fields [ Ryan Niebur ] * Update jawnsy's email address [ gregor herrmann ] * debian/control: Added: ${misc:Depends} to Depends: field. [ Ansgar Burchardt ] * Refresh rules for debhelper 7. * Convert debian/copyright to proposed machine-readable format. * debian/rules: Make build-dep on perl unversioned and move it to B-D-Indep. * Bump Standards-Version to 3.8.4. * Correct spelling error pointed out by lintian. + new patch: spelling.patch * Remove files in debian/rules instead of patching Makefile.PL. * Move upstream changes to a patch. + new patch: use-C-type.patch * Add myself to Uploaders. -- Ansgar Burchardt Mon, 08 Feb 2010 00:09:09 +0900 libextutils-xsbuilder-perl (0.28-1) unstable; urgency=low * New upstream version. * Bump standards version. * Bump debhelper compat version to 5. * Stop ignoring 'make realclean' errors (lintian). * Don't try to manpagealise PODTemplate.pm. -- Angus Lees Thu, 10 Jan 2008 12:56:40 +0000 libextutils-xsbuilder-perl (0.27-1) unstable; urgency=low * New upstream version. * Change to section "perl". * Bump standards version. -- Angus Lees Sat, 9 Oct 2004 15:18:53 +1000 libextutils-xsbuilder-perl (0.23-1) unstable; urgency=low * New upstream version. * Add extra parentheses to T_MAGICHASH_SV INPUT code to stop "assignment used as truth value" compiler warning. * Patch WrapXS::get_function to use C type instead of mapped perl type for return declarations. * Add null_type case for (U_)CHAR type. * Explicitly cast return type from epxs_sv2_*REF conversions to quiet compiler warning during (eg) CV* to SV* mangling. -- Angus Lees Mon, 10 Mar 2003 22:47:03 +1100 libextutils-xsbuilder-perl (0.22-2) unstable; urgency=low * Patch XSBuilder/WrapXS.pm to better cope with write_makefilepl(''). -- Angus Lees Tue, 10 Dec 2002 11:28:07 +1100 libextutils-xsbuilder-perl (0.22-1) unstable; urgency=low * Initial Release. -- Angus Lees Sun, 8 Dec 2002 14:31:49 +1100 debian/source/0000755000000000000000000000000011334306005010461 5ustar debian/source/format0000644000000000000000000000001411334306032011667 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000072711334050661010253 0ustar #!/usr/bin/make -f PACKAGE := $(shell dh_listpackages) TMP := $(CURDIR)/debian/$(PACKAGE) %: dh $@ override_dh_auto_install: dh_auto_install chmod -x $(TMP)/usr/share/perl5/ExtUtils/XSBuilder.pod $(RM) $(TMP)/usr/share/man/man3/ExtUtils::XSBuilder::C::grammar.3pm $(RM) $(TMP)/usr/share/man/man3/ExtUtils::XSBuilder::PODTemplate.3pm $(RM) $(TMP)/usr/share/man/man3/ExtUtils::xsbuilder.osc2002.3pm $(RM) $(TMP)/usr/share/perl5/ExtUtils/xsbuilder.osc2002.pod debian/libextutils-xsbuilder-perl.docs0000644000000000000000000000002611331022414015334 0ustar xsbuilder.osc2002.pod