diff --git a/Makefile.am b/Makefile.am index e8d024b..95eb159 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,5 @@ ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = libgd src po data/icons data/geonames +SUBDIRS = libgd src po data data/icons data/geonames EXTRA_DIST = config.rpath ChangeLog diff --git a/configure.ac b/configure.ac index eda1aef..c73e419 100644 --- a/configure.ac +++ b/configure.ac @@ -49,6 +49,8 @@ PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.30]) PKG_CHECK_MODULES([GOBJECT], [gobject-2.0]) PKG_CHECK_MODULES([GTK], [gtk+-3.0 >= 3.8]) PKG_CHECK_MODULES([LIBXML], [libxml-2.0]) +PKG_CHECK_MODULES([LIBXSLT], [libexslt]) +PKG_CHECK_MODULES([WEBKIT], [webkitgtk-3.0]) PKG_CHECK_MODULES([SWE_GLIB], [swe-glib]) AC_CONFIG_MACRO_DIR([m4]) @@ -63,6 +65,7 @@ AC_CONFIG_FILES([ libgd/Makefile src/Makefile po/Makefile.in + data/Makefile data/geonames/Makefile data/icons/Makefile ]) diff --git a/data/Makefile.am b/data/Makefile.am new file mode 100644 index 0000000..f6537ea --- /dev/null +++ b/data/Makefile.am @@ -0,0 +1,7 @@ +chartdatadir = $(pkgdatadir) +chartdata_DATA = chart.xsl \ + chart.css \ + $(NULL) + +EXTRA_DIST = \ + $(chartdata_DATA) diff --git a/data/chart.css b/data/chart.css new file mode 100644 index 0000000..abadf5f --- /dev/null +++ b/data/chart.css @@ -0,0 +1,72 @@ +circle.thick { + fill: none; + stroke-width: 2.5; + stroke: #0000cc; +} + +circle.thin { + fill: none; + stroke-width: 1; + stroke: #0000cc; +} + +line.degree-thick { + stroke-width: 2; + stroke: #0000cc; +} + +line.degree-thin { + stroke-width: 1; + stroke: #0000cc; +} + +line.house-cusp { + stroke-width: 1; + stroke: #0000cc; +} + +.sign { + stroke-width: 2; + stroke-linecap: butt; + stroke-linejoin: bevel; +} + +.sign-fire { + fill: none; + stroke: #cc2222; +} + +.sign-earth { + fill: none; + stroke: #22cc22; +} + +.sign-air { + fill: none; + stroke: #cccc22; +} + +.sign-water { + fill: none; + stroke: #2222cc; +} + +line.axis { + stroke-width: 3; + stroke: #000000; +} + +line.axis-end { + marker-end: url(#arrow_end); +} + +line.planet-marker { + stroke-width: 1.5; + stroke: #555555; +} + +path.planet-symbol { + stroke-width: 2; + fill: none; + stroke: #000080; +} diff --git a/data/chart.xsl b/data/chart.xsl new file mode 100644 index 0000000..2377d8f --- /dev/null +++ b/data/chart.xsl @@ -0,0 +1,728 @@ + + + + + + + + + + href="" type="text/css" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + point_vertex + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/data/examples/saved-chart.agc b/data/examples/saved-chart.agc index 622da99..8b202c9 100644 --- a/data/examples/saved-chart.agc +++ b/data/examples/saved-chart.agc @@ -5,8 +5,8 @@ Hungary Budapest - 47.49801000 - 19.03990999 + 19.03990999 + 47.49801000 280