Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Aug 2016 15:36:19 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r420244 - in head: Mk/Uses deskutils/kdepim4 devel devel/grantlee devel/grantlee/files devel/grantlee5 devel/grantlee5/files devel/kdevplatform finance/skrooge math/rocs x11/kdelibs4
Message-ID:  <201608151536.u7FFaJx1012047@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Mon Aug 15 15:36:19 2016
New Revision: 420244
URL: https://svnweb.freebsd.org/changeset/ports/420244

Log:
  New port: devel/grantlee5 and Uses/grantlee.mk
  
  The upcoming KDE Frameworks ports need grantlee5
  
  *  Add devel/grantlee5 and move installed headers into a subdirectory include/grantlee5
  *  Move header files from devel/grantlee into a subdirectory
         include/grantlee4
     to make sure ports do not pick up the wrong headers
  *  Add Uses/grantlee.mk to handle the PLIST_SUB and LIB_DEEPENDS needed
     by ports using grantlee (before we set the PLIST_SUB manual in very
     of the depending ports, which now should not be needed anymore).
  *  The ports depending on devel/grantlee have been modified from
        LIB_DEPENDS=libgrantlee_gui.so:devel/grantlee
     to
        USES=grantlee:4
     as this does not affect the package no version bumped was made.
  
  Reviewed by:    mat, rakuco
  Approved by:    rakuco (mentor)
  Differential Revision:  https://reviews.freebsd.org/D7434

Added:
  head/Mk/Uses/grantlee.mk   (contents, props changed)
  head/devel/grantlee/files/
  head/devel/grantlee/files/patch-CMakeLists.txt   (contents, props changed)
  head/devel/grantlee/files/patch-templates_lib_CMakeLists.txt   (contents, props changed)
  head/devel/grantlee/files/patch-textdocument_lib_CMakeLists.txt   (contents, props changed)
  head/devel/grantlee5/
     - copied from r419169, head/devel/grantlee/
  head/devel/grantlee5/files/
  head/devel/grantlee5/files/patch-CMakeLists.txt   (contents, props changed)
  head/devel/grantlee5/files/patch-templates_lib_CMakeLists.txt   (contents, props changed)
  head/devel/grantlee5/files/patch-textdocument_lib_CMakeLists.txt   (contents, props changed)
Modified:
  head/deskutils/kdepim4/Makefile
  head/deskutils/kdepim4/pkg-plist
  head/devel/Makefile
  head/devel/grantlee/Makefile
  head/devel/grantlee/distinfo
  head/devel/grantlee/pkg-plist
  head/devel/grantlee5/Makefile
  head/devel/grantlee5/distinfo
  head/devel/grantlee5/pkg-descr
  head/devel/grantlee5/pkg-plist
  head/devel/kdevplatform/Makefile
  head/devel/kdevplatform/pkg-plist
  head/finance/skrooge/Makefile
  head/finance/skrooge/pkg-plist
  head/math/rocs/Makefile
  head/x11/kdelibs4/Makefile

Added: head/Mk/Uses/grantlee.mk
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/Mk/Uses/grantlee.mk	Mon Aug 15 15:36:19 2016	(r420244)
@@ -0,0 +1,66 @@
+# $FreeBSD$
+#
+# Handle dependency on grantlee
+#
+# Feature:	grantlee
+# Usage:	USES=grantlee:ARGS
+# Valid ARGS:	<version>,selfbuild
+#
+# version	The chooseable versions are 4 and 5.
+#		USES=grantlee:4 # Use grantlee 0.x (qt4-based)
+#		USES=grantlee:5 # Use grantlee 5.x (qt5-based)
+#
+# selfbuild	Used in devel/grantlee and devel/grantlee5 to suck in versions
+#		but not LIB_DEPENDS.
+#
+# Using USES=grantlee:ARGS will export some usesful variables and plist subs
+# Variables:
+# 		GRANTLEE_VERSION	- the version of the chosen grantlee
+# Subs:
+#		GRANTLEE_VERSION_FULL	- full version of the chosen grantlee
+#		GRANTLEE_VERSION_SHORT	- short version of the chosen grantlee
+#
+# Further it will also append the proper LIB_DEPENDS line.
+#
+# MAINTAINER: kde@FreeBSD.org
+#
+
+.if ! defined(_INCLUDE_USES_GRANTLEE_MK)
+_INCLUDE_USES_GRANTLEE_MK=	YES
+
+GRANTLEE_SUPPORTED=	4 5
+
+GRANTLEE4_VER=	0.5.1
+GRANTLEE5_VER=	5.1.0
+
+GRANTLEE4_LIB_DEPEND=	libgrantlee_gui.so:devel/grantlee
+GRANTLEE5_LIB_DEPEND=	libGrantlee_Templates.so:devel/grantlee5
+
+_grantlee_version=	#
+.  for ver in ${GRANTLEE_SUPPORTED:O:u}
+.    if ${grantlee_ARGS:M${ver}}
+.      if empty(_grantlee_version)
+_grantlee_version=	${ver}
+.      else
+IGNORE=		Incorrect USES=grantlee:${grantlee_ARGS} - multiple versions defined
+.      endif
+.    endif
+.  endfor
+
+.  if empty(_grantlee_version)
+IGNORE=		Incorrect USES=grantlee:${grantlee_ARGS} - no version defined
+.  endif
+
+# Export the version of the chosen grantlee port
+GRANTLEE_VERSION=	${GRANTLEE${_grantlee_version}_VER}
+
+# Append the correct LIB_DEPENDS
+.  if empty(grantlee_ARGS:Mselfbuild)
+LIB_DEPENDS+=	${GRANTLEE${_grantlee_version}_LIB_DEPEND}
+.  endif
+
+# Export the plist substitutions
+PLIST_SUB+=	GRANTLEE_VERSION_FULL=${GRANTLEE_VERSION} \
+		GRANTLEE_VERSION_SHORT=${GRANTLEE_VERSION:R}
+
+.endif

