[rkward-devel] On windows binary (creating the bundle)

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Sun May 16 11:10:43 UTC 2010


Hi again,

so these are the steps that I have followed in creating the installation 
bundle:

Binary:
0) It seems best to root the installation in a drive other than C:\ (otherwise 
there are some problems when moving the RKWard.lnk, later on).
1) Create a directory "RKWard".
2) Use the regular KDE for windows installer to install KDE to RKWard\KDE. As 
usual, select MinGW4 as compiler. I installed kdebase-apps and dependencies. 
We could save a (small) amount of space by installing only kdebase-runtime, 
but I thought adding "kwrite" might be useful in its own right.
3) Use the regular R installer to install R to RKWard\R.
4) Use the install_rkward_0.5.3.exe-installer to install RKWard
5) Edit RKWard\KDE\bin\rkward.bat to use a relative path for the R_BINARY 
(../../R/bin/R.exe).
6) Fire up R (or RKWard) in the installation, and install the R2HTML-package.
7) Create a link to rkward.bat, and place it in RKWard. Use 
RKWard\KDE\bin\rkward.ico as icon.
8) Place a copy of the GPL v2 and the Readme.html (my current version is 
attached; I suppose we should place it in SVN /doc, somewhere) in RKWard.
9) Use 7zip to zip it up in a self-extracting archive.

Notes: The KDE and R installations can probably be scripted. Meik said he 
succesfully used wine to do the installations (did not work for me, but my 
wine configuration is probably broken). This would allow us to wrap most of 
this process in a shell-script (or a .bat).

Sources:
1) Create a directory "Sources" with subdirectories KDE, RKWard, R.
2) Place the R sources in R. Remember to also download the relevant 
Rtools.exe.
3) Place the RKWard sources in RKWard.
4) To fetch the relevant KDE sources, I used the attached shell-script (you 
may need to adjust the paths at the top of the file).
5) Place a copy of the GPLv2, and another Readme.html (attached) in the 
Sources-directory.
6) I used tar to wrap it all up. Since this mostly contains .tar.gz, .tar.bz2, 
and .zip files, an extra compression does not really help. I did not create a 
self-extracting .exe, deliberately, to avoid potential confusion on what 
regular users should download, as much as possible.

Regards
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20100516/4131535e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fetch_kde_sources.sh
Type: application/x-shellscript
Size: 902 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20100516/4131535e/attachment.sh>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20100516/4131535e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20100516/4131535e/attachment.sig>


More information about the Rkward-devel mailing list