[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi] [PATCH] Add script allowing to install any wxWidgets version from
From: |
Vadim Zeitlin |
Subject: |
[lmi] [PATCH] Add script allowing to install any wxWidgets version from Git |
Date: |
Sun, 1 Apr 2018 17:28:21 +0200 |
Hello,
I've finally written and tested the script for installing wxWidgets from
Git, please see https://github.com/vadz/lmi/pull/79
The commit message there contains some useful information, so let me
reproduce it here:
Add script allowing to install any wxWidgets version from Git
Replace install_wx.make with install_wx.sh which uses Git to get the
required wxWidgets version directly from the upstream Git repository.
Currently the script uses the same SHA-1 as was used by the makefile
previously, but wx_commit_sha environment variable can be predefined to
test installing a different version.
Other configurable option is wx_git_url, which can be set to an existing
local clone of wxWidgets repository, if any, to make the initial
checkout faster.
The new script preserves most of the old makefile logic, but wxWidgets
is not cloned into /opt/lmi/third_party/src/wxWidgets directory instead
of /opt/lmi/wx-scratch used previously because the contents of this
directory is preserved, even if the script is run multiple times, so it
doesn't make sense to call it "scratch" any more.
Also, add /opt/lmi/local/{include,lib} directories to {CPP,LD}FLAGS when
configuring wxWidgets to allow finding the libraries installed under
/opt/lmi/local, e.g. liblzma, which will be used by upcoming version of
wxWidgets.
I.e. you could run the script as
$ wx_commit_sha=4cdd3001c249f3426e9ae720bff9d15242a9d4ae ./install_wx.sh
to get the latest (as of this writing) master version. If you already have
a local wxWidgets repository clone, you will also want to set wx_git_url to
the path of this repository to speed up the initial checkout (although,
unfortunately, it won't affect the submodules, which will still have to be
[slowly] cloned from GitHub, even if you already have them too -- of
course, this only needs to be done once, but it's still annoying).
Please let me know if you have any comments or if you run into any
problems while testing this.
Thanks in advance,
VZ
- [lmi] [PATCH] Add script allowing to install any wxWidgets version from Git,
Vadim Zeitlin <=
- Re: [lmi] [PATCH] Add script allowing to install any wxWidgets version from Git, Greg Chicares, 2018/04/05
- Re: [lmi] [PATCH] Add script allowing to install any wxWidgets version from Git, Vadim Zeitlin, 2018/04/05
- Re: [lmi] [PATCH] Add script allowing to install any wxWidgets version from Git, Greg Chicares, 2018/04/05
- Re: [lmi] [PATCH] Add script allowing to install any wxWidgets version from Git, Vadim Zeitlin, 2018/04/05
- Re: [lmi] [PATCH] Add script allowing to install any wxWidgets version from Git, Greg Chicares, 2018/04/06
- Re: [lmi] [PATCH] Add script allowing to install any wxWidgets version from Git, Vadim Zeitlin, 2018/04/06
- Re: [lmi] [PATCH] Add script allowing to install any wxWidgets version from Git, Vadim Zeitlin, 2018/04/06
- Re: [lmi] [PATCH] Add script allowing to install any wxWidgets version from Git, Greg Chicares, 2018/04/07
- Re: [lmi] [PATCH] Add script allowing to install any wxWidgets version from Git, Vadim Zeitlin, 2018/04/07
- [lmi] I will never understand 'test -n' [Was: Add script allowing to install any wxWidgets version from Git], Greg Chicares, 2018/04/07