From owner-freebsd-ports-bugs@freebsd.org Wed Jun 22 01:26:33 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C6362AC5B53 for ; Wed, 22 Jun 2016 01:26:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B520826A8 for ; Wed, 22 Jun 2016 01:26:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u5M1QXZu089314 for ; Wed, 22 Jun 2016 01:26:33 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 210404] [NEW PORT] graphics/hiptext: Tool for rendering images and videos inside terminals Date: Wed, 22 Jun 2016 01:26:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jun 2016 01:26:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210404 Jan Beich changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jbeich@FreeBSD.org --- Comment #2 from Jan Beich --- Comment on attachment 171601 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D171601 shar archive Fails to build on 9.x. It wants USES=3Dcompiler:c++11-lib. If you really ne= ed C++14 features submit a bug for USES=3Dcompiler:c++14-lib or make a conditi= onal after bsd.port.options.mk. However, it builds fine on 9.x and 10.1 with just C++11. In file included from hiptext.cc:17: ./artiste.h:15:30: error: no type named 'function' in namespace 'std' using RenderAlgorithm =3D std::function; ~~~~~^ In file included from hiptext.cc:23: ./macterm.h:7:10: fatal error: 'cstdint' file not found #include ^ Fails to build with devel/googletest installed. Add CONFLICTS_BUILD, manage *FLAGS or use system gtest per https://www.freebsd.org/doc/en/books/porters-handbook/bundled-libs.html In file included from gtest/src/gtest-all.cc:42: gtest/src/gtest.cc:958:23: error: out-of-line definition of 'swap' does n= ot match any declaration in 'testing::AssertionResult' void AssertionResult::swap(AssertionResult& other) { ^~~~ gtest/src/gtest.cc:961:3: error: no matching function for call to 'swap' swap(message_, other.message_); ^~~~ In file included from gtest/src/gtest-all.cc:42: gtest/src/gtest.cc:991:13: error: use of undeclared identifier 'EditType' std::vector CalculateOptimalEdits(const std::vector& le= ft, ^ Fails to build with ffmpeg 3.0 (bug 207547). Try s/PIX_FMT/AV_&/ + s/avcodec_alloc_frame/av_frame_alloc/ movie.cc:56:42: error: use of undeclared identifier 'PIX_FMT_RGB24'; did = you mean 'AV_PIX_FMT_RGB24'? width_, height_, PIX_FMT_RGB24, SWS_FAST_BILINEAR, ^~~~~~~~~~~~~ AV_PIX_FMT_RGB24 movie.cc:64:18: error: use of undeclared identifier 'avcodec_alloc_frame' CHECK(frame_ =3D avcodec_alloc_frame()); ^ > XPORTVERSION=3D 0.160620 Do not abbreviate snapshot year to avoid confusion about the date format (%y%m%d vs. %d%m%y). And prepend one more 0. to avoid PORTEPOCH issue in case upstream releases = 0.1. > X libpng16.so:graphics/png \ Depend on libpng.so unless it won't build/work with libpng17. > XCXXFLAGS+=3D -I${PREFIX}/include -I${PREFIX}/include/freetype2 PREFIX is where *this* port installs, use LOCALBASE otherwise. In some cases the destination can be empty: poudriere testport -P ... After that consider replacing -I${LOCALBASE}/include with USES=3Dlocalbase. > XPLIST_FILES=3D bin/hiptext %%DATADIR%%/DejaVuSansMono.ttf > X > Xpost-patch: > X @${REINPLACE_CMD} -e 's|"DejaVuSansMono.ttf"|"${PREFIX}/share/${PORTNAM= E}/DejaVuSansMono.ttf"|' \ > X ${WRKSRC}/font.cc > Xdo-install: > X (cd ${WRKSRC} && \ Why do you need to change directory just to run commands that work fine with absolute paths? > X ${INSTALL_DATA} DejaVuSansMono.ttf ${STAGEDIR}${PREFIX}/share/${PORTNA= ME}) Use DejaVuSansMono.ttf from x11-fonts/dejavu unless the port needs modified version. > Xdo-test: > X (cd ${WRKSRC} && \ > X ${MAKE_CMD} test && ./test) Define TEST_TARGET=3Dcheck instead to avoid losing MAKE_ENV/MAKE_ARGS/MAKE_= JOBS etc. --=20 You are receiving this mail because: You are the assignee for the bug.=