Commit Graph

62 Commits

Author SHA1 Message Date
Jean-Paul Chaput 2ca6dbb299 * ./goodies:
- Change: In buildCoriolis.py, adds "dvi" & "safepdf" targets on "crlcore" tool.
        Not very clean because it's hard-coded.
2010-05-25 16:00:53 +00:00
Jean-Paul Chaput 399cbb542c Uses %__rm -rf for deletion to avoid bad return code. 2010-05-23 11:31:10 +00:00
Jean-Paul Chaput 117c14f738 Uses the correct rm rpm macro: %__rm ... 2010-05-23 11:14:31 +00:00
Jean-Paul Chaput e0a95da527 * ./goodies:
- Bug: In coriolis2.spec.in, just remove the installed doc then install them
        from build with the %doc directive.
2010-05-23 10:57:01 +00:00
Jean-Paul Chaput 156fa3d16d * ./goodies:
- Bug: In coriolis2.spec.in, split the build in two steps so the documentation
        can be installed in the right docdir.
2010-05-23 10:37:22 +00:00
Jean-Paul Chaput 31b8197356 Bug in python site package detection. 2010-05-22 23:18:32 +00:00
Jean-Paul Chaput a222bbd5a0 Correction 2010-05-22 22:54:33 +00:00
Jean-Paul Chaput 6b4757f8d8 New python modules directory. 2010-05-22 22:24:55 +00:00
Jean-Paul Chaput 7745f1a8fb The doc files in the right place. 2010-05-22 15:27:37 +00:00
Jean-Paul Chaput ab4aa044e9 * ./goodies:
- Bug: In coriolis2.spec.in, needs to add the CMAKE_MODULE_PATH component
        pointing into the %{buildroot} for tools to find their ".cmake".
2010-05-22 13:39:38 +00:00
Jean-Paul Chaput e4c1030407 * ./goodies:
- New: In buildCoriolis.py, support for the distribution patch.
        The distribution patch do some customizations needed for the distribution.
    - Change: In coriolis2.spec.in, support for patch, include starter
        documentation. Do not prepend %{buildroot} to CORIOLIS_TOP environment
        variables.
2010-05-22 13:21:24 +00:00
Jean-Paul Chaput da6d10883a * ./goodies:
- Change: In coriolis2.spec.in, now do a install "in system", that is
        under /usr witch configuration in /etc. Create a patch file to
        sets up accordingly the pathes in configurations files.
    - Change: More accurate detection of the qt version based on distribution
        recognition (%{rhel} & %{fedora}).
2010-05-22 09:08:31 +00:00
Jean-Paul Chaput 5be1cb8724 One more try. 2010-05-21 17:12:15 +00:00
Jean-Paul Chaput 91d6bcf358 Adjust rhel detection. 2010-05-21 17:10:36 +00:00
Jean-Paul Chaput c70b261d74 * ./goodies:
- Change: In coriolis2.spec.in, now do a install "in system", that is
        under /usr witch configuration in /etc.
2010-05-21 17:03:22 +00:00
The Coriolis Project 57377a79b5 Adding -f option in rm command for --rm-build (in case build does not exist) 2010-05-19 14:47:48 +00:00
Jean-Paul Chaput c5b8635126 Rename io -> vlsisapd 2010-05-18 15:18:56 +00:00
Jean-Paul Chaput ed6fbe9f5f * All tools:
- Change: take account of the renaming "io" -> "vlsisapd".
2010-05-18 15:12:27 +00:00
Jean-Paul Chaput e468caf46c * All tools:
- Change: adopt a tree layout compliant with the UNIX FHS.
        * includes under      TOP/include/coriolis2.
        * shared datas under  TOP/shared/coriolis2.
        * docs under          TOP/share/doc/coriolis2.
        * configuration under TOP/etc/coriolis2

  * ./crlcore:
    - Change: In Environment, comply to the new tree layout, search configuration
        files under TOP/etc/coriolis2/.

  * ./knik:
    - Change: In flute, comply to the new tree layout, get the "POW*.dat" files
        from TOP/share/coriolis2/flute-2.4.
2010-05-18 13:00:48 +00:00
Jean-Paul Chaput 71cb988c5e This time it will work! 2010-05-17 23:28:50 +00:00
Jean-Paul Chaput 334b23c834 Sets the LIB_SUFFIX on 64 bits. 2010-05-17 23:20:40 +00:00
Jean-Paul Chaput 560d02ff08 Forgot this one. 2010-05-17 23:11:07 +00:00
Jean-Paul Chaput 029c5e8989 Adds LIB_SUFFIX to all CMakeLists install "lib" targets, so that 64 bits
libraries gets installed in "lib64" instead of "lib".

