CPAN::Patches::Plugin::Debian - patch CPAN distributions Debian package
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
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.
Copy all patches and series file from .../module-name/patches/ to debian/patches folder. If there are any patches add quilt as Build-Depends-Indep and runs adds --with quilt to debian/rules. Adds dependencies from .../module-name/debian, adds usage of xvfb-run if the modules requires X and renames s/lib(.*)-perl/$1/ if the distribution is an application.
quilt
Build-Depends-Indep
--with quilt
xvfb-run
s/lib(.*)-perl/$1/
See "update_debian".
Merges dependecies from $v1 and $v2 by keeping the ones that has higher version (if the same).
$v1
$v2
Return hash with package name as key and version string as value for given $key in Debian $control file.
$key
$control
Read .../module-name/debian for given $name.
$name
Parses .../module-name/debian into a hash. Returns hash reference.
Return .../module-name/debian content string generated from $data.
$data
jozef@kutej.net, <jkutej at cpan.org>
<jkutej at cpan.org>
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.
bug-cpan-patches at rt.cpan.org
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
http://rt.cpan.org/NoAuth/Bugs.html?Dist=CPAN-Patches
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/CPAN-Patches
CPAN Ratings
http://cpanratings.perl.org/d/CPAN-Patches
Search CPAN
http://search.cpan.org/dist/CPAN-Patches/
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.
To install CPAN::Patches::Plugin::Debian, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CPAN::Patches::Plugin::Debian
CPAN shell
perl -MCPAN -e shell install CPAN::Patches::Plugin::Debian
For more information on module installation, please visit the detailed CPAN module installation guide.