Skip to content

Commit

Permalink
[Release 1.00.2] Release of the 1.00.2 version of SimLFS
Browse files Browse the repository at this point in the history
  • Loading branch information
da115115 committed May 31, 2020
1 parent 59706c1 commit c42e1fb
Show file tree
Hide file tree
Showing 18 changed files with 5,304 additions and 1,212 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ include (config/project_config_embeddable.cmake)
# Project info
project (simlfs)
set_project_names (simlfs SimLFS)
set_project_brief ("C++ Simulated Low Fare Search (LFS) library")
set_project_versions (1 00 1)
set_project_brief ("C++ Simulated Low Fare Search (LFS) Library")
set_project_versions (1 00 2)

##
# Project options
Expand Down Expand Up @@ -46,7 +46,7 @@ packaging_set_other_options (TBZ2 "TBZ2;TGZ")
## Dependencies ##
########################################
#
get_external_libs (git "python 3.4" "boost 1.41" readline mysql "soci 3.0"
get_external_libs (git "boost 1.41" readline mysql "soci 3.0"
"stdair 1.00.0" "airrac 1.00.0" "rmol 1.00.0" "sevmgr 1.00.0" "airinv 1.00.0"
"simfqt 1.00.0" doxygen "gcov 4.6.3" "lcov 1.9")

Expand Down
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
* Sat May 30 2020 Denis Arnaud <denis.arnaud_fedora at m4x.org> - 1.00.2
- Removed dependency on Python

* Tue Jan 15 2019 Denis Arnaud <denis_arnaud at users dot sourceforge dot net> - 1.00.1
- CMake nows finds out automatically the right Boost.Python library version
- Python 3.4 is the new minimum required version
Expand Down
6 changes: 5 additions & 1 deletion NEWS
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
2020-05-30:
- Version 1.00.2
- Removed dependency on Python

2019-01-15:
- Version 1.001
- Version 1.00.1
- CMake nows finds out automatically the right Boost.Python library version
- Python 3.4 is the new minimum required version

Expand Down
86 changes: 55 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,37 @@
C++ Simulated Low Fare Search (LFS) Library
===========================================

Summary:
--------
# Summary
SimLFS aims at providing a clean API and a simple implementation
(C++ library) of an airline-related Low Fare Search (LFS) system. That
library uses the Standard Airline IT C++ object model
(http://sf.net/projects/stdair).
(C++ library) of an airline-related Low Fare Search (LFS) system.
That library uses the Standard Airline IT C++ object model
(https://github.com/airsim/stdair).

SimLFS makes an extensive use of existing open-source libraries for
increased functionality, speed and accuracy. In particular the
Boost (C++ Standard Extensions: http://www.boost.org) library is used.
Boost (C++ Standard Extensions: https://www.boost.org) library is used.

# Installation

Getting and installing from the Fedora/CentOS/RedHat distribution:
------------------------------------------------------------------
Just use Yum:
yum -y install simlfs-devel simlfs-doc
## On Fedora/CentOS/RedHat distribution
Just use DNF (or Yum on older distributions):
```bash
$ dnf -y install simlfs-devel simlfs-doc
```

You can also get the RPM packages (which may work on Linux
distributions like Novel Suse and Mandriva) from the Fedora repository
(e.g., for Fedora 16,
http://fr2.rpmfind.net/linux/fedora/releases/16/Everything/)
(_e.g._, for Fedora 32,
https://fr2.rpmfind.net/linux/RPM/fedora/32/x86_64/)


Building the library and test binary from Git repository:
----------------------------------------------------------------
## Building the library and test binary from Git repository
The Sourceforge Git repository may be cloned as following:
git clone ssh://simlfs.git.sourceforge.net/gitroot/simlfs/simlfs simlfsgit
cd simlfsgit
git checkout trunk
```bash
$ git clone [email protected]:airsim/simlfs.git simlfsgit # through SSH
$ git clone https://github.com/airsim/simlfs.git # if the firewall filters SSH
$ cd simlfsgit
```

Then, you need the following packages (Fedora/RedHat/CentOS names here,
but names may vary according to distributions):
Expand All @@ -43,33 +47,53 @@ but names may vary according to distributions):
* doxygen, ghostscript, graphviz and tetex-latex (optional)
* rpm-build (optional)

Building the library and test binary from the tarball:
------------------------------------------------------
The latest stable source tarball (simlfs*.tar.gz or .bz2) can be found here:
http://sourceforge.net/project/showfiles.php?group_id=365521
## Building the library and test binary from the tarball
The latest stable source tarball (`simlfs*.tar.gz` or `.bz2`) can be found here:
https://github.com/airsim/simlfs/archive/simlfs-1.00.2.tar.gz

To customise the following to your environment, you can alter the path
to the installation directory:
```bash
export INSTALL_BASEDIR="${HOME}/dev/deliveries"
export LFS_VER="1.00.2"
if [ -d /usr/lib64 ]; then LIBSUFFIX="64"; fi
export LIBSUFFIX_4_CMAKE="-DLIB_SUFFIX=$LIBSUFFIX"
``

Then, as usual:
* To configure the project, type something like:
LFS_VER=1.00.1
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/home/user/dev/deliveries/simlfs-${LFS_VER} \
-DWITH_STDAIR_PREFIX=/home/user/dev/deliveries/stdair-stable \
-DWITH_AIRRAC_PREFIX=/home/user/dev/deliveries/airrac-stable \
-DWITH_RMOL_PREFIX=/home/user/dev/deliveries/rmol-stable \
-DWITH_RMOL_PREFIX=/home/user/dev/deliveries/airinv-stable \
-DWITH_RMOL_PREFIX=/home/user/dev/deliveries/simfqt-stable \
-DCMAKE_BUILD_TYPE:STRING=Debug -DINSTALL_DOC:BOOL=ON ..
```bash
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=${INSTALL_BASEDIR}/simlfs-${LFS_VER} \
-DWITH_STDAIR_PREFIX=${INSTALL_BASEDIR}/stdair-stable \
-DWITH_AIRRAC_PREFIX=${INSTALL_BASEDIR}/airrac-stable \
-DWITH_RMOL_PREFIX=${INSTALL_BASEDIR}/rmol-stable \
-DWITH_RMOL_PREFIX=${INSTALL_BASEDIR}/airinv-stable \
-DWITH_RMOL_PREFIX=${INSTALL_BASEDIR}/simfqt-stable \
-DCMAKE_BUILD_TYPE:STRING=Debug \
-DINSTALL_DOC:BOOL=ON -DRUN_GCOV:BOOL=OFF ${LIBSUFFIX_4_CMAKE} ..
```
* To build the project, type:
```bash
make
```
* To test the project, type:
```bash
make check
* To install the library (libsimlfs*.so*) and the binary (simlfs),
```
* To install the library (`libsimlfs*.so*`) and the binary (`simlfs`),
just type:
```bash
make install
```
* To package the source files, type:
```bash
make dist
```
* To package the binary and the (HTML and PDF) documentation:
```bash
make package
```

Denis Arnaud (October 2011)

2 changes: 1 addition & 1 deletion autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ fi
#
VERSION_MAJOR=1
VERSION_MINOR=00
VERSION_PATCH=1
VERSION_PATCH=2
VERSION_TMP_STRING=`grep "set_project_versions" CMakeLists.txt | sed -e "s/set_project_versions.*\([0-9]\+.\+[0-9]\+.\+[0-9]\+\).\+/\1/"`
VERSION_STRING=`echo "${VERSION_TMP_STRING}" | grep "^[0-9]\+.[0-9]\+.[0-9]\+$"`

Expand Down
33 changes: 33 additions & 0 deletions config/CMakeFindFrameworks.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.

#[=======================================================================[.rst:
CMakeFindFrameworks
-------------------
helper module to find OSX frameworks
This module reads hints about search locations from variables::
CMAKE_FIND_FRAMEWORK_EXTRA_LOCATIONS - Extra directories
#]=======================================================================]

if(NOT CMAKE_FIND_FRAMEWORKS_INCLUDED)
set(CMAKE_FIND_FRAMEWORKS_INCLUDED 1)
macro(CMAKE_FIND_FRAMEWORKS fwk)
set(${fwk}_FRAMEWORKS)
if(APPLE)
foreach(dir
~/Library/Frameworks/${fwk}.framework
/usr/local/Frameworks/${fwk}.framework
/Library/Frameworks/${fwk}.framework
/System/Library/Frameworks/${fwk}.framework
/Network/Library/Frameworks/${fwk}.framework
${CMAKE_FIND_FRAMEWORK_EXTRA_LOCATIONS})
if(EXISTS ${dir})
set(${fwk}_FRAMEWORKS ${${fwk}_FRAMEWORKS} ${dir})
endif()
endforeach()
endif()
endmacro()
endif()
Loading

0 comments on commit c42e1fb

Please sign in to comment.