lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] [PATCH] Add script allowing to install any wxWidgets version f


From: Vadim Zeitlin
Subject: Re: [lmi] [PATCH] Add script allowing to install any wxWidgets version from Git
Date: Sat, 7 Apr 2018 00:42:34 +0200

On Fri, 6 Apr 2018 13:31:31 +0000 Greg Chicares <address@hidden> wrote:

[...]
GC> > Should we do it like this?
GC> 
GC> If I've understood this correctly, then yes, please.

 I think https://github.com/vadz/lmi/pull/80 should do it, at least it
seems to work for me both when cloning from the GitHub wxWidgets repository
and when cloning from a local mirror.

 Please note that if you use a local mirror in some/where/wxWidgets, you
need to set up the submodule mirrors under some/where directory and use
the last component of their URLs, _not_ paths, as the repositories names
(which is confusing because they're similar, or even identical, for zlib,
but not the same). I.e. you need to have Catch.git, libexpat.lib,
libpng.git and zlib.git (and not "catch", "expat", "png" and "zlib"). Also
note that while they can (and arguably should) be bare repositories, you
can also just use symlinks to the existing subdirectories of your wxWidgets
working tree, e.g. I just did

        $ cd some/where
        $ ln -s wxWidgets/3rdparty/catch Catch.git
        $ ln -s wxWidgets/src/expat libexpat.git
        $ ln -s wxWidgets/src/png libpng.git
        $ ln -s wxWidgets/src/zlib zlib.git

here. And, of course, if you want to make the "real" bare repositories, you
can clone from these existing directories too, in order to avoid
re-downloading everything from GitHub.


 My tests were hardly extensive, and I'm going to do more of them next
week, but they're rather time-consuming and so I thought it would be useful
to submit the changes already and let you test them too. Please let me know
if you run into any trouble with this change or if you see any ways to
further improve it.

 Thanks in advance!
VZ


reply via email to

[Prev in Thread] Current Thread [Next in Thread]