[rkward-devel] mac preview

meik michalke meik.michalke at uni-duesseldorf.de
Tue Jan 10 23:17:21 UTC 2012


hi milan,

btw, if you didn't notice yet, the bundle package is already up:
 o http://sourceforge.net/projects/rkwardextras/files/MacOSX/
and i submitted the portfile to the MacPorts trac system, too. i'll add the 
sources (1,2 GB) and some parts of the windows README to sf.net next.

Am Dienstag 10 Januar 2012, 12:39:28 schrieb Milan Bouchet-Valat:
> Le lundi 09 janvier 2012 à 20:35 +0100, meik michalke a écrit :
> > the bundle has a size of 810 MB (2,7 GB unpacked)
[...]
> Out of curiosity, why is the bundle so large? I didn't know R+Qt+KDE
> libs were so heavy...

they aren't, at least not so much. it's partly the rest that gets drawn in 
(e.g., the bundle currently includes a full gcc). there's much more in it than 
is absolutely neccessary, which obviously leaves room for optimization here.

the bundle is made with the MacPorts tools, which work really great, i'm happy 
to say! a port can specify other ports as dependencies, so if you install the 
rkward-devel port, you'll get R and KDE ports installed as well, and they in 
turn have some dependencies -- so much for a local installation.

to make a bundle, you first make this local installation, and then use the 
port command to create an installable image from it. this will automatically 
include the full dependency tree mentioned above, to guarantee that the bundle 
will work.

what makes it so huge is that to have KDE in the bundle, rkward-devel depends 
on kde4-baseapps -- that's one single port, so it's not trivial to strip off 
parts you don't need. my guess is, we should either look at the bundle image 
(it can be mounted and examined) and remove parts we don't really need after 
it was built, or write our own kde4-baseapps-slim port and see if we can build 
a much smaller KDE for our purpose in the first place. both approaches would 
take some further amount of trial & error. for instance, i'm not sure how the 
installer behaves if we just remove some parts of the package; that should be 
rather simple though, as each component in the bundle is just a tar archive or 
something.

do you by any chance have a mac and can do some testing? if you have some 
ideas, just shoot ;-)


viele grüße :: m.eik

-- 
dipl. psych. meik michalke
institut f"ur experimentelle psychologie
abt. f"ur diagnostik und differentielle psychologie
heinrich-heine-universit"at d-40204 d"usseldorf
-------------- 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/20120111/ddba3cad/attachment.sig>


More information about the Rkward-devel mailing list