mathematical 1.6.14 → 1.6.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -1
- data/Rakefile +31 -21
- data/ext/mathematical/extconf.rb +71 -69
- data/ext/mathematical/lasem/COPYING +118 -99
- data/ext/mathematical/lasem/{NEWS → NEWS.md} +10 -0
- data/ext/mathematical/lasem/README.md +65 -0
- data/ext/mathematical/lasem/docs/lasem-render-0.6.1 +2 -2
- data/ext/mathematical/lasem/docs/meson.build +3 -0
- data/ext/mathematical/lasem/docs/reference/lasem/building.md +32 -0
- data/ext/mathematical/lasem/docs/reference/lasem/lasem.toml.in +47 -0
- data/ext/mathematical/lasem/docs/reference/lasem/meson.build +44 -0
- data/ext/mathematical/lasem/docs/reference/lasem/overview.md +24 -0
- data/ext/mathematical/lasem/docs/reference/lasem/urlmap.js +5 -0
- data/ext/mathematical/lasem/itex2mml/README.itex2MML +5 -2
- data/ext/mathematical/lasem/itex2mml/itex2MML.h +10 -10
- data/ext/mathematical/lasem/itex2mml/itex2MML.l +126 -27
- data/ext/mathematical/lasem/itex2mml/itex2MML.y +262 -99
- data/ext/mathematical/lasem/itex2mml/meson.build +17 -0
- data/ext/mathematical/lasem/lasem.doap +7 -7
- data/ext/mathematical/lasem/meson.build +46 -0
- data/ext/mathematical/lasem/meson_options.txt +5 -0
- data/ext/mathematical/lasem/org.lasem.Viewer.json +41 -0
- data/ext/mathematical/lasem/po/LINGUAS +0 -2
- data/ext/mathematical/lasem/po/eu.po +30 -66
- data/ext/mathematical/lasem/po/meson.build +4 -0
- data/ext/mathematical/lasem/src/lasemrender.c +1 -6
- data/ext/mathematical/lasem/src/lsm.c +2 -0
- data/ext/mathematical/lasem/src/lsmattributes.c +2 -5
- data/ext/mathematical/lasem/src/lsmmathmlglyphtableams.c +71 -7
- data/ext/mathematical/lasem/src/lsmmathmlitexelement.c +7 -5
- data/ext/mathematical/lasem/src/lsmmathmloperatordictionary.c +11 -1
- data/ext/mathematical/lasem/src/lsmmathmloperatordictionary.h +2 -1
- data/ext/mathematical/lasem/src/lsmmathmloperatorelement.c +6 -1
- data/ext/mathematical/lasem/src/lsmmathmlview.c +21 -3
- data/ext/mathematical/lasem/src/lsmmathmlview.h +2 -2
- data/ext/mathematical/lasem/src/lsmmisc.c +15 -0
- data/ext/mathematical/lasem/src/lsmmisc.h +32 -0
- data/ext/mathematical/lasem/src/lsmproperties.c +2 -5
- data/ext/mathematical/lasem/src/lsmsvgfiltersurface.c +6 -3
- data/ext/mathematical/lasem/src/lsmsvgtraits.c +10 -1
- data/ext/mathematical/lasem/src/meson.build +321 -0
- data/ext/mathematical/lasem/subprojects/gi-docgen.wrap +6 -0
- data/ext/mathematical/lasem/tests/data/mathml/tex/misc/array.tex +3 -0
- data/ext/mathematical/lasem/tests/dom.c +0 -6
- data/ext/mathematical/lasem/tests/filter.c +8 -7
- data/ext/mathematical/lasem/tests/lasem.supp +185 -0
- data/ext/mathematical/lasem/tests/lsmtest.c +2 -9
- data/ext/mathematical/lasem/tests/meson.build +39 -0
- data/ext/mathematical/lasem/tests/str.c +0 -4
- data/ext/mathematical/lasem/tests/suite.c +0 -4
- data/ext/mathematical/lasem/viewer/meson.build +17 -0
- data/ext/mathematical/lasem/viewer/viewer.c +248 -0
- data/ext/mathematical/mtex2MML/script/tag +15 -14
- data/ext/mathematical/mtex2MML/src/lexer.l +4 -4
- data/ext/mathematical/mtex2MML/src/mtex2MML.h +7 -7
- data/ext/mathematical/mtex2MML/src/parser.y +5 -5
- data/ext/mathematical/mtex2MML/tests/clar.c +2 -2
- data/ext/mathematical/mtex2MML/tests/deps/trim/package.json +2 -2
- data/lib/mathematical/configuration.rb +8 -4
- data/lib/mathematical/corrections.rb +3 -1
- data/lib/mathematical/validator.rb +11 -8
- data/lib/mathematical/version.rb +3 -1
- data/lib/mathematical.rb +21 -19
- data/mathematical.gemspec +21 -22
- metadata +36 -336
- data/ext/mathematical/lasem/AUTHORS +0 -1
- data/ext/mathematical/lasem/ChangeLog +0 -0
- data/ext/mathematical/lasem/MAINTAINERS +0 -3
- data/ext/mathematical/lasem/Makefile.am +0 -34
- data/ext/mathematical/lasem/Makefile.decl +0 -57
- data/ext/mathematical/lasem/README +0 -28
- data/ext/mathematical/lasem/RELEASING +0 -85
- data/ext/mathematical/lasem/autogen.sh +0 -180
- data/ext/mathematical/lasem/configure.ac +0 -139
- data/ext/mathematical/lasem/docs/Makefile.am +0 -14
- data/ext/mathematical/lasem/docs/reference/Makefile.am +0 -3
- data/ext/mathematical/lasem/docs/reference/lasem/Makefile.am +0 -205
- data/ext/mathematical/lasem/docs/reference/lasem/lasem-docs.xml +0 -75
- data/ext/mathematical/lasem/docs/reference/lasem/lasem-overview.xml +0 -64
- data/ext/mathematical/lasem/docs/reference/lasem/lasem-sections.txt +0 -213
- data/ext/mathematical/lasem/docs/reference/lasem/lasem.types +0 -110
- data/ext/mathematical/lasem/itex2mml/Makefile.am +0 -37
- data/ext/mathematical/lasem/lasem.pc.in +0 -11
- data/ext/mathematical/lasem/m4/introspection.m4 +0 -96
- data/ext/mathematical/lasem/po/ChangeLog +0 -0
- data/ext/mathematical/lasem/po/ro.po +0 -64
- data/ext/mathematical/lasem/src/Makefile.am +0 -349
- data/ext/mathematical/lasem/src/lsmdomenumtypes.c.template +0 -39
- data/ext/mathematical/lasem/src/lsmdomenumtypes.h.template +0 -26
- data/ext/mathematical/lasem/src/lsmmathmlenumtypes.c.template +0 -39
- data/ext/mathematical/lasem/src/lsmmathmlenumtypes.h.template +0 -26
- data/ext/mathematical/lasem/src/lsmsvgenumtypes.c.template +0 -39
- data/ext/mathematical/lasem/src/lsmsvgenumtypes.h.template +0 -26
- data/ext/mathematical/lasem/tests/Makefile.am +0 -34
- data/ext/mathematical/lib/liblasem.dylib +0 -0
- data/ext/mathematical/lib/libmtex2MML.a +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeCache.txt +0 -512
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeCCompiler.cmake +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeCXXCompiler.cmake +0 -88
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeDetermineCompilerABI_C.bin +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeDetermineCompilerABI_CXX.bin +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeSystem.cmake +0 -15
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CompilerIdC/CMakeCCompilerId.c +0 -671
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CompilerIdCXX/CMakeCXXCompilerId.cpp +0 -660
- data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeDirectoryInformation.cmake +0 -16
- data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeError.log +0 -22
- data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeOutput.log +0 -351
- data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeRuleHashes.txt +0 -34
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Makefile.cmake +0 -177
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Makefile2 +0 -1033
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/TargetDirectories.txt +0 -41
- data/ext/mathematical/mtex2MML/build/CMakeFiles/cmake.check_cache +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/DependInfo.cmake +0 -44
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/build.make +0 -206
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/cmake_clean.cmake +0 -20
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/depend.make +0 -2
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/flags.make +0 -10
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/link.txt +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/progress.make +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/C.includecache +0 -244
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/DependInfo.cmake +0 -42
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/build.make +0 -203
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/cmake_clean.cmake +0 -19
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/cmake_clean_target.cmake +0 -3
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/depend.internal +0 -49
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/depend.make +0 -49
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/flags.make +0 -10
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/link.txt +0 -2
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/progress.make +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/DependInfo.cmake +0 -43
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/build.make +0 -217
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/cmake_clean.cmake +0 -20
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/depend.make +0 -2
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/flags.make +0 -10
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/link.txt +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/progress.make +0 -12
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/DependInfo.cmake +0 -59
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/build.make +0 -473
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/cmake_clean.cmake +0 -37
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/depend.make +0 -2
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/flags.make +0 -10
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/link.txt +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/progress.make +0 -29
- data/ext/mathematical/mtex2MML/build/CMakeFiles/progress.marks +0 -1
- data/ext/mathematical/mtex2MML/build/CTestTestfile.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/DartConfiguration.tcl +0 -105
- data/ext/mathematical/mtex2MML/build/Makefile +0 -1485
- data/ext/mathematical/mtex2MML/build/cmake_install.cmake +0 -102
- data/ext/mathematical/mtex2MML/build/lexer.c +0 -8903
- data/ext/mathematical/mtex2MML/build/libmtex2MML.a +0 -0
- data/ext/mathematical/mtex2MML/build/libmtex2MML.pc +0 -10
- data/ext/mathematical/mtex2MML/build/mtex2mml_export.h +0 -42
- data/ext/mathematical/mtex2MML/build/parser.c +0 -10334
- data/ext/mathematical/mtex2MML/build/parser.h +0 -625
- data/ext/mathematical/mtex2MML/build/parser.output +0 -120719
- data/test/mathematical/basic_test.rb +0 -89
- data/test/mathematical/corrections_test.rb +0 -16
- data/test/mathematical/delimiters_test.rb +0 -69
- data/test/mathematical/fixtures/after/backslashes.html +0 -5
- data/test/mathematical/fixtures/after/brackets_display.html +0 -1
- data/test/mathematical/fixtures/after/compliance_accents.html +0 -17
- data/test/mathematical/fixtures/after/compliance_arrows.html +0 -71
- data/test/mathematical/fixtures/after/compliance_colors.html +0 -4
- data/test/mathematical/fixtures/after/compliance_greek_letters.html +0 -42
- data/test/mathematical/fixtures/after/compliance_large_math.html +0 -19
- data/test/mathematical/fixtures/after/compliance_log_symbols.html +0 -34
- data/test/mathematical/fixtures/after/compliance_operators.html +0 -262
- data/test/mathematical/fixtures/after/dollar_sign_inline.html +0 -1
- data/test/mathematical/fixtures/after/equation_display.html +0 -1
- data/test/mathematical/fixtures/after/multiple_dollar_inline.html +0 -1
- data/test/mathematical/fixtures/after/parens_inline.html +0 -1
- data/test/mathematical/fixtures/before/backslashes.text +0 -17
- data/test/mathematical/fixtures/before/brackets_display.text +0 -1
- data/test/mathematical/fixtures/before/compliance_accents.text +0 -17
- data/test/mathematical/fixtures/before/compliance_arrows.text +0 -71
- data/test/mathematical/fixtures/before/compliance_colors.text +0 -4
- data/test/mathematical/fixtures/before/compliance_greek_letters.text +0 -42
- data/test/mathematical/fixtures/before/compliance_large_math.text +0 -19
- data/test/mathematical/fixtures/before/compliance_log_symbols.text +0 -34
- data/test/mathematical/fixtures/before/compliance_operators.text +0 -262
- data/test/mathematical/fixtures/before/dollar_sign_inline.text +0 -1
- data/test/mathematical/fixtures/before/equation_display.text +0 -1
- data/test/mathematical/fixtures/before/multiple_dollar_inline.text +0 -1
- data/test/mathematical/fixtures/before/parens_inline.text +0 -1
- data/test/mathematical/fixtures/performance/big_file.text +0 -1755
- data/test/mathematical/fixtures/png/numeric_test_1.png +0 -0
- data/test/mathematical/fixtures/png/numeric_test_2.png +0 -0
- data/test/mathematical/fixtures/png/numeric_test_3.png +0 -0
- data/test/mathematical/fixtures/png/pmatrix.png +0 -0
- data/test/mathematical/fixtures_test.rb +0 -51
- data/test/mathematical/maliciousness_test.rb +0 -152
- data/test/mathematical/mathjax_test.rb +0 -26
- data/test/mathematical/mathml_test.rb +0 -21
- data/test/mathematical/multiples_test.rb +0 -71
- data/test/mathematical/performance_test.rb +0 -15
- data/test/mathematical/png_test.rb +0 -30
- data/test/test_helper.rb +0 -72
@@ -1,28 +0,0 @@
|
|
1
|
-
Lasem aims to be a C/Gobject based SVG/Mathml renderer and editor, supporting CSS
|
2
|
-
style sheets (only rendering is implemented for now). It uses cairo and pango as
|
3
|
-
it's rendering abstraction layer, and then support numerous output formats: xlib,
|
4
|
-
PNG, SVG, PDF, PS, EPS...
|
5
|
-
|
6
|
-
The API tries to follow the SVG and MathML DOM.
|
7
|
-
|
8
|
-
It currently includes two simple applications:
|
9
|
-
|
10
|
-
lasem-render, which takes a filename as argument and generates either a SVG, a PDF
|
11
|
-
or a PS file, depending on the output file extension. There's a debug mode option
|
12
|
-
(-d) that displays the bounding boxes of elements as blue rectangles, the logical
|
13
|
-
extents of text as red boxes and the ink extents of text as green boxes. It accepts
|
14
|
-
either MathML, Latex maths and SVG input. For the latex input, lasemrender uses
|
15
|
-
the embedded itex2mml library for the conversion to MathML.
|
16
|
-
|
17
|
-
lsm-test, which, if launched without argument, renders recursively all svg and mml
|
18
|
-
files in a directory, and generate an html file which displays the browser
|
19
|
-
rendering, lasem rendering, and if present the reference output. The html
|
20
|
-
filename is lasemtest.xml. It's main use is the rendering of the sample files
|
21
|
-
in the samples directory, by invoking "cd test && ./lsm-test data".
|
22
|
-
|
23
|
-
Requirements:
|
24
|
-
|
25
|
-
gobject, glib, gio, gdk-pixbuf, gdk, cairo, pangocairo, libxml, bison, flex
|
26
|
-
|
27
|
-
For the runtime, the following ttf fonts should be installed: cmr10, cmmi10, cmex10 and cmsy10.
|
28
|
-
They are provided by the lyx-fonts package in fedora, and the ttf-lyx package in debian/ubuntu.
|
@@ -1,85 +0,0 @@
|
|
1
|
-
Here are the steps to follow to create a new lasem release:
|
2
|
-
|
3
|
-
* Ensure that there are no local, uncommitted/unpushed
|
4
|
-
modifications. You're probably in a good state if both "git diff
|
5
|
-
HEAD" and "git log master..origin/master" give no output.
|
6
|
-
|
7
|
-
* Fill out an entry in the NEWS file
|
8
|
-
|
9
|
-
Sift through the logs since the last release. This is most
|
10
|
-
easily done with a command such as:
|
11
|
-
|
12
|
-
git log --stat X.Y.Z..
|
13
|
-
|
14
|
-
where X.Y.Z is the previous release version.
|
15
|
-
|
16
|
-
Summarize major changes briefly in a style similar to other
|
17
|
-
entries in NEWS. Take special care to note any additions in
|
18
|
-
the API. These should be easy to find by noting modifications
|
19
|
-
to .h files in the log command above.
|
20
|
-
|
21
|
-
* Verify that the code passes "make distcheck"
|
22
|
-
|
23
|
-
First, make sure you have 'nm' and 'readelf' commands in PATH.
|
24
|
-
this should be OK with any Linux distro.
|
25
|
-
|
26
|
-
Running "make distcheck" should result in no warnings or
|
27
|
-
errors and end with a message of the form:
|
28
|
-
|
29
|
-
=============================================
|
30
|
-
lasem-X.Y.Z archives ready for distribution:
|
31
|
-
lasem-X.Y.Z.tar.gz
|
32
|
-
=============================================
|
33
|
-
|
34
|
-
(But the tar file isn't actually ready yet, as we still have
|
35
|
-
some more steps to follow).
|
36
|
-
|
37
|
-
* Tag the release; This will allow you to make a branch later if you so desire
|
38
|
-
but for now, at least it make it easy to see what was included in a particular
|
39
|
-
release. The commit message for the tag will be included in a changes file in
|
40
|
-
the release directory.
|
41
|
-
|
42
|
-
$ git tag -a LASEM_X_Y_Z (from whatever branch you're releasing)
|
43
|
-
$ git push origin LASEM_X_Y_Z
|
44
|
-
|
45
|
-
If that fails because someone has pushed since you last updated, then you'll
|
46
|
-
need to repeat the entire process. Well, update, add a new NEWS entry, and
|
47
|
-
make distcheck again.
|
48
|
-
|
49
|
-
* Upload the tarball to ftp.gnome.org, by scp-ing it to master.gnome.org. All
|
50
|
-
module maintainers who wish to be able to upload tarballs should request a
|
51
|
-
shell account at master.gnome.org for this purpose -- see AccountPolicy.
|
52
|
-
Ask someone else to do it for you if you are waiting for an account.
|
53
|
-
|
54
|
-
For example:
|
55
|
-
|
56
|
-
$ scp lasem-0.3.1.tar.gz (user)@master.gnome.org:
|
57
|
-
|
58
|
-
Then ssh into master.gnome.org and call install-module. There are no extra
|
59
|
-
steps required for new modules.
|
60
|
-
|
61
|
-
For example:
|
62
|
-
|
63
|
-
$ ftpadmin install lasem-0.3.1.tar.gz
|
64
|
-
|
65
|
-
This will move the tarball to the appropriate directory, do some additional
|
66
|
-
administrative stuff, and send an email to the ftp-release mailing list so
|
67
|
-
that the release-team will know about it.
|
68
|
-
|
69
|
-
* Increment the version number in configure.ac, and push the change.
|
70
|
-
|
71
|
-
* Send a message to gnome-announce-list@gnome.org to announce the new
|
72
|
-
release adding the excerpt from NEWS, your signature, followed
|
73
|
-
by the standard "What is lasem" and "Where to get more information
|
74
|
-
about lasem" blurbs from README, and finally the shortlog of all
|
75
|
-
changes since last release, generated by:
|
76
|
-
|
77
|
-
git shortlog X.Y.Z...
|
78
|
-
|
79
|
-
where X.Y.Z is the last released version.
|
80
|
-
|
81
|
-
* Edit the lasem wiki to add the announcement to the NEWS page and
|
82
|
-
the front page. (just the parts before your signature).
|
83
|
-
|
84
|
-
(This release procedure is an adaptation of the RELEASING file found in cairo,
|
85
|
-
and of what can be found here: https://wiki.gnome.org/MaintainersCorner/Releasing).
|
@@ -1,180 +0,0 @@
|
|
1
|
-
#!/bin/sh
|
2
|
-
# Run this to generate all the initial makefiles, etc.
|
3
|
-
|
4
|
-
srcdir=`dirname $0`
|
5
|
-
test -z "$srcdir" && srcdir=.
|
6
|
-
|
7
|
-
DIE=0
|
8
|
-
|
9
|
-
if [ -n "$GNOME2_DIR" ]; then
|
10
|
-
ACLOCAL_FLAGS="-I $GNOME2_DIR/share/aclocal $ACLOCAL_FLAGS"
|
11
|
-
LD_LIBRARY_PATH="$GNOME2_DIR/lib:$LD_LIBRARY_PATH"
|
12
|
-
PATH="$GNOME2_DIR/bin:$PATH"
|
13
|
-
export PATH
|
14
|
-
export LD_LIBRARY_PATH
|
15
|
-
fi
|
16
|
-
|
17
|
-
(test -f $srcdir/configure.ac) || {
|
18
|
-
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
|
19
|
-
echo " top-level package directory"
|
20
|
-
exit 1
|
21
|
-
}
|
22
|
-
|
23
|
-
topdir=$(dirname $0)
|
24
|
-
GTKDOCIZE=`which gtkdocize`
|
25
|
-
if test -z $GTKDOCIZE; then
|
26
|
-
echo "*** No gtk-doc support ***"
|
27
|
-
echo "EXTRA_DIST =" > gtk-doc.make
|
28
|
-
else
|
29
|
-
(cd $topdir && gtkdocize) || exit $?
|
30
|
-
# we need to patch gtk-doc.make to support pretty output with
|
31
|
-
# libtool 1.x. Should be fixed in the next version of gtk-doc.
|
32
|
-
# To be more resilient with the various versions of gtk-doc one
|
33
|
-
# can find, just sed gkt-doc.make rather than patch it.
|
34
|
-
sed -e 's#) --mode=compile#) --tag=CC --mode=compile#' gtk-doc.make > gtk-doc.temp \
|
35
|
-
&& mv gtk-doc.temp gtk-doc.make
|
36
|
-
sed -e 's#) --mode=link#) --tag=CC --mode=link#' gtk-doc.make > gtk-doc.temp \
|
37
|
-
&& mv gtk-doc.temp gtk-doc.make
|
38
|
-
fi
|
39
|
-
|
40
|
-
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
|
41
|
-
echo
|
42
|
-
echo "**Error**: You must have \`autoconf' installed."
|
43
|
-
echo "Download the appropriate package for your distribution,"
|
44
|
-
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
|
45
|
-
DIE=1
|
46
|
-
}
|
47
|
-
|
48
|
-
(grep "^IT_PROG_INTLTOOL" $srcdir/configure.ac >/dev/null) && {
|
49
|
-
(intltoolize --version) < /dev/null > /dev/null 2>&1 || {
|
50
|
-
echo
|
51
|
-
echo "**Error**: You must have \`intltool' installed."
|
52
|
-
echo "You can get it from:"
|
53
|
-
echo " ftp://ftp.gnome.org/pub/GNOME/"
|
54
|
-
DIE=1
|
55
|
-
}
|
56
|
-
}
|
57
|
-
|
58
|
-
(grep "^AM_PROG_XML_I18N_TOOLS" $srcdir/configure.ac >/dev/null) && {
|
59
|
-
(xml-i18n-toolize --version) < /dev/null > /dev/null 2>&1 || {
|
60
|
-
echo
|
61
|
-
echo "**Error**: You must have \`xml-i18n-toolize' installed."
|
62
|
-
echo "You can get it from:"
|
63
|
-
echo " ftp://ftp.gnome.org/pub/GNOME/"
|
64
|
-
DIE=1
|
65
|
-
}
|
66
|
-
}
|
67
|
-
|
68
|
-
(grep "^AM_PROG_LIBTOOL" $srcdir/configure.ac >/dev/null) && {
|
69
|
-
(libtool --version) < /dev/null > /dev/null 2>&1 || {
|
70
|
-
echo
|
71
|
-
echo "**Error**: You must have \`libtool' installed."
|
72
|
-
echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/"
|
73
|
-
DIE=1
|
74
|
-
}
|
75
|
-
}
|
76
|
-
|
77
|
-
(grep "^AM_GLIB_GNU_GETTEXT" $srcdir/configure.ac >/dev/null) && {
|
78
|
-
(grep "sed.*POTFILES" $srcdir/configure.ac) > /dev/null || \
|
79
|
-
(glib-gettextize --version) < /dev/null > /dev/null 2>&1 || {
|
80
|
-
echo
|
81
|
-
echo "**Error**: You must have \`glib' installed."
|
82
|
-
echo "You can get it from: ftp://ftp.gtk.org/pub/gtk"
|
83
|
-
DIE=1
|
84
|
-
}
|
85
|
-
}
|
86
|
-
|
87
|
-
(automake --version) < /dev/null > /dev/null 2>&1 || {
|
88
|
-
echo
|
89
|
-
echo "**Error**: You must have \`automake' installed."
|
90
|
-
echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/"
|
91
|
-
DIE=1
|
92
|
-
NO_AUTOMAKE=yes
|
93
|
-
}
|
94
|
-
|
95
|
-
|
96
|
-
# if no automake, don't bother testing for aclocal
|
97
|
-
test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || {
|
98
|
-
echo
|
99
|
-
echo "**Error**: Missing \`aclocal'. The version of \`automake'"
|
100
|
-
echo "installed doesn't appear recent enough."
|
101
|
-
echo "You can get automake from ftp://ftp.gnu.org/pub/gnu/"
|
102
|
-
DIE=1
|
103
|
-
}
|
104
|
-
|
105
|
-
if test "$DIE" -eq 1; then
|
106
|
-
exit 1
|
107
|
-
fi
|
108
|
-
|
109
|
-
if test -z "$*"; then
|
110
|
-
echo "**Warning**: I am going to run \`configure' with no arguments."
|
111
|
-
echo "If you wish to pass any to it, please specify them on the"
|
112
|
-
echo \`$0\'" command line."
|
113
|
-
echo
|
114
|
-
fi
|
115
|
-
|
116
|
-
case $CC in
|
117
|
-
xlc )
|
118
|
-
am_opt=--include-deps;;
|
119
|
-
esac
|
120
|
-
|
121
|
-
for coin in `find $srcdir -path $srcdir/CVS -prune -o -name configure.ac -print`
|
122
|
-
do
|
123
|
-
dr=`dirname $coin`
|
124
|
-
if test -f $dr/NO-AUTO-GEN; then
|
125
|
-
echo skipping $dr -- flagged as no auto-gen
|
126
|
-
else
|
127
|
-
echo processing $dr
|
128
|
-
( cd $dr
|
129
|
-
|
130
|
-
aclocalinclude="$ACLOCAL_FLAGS"
|
131
|
-
|
132
|
-
if grep "^AM_GLIB_GNU_GETTEXT" configure.ac >/dev/null; then
|
133
|
-
echo "Creating $dr/aclocal.m4 ..."
|
134
|
-
test -r $dr/aclocal.m4 || touch $dr/aclocal.m4
|
135
|
-
echo "Running glib-gettextize... Ignore non-fatal messages."
|
136
|
-
echo "no" | glib-gettextize --force --copy
|
137
|
-
echo "Making $dr/aclocal.m4 writable ..."
|
138
|
-
test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4
|
139
|
-
fi
|
140
|
-
if grep "^IT_PROG_INTLTOOL" configure.ac >/dev/null; then
|
141
|
-
echo "Running intltoolize..."
|
142
|
-
intltoolize --copy --force --automake
|
143
|
-
fi
|
144
|
-
if grep "^AM_PROG_XML_I18N_TOOLS" configure.ac >/dev/null; then
|
145
|
-
echo "Running xml-i18n-toolize..."
|
146
|
-
xml-i18n-toolize --copy --force --automake
|
147
|
-
fi
|
148
|
-
if grep "^LT_INIT" configure.ac >/dev/null; then
|
149
|
-
if test -z "$NO_LIBTOOLIZE" ; then
|
150
|
-
echo "Running libtoolize..."
|
151
|
-
if ["`uname`" = "Darwin"]; then
|
152
|
-
glibtoolize --force --copy
|
153
|
-
else
|
154
|
-
libtoolize --force --copy
|
155
|
-
fi
|
156
|
-
fi
|
157
|
-
fi
|
158
|
-
echo "Running aclocal $aclocalinclude ..."
|
159
|
-
aclocal $aclocalinclude
|
160
|
-
if grep "^AC_CONFIG_HEADERS" configure.ac >/dev/null; then
|
161
|
-
echo "Running autoheader..."
|
162
|
-
autoheader
|
163
|
-
fi
|
164
|
-
echo "Running automake --gnu $am_opt ..."
|
165
|
-
automake --add-missing --gnu $am_opt
|
166
|
-
echo "Running autoconf ..."
|
167
|
-
autoconf
|
168
|
-
)
|
169
|
-
fi
|
170
|
-
done
|
171
|
-
|
172
|
-
conf_flags="--enable-maintainer-mode"
|
173
|
-
|
174
|
-
if test x$NOCONFIGURE = x; then
|
175
|
-
echo Running $srcdir/configure $conf_flags "$@" ...
|
176
|
-
$srcdir/configure $conf_flags "$@" \
|
177
|
-
&& echo Now type \`make\' to compile. || exit 1
|
178
|
-
else
|
179
|
-
echo Skipping configure process.
|
180
|
-
fi
|
@@ -1,139 +0,0 @@
|
|
1
|
-
AC_PREREQ(2.63.0)
|
2
|
-
|
3
|
-
m4_define([lasem_version_major], [0])
|
4
|
-
m4_define([lasem_version_minor], [5])
|
5
|
-
m4_define([lasem_version_micro], [2])
|
6
|
-
m4_define([lasem_version], [lasem_version_major.lasem_version_minor.lasem_version_micro])
|
7
|
-
|
8
|
-
m4_define([lasem_libtool_current], m4_eval(100 * lasem_version_major + lasem_version_minor))
|
9
|
-
|
10
|
-
AC_INIT([lasem], [lasem_version], [http://bugzilla.gnome.org/], [lasem])
|
11
|
-
|
12
|
-
AM_INIT_AUTOMAKE([-Wno-portability dist-bzip2])
|
13
|
-
AM_MAINTAINER_MODE
|
14
|
-
|
15
|
-
AC_CONFIG_HEADERS([config.h])
|
16
|
-
AC_CONFIG_MACRO_DIR([m4])
|
17
|
-
|
18
|
-
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
|
19
|
-
|
20
|
-
AC_SUBST([LASEM_API_VERSION], [0.6])
|
21
|
-
AC_SUBST([LASEM_API_VERSION_U],[AS_TR_SH([$LASEM_API_VERSION])])
|
22
|
-
AC_SUBST([LASEM_LIBTOOL_VERSION], [lasem_libtool_current:lasem_version_micro:0])
|
23
|
-
|
24
|
-
AC_SEARCH_LIBS([strerror],[cposix])
|
25
|
-
AC_PROG_CC
|
26
|
-
|
27
|
-
AC_HEADER_STDC
|
28
|
-
|
29
|
-
AM_PROG_LEX
|
30
|
-
AC_PROG_YACC
|
31
|
-
|
32
|
-
AC_SUBST(GETTEXT_PACKAGE, lasem-${LASEM_API_VERSION})
|
33
|
-
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
|
34
|
-
AM_GLIB_GNU_GETTEXT
|
35
|
-
IT_PROG_INTLTOOL([0.35.0])
|
36
|
-
|
37
|
-
LT_INIT()
|
38
|
-
|
39
|
-
PKG_CHECK_MODULES(LASEM, [gobject-2.0
|
40
|
-
glib-2.0
|
41
|
-
gio-2.0
|
42
|
-
gdk-pixbuf-2.0 >= 2.16
|
43
|
-
cairo >= 1.2
|
44
|
-
pangocairo >= 1.16.0
|
45
|
-
libxml-2.0])
|
46
|
-
# We use functions from the standard math library; it doesn't have
|
47
|
-
# a pkgconfig file.
|
48
|
-
LASEM_LIBS="${LASEM_LIBS} -lm"
|
49
|
-
|
50
|
-
## this should come after `AC_PROG_CC'
|
51
|
-
ifdef([GNOME_COMPILE_WARNINGS],
|
52
|
-
[GNOME_COMPILE_WARNINGS] CFLAGS="$CFLAGS $WARN_CFLAGS",
|
53
|
-
[]
|
54
|
-
)
|
55
|
-
set_more_warnings=yes
|
56
|
-
if test "$GCC" = yes -a "x$set_more_warnings" != xno; then
|
57
|
-
warning_options="\
|
58
|
-
-Wformat=2 \
|
59
|
-
-Wmissing-format-attribute \
|
60
|
-
-Wextra \
|
61
|
-
-Wundef \
|
62
|
-
-Wstrict-prototypes -Wnested-externs \
|
63
|
-
-Wchar-subscripts -Wwrite-strings \
|
64
|
-
-Wmissing-noreturn \
|
65
|
-
-Wmissing-declarations \
|
66
|
-
-Wcast-align \
|
67
|
-
-Winline \
|
68
|
-
-Waddress-space \
|
69
|
-
-Wbitwise \
|
70
|
-
-Wcast-to-as \
|
71
|
-
-Wno-pointer-sign \
|
72
|
-
-Wdefault-bitfield-sign \
|
73
|
-
-Wdo-while \
|
74
|
-
-Wparen-string \
|
75
|
-
-Wptr-subtraction-blows \
|
76
|
-
-Wreturn-void \
|
77
|
-
-Wtypesign \
|
78
|
-
"
|
79
|
-
# Fine tuning. Some warnings enabled above are a bit too much
|
80
|
-
# (at least for now)
|
81
|
-
warning_options="$warning_options \
|
82
|
-
-Wno-unused-parameter -Wno-sign-compare"
|
83
|
-
# Some warnings which we may want to consider later on but which
|
84
|
-
# trigger too often at the time of writing
|
85
|
-
not_now_please="\
|
86
|
-
-Wpointer-arith \
|
87
|
-
-Wbad-function-cast \
|
88
|
-
-Wswitch-enum \
|
89
|
-
-Wfloat-equal \
|
90
|
-
-Wdeclaration-after-statement \
|
91
|
-
-Wshadow \
|
92
|
-
"
|
93
|
-
for option in $warning_options ; do
|
94
|
-
SAVE_CFLAGS="$CFLAGS"
|
95
|
-
CFLAGS="$CFLAGS $option"
|
96
|
-
AC_MSG_CHECKING([whether gcc understands $option])
|
97
|
-
AC_TRY_COMPILE([], [],
|
98
|
-
has_option=yes,
|
99
|
-
has_option=no,)
|
100
|
-
if test $has_option = no; then
|
101
|
-
CFLAGS="$SAVE_CFLAGS"
|
102
|
-
fi
|
103
|
-
AC_MSG_RESULT($has_option)
|
104
|
-
unset has_option
|
105
|
-
unset SAVE_CFLAGS
|
106
|
-
done
|
107
|
-
unset option
|
108
|
-
fi
|
109
|
-
|
110
|
-
AC_SUBST(LASEM_CFLAGS)
|
111
|
-
AC_SUBST(LASEM_LIBS)
|
112
|
-
|
113
|
-
AC_PATH_PROG(GLIB_MKENUMS, glib-mkenums)
|
114
|
-
|
115
|
-
GOBJECT_INTROSPECTION_CHECK([0.6.7])
|
116
|
-
GTK_DOC_CHECK([1.14],[--flavour no-tmpl])
|
117
|
-
AM_CONDITIONAL([BUILD_GTK_DOC], [test "x$enable_gtk_doc" = "xyes" || test ! -f "autogen.sh"])
|
118
|
-
|
119
|
-
AC_CONFIG_FILES([
|
120
|
-
Makefile
|
121
|
-
itex2mml/Makefile
|
122
|
-
src/Makefile
|
123
|
-
tests/Makefile
|
124
|
-
po/Makefile.in
|
125
|
-
docs/Makefile
|
126
|
-
docs/reference/Makefile
|
127
|
-
docs/reference/lasem/Makefile
|
128
|
-
lasem.pc
|
129
|
-
])
|
130
|
-
AC_OUTPUT
|
131
|
-
|
132
|
-
echo ""
|
133
|
-
echo "Configuration:"
|
134
|
-
echo ""
|
135
|
-
echo " Yacc: ${YACC}"
|
136
|
-
echo " Lex: ${LEX}"
|
137
|
-
echo " Compiler: ${CC}"
|
138
|
-
echo " Compiler flags: ${CFLAGS} ${LASEM_CFLAGS}"
|
139
|
-
echo ""
|
@@ -1,205 +0,0 @@
|
|
1
|
-
include $(top_srcdir)/Makefile.decl
|
2
|
-
|
3
|
-
## Process this file with automake to produce Makefile.in
|
4
|
-
|
5
|
-
# We require automake 1.6 at least.
|
6
|
-
AUTOMAKE_OPTIONS = 1.6
|
7
|
-
|
8
|
-
# This is a blank Makefile.am for using gtk-doc.
|
9
|
-
# Copy this to your project's API docs directory and modify the variables to
|
10
|
-
# suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
|
11
|
-
# of using the various options.
|
12
|
-
|
13
|
-
# The name of the module, e.g. 'glib'.
|
14
|
-
DOC_MODULE=lasem
|
15
|
-
|
16
|
-
# Uncomment for versioned docs and specify the version of the module, e.g. '2'.
|
17
|
-
DOC_MODULE_VERSION=@LASEM_API_VERSION@
|
18
|
-
|
19
|
-
|
20
|
-
# The top-level SGML file. You can change this if you want to.
|
21
|
-
DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml
|
22
|
-
|
23
|
-
# Directories containing the source code, relative to $(srcdir).
|
24
|
-
# gtk-doc will search all .c and .h files beneath these paths
|
25
|
-
# for inline comments documenting functions and macros.
|
26
|
-
# e.g. DOC_SOURCE_DIR=../../../gtk ../../../gdk
|
27
|
-
DOC_SOURCE_DIR=../../../src
|
28
|
-
|
29
|
-
# Extra options to pass to gtkdoc-scangobj. Not normally needed.
|
30
|
-
SCANGOBJ_OPTIONS=
|
31
|
-
|
32
|
-
# Extra options to supply to gtkdoc-scan.
|
33
|
-
# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
|
34
|
-
SCAN_OPTIONS=
|
35
|
-
|
36
|
-
# Extra options to supply to gtkdoc-mkdb.
|
37
|
-
# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
|
38
|
-
MKDB_OPTIONS=--sgml-mode --output-format=xml
|
39
|
-
|
40
|
-
# Extra options to supply to gtkdoc-mktmpl
|
41
|
-
# e.g. MKTMPL_OPTIONS=--only-section-tmpl
|
42
|
-
MKTMPL_OPTIONS=
|
43
|
-
|
44
|
-
# Extra options to supply to gtkdoc-mkhtml
|
45
|
-
MKHTML_OPTIONS=
|
46
|
-
|
47
|
-
# Extra options to supply to gtkdoc-fixref. Not normally needed.
|
48
|
-
# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
|
49
|
-
FIXXREF_OPTIONS=
|
50
|
-
|
51
|
-
# Used for dependencies. The docs will be rebuilt if any of these change.
|
52
|
-
# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
|
53
|
-
# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
|
54
|
-
HFILE_GLOB=$(top_srcdir)/src/*.h
|
55
|
-
CFILE_GLOB=$(top_srcdir)/src/*.c
|
56
|
-
|
57
|
-
# Extra header to include when scanning, which are not under DOC_SOURCE_DIR
|
58
|
-
# e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h
|
59
|
-
EXTRA_HFILES=
|
60
|
-
|
61
|
-
# Header files to ignore when scanning. Use base file name, no paths
|
62
|
-
# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
|
63
|
-
IGNORE_HFILES=\
|
64
|
-
lsmdomenumtypes.h \
|
65
|
-
lsmmathmlenumtypes.h \
|
66
|
-
lsmsvgenumtypes.h \
|
67
|
-
lsmconfig.h \
|
68
|
-
lsm.h \
|
69
|
-
lsmcairo.h \
|
70
|
-
lsmstr.h \
|
71
|
-
lsmdebug.h \
|
72
|
-
lsmtraits.h \
|
73
|
-
lsmproperties.h \
|
74
|
-
lsmattributes.h \
|
75
|
-
lsmitex.h \
|
76
|
-
lsmmathml.h \
|
77
|
-
lsmmathmltypes.h \
|
78
|
-
lsmmathmlenums.h \
|
79
|
-
lsmmathmltraits.h \
|
80
|
-
lsmmathmlattributes.h \
|
81
|
-
lsmmathmloperatordictionary.h \
|
82
|
-
lsmmathmldocument.h \
|
83
|
-
lsmmathmlelement.h \
|
84
|
-
lsmmathmlphantomelement.h \
|
85
|
-
lsmmathmlmathelement.h \
|
86
|
-
lsmmathmltableelement.h \
|
87
|
-
lsmmathmltablerowelement.h \
|
88
|
-
lsmmathmlencloseelement.h \
|
89
|
-
lsmmathmltablecellelement.h \
|
90
|
-
lsmmathmlspaceelement.h \
|
91
|
-
lsmmathmlradicalelement.h \
|
92
|
-
lsmmathmlscriptelement.h \
|
93
|
-
lsmmathmlfractionelement.h \
|
94
|
-
lsmmathmlunderoverelement.h \
|
95
|
-
lsmmathmlpresentationtoken.h \
|
96
|
-
lsmmathmloperatorelement.h \
|
97
|
-
lsmmathmlstringelement.h \
|
98
|
-
lsmmathmlpresentationcontainer.h \
|
99
|
-
lsmmathmlstyleelement.h \
|
100
|
-
lsmmathmlrowelement.h \
|
101
|
-
lsmmathmlfencedelement.h \
|
102
|
-
lsmmathmlpaddedelement.h \
|
103
|
-
lsmmathmlerrorelement.h \
|
104
|
-
lsmmathmlactionelement.h \
|
105
|
-
lsmmathmlstyle.h \
|
106
|
-
lsmmathmlview.h \
|
107
|
-
lsmmathmlglyphtableams.h \
|
108
|
-
lsmmathmlalignmarkelement.h \
|
109
|
-
lsmmathmlaligngroupelement.h \
|
110
|
-
lsmmathmlsemanticselement.h \
|
111
|
-
lsmmathmlitexelement.h \
|
112
|
-
lsmmathmlutils.h \
|
113
|
-
lsmmathmllayoututils.h \
|
114
|
-
lsmsvg.h \
|
115
|
-
lsmsvgtypes.h \
|
116
|
-
lsmsvgenums.h \
|
117
|
-
lsmsvgtraits.h \
|
118
|
-
lsmsvgattributes.h \
|
119
|
-
lsmsvgstyle.h \
|
120
|
-
lsmsvgcolors.h \
|
121
|
-
lsmsvglength.h \
|
122
|
-
lsmsvgview.h \
|
123
|
-
lsmsvgmatrix.h \
|
124
|
-
lsmsvgdocument.h \
|
125
|
-
lsmsvgelement.h \
|
126
|
-
lsmsvgclippathelement.h \
|
127
|
-
lsmsvgsvgelement.h \
|
128
|
-
lsmsvgtransformable.h \
|
129
|
-
lsmsvgaelement.h \
|
130
|
-
lsmsvggelement.h \
|
131
|
-
lsmsvgdefselement.h \
|
132
|
-
lsmsvguseelement.h \
|
133
|
-
lsmsvgimageelement.h \
|
134
|
-
lsmsvgsymbolelement.h \
|
135
|
-
lsmsvgmarkerelement.h \
|
136
|
-
lsmsvgrectelement.h \
|
137
|
-
lsmsvgcircleelement.h \
|
138
|
-
lsmsvgellipseelement.h \
|
139
|
-
lsmsvglineelement.h \
|
140
|
-
lsmsvgpathelement.h \
|
141
|
-
lsmsvgpolylineelement.h \
|
142
|
-
lsmsvgpolygonelement.h \
|
143
|
-
lsmsvgtextelement.h \
|
144
|
-
lsmsvgtspanelement.h \
|
145
|
-
lsmsvggradientelement.h \
|
146
|
-
lsmsvglineargradientelement.h \
|
147
|
-
lsmsvgradialgradientelement.h \
|
148
|
-
lsmsvgstopelement.h \
|
149
|
-
lsmsvgswitchelement.h \
|
150
|
-
lsmsvgpatternelement.h \
|
151
|
-
lsmsvgmaskelement.h \
|
152
|
-
lsmsvgfilterelement.h \
|
153
|
-
lsmsvgfilterprimitive.h \
|
154
|
-
lsmsvgfilterblend.h \
|
155
|
-
lsmsvgfiltercolormatrix.h \
|
156
|
-
lsmsvgfiltercomposite.h \
|
157
|
-
lsmsvgfilterconvolvematrix.h \
|
158
|
-
lsmsvgfilterdisplacementmap.h \
|
159
|
-
lsmsvgfilterflood.h \
|
160
|
-
lsmsvgfiltergaussianblur.h \
|
161
|
-
lsmsvgfilterimage.h \
|
162
|
-
lsmsvgfilteroffset.h \
|
163
|
-
lsmsvgfiltermerge.h \
|
164
|
-
lsmsvgfiltermergenode.h \
|
165
|
-
lsmsvgfiltermorphology.h \
|
166
|
-
lsmsvgfilterspecularlighting.h \
|
167
|
-
lsmsvgfiltertile.h \
|
168
|
-
lsmsvgfilterturbulence.h \
|
169
|
-
lsmsvgfiltersurface.h
|
170
|
-
|
171
|
-
# Images to copy into HTML directory.
|
172
|
-
# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
|
173
|
-
HTML_IMAGES=
|
174
|
-
|
175
|
-
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
|
176
|
-
# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
|
177
|
-
content_files= \
|
178
|
-
lasem-overview.xml
|
179
|
-
|
180
|
-
# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
|
181
|
-
# These files must be listed here *and* in content_files
|
182
|
-
# e.g. expand_content_files=running.sgml
|
183
|
-
expand_content_files= \
|
184
|
-
lasem-overview.xml
|
185
|
-
|
186
|
-
# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
|
187
|
-
# Only needed if you are using gtkdoc-scangobj to dynamically query widget
|
188
|
-
# signals and properties.
|
189
|
-
# e.g. GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
|
190
|
-
# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
|
191
|
-
GTKDOC_CFLAGS=-I$(top_srcdir)/src $(LASEM_CFLAGS)
|
192
|
-
GTKDOC_LIBS=$(top_builddir)/src/liblasem-@LASEM_API_VERSION@.la $(LASEM_LIBS)
|
193
|
-
|
194
|
-
# This includes the standard gtk-doc make rules, copied by gtkdocize.
|
195
|
-
include $(top_srcdir)/gtk-doc.make
|
196
|
-
|
197
|
-
# Other files to distribute
|
198
|
-
# e.g. EXTRA_DIST += version.xml.in
|
199
|
-
EXTRA_DIST +=
|
200
|
-
|
201
|
-
# Files not to distribute
|
202
|
-
# for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types
|
203
|
-
# for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt
|
204
|
-
|
205
|
-
#TESTS = $(GTKDOC_CHECK)
|