Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Feb 2021 10:10:28 +0000 (UTC)
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r565218 - in head/science/kst2: . files
Message-ID:  <202102141010.11EAASHI038124@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: makc
Date: Sun Feb 14 10:10:27 2021
New Revision: 565218
URL: https://svnweb.freebsd.org/changeset/ports/565218

Log:
  science/kst2:
  - Switch from GitHub to the primary source repo (KDE invent) [1]
    and update to 2021.01.24 snapshot. The project development is stalled,
    therefore no changes in this update except translations.
  - Drop stale patches.
  - Amend description and WWW.
  - Install man page to the default path.
  
  Suggested by:	adridg [1]

Deleted:
  head/science/kst2/files/patch-src_libkstapp_shortcutdialog.cpp
  head/science/kst2/files/patch-src_libkstapp_view.h
Modified:
  head/science/kst2/Makefile
  head/science/kst2/distinfo
  head/science/kst2/files/patch-src__kst__CMakeLists.txt
  head/science/kst2/pkg-descr
  head/science/kst2/pkg-plist

Modified: head/science/kst2/Makefile
==============================================================================
--- head/science/kst2/Makefile	Sun Feb 14 10:06:48 2021	(r565217)
+++ head/science/kst2/Makefile	Sun Feb 14 10:10:27 2021	(r565218)
@@ -3,7 +3,6 @@
 
 PORTNAME=	kst
 DISTVERSION=	${KST_VERSION}.${KST_DATE}
-PORTREVISION=	5
 CATEGORIES=	science
 
 MAINTAINER=	makc@FreeBSD.org
@@ -18,24 +17,21 @@ LICENSE_FILE_LGPL20=	${WRKSRC}/COPYING.LGPL
 LIB_DEPENDS=	libgsl.so:math/gsl \
 		libtiff.so:graphics/tiff
 
-KST_VERSION=	2.0.8
-KST_DATE=	20190325
-
-USES=		cmake compiler:c++11-lang desktop-file-utils pkgconfig \
+USES=		cmake compiler:c++11-lang desktop-file-utils kde:5 pkgconfig \
 		qt:5 shared-mime-info
 USE_QT=		concurrent core gui network printsupport svg widgets xml \
 		buildtools_build linguisttools_build qmake_build
 USE_LDCONFIG=	yes
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	KDE
-GH_PROJECT=	kst-plot
-GH_TAGNAME=	35c35e1
+KST_VERSION=	2.0.8
+KST_DATE=	20210124
+KST_COMMIT=	38eddb53
+KDE_INVENT=	38eddb5322a1d557f9d86ea95d456d76272941e3 graphics kst-plot
 
 CMAKE_ARGS=	-Dkst_install_prefix=${PREFIX} \
 		-Dkst_pch=off \
 		-Dkst_version_string=${KST_VERSION} \
-		-Dkst_revision="${GH_TAGNAME} ${KST_DATE}" \
+		-Dkst_revision="${KST_COMMIT} ${KST_DATE}" \
 		-DCMAKE_DISABLE_FIND_PACKAGE_Getdata=ON \
 		-Dkst_qt5=on
 

Modified: head/science/kst2/distinfo
==============================================================================
--- head/science/kst2/distinfo	Sun Feb 14 10:06:48 2021	(r565217)
+++ head/science/kst2/distinfo	Sun Feb 14 10:10:27 2021	(r565218)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1555765884
-SHA256 (KDE-kst-plot-2.0.8.20190325-35c35e1_GH0.tar.gz) = b448a857d18ae066001a80e20b6eb0cbfaa40fa3634791793221c5e08ee61a14
-SIZE (KDE-kst-plot-2.0.8.20190325-35c35e1_GH0.tar.gz) = 18791194
+TIMESTAMP = 1613293183
+SHA256 (graphics-kst-plot-38eddb5322a1d557f9d86ea95d456d76272941e3_GL0.tar.gz) = dbda1392146cb1dde219109384f44087b1217b4015d54358fb7c6416c428a11d
+SIZE (graphics-kst-plot-38eddb5322a1d557f9d86ea95d456d76272941e3_GL0.tar.gz) = 18790860

Modified: head/science/kst2/files/patch-src__kst__CMakeLists.txt
==============================================================================
--- head/science/kst2/files/patch-src__kst__CMakeLists.txt	Sun Feb 14 10:06:48 2021	(r565217)
+++ head/science/kst2/files/patch-src__kst__CMakeLists.txt	Sun Feb 14 10:10:27 2021	(r565218)
@@ -7,7 +7,7 @@
 -	install(CODE "execute_process(COMMAND gzip ${man})")
 -	set_source_files_properties(${man}.gz PROPERTIES GENERATED TRUE)
 -	install(FILES ${man}.gz DESTINATION share/man/man1)
-+	install(FILES ${man} DESTINATION man/man1)
++	install(FILES ${man} DESTINATION share/man/man1)
  
  	set(k ${kst_dir}/src/kst)
  #	install(FILES ${k}/kstplugin.desktop

Modified: head/science/kst2/pkg-descr
==============================================================================
--- head/science/kst2/pkg-descr	Sun Feb 14 10:06:48 2021	(r565217)
+++ head/science/kst2/pkg-descr	Sun Feb 14 10:10:27 2021	(r565218)
@@ -17,8 +17,4 @@ Features of Kst include:
 - Support for several popular data formats.
 - Extended annotation objects similar to vector graphics applications.
 
-This port provide Kst 2, which is based on Qt4. It still lacks scripting
-support and backward compatibility with Kst 1.x series (you can't open
-kst-1 files in Kst 2).
-
-WWW: http://kst.kde.org
+WWW: https://kst-plot.kde.org

Modified: head/science/kst2/pkg-plist
==============================================================================
--- head/science/kst2/pkg-plist	Sun Feb 14 10:06:48 2021	(r565217)
+++ head/science/kst2/pkg-plist	Sun Feb 14 10:10:27 2021	(r565218)
@@ -69,7 +69,6 @@ lib/libkst2math.so.%%SHLIB_VER%%
 lib/libkst2widgets.so
 lib/libkst2widgets.so.2
 lib/libkst2widgets.so.%%SHLIB_VER%%
-man/man1/kst2.1.gz
 share/applications/kst2.desktop
 share/icons/hicolor/128x128/apps/kst.png
 share/icons/hicolor/128x128/mimetypes/application-x-kst.png
@@ -81,4 +80,5 @@ share/icons/hicolor/64x64/apps/kst.png
 share/icons/hicolor/64x64/mimetypes/application-x-kst.png
 share/icons/hicolor/scalable/apps/kst.svg
 share/icons/hicolor/scalable/mimetypes/application-x-kst.svg
+share/man/man1/kst2.1.gz
 share/mime/packages/x-kst.xml



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102141010.11EAASHI038124>