Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Apr 2017 17:38:45 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r439558 - in head/devel/injeqt: . files
Message-ID:  <201704271738.v3RHcjdc079894@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Thu Apr 27 17:38:45 2017
New Revision: 439558
URL: https://svnweb.freebsd.org/changeset/ports/439558

Log:
  - Update to version 1.2.0
  - Add LICENSE_FILE
  - Convert post-patch target to USES=gathfix
  - Add patch allowing to build with -Werror flag
  - Enable tests during build

Added:
  head/devel/injeqt/files/
  head/devel/injeqt/files/patch-src_internal_provider-by-default-constructor.h   (contents, props changed)
Modified:
  head/devel/injeqt/Makefile
  head/devel/injeqt/distinfo

Modified: head/devel/injeqt/Makefile
==============================================================================
--- head/devel/injeqt/Makefile	Thu Apr 27 16:22:59 2017	(r439557)
+++ head/devel/injeqt/Makefile	Thu Apr 27 17:38:45 2017	(r439558)
@@ -2,29 +2,25 @@
 # $FreeBSD$
 
 PORTNAME=	injeqt
-PORTVERSION=	1.1.0
-PORTREVISION=	1
+PORTVERSION=	1.2.0
 CATEGORIES=	devel
 
 MAINTAINER=	pawel@FreeBSD.org
 COMMENT=	Dependency injection framework for Qt
 
 LICENSE=	LGPL21
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	vogel
 
-USES=		cmake compiler:c++11-lib
-USE_QT5=	buildtools_build core qmake_build
+USES=		cmake compiler:c++11-lib pathfix
+USE_QT5=	core buildtools_build qmake_build testlib_build
 USE_LDCONFIG=	yes
 
 CMAKE_ARGS=	-DDISABLE_EXAMPLES:BOOL=ON \
-		-DDISABLE_TESTS:BOOL=ON
+		-DDISABLE_COVERAGE:BOOL=ON
 
-PLIST_SUB=	VERSION=${PORTVERSION}
-
-post-patch:
-	@${REINPLACE_CMD} '/pkgconfig/ s|LIBDIR}|PREFIX}/libdata|; s|-Werror||' \
-		${WRKSRC}/CMakeLists.txt
+PLIST_SUB=	VERSION=${PORTVERSION:R}
 
 .include <bsd.port.mk>

Modified: head/devel/injeqt/distinfo
==============================================================================
--- head/devel/injeqt/distinfo	Thu Apr 27 16:22:59 2017	(r439557)
+++ head/devel/injeqt/distinfo	Thu Apr 27 17:38:45 2017	(r439558)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1469215541
-SHA256 (vogel-injeqt-1.1.0_GH0.tar.gz) = a5e125ab3e8c9f7139fccbce22d772b01c4e1af074dea3bbb1ddb4379a42cb16
-SIZE (vogel-injeqt-1.1.0_GH0.tar.gz) = 74112
+TIMESTAMP = 1493238065
+SHA256 (vogel-injeqt-1.2.0_GH0.tar.gz) = 77540cedb0b26affe993dd18124d796059e34c80a51d9ae6433fdff1860db135
+SIZE (vogel-injeqt-1.2.0_GH0.tar.gz) = 73787

Added: head/devel/injeqt/files/patch-src_internal_provider-by-default-constructor.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/injeqt/files/patch-src_internal_provider-by-default-constructor.h	Thu Apr 27 17:38:45 2017	(r439558)
@@ -0,0 +1,19 @@
+--- src/internal/provider-by-default-constructor.h.orig	2017-04-27 17:04:46 UTC
++++ src/internal/provider-by-default-constructor.h
+@@ -77,14 +77,14 @@ class INJEQT_INTERNAL_API provider_by_default_construc
+ 	/**
+ 	 * @return empty set of object - this provider does not require another object to instantiate
+ 	 */
+-	virtual types required_types() const { return types{}; }
++	virtual types required_types() const override { return types{}; }
+ 
+ 	/**
+ 	 * @return true
+ 	 *
+ 	 * Objects created by injector will have its dependencies resolved.
+ 	 */
+-	virtual bool require_resolving() const;
++	virtual bool require_resolving() const override;
+ 
+ 	/**
+ 	 * @return constructor object passed in constructor



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