From 307d67f02d00c7c9305cc609736d49e2f54961d3 Mon Sep 17 00:00:00 2001 From: pktiuk Date: Sat, 5 Sep 2020 12:55:24 +0200 Subject: [PATCH] Move package description into distinct file. --- CMakeLists.txt | 30 +----------------------------- debian/package_description | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 29 deletions(-) create mode 100644 debian/package_description diff --git a/CMakeLists.txt b/CMakeLists.txt index 47909737..e065c185 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -340,35 +340,7 @@ endif (CMAKE_DEBUG_INCLUDES_LDFLAGS) set (CPACK_OUTPUT_FILE_PREFIX packages) set (CPACK_PACKAGE_NAME "${PROJECT_PACKAGE}") set (CPACK_PACKAGE_DESCRIPTION_SUMMARY "Xournal++ - Open source hand note-taking program") -set (CPACK_DEBIAN_PACKAGE_DESCRIPTION -"Xournal++ is a hand note taking software written in C++ with the target of -flexibility, functionality and speed. Stroke recognizer and other parts are -based on Xournal Code, which you can find at sourceforge. -It supports Linux (e.g. Ubuntu, Debian, Arch, SUSE), macOS and Windows 10. -Supports pen input from devices such as Wacom Tablets. - -Xournal++ features: - - - Support for Pen preassure, e.g. Wacom Tablet - - Support for annotating PDFs - - Fill shape functionality - - PDF Export (with and without paper style) - - PNG Export (with and without transparent background) - - Allows maping different tools/colors etc. to stylus/mouse buttons - - Sidebar with Page Previews with page sorting, PDF Bookmarks and Layers - - Enhanced support for image insertion - - Eraser with multiple configurations - - LaTeX support (requires a working LaTeX install) - - Bug reporting, autosave, and auto backup tools - - Customizeable toolbar, with multiple configurations - - Page Template definitions - - Shape drawing (line, arrow, circle, rect) - - Shape resizing and rotation - - Rotation snapping every 45 degrees - - Rect snapping to grid - - Audio recording and playback alongside with handwritten notes - - Multi Language Support, English, German, Italian ... - - Plugins using LUA Scripting") +file(READ "${PROJECT_SOURCE_DIR}/debian/package_description" CPACK_DEBIAN_PACKAGE_DESCRIPTION) set (CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE") set (CPACK_PACKAGE_INSTALL_DIRECTORY "Xournal++") set (CPACK_PACKAGE_FILE_NAME "xournalpp-${PROJECT_VERSION}-${DISTRO_NAME}-${DISTRO_CODENAME}-${PACKAGE_ARCH}") diff --git a/debian/package_description b/debian/package_description new file mode 100644 index 00000000..8bf2ce19 --- /dev/null +++ b/debian/package_description @@ -0,0 +1,28 @@ +Xournal++ is a hand note taking software written in C++ with the target of +flexibility, functionality and speed. Stroke recognizer and other parts are +based on Xournal Code, which you can find at sourceforge. +It supports Linux (e.g. Ubuntu, Debian, Arch, SUSE), macOS and Windows 10. +Supports pen input from devices such as Wacom Tablets. + +Xournal++ features: + + - Support for Pen preassure, e.g. Wacom Tablet + - Support for annotating PDFs + - Fill shape functionality + - PDF Export (with and without paper style) + - PNG Export (with and without transparent background) + - Allows maping different tools/colors etc. to stylus/mouse buttons + - Sidebar with Page Previews with page sorting, PDF Bookmarks and Layers + - Enhanced support for image insertion + - Eraser with multiple configurations + - LaTeX support (requires a working LaTeX install) + - Bug reporting, autosave, and auto backup tools + - Customizeable toolbar, with multiple configurations + - Page Template definitions + - Shape drawing (line, arrow, circle, rect) + - Shape resizing and rotation + - Rotation snapping every 45 degrees + - Rect snapping to grid + - Audio recording and playback alongside with handwritten notes + - Multi Language Support, English, German, Italian ... + - Plugins using LUA Scripting \ No newline at end of file