Commit abc8e76a authored by Anton Gladky's avatar Anton Gladky

Add documentation.

parent 43874c0a
......@@ -40,3 +40,29 @@ Description: Framework with parsers for various SVG syntaxes and adapters. Devel
* Supports any character type (`char` and `wchar_t`). Other (Unicode from C++11) were not tested, but should be ok.
.
The package contains the header development files.
Package: libsvgpp-doc
Architecture: all
Section: doc
Depends: ${misc:Depends},
${shlibs:Depends},
${sphinxdoc:Depends}
Description: Framework with parsers for various SVG syntaxes and adapters. Documentation
The library can be thought of as a framework, containing parsers for various SVG syntaxes, adapters that simplify
handling of parsed data and a lot of other utilities and helpers for the most common tasks.
SVG++ features
.
* Is a header-only library
* Can be used with any XML parser
* Compile time configured - no virtual functions
* Minimal runtime overhead - you pay only for what you get
* Has wide range of possible uses:
* Fully functional, conforming SVG viewers
* Simple in-app SVG rasterizers
* Import modules of vector editing software
* Implementing path-only input of SVG format with minimal efforts in any graphics or math software
* Requires only Boost library itself (demo, tests and sample have their own requirements)
* Compatible with C++03, but requires conforming implementation, due to heavy usage of templates
* Supports any character type (`char` and `wchar_t`). Other (Unicode from C++11) were not tested, but should be ok.
.
The package contains documentation.
include/* usr/include/
third_party/rapidxml_ns*/rapidxml_ns* usr/include/rapidxml_ns
Document: svgpp-doc
Title: svgpp - Framework with parsers for various SVG syntaxes and adapters
Author: Oleg Maximenko
Abstract: The library can be thought of as a framework, containing parsers for
various SVG syntaxes, adapters that simplify handling of parsed data and a
lot of other utilities and helpers for the most common tasks.
Section: Programming/C++
Format: HTML
Index: /usr/share/doc/libsvgpp-doc/html/index.html
Files: /usr/share/doc/libsvgpp-doc/html/*.html
Description: Use packaged version of third_party libs.
Author: Anton Gladky <gladk@debian.org>
Last-Update: 2017-06-24
Index: svgpp-1.2.3/src/CMakeLists.txt
===================================================================
--- svgpp-1.2.3.orig/src/CMakeLists.txt
+++ svgpp-1.2.3/src/CMakeLists.txt
@@ -4,10 +4,6 @@ project(svgpp)
find_package(Boost REQUIRED)
-set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
-set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
-set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
-
include_directories(
${Boost_INCLUDE_DIRS}
)
@@ -22,6 +18,5 @@ if (MSVC)
)
endif()
-add_subdirectory(demo/render)
add_subdirectory(samples)
add_subdirectory(test)
Index: svgpp-1.2.3/src/test/CMakeLists.txt
===================================================================
--- svgpp-1.2.3.orig/src/test/CMakeLists.txt
+++ svgpp-1.2.3/src/test/CMakeLists.txt
@@ -2,16 +2,16 @@ cmake_minimum_required (VERSION 2.8)
project(svgpp_test)
-set(GTEST_DIR ../../third_party/googletest/googletest)
-set(GMOCK_DIR ../../third_party/googletest/googlemock)
+set(GTEST_DIR /usr/src/googletest/googletest)
+set(GMOCK_DIR /usr/src/googletest/googlemock)
include_directories(
../../include
- ../../third_party
${GTEST_DIR}
${GTEST_DIR}/include
${GMOCK_DIR}
${GMOCK_DIR}/include
+ ../../third_party
)
if (MSVC)
......@@ -5,8 +5,12 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@ --with sphinxdoc --buildsystem=cmake --sourcedirectory=src/
override_dh_auto_build:
override_dh_auto_build:
dh_auto_build
ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
#cd doc/sphinx/ ; cp conf.py.in conf.py; $(MAKE) man ; $(MAKE) html
cd doc/sphinx/ ; sphinx-build -b html ./ html
endif
override_dh_auto_clean:
dh_auto_clean
rm -rf doc/sphinx/html
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment