[Catalyst] packaging and porting Catalyst

Bill Moseley moseley at hank.org
Mon Oct 30 14:49:45 GMT 2006


On Sun, Oct 29, 2006 at 06:55:54PM -0500, Jonathan Rockway wrote:
> If you're interested, reply to the dev list indicating which distro/OS you'd 
> like to work on.  I've claimed OpenBSD, and there is a gentoo portage tree in 
> SVN.  However, Debian is quite out of date, and the other Linuxes seem to be 
> suffering from the same problem -- the Catalyst team and the distros would 
> surely appreciate your help.

One disadvantage of generating packages for distributions is that
users without root access (such as on shared hosting) cannot install
the packages.

I have a tarball I used for on Debian Stable that I unpack into
$HOME/local.  It has the additional advantage that I'm not relying on
system-installed packages which could change -- perhaps breaking my
application.

The tarball was created using CPAN to install modules and their
"dependencies."  As a result, I'm sure the tarball is bloated with
modules that are never touched by my application.

    $ du -hs local
    34M     local

    $ find local -type f  | wc -l
    2211

    $ find local -name \*.pm  | wc -l
    1330

    $ find local -name \*.so  | wc -l
    26

A tarball of the pure-perl modules could be installed on any system,
right?  So that would avoid the need to maintain that for many
platforms (in each distribution's package system).

Then it would be a matter of hand-installing the modules with binary
components or providing those as tarballs targeted for a specific
platform.


$ find local -name \*.so
local/lib/i386-linux-thread-multi/auto/version/vxs/vxs.so
local/lib/perl/5.8.4/auto/Cache/FastMmap/CImpl/CImpl.so
local/lib/perl/5.8.4/auto/Clone/Clone.so
local/lib/perl/5.8.4/auto/Compress/Zlib/Zlib.so
local/lib/perl/5.8.4/auto/Cwd/Cwd.so
local/lib/perl/5.8.4/auto/DBD/Pg/Pg.so
local/lib/perl/5.8.4/auto/DBD/SQLite/SQLite.so
local/lib/perl/5.8.4/auto/DBI/DBI.so
local/lib/perl/5.8.4/auto/Data/UUID/UUID.so
local/lib/perl/5.8.4/auto/DateTime/DateTime.so
local/lib/perl/5.8.4/auto/Encode/Byte/Byte.so
local/lib/perl/5.8.4/auto/Encode/CN/CN.so
local/lib/perl/5.8.4/auto/Encode/EBCDIC/EBCDIC.so
local/lib/perl/5.8.4/auto/Encode/JP/JP.so
local/lib/perl/5.8.4/auto/Encode/KR/KR.so
local/lib/perl/5.8.4/auto/Encode/Symbol/Symbol.so
local/lib/perl/5.8.4/auto/Encode/TW/TW.so
local/lib/perl/5.8.4/auto/Encode/Unicode/Unicode.so
local/lib/perl/5.8.4/auto/Encode/Encode.so
local/lib/perl/5.8.4/auto/FCGI/FCGI.so
local/lib/perl/5.8.4/auto/HTML/Tidy/Tidy.so
local/lib/perl/5.8.4/auto/IPC/ShareLite/ShareLite.so
local/lib/perl/5.8.4/auto/MIME/Base64/Base64.so
local/lib/perl/5.8.4/auto/Params/Validate/Validate.so
local/lib/perl/5.8.4/auto/Template/Stash/XS/XS.so
local/lib/perl/5.8.4/auto/Time/Piece/Piece.so


-- 
Bill Moseley
moseley at hank.org




More information about the Catalyst mailing list