Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161615138
D12530.id33530.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
14 KB
Referenced Files
None
Subscribers
None
D12530.id33530.diff
View Options
Index: MOVED
===================================================================
--- MOVED
+++ MOVED
@@ -5456,7 +5456,6 @@
www/trac-revtree||2014-02-27|Has expired: Broken for more than 6 months
security/crack||2014-02-27|Has expired: Broken for more than 6 months
sysutils/graphicboot||2014-02-27|Has expired: Broken for more than 6 months, upstream disappeared
-graphics/kgraphviewer||2014-02-27|Has expired: Broken for more than 6 months
sysutils/ckl||2014-02-27|Has expired: Broken for more than 6 months
japanese/trac||2014-02-27|Has expired: Broken for more than 6 months
lang/opa||2014-02-27|Has expired: Broken for more than 6 months
Index: graphics/Makefile
===================================================================
--- graphics/Makefile
+++ graphics/Makefile
@@ -413,6 +413,7 @@
SUBDIR += kf5-kimageformats
SUBDIR += kf5-kplotting
SUBDIR += kf5-prison
+ SUBDIR += kgraphviewer
SUBDIR += kiconedit
SUBDIR += kipi-plugin-acquireimages
SUBDIR += kipi-plugin-advancedslideshow
Index: graphics/kgraphviewer/Makefile
===================================================================
--- /dev/null
+++ graphics/kgraphviewer/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= kgraphviewer
+DISTVERSION= 2.4.2
+CATEGORIES= graphics kde
+MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/
+DIST_SUBDIR= KDE/${PORTNAME}
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= Graphs-viewer for GraphViz files
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS= libgvc.so:graphics/graphviz
+
+USES= cmake:outsource desktop-file-utils kde:5 tar:xz
+USE_KDE= auth codecs completion config configwidgets \
+ coreaddons i18n iconthemes jobwidgets kio parts service \
+ sonnet textwidgets widgetsaddons xmlgui \
+ ecm_build
+USE_QT5= core dbus gui network printsupport svg widgets xml
+
+.include <bsd.port.mk>
+
Index: graphics/kgraphviewer/distinfo
===================================================================
--- /dev/null
+++ graphics/kgraphviewer/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1506604380
+SHA256 (KDE/kgraphviewer/kgraphviewer-2.4.2.tar.xz) = 49438b4e6cca69d2e658de50059f045ede42cfe78ee97cece35959e29ffb85c9
+SIZE (KDE/kgraphviewer/kgraphviewer-2.4.2.tar.xz) = 1565692
Index: graphics/kgraphviewer/files/patch-findgraphviz.cmake
===================================================================
--- /dev/null
+++ graphics/kgraphviewer/files/patch-findgraphviz.cmake
@@ -0,0 +1,72 @@
+Replace old-fashioned version-checking machinery with modern (CMake 3.0)
+variety. This has been submitted upstream.
+--- CMakeLists.txt.orig 2017-09-27 13:16:51 UTC
++++ CMakeLists.txt
+@@ -32,7 +32,7 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENT
+ )
+
+ find_package(Boost 1.36 REQUIRED)
+-find_package(Graphviz REQUIRED)
++find_package(Graphviz 2.30 REQUIRED)
+
+ if(NOT DOT)
+ MESSAGE(STATUS "dot executable from Graphviz not found. You will need it at runtime")
+--- cmake/FindGraphviz.cmake.orig 2017-09-27 13:15:56 UTC
++++ cmake/FindGraphviz.cmake
+@@ -116,50 +116,16 @@ IF(_dot_result MATCHES 0)
+ ELSE(_dot_result MATCHES 0)
+ SET(_dot_query_output)
+ ENDIF(_dot_result MATCHES 0)
+-IF (GRAPHVIZVERSION)
+
+-# we need at least version 2.30.0
+-IF (NOT GRAPHVIZ_MIN_VERSION)
+-SET(GRAPHVIZ_MIN_VERSION "2.30.0")
+-ENDIF (NOT GRAPHVIZ_MIN_VERSION)
+-
+-#now parse the parts of the user given version string into variables
+-STRING(REGEX MATCH "^[0-9]+\\.[0-9]+\\.[0-9]+" req_graphviz_major_vers "${GRAPHVIZ_MIN_VERSION}")
+-IF (NOT req_graphviz_major_vers)
+-MESSAGE( FATAL_ERROR "Invalid GraphViz version string given: \"${GRAPHVIZ_MIN_VERSION}\", expected e.g. \"2.30.0\"")
+-ENDIF (NOT req_graphviz_major_vers)
+-
+-# now parse the parts of the user given version string into variables
+-STRING(REGEX REPLACE "^([0-9]+)\\.[0-9]+\\.[0-9]+" "\\1" req_graphviz_major_vers "${GRAPHVIZ_MIN_VERSION}")
+-STRING(REGEX REPLACE "^[0-9]+\\.([0-9])+\\.[0-9]+" "\\1" req_graphviz_minor_vers "${GRAPHVIZ_MIN_VERSION}")
+-STRING(REGEX REPLACE "^[0-9]+\\.[0-9]+\\.([0-9]+)" "\\1" req_graphviz_patch_vers "${GRAPHVIZ_MIN_VERSION}")
+-
+-IF (NOT req_graphviz_major_vers EQUAL 2)
+-MESSAGE( FATAL_ERROR "Invalid GraphViz version string given: \"${GRAPHVIZ_MIN_VERSION}\", major version 4 is required, e.g. \"2.30.0\"")
+-ENDIF (NOT req_graphviz_major_vers EQUAL 2)
+-
+-# and now the version string given by qmake
+-STRING(REGEX REPLACE "^([0-9]+)\\.[0-9]+\\.[0-9]+.*" "\\1" GRAPHVIZ_VERSION_MAJOR "${GRAPHVIZVERSION}")
+-STRING(REGEX REPLACE "^[0-9]+\\.([0-9])+\\.[0-9]+.*" "\\1" GRAPHVIZ_VERSION_MINOR "${GRAPHVIZVERSION}")
+-STRING(REGEX REPLACE "^[0-9]+\\.[0-9]+\\.([0-9]+).*" "\\1" GRAPHVIZ_VERSION_PATCH "${GRAPHVIZVERSION}")
+-
+-# compute an overall version number which can be compared at once
+-MATH(EXPR req_vers "${req_graphviz_major_vers}*10000 + ${req_graphviz_minor_vers}*100 + ${req_graphviz_patch_vers}")
+-MATH(EXPR found_vers "${GRAPHVIZ_VERSION_MAJOR}*10000 + ${GRAPHVIZ_VERSION_MINOR}*100 + ${GRAPHVIZ_VERSION_PATCH}")
+-
+-IF (found_vers LESS req_vers)
+-SET(graphviz_FOUND FALSE)
+-SET(GRAPHVIZ_INSTALLED_VERSION_TOO_OLD TRUE)
+-ELSE (found_vers LESS req_vers)
+-SET(graphviz_FOUND TRUE)
+-ENDIF (found_vers LESS req_vers)
+-ENDIF (GRAPHVIZVERSION)
+-
+-
++else()
++ set ( GRAPHVIZVERSION ${graphviz_VERSION} ) # From pkg-config
+ endif (DOT)
+
+ include(FindPackageHandleStandardArgs)
+
+ # handle the QUIETLY and REQUIRED arguments and set GRAPHVIZ_FOUND to TRUE if
+ # all listed variables are TRUE
+-find_package_handle_standard_args(GraphViz DEFAULT_MSG graphviz_LIBRARIES graphviz_INCLUDE_DIRECTORIES)
++find_package_handle_standard_args(Graphviz
++ REQUIRED_VARS graphviz_LIBRARIES graphviz_INCLUDE_DIRECTORIES
++ VERSION_VAR GRAPHVIZVERSION
++ )
Index: graphics/kgraphviewer/files/patch-src_part_CMakeLists.txt
===================================================================
--- /dev/null
+++ graphics/kgraphviewer/files/patch-src_part_CMakeLists.txt
@@ -0,0 +1,14 @@
+Add link flags from pkg-config, to add LOCALBASE (or wherever graphviz is
+found) to the link step.
+
+--- src/part/CMakeLists.txt.orig 2017-09-27 13:15:56 UTC
++++ src/part/CMakeLists.txt
+@@ -60,7 +60,7 @@ ki18n_wrap_ui(kgraphviewerlib_LIB_SRCS ${kgraphviewerp
+
+ add_library(kgraphviewerlib ${kgraphviewerlib_LIB_SRCS})
+
+-target_link_libraries(kgraphviewerlib Qt5::Core Qt5::Svg Qt5::PrintSupport Qt5::Svg KF5::KIOWidgets KF5::WidgetsAddons KF5::IconThemes KF5::XmlGui KF5::I18n KF5::Parts ${graphviz_LIBRARIES})
++target_link_libraries(kgraphviewerlib Qt5::Core Qt5::Svg Qt5::PrintSupport Qt5::Svg KF5::KIOWidgets KF5::WidgetsAddons KF5::IconThemes KF5::XmlGui KF5::I18n KF5::Parts ${graphviz_LIBRARIES} ${graphviz_LDFLAGS})
+
+ set_target_properties(kgraphviewerlib PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${KGRAPHVIEWER_SOVERSION} OUTPUT_NAME kgraphviewer )
+
Index: graphics/kgraphviewer/pkg-descr
===================================================================
--- /dev/null
+++ graphics/kgraphviewer/pkg-descr
@@ -0,0 +1,3 @@
+KGraphViewer is a Graphviz DOT graph file viewer.
+
+WWW: http://extragear.kde.org/apps/kgraphviewer/
Index: graphics/kgraphviewer/pkg-plist
===================================================================
--- /dev/null
+++ graphics/kgraphviewer/pkg-plist
@@ -0,0 +1,148 @@
+bin/kgraphviewer
+etc/xdg/kgraphviewer.categories
+include/kgraphviewer/kgraphviewer_interface.h
+lib/cmake/KGraphViewerPart/KGraphViewerPartConfig.cmake
+lib/cmake/KGraphViewerPart/KGraphViewerPartConfigVersion.cmake
+lib/libkgraphviewer.so
+lib/libkgraphviewer.so.2.4.2
+lib/libkgraphviewer.so.3
+%%QT_PLUGINDIR%%/kgraphviewerpart.so
+share/applications/org.kde.kgraphviewer.desktop
+share/config.kcfg/kgraphviewer_partsettings.kcfg
+share/config.kcfg/kgraphviewersettings.kcfg
+share/doc/HTML/de/kgraphviewer/index.cache.bz2
+share/doc/HTML/de/kgraphviewer/index.docbook
+share/doc/HTML/de/kgraphviewer/kgraphviewer-snap-ask2.png
+share/doc/HTML/de/kgraphviewer/kgraphviewer-snap-ask3.png
+share/doc/HTML/de/kgraphviewer/kgraphviewer-snap-config1.png
+share/doc/HTML/de/kgraphviewer/kgraphviewer-snap-config2.png
+share/doc/HTML/de/kgraphviewer/kgraphviewer-snap-config3.png
+share/doc/HTML/de/kgraphviewer/kgraphviewer-snap-init.png
+share/doc/HTML/de/kgraphviewer/kgraphviewer-snap-main.png
+share/doc/HTML/de/kgraphviewer/kgraphviewer-snap-pagesmarges.png
+share/doc/HTML/de/kgraphviewer/kgraphviewer-snap-ppview1.png
+share/doc/HTML/de/kgraphviewer/kgraphviewer-snap-ppview2.png
+share/doc/HTML/de/kgraphviewer/kgraphviewer-snap-ppview3.png
+share/doc/HTML/de/kgraphviewer/kgraphviewer-snap-psetup1.png
+share/doc/HTML/de/kgraphviewer/kgraphviewer-snap-zmax.png
+share/doc/HTML/de/kgraphviewer/kgraphviewer-snap-zmin.png
+share/doc/HTML/en/kgraphviewer/index.cache.bz2
+share/doc/HTML/en/kgraphviewer/index.docbook
+share/doc/HTML/en/kgraphviewer/kgraphviewer-but-layout.png
+share/doc/HTML/en/kgraphviewer/kgraphviewer-but-open.png
+share/doc/HTML/en/kgraphviewer/kgraphviewer-but-prev.png
+share/doc/HTML/en/kgraphviewer/kgraphviewer-but-preview.png
+share/doc/HTML/en/kgraphviewer/kgraphviewer-but-print.png
+share/doc/HTML/en/kgraphviewer/kgraphviewer-but-psetup.png
+share/doc/HTML/en/kgraphviewer/kgraphviewer-but-reload.png
+share/doc/HTML/en/kgraphviewer/kgraphviewer-but-whatsthis.png
+share/doc/HTML/en/kgraphviewer/kgraphviewer-but-zoomin.png
+share/doc/HTML/en/kgraphviewer/kgraphviewer-but-zoomout.png
+share/doc/HTML/en/kgraphviewer/kgraphviewer-snap-ask1.png
+share/doc/HTML/en/kgraphviewer/kgraphviewer-snap-ask2.png
+share/doc/HTML/en/kgraphviewer/kgraphviewer-snap-ask3.png
+share/doc/HTML/en/kgraphviewer/kgraphviewer-snap-config1.png
+share/doc/HTML/en/kgraphviewer/kgraphviewer-snap-config2.png
+share/doc/HTML/en/kgraphviewer/kgraphviewer-snap-config3.png
+share/doc/HTML/en/kgraphviewer/kgraphviewer-snap-init.png
+share/doc/HTML/en/kgraphviewer/kgraphviewer-snap-main.png
+share/doc/HTML/en/kgraphviewer/kgraphviewer-snap-pagesmarges.png
+share/doc/HTML/en/kgraphviewer/kgraphviewer-snap-ppview1.png
+share/doc/HTML/en/kgraphviewer/kgraphviewer-snap-ppview2.png
+share/doc/HTML/en/kgraphviewer/kgraphviewer-snap-ppview3.png
+share/doc/HTML/en/kgraphviewer/kgraphviewer-snap-psetup1.png
+share/doc/HTML/en/kgraphviewer/kgraphviewer-snap-zmax.png
+share/doc/HTML/en/kgraphviewer/kgraphviewer-snap-zmin.png
+share/doc/HTML/et/kgraphviewer/index.cache.bz2
+share/doc/HTML/et/kgraphviewer/index.docbook
+share/doc/HTML/it/kgraphviewer/index.cache.bz2
+share/doc/HTML/it/kgraphviewer/index.docbook
+share/doc/HTML/nl/kgraphviewer/index.cache.bz2
+share/doc/HTML/nl/kgraphviewer/index.docbook
+share/doc/HTML/pt/kgraphviewer/index.cache.bz2
+share/doc/HTML/pt/kgraphviewer/index.docbook
+share/doc/HTML/pt_BR/kgraphviewer/index.cache.bz2
+share/doc/HTML/pt_BR/kgraphviewer/index.docbook
+share/doc/HTML/sv/kgraphviewer/index.cache.bz2
+share/doc/HTML/sv/kgraphviewer/index.docbook
+share/doc/HTML/sv/kgraphviewer/kgraphviewer-snap-ask1.png
+share/doc/HTML/sv/kgraphviewer/kgraphviewer-snap-ask2.png
+share/doc/HTML/sv/kgraphviewer/kgraphviewer-snap-ask3.png
+share/doc/HTML/sv/kgraphviewer/kgraphviewer-snap-config1.png
+share/doc/HTML/sv/kgraphviewer/kgraphviewer-snap-config2.png
+share/doc/HTML/sv/kgraphviewer/kgraphviewer-snap-config3.png
+share/doc/HTML/sv/kgraphviewer/kgraphviewer-snap-init.png
+share/doc/HTML/sv/kgraphviewer/kgraphviewer-snap-main.png
+share/doc/HTML/sv/kgraphviewer/kgraphviewer-snap-pagesmarges.png
+share/doc/HTML/sv/kgraphviewer/kgraphviewer-snap-ppview1.png
+share/doc/HTML/sv/kgraphviewer/kgraphviewer-snap-ppview2.png
+share/doc/HTML/sv/kgraphviewer/kgraphviewer-snap-ppview3.png
+share/doc/HTML/sv/kgraphviewer/kgraphviewer-snap-psetup1.png
+share/doc/HTML/sv/kgraphviewer/kgraphviewer-snap-zmax.png
+share/doc/HTML/sv/kgraphviewer/kgraphviewer-snap-zmin.png
+share/doc/HTML/uk/kgraphviewer/index.cache.bz2
+share/doc/HTML/uk/kgraphviewer/index.docbook
+share/icons/hicolor/16x16/apps/kgraphviewer.png
+share/icons/hicolor/32x32/apps/kgraphviewer.png
+%%DATADIR%%part/pics/chain-broken.png
+%%DATADIR%%part/pics/chain.png
+%%DATADIR%%part/pics/kgraphviewer-bev.png
+%%DATADIR%%part/pics/kgraphviewer-newedge.png
+%%DATADIR%%part/pics/kgraphviewer-newnode.png
+share/kservices5/kgraphviewer_part.desktop
+share/kxmlgui5/kgraphviewer/kgraphviewer_part.rc
+share/kxmlgui5/kgraphviewer/kgraphviewerui.rc
+share/locale/ar/LC_MESSAGES/kgraphviewer.mo
+share/locale/ast/LC_MESSAGES/kgraphviewer.mo
+share/locale/be/LC_MESSAGES/kgraphviewer.mo
+share/locale/bg/LC_MESSAGES/kgraphviewer.mo
+share/locale/bs/LC_MESSAGES/kgraphviewer.mo
+share/locale/ca/LC_MESSAGES/kgraphviewer.mo
+share/locale/ca@valencia/LC_MESSAGES/kgraphviewer.mo
+share/locale/cs/LC_MESSAGES/kgraphviewer.mo
+share/locale/da/LC_MESSAGES/kgraphviewer.mo
+share/locale/de/LC_MESSAGES/kgraphviewer.mo
+share/locale/el/LC_MESSAGES/kgraphviewer.mo
+share/locale/en_GB/LC_MESSAGES/kgraphviewer.mo
+share/locale/eo/LC_MESSAGES/kgraphviewer.mo
+share/locale/es/LC_MESSAGES/kgraphviewer.mo
+share/locale/et/LC_MESSAGES/kgraphviewer.mo
+share/locale/eu/LC_MESSAGES/kgraphviewer.mo
+share/locale/fi/LC_MESSAGES/kgraphviewer.mo
+share/locale/fr/LC_MESSAGES/kgraphviewer.mo
+share/locale/ga/LC_MESSAGES/kgraphviewer.mo
+share/locale/gl/LC_MESSAGES/kgraphviewer.mo
+share/locale/hi/LC_MESSAGES/kgraphviewer.mo
+share/locale/hne/LC_MESSAGES/kgraphviewer.mo
+share/locale/hr/LC_MESSAGES/kgraphviewer.mo
+share/locale/hu/LC_MESSAGES/kgraphviewer.mo
+share/locale/is/LC_MESSAGES/kgraphviewer.mo
+share/locale/it/LC_MESSAGES/kgraphviewer.mo
+share/locale/ja/LC_MESSAGES/kgraphviewer.mo
+share/locale/km/LC_MESSAGES/kgraphviewer.mo
+share/locale/ku/LC_MESSAGES/kgraphviewer.mo
+share/locale/lt/LC_MESSAGES/kgraphviewer.mo
+share/locale/mai/LC_MESSAGES/kgraphviewer.mo
+share/locale/mr/LC_MESSAGES/kgraphviewer.mo
+share/locale/nb/LC_MESSAGES/kgraphviewer.mo
+share/locale/nds/LC_MESSAGES/kgraphviewer.mo
+share/locale/nl/LC_MESSAGES/kgraphviewer.mo
+share/locale/nn/LC_MESSAGES/kgraphviewer.mo
+share/locale/pa/LC_MESSAGES/kgraphviewer.mo
+share/locale/pl/LC_MESSAGES/kgraphviewer.mo
+share/locale/pt/LC_MESSAGES/kgraphviewer.mo
+share/locale/pt_BR/LC_MESSAGES/kgraphviewer.mo
+share/locale/ro/LC_MESSAGES/kgraphviewer.mo
+share/locale/ru/LC_MESSAGES/kgraphviewer.mo
+share/locale/se/LC_MESSAGES/kgraphviewer.mo
+share/locale/sk/LC_MESSAGES/kgraphviewer.mo
+share/locale/sv/LC_MESSAGES/kgraphviewer.mo
+share/locale/th/LC_MESSAGES/kgraphviewer.mo
+share/locale/tr/LC_MESSAGES/kgraphviewer.mo
+share/locale/ug/LC_MESSAGES/kgraphviewer.mo
+share/locale/uk/LC_MESSAGES/kgraphviewer.mo
+share/locale/vi/LC_MESSAGES/kgraphviewer.mo
+share/locale/zh_CN/LC_MESSAGES/kgraphviewer.mo
+share/locale/zh_TW/LC_MESSAGES/kgraphviewer.mo
+share/metainfo/org.kde.kgraphviewer.appdata.xml
+share/metainfo/org.kde.libkgraphviewer.metainfo.xml
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jul 6, 8:10 AM (20 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34746395
Default Alt Text
D12530.id33530.diff (14 KB)
Attached To
Mode
D12530: First stab at reviving kgraphviewer
Attached
Detach File
Event Timeline
Log In to Comment