mathematical 1.4.2 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (149) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +11 -21
  3. data/ext/mathematical/extconf.rb +21 -12
  4. data/ext/mathematical/lasem/Makefile +10 -10
  5. data/ext/mathematical/lasem/docs/Makefile +9 -9
  6. data/ext/mathematical/lasem/docs/reference/Makefile +9 -9
  7. data/ext/mathematical/lasem/docs/reference/lasem/Makefile +15 -9
  8. data/ext/mathematical/lasem/docs/reference/lasem/lasem-decl-list.txt +245 -0
  9. data/ext/mathematical/lasem/docs/reference/lasem/lasem-decl.txt +856 -0
  10. data/ext/mathematical/lasem/docs/reference/lasem/lasem-overrides.txt +0 -0
  11. data/ext/mathematical/lasem/itex2mml/Makefile +9 -9
  12. data/ext/mathematical/lasem/src/Makefile +34 -13
  13. data/ext/mathematical/lasem/src/lasemrender.c +13 -7
  14. data/ext/mathematical/lasem/src/lsmdomenumtypes.c +99 -0
  15. data/ext/mathematical/lasem/src/lsmdomenumtypes.h +26 -0
  16. data/ext/mathematical/lasem/src/lsmmathmlenums.c +24 -0
  17. data/ext/mathematical/lasem/src/lsmmathmlenums.h +12 -1
  18. data/ext/mathematical/lasem/src/lsmmathmlenumtypes.c +793 -0
  19. data/ext/mathematical/lasem/src/lsmmathmlenumtypes.h +96 -0
  20. data/ext/mathematical/lasem/src/lsmmathmlspaceelement.c +14 -0
  21. data/ext/mathematical/lasem/src/lsmmathmlspaceelement.h +1 -1
  22. data/ext/mathematical/lasem/src/lsmmathmltraits.c +24 -0
  23. data/ext/mathematical/lasem/src/lsmmathmltraits.h +1 -0
  24. data/ext/mathematical/lasem/src/lsmsvgattributes.h +50 -0
  25. data/ext/mathematical/lasem/src/lsmsvgdocument.c +18 -0
  26. data/ext/mathematical/lasem/src/lsmsvgenums.c +130 -0
  27. data/ext/mathematical/lasem/src/lsmsvgenums.h +59 -0
  28. data/ext/mathematical/lasem/src/lsmsvgenumtypes.c +1254 -0
  29. data/ext/mathematical/lasem/src/lsmsvgenumtypes.h +129 -0
  30. data/ext/mathematical/lasem/src/lsmsvgfiltercolormatrix.c +115 -0
  31. data/ext/mathematical/lasem/src/lsmsvgfiltercolormatrix.h +58 -0
  32. data/ext/mathematical/lasem/src/lsmsvgfilterconvolvematrix.c +206 -0
  33. data/ext/mathematical/lasem/src/lsmsvgfilterconvolvematrix.h +64 -0
  34. data/ext/mathematical/lasem/src/lsmsvgfilterdisplacementmap.c +124 -0
  35. data/ext/mathematical/lasem/src/lsmsvgfilterdisplacementmap.h +60 -0
  36. data/ext/mathematical/lasem/src/lsmsvgfilterimage.c +167 -0
  37. data/ext/mathematical/lasem/src/lsmsvgfilterimage.h +61 -0
  38. data/ext/mathematical/lasem/src/lsmsvgfiltermorphology.c +116 -0
  39. data/ext/mathematical/lasem/src/lsmsvgfiltermorphology.h +58 -0
  40. data/ext/mathematical/lasem/src/lsmsvgfilterspecularlighting.c +9 -2
  41. data/ext/mathematical/lasem/src/lsmsvgfiltersurface.c +1169 -87
  42. data/ext/mathematical/lasem/src/lsmsvgfiltersurface.h +28 -2
  43. data/ext/mathematical/lasem/src/lsmsvgfilterturbulence.c +142 -0
  44. data/ext/mathematical/lasem/src/lsmsvgfilterturbulence.h +61 -0
  45. data/ext/mathematical/lasem/src/lsmsvgtraits.c +249 -0
  46. data/ext/mathematical/lasem/src/lsmsvgtraits.h +18 -0
  47. data/ext/mathematical/lasem/src/lsmsvgtypes.h +6 -0
  48. data/ext/mathematical/lasem/src/lsmsvgview.c +267 -66
  49. data/ext/mathematical/lasem/src/lsmsvgview.h +23 -0
  50. data/ext/mathematical/lasem/src/lsmtraits.c +53 -1
  51. data/ext/mathematical/lasem/src/lsmtraits.h +2 -0
  52. data/ext/mathematical/lasem/tests/Makefile +26 -15
  53. data/ext/mathematical/lasem/tests/filter.c +152 -0
  54. data/ext/mathematical/lasem/tests/lsmtest.c +34 -30
  55. data/ext/mathematical/lasem/tests/suite.c +5 -2
  56. data/ext/mathematical/lib/libmtex2MML.a +0 -0
  57. data/ext/mathematical/mtex2MML/build/CMakeCache.txt +425 -0
  58. data/ext/mathematical/mtex2MML/build/CMakeFiles/2.8.10.1/CMakeCCompiler.cmake +55 -0
  59. data/ext/mathematical/mtex2MML/build/CMakeFiles/2.8.10.1/CMakeCXXCompiler.cmake +56 -0
  60. data/ext/mathematical/mtex2MML/build/CMakeFiles/2.8.10.1/CMakeSystem.cmake +15 -0
  61. data/ext/mathematical/mtex2MML/build/CMakeFiles/2.8.10.1/CompilerIdC/CMakeCCompilerId.c +393 -0
  62. data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeDirectoryInformation.cmake +16 -0
  63. data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeRuleHashes.txt +34 -0
  64. data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/DependInfo.cmake +27 -0
  65. data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/cmake_clean.cmake +8 -0
  66. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/DependInfo.cmake +27 -0
  67. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/cmake_clean.cmake +8 -0
  68. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/DependInfo.cmake +27 -0
  69. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/cmake_clean.cmake +8 -0
  70. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/DependInfo.cmake +27 -0
  71. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/cmake_clean.cmake +8 -0
  72. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/DependInfo.cmake +27 -0
  73. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/cmake_clean.cmake +8 -0
  74. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/DependInfo.cmake +27 -0
  75. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/cmake_clean.cmake +8 -0
  76. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/DependInfo.cmake +27 -0
  77. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/cmake_clean.cmake +8 -0
  78. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/DependInfo.cmake +27 -0
  79. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/cmake_clean.cmake +8 -0
  80. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/DependInfo.cmake +27 -0
  81. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/cmake_clean.cmake +8 -0
  82. data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/DependInfo.cmake +27 -0
  83. data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/cmake_clean.cmake +8 -0
  84. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/DependInfo.cmake +27 -0
  85. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/cmake_clean.cmake +8 -0
  86. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/DependInfo.cmake +27 -0
  87. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/cmake_clean.cmake +8 -0
  88. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/DependInfo.cmake +27 -0
  89. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/cmake_clean.cmake +8 -0
  90. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/DependInfo.cmake +27 -0
  91. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/cmake_clean.cmake +8 -0
  92. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/DependInfo.cmake +27 -0
  93. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/cmake_clean.cmake +8 -0
  94. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/DependInfo.cmake +27 -0
  95. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/cmake_clean.cmake +8 -0
  96. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/DependInfo.cmake +27 -0
  97. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/cmake_clean.cmake +8 -0
  98. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/DependInfo.cmake +27 -0
  99. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/cmake_clean.cmake +8 -0
  100. data/ext/mathematical/mtex2MML/build/CMakeFiles/Makefile.cmake +95 -0
  101. data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/DependInfo.cmake +27 -0
  102. data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/cmake_clean.cmake +8 -0
  103. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/DependInfo.cmake +27 -0
  104. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/cmake_clean.cmake +8 -0
  105. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/DependInfo.cmake +27 -0
  106. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/cmake_clean.cmake +8 -0
  107. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/DependInfo.cmake +27 -0
  108. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/cmake_clean.cmake +8 -0
  109. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/DependInfo.cmake +27 -0
  110. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/cmake_clean.cmake +8 -0
  111. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/DependInfo.cmake +27 -0
  112. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/cmake_clean.cmake +8 -0
  113. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/DependInfo.cmake +27 -0
  114. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/cmake_clean.cmake +8 -0
  115. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/DependInfo.cmake +27 -0
  116. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/cmake_clean.cmake +8 -0
  117. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/DependInfo.cmake +27 -0
  118. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/cmake_clean.cmake +8 -0
  119. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/DependInfo.cmake +27 -0
  120. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/cmake_clean.cmake +8 -0
  121. data/ext/mathematical/mtex2MML/build/CMakeFiles/TargetDirectories.txt +34 -0
  122. data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/DependInfo.cmake +27 -0
  123. data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/cmake_clean.cmake +8 -0
  124. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/DependInfo.cmake +44 -0
  125. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/cmake_clean.cmake +19 -0
  126. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/link.txt +1 -0
  127. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/DependInfo.cmake +43 -0
  128. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/cmake_clean.cmake +18 -0
  129. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/cmake_clean_target.cmake +3 -0
  130. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/link.txt +2 -0
  131. data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/DependInfo.cmake +27 -0
  132. data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/cmake_clean.cmake +8 -0
  133. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/DependInfo.cmake +44 -0
  134. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/cmake_clean.cmake +19 -0
  135. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/link.txt +1 -0
  136. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/DependInfo.cmake +59 -0
  137. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/cmake_clean.cmake +35 -0
  138. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/link.txt +1 -0
  139. data/ext/mathematical/mtex2MML/build/CTestTestfile.cmake +7 -0
  140. data/ext/mathematical/mtex2MML/build/Makefile +1332 -0
  141. data/ext/mathematical/mtex2MML/build/cmake_install.cmake +43 -0
  142. data/ext/mathematical/mtex2MML/build/lexer.c +8877 -0
  143. data/ext/mathematical/mtex2MML/build/libmtex2MML.a +0 -0
  144. data/ext/mathematical/mtex2MML/build/mtex2mml_export.h +35 -0
  145. data/ext/mathematical/mtex2MML/build/parser.c +10202 -0
  146. data/ext/mathematical/mtex2MML/build/parser.h +619 -0
  147. data/ext/mathematical/mtex2MML/src/mtex2MML.h +1 -1
  148. data/lib/mathematical/version.rb +1 -1
  149. metadata +115 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4576b12d1b564a608a32cef0d71f63a632a3bdc6
