Skip to content

Commit c206ba7

Browse files
Prepare the MeVisLab thirdparty libraries for release 3.5.0
0 parents  commit c206ba7

3,879 files changed

Lines changed: 1121850 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Make sure that all text files on all platforms use the lf line feed.
2+
# This is necessary because Conan uses hashes of the files to compare them.
3+
4+
* text=auto eol=lf
5+
patches/** -text

README.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# MeVisLab ThirdParty
2+
3+
Recipes for MeVisLab Thirdparty packages
4+
5+
The `recipes` directory contains all recipes.
6+
7+
## Local package development
8+
### Preconditions
9+
10+
First of all [Python >=3.9 and Pip](https://www.python.org/) is needed.
11+
12+
```
13+
python -V
14+
pip --version
15+
```
16+
17+
Note that on all platforms except Windows the Python 3 executables are mostly called `python3` and `pip3`. `python` or `pip` don't exist at all. But to be compatible with Windows, currently is is needed that `python` and `pip` have symlinks point to `python3` and `pip3` _(or better `python3 -m pip`)_ respectively. Everything else may work, but has not been tested.
18+
19+
Note also that on current Windows versions [Microsoft hijacks](https://docs.microsoft.com/en-us/windows/python/faqs#why-does-running-pythonexe-open-the-microsoft-store) the `python` and `python3` executables.
20+
21+
22+
### Install Conan
23+
24+
[Conan](https://conan.io) is the package manager used to build all third party libraries.
25+
MeVisLab 3.5.0 is currently build with Conan version 1.41.0.
26+
27+
The package can be installed using pip:
28+
```
29+
python -m pip install -U conan
30+
```
31+
32+
Now conan should respond with its installed version by calling:
33+
```
34+
conan --version
35+
```
36+
37+
## Build a package
38+
39+
```
40+
cd recipes/<recipe_name>
41+
conan create .
42+
```

recipes/antt/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
!sources/**

recipes/antt/build.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/env python
2+
# -*- coding: utf-8 -*-
3+
4+
from cpt.packager import ConanMultiPackager
5+
6+
if __name__ == "__main__":
7+
builder = ConanMultiPackager()
8+
builder.add()
9+
builder.run()
10+

recipes/antt/conandata.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
type: installer
2+
name: "antt"
3+
version: "2.08"
4+
homepage: "http://www.gust.org.pl/"
5+
description: "antt – Antykwa Toruńska: a Type 1 family of a Polish traditional type"
6+
license: "LPPL-1.3a"
7+
8+
pipeline: "linux:gcc9:release"

recipes/antt/conanfile.py

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# -*- coding: utf-8 -*-
2+
from conans import ConanFile
3+
from conans.errors import ConanInvalidConfiguration
4+
import os
5+
6+
7+
class ConanRecipe(ConanFile):
8+
python_requires = 'common/1.0.0@mevislab/stable'
9+
python_requires_extend = 'common.CommonRecipe'
10+
11+
settings = "os"
12+
13+
def validate(self):
14+
if self.settings.os != "Linux":
15+
raise ConanInvalidConfiguration(f"{self.name} is only supported on Linux")
16+
17+
18+
def package(self):
19+
self.copy("*", dst="MeVis/ThirdParty/Resources/Linux", src="sources", keep_path=True)
20+
self.default_package()
21+
22+
23+
def package_info(self):
24+
self.cpp_info.libdirs = []
25+
self.cpp_info.includedirs = []

recipes/antt/sources/LICENSE

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
%%% This is a preliminary version, barring acceptance from the
2+
%%% LaTeX Project Team and other feedback, of the GUST Font Source
3+
%%% License. This license is for use with free fonts distributed
4+
%%% with source code.
5+
%%%
6+
%%% For the most recent version of this license see
7+
%%% http://www.gust.org.pl/fonts/licenses/GUST-FONT-SOURCE-LICENSE.txt
8+
%%% or
9+
%%% http://tug.org/fonts/licenses/GUST-FONT-SOURCE-LICENSE.txt
10+
%
11+
% This work may be distributed and / or modified under the conditions
12+
% of the LaTeX Project Public License, either version 1.3a of this
13+
% license or (at your option) any later version, provided that the
14+
% following additional clauses are observed:
15+
%
16+
% 1) Due to the nature of fonts, clause 6a of the LaTeX Project Public
17+
% License, version 1.3a, does not apply. A later version of the
18+
% LaTeX Project Public License may number or word this clause
19+
% differently; it is the substance that is important.
20+
% 2) It is requested, but not legally required, that derived works be
21+
% distributed only after changing the names of the fonts comprising
22+
% this work and given in the accompanying file MANIFEST.txt, and
23+
% that the files comprising the Work, as listed in MANIFEST.txt also
24+
% be given new names. Any exceptions to this request are also given
25+
% in MANIFEST.txt.
26+
%
27+
% The latest version of the LaTeX Project Public License is in
28+
% http://www.latex-project.org/lppl.txt and version 1.3a or later
29+
% is part of all distributions of LaTeX version 2004/10/01 or later.

0 commit comments

Comments
 (0)