Modified: head/deskutils/kdepim4/Makefile
==============================================================================
--- head/deskutils/kdepim4/Makefile	Mon Aug 15 15:28:18 2016	(r420243)
+++ head/deskutils/kdepim4/Makefile	Mon Aug 15 15:36:19 2016	(r420244)
@@ -14,7 +14,6 @@ LIB_DEPENDS=	libgpgme.so:security/gpgme 
 		libassuan.so:security/libassuan \
 		libsasl2.so:security/cyrus-sasl2 \
 		libboost_thread.so:devel/boost-libs \
-		libgrantlee_gui.so:devel/grantlee \
 		libkgapi2.so:devel/libkgapi
 RUN_DEPENDS=	${KDE4_PREFIX}/bin/accountwizard:deskutils/kdepim4-runtime \
 		${LOCALBASE}/bin/gmd5sum:sysutils/coreutils
@@ -24,7 +23,7 @@ CONFLICTS_INSTALL=	kdepim44-4.*
 USE_GNOME=	libxml2 libxslt:build
 USE_KDE4=	kdelibs pimlibs kactivities \
 		akonadi automoc4 soprano nepomuk-widgets baloo
-USES=		cmake:outsource gmake iconv shebangfix tar:xz
+USES=		cmake:outsource gmake grantlee:4 iconv shebangfix tar:xz
 SHEBANG_FILES=	agents/mailfilteragent/kconf_update/migrate-kmail-filters.pl \
 		kalarm/*.pl kmail/kconf_update/*.pl \
 		libkpgp/kconf_update/kpgp-3.1-upgrade-address-data.pl
@@ -40,8 +39,6 @@ CXXFLAGS+=	-Wno-error=return-type
 USE_LDCONFIG=	yes
 MAKE_ENV=	XDG_CONFIG_HOME=/dev/null
 
-PLIST_SUB=	GRANTLEE_VER=0.5
-
 post-patch:
 # Remove BOM
 	${REINPLACE_CMD} -e '1 s|^.*/|/|g' \

Modified: head/deskutils/kdepim4/pkg-plist
==============================================================================
--- head/deskutils/kdepim4/pkg-plist	Mon Aug 15 15:28:18 2016	(r420243)
+++ head/deskutils/kdepim4/pkg-plist	Mon Aug 15 15:36:19 2016	(r420244)
@@ -158,7 +158,7 @@ lib/kde4/plugins/accessible/messageviewe
 lib/kde4/plugins/designer/kdepimwidgets.so
 lib/kde4/plugins/designer/mailcommonwidgets.so
 lib/kde4/plugins/designer/pimcommonwidgets.so
-lib/kde4/plugins/grantlee/%%GRANTLEE_VER%%/grantlee_messageheaderfilters.so
+lib/kde4/plugins/grantlee/%%GRANTLEE_VERSION_SHORT%%/grantlee_messageheaderfilters.so
 lib/libakonadi_next.so
 lib/libakonadi_next.so.4
 lib/libakonadi_next.so.%%KDE4_KDELIBS_VERSION%%

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Aug 15 15:28:18 2016	(r420243)
+++ head/devel/Makefile	Mon Aug 15 15:36:19 2016	(r420244)
@@ -767,6 +767,7 @@
     SUBDIR += gputils
     SUBDIR += gradle
     SUBDIR += grantlee
+    SUBDIR += grantlee5
     SUBDIR += gsettings-desktop-schemas
     SUBDIR += gsoap
     SUBDIR += gstreamer-plugins-gconf

Modified: head/devel/grantlee/Makefile
==============================================================================
--- head/devel/grantlee/Makefile	Mon Aug 15 15:28:18 2016	(r420243)
+++ head/devel/grantlee/Makefile	Mon Aug 15 15:36:19 2016	(r420244)
@@ -1,16 +1,9 @@
 # Created by: Dima Panov <fluffy@FreeBSD.org>
 # $FreeBSD$
 