4
- data.tar.gz: e8de25578c31dac66b2c0a2d1592723d92ba6c18
3
+ metadata.gz: ffbd446aff2f144f09ebaff13ce6c5bff830a257
4
+ data.tar.gz: b82dbbc07967f1515c716119fc94ebf89043d56c
5
5
  SHA512:
6
- metadata.gz: 662f87b0880f21f7d86c7d00ad96a3aadd15b6c2a4eac333d2ff5b490dcd450a8c08ac0d5089596fd4a0aaf16540dd20d655ba14d090d672a7dbc85d3d79a789
7
- data.tar.gz: 8c05a0e0768b965264dae6df9a0c8338dedb352d05e2ea2486f0953958257776efb164d1471e9cae79fbf41f9c5fbf6f188121ae7710ec58563c5594a217ba5f
6
+ metadata.gz: 9eaf03ea6e56ce7a0b9e9f3b7391caea1146eb384b4fad5188aa3e302747948d2d61608f214603c464ece0bda674ca53860009a6b02774c8d708d6909e65ee53
7
+ data.tar.gz: 2dab048259665b50def9e496f4384c28d0874c583744e963f054c09c7367b6a4e87146e6bf145ed54ed79f7cabdd3ae3edf6f3fc91db90d55ddcea2bcd9dfdf6
data/Rakefile CHANGED
@@ -2,10 +2,13 @@
2
2
 
3
3
  require 'bundler/gem_tasks'
4
4
  require 'rake/testtask'
5
- require 'rbconfig'
6
5
  require 'fileutils'
7
6
  require 'tmpdir'
8
7
 
8
+ LASEM_DIR = File.expand_path(File.join(File.dirname(__FILE__), 'ext', 'mathematical', 'lasem'))
9
+ LASEM_SRC_DIR = File.join(LASEM_DIR, 'src')
10
+ LASEM_LIB_DIR = File.join(LASEM_SRC_DIR, '.libs')
11
+
9
12
  Rake::TestTask.new do |t|
10
13
  t.libs << 'test'
11
14
  t.test_files = FileList['test/**/*_test.rb']
@@ -20,18 +23,18 @@ end
20
23
 
21
24
  Gem::PackageTask.new(spec)
22
25
 
23
- Rake::Task['compile'].enhance do
24
- Rake::Task['destroy_copies'].invoke
25
- end
26
-
27
- Rake::Task['clean'].enhance do
28
- Rake::Task['destroy_copies'].invoke
29
- end
26
+ task :compile => [:set_vars]
30
27
 
