Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
exodus-6.09
  • Loading branch information
fd00 committed Jan 9, 2015
1 parent b13dc3d commit 46e2428
Show file tree
Hide file tree
Showing 8 changed files with 155 additions and 130 deletions.
54 changes: 32 additions & 22 deletions exodus/README
Expand Up @@ -5,38 +5,44 @@ element analyses. It is used for preprocessing, postprocessing, as well as
code to code data transfer. ExodusII is based on netcdf.

Runtime requirements:
cygwin-1.7.17-1
libgcc1-4.5.3-3
libnetcdf7-4.2.1.1-1
cygwin-1.7.33-1
libexodus0-6.09-1bl1
libnetcdf7-4.3.2-2
python-2.7.8-1
python-numpy-1.7.2-1
python3-3.2.5-4
python3-numpy-1.7.2-1

Build requirements:
(besides corresponding -devel packages)
binutils-2.22.51-2
cmake-2.8.9-2
cygport-0.11.2-1
gcc4-core-4.5.3-3
make-3.82.90-1
binutils-2.25-1
cmake-2.8.12.2-3
cygport-0.17.1-1
gcc-core-4.9.2-1
gcc-fortran-4.9.2-1
make-4.0-2

Canonical website:
http://exodusii.sf.net/

Canonical download:
mirror://sourceforge/exodusii/exodus-5.22b.tar.bz2
mirror://sourceforge/exodusii/exodus-6.09.tar.gz

-------------------------------------------

Build instructions:
unpack exodus-5.22b-X-src.tar.bz2
unpack exodus-6.09-X-src.tar.xz
if you use setup to install this src package, it will be
unpacked under /usr/src automatically
unpacked under /usr/src automatically
cd /usr/src
cygport ./exodus-5.22b-X.cygport all
cygport ./exodus-6.09-X.cygport all

This will create:
/usr/src/exodus-5.22b-X-src.tar.bz2
/usr/src/exodus-5.22b-X.tar.bz2
/usr/src/libexoIIv2c0-5.22b-X.tar.bz2
/usr/src/libexoIIv2c-devel-5.22b-X.tar.bz2
/usr/src/exodus-6.09-X-src.tar.xz
/usr/src/exodus-6.09-X.tar.xz
/usr/src/libexodus0-6.09-X.tar.xz
/usr/src/libexodus-devel-6.09-X.tar.xz
/usr/src/python-exodus-6.09-X.tar.xz

-------------------------------------------

Expand All @@ -46,25 +52,29 @@ Files included in the binary package:
/usr/share/doc/Cygwin/exodus.README
/usr/share/doc/exodus/ChangeLog

(libexoIIv2c0)
/usr/bin/cygexoIIv2c-0.dll
(libexodus0)
/usr/bin/cygexoIIv2for-0.dll
/usr/bin/cygexodus-0.dll

(libexoIIv2c-devel)
(libexodus-devel)
/usr/include/exodusII.h
/usr/include/exodusII.inc
/usr/include/exodusII_int.h
/usr/include/exodusII_int.inc
/usr/lib/libexoIIv2c.dll.a
/usr/lib/libexoIIv2for.dll.a
/usr/lib/libexodus.dll.a
/usr/share/doc/exodus/doc.poly.txt
/usr/share/doc/exodus/exodus-face-edge.pdf
/usr/share/doc/exodus/exodus.pdf

(python-exodus)
/usr/lib/python/site-packages/exodus.py

------------------

Port Notes:

----- version 6.09-1bl1 -----
Version bump.

----- version 5.22b-1bl1 -----
Version bump.

Expand Down
38 changes: 0 additions & 38 deletions exodus/exodus-5.22b-1bl1.cygport

This file was deleted.

50 changes: 0 additions & 50 deletions exodus/exodus-5.22b-1bl1.src.patch

This file was deleted.

49 changes: 49 additions & 0 deletions exodus/exodus-6.09-1bl1.cygport
@@ -0,0 +1,49 @@
HOMEPAGE="http://${PN}ii.sf.net/"
SRC_URI="mirror://sourceforge/${PN}ii/${P}.tar.gz"

CATEGORY="Libs"
SUMMARY="Model developed to store and retrieve transient data for finite element analyses"
DESCRIPTION="EXODUS II is a model developed to store and retrieve transient data for finite
element analyses. It is used for preprocessing, postprocessing, as well as
code to code data transfer. ExodusII is based on netcdf."

inherit cmake

CYGCMAKE_SOURCE="${top}/${PF}.${ARCH}/src/${P}/${PN}"

CYGCMAKE_ARGS="
-DBUILD_SHARED:BOOL=ON
-DBUILD_TESTING:BOOL=ON
"