-# Some ports install files into versioned grantlee directory (GRANTLEE_VER)
-# they must be fixed whenever grantlee gets version bump
-# Known ports:
-# deskutils/kdepim4
-# devel/kdevplatform
-# finance/skrooge
-#
-
 PORTNAME=	grantlee
-DISTVERSION=	0.5.1
+DISTVERSION=	${GRANTLEE_VERSION}
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	http://downloads.${PORTNAME}.org/ \
 		http://www.loegria.net/${PORTNAME}/
@@ -22,11 +15,8 @@ LICENSE=	LGPL21
 
 USE_QT4=	corelib gui qtestlib_build script \
 		qmake_build moc_build rcc_build uic_build
-USES=		cmake:outsource
+USES=		cmake:outsource grantlee:4,selfbuild
 CMAKE_ARGS+=	-DBUILD_TESTS:BOOL=FALSE
 USE_LDCONFIG=	yes
 
-PLIST_SUB=	SHLIB_VER=${PORTVERSION} \
-		GRANTLEE_VER=${PORTVERSION:R}
-
 .include <bsd.port.mk>

Modified: head/devel/grantlee/distinfo
==============================================================================
--- head/devel/grantlee/distinfo	Mon Aug 15 15:28:18 2016	(r420243)
+++ head/devel/grantlee/distinfo	Mon Aug 15 15:36:19 2016	(r420244)
@@ -1,2 +1,3 @@
+TIMESTAMP = 1471275288
 SHA256 (grantlee-0.5.1.tar.gz) = 191809bf4c9b7ef877af0fd29345061c2372edfb4506aa7d5df5c71a570fa0ac
 SIZE (grantlee-0.5.1.tar.gz) = 1172769