31
28
  Rake::Task[:test].prerequisites
32
29
 
33
30
  task default: [:test]
34
31
 
32
+ desc 'Sets necessary environment variables for dynamically linking Lasem'
33
+ task :set_vars do
34
+ ENV['DYLD_LIBRARY_PATH'] = "#{LASEM_LIB_DIR}:#{ENV['DYLD_LIBRARY_PATH']}"
35
+ ENV['LD_LIBRARY_PATH'] = "#{LASEM_LIB_DIR}:#{ENV['LD_LIBRARY_PATH']}"
36
+ end
37
+
35
38
  desc 'Copy samples to gh-pages'
36
39
  task :copy_samples do
37
40
  Dir.mktmpdir do |tmp|
@@ -43,19 +46,6 @@ task :copy_samples do
43
46
  end
44
47
  end
45
48
 
46
- task :destroy_copies do
47
- safe_files = [/extconf.rb/, /mathematical\.(?:c|h)/, /lasem_overrides/, /cairo_callbacks/]
48
- ext_dir = File.join(File.dirname(__FILE__), 'ext', 'mathematical')
49
- Dir.glob("#{ext_dir}/*").select { |f| File.file?(f) }.each do |f|
50
- next if safe_files.any? { |s| f =~ s }
51
- File.delete(f)
52
- end
53
- Dir.glob("#{ext_dir}/{lib,src,test,ext,deps,uthash}").select { |d| FileUtils.rm_rf d }
54
- FileUtils.rm_rf(File.join(ext_dir, 'mtex2MML', 'build'))
55
- FileUtils.rm_rf(File.join(ext_dir, 'lib'))
56
- FileUtils.rm_rf(File.join(ext_dir, 'Testing'))
57
- end
58
-
59
49
  desc 'Pretty format C code'
60
50
  task :format do
