-
-
23 Sep 2011 08:59:53 UTC
- Distribution: CPAN-Patches-Plugin-Debian
- Module version: 0.03
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues
- Testers (186 / 0 / 0)
- Kwalitee
Bus factor: 1- % Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (10.32KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- CPAN::Patches
- Carp
- Debian::Dpkg::Version
- File::Basename
- File::Copy
- File::Path
- File::Spec
- File::chdir
- File::is
- Getopt::Long
- IO::Any
- List::MoreUtils
- Moose::Role
- Parse::Deb::Control
- Path::Class
- Pod::Usage
- Scalar::Util
- Storable
- Test::Deep::NoTest
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
- NAME
- SYNOPSIS
- DESCRIPTION
- METHODS
- cpan-patches command
- INTERNAL METHODS
- AUTHOR
- BUGS
- SUPPORT
- ACKNOWLEDGEMENTS
- LICENSE AND COPYRIGHT
NAME
CPAN::Patches::Plugin::Debian - patch CPAN distributions Debian package
SYNOPSIS
cd Some-Distribution dh-make-perl cpan-patches list cpan-patches update-debian cpan-patches --patch-set $HOME/cpan-patches-set list cpan-patches --patch-set $HOME/cpan-patches-set update-debian
DESCRIPTION
This module allows to apply custom patches to the CPAN distributions Debian package.
See http://github.com/jozef/CPAN-Patches-Debian-Set for example generated Debian patches set folder.
METHODS
update_debian
Copy all patches and series file from .../module-name/patches/ to debian/patches folder. If there are any patches add
quilt
asBuild-Depends-Indep
and runs adds--with quilt
to debian/rules. Adds dependencies from .../module-name/debian, adds usage ofxvfb-run
if the modules requires X and renamess/lib(.*)-perl/$1/
if the distribution is an application.cpan-patches command
cmd_update_debian
See "update_debian".
INTERNAL METHODS
merge_debian_versions($v1, $v2)
Merges dependencies from
$v1
and$v2
by keeping the ones that has higher version (if the same).get_deb_package_names($control, $key)
Return hash with package name as key and version string as value for given
$key
in Debian$control
file.read_debian_control($name)
Read .../module-name/debian for given
$name
.decode_debian_control($src)
Parses .../module-name/debian into a hash. Returns hash reference.
encode_debian($data)
Return .../module-name/debian content string generated from
$data
.debian_inst_script_names
Returns array of pre/post installation file names.
AUTHOR
jozef@kutej.net,
<jkutej at cpan.org>
BUGS
Please report any bugs or feature requests to
bug-cpan-patches at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=CPAN-Patches. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.SUPPORT
You can find documentation for this module with the perldoc command.
perldoc CPAN::Patches
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
LICENSE AND COPYRIGHT
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
Module Install Instructions
To install CPAN::Patches::Plugin::Debian, copy and paste the appropriate command in to your terminal.
cpanm CPAN::Patches::Plugin::Debian
perl -MCPAN -e shell install CPAN::Patches::Plugin::Debian
For more information on module installation, please visit the detailed CPAN module installation guide.