Mercurial > mxe-octave
annotate src/msvc-itstool-1.patch @ 5531:eae508c12529
Add build rule for build-octave (bug #49503).
* src/build-octave.mk: Add new build rule for build-octave which can be used for
cross-building binary packages that depend on Octave as a build tool.
* dist-files.mk: Add new file to list.
* index.html: Add new package to list.
* src/of-communications.mk, src/of-image.mk, src/of-mapping.mk,
src/of-optiminterp.mk, src/of-sparsersb.mk, src/of-statistics.mk,
src/of-windows.mk: Add optional dependency on build-octave.
* configure.ac: Add new configure switch "--disable-system-octave" that is
needed to build the build-octave package.
* Makefile.in: Add variable "USE_SYSTEM_OCTAVE". Exclude build-octave from the
default build tools and build it only if a package explicitly depends on it.
Display warning about missing native Octave version only if necessary.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Tue, 08 Sep 2020 23:04:38 +0200 |
parents | 90341dd4590e |
children |
rev | line source |
---|---|
3179
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
1 diff -ur itstool-1.2.0-orig/itstool.in itstool-1.2.0/itstool.in |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
2 --- itstool-1.2.0-orig/itstool.in 2012-05-16 11:19:34 -0400 |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
3 +++ itstool-1.2.0/itstool.in 2013-07-25 19:25:40 -0400 |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
4 @@ -1,4 +1,4 @@ |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
5 -#!/usr/bin/python -s |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
6 +#!python -s |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
7 # |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
8 # Copyright (c) 2010-2011 Shaun McCance <shaunm@gnome.org> |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
9 # |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
10 @@ -559,9 +559,9 @@ |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
11 ddir = os.getenv('XDG_DATA_DIRS', '') |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
12 if ddir == '': |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
13 if DATADIR not in ('/usr/local/share', '/usr/share'): |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
14 - ddir += DATADIR + ':' |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
15 - ddir += '/usr/local/share:/usr/share' |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
16 - dirs.extend(ddir.split(':')) |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
17 + ddir += DATADIR + os.pathsep |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
18 + ddir += '/usr/local/share' + os.pathsep + '/usr/share' |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
19 + dirs.extend(ddir.split(os.pathsep)) |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
20 ddone = {} |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
21 for ddir in dirs: |
90341dd4590e
add itstool module (and MSVC-specific patch)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
22 itsdir = os.path.join(ddir, 'itstool', 'its') |