61
51
  puts `astyle --indent=spaces=2 --style=1tbs --keep-one-line-blocks \
@@ -4,7 +4,6 @@ require 'rbconfig'
4
4
  HOST_OS = RbConfig::CONFIG['host_os']
5
5
  LIBDIR = RbConfig::CONFIG['libdir']
6
6
  INCLUDEDIR = RbConfig::CONFIG['includedir']
7
- HEADER_DIRS = [INCLUDEDIR]
8
7
 
9
8
  unless find_executable('cmake')
10
9
  $stderr.puts "\n\n\n[ERROR]: cmake is required and not installed. Get it here: http://www.cmake.org/\n\n"
@@ -12,7 +11,9 @@ unless find_executable('cmake')
12
11
  end
13
12
 
14
13
  ROOT_TMP = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'tmp'))
15
- LASEM_DIR = File.expand_path(File.join(File.dirname(__FILE__), 'lasem', 'src'))
14
+ LASEM_DIR = File.expand_path(File.join(File.dirname(__FILE__), 'lasem'))
15
+ LASEM_SRC_DIR = File.join(LASEM_DIR, 'src')
16
+ LASEM_LIB_DIR = File.join(LASEM_SRC_DIR, '.libs')
16
17
  MTEX2MML_DIR = File.expand_path(File.join(File.dirname(__FILE__), 'mtex2MML'))
17
18
  MTEX2MML_BUILD_DIR = File.join(MTEX2MML_DIR, 'build')
18
19
  MTEX2MML_LIB_DIR = File.expand_path(File.join(File.dirname(__FILE__), 'lib'))
@@ -30,11 +31,6 @@ find_header('libxml/parser.h', '/include/libxml2', '/usr/include/libxml2', '/usr
30
31
  find_header('libxml/xpath.h', '/include/libxml2', '/usr/include/libxml2', '/usr/local/include/libxml2')
31
32
  find_header('libxml/xpathInternals.h', '/include/libxml2', '/usr/include/libxml2', '/usr/local/include/libxml2')
32
33
 
33
- # TODO: this is so frakkin' stupid. but I can't seem to get subdirs to compile any other way
34
- # the `destroy_copies` task, immediately after `compile`, will destroy these files
35
- FileUtils.cp_r(Dir.glob("#{LASEM_DIR}/*"), File.dirname(__FILE__))
36
- File.delete(File.join(File.dirname(__FILE__), 'lasemrender.c'))
37
-
38
34
  # TODO: we need to clear out the build dir that's erroneously getting packaged
39
35
  # this causes problems, as Linux installation is expecting OS X output
40
36
  if File.directory?(MTEX2MML_BUILD_DIR) && !File.exist?(ROOT_TMP)
@@ -48,15 +44,28 @@ Dir.chdir(MTEX2MML_BUILD_DIR) do
48
44
  system 'make libmtex2MML_static'
49
45
  end
50
46
 
47
+ # build Lasem library
48
+ # MUST BE DYNAMICALLY LINKED for potential LGPL copyright issues
49
+ Dir.chdir(LASEM_DIR) do
50
+ system './autogen.sh'
51
+ system 'make'
52
+ end
53
+
51
54
  FileUtils.mkdir_p(MTEX2MML_LIB_DIR)
52
55
  FileUtils.cp_r(File.join(MTEX2MML_BUILD_DIR, 'libmtex2MML.a'), MTEX2MML_LIB_DIR)
53
- FileUtils.cp_r(File.join(MTEX2MML_SRC_DIR, 'mtex2MML.h'), File.dirname(__FILE__))
54
56
 
55
- LIB_DIRS = [LIBDIR, MTEX2MML_LIB_DIR]
56
- HEADER_DIRS << MTEX2MML_BUILD_DIR
57
+ LIB_DIRS = [MTEX2MML_LIB_DIR, LASEM_LIB_DIR]
58
+ HEADER_DIRS = [MTEX2MML_SRC_DIR, LASEM_SRC_DIR]
59
+
57
60
  dir_config('mathematical', HEADER_DIRS, LIB_DIRS)
58
61
 
59
- $LDFLAGS << " #{`pkg-config --static --libs glib-2.0 gdk-pixbuf-2.0 cairo pango`.chomp} -lmtex2MML"
60
- $CFLAGS << " #{`pkg-config --cflags glib-2.0 gdk-pixbuf-2.0 cairo pango`.chomp} -I#{LASEM_DIR}"
62
+ unless Dir.exist?(LASEM_LIB_DIR)
63
+ abort 'liblasem is missing.'
64
+ end
65
+
66
+ find_header('mtex2MML.h', MTEX2MML_SRC_DIR)
67
+
68
+ $LDFLAGS << " #{`pkg-config --static --libs glib-2.0 gdk-pixbuf-2.0 cairo pango`.chomp} -lmtex2MML -llasem-0.6"
69
+ $CFLAGS << " -O2 #{`pkg-config --cflags glib-2.0 gdk-pixbuf-2.0 cairo pango`.chomp} -I#{LASEM_DIR}"
61
70
 
62
71
  create_makefile('mathematical/mathematical')
@@ -88,8 +88,8 @@ POST_INSTALL = :
88
88
  NORMAL_UNINSTALL = :
89
89
  PRE_UNINSTALL = :
90
90
  POST_UNINSTALL = :
91
- build_triplet = x86_64-apple-darwin14.3.0
92
- host_triplet = x86_64-apple-darwin14.3.0
91
+ build_triplet = x86_64-apple-darwin14.5.0
92
+ host_triplet = x86_64-apple-darwin14.5.0
93
93
  subdir = .
94
94
  ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
95
95
  am__aclocal_m4_deps = $(top_srcdir)/m4/gtk-doc.m4 \
@@ -197,7 +197,7 @@ DIST_SUBDIRS = $(SUBDIRS)
197
197
  am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
198
198
  $(srcdir)/lasem.pc.in $(top_srcdir)/Makefile.decl AUTHORS \
199
199
  COPYING ChangeLog INSTALL NEWS README TODO compile \
200
- config.guess config.sub install-sh ltmain.sh missing
200
+ config.guess config.sub depcomp install-sh ltmain.sh missing
201
201
  DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
202
202
  distdir = $(PACKAGE)-$(VERSION)
203
203
  top_distdir = $(distdir)
@@ -306,8 +306,8 @@ INTROSPECTION_SCANNER =
306
306
  INTROSPECTION_TYPELIBDIR =
307
307
  LASEM_API_VERSION = 0.6
308
308
  LASEM_API_VERSION_U = 0_6
309
- LASEM_CFLAGS = -D_REENTRANT -I/usr/local/Cellar/gdk-pixbuf/2.30.8/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/libpng/1.6.17/include/libpng16 -I/usr/local/Cellar/pango/1.36.8/include/pango-1.0 -I/usr/local/Cellar/cairo/1.12.16_1/include/cairo -I/usr/local/Cellar/glib/2.44.1/include/glib-2.0 -I/usr/local/Cellar/glib/2.44.1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pixman/0.32.6/include/pixman-1 -I/usr/local/Cellar/fontconfig/2.11.1/include -I/usr/local/Cellar/freetype/2.5.3_1/include/freetype2 -I/usr/local/Cellar/freetype/2.5.5/include/freetype2 -I/usr/local/Cellar/libpng/1.6.17/include/libpng16 -I/opt/X11/include -I/usr/include/libxml2
310
- LASEM_LIBS = -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/Cellar/gdk-pixbuf/2.30.8/lib -L/usr/local/Cellar/pango/1.36.8/lib -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/opt/gettext/lib -L/usr/local/Cellar/cairo/1.12.16_1/lib -lgio-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo -lxml2 -lm
309
+ LASEM_CFLAGS = -D_REENTRANT -I/opt/X11/include/cairo -I/opt/X11/include/pixman-1 -I/opt/X11/include -I/opt/X11/include/freetype2 -I/opt/X11/include/libpng15 -I/opt/X11/include -I/usr/local/Cellar/gdk-pixbuf/2.30.8/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/libpng/1.6.18/include/libpng16 -I/usr/local/Cellar/pango/1.36.8_2/include/pango-1.0 -I/usr/local/Cellar/glib/2.44.1/include/glib-2.0 -I/usr/local/Cellar/glib/2.44.1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/include/libxml2
310
+ LASEM_LIBS = -L/opt/X11/lib -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/Cellar/gdk-pixbuf/2.30.8/lib -L/usr/local/Cellar/pango/1.36.8_2/lib -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/opt/gettext/lib -lgio-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo -lxml2 -lm
311
311
  LASEM_LIBTOOL_VERSION = 5:1:0
312
312
  LD = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
313
313
  LDFLAGS = -L/usr/local/lib
@@ -345,7 +345,7 @@ PACKAGE_VERSION = 0.5.1
345
345
  PATH_SEPARATOR = :
346
346
  PKG_CONFIG = /usr/local/bin/pkg-config
347
347
  PKG_CONFIG_LIBDIR =
348
- PKG_CONFIG_PATH =
348
+ PKG_CONFIG_PATH = /opt/X11/lib/pkgconfig:
349
349
  POFILES =
350
350
  POSUB = po
351
351
  PO_IN_DATADIR_FALSE =
@@ -373,10 +373,10 @@ am__quote =
373
373
  am__tar = $${TAR-tar} chof - "$$tardir"
374
374
  am__untar = $${TAR-tar} xf -
375
375
  bindir = ${exec_prefix}/bin
376
- build = x86_64-apple-darwin14.3.0
376
+ build = x86_64-apple-darwin14.5.0
377
377
  build_alias =
378
378
  build_cpu = x86_64
379
- build_os = darwin14.3.0
379
+ build_os = darwin14.5.0
380
380
  build_vendor = apple
381
381
  builddir = .
382
382
  datadir = ${datarootdir}
@@ -384,10 +384,10 @@ datarootdir = ${prefix}/share
384
384
  docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
385
385
  dvidir = ${docdir}
386
386
  exec_prefix = ${prefix}
387
- host = x86_64-apple-darwin14.3.0
387
+ host = x86_64-apple-darwin14.5.0
388
388
  host_alias =
389
389
  host_cpu = x86_64
390
- host_os = darwin14.3.0
390
+ host_os = darwin14.5.0
391
391
  host_vendor = apple
392
392
  htmldir = ${docdir}
393
393
  includedir = ${prefix}/include
@@ -88,8 +88,8 @@ POST_INSTALL = :
88
88
  NORMAL_UNINSTALL = :
89
89
  PRE_UNINSTALL = :
90
90
  POST_UNINSTALL = :
91
- build_triplet = x86_64-apple-darwin14.3.0
92
- host_triplet = x86_64-apple-darwin14.3.0
91
+ build_triplet = x86_64-apple-darwin14.5.0
92
+ host_triplet = x86_64-apple-darwin14.5.0
93
93
  #am__append_1 = reference
94
94
  subdir = docs
95
95
  ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
@@ -281,8 +281,8 @@ INTROSPECTION_SCANNER =
281
281
  INTROSPECTION_TYPELIBDIR =
282
282
  LASEM_API_VERSION = 0.6
283
283
  LASEM_API_VERSION_U = 0_6
284
- LASEM_CFLAGS = -D_REENTRANT -I/usr/local/Cellar/gdk-pixbuf/2.30.8/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/libpng/1.6.17/include/libpng16 -I/usr/local/Cellar/pango/1.36.8/include/pango-1.0 -I/usr/local/Cellar/cairo/1.12.16_1/include/cairo -I/usr/local/Cellar/glib/2.44.1/include/glib-2.0 -I/usr/local/Cellar/glib/2.44.1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pixman/0.32.6/include/pixman-1 -I/usr/local/Cellar/fontconfig/2.11.1/include -I/usr/local/Cellar/freetype/2.5.3_1/include/freetype2 -I/usr/local/Cellar/freetype/2.5.5/include/freetype2 -I/usr/local/Cellar/libpng/1.6.17/include/libpng16 -I/opt/X11/include -I/usr/include/libxml2
285
- LASEM_LIBS = -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/Cellar/gdk-pixbuf/2.30.8/lib -L/usr/local/Cellar/pango/1.36.8/lib -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/opt/gettext/lib -L/usr/local/Cellar/cairo/1.12.16_1/lib -lgio-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo -lxml2 -lm
284
+ LASEM_CFLAGS = -D_REENTRANT -I/opt/X11/include/cairo -I/opt/X11/include/pixman-1 -I/opt/X11/include -I/opt/X11/include/freetype2 -I/opt/X11/include/libpng15 -I/opt/X11/include -I/usr/local/Cellar/gdk-pixbuf/2.30.8/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/libpng/1.6.18/include/libpng16 -I/usr/local/Cellar/pango/1.36.8_2/include/pango-1.0 -I/usr/local/Cellar/glib/2.44.1/include/glib-2.0 -I/usr/local/Cellar/glib/2.44.1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/include/libxml2
285
+ LASEM_LIBS = -L/opt/X11/lib -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/Cellar/gdk-pixbuf/2.30.8/lib -L/usr/local/Cellar/pango/1.36.8_2/lib -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/opt/gettext/lib -lgio-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo -lxml2 -lm
286
286
  LASEM_LIBTOOL_VERSION = 5:1:0
287
287
  LD = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
288
288
  LDFLAGS = -L/usr/local/lib
@@ -320,7 +320,7 @@ PACKAGE_VERSION = 0.5.1
320
320
  PATH_SEPARATOR = :
321
321
  PKG_CONFIG = /usr/local/bin/pkg-config
322
322
  PKG_CONFIG_LIBDIR =
323
- PKG_CONFIG_PATH =
323
+ PKG_CONFIG_PATH = /opt/X11/lib/pkgconfig:
324
324
  POFILES =
325
325
  POSUB = po
326
326
  PO_IN_DATADIR_FALSE =
@@ -348,10 +348,10 @@ am__quote =
348
348
  am__tar = $${TAR-tar} chof - "$$tardir"
349
349
  am__untar = $${TAR-tar} xf -
350
350
  bindir = ${exec_prefix}/bin
351
- build = x86_64-apple-darwin14.3.0
351
+ build = x86_64-apple-darwin14.5.0
352
352
  build_alias =
353
353
  build_cpu = x86_64
354
- build_os = darwin14.3.0
354
+ build_os = darwin14.5.0
355
355
  build_vendor = apple
356
356
  builddir = .
357
357
  datadir = ${datarootdir}
@@ -359,10 +359,10 @@ datarootdir = ${prefix}/share
359
359
  docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
360
360
  dvidir = ${docdir}
361
361
  exec_prefix = ${prefix}
362
- host = x86_64-apple-darwin14.3.0
362
+ host = x86_64-apple-darwin14.5.0
363
363
  host_alias =
364
364
  host_cpu = x86_64
365
- host_os = darwin14.3.0
365
+ host_os = darwin14.5.0
366
366
  host_vendor = apple
367
367
  htmldir = ${docdir}
368
368
  includedir = ${prefix}/include
@@ -87,8 +87,8 @@ POST_INSTALL = :
87
87
  NORMAL_UNINSTALL = :
88
88
  PRE_UNINSTALL = :
89
89
  POST_UNINSTALL = :
90
- build_triplet = x86_64-apple-darwin14.3.0
91
- host_triplet = x86_64-apple-darwin14.3.0
90
+ build_triplet = x86_64-apple-darwin14.5.0
91
+ host_triplet = x86_64-apple-darwin14.5.0
92
92
  subdir = docs/reference
93
93
  ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
94
94
  am__aclocal_m4_deps = $(top_srcdir)/m4/gtk-doc.m4 \
@@ -251,8 +251,8 @@ INTROSPECTION_SCANNER =
251
251
  INTROSPECTION_TYPELIBDIR =
252
252
  LASEM_API_VERSION = 0.6
253
253
  LASEM_API_VERSION_U = 0_6
254
- LASEM_CFLAGS = -D_REENTRANT -I/usr/local/Cellar/gdk-pixbuf/2.30.8/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/libpng/1.6.17/include/libpng16 -I/usr/local/Cellar/pango/1.36.8/include/pango-1.0 -I/usr/local/Cellar/cairo/1.12.16_1/include/cairo -I/usr/local/Cellar/glib/2.44.1/include/glib-2.0 -I/usr/local/Cellar/glib/2.44.1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pixman/0.32.6/include/pixman-1 -I/usr/local/Cellar/fontconfig/2.11.1/include -I/usr/local/Cellar/freetype/2.5.3_1/include/freetype2 -I/usr/local/Cellar/freetype/2.5.5/include/freetype2 -I/usr/local/Cellar/libpng/1.6.17/include/libpng16 -I/opt/X11/include -I/usr/include/libxml2
255
- LASEM_LIBS = -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/Cellar/gdk-pixbuf/2.30.8/lib -L/usr/local/Cellar/pango/1.36.8/lib -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/opt/gettext/lib -L/usr/local/Cellar/cairo/1.12.16_1/lib -lgio-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo -lxml2 -lm
254
+ LASEM_CFLAGS = -D_REENTRANT -I/opt/X11/include/cairo -I/opt/X11/include/pixman-1 -I/opt/X11/include -I/opt/X11/include/freetype2 -I/opt/X11/include/libpng15 -I/opt/X11/include -I/usr/local/Cellar/gdk-pixbuf/2.30.8/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/libpng/1.6.18/include/libpng16 -I/usr/local/Cellar/pango/1.36.8_2/include/pango-1.0 -I/usr/local/Cellar/glib/2.44.1/include/glib-2.0 -I/usr/local/Cellar/glib/2.44.1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/include/libxml2
255
+ LASEM_LIBS = -L/opt/X11/lib -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/Cellar/gdk-pixbuf/2.30.8/lib -L/usr/local/Cellar/pango/1.36.8_2/lib -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/opt/gettext/lib -lgio-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo -lxml2 -lm
256
256
  LASEM_LIBTOOL_VERSION = 5:1:0
257
257
  LD = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
258
258
  LDFLAGS = -L/usr/local/lib
@@ -290,7 +290,7 @@ PACKAGE_VERSION = 0.5.1
290
290
  PATH_SEPARATOR = :
291
291
  PKG_CONFIG = /usr/local/bin/pkg-config
292
292
  PKG_CONFIG_LIBDIR =
293
- PKG_CONFIG_PATH =
293
+ PKG_CONFIG_PATH = /opt/X11/lib/pkgconfig:
294
294
  POFILES =
295
295
  POSUB = po
296
296
  PO_IN_DATADIR_FALSE =
@@ -318,10 +318,10 @@ am__quote =
318
318
  am__tar = $${TAR-tar} chof - "$$tardir"
319
319
  am__untar = $${TAR-tar} xf -
320
320
  bindir = ${exec_prefix}/bin
321
- build = x86_64-apple-darwin14.3.0
321
+ build = x86_64-apple-darwin14.5.0
322
322
  build_alias =
323
323
  build_cpu = x86_64
324
- build_os = darwin14.3.0
324
+ build_os = darwin14.5.0
325
325
  build_vendor = apple
326
326
  builddir = .
327
327
  datadir = ${datarootdir}
@@ -329,10 +329,10 @@ datarootdir = ${prefix}/share
329
329
  docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
330
330
  dvidir = ${docdir}
331
331
  exec_prefix = ${prefix}
332
- host = x86_64-apple-darwin14.3.0
332
+ host = x86_64-apple-darwin14.5.0
333
333
  host_alias =
334
334
  host_cpu = x86_64
335
- host_os = darwin14.3.0
335
+ host_os = darwin14.5.0
336
336
  host_vendor = apple
337
337
  htmldir = ${docdir}
338
338
  includedir = ${prefix}/include
@@ -93,8 +93,8 @@ POST_INSTALL = :
93
93
  NORMAL_UNINSTALL = :
94
94
  PRE_UNINSTALL = :
95
95
  POST_UNINSTALL = :
96
- build_triplet = x86_64-apple-darwin14.3.0
97
- host_triplet = x86_64-apple-darwin14.3.0
96
+ build_triplet = x86_64-apple-darwin14.5.0
97
+ host_triplet = x86_64-apple-darwin14.5.0
98
98
  subdir = docs/reference/lasem
99
99
  ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
100
100
  am__aclocal_m4_deps = $(top_srcdir)/m4/gtk-doc.m4 \
@@ -198,8 +198,8 @@ INTROSPECTION_SCANNER =
198
198
  INTROSPECTION_TYPELIBDIR =
199
199
  LASEM_API_VERSION = 0.6
200
200
  LASEM_API_VERSION_U = 0_6
201
- LASEM_CFLAGS = -D_REENTRANT -I/usr/local/Cellar/gdk-pixbuf/2.30.8/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/libpng/1.6.17/include/libpng16 -I/usr/local/Cellar/pango/1.36.8/include/pango-1.0 -I/usr/local/Cellar/cairo/1.12.16_1/include/cairo -I/usr/local/Cellar/glib/2.44.1/include/glib-2.0 -I/usr/local/Cellar/glib/2.44.1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pixman/0.32.6/include/pixman-1 -I/usr/local/Cellar/fontconfig/2.11.1/include -I/usr/local/Cellar/freetype/2.5.3_1/include/freetype2 -I/usr/local/Cellar/freetype/2.5.5/include/freetype2 -I/usr/local/Cellar/libpng/1.6.17/include/libpng16 -I/opt/X11/include -I/usr/include/libxml2
202
- LASEM_LIBS = -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/Cellar/gdk-pixbuf/2.30.8/lib -L/usr/local/Cellar/pango/1.36.8/lib -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/opt/gettext/lib -L/usr/local/Cellar/cairo/1.12.16_1/lib -lgio-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo -lxml2 -lm
201
+ LASEM_CFLAGS = -D_REENTRANT -I/opt/X11/include/cairo -I/opt/X11/include/pixman-1 -I/opt/X11/include -I/opt/X11/include/freetype2 -I/opt/X11/include/libpng15 -I/opt/X11/include -I/usr/local/Cellar/gdk-pixbuf/2.30.8/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/libpng/1.6.18/include/libpng16 -I/usr/local/Cellar/pango/1.36.8_2/include/pango-1.0 -I/usr/local/Cellar/glib/2.44.1/include/glib-2.0 -I/usr/local/Cellar/glib/2.44.1/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/include/libxml2
202
+ LASEM_LIBS = -L/opt/X11/lib -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/Cellar/gdk-pixbuf/2.30.8/lib -L/usr/local/Cellar/pango/1.36.8_2/lib -L/usr/local/Cellar/glib/2.44.1/lib -L/usr/local/opt/gettext/lib -lgio-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo -lxml2 -lm
203
203
  LASEM_LIBTOOL_VERSION = 5:1:0
204
204
  LD = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
205
205
  LDFLAGS = -L/usr/local/lib
@@ -237,7 +237,7 @@ PACKAGE_VERSION = 0.5.1
237
237
  PATH_SEPARATOR = :
238
238
  PKG_CONFIG = /usr/local/bin/pkg-config
239
239
  PKG_CONFIG_LIBDIR =
240
- PKG_CONFIG_PATH =
240
+ PKG_CONFIG_PATH = /opt/X11/lib/pkgconfig:
241
241
  POFILES =
242
242
  POSUB = po
243
243
  PO_IN_DATADIR_FALSE =
@@ -265,10 +265,10 @@ am__quote =
265
265
  am__tar = $${TAR-tar} chof - "$$tardir"
266
266
  am__untar = $${TAR-tar} xf -
267
267
  bindir = ${exec_prefix}/bin
268
- build = x86_64-apple-darwin14.3.0
268
+ build = x86_64-apple-darwin14.5.0
269
269
  build_alias =
270
270
  build_cpu = x86_64
271
- build_os = darwin14.3.0
271
+ build_os = darwin14.5.0
272
272
  build_vendor = apple
273
273
  builddir = .
274
274
  datadir = ${datarootdir}
@@ -276,10 +276,10 @@ datarootdir = ${prefix}/share
276
276
  docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
277
277
  dvidir = ${docdir}
278
278
  exec_prefix = ${prefix}
279
- host = x86_64-apple-darwin14.3.0
279
+ host = x86_64-apple-darwin14.5.0
280
280
  host_alias =
281
281
  host_cpu = x86_64
282
- host_os = darwin14.3.0
282
+ host_os = darwin14.5.0
283
283
  host_vendor = apple
284
284
  htmldir = ${docdir}
285
285
  includedir = ${prefix}/include
@@ -461,14 +461,20 @@ IGNORE_HFILES = \
461
461
  lsmsvgfilterelement.h \
462
462
  lsmsvgfilterprimitive.h \
463
463
  lsmsvgfilterblend.h \
464
+ lsmsvgfiltercolormatrix.h \
464
465
  lsmsvgfiltercomposite.h \
466
+ lsmsvgfilterconvolvematrix.h \
467
+ lsmsvgfilterdisplacementmap.h \
465
468
  lsmsvgfilterflood.h \
466
469
  lsmsvgfiltergaussianblur.h \
470
+ lsmsvgfilterimage.h \
467
471
  lsmsvgfilteroffset.h \
468
472
  lsmsvgfiltermerge.h \
469
473
  lsmsvgfiltermergenode.h \
474
+ lsmsvgfiltermorphology.h \
470
475
  lsmsvgfilterspecularlighting.h \
471
476
  lsmsvgfiltertile.h \
477
+ lsmsvgfilterturbulence.h \
472
478
  lsmsvgfiltersurface.h
473
479
 
474
480
 
@@ -0,0 +1,245 @@
1
+ <SECTION>
2
+ <FILE>lsmdomcharacterdata</FILE>
3
+ <TITLE>LsmDomCharacterData</TITLE>
4
+ lsm_dom_character_data_get_data
5
+ lsm_dom_character_data_set_data
6
+ <SUBSECTION Standard>
7
+ LSM_DOM_CHARACTER_DATA
8
+ LSM_DOM_CHARACTER_DATA_CLASS
9
+ LSM_DOM_CHARACTER_DATA_GET_CLASS
10
+ LSM_IS_DOM_CHARACTER_DATA
11
+ LSM_IS_DOM_CHARACTER_DATA_CLASS
12
+ LSM_TYPE_DOM_CHARACTER_DATA
13
+ LsmDomCharacterData
14
+ LsmDomCharacterDataClass
15
+ lsm_dom_character_data_get_type
16
+ </SECTION>
17
+
18
+ <SECTION>
19
+ <FILE>lsmdomdocument</FILE>
20
+ <TITLE>LsmDomDocument</TITLE>
21
+ lsm_dom_document_get_document_element
22
+ lsm_dom_document_create_element
23
+ lsm_dom_document_create_text_node
24
+ lsm_dom_document_create_view
25
+ lsm_dom_document_get_url
26
+ lsm_dom_document_set_url
27
+ lsm_dom_document_set_path
28
+ lsm_dom_document_get_href_data
29
+ <SUBSECTION Standard>
30
+ LSM_DOM_DOCUMENT
31
+ LSM_DOM_DOCUMENT_CLASS
32
+ LSM_DOM_DOCUMENT_GET_CLASS
33
+ LSM_IS_DOM_DOCUMENT
34
+ LSM_IS_DOM_DOCUMENT_CLASS
35
+ LSM_TYPE_DOM_DOCUMENT
36
+ LsmDomDocument
37
+ LsmDomDocumentClass
38
+ lsm_dom_document_get_type
39
+ </SECTION>
40
+
41
+ <SECTION>
42
+ <FILE>lsmdomdocumentfragment</FILE>
43
+ <TITLE>LsmDomDocumentFragment</TITLE>
44
+ lsm_dom_document_fragment_new
45
+ <SUBSECTION Standard>
46
+ LSM_DOM_DOCUMENT_FRAGMENT
47
+ LSM_DOM_DOCUMENT_FRAGMENT_CLASS
48
+ LSM_DOM_DOCUMENT_FRAGMENT_GET_CLASS
49
+ LSM_IS_DOM_DOCUMENT_FRAGMENT
50
+ LSM_IS_DOM_DOCUMENT_FRAGMENT_CLASS
51
+ LSM_TYPE_DOM_DOCUMENT_FRAGMENT
52
+ LsmDomDocumentFragment
53
+ LsmDomDocumentFragmentClass
54
+ lsm_dom_document_fragment_get_type
55
+ </SECTION>
56
+
57
+ <SECTION>
58
+ <FILE>lsmdomelement</FILE>
59
+ <TITLE>LsmDomElement</TITLE>
60
+ lsm_dom_element_get_tag_name
61
+ lsm_dom_element_get_attribute
62
+ lsm_dom_element_set_attribute
63
+ <SUBSECTION Standard>
64
+ LSM_DOM_ELEMENT
65
+ LSM_DOM_ELEMENT_CLASS
66
+ LSM_DOM_ELEMENT_GET_CLASS
67
+ LSM_IS_DOM_ELEMENT
68
+ LSM_IS_DOM_ELEMENT_CLASS
69
+ LSM_TYPE_DOM_ELEMENT
70
+ LsmDomElement
71
+ LsmDomElementClass
72
+ lsm_dom_element_get_type
73
+ </SECTION>
74
+
75
+ <SECTION>
76
+ <FILE>lsmdomentities</FILE>
77
+ lsm_dom_get_entity
78
+ </SECTION>
79
+
80
+ <SECTION>
81
+ <FILE>lsmdomimplementation</FILE>
82
+ LsmDomDocumentCreateFunction
83
+ lsm_dom_implementation_create_document
84
+ lsm_dom_implementation_cleanup
85
+ </SECTION>
86
+
87
+ <SECTION>
88
+ <FILE>lsmdomnamednodemap</FILE>
89
+ <TITLE>LsmDomNamedNodeMap</TITLE>
90
+ lsm_dom_named_node_map_get_named_item
91
+ lsm_dom_named_node_map_set_named_item
92
+ lsm_dom_named_node_map_remove_named_item
93
+ lsm_dom_named_node_map_get_item
94
+ lsm_dom_named_node_map_get_length
95
+ <SUBSECTION Standard>
96
+ LSM_DOM_NAMED_NODE_MAP
97
+ LSM_DOM_NAMED_NODE_MAP_CLASS
98
+ LSM_DOM_NAMED_NODE_MAP_GET_CLASS
99
+ LSM_IS_DOM_NAMED_NODE_MAP
100
+ LSM_IS_DOM_NAMED_NODE_MAP_CLASS
101
+ LSM_TYPE_DOM_NAMED_NODE_MAP
102
+ LsmDomNamedNodeMap
103
+ LsmDomNamedNodeMapClass
104
+ lsm_dom_named_node_map_get_type
105
+ </SECTION>
106
+
107
+ <SECTION>
108
+ <FILE>lsmdomnode</FILE>
109
+ <TITLE>LsmDomNode</TITLE>
110
+ LsmDomNodeType
111
+ lsm_dom_node_get_node_name
112
+ lsm_dom_node_get_node_value
113
+ lsm_dom_node_set_node_value
114
+ lsm_dom_node_get_node_type
115
+ lsm_dom_node_get_parent_node
116
+ lsm_dom_node_get_child_nodes
117
+ lsm_dom_node_get_first_child
118
+ lsm_dom_node_get_last_child
119
+ lsm_dom_node_get_previous_sibling
120
+ lsm_dom_node_get_next_sibling
121
+ lsm_dom_node_get_attributes
122
+ lsm_dom_node_insert_before
123
+ lsm_dom_node_replace_child
124
+ lsm_dom_node_append_child
125
+ lsm_dom_node_remove_child
126
+ lsm_dom_node_has_child_nodes
127
+ lsm_dom_node_changed
128
+ lsm_dom_node_get_owner_document
129
+ lsm_dom_node_write_to_stream
130
+ <SUBSECTION Standard>
131
+ LSM_DOM_NODE
132
+ LSM_DOM_NODE_CLASS
133
+ LSM_DOM_NODE_GET_CLASS
134
+ LSM_IS_DOM_NODE
135
+ LSM_IS_DOM_NODE_CLASS
136
+ LSM_TYPE_DOM_NODE
137
+ LsmDomNode
138
+ LsmDomNodeClass
139
+ lsm_dom_node_get_type
140
+ </SECTION>
141
+
142
+ <SECTION>
143
+ <FILE>lsmdomnodelist</FILE>
144
+ <TITLE>LsmDomNodeList</TITLE>
145
+ lsm_dom_node_list_get_item
146
+ lsm_dom_node_list_get_length
147
+ <SUBSECTION Standard>
148
+ LSM_DOM_NODE_LIST
149
+ LSM_DOM_NODE_LIST_CLASS
150
+ LSM_DOM_NODE_LIST_GET_CLASS
151
+ LSM_IS_DOM_NODE_LIST
152
+ LSM_IS_DOM_NODE_LIST_CLASS
153
+ LSM_TYPE_DOM_NODE_LIST
154
+ LsmDomNodeList
155
+ LsmDomNodeListClass
156
+ lsm_dom_node_list_get_type
157
+ </SECTION>
158
+
159
+ <SECTION>
160
+ <FILE>lsmdomparser</FILE>
161
+ lsm_dom_document_append_from_memory
162
+ lsm_dom_document_new_from_memory
163
+ lsm_dom_document_new_from_path
164
+ lsm_dom_document_new_from_url
165
+ lsm_dom_document_save_to_stream
166
+ lsm_dom_document_save_to_memory
167
+ lsm_dom_document_save_to_path
168
+ lsm_dom_document_save_to_url
169
+ </SECTION>
170
+
171
+ <SECTION>
172
+ <FILE>lsmdomtext</FILE>
173
+ <TITLE>LsmDomText</TITLE>
174
+ lsm_dom_text_new
175
+ <SUBSECTION Standard>
176
+ LSM_DOM_TEXT
177
+ LSM_DOM_TEXT_CLASS
178
+ LSM_DOM_TEXT_GET_CLASS
179
+ LSM_IS_DOM_TEXT
180
+ LSM_IS_DOM_TEXT_CLASS
181
+ LSM_TYPE_DOM_TEXT
182
+ LsmDomText
183
+ LsmDomTextClass
184
+ lsm_dom_text_get_type
185
+ </SECTION>
186
+
187
+ <SECTION>
188
+ <FILE>lsmdomtypes</FILE>
189
+ LsmDomNamedNodeMap
190
+ LsmDomElement
191
+ LsmDomNode
192
+ LsmDomDocument
193
+ LsmDomNodeList
194
+ LsmDomView
195
+ LsmDomCharacterData
196
+ LsmDomText
197
+ LsmDomDocumentFragment
198
+ </SECTION>
199
+
200
+ <SECTION>
201
+ <FILE>lsmdomview</FILE>
202
+ <TITLE>LsmDomView</TITLE>
203
+ LSM_DOM_VIEW_DEFAULT_RESOLUTION
204
+ LSM_DOM_VIEW_DEFAULT_VIEWBOX_WIDTH
205
+ LSM_DOM_VIEW_DEFAULT_VIEWBOX_HEIGHT
206
+ lsm_dom_view_get_resolution
207
+ lsm_dom_view_set_resolution
208
+ lsm_dom_view_set_viewport
209
+ lsm_dom_view_set_viewport_pixels
210
+ lsm_dom_view_get_viewport
211
+ lsm_dom_view_get_viewport_pixels
212
+ lsm_dom_view_render
213
+ lsm_dom_view_get_size
214
+ lsm_dom_view_get_size_pixels
215
+ lsm_dom_view_set_debug
216
+ lsm_dom_view_set_document
217
+ <SUBSECTION Standard>
218
+ LSM_DOM_VIEW
219
+ LSM_DOM_VIEW_CLASS
220
+ LSM_DOM_VIEW_GET_CLASS
221
+ LSM_IS_DOM_VIEW
222
+ LSM_IS_DOM_VIEW_CLASS
223
+ LSM_TYPE_DOM_VIEW
224
+ LsmDomView
225
+ LsmDomViewClass
226
+ lsm_dom_view_get_type
227
+ </SECTION>
228
+
229
+ <SECTION>
230
+ <FILE>lsmtypes</FILE>
231
+ LsmExtents
232
+ LsmBox
233
+ </SECTION>
234
+
235
+ <SECTION>
236
+ <FILE>lsmutils</FILE>
237
+ <SUBSECTION Standard>
238
+ LSM_TYPE_BOX
239
+ LSM_TYPE_EXTENTS
240
+ LsmBox
241
+ LsmExtents
242
+ lsm_box_get_type
243
+ lsm_extents_get_type
244
+ </SECTION>
245
+