DOCS="
${PN}/doc/*.txt
${PN}/doc/${PN}*.pdf
"

PKG_NAMES="
${PN}
lib${PN}0
lib${PN}-devel
python-${PN}
"
exodus_CONTENTS="
usr/share/doc/Cygwin
usr/share/doc/${PN}/[A-Z]*
"
libexodus0_CONTENTS="
usr/bin
"
libexodus_devel_CONTENTS="
usr/include
usr/lib/lib*
usr/share/doc/${PN}/[a-z]*
"
python_exodus_CONTENTS="
usr/lib/python
"

exodus_SUMMARY="${SUMMARY} (licensing & readmes)"
libexodus0_SUMMARY="${SUMMARY} (runtime)"
libexodus_devel_SUMMARY="${SUMMARY} (development)"
python_exodus_SUMMARY="${SUMMARY} (python bindings)"
74 changes: 74 additions & 0 deletions exodus/exodus-6.09-1bl1.src.patch
@@ -0,0 +1,74 @@
--- origsrc/exodus-6.09/exodus/CMakeLists.txt 2014-10-16 05:20:05.000000000 +0900
+++ src/exodus-6.09/exodus/CMakeLists.txt 2015-01-09 21:16:25.529331600 +0900
@@ -1,9 +1,9 @@
cmake_minimum_required(VERSION 2.6)
PROJECT(ExodusII C CXX Fortran)

-SET(EXODUSII_VERSION_MAJOR "5")
-SET(EXODUSII_VERSION_MINOR "14")
-SET(EXODUSII_VERSION_PATCH "0")
+SET(EXODUSII_VERSION_MAJOR "6")
+SET(EXODUSII_VERSION_MINOR "0")
+SET(EXODUSII_VERSION_PATCH "9")
SET(EXODUSII_VERSION "${EXODUSII_VERSION_MAJOR}.${EXODUSII_VERSION_MINOR}")
SET(EXODUSII_VERSION_FULL "${EXODUSII_VERSION}.${EXODUSII_VERSION_PATCH}")

@@ -22,7 +22,7 @@ find_path( NETCDF_INCLUDE_DIR netcdf.h
$ENV{NETCDF_DIR}/inc
$ENV{NETCDF_DIR}/include
$ENV{NETCDF_DIR}/libsrc
-)
+)

find_library( NETCDF_LIBRARY
NAMES netcdf
@@ -76,6 +76,10 @@ if (PYTHON)

configure_file(${EXODUS_PY_IN} ${EXODUS_PY} @ONLY)

- INSTALL(FILES ${EXODUS_PY} DESTINATION ${PYTHON_INSTALL})
+ INSTALL(FILES ${EXODUS_PY} DESTINATION /usr/lib/python/site-packages)

endif()
+
+if (CYGWIN)
+ set(EXODUS_LIBRARY_PROPERTIES SOVERSION 0)
+endif()
\ No newline at end of file
--- origsrc/exodus-6.09/exodus/cbind/CMakeLists.txt 2014-10-16 05:20:05.000000000 +0900
+++ src/exodus-6.09/exodus/cbind/CMakeLists.txt 2015-01-09 20:45:56.680020800 +0900
@@ -293,7 +293,7 @@ ENDIF(EXODUS_LIBRARY_PROPERTIES)

IF(NOT EXODUS_INSTALL_NO_LIBRARIES)
INSTALL(TARGETS exodus
- RUNTIME DESTINATION lib COMPONENT Runtime
+ RUNTIME DESTINATION bin COMPONENT Runtime
LIBRARY DESTINATION lib COMPONENT Runtime
ARCHIVE DESTINATION lib COMPONENT Development)
INSTALL(FILES ${cbind_HEADERS} DESTINATION include COMPONENT Development)
--- origsrc/exodus-6.09/exodus/forbind/CMakeLists.txt 2014-10-16 05:20:05.000000000 +0900
+++ src/exodus-6.09/exodus/forbind/CMakeLists.txt 2015-01-09 20:46:20.740567700 +0900
@@ -1,4 +1,4 @@
-# Set Mangling by hand
+# Set Mangling by hand
# Assume _name mangling see src/exo_jack.c code for how ADDC_ will be used in
# Fortran mangling
add_definitions (-DADDC_)
@@ -9,7 +9,7 @@ find_path( NETCDF_INCLUDE_DIR netcdf.h
$ENV{NETCDF_DIR}/inc
$ENV{NETCDF_DIR}/include
$ENV{NETCDF_DIR}/libsrc
-)
+)

find_library( NETCDF_LIBRARY
NAMES netcdf
@@ -61,7 +61,7 @@ ENDIF(EXODUS_LIBRARY_PROPERTIES)

IF(NOT EXODUS_INSTALL_NO_LIBRARIES)
INSTALL(TARGETS exoIIv2for
- RUNTIME DESTINATION lib COMPONENT Runtime
+ RUNTIME DESTINATION bin COMPONENT Runtime
LIBRARY DESTINATION lib COMPONENT Runtime
ARCHIVE DESTINATION lib COMPONENT Development)
INSTALL(FILES ${forbind_HEADERS} DESTINATION include COMPONENT Development)
6 changes: 0 additions & 6 deletions exodus/exodus.hint

This file was deleted.

7 changes: 0 additions & 7 deletions exodus/libexoIIv2c-devel.hint

This file was deleted.

7 changes: 0 additions & 7 deletions exodus/libexoIIv2c0.hint

This file was deleted.

0 comments on commit 46e2428

Please sign in to comment.