buildCoriolis.py sets automatically LIB_SUFFIX for cmake.
coriolis2.spec modificated to uses lib64 on 64 bits.
2010-05-17 21:19:02 +00:00
Jean-Paul Chaput d2206fd246 No %arch tag, uses %_arch 2010-05-17 16:54:08 +00:00
Jean-Paul Chaput 92e0a06744 Adds arch extention to the binary tar.bz2. 2010-05-17 16:31:28 +00:00
Jean-Paul Chaput f28298c0c4 Requires takes an "s"! 2010-05-17 16:21:50 +00:00
Jean-Paul Chaput 8bac5355da Adding Requires and call to ldconfig in post stage. 2010-05-17 16:20:07 +00:00
Jean-Paul Chaput 0136f845bc Correct dynamic link configuration. 2010-05-17 16:00:09 +00:00
Jean-Paul Chaput 729844178c Another modif. 2010-05-17 15:46:21 +00:00
Jean-Paul Chaput e671371443 Small corrections in version & release numbers. 2010-05-17 15:37:30 +00:00
Jean-Paul Chaput 9ac035bb49 * ./goodies:
- New: In buildCoriolis.py, support to build rpm packages (in user's "rpm"
        directory).
    - Added: coriolis2.spec.in for rpm building. Install under /opt/coriolis2.
        This spec files has the particularity to also buildup a binary tarball
        of the compiled & installed files, this avoid a second complete build
        stage. The tarball is put into "rpm/SOURCES".
2010-05-17 14:45:55 +00:00
Damien Dupuis 3401114216 Do not forget to call "make" in command of self._doBuild 2010-05-17 08:20:02 +00:00
Jean-Paul Chaput 4fcd26a6bf * All tools:
- Change: In the CMakeLists.txt, in all the install commands remove all
        the leading "/" as they prevents the CMAKE_INSTALL_PREFIX to be took
        into account. It was nevertheless working because buildCoriolis.py was
        using DESTDIR which is prepended anyway.
  * ./goodies:
    - Change: In buildCoriolis.py, no longer uses the DESTDIR but instead
        CMAKE_INSTALL_PREFIX.
2010-05-16 16:41:25 +00:00
Jean-Paul Chaput 17ac99fa46 * ./goodies:
- New: In buildCoriolis.py, adds a "--rm-build" option which removes the
        tool's build directory before building it. A very crude way to ensure
        that nothing obsolete form a previous build will gets in the way...
2010-04-28 15:54:30 +00:00
The Coriolis Project ffc3fb7eee bug correction : coriolis.soc.lip6.fr 2010-04-27 14:19:10 +00:00
Jean-Paul Chaput ca8de0d706 Remove methods from project's repositories. 2010-04-20 12:11:26 +00:00
Jean-Paul Chaput 6901b38221 Adds a --svn-method argument (for svn checkout). 2010-04-20 12:05:52 +00:00
Jean-Paul Chaput a52ca4fa3d Flushing stdout & stderr before calling Popen to avoid
messages display desinchronisation.
2010-04-20 11:11:08 +00:00
Jean-Paul Chaput 84f582f2ef * ./goodies:
- Change: In buildCoriolis.py, now manage correctly any combination of
        projects/tools/standalone tools. Standalones tools are always processeds
        last.
2010-04-04 10:19:38 +00:00
Jean-Paul Chaput 3a25248804 * ./goodies:
- Bug: In buildCoriolis.py, when multiple projects where given on the command
        line, only the latest was processed. Now all projects are processeds.
        (in the order given on the command line so watch out!)
2010-04-03 14:06:08 +00:00
Jean-Paul Chaput 3f10d44549 * ./goodies:
- Bug: In buildCoriolis.py, io tool was both declared as belonging to io
        and hurricane project. Removed from Hurricane.
    - Bug: In buildCoriolis.py, exctract correctly the return status of a
        command to return it to the parent process. See Python documentation
        about os.wait() & os.waitpid().
2010-03-26 18:09:30 +00:00
Jean-Paul Chaput b50b492b69 Correct bugs in the svn-checkout command. 2010-03-23 09:36:38 +00:00
Damien Dupuis f56b102584 bug : os.isfile is not correct : os.path.isfile is correct ^^ 2010-03-22 16:38:25 +00:00
Jean-Paul Chaput c42c79a190 * ./goodies :
- Change: In builCoriolis.py, expand the '~' in the root path if needed.
     - Bug: Do not stop if the "--no-cache" option is given but the
         CMakeCache doesn't exists.
2010-03-22 14:13:40 +00:00
Jean-Paul Chaput 860485d7b8 No longer sets the <PROJECT>_USER_TOP if it's not set in the environment. 2010-03-19 16:02:35 +00:00
Jean-Paul Chaput 2d0f027aee Small message between each tool command output. 2010-03-19 14:47:32 +00:00
Jean-Paul Chaput d543c49ceb * All Tools:
- Change: <PROJECT>_SEARCH_PATH are put back into the *first* tool of
         a project.
     - Bug: In HURRICANE_CHECK_MACRO(), the quiet flag was not correctly
         implemented. User ARGV instead of argv (case sensitivity!).
2010-03-19 14:30:21 +00:00
Jean-Paul Chaput 38c5dd899e Bug on quiet. 2010-03-19 10:07:12 +00:00
Jean-Paul Chaput d1bf7ae5c9 Add a "quiet" mode. 2010-03-19 10:05:30 +00:00
Jean-Paul Chaput 6857328dfe Do not stop when a tool directory is missing (all svn flavors). 2010-03-19 10:01:54 +00:00