Version 8 (modified by szabgab, 6 years ago) (diff)


Building the Portable Padre on Portable Strawberry Perl

(This is mostly important for the Padre development team and not the end user)

How to include Padre into Portable Strawberry and how to release it

  • Install Padre using
    cpan> install Padre
  • Install Plugins
  • .padre is currently in C:\ shall we set the PADRE_HOME to a directory in the portable distribution? (if so we can configure the plug-ins and ship them but we have to make sure the configuration files don't include personal history..
  • remove the cpan_sqlite_log.... files from c:\portable\cpan
  • remove C:\portable\cpan\build and C:\portable\cpan\sources C:\portable\cpan\Bundle
  • remove C:\portable\perl\bin\lex which the temporary directory of (~ 80 Mb)
  • ( the whole portable directory is now 202 Mb including a bare bones parrot and rakudo installation )
  • copy portablepadre.bat and from the SVN of padre\tools\portable_strawberry to portable\perl\bin
  • run padre/trunk/tools/
  • create a zip file and drag all the content of c:\portable\ in it
    • (TODO isn't there a command line tool in portable to create the zip file ?)
  • The resulting zip file for Padre 0.25 on Portable Strawberry beta 1 was 60 Mb,

Parrot and Rakudo 2nd try

Download git for windows and install it

Answers I selected:

  • Use Git Bash only
  • Use OpenSSH (though not really needed)
  • Use Windows style line endings

Download command line SVN for windows and install it

I don't know where did I download it from but it says:

svn --version
svn, version 1.5.5 (r34862)
   compiled Dec 23 2008, 12:42:22
mkdir c:\strawberry
cd c:\strawberry
"\Program Files\Git\bin\git.exe" clone git:// six

cd six
perl Configure --gen-parrot

The size of c:\strawberry\six is now 322/346 MB

From c:\strawberry\six\ delete the following:

.git .gitignore src lib build docs t tools perl6.c perl6.o perl6.pbc perl6_s1.pbc

From c:\strawberry\six\parrot\ delete the following:

src compilers docs t include examples blib lib libparrot.dll

Delete all the .svn directories:

perl -MFile::Find::Rule -MFile::Path -e"rmtree(File::Find::Rule->directory()->name('.svn')->in('parrot'))"

size: 28/29 MB

zipped size 7 Mb.

In the Padre repo there is a tools\ that could be refurbished and used to list the files that are needed by rakudo instead of deleting the others.

See also