Import kdiagram-2.6.1

Powerful libraries (KChart, KGantt) for creating business diagrams.

Tweaks from solene@, ok bentley@
This commit is contained in:
rsadowski 2018-09-18 10:22:03 +00:00
parent 88819b206c
commit 2dfa970176
7 changed files with 323 additions and 0 deletions

View File

@ -0,0 +1,30 @@
# $OpenBSD: Makefile,v 1.1.1.1 2018/09/18 10:22:03 rsadowski Exp $
COMMENT = libraries for creating business diagrams
VERSION = 2.6.1
DISTNAME = kdiagram-${VERSION}
CATEGORIES = graphics
SHARED_LIBS += KChart 0.0 # 2.6
SHARED_LIBS += KGantt 0.0 # 2.6
MAINTAINER = Rafael Sadowski <rsadowski@openbsd.org>
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += ${COMPILER_LIBCXX} Qt5Core Qt5Gui Qt5PrintSupport Qt5Svg
WANTLIB += Qt5Widgets c m
MASTER_SITES = ${MASTER_SITE_KDE:=stable/kdiagram/${VERSION}/}
MODULES = devel/cmake \
devel/kf5
LIB_DEPENDS += x11/qt5/qtsvg
TEST_IS_INTERACTIVE = X11
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (kdiagram-2.6.1.tar.xz) = veccpe9wswd2ltVrJODh9priVcC/e/RT6Vlq/dJdzbA=
SIZE (kdiagram-2.6.1.tar.xz) = 674016

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-examples_tools_CMakeLists_txt,v 1.1.1.1 2018/09/18 10:22:03 rsadowski Exp $
Index: examples/tools/CMakeLists.txt
--- examples/tools/CMakeLists.txt.orig
+++ examples/tools/CMakeLists.txt
@@ -7,5 +7,6 @@ add_library(testtools SHARED ${testtools_LIB_SRCS})
generate_export_header( testtools )
target_link_libraries(testtools LINK_PRIVATE
+ c
Qt5::Core
)

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-src_KChart_CMakeLists_txt,v 1.1.1.1 2018/09/18 10:22:03 rsadowski Exp $
Index: src/KChart/CMakeLists.txt
--- src/KChart/CMakeLists.txt.orig
+++ src/KChart/CMakeLists.txt
@@ -144,6 +144,7 @@ target_include_directories(KChart
target_link_libraries(KChart
PUBLIC
Qt5::Widgets
+ c
PRIVATE
Qt5::Svg
)

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-src_KGantt_CMakeLists_txt,v 1.1.1.1 2018/09/18 10:22:03 rsadowski Exp $
Index: src/KGantt/CMakeLists.txt
--- src/KGantt/CMakeLists.txt.orig
+++ src/KGantt/CMakeLists.txt
@@ -65,6 +65,7 @@ target_include_directories(KGantt
target_link_libraries( KGantt
PUBLIC
Qt5::Widgets
+ c
PRIVATE
Qt5::PrintSupport
)

View File

@ -0,0 +1 @@
Powerful libraries (KChart, KGantt) for creating business diagrams.

252
graphics/kdiagram/pkg/PLIST Normal file
View File

@ -0,0 +1,252 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2018/09/18 10:22:03 rsadowski Exp $
include/KChart/
include/KChart/KChart
include/KChart/KChartAbstractArea
include/KChart/KChartAbstractArea.h
include/KChart/KChartAbstractAreaBase
include/KChart/KChartAbstractAreaBase.h
include/KChart/KChartAbstractAreaWidget
include/KChart/KChartAbstractAreaWidget.h
include/KChart/KChartAbstractAxis
include/KChart/KChartAbstractAxis.h
include/KChart/KChartAbstractCartesianDiagram
include/KChart/KChartAbstractCartesianDiagram.h
include/KChart/KChartAbstractCoordinatePlane
include/KChart/KChartAbstractCoordinatePlane.h
include/KChart/KChartAbstractDiagram
include/KChart/KChartAbstractDiagram.h
include/KChart/KChartAbstractPieDiagram
include/KChart/KChartAbstractPieDiagram.h
include/KChart/KChartAbstractPolarDiagram
include/KChart/KChartAbstractPolarDiagram.h
include/KChart/KChartAbstractProxyModel
include/KChart/KChartAbstractProxyModel.h
include/KChart/KChartAbstractTernaryDiagram
include/KChart/KChartAbstractTernaryDiagram.h
include/KChart/KChartAbstractThreeDAttributes
include/KChart/KChartAbstractThreeDAttributes.h
include/KChart/KChartAttributesModel
include/KChart/KChartAttributesModel.h
include/KChart/KChartBackgroundAttributes
include/KChart/KChartBackgroundAttributes.h
include/KChart/KChartBarAttributes
include/KChart/KChartBarAttributes.h
include/KChart/KChartBarDiagram
include/KChart/KChartBarDiagram.h
include/KChart/KChartCartesianAxis
include/KChart/KChartCartesianAxis.h
include/KChart/KChartCartesianCoordinatePlane
include/KChart/KChartCartesianCoordinatePlane.h
include/KChart/KChartChart
include/KChart/KChartChart.h
include/KChart/KChartDataValueAttributes
include/KChart/KChartDataValueAttributes.h
include/KChart/KChartDatasetProxyModel
include/KChart/KChartDatasetProxyModel.h
include/KChart/KChartDatasetSelector
include/KChart/KChartDatasetSelector.h
include/KChart/KChartDiagramObserver
include/KChart/KChartDiagramObserver.h
include/KChart/KChartEnums
include/KChart/KChartEnums.h
include/KChart/KChartFrameAttributes
include/KChart/KChartFrameAttributes.h
include/KChart/KChartGlobal
include/KChart/KChartGlobal.h
include/KChart/KChartGridAttributes
include/KChart/KChartGridAttributes.h
include/KChart/KChartHeaderFooter
include/KChart/KChartHeaderFooter.h
include/KChart/KChartLayoutItems
include/KChart/KChartLayoutItems.h
include/KChart/KChartLegend
include/KChart/KChartLegend.h
include/KChart/KChartLeveyJenningsAxis
include/KChart/KChartLeveyJenningsAxis.h
include/KChart/KChartLeveyJenningsCoordinatePlane
include/KChart/KChartLeveyJenningsCoordinatePlane.h
include/KChart/KChartLeveyJenningsDiagram
include/KChart/KChartLeveyJenningsDiagram.h
include/KChart/KChartLeveyJenningsGridAttributes
include/KChart/KChartLeveyJenningsGridAttributes.h
include/KChart/KChartLineAttributes
include/KChart/KChartLineAttributes.h
include/KChart/KChartLineDiagram
include/KChart/KChartLineDiagram.h
include/KChart/KChartMarkerAttributes
include/KChart/KChartMarkerAttributes.h
include/KChart/KChartMeasure
include/KChart/KChartMeasure.h
include/KChart/KChartPaintContext
include/KChart/KChartPaintContext.h
include/KChart/KChartPalette
include/KChart/KChartPalette.h
include/KChart/KChartPieAttributes
include/KChart/KChartPieAttributes.h
include/KChart/KChartPieDiagram
include/KChart/KChartPieDiagram.h
include/KChart/KChartPlotter
include/KChart/KChartPlotter.h
include/KChart/KChartPolarCoordinatePlane
include/KChart/KChartPolarCoordinatePlane.h
include/KChart/KChartPolarDiagram
include/KChart/KChartPolarDiagram.h
include/KChart/KChartPosition
include/KChart/KChartPosition.h
include/KChart/KChartRadarCoordinatePlane
include/KChart/KChartRadarCoordinatePlane.h
include/KChart/KChartRadarDiagram
include/KChart/KChartRadarDiagram.h
include/KChart/KChartRelativePosition
include/KChart/KChartRelativePosition.h
include/KChart/KChartRingDiagram
include/KChart/KChartRingDiagram.h
include/KChart/KChartRulerAttributes
include/KChart/KChartRulerAttributes.h
include/KChart/KChartStockBarAttributes
include/KChart/KChartStockBarAttributes.h
include/KChart/KChartStockDiagram
include/KChart/KChartStockDiagram.h
include/KChart/KChartTernaryAxis
include/KChart/KChartTernaryAxis.h
include/KChart/KChartTernaryCoordinatePlane
include/KChart/KChartTernaryCoordinatePlane.h
include/KChart/KChartTernaryLineDiagram
include/KChart/KChartTernaryLineDiagram.h
include/KChart/KChartTernaryPointDiagram
include/KChart/KChartTernaryPointDiagram.h
include/KChart/KChartTextArea
include/KChart/KChartTextArea.h
include/KChart/KChartTextAttributes
include/KChart/KChartTextAttributes.h
include/KChart/KChartThreeDBarAttributes
include/KChart/KChartThreeDBarAttributes.h
include/KChart/KChartThreeDLineAttributes
include/KChart/KChartThreeDLineAttributes.h
include/KChart/KChartThreeDPieAttributes
include/KChart/KChartThreeDPieAttributes.h
include/KChart/KChartValueTrackerAttributes
include/KChart/KChartValueTrackerAttributes.h
include/KChart/KChartWidget
include/KChart/KChartWidget.h
include/KChart/kchart_export.h
include/KGantt/
include/KGantt/KGanttAbstractGrid
include/KGantt/KGanttAbstractRowController
include/KGantt/KGanttConstraint
include/KGantt/KGanttConstraintGraphicsItem
include/KGantt/KGanttConstraintModel
include/KGantt/KGanttConstraintProxy
include/KGantt/KGanttDateTimeGrid
include/KGantt/KGanttForwardingProxyModel
include/KGantt/KGanttGlobal
include/KGantt/KGanttGraphicsItem
include/KGantt/KGanttGraphicsScene
include/KGantt/KGanttGraphicsView
include/KGantt/KGanttItemDelegate
include/KGantt/KGanttLegend
include/KGantt/KGanttListViewRowController
include/KGantt/KGanttProxyModel
include/KGantt/KGanttStyleOptionGanttItem
include/KGantt/KGanttSummaryHandlingProxyModel
include/KGantt/KGanttTreeViewRowController
include/KGantt/KGanttView
include/KGantt/kgantt_export.h
include/KGantt/kganttabstractgrid.h
include/KGantt/kganttabstractrowcontroller.h
include/KGantt/kganttconstraint.h
include/KGantt/kganttconstraintgraphicsitem.h
include/KGantt/kganttconstraintmodel.h
include/KGantt/kganttconstraintproxy.h
include/KGantt/kganttdatetimegrid.h
include/KGantt/kganttforwardingproxymodel.h
include/KGantt/kganttglobal.h
include/KGantt/kganttgraphicsitem.h
include/KGantt/kganttgraphicsscene.h
include/KGantt/kganttgraphicsview.h
include/KGantt/kganttitemdelegate.h
include/KGantt/kganttlegend.h
include/KGantt/kganttlistviewrowcontroller.h
include/KGantt/kganttproxymodel.h
include/KGantt/kganttstyleoptionganttitem.h
include/KGantt/kganttsummaryhandlingproxymodel.h
include/KGantt/kgantttreeviewrowcontroller.h
include/KGantt/kganttview.h
include/kchart_version.h
include/kgantt_version.h
lib/cmake/KChart/
lib/cmake/KChart/KChartConfig.cmake
lib/cmake/KChart/KChartConfigVersion.cmake
lib/cmake/KChart/KChartTargets${MODCMAKE_BUILD_SUFFIX}
lib/cmake/KChart/KChartTargets.cmake
lib/cmake/KGantt/
lib/cmake/KGantt/KGanttConfig.cmake
lib/cmake/KGantt/KGanttConfigVersion.cmake
lib/cmake/KGantt/KGanttTargets${MODCMAKE_BUILD_SUFFIX}
lib/cmake/KGantt/KGanttTargets.cmake
@lib lib/libKChart.so.${LIBKChart_VERSION}
@lib lib/libKGantt.so.${LIBKGantt_VERSION}
share/kf5/
share/kf5/mkspecs/
share/kf5/mkspecs/qt_KChart.pri
share/kf5/mkspecs/qt_KGantt.pri
share/locale/ar/LC_MESSAGES/kchart_qt.qm
share/locale/ar/LC_MESSAGES/kgantt_qt.qm
share/locale/ast/LC_MESSAGES/kchart_qt.qm
share/locale/ast/LC_MESSAGES/kgantt_qt.qm
share/locale/bg/LC_MESSAGES/kgantt_qt.qm
share/locale/bs/LC_MESSAGES/kchart_qt.qm
share/locale/bs/LC_MESSAGES/kgantt_qt.qm
share/locale/ca/LC_MESSAGES/kchart_qt.qm
share/locale/ca/LC_MESSAGES/kgantt_qt.qm
share/locale/ca@valencia/LC_MESSAGES/kchart_qt.qm
share/locale/ca@valencia/LC_MESSAGES/kgantt_qt.qm
share/locale/cs/LC_MESSAGES/kchart_qt.qm
share/locale/cs/LC_MESSAGES/kgantt_qt.qm
share/locale/de/LC_MESSAGES/kchart_qt.qm
share/locale/de/LC_MESSAGES/kgantt_qt.qm
share/locale/el/LC_MESSAGES/kchart_qt.qm
share/locale/el/LC_MESSAGES/kgantt_qt.qm
share/locale/en_GB/LC_MESSAGES/kchart_qt.qm
share/locale/en_GB/LC_MESSAGES/kgantt_qt.qm
share/locale/es/LC_MESSAGES/kchart_qt.qm
share/locale/es/LC_MESSAGES/kgantt_qt.qm
share/locale/fi/LC_MESSAGES/kchart_qt.qm
share/locale/fi/LC_MESSAGES/kgantt_qt.qm
share/locale/fr/LC_MESSAGES/kchart_qt.qm
share/locale/fr/LC_MESSAGES/kgantt_qt.qm
share/locale/gl/LC_MESSAGES/kchart_qt.qm
share/locale/gl/LC_MESSAGES/kgantt_qt.qm
share/locale/it/LC_MESSAGES/kchart_qt.qm
share/locale/it/LC_MESSAGES/kgantt_qt.qm
share/locale/ja/LC_MESSAGES/kchart_qt.qm
share/locale/ja/LC_MESSAGES/kgantt_qt.qm
share/locale/ko/LC_MESSAGES/kchart_qt.qm
share/locale/ko/LC_MESSAGES/kgantt_qt.qm
share/locale/lt/LC_MESSAGES/kchart_qt.qm
share/locale/lt/LC_MESSAGES/kgantt_qt.qm
share/locale/nl/LC_MESSAGES/kchart_qt.qm
share/locale/nl/LC_MESSAGES/kgantt_qt.qm
share/locale/nn/LC_MESSAGES/kchart_qt.qm
share/locale/nn/LC_MESSAGES/kgantt_qt.qm
share/locale/pl/LC_MESSAGES/kchart_qt.qm
share/locale/pl/LC_MESSAGES/kgantt_qt.qm
share/locale/pt/LC_MESSAGES/kchart_qt.qm
share/locale/pt/LC_MESSAGES/kgantt_qt.qm
share/locale/pt_BR/LC_MESSAGES/kchart_qt.qm
share/locale/pt_BR/LC_MESSAGES/kgantt_qt.qm
share/locale/ro/LC_MESSAGES/kchart_qt.qm
share/locale/ru/LC_MESSAGES/kchart_qt.qm
share/locale/ru/LC_MESSAGES/kgantt_qt.qm
share/locale/sk/LC_MESSAGES/kchart_qt.qm
share/locale/sk/LC_MESSAGES/kgantt_qt.qm
share/locale/sv/LC_MESSAGES/kchart_qt.qm
share/locale/sv/LC_MESSAGES/kgantt_qt.qm
share/locale/tr/LC_MESSAGES/kchart_qt.qm
share/locale/tr/LC_MESSAGES/kgantt_qt.qm
share/locale/uk/LC_MESSAGES/kchart_qt.qm
share/locale/uk/LC_MESSAGES/kgantt_qt.qm
share/locale/zh_CN/LC_MESSAGES/kchart_qt.qm
share/locale/zh_CN/LC_MESSAGES/kgantt_qt.qm
share/locale/zh_TW/LC_MESSAGES/kchart_qt.qm
share/locale/zh_TW/LC_MESSAGES/kgantt_qt.qm