mathematical 1.4.2 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +11 -21
- data/ext/mathematical/extconf.rb +21 -12
- data/ext/mathematical/lasem/Makefile +10 -10
- data/ext/mathematical/lasem/docs/Makefile +9 -9
- data/ext/mathematical/lasem/docs/reference/Makefile +9 -9
- data/ext/mathematical/lasem/docs/reference/lasem/Makefile +15 -9
- data/ext/mathematical/lasem/docs/reference/lasem/lasem-decl-list.txt +245 -0
- data/ext/mathematical/lasem/docs/reference/lasem/lasem-decl.txt +856 -0
- data/ext/mathematical/lasem/docs/reference/lasem/lasem-overrides.txt +0 -0
- data/ext/mathematical/lasem/itex2mml/Makefile +9 -9
- data/ext/mathematical/lasem/src/Makefile +34 -13
- data/ext/mathematical/lasem/src/lasemrender.c +13 -7
- data/ext/mathematical/lasem/src/lsmdomenumtypes.c +99 -0
- data/ext/mathematical/lasem/src/lsmdomenumtypes.h +26 -0
- data/ext/mathematical/lasem/src/lsmmathmlenums.c +24 -0
- data/ext/mathematical/lasem/src/lsmmathmlenums.h +12 -1
- data/ext/mathematical/lasem/src/lsmmathmlenumtypes.c +793 -0
- data/ext/mathematical/lasem/src/lsmmathmlenumtypes.h +96 -0
- data/ext/mathematical/lasem/src/lsmmathmlspaceelement.c +14 -0
- data/ext/mathematical/lasem/src/lsmmathmlspaceelement.h +1 -1
- data/ext/mathematical/lasem/src/lsmmathmltraits.c +24 -0
- data/ext/mathematical/lasem/src/lsmmathmltraits.h +1 -0
- data/ext/mathematical/lasem/src/lsmsvgattributes.h +50 -0
- data/ext/mathematical/lasem/src/lsmsvgdocument.c +18 -0
- data/ext/mathematical/lasem/src/lsmsvgenums.c +130 -0
- data/ext/mathematical/lasem/src/lsmsvgenums.h +59 -0
- data/ext/mathematical/lasem/src/lsmsvgenumtypes.c +1254 -0
- data/ext/mathematical/lasem/src/lsmsvgenumtypes.h +129 -0
- data/ext/mathematical/lasem/src/lsmsvgfiltercolormatrix.c +115 -0
- data/ext/mathematical/lasem/src/lsmsvgfiltercolormatrix.h +58 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterconvolvematrix.c +206 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterconvolvematrix.h +64 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterdisplacementmap.c +124 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterdisplacementmap.h +60 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterimage.c +167 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterimage.h +61 -0
- data/ext/mathematical/lasem/src/lsmsvgfiltermorphology.c +116 -0
- data/ext/mathematical/lasem/src/lsmsvgfiltermorphology.h +58 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterspecularlighting.c +9 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltersurface.c +1169 -87
- data/ext/mathematical/lasem/src/lsmsvgfiltersurface.h +28 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterturbulence.c +142 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterturbulence.h +61 -0
- data/ext/mathematical/lasem/src/lsmsvgtraits.c +249 -0
- data/ext/mathematical/lasem/src/lsmsvgtraits.h +18 -0
- data/ext/mathematical/lasem/src/lsmsvgtypes.h +6 -0
- data/ext/mathematical/lasem/src/lsmsvgview.c +267 -66
- data/ext/mathematical/lasem/src/lsmsvgview.h +23 -0
- data/ext/mathematical/lasem/src/lsmtraits.c +53 -1
- data/ext/mathematical/lasem/src/lsmtraits.h +2 -0
- data/ext/mathematical/lasem/tests/Makefile +26 -15
- data/ext/mathematical/lasem/tests/filter.c +152 -0
- data/ext/mathematical/lasem/tests/lsmtest.c +34 -30
- data/ext/mathematical/lasem/tests/suite.c +5 -2
- data/ext/mathematical/lib/libmtex2MML.a +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeCache.txt +425 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/2.8.10.1/CMakeCCompiler.cmake +55 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/2.8.10.1/CMakeCXXCompiler.cmake +56 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/2.8.10.1/CMakeSystem.cmake +15 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/2.8.10.1/CompilerIdC/CMakeCCompilerId.c +393 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeDirectoryInformation.cmake +16 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeRuleHashes.txt +34 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Makefile.cmake +95 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/TargetDirectories.txt +34 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/DependInfo.cmake +44 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/cmake_clean.cmake +19 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/link.txt +1 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/DependInfo.cmake +43 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/cmake_clean.cmake +18 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/cmake_clean_target.cmake +3 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/link.txt +2 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/DependInfo.cmake +44 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/cmake_clean.cmake +19 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/link.txt +1 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/DependInfo.cmake +59 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/cmake_clean.cmake +35 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/link.txt +1 -0
- data/ext/mathematical/mtex2MML/build/CTestTestfile.cmake +7 -0
- data/ext/mathematical/mtex2MML/build/Makefile +1332 -0
- data/ext/mathematical/mtex2MML/build/cmake_install.cmake +43 -0
- data/ext/mathematical/mtex2MML/build/lexer.c +8877 -0
- data/ext/mathematical/mtex2MML/build/libmtex2MML.a +0 -0
- data/ext/mathematical/mtex2MML/build/mtex2mml_export.h +35 -0
- data/ext/mathematical/mtex2MML/build/parser.c +10202 -0
- data/ext/mathematical/mtex2MML/build/parser.h +619 -0
- data/ext/mathematical/mtex2MML/src/mtex2MML.h +1 -1
- data/lib/mathematical/version.rb +1 -1
- metadata +115 -2
File without changes
|
@@ -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.
|
92
|
-
host_triplet = x86_64-apple-darwin14.
|
91
|
+
build_triplet = x86_64-apple-darwin14.5.0
|
92
|
+
host_triplet = x86_64-apple-darwin14.5.0
|
93
93
|
subdir = itex2mml
|
94
94
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
95
95
|
am__aclocal_m4_deps = $(top_srcdir)/m4/gtk-doc.m4 \
|
@@ -245,8 +245,8 @@ INTROSPECTION_SCANNER =
|
|
245
245
|
INTROSPECTION_TYPELIBDIR =
|
246
246
|
LASEM_API_VERSION = 0.6
|
247
247
|
LASEM_API_VERSION_U = 0_6
|
248
|
-
LASEM_CFLAGS = -D_REENTRANT -I/
|
249
|
-
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.
|
248
|
+
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
|
249
|
+
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
|
250
250
|
LASEM_LIBTOOL_VERSION = 5:1:0
|
251
251
|
LD = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
|
252
252
|
LDFLAGS = -L/usr/local/lib
|
@@ -284,7 +284,7 @@ PACKAGE_VERSION = 0.5.1
|
|
284
284
|
PATH_SEPARATOR = :
|
285
285
|
PKG_CONFIG = /usr/local/bin/pkg-config
|
286
286
|
PKG_CONFIG_LIBDIR =
|
287
|
-
PKG_CONFIG_PATH =
|
287
|
+
PKG_CONFIG_PATH = /opt/X11/lib/pkgconfig:
|
288
288
|
POFILES =
|
289
289
|
POSUB = po
|
290
290
|
PO_IN_DATADIR_FALSE =
|
@@ -312,10 +312,10 @@ am__quote =
|
|
312
312
|
am__tar = $${TAR-tar} chof - "$$tardir"
|
313
313
|
am__untar = $${TAR-tar} xf -
|
314
314
|
bindir = ${exec_prefix}/bin
|
315
|
-
build = x86_64-apple-darwin14.
|
315
|
+
build = x86_64-apple-darwin14.5.0
|
316
316
|
build_alias =
|
317
317
|
build_cpu = x86_64
|
318
|
-
build_os = darwin14.
|
318
|
+
build_os = darwin14.5.0
|
319
319
|
build_vendor = apple
|
320
320
|
builddir = .
|
321
321
|
datadir = ${datarootdir}
|
@@ -323,10 +323,10 @@ datarootdir = ${prefix}/share
|
|
323
323
|
docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
|
324
324
|
dvidir = ${docdir}
|
325
325
|
exec_prefix = ${prefix}
|
326
|
-
host = x86_64-apple-darwin14.
|
326
|
+
host = x86_64-apple-darwin14.5.0
|
327
327
|
host_alias =
|
328
328
|
host_cpu = x86_64
|
329
|
-
host_os = darwin14.
|
329
|
+
host_os = darwin14.5.0
|
330
330
|
host_vendor = apple
|
331
331
|
htmldir = ${docdir}
|
332
332
|
includedir = ${prefix}/include
|
@@ -91,8 +91,8 @@ POST_INSTALL = :
|
|
91
91
|
NORMAL_UNINSTALL = :
|
92
92
|
PRE_UNINSTALL = :
|
93
93
|
POST_UNINSTALL = :
|
94
|
-
build_triplet = x86_64-apple-darwin14.
|
95
|
-
host_triplet = x86_64-apple-darwin14.
|
94
|
+
build_triplet = x86_64-apple-darwin14.5.0
|
95
|
+
host_triplet = x86_64-apple-darwin14.5.0
|
96
96
|
bin_PROGRAMS = lasem-render-0.6$(EXEEXT)
|
97
97
|
#am__append_1 = Lasem-0.6.gir
|
98
98
|
#am__append_2 = $(gir_DATA) $(typelib_DATA)
|
@@ -187,11 +187,14 @@ am__objects_4 = lsmsvgenumtypes.lo lsmsvgenums.lo lsmsvgtraits.lo \
|
|
187
187
|
lsmsvgstopelement.lo lsmsvgswitchelement.lo \
|
188
188
|
lsmsvgpatternelement.lo lsmsvgmaskelement.lo \
|
189
189
|
lsmsvgfilterelement.lo lsmsvgfilterprimitive.lo \
|
190
|
-
lsmsvgfilterblend.lo
|
191
|
-
|
190
|
+
lsmsvgfilterblend.lo lsmsvgfiltercolormatrix.lo \
|
191
|
+
lsmsvgfiltercomposite.lo lsmsvgfilterconvolvematrix.lo \
|
192
|
+
lsmsvgfilterdisplacementmap.lo lsmsvgfilterflood.lo \
|
193
|
+
lsmsvgfiltergaussianblur.lo lsmsvgfilterimage.lo \
|
192
194
|
lsmsvgfilteroffset.lo lsmsvgfiltermerge.lo \
|
193
|
-
lsmsvgfiltermergenode.lo
|
194
|
-
|
195
|
+
lsmsvgfiltermergenode.lo lsmsvgfiltermorphology.lo \
|
196
|
+
lsmsvgfilterspecularlighting.lo lsmsvgfiltertile.lo \
|
197
|
+
lsmsvgfilterturbulence.lo lsmsvgfiltersurface.lo
|
195
198
|
am__objects_5 =
|
196
199
|
am_liblasem_0.6_la_OBJECTS = $(am__objects_1) \
|
197
200
|
$(am__objects_2) $(am__objects_3) $(am__objects_4) \
|
@@ -331,8 +334,8 @@ INTROSPECTION_SCANNER =
|
|
331
334
|
INTROSPECTION_TYPELIBDIR =
|
332
335
|
LASEM_API_VERSION = 0.6
|
333
336
|
LASEM_API_VERSION_U = 0_6
|
334
|
-
LASEM_CFLAGS = -D_REENTRANT -I/
|
335
|
-
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.
|
337
|
+
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
|
338
|
+
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
|
336
339
|
LASEM_LIBTOOL_VERSION = 5:1:0
|
337
340
|
LD = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
|
338
341
|
LDFLAGS = -L/usr/local/lib
|
@@ -370,7 +373,7 @@ PACKAGE_VERSION = 0.5.1
|
|
370
373
|
PATH_SEPARATOR = :
|
371
374
|
PKG_CONFIG = /usr/local/bin/pkg-config
|
372
375
|
PKG_CONFIG_LIBDIR =
|
373
|
-
PKG_CONFIG_PATH =
|
376
|
+
PKG_CONFIG_PATH = /opt/X11/lib/pkgconfig:
|
374
377
|
POFILES =
|
375
378
|
POSUB = po
|
376
379
|
PO_IN_DATADIR_FALSE =
|
@@ -398,10 +401,10 @@ am__quote =
|
|
398
401
|
am__tar = $${TAR-tar} chof - "$$tardir"
|
399
402
|
am__untar = $${TAR-tar} xf -
|
400
403
|
bindir = ${exec_prefix}/bin
|
401
|
-
build = x86_64-apple-darwin14.
|
404
|
+
build = x86_64-apple-darwin14.5.0
|
402
405
|
build_alias =
|
403
406
|
build_cpu = x86_64
|
404
|
-
build_os = darwin14.
|
407
|
+
build_os = darwin14.5.0
|
405
408
|
build_vendor = apple
|
406
409
|
builddir = .
|
407
410
|
datadir = ${datarootdir}
|
@@ -409,10 +412,10 @@ datarootdir = ${prefix}/share
|
|
409
412
|
docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
|
410
413
|
dvidir = ${docdir}
|
411
414
|
exec_prefix = ${prefix}
|
412
|
-
host = x86_64-apple-darwin14.
|
415
|
+
host = x86_64-apple-darwin14.5.0
|
413
416
|
host_alias =
|
414
417
|
host_cpu = x86_64
|
415
|
-
host_os = darwin14.
|
418
|
+
host_os = darwin14.5.0
|
416
419
|
host_vendor = apple
|
417
420
|
htmldir = ${docdir}
|
418
421
|
includedir = ${prefix}/include
|
@@ -576,14 +579,20 @@ LASEM_SVG_SRCS = \
|
|
576
579
|
lsmsvgfilterelement.c \
|
577
580
|
lsmsvgfilterprimitive.c \
|
578
581
|
lsmsvgfilterblend.c \
|
582
|
+
lsmsvgfiltercolormatrix.c \
|
579
583
|
lsmsvgfiltercomposite.c \
|
584
|
+
lsmsvgfilterconvolvematrix.c \
|
585
|
+
lsmsvgfilterdisplacementmap.c \
|
580
586
|
lsmsvgfilterflood.c \
|
581
587
|
lsmsvgfiltergaussianblur.c \
|
588
|
+
lsmsvgfilterimage.c \
|
582
589
|
lsmsvgfilteroffset.c \
|
583
590
|
lsmsvgfiltermerge.c \
|
584
591
|
lsmsvgfiltermergenode.c \
|
592
|
+
lsmsvgfiltermorphology.c \
|
585
593
|
lsmsvgfilterspecularlighting.c \
|
586
594
|
lsmsvgfiltertile.c \
|
595
|
+
lsmsvgfilterturbulence.c \
|
587
596
|
lsmsvgfiltersurface.c
|
588
597
|
|
589
598
|
LASEM_DOM_HDRS = \
|
@@ -694,14 +703,20 @@ LASEM_SVG_HDRS = \
|
|
694
703
|
lsmsvgfilterelement.h \
|
695
704
|
lsmsvgfilterprimitive.h \
|
696
705
|
lsmsvgfilterblend.h \
|
706
|
+
lsmsvgfiltercolormatrix.h \
|
697
707
|
lsmsvgfiltercomposite.h \
|
708
|
+
lsmsvgfilterdisplacementmap.h \
|
709
|
+
lsmsvgfilterconvolvematrix.h \
|
698
710
|
lsmsvgfilterflood.h \
|
699
711
|
lsmsvgfiltergaussianblur.h \
|
712
|
+
lsmsvgfilterimage.h \
|
700
713
|
lsmsvgfilteroffset.h \
|
701
714
|
lsmsvgfiltermerge.h \
|
702
715
|
lsmsvgfiltermergenode.h \
|
716
|
+
lsmsvgfiltermorphology.h \
|
703
717
|
lsmsvgfilterspecularlighting.h \
|
704
718
|
lsmsvgfiltertile.h \
|
719
|
+
lsmsvgfilterturbulence.h \
|
705
720
|
lsmsvgfiltersurface.h
|
706
721
|
|
707
722
|
liblasem_0.6_ladir = $(includedir)/lasem-0.6
|
@@ -936,17 +951,23 @@ include ./$(DEPDIR)/lsmsvgellipseelement.Plo
|
|
936
951
|
include ./$(DEPDIR)/lsmsvgenums.Plo
|
937
952
|
include ./$(DEPDIR)/lsmsvgenumtypes.Plo
|
938
953
|
include ./$(DEPDIR)/lsmsvgfilterblend.Plo
|
954
|
+
include ./$(DEPDIR)/lsmsvgfiltercolormatrix.Plo
|
939
955
|
include ./$(DEPDIR)/lsmsvgfiltercomposite.Plo
|
956
|
+
include ./$(DEPDIR)/lsmsvgfilterconvolvematrix.Plo
|
957
|
+
include ./$(DEPDIR)/lsmsvgfilterdisplacementmap.Plo
|
940
958
|
include ./$(DEPDIR)/lsmsvgfilterelement.Plo
|
941
959
|
include ./$(DEPDIR)/lsmsvgfilterflood.Plo
|
942
960
|
include ./$(DEPDIR)/lsmsvgfiltergaussianblur.Plo
|
961
|
+
include ./$(DEPDIR)/lsmsvgfilterimage.Plo
|
943
962
|
include ./$(DEPDIR)/lsmsvgfiltermerge.Plo
|
944
963
|
include ./$(DEPDIR)/lsmsvgfiltermergenode.Plo
|
964
|
+
include ./$(DEPDIR)/lsmsvgfiltermorphology.Plo
|
945
965
|
include ./$(DEPDIR)/lsmsvgfilteroffset.Plo
|
946
966
|
include ./$(DEPDIR)/lsmsvgfilterprimitive.Plo
|
947
967
|
include ./$(DEPDIR)/lsmsvgfilterspecularlighting.Plo
|
948
968
|
include ./$(DEPDIR)/lsmsvgfiltersurface.Plo
|
949
969
|
include ./$(DEPDIR)/lsmsvgfiltertile.Plo
|
970
|
+
include ./$(DEPDIR)/lsmsvgfilterturbulence.Plo
|
950
971
|
include ./$(DEPDIR)/lsmsvggelement.Plo
|
951
972
|
include ./$(DEPDIR)/lsmsvggradientelement.Plo
|
952
973
|
include ./$(DEPDIR)/lsmsvgimageelement.Plo
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
* Copyright © 2007-
|
2
|
+
* Copyright © 2007-2015 Emmanuel Pacaud
|
3
3
|
*
|
4
4
|
* This library is free software; you can redistribute it and/or
|
5
5
|
* modify it under the terms of the GNU Lesser General Public
|
@@ -104,21 +104,21 @@ int main(int argc, char **argv)
|
|
104
104
|
if (!g_option_context_parse (context, &argc, &argv, &error))
|
105
105
|
{
|
106
106
|
g_option_context_free (context);
|
107
|
-
|
107
|
+
printf ("%s %s\n", _("Option parsing failed:"), error->message);
|
108
108
|
return EXIT_FAILURE;
|
109
109
|
}
|
110
110
|
|
111
111
|
g_option_context_free (context);
|
112
112
|
|
113
113
|
if (option_zoom < 0.0) {
|
114
|
-
|
114
|
+
printf ("%s\n", _("Invalid zoom value"));
|
115
115
|
return EXIT_FAILURE;
|
116
116
|
}
|
117
117
|
|
118
118
|
lsm_debug_enable (option_debug_domains);
|
119
119
|
|
120
120
|
if (option_input_filenames == NULL || g_strv_length (option_input_filenames) > 1) {
|
121
|
-
|
121
|
+
printf ("%s\n", _("Missing input filename"));
|
122
122
|
return EXIT_FAILURE;
|
123
123
|
}
|
124
124
|
|
@@ -129,7 +129,7 @@ int main(int argc, char **argv)
|
|
129
129
|
if (g_ascii_strcasecmp (option_output_file_format, file_formats[format]) == 0)
|
130
130
|
break;
|
131
131
|
if (FORMAT_UNKNOWN == format) {
|
132
|
-
|
132
|
+
printf ("%s %s\n", _("Unknown format:"), option_output_file_format);
|
133
133
|
return EXIT_FAILURE;
|
134
134
|
}
|
135
135
|
} else
|
@@ -168,6 +168,11 @@ int main(int argc, char **argv)
|
|
168
168
|
g_free (directory);
|
169
169
|
}
|
170
170
|
|
171
|
+
if (format == FORMAT_UNKNOWN) {
|
172
|
+
printf ("%s\n", _("Don't know which format to use, please either give a format (-f) or an output filename (-o)"));
|
173
|
+
return EXIT_FAILURE;
|
174
|
+
}
|
175
|
+
|
171
176
|
document = lsm_dom_document_new_from_path (input_filename,
|
172
177
|
NULL);
|
173
178
|
if (document == NULL) {
|
@@ -191,7 +196,7 @@ int main(int argc, char **argv)
|
|
191
196
|
lsm_dom_document_save_to_memory (document, &buffer, &size, NULL);
|
192
197
|
|
193
198
|
if (buffer != NULL) {
|
194
|
-
|
199
|
+
printf ("%*s\n", (int) size, (char *) buffer);
|
195
200
|
g_free (buffer);
|
196
201
|
}
|
197
202
|
}
|
@@ -254,7 +259,8 @@ int main(int argc, char **argv)
|
|
254
259
|
|
255
260
|
lsm_debug_render ("width = %g pt, height = %g pt", width_pt, height_pt);
|
256
261
|
} else {
|
257
|
-
|
262
|
+
printf (_("Can't load '%s'"), input_filename);
|
263
|
+
printf ("\n");
|
258
264
|
|
259
265
|
return EXIT_FAILURE;
|
260
266
|
}
|
@@ -0,0 +1,99 @@
|
|
1
|
+
|
2
|
+
/* Generated data (by glib-mkenums) */
|
3
|
+
|
4
|
+
#include "lsmdomenumtypes.h"
|
5
|
+
|
6
|
+
/* enumerations from "lsmdebug.h" */
|
7
|
+
#include "lsmdebug.h"
|
8
|
+
|
9
|
+
GType
|
10
|
+
lsm_debug_level_get_type (void)
|
11
|
+
{
|
12
|
+
static GType the_type = 0;
|
13
|
+
|
14
|
+
if (the_type == 0)
|
15
|
+
{
|
16
|
+
static const GEnumValue values[] = {
|
17
|
+
{ LSM_DEBUG_LEVEL_NONE,
|
18
|
+
"LSM_DEBUG_LEVEL_NONE",
|
19
|
+
"none" },
|
20
|
+
{ LSM_DEBUG_LEVEL_WARNING,
|
21
|
+
"LSM_DEBUG_LEVEL_WARNING",
|
22
|
+
"warning" },
|
23
|
+
{ LSM_DEBUG_LEVEL_DEBUG,
|
24
|
+
"LSM_DEBUG_LEVEL_DEBUG",
|
25
|
+
"debug" },
|
26
|
+
{ LSM_DEBUG_LEVEL_LOG,
|
27
|
+
"LSM_DEBUG_LEVEL_LOG",
|
28
|
+
"log" },
|
29
|
+
{ LSM_DEBUG_LEVEL_COUNT,
|
30
|
+
"LSM_DEBUG_LEVEL_COUNT",
|
31
|
+
"count" },
|
32
|
+
{ 0, NULL, NULL }
|
33
|
+
};
|
34
|
+
the_type = g_enum_register_static (
|
35
|
+
g_intern_static_string ("LsmDebugLevel"),
|
36
|
+
values);
|
37
|
+
}
|
38
|
+
return the_type;
|
39
|
+
}
|
40
|
+
|
41
|
+
/* enumerations from "lsmdomnode.h" */
|
42
|
+
#include "lsmdomnode.h"
|
43
|
+
|
44
|
+
GType
|
45
|
+
lsm_dom_node_type_get_type (void)
|
46
|
+
{
|
47
|
+
static GType the_type = 0;
|
48
|
+
|
49
|
+
if (the_type == 0)
|
50
|
+
{
|
51
|
+
static const GEnumValue values[] = {
|
52
|
+
{ LSM_DOM_NODE_TYPE_ELEMENT_NODE,
|
53
|
+
"LSM_DOM_NODE_TYPE_ELEMENT_NODE",
|
54
|
+
"element-node" },
|
55
|
+
{ LSM_DOM_NODE_TYPE_ATTRIBUTE_NODE,
|
56
|
+
"LSM_DOM_NODE_TYPE_ATTRIBUTE_NODE",
|
57
|
+
"attribute-node" },
|
58
|
+
{ LSM_DOM_NODE_TYPE_TEXT_NODE,
|
59
|
+
"LSM_DOM_NODE_TYPE_TEXT_NODE",
|
60
|
+
"text-node" },
|
61
|
+
{ LSM_DOM_NODE_TYPE_CDATA_SECTION_NODE,
|
62
|
+
"LSM_DOM_NODE_TYPE_CDATA_SECTION_NODE",
|
63
|
+
"cdata-section-node" },
|
64
|
+
{ LSM_DOM_NODE_TYPE_ENTITY_REFERENCE_NODE,
|
65
|
+
"LSM_DOM_NODE_TYPE_ENTITY_REFERENCE_NODE",
|
66
|
+
"entity-reference-node" },
|
67
|
+
{ LSM_DOM_NODE_TYPE_ENTITY_NODE,
|
68
|
+
"LSM_DOM_NODE_TYPE_ENTITY_NODE",
|
69
|
+
"entity-node" },
|
70
|
+
{ LSM_DOM_NODE_TYPE_PROCESSING_INSTRUCTION_NODE,
|
71
|
+
"LSM_DOM_NODE_TYPE_PROCESSING_INSTRUCTION_NODE",
|
72
|
+
"processing-instruction-node" },
|
73
|
+
{ LSM_DOM_NODE_TYPE_COMMENT_NODE,
|
74
|
+
"LSM_DOM_NODE_TYPE_COMMENT_NODE",
|
75
|
+
"comment-node" },
|
76
|
+
{ LSM_DOM_NODE_TYPE_DOCUMENT_NODE,
|
77
|
+
"LSM_DOM_NODE_TYPE_DOCUMENT_NODE",
|
78
|
+
"document-node" },
|
79
|
+
{ LSM_DOM_NODE_TYPE_DOCUMENT_TYPE_NODE,
|
80
|
+
"LSM_DOM_NODE_TYPE_DOCUMENT_TYPE_NODE",
|
81
|
+
"document-type-node" },
|
82
|
+
{ LSM_DOM_NODE_TYPE_DOCUMENT_FRAGMENT_NODE,
|
83
|
+
"LSM_DOM_NODE_TYPE_DOCUMENT_FRAGMENT_NODE",
|
84
|
+
"document-fragment-node" },
|
85
|
+
{ LSM_DOM_NODE_TYPE_NOTATION_NODE,
|
86
|
+
"LSM_DOM_NODE_TYPE_NOTATION_NODE",
|
87
|
+
"notation-node" },
|
88
|
+
{ 0, NULL, NULL }
|
89
|
+
};
|
90
|
+
the_type = g_enum_register_static (
|
91
|
+
g_intern_static_string ("LsmDomNodeType"),
|
92
|
+
values);
|
93
|
+
}
|
94
|
+
return the_type;
|
95
|
+
}
|
96
|
+
|
97
|
+
|
98
|
+
/* Generated data ends here */
|
99
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
|
2
|
+
/* Generated data (by glib-mkenums) */
|
3
|
+
|
4
|
+
#ifndef LSM_DOM_ENUM_TYPES_H
|
5
|
+
#define LSM_DOM_ENUM_TYPES_H
|
6
|
+
|
7
|
+
#include <glib-object.h>
|
8
|
+
|
9
|
+
G_BEGIN_DECLS
|
10
|
+
|
11
|
+
/* Enumerations from "lsmdebug.h" */
|
12
|
+
|
13
|
+
#define LSM_TYPE_DEBUG_LEVEL (lsm_debug_level_get_type())
|
14
|
+
GType lsm_debug_level_get_type (void) G_GNUC_CONST;
|
15
|
+
|
16
|
+
/* Enumerations from "lsmdomnode.h" */
|
17
|
+
|
18
|
+
#define LSM_TYPE_DOM_NODE_TYPE (lsm_dom_node_type_get_type())
|
19
|
+
GType lsm_dom_node_type_get_type (void) G_GNUC_CONST;
|
20
|
+
|
21
|
+
G_END_DECLS
|
22
|
+
|
23
|
+
#endif /* LSM_DOM_ENUM_TYPES_H */
|
24
|
+
|
25
|
+
/* Generated data ends here */
|
26
|
+
|
@@ -470,3 +470,27 @@ lsm_mathml_notation_from_string (const char *string)
|
|
470
470
|
return lsm_enum_value_from_string (string, lsm_mathml_notation_strings,
|
471
471
|
G_N_ELEMENTS (lsm_mathml_notation_strings));
|
472
472
|
}
|
473
|
+
|
474
|
+
static const char *lsm_mathml_linebreak_strings[] = {
|
475
|
+
"auto",
|
476
|
+
"newline",
|
477
|
+
"nobreak",
|
478
|
+
"goodbreak",
|
479
|
+
"badbreak"
|
480
|
+
};
|
481
|
+
|
482
|
+
const char *
|
483
|
+
lsm_mathml_linebreak_to_string (LsmMathmlLinebreak linebreak)
|
484
|
+
{
|
485
|
+
if (linebreak < 0 || linebreak > LSM_MATHML_LINEBREAK_BADBREAK)
|
486
|
+
return NULL;
|
487
|
+
|
488
|
+
return lsm_mathml_linebreak_strings[linebreak];
|
489
|
+
}
|
490
|
+
|
491
|
+
LsmMathmlLinebreak
|
492
|
+
lsm_mathml_linebreak_from_string (const char *string)
|
493
|
+
{
|
494
|
+
return lsm_enum_value_from_string (string, lsm_mathml_linebreak_strings,
|
495
|
+
G_N_ELEMENTS (lsm_mathml_linebreak_strings));
|
496
|
+
}
|
@@ -207,7 +207,18 @@ typedef enum {
|
|
207
207
|
const char * lsm_mathml_notation_to_string (LsmMathmlNotation notation);
|
208
208
|
LsmMathmlNotation lsm_mathml_notation_from_string (const char *string);
|
209
209
|
|
210
|
+
typedef enum {
|
211
|
+
LSM_MATHML_LINEBREAK_ERROR = -1,
|
212
|
+
LSM_MATHML_LINEBREAK_AUTO,
|
213
|
+
LSM_MATHML_LINEBREAK_NEWLINE,
|
214
|
+
LSM_MATHML_LINEBREAK_NOBREAK,
|
215
|
+
LSM_MATHML_LINEBREAK_GOODBREAK,
|
216
|
+
LSM_MATHML_LINEBREAK_BADBREAK
|
217
|
+
} LsmMathmlLinebreak;
|
218
|
+
|
219
|
+
const char * lsm_mathml_linebreak_to_string (LsmMathmlLinebreak linebreak);
|
220
|
+
LsmMathmlLinebreak lsm_mathml_linebreak_from_string (const char *string);
|
221
|
+
|
210
222
|
G_END_DECLS
|
211
223
|
|
212
224
|
#endif
|
213
|
-
|