-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(Hopefully) resolved the nightly build.
- Loading branch information
1 parent
4b5da72
commit 253fa56
Showing
245 changed files
with
226,749 additions
and
226,607 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,10 @@ wxMaxima/ | |
acinclude.m4 | ||
texput.log | ||
*.tar.gz.asc | ||
*.exe | ||
*.o | ||
wxMaxima.depend | ||
wxMaxima.layout | ||
*~ | ||
#* | ||
.#* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,36 @@ | ||
Developers: | ||
Andrej Vodopivec <[email protected]> | ||
Ziga Lenarcic <[email protected]> | ||
Doug Ilijev <[email protected]> | ||
Gunter K�nigsmann <[email protected]> | ||
|
||
Patches: | ||
- Sandro Montanari: xml based document (SF-patch 2537150) | ||
- Wolfgang Dautermann | ||
|
||
Building on a Mac | ||
- Tomio Arisaka | ||
|
||
Translators: | ||
- Czeck: Josef Barak | ||
- Danish: Jens Thostrup | ||
- French: Eric Delevaux, Michele Gosse | ||
- German: Harald Geyer, Dieter Kaiser, Gunter K�nigsmann | ||
- Greek: Alkis Akritas, Evgenia Kelepesi-Akritas, Kostantinos Derekas | ||
- Hungarian: Blahota Istv�n | ||
- Italian: Marco Ciampa | ||
- Polish: Rafal Topolnicki | ||
- Portuguese BR: Eduardo M. Kalinowski | ||
- Russian: Vadim V. Zhytnikov, Alexey Beshenov, Max Musatov | ||
- Spanish: Antonio Ull�n, Mario Rodrigues Riotorto | ||
- Ukrainian: Sergey Semerikov | ||
- Chinese TW: Frenk Weng, cw.ahbong | ||
|
||
Artwork: | ||
- Sven Hodapp (http://4pple.de) | ||
- Gunter K�nigsmann (http://www.physikbuch.de) | ||
- The Tango Project | ||
|
||
The Manual | ||
- Gunter K�nigsmann | ||
Developers: | ||
Andrej Vodopivec <[email protected]> | ||
Ziga Lenarcic <[email protected]> | ||
Doug Ilijev <[email protected]> | ||
Gunter K�nigsmann <[email protected]> | ||
Patches: | ||
- Sandro Montanari: xml based document (SF-patch 2537150) | ||
- Wolfgang Dautermann | ||
Building on a Mac | ||
- Tomio Arisaka | ||
Translators: | ||
- Czeck: Josef Barak | ||
- Danish: Jens Thostrup | ||
- French: Eric Delevaux, Michele Gosse | ||
- German: Harald Geyer, Dieter Kaiser, Gunter K�nigsmann | ||
- Greek: Alkis Akritas, Evgenia Kelepesi-Akritas, Kostantinos Derekas | ||
- Hungarian: Blahota Istv�n | ||
- Italian: Marco Ciampa | ||
- Polish: Rafal Topolnicki | ||
- Portuguese BR: Eduardo M. Kalinowski | ||
- Russian: Vadim V. Zhytnikov, Alexey Beshenov, Max Musatov | ||
- Spanish: Antonio Ull�n, Mario Rodrigues Riotorto | ||
- Ukrainian: Sergey Semerikov | ||
- Chinese TW: Frenk Weng, cw.ahbong | ||
Artwork: | ||
- Sven Hodapp (http://4pple.de) | ||
- Gunter K�nigsmann (http://www.physikbuch.de) | ||
- The Tango Project | ||
The Manual | ||
- Gunter K�nigsmann | ||
- Wilson Mixon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,157 +1,157 @@ | ||
cmake_minimum_required(VERSION 3.4) | ||
|
||
project(wxmaxima) | ||
|
||
set(VERSION 18.02.0.unofficial) | ||
set(PACKAGE_VERSION ${VERSION}) | ||
set(GITVERSION ${VERSION}) | ||
set(PACKAGE wxMaxima) | ||
|
||
|
||
# Set a default build type if none was specified | ||
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) | ||
message(STATUS "Setting build type to 'Debug' as none was specified.") | ||
set(CMAKE_BUILD_TYPE Debug CACHE STRING "Choose the type of build." FORCE) | ||
# Set the possible values of build type for cmake-gui | ||
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" | ||
"MinSizeRel" "RelWithDebInfo") | ||
endif() | ||
|
||
|
||
if("${PROJECT_SOURCE_DIR}" STREQUAL "${PROJECT_BINARY_DIR}") | ||
message(WARNING "In-source builds are strongly discouraged. Please make an out-of-source-build instead (which means: run cmake and build the program from a different directory than the one the source package is in).") | ||
endif() | ||
|
||
# should the PDF doku be build from the texinfo source? (requires a TeX installation) | ||
option(BUILD_PDF_DOCUMENTATION "Build the PDF documentation." NO) | ||
|
||
# MacOSX version-min compiler settings | ||
if(MACOSX_VERSION_MIN) | ||
message(STATUS "Compiling with min macosx version ${MACOSX_VERSION_MIN}") | ||
set(CMAKE_CXX_FLAGS -mmacosx-version-min=${MACOSX_VERSION_MIN}) | ||
set(CMAKE_EXE_LINKER_FLAGS -mmacosx-version-min=${MACOSX_VERSION_MIN}) | ||
endif() | ||
|
||
|
||
# Get the git version, if available. | ||
find_package(Git) | ||
if(Git_FOUND) | ||
if(EXISTS "${CMAKE_SOURCE_DIR}/.git") | ||
execute_process(COMMAND ${GIT_EXECUTABLE} rev-parse --short HEAD | ||
OUTPUT_VARIABLE WXMAXIMA_GIT_VERSION | ||
OUTPUT_STRIP_TRAILING_WHITESPACE) | ||
message(STATUS "Building from git development tree, revision: ${WXMAXIMA_GIT_VERSION}") | ||
add_definitions("-DWXMAXIMA_GIT_VERSION=\"${WXMAXIMA_GIT_VERSION}\"") | ||
endif() | ||
endif() | ||
|
||
|
||
add_subdirectory(locales) | ||
add_subdirectory(Doxygen) | ||
add_subdirectory(data) | ||
add_subdirectory(info) | ||
add_subdirectory(src) | ||
|
||
if(WIN32) | ||
install(FILES COPYING README README.md DESTINATION wxMaxima/doc) | ||
install(FILES test/testbench_simple.wxmx test/a.png test/b.png test/c.png test/d.png DESTINATION wxMaxima/data) | ||
else() | ||
install(FILES COPYING README README.md DESTINATION share/wxMaxima) | ||
install(FILES test/testbench_simple.wxmx test/a.png test/b.png test/c.png test/d.png DESTINATION share/wxMaxima) | ||
endif() | ||
|
||
|
||
# allow local execution (./wxmaxima-local) from the build directory without installation | ||
if(UNIX) | ||
file(COPY "${CMAKE_SOURCE_DIR}/src/wxmaxima-local" DESTINATION .) | ||
endif() | ||
# Build Packages | ||
set(CPACK_GENERATOR "TGZ;TBZ2") | ||
if(UNIX AND NOT APPLE) | ||
list(APPEND CPACK_GENERATOR "DEB") # Don't build DEB packages on MacOS | ||
endif() | ||
|
||
# build RPMs only if rpmbuild is installed | ||
find_program(RPMBUILD_EXECUTABLE rpmbuild) | ||
if(NOT RPMBUILD_EXECUTABLE) | ||
message(STATUS "rpmbuild not found - no RPM package will be build with make package.") | ||
else() | ||
message(STATUS "rpmbuild found - RPM package can be build with make package.") | ||
list(APPEND CPACK_GENERATOR "RPM") | ||
endif() | ||
|
||
# Remove install instructions and travis icon from README for binary RPM packages | ||
file(STRINGS "${CMAKE_SOURCE_DIR}/README.md" READMETEXT) | ||
list(FIND READMETEXT "Building wxMaxima from source" LSTART) | ||
list(LENGTH READMETEXT LEND) | ||
math(EXPR LEND "${LEND} - 1") | ||
foreach(loop_var RANGE ${LSTART} ${LEND}) | ||
list(REMOVE_AT READMETEXT ${LSTART}) | ||
endforeach() | ||
list(REMOVE_AT READMETEXT 0) | ||
foreach(line IN LISTS READMETEXT) | ||
string(APPEND multiline "${line}\n") | ||
endforeach() | ||
file(WRITE "${CMAKE_BINARY_DIR}/README.md" ${multiline}) | ||
|
||
|
||
|
||
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "wxMaxima is a GUI for the CAS Maxima") | ||
set(CPACK_PACKAGE_VENDOR "The wxMaxima Team") | ||
set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_BINARY_DIR}/README.md") | ||
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/COPYING") | ||
set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}-${VERSION}") | ||
set(CPACK_PACKAGE_CONTACT "The wxMaxima Team <[email protected]>") | ||
set(CPACK_PACKAGE_SECTION "science") | ||
set(CPACK_PACKAGE_ICON ${CMAKE_SOURCE_DIR}/data/wxmaxima.png) | ||
set(CPACK_PACKAGE_VERSION "${VERSION}") | ||
|
||
|
||
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON) | ||
set(CPACK_DEBIAN_PACKAGE_DEPENDS "maxima, maxima-doc") | ||
set(CPACK_DEBIAN_PACKAGE_SUGGESTS "jsmath-fonts") | ||
|
||
set(CPACK_RPM_PACKAGE_SUGGESTS "jsmath-fonts") | ||
|
||
# Build a tarball | ||
set(CPACK_SOURCE_IGNORE_FILES | ||
"build/" | ||
".git/" | ||
".gitignore" | ||
".gitattributes" | ||
"Doxygen/html/" | ||
"\\\\.gmo$" | ||
"\\\\.mo$" | ||
"~$" | ||
"CPackConfig.cmake" | ||
"CPackSourceConfig.cmake" | ||
"CMakeCache.txt" | ||
"CMakeFiles" | ||
"_CPack_Packages" | ||
"wxmaxima-.*\\\\.tgz$" | ||
"wxmaxima-.*\\\\.deb$" | ||
"wxmaxima-.*\\\\.rpm$" | ||
"wxmaxima-.*\\\\.bz2$" | ||
"wxmaxima-.*\\\\.xz$" | ||
"wxmaxima-.*\\\\.Z$" | ||
"wxmaxima-.*\\\\.gz$" | ||
"${CPACK_SOURCE_IGNORE_FILES}") | ||
|
||
add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source) | ||
|
||
# Debian wants to be able to download a signature of the source package from the | ||
# project's download directory. If it cannot find it it will still work, but will | ||
# issue a warning. For details see | ||
# https://lintian.debian.org/tags/debian-watch-may-check-gpg-signature.html | ||
find_program(gpg NAMES gpg pgp) | ||
add_custom_target(gpg DEPENDS dist | ||
COMMAND ${gpg} --armor --detach-sign ${CPACK_SOURCE_PACKAGE_FILE_NAME}.tar.bz2 | ||
COMMAND ${gpg} --armor --detach-sign ${CPACK_SOURCE_PACKAGE_FILE_NAME}.tar.gz | ||
COMMAND ${gpg} --armor --detach-sign ${CPACK_SOURCE_PACKAGE_FILE_NAME}.tar.xz | ||
COMMAND ${gpg} --armor --detach-sign ${CPACK_SOURCE_PACKAGE_FILE_NAME}.tar.Z) | ||
|
||
|
||
add_custom_target(checksums | ||
${CMAKE_COMMAND} -DVERSION=${VERSION} -DCMAKE_SYSTEM_NAME=${CMAKE_SYSTEM_NAME} -P ${CMAKE_SOURCE_DIR}/checksums.cmake) | ||
|
||
include(CPack) | ||
cmake_minimum_required(VERSION 3.4) | ||
|
||
project(wxmaxima) | ||
|
||
set(VERSION 18.02.0.unofficial) | ||
set(PACKAGE_VERSION ${VERSION}) | ||
set(GITVERSION ${VERSION}) | ||
set(PACKAGE wxMaxima) | ||
|
||
|
||
# Set a default build type if none was specified | ||
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) | ||
message(STATUS "Setting build type to 'Debug' as none was specified.") | ||
set(CMAKE_BUILD_TYPE Debug CACHE STRING "Choose the type of build." FORCE) | ||
# Set the possible values of build type for cmake-gui | ||
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" | ||
"MinSizeRel" "RelWithDebInfo") | ||
endif() | ||
|
||
|
||
if("${PROJECT_SOURCE_DIR}" STREQUAL "${PROJECT_BINARY_DIR}") | ||
message(WARNING "In-source builds are strongly discouraged. Please make an out-of-source-build instead (which means: run cmake and build the program from a different directory than the one the source package is in).") | ||
endif() | ||
|
||
# should the PDF doku be build from the texinfo source? (requires a TeX installation) | ||
option(BUILD_PDF_DOCUMENTATION "Build the PDF documentation." NO) | ||
|
||
# MacOSX version-min compiler settings | ||
if(MACOSX_VERSION_MIN) | ||
message(STATUS "Compiling with min macosx version ${MACOSX_VERSION_MIN}") | ||
set(CMAKE_CXX_FLAGS -mmacosx-version-min=${MACOSX_VERSION_MIN}) | ||
set(CMAKE_EXE_LINKER_FLAGS -mmacosx-version-min=${MACOSX_VERSION_MIN}) | ||
endif() | ||
|
||
|
||
# Get the git version, if available. | ||
find_package(Git) | ||
if(Git_FOUND) | ||
if(EXISTS "${CMAKE_SOURCE_DIR}/.git") | ||
execute_process(COMMAND ${GIT_EXECUTABLE} rev-parse --short HEAD | ||
OUTPUT_VARIABLE WXMAXIMA_GIT_VERSION | ||
OUTPUT_STRIP_TRAILING_WHITESPACE) | ||
message(STATUS "Building from git development tree, revision: ${WXMAXIMA_GIT_VERSION}") | ||
add_definitions("-DWXMAXIMA_GIT_VERSION=\"${WXMAXIMA_GIT_VERSION}\"") | ||
endif() | ||
endif() | ||
|
||
|
||
add_subdirectory(locales) | ||
add_subdirectory(Doxygen) | ||
add_subdirectory(data) | ||
add_subdirectory(info) | ||
add_subdirectory(src) | ||
|
||
if(WIN32) | ||
install(FILES COPYING README README.md DESTINATION wxMaxima/doc) | ||
install(FILES test/testbench_simple.wxmx test/a.png test/b.png test/c.png test/d.png DESTINATION wxMaxima/data) | ||
else() | ||
install(FILES COPYING README README.md DESTINATION share/wxMaxima) | ||
install(FILES test/testbench_simple.wxmx test/a.png test/b.png test/c.png test/d.png DESTINATION share/wxMaxima) | ||
endif() | ||
|
||
|
||
# allow local execution (./wxmaxima-local) from the build directory without installation | ||
if(UNIX) | ||
file(COPY "${CMAKE_SOURCE_DIR}/src/wxmaxima-local" DESTINATION .) | ||
endif() | ||
# Build Packages | ||
set(CPACK_GENERATOR "TGZ;TBZ2") | ||
if(UNIX AND NOT APPLE) | ||
list(APPEND CPACK_GENERATOR "DEB") # Don't build DEB packages on MacOS | ||
endif() | ||
|
||
# build RPMs only if rpmbuild is installed | ||
find_program(RPMBUILD_EXECUTABLE rpmbuild) | ||
if(NOT RPMBUILD_EXECUTABLE) | ||
message(STATUS "rpmbuild not found - no RPM package will be build with make package.") | ||
else() | ||
message(STATUS "rpmbuild found - RPM package can be build with make package.") | ||
list(APPEND CPACK_GENERATOR "RPM") | ||
endif() | ||
|
||
# Remove install instructions and travis icon from README for binary RPM packages | ||
file(STRINGS "${CMAKE_SOURCE_DIR}/README.md" READMETEXT) | ||
list(FIND READMETEXT "Building wxMaxima from source" LSTART) | ||
list(LENGTH READMETEXT LEND) | ||
math(EXPR LEND "${LEND} - 1") | ||
foreach(loop_var RANGE ${LSTART} ${LEND}) | ||
list(REMOVE_AT READMETEXT ${LSTART}) | ||
endforeach() | ||
list(REMOVE_AT READMETEXT 0) | ||
foreach(line IN LISTS READMETEXT) | ||
string(APPEND multiline "${line}\n") | ||
endforeach() | ||
file(WRITE "${CMAKE_BINARY_DIR}/README.md" ${multiline}) | ||
|
||
|
||
|
||
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "wxMaxima is a GUI for the CAS Maxima") | ||
set(CPACK_PACKAGE_VENDOR "The wxMaxima Team") | ||
set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_BINARY_DIR}/README.md") | ||
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/COPYING") | ||
set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}-${VERSION}") | ||
set(CPACK_PACKAGE_CONTACT "The wxMaxima Team <[email protected]>") | ||
set(CPACK_PACKAGE_SECTION "science") | ||
set(CPACK_PACKAGE_ICON ${CMAKE_SOURCE_DIR}/data/wxmaxima.png) | ||
set(CPACK_PACKAGE_VERSION "${VERSION}") | ||
|
||
|
||
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON) | ||
set(CPACK_DEBIAN_PACKAGE_DEPENDS "maxima, maxima-doc") | ||
set(CPACK_DEBIAN_PACKAGE_SUGGESTS "jsmath-fonts") | ||
|
||
set(CPACK_RPM_PACKAGE_SUGGESTS "jsmath-fonts") | ||
|
||
# Build a tarball | ||
set(CPACK_SOURCE_IGNORE_FILES | ||
"build/" | ||
".git/" | ||
".gitignore" | ||
".gitattributes" | ||
"Doxygen/html/" | ||
"\\\\.gmo$" | ||
"\\\\.mo$" | ||
"~$" | ||
"CPackConfig.cmake" | ||
"CPackSourceConfig.cmake" | ||
"CMakeCache.txt" | ||
"CMakeFiles" | ||
"_CPack_Packages" | ||
"wxmaxima-.*\\\\.tgz$" | ||
"wxmaxima-.*\\\\.deb$" | ||
"wxmaxima-.*\\\\.rpm$" | ||
"wxmaxima-.*\\\\.bz2$" | ||
"wxmaxima-.*\\\\.xz$" | ||
"wxmaxima-.*\\\\.Z$" | ||
"wxmaxima-.*\\\\.gz$" | ||
"${CPACK_SOURCE_IGNORE_FILES}") | ||
|
||
add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source) | ||
|
||
# Debian wants to be able to download a signature of the source package from the | ||
# project's download directory. If it cannot find it it will still work, but will | ||
# issue a warning. For details see | ||
# https://lintian.debian.org/tags/debian-watch-may-check-gpg-signature.html | ||
find_program(gpg NAMES gpg pgp) | ||
add_custom_target(gpg DEPENDS dist | ||
COMMAND ${gpg} --armor --detach-sign ${CPACK_SOURCE_PACKAGE_FILE_NAME}.tar.bz2 | ||
COMMAND ${gpg} --armor --detach-sign ${CPACK_SOURCE_PACKAGE_FILE_NAME}.tar.gz | ||
COMMAND ${gpg} --armor --detach-sign ${CPACK_SOURCE_PACKAGE_FILE_NAME}.tar.xz | ||
COMMAND ${gpg} --armor --detach-sign ${CPACK_SOURCE_PACKAGE_FILE_NAME}.tar.Z) | ||
|
||
|
||
add_custom_target(checksums | ||
${CMAKE_COMMAND} -DVERSION=${VERSION} -DCMAKE_SYSTEM_NAME=${CMAKE_SYSTEM_NAME} -P ${CMAKE_SOURCE_DIR}/checksums.cmake) | ||
|
||
include(CPack) |
Oops, something went wrong.