Added: head/devel/grantlee/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/grantlee/files/patch-CMakeLists.txt	Mon Aug 15 15:36:19 2016	(r420244)
@@ -0,0 +1,14 @@
+Install headers prefixed, as to not cause a possible conflict with
+different versions.
+
+--- CMakeLists.txt.orig	2016-08-10 16:05:25 UTC
++++ CMakeLists.txt
+@@ -96,7 +96,7 @@ set (LIB_SUFFIX "" CACHE STRING "Define
+ set( LIB_INSTALL_DIR lib${LIB_SUFFIX} )
+ set( PLUGIN_INSTALL_DIR lib${LIB_SUFFIX}/grantlee/${Grantlee_MAJOR_MINOR_VERSION_STRING} )
+ set( BIN_INSTALL_DIR bin )
+-set( INCLUDE_INSTALL_DIR include )
++set( INCLUDE_INSTALL_DIR include/grantlee4 )
+ set( DATA_INSTALL_DIR share/apps )
+
+ # set up RPATH/install_name_dir

Added: head/devel/grantlee/files/patch-templates_lib_CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/grantlee/files/patch-templates_lib_CMakeLists.txt	Mon Aug 15 15:36:19 2016	(r420244)
@@ -0,0 +1,14 @@
+Install headers prefixed, as to not cause a possible conflict with
+different versions.
+
+--- templates/lib/CMakeLists.txt.orig	2016-08-10 16:06:08 UTC
++++ templates/lib/CMakeLists.txt
+@@ -119,7 +119,7 @@ install(TARGETS grantlee_core EXPORT gra
+          RUNTIME DESTINATION ${BIN_INSTALL_DIR} COMPONENT Templates
+          LIBRARY DESTINATION ${LIB_INSTALL_DIR} COMPONENT Templates
+          ARCHIVE DESTINATION ${LIB_INSTALL_DIR} COMPONENT Templates
+-         INCLUDES DESTINATION include
++         INCLUDES DESTINATION include/grantlee4
+ )
+
+ install(FILES

Added: head/devel/grantlee/files/patch-textdocument_lib_CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/grantlee/files/patch-textdocument_lib_CMakeLists.txt	Mon Aug 15 15:36:19 2016	(r420244)
@@ -0,0 +1,14 @@
+Install headers prefixed, as to not cause a possible conflict with
+different versions.
+
+--- textdocument/lib/CMakeLists.txt.orig	2016-08-10 16:06:47 UTC
++++ textdocument/lib/CMakeLists.txt
+@@ -44,7 +44,7 @@ install(TARGETS grantlee_gui EXPORT gran
+          RUNTIME DESTINATION ${BIN_INSTALL_DIR} COMPONENT TextDocument
+          LIBRARY DESTINATION ${LIB_INSTALL_DIR} COMPONENT TextDocument
+          ARCHIVE DESTINATION ${LIB_INSTALL_DIR} COMPONENT TextDocument
+-         INCLUDES DESTINATION include
++         INCLUDES DESTINATION include/grantlee4
+ )
+
+ install(FILES

Modified: head/devel/grantlee/pkg-plist
==============================================================================
--- head/devel/grantlee/pkg-plist	Mon Aug 15 15:28:18 2016	(r420243)
+++ head/devel/grantlee/pkg-plist	Mon Aug 15 15:36:19 2016	(r420244)
@@ -1,49 +1,49 @@
-include/grantlee/abstractlocalizer.h
-include/grantlee/abstractmarkupbuilder.h
-include/grantlee/bbcodebuilder.h
-include/grantlee/cachingloaderdecorator.h
-include/grantlee/containeraccessor.h
-include/grantlee/context.h
-include/grantlee/engine.h
-include/grantlee/exception.h
-include/grantlee/filter.h
-include/grantlee/filterexpression.h
-include/grantlee/grantlee_core_export.h
-include/grantlee/grantlee_gui_export.h
-include/grantlee/grantlee_version.h
-include/grantlee/markupdirector.h
-include/grantlee/mediawikimarkupbuilder.h
-include/grantlee/metatype.h
-include/grantlee/node.h
-include/grantlee/outputstream.h
-include/grantlee/parser.h
-include/grantlee/plaintextmarkupbuilder.h
-include/grantlee/qtlocalizer.h
-include/grantlee/rendercontext.h
-include/grantlee/safestring.h
-include/grantlee/taglibraryinterface.h
-include/grantlee/template.h
-include/grantlee/templateloader.h
-include/grantlee/texthtmlbuilder.h
-include/grantlee/token.h
-include/grantlee/typeaccessor.h
-include/grantlee/util.h
-include/grantlee/variable.h
-include/grantlee_core.h
-include/grantlee_templates.h
-include/grantlee_textdocument.h
+include/grantlee4/grantlee/abstractlocalizer.h
+include/grantlee4/grantlee/abstractmarkupbuilder.h
+include/grantlee4/grantlee/bbcodebuilder.h
+include/grantlee4/grantlee/cachingloaderdecorator.h
+include/grantlee4/grantlee/containeraccessor.h
+include/grantlee4/grantlee/context.h
+include/grantlee4/grantlee/engine.h
+include/grantlee4/grantlee/exception.h
+include/grantlee4/grantlee/filter.h
+include/grantlee4/grantlee/filterexpression.h
+include/grantlee4/grantlee/grantlee_core_export.h
+include/grantlee4/grantlee/grantlee_gui_export.h
+include/grantlee4/grantlee/grantlee_version.h
+include/grantlee4/grantlee/markupdirector.h
+include/grantlee4/grantlee/mediawikimarkupbuilder.h
+include/grantlee4/grantlee/metatype.h
+include/grantlee4/grantlee/node.h
+include/grantlee4/grantlee/outputstream.h
+include/grantlee4/grantlee/parser.h
+include/grantlee4/grantlee/plaintextmarkupbuilder.h
+include/grantlee4/grantlee/qtlocalizer.h
+include/grantlee4/grantlee/rendercontext.h
+include/grantlee4/grantlee/safestring.h
+include/grantlee4/grantlee/taglibraryinterface.h
+include/grantlee4/grantlee/template.h
+include/grantlee4/grantlee/templateloader.h
+include/grantlee4/grantlee/texthtmlbuilder.h
+include/grantlee4/grantlee/token.h
+include/grantlee4/grantlee/typeaccessor.h
+include/grantlee4/grantlee/util.h
+include/grantlee4/grantlee/variable.h
+include/grantlee4/grantlee_core.h
+include/grantlee4/grantlee_templates.h
+include/grantlee4/grantlee_textdocument.h
 lib/cmake/grantlee/GrantleeConfig.cmake
 lib/cmake/grantlee/GrantleeConfigVersion.cmake
 lib/cmake/grantlee/GrantleeTargets-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/grantlee/GrantleeTargets.cmake
 lib/cmake/grantlee/GrantleeUse.cmake
-lib/grantlee/%%GRANTLEE_VER%%/grantlee_defaultfilters.so
-lib/grantlee/%%GRANTLEE_VER%%/grantlee_defaulttags.so
-lib/grantlee/%%GRANTLEE_VER%%/grantlee_i18ntags.so
-lib/grantlee/%%GRANTLEE_VER%%/grantlee_loadertags.so
+lib/grantlee/%%GRANTLEE_VERSION_SHORT%%/grantlee_defaultfilters.so
+lib/grantlee/%%GRANTLEE_VERSION_SHORT%%/grantlee_defaulttags.so
+lib/grantlee/%%GRANTLEE_VERSION_SHORT%%/grantlee_i18ntags.so
+lib/grantlee/%%GRANTLEE_VERSION_SHORT%%/grantlee_loadertags.so
 lib/libgrantlee_core.so
 lib/libgrantlee_core.so.0
-lib/libgrantlee_core.so.%%SHLIB_VER%%
+lib/libgrantlee_core.so.%%GRANTLEE_VERSION_FULL%%
 lib/libgrantlee_gui.so
 lib/libgrantlee_gui.so.0
-lib/libgrantlee_gui.so.%%SHLIB_VER%%
+lib/libgrantlee_gui.so.%%GRANTLEE_VERSION_FULL%%

Modified: head/devel/grantlee5/Makefile
==============================================================================
--- head/devel/grantlee/Makefile	Wed Jul 27 09:00:56 2016	(r419169)
+++ head/devel/grantlee5/Makefile	Mon Aug 15 15:36:19 2016	(r420244)
@@ -1,32 +1,20 @@
-# Created by: Dima Panov <fluffy@FreeBSD.org>
+# Created by: Tobias C. Berner <tcberner@gmail.com>
 # $FreeBSD$
 
-# Some ports install files into versioned grantlee directory (GRANTLEE_VER)
-# they must be fixed whenever grantlee gets version bump
-# Known ports:
-# deskutils/kdepim4
-# devel/kdevplatform
-# finance/skrooge
-#
-
 PORTNAME=	grantlee
-DISTVERSION=	0.5.1
+PORTVERSION=	${GRANTLEE_VERSION}
 CATEGORIES=	devel
-MASTER_SITES=	http://downloads.${PORTNAME}.org/ \
-		http://www.loegria.net/${PORTNAME}/
+MASTER_SITES=	http://downloads.${PORTNAME}.org/
+PKGNAMESUFFIX=	5
 
 MAINTAINER=	kde@FreeBSD.org
-COMMENT=	String template engine for Qt 4
+COMMENT=	String template engine for Qt 5
 
 LICENSE=	LGPL21
 
-USE_QT4=	corelib gui qtestlib_build script \
-		qmake_build moc_build rcc_build uic_build
-USES=		cmake:outsource
+USE_QT5=	buildtools_build core gui qmake_build script
+USES=		cmake:outsource compiler:c++11-lib grantlee:5,selfbuild
 CMAKE_ARGS+=	-DBUILD_TESTS:BOOL=FALSE
 USE_LDCONFIG=	yes
 
-PLIST_SUB=	SHLIB_VER=${PORTVERSION} \
-		GRANTLEE_VER=${PORTVERSION:R}
-
 .include <bsd.port.mk>

Modified: head/devel/grantlee5/distinfo
==============================================================================
--- head/devel/grantlee/distinfo	Wed Jul 27 09:00:56 2016	(r419169)
+++ head/devel/grantlee5/distinfo	Mon Aug 15 15:36:19 2016	(r420244)
@@ -1,2 +1,3 @@
-SHA256 (grantlee-0.5.1.tar.gz) = 191809bf4c9b7ef877af0fd29345061c2372edfb4506aa7d5df5c71a570fa0ac
-SIZE (grantlee-0.5.1.tar.gz) = 1172769
+TIMESTAMP = 1471275306
+SHA256 (grantlee-5.1.0.tar.gz) = ea2e402466c74bb533eee2c7252209ec61cd93a5d236fecd625b4a0eb13a1478
+SIZE (grantlee-5.1.0.tar.gz) = 1175380

Added: head/devel/grantlee5/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/grantlee5/files/patch-CMakeLists.txt	Mon Aug 15 15:36:19 2016	(r420244)
@@ -0,0 +1,14 @@
+Install headers prefixed, as to not cause a possible conflict with
+different versions.
+
+--- CMakeLists.txt.orig	2016-08-10 16:09:20 UTC
++++ CMakeLists.txt
+@@ -100,7 +100,7 @@ set (LIB_SUFFIX "" CACHE STRING "Define
+ set( LIB_INSTALL_DIR lib${LIB_SUFFIX} )
+ set( PLUGIN_INSTALL_DIR ${LIB_INSTALL_DIR}/grantlee/${Grantlee5_MAJOR_MINOR_VERSION_STRING} )
+ set( BIN_INSTALL_DIR bin )
+-set( INCLUDE_INSTALL_DIR include )
++set( INCLUDE_INSTALL_DIR include/grantlee5 )
+ set( DATA_INSTALL_DIR share/apps )
+
+ # set up RPATH/install_name_dir

Added: head/devel/grantlee5/files/patch-templates_lib_CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/grantlee5/files/patch-templates_lib_CMakeLists.txt	Mon Aug 15 15:36:19 2016	(r420244)
@@ -0,0 +1,14 @@
+Install headers prefixed, as to not cause a possible conflict with
+different versions.
+
+--- templates/lib/CMakeLists.txt.orig	2016-08-10 16:09:48 UTC
++++ templates/lib/CMakeLists.txt
+@@ -137,7 +137,7 @@ install(TARGETS Grantlee_Templates EXPOR
+          RUNTIME DESTINATION ${BIN_INSTALL_DIR} COMPONENT Templates
+          LIBRARY DESTINATION ${LIB_INSTALL_DIR} COMPONENT Templates
+          ARCHIVE DESTINATION ${LIB_INSTALL_DIR} COMPONENT Templates
+-         INCLUDES DESTINATION include
++         INCLUDES DESTINATION include/grantlee5
+ )
+
+ install(FILES

Added: head/devel/grantlee5/files/patch-textdocument_lib_CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/grantlee5/files/patch-textdocument_lib_CMakeLists.txt	Mon Aug 15 15:36:19 2016	(r420244)
@@ -0,0 +1,14 @@
+Install headers prefixed, as to not cause a possible conflict with
+different versions.
+
+--- textdocument/lib/CMakeLists.txt.orig	2016-08-10 16:10:17 UTC
++++ textdocument/lib/CMakeLists.txt
+@@ -58,7 +58,7 @@ install(TARGETS Grantlee_TextDocument EX
+          RUNTIME DESTINATION ${BIN_INSTALL_DIR} COMPONENT TextDocument
+          LIBRARY DESTINATION ${LIB_INSTALL_DIR} COMPONENT TextDocument
+          ARCHIVE DESTINATION ${LIB_INSTALL_DIR} COMPONENT TextDocument
+-         INCLUDES DESTINATION include
++         INCLUDES DESTINATION include/grantlee5
+ )
+
+ install(FILES

Modified: head/devel/grantlee5/pkg-descr
==============================================================================
--- head/devel/grantlee/pkg-descr	Wed Jul 27 09:00:56 2016	(r419169)
+++ head/devel/grantlee5/pkg-descr	Mon Aug 15 15:36:19 2016	(r420244)
@@ -1,4 +1,4 @@
 Grantlee is a string template engine based on the Django template
 system and written using the Qt framework.
 
-WWW: http://gitorious.org/grantlee/pages/Home
+WWW: https://github.com/steveire/grantlee

Modified: head/devel/grantlee5/pkg-plist
==============================================================================
--- head/devel/grantlee/pkg-plist	Wed Jul 27 09:00:56 2016	(r419169)
+++ head/devel/grantlee5/pkg-plist	Mon Aug 15 15:36:19 2016	(r420244)
@@ -1,49 +1,47 @@
-include/grantlee/abstractlocalizer.h
-include/grantlee/abstractmarkupbuilder.h
-include/grantlee/bbcodebuilder.h
-include/grantlee/cachingloaderdecorator.h
-include/grantlee/containeraccessor.h
-include/grantlee/context.h
-include/grantlee/engine.h
-include/grantlee/exception.h
-include/grantlee/filter.h
-include/grantlee/filterexpression.h
-include/grantlee/grantlee_core_export.h
-include/grantlee/grantlee_gui_export.h
-include/grantlee/grantlee_version.h
-include/grantlee/markupdirector.h
-include/grantlee/mediawikimarkupbuilder.h
-include/grantlee/metatype.h
-include/grantlee/node.h
-include/grantlee/outputstream.h
-include/grantlee/parser.h
-include/grantlee/plaintextmarkupbuilder.h
-include/grantlee/qtlocalizer.h
-include/grantlee/rendercontext.h
-include/grantlee/safestring.h
-include/grantlee/taglibraryinterface.h
-include/grantlee/template.h
-include/grantlee/templateloader.h
-include/grantlee/texthtmlbuilder.h
-include/grantlee/token.h
-include/grantlee/typeaccessor.h
-include/grantlee/util.h
-include/grantlee/variable.h
-include/grantlee_core.h
-include/grantlee_templates.h
-include/grantlee_textdocument.h
-lib/cmake/grantlee/GrantleeConfig.cmake
-lib/cmake/grantlee/GrantleeConfigVersion.cmake
-lib/cmake/grantlee/GrantleeTargets-%%CMAKE_BUILD_TYPE%%.cmake
-lib/cmake/grantlee/GrantleeTargets.cmake
-lib/cmake/grantlee/GrantleeUse.cmake
-lib/grantlee/%%GRANTLEE_VER%%/grantlee_defaultfilters.so
-lib/grantlee/%%GRANTLEE_VER%%/grantlee_defaulttags.so
-lib/grantlee/%%GRANTLEE_VER%%/grantlee_i18ntags.so
-lib/grantlee/%%GRANTLEE_VER%%/grantlee_loadertags.so
-lib/libgrantlee_core.so
-lib/libgrantlee_core.so.0
-lib/libgrantlee_core.so.%%SHLIB_VER%%
-lib/libgrantlee_gui.so
-lib/libgrantlee_gui.so.0
-lib/libgrantlee_gui.so.%%SHLIB_VER%%
+include/grantlee5/grantlee/abstractlocalizer.h
+include/grantlee5/grantlee/abstractmarkupbuilder.h
+include/grantlee5/grantlee/bbcodebuilder.h
+include/grantlee5/grantlee/cachingloaderdecorator.h
+include/grantlee5/grantlee/context.h
+include/grantlee5/grantlee/engine.h
+include/grantlee5/grantlee/exception.h
+include/grantlee5/grantlee/filter.h
+include/grantlee5/grantlee/filterexpression.h
+include/grantlee5/grantlee/grantlee_templates_export.h
+include/grantlee5/grantlee/grantlee_textdocument_export.h
+include/grantlee5/grantlee/grantlee_version.h
+include/grantlee5/grantlee/markupdirector.h
+include/grantlee5/grantlee/mediawikimarkupbuilder.h
+include/grantlee5/grantlee/metatype.h
+include/grantlee5/grantlee/node.h
+include/grantlee5/grantlee/outputstream.h
+include/grantlee5/grantlee/parser.h
+include/grantlee5/grantlee/plaintextmarkupbuilder.h
+include/grantlee5/grantlee/qtlocalizer.h
+include/grantlee5/grantlee/rendercontext.h
+include/grantlee5/grantlee/safestring.h
+include/grantlee5/grantlee/taglibraryinterface.h
+include/grantlee5/grantlee/template.h
+include/grantlee5/grantlee/templateloader.h
+include/grantlee5/grantlee/texthtmlbuilder.h
+include/grantlee5/grantlee/token.h
+include/grantlee5/grantlee/typeaccessor.h
+include/grantlee5/grantlee/util.h
+include/grantlee5/grantlee/variable.h
+include/grantlee5/grantlee_templates.h
+include/grantlee5/grantlee_textdocument.h
+lib/cmake/Grantlee5/Grantlee5Config.cmake
+lib/cmake/Grantlee5/Grantlee5ConfigVersion.cmake
+lib/cmake/Grantlee5/GrantleeMacros.cmake
+lib/cmake/Grantlee5/GrantleeTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/Grantlee5/GrantleeTargets.cmake
+lib/grantlee/%%GRANTLEE_VERSION_SHORT%%/grantlee_defaultfilters.so
+lib/grantlee/%%GRANTLEE_VERSION_SHORT%%/grantlee_defaulttags.so
+lib/grantlee/%%GRANTLEE_VERSION_SHORT%%/grantlee_i18ntags.so
+lib/grantlee/%%GRANTLEE_VERSION_SHORT%%/grantlee_loadertags.so
+lib/libGrantlee_Templates.so
+lib/libGrantlee_Templates.so.5
+lib/libGrantlee_Templates.so.%%GRANTLEE_VERSION_FULL%%
+lib/libGrantlee_TextDocument.so
+lib/libGrantlee_TextDocument.so.5
+lib/libGrantlee_TextDocument.so.%%GRANTLEE_VERSION_FULL%%

Modified: head/devel/kdevplatform/Makefile
==============================================================================
--- head/devel/kdevplatform/Makefile	Mon Aug 15 15:28:18 2016	(r420243)
+++ head/devel/kdevplatform/Makefile	Mon Aug 15 15:36:19 2016	(r420244)
@@ -12,20 +12,18 @@ COMMENT=	Set of libraries for KDE IDE-li
 
 LIB_DEPENDS=	libsvn_client-1.so:devel/subversion \
 		libboost_thread.so:devel/boost-libs \
-		libqjson.so:devel/qjson \
-		libgrantlee_gui.so:devel/grantlee
+		libqjson.so:devel/qjson
 
 USE_KDE4=	kate_run kdelibs automoc4
 USE_QT4=	qmake_build moc_build uic_build rcc_build \
 		corelib designer_build gui webkit
-USES=		cmake:outsource compiler:c++11-lib shebangfix tar:bz2
+USES=		cmake:outsource compiler:c++11-lib grantlee:4 shebangfix tar:bz2
 USE_LDCONFIG=	yes
 
 SHEBANG_FILES=	util/kdev_format_source util/kdevplatform_shell_environment.sh
 
 PLIST_SUB+=	SHLIB_VER=8.0.0 \
-		SHLIB_SHVER=8 \
-		GRANTLEE_VER=0.5
+		SHLIB_SHVER=8
 
 OPTIONS_DEFINE=	NLS
 OPTIONS_SUB=	yes

Modified: head/devel/kdevplatform/pkg-plist
==============================================================================
--- head/devel/kdevplatform/pkg-plist	Mon Aug 15 15:28:18 2016	(r420243)
+++ head/devel/kdevplatform/pkg-plist	Mon Aug 15 15:36:19 2016	(r420244)
@@ -405,7 +405,7 @@ lib/kde4/kdevtemplatemanager_config.so
 lib/kde4/kdevtestview.so
 lib/kde4/kdevvcschangesviewplugin.so
 lib/kde4/plasma_kdev_projectfileelement.so
-lib/kde4/plugins/grantlee/%%GRANTLEE_VER%%/kdev_filters.so
+lib/kde4/plugins/grantlee/%%GRANTLEE_VERSION_SHORT%%/kdev_filters.so
 lib/libkdevplatformdebugger.so
 lib/libkdevplatformdebugger.so.%%SHLIB_SHVER%%
 lib/libkdevplatformdebugger.so.%%SHLIB_VER%%

Modified: head/finance/skrooge/Makefile
==============================================================================
--- head/finance/skrooge/Makefile	Mon Aug 15 15:28:18 2016	(r420243)
+++ head/finance/skrooge/Makefile	Mon Aug 15 15:36:19 2016	(r420244)
@@ -11,17 +11,15 @@ COMMENT=	KDE4 personal finance manager
 BUILD_DEPENDS=	xsltproc:textproc/libxslt
 LIB_DEPENDS=	libofx.so:finance/libofx \
 		libqca.so:devel/qca \
-		libgrantlee_gui.so:devel/grantlee \
 		libkactivities.so:x11/kactivities
 
-USES=		cmake:outsource gettext shared-mime-info sqlite:3 tar:xz
+USES=		cmake:outsource gettext grantlee:4 shared-mime-info sqlite:3 tar:xz
 USE_QT4=	qmake_build moc_build uic_build rcc_build designer_build \
 		corelib dbus gui script sql webkit xml sql-sqlite3_run
 USE_KDE4=	automoc4 kdelibs pimlibs
 USE_LDCONFIG=	yes
 
-PLIST_SUB=	VERSION=${PORTVERSION} \
-		GRANTLEE_VER=0.5
+PLIST_SUB=	VERSION=${PORTVERSION}
 
 # Skrooge creates several empty directories due to how it calls CMake's
 # install(DIRECTORY ...) function, so we need some code to remove them.

Modified: head/finance/skrooge/pkg-plist
==============================================================================
--- head/finance/skrooge/pkg-plist	Mon Aug 15 15:28:18 2016	(r420243)
+++ head/finance/skrooge/pkg-plist	Mon Aug 15 15:36:19 2016	(r420244)
@@ -1,7 +1,7 @@
 bin/akonadi_skroogeakonadi_resource
 bin/skrooge
 bin/skroogeconvert
-lib/kde4/plugins/grantlee/%%GRANTLEE_VER%%/grantlee_skgfilters.so
+lib/kde4/plugins/grantlee/%%GRANTLEE_VERSION_SHORT%%/grantlee_skgfilters.so
 lib/kde4/skg_advice.so
 lib/kde4/skg_bookmark.so
 lib/kde4/skg_dashboard.so

Modified: head/math/rocs/Makefile
==============================================================================
--- head/math/rocs/Makefile	Mon Aug 15 15:28:18 2016	(r420243)
+++ head/math/rocs/Makefile	Mon Aug 15 15:36:19 2016	(r420244)
@@ -10,11 +10,10 @@ DIST_SUBDIR=	KDE/${PORTVERSION}
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	KDE Graph theory IDE
 
-LIB_DEPENDS=	libboost_thread.so:devel/boost-libs \
-		libgrantlee_gui.so:devel/grantlee
+LIB_DEPENDS=	libboost_thread.so:devel/boost-libs
 
 USE_KDE4=	kdelibs automoc4
-USES=		cmake:outsource tar:xz
+USES=		cmake:outsource grantlee:4 tar:xz
 USE_QT4=	gui qtestlib script scripttools webkit xml \
 		moc_build qmake_build rcc_build uic_build
 USE_LDCONFIG=	yes

Modified: head/x11/kdelibs4/Makefile
==============================================================================
--- head/x11/kdelibs4/Makefile	Mon Aug 15 15:28:18 2016	(r420243)
+++ head/x11/kdelibs4/Makefile	Mon Aug 15 15:36:19 2016	(r420244)
@@ -20,8 +20,7 @@ LIB_DEPENDS=	libIlmImf.so:graphics/OpenE
 		libhal.so:sysutils/hal \
 		libqca.so:devel/qca \
 		libpolkit-qt-core-1.so:sysutils/polkit-qt \
-		libdbusmenu-qt.so:devel/libdbusmenu-qt \
-		libgrantlee_gui.so:devel/grantlee
+		libdbusmenu-qt.so:devel/libdbusmenu-qt
 
 BUILD_DEPENDS=	docbook-xml>0:textproc/docbook-xml \
 		${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl
@@ -34,7 +33,7 @@ RUN_DEPENDS=	${LOCALBASE}/share/icons/hi
 USE_GNOME=	libxml2 libxslt
 USE_KDE4=	oxygen \
 		attica automoc4 ontologies soprano strigi
-USES=		cmake:outsource fam gettext jpeg perl5 shared-mime-info \
+USES=		cmake:outsource fam gettext grantlee:4 jpeg perl5 shared-mime-info \
 		shebangfix tar:xz
 USE_OPENSSL=	yes
 USE_QT4=	corelib dbus declarative designer_build gui \



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