Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Apr 2019 05:32:05 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r498793 - in head: . x11 x11/qimageblitz x11/qimageblitz/files
Message-ID:  <201904130532.x3D5W5nX066182@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat Apr 13 05:32:05 2019
New Revision: 498793
URL: https://svnweb.freebsd.org/changeset/ports/498793

Log:
  Re-add x11/qimageblitz: Graphical effects and filters library, part of kdesupport
  
  The older version of this port has been recently removed because it was Qt4-only.
  As it turned out, it is used by some software packages, and the latest revision
  supports Qt5.
  
  It is also a part of the collection 'kdesupport', see https://launchpad.net/kdesupport
  Followed the advice of Adriaan de Groot <groot@kde.org> to use PORTVERSION=0.1.0

Added:
  head/x11/qimageblitz/
     - copied from r495966, head/x11/qimageblitz/
Deleted:
  head/x11/qimageblitz/files/
Modified:
  head/MOVED
  head/x11/Makefile
  head/x11/qimageblitz/Makefile
  head/x11/qimageblitz/distinfo
  head/x11/qimageblitz/pkg-plist

Modified: head/MOVED
==============================================================================
--- head/MOVED	Sat Apr 13 01:49:59 2019	(r498792)
+++ head/MOVED	Sat Apr 13 05:32:05 2019	(r498793)
@@ -11939,7 +11939,6 @@ www/qt4-webkit||2019-03-16|Has expired: Qt4 has been E
 www/qupzilla-qt4||2019-03-16|Has expired: Qt4 has been EOL since december 2015
 x11/leechcraft||2019-03-16|Has expired: Qt4 has been EOL since december 2015
 x11/py-qt4-opengl||2019-03-16|Has expired: Qt4 has been EOL since december 2015
-x11/qimageblitz||2019-03-16|Has expired: Qt4 has been EOL since december 2015
 x11/qt4-graphicssystems-opengl||2019-03-16|Has expired: Qt4 has been EOL since december 2015
 x11/qt4-inputmethods||2019-03-16|Has expired: Qt4 has been EOL since december 2015
 x11/qxkb||2019-03-16|Has expired: Qt4 has been EOL since december 2015

Modified: head/x11/Makefile
==============================================================================
--- head/x11/Makefile	Sat Apr 13 01:49:59 2019	(r498792)
+++ head/x11/Makefile	Sat Apr 13 05:32:05 2019	(r498793)
@@ -267,6 +267,7 @@
     SUBDIR += py-xcffib
     SUBDIR += py-xdot
     SUBDIR += py-xdot06
+    SUBDIR += qimageblitz
     SUBDIR += qt5-qev
     SUBDIR += qt5-x11extras
     SUBDIR += qterminal

Modified: head/x11/qimageblitz/Makefile
==============================================================================
--- head/x11/qimageblitz/Makefile	Sat Mar 16 21:52:35 2019	(r495966)
+++ head/x11/qimageblitz/Makefile	Sat Apr 13 05:32:05 2019	(r498793)
@@ -2,25 +2,35 @@
 # $FreeBSD$
 
 PORTNAME=	qimageblitz
-PORTVERSION=	0.0.6
-PORTREVISION=	3
+PORTVERSION=	0.1.0 # a made-up version also used in some linux distros, otherwise we need to add PORTEPOCH
 CATEGORIES=	x11
-MASTER_SITES=	KDE/stable/${PORTNAME}
 
 MAINTAINER=	kde@FreeBSD.org
-COMMENT=	Graphical effects and filters library for KDE4
+COMMENT=	Graphical effects and filters library for Qt5
 
-DEPRECATED=		Qt4 has been EOL since december 2015
-EXPIRATION_DATE=	2019-03-15
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/COPYING
 
+FETCH_DEPENDS=	svn:devel/subversion
+
+USES=		cmake qt:5
 USE_LDCONFIG=	yes
-USE_QT=		corelib gui qmake_build moc_build uic_build rcc_build
-USES=		cmake qt:4 tar:bzip2
+USE_QT=		core gui widgets qmake_build buildtools_build
 USE_CXXSTD=	gnu++98
 
-post-patch:
-	${REINPLACE_CMD} -e \
-		's,$${LIB_INSTALL_DIR}/pkgconfig,libdata/pkgconfig,' \
-		${WRKSRC}/blitz/CMakeLists.txt
+SVN_URL=	svn://anonsvn.kde.org/home/kde/trunk/kdesupport/qimageblitz
+SVN_REVISION=	1515099
+
+do-fetch:
+	@if [ "${FORCE_FETCH_ALL}" = "true" ] || ! [ -f "${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX}" ]; then \
+	  ${MKDIR} ${DISTDIR}/${DIST_SUBDIR} && \
+	  cd ${DISTDIR}/${DIST_SUBDIR} && \
+	    svn co -r ${SVN_REVISION} ${SVN_URL} ${PORTNAME}-${DISTVERSIONFULL} && \
+	    (cd ${PORTNAME}-${DISTVERSIONFULL} && ${RM} -r .svn) && \
+	    ${FIND} ${PORTNAME}-${DISTVERSIONFULL} -and -exec ${TOUCH} -h -d 1970-01-01T00:00:00Z {} \; && \
+	    ${FIND} ${PORTNAME}-${DISTVERSIONFULL} -print0 | LC_ALL=C ${SORT} -z | \
+	        ${TAR} czf ${PORTNAME}-${DISTVERSIONFULL}${EXTRACT_SUFX} --format=bsdtar --uid 0 --gid 0 --options gzip:!timestamp --no-recursion --null -T - && \
+	    ${RM} -r ${PORTNAME}-${DISTVERSIONFULL}; \
+	fi
 
 .include <bsd.port.mk>

Modified: head/x11/qimageblitz/distinfo
==============================================================================
--- head/x11/qimageblitz/distinfo	Sat Mar 16 21:52:35 2019	(r495966)
+++ head/x11/qimageblitz/distinfo	Sat Apr 13 05:32:05 2019	(r498793)
@@ -1,2 +1,3 @@
-SHA256 (qimageblitz-0.0.6.tar.bz2) = 9f102269dec50641440e23a449df215a0db9efef9a3969939d618c5e78a5010f
-SIZE (qimageblitz-0.0.6.tar.bz2) = 57617
+TIMESTAMP = 1555132095
+SHA256 (qimageblitz-0.1.0.tar.gz) = c1800a8200a15c8de3332f7572b7d942f696fdd1414f8d6810d7d74853255def
+SIZE (qimageblitz-0.1.0.tar.gz) = 58026

Modified: head/x11/qimageblitz/pkg-plist
==============================================================================
--- head/x11/qimageblitz/pkg-plist	Sat Mar 16 21:52:35 2019	(r495966)
+++ head/x11/qimageblitz/pkg-plist	Sat Apr 13 05:32:05 2019	(r498793)
@@ -3,6 +3,6 @@ include/qimageblitz/blitzcpu.h
 include/qimageblitz/qimageblitz.h
 include/qimageblitz/qimageblitz_export.h
 lib/libqimageblitz.so
-lib/libqimageblitz.so.4
-lib/libqimageblitz.so.4.0.0
+lib/libqimageblitz.so.5
+lib/libqimageblitz.so.5.0.0
 libdata/pkgconfig/qimageblitz.pc



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