From owner-svn-ports-head@freebsd.org Tue Jul 17 17:29:02 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8EEAF1047BED; Tue, 17 Jul 2018 17:29:02 +0000 (UTC) (envelope-from mi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 40DB1721A1; Tue, 17 Jul 2018 17:29:02 +0000 (UTC) (envelope-from mi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 07CD2694E; Tue, 17 Jul 2018 17:29:02 +0000 (UTC) (envelope-from mi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6HHT17g070443; Tue, 17 Jul 2018 17:29:01 GMT (envelope-from mi@FreeBSD.org) Received: (from mi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6HHT0m2070435; Tue, 17 Jul 2018 17:29:00 GMT (envelope-from mi@FreeBSD.org) Message-Id: <201807171729.w6HHT0m2070435@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mi set sender to mi@FreeBSD.org using -f From: Mikhail Teterin Date: Tue, 17 Jul 2018 17:29:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r474814 - in head: graphics/libbpg multimedia/ccextractor multimedia/ffmpeg multimedia/x265 multimedia/x265/files X-SVN-Group: ports-head X-SVN-Commit-Author: mi X-SVN-Commit-Paths: in head: graphics/libbpg multimedia/ccextractor multimedia/ffmpeg multimedia/x265 multimedia/x265/files X-SVN-Commit-Revision: 474814 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jul 2018 17:29:02 -0000 Author: mi Date: Tue Jul 17 17:29:00 2018 New Revision: 474814 URL: https://svnweb.freebsd.org/changeset/ports/474814 Log: Upgrade x265 from 2.6 to 2.8 and: . Explicitly disable use of AVX with clang (see patch for links) . Put non-SSL sources back on the list of MASTER_SITES Bump PORTREVISION in the depending ports as appropriate. Added: head/multimedia/x265/files/patch-disable-avx-for-clang (contents, props changed) Deleted: head/multimedia/x265/files/patch-rdtsc Modified: head/graphics/libbpg/Makefile head/multimedia/ccextractor/Makefile head/multimedia/ffmpeg/Makefile head/multimedia/x265/Makefile head/multimedia/x265/distinfo head/multimedia/x265/pkg-plist Modified: head/graphics/libbpg/Makefile ============================================================================== --- head/graphics/libbpg/Makefile Tue Jul 17 17:28:15 2018 (r474813) +++ head/graphics/libbpg/Makefile Tue Jul 17 17:29:00 2018 (r474814) @@ -3,7 +3,7 @@ PORTNAME= libbpg PORTVERSION= 0.9.7 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics MASTER_SITES= http://bellard.org/bpg/ Modified: head/multimedia/ccextractor/Makefile ============================================================================== --- head/multimedia/ccextractor/Makefile Tue Jul 17 17:28:15 2018 (r474813) +++ head/multimedia/ccextractor/Makefile Tue Jul 17 17:29:00 2018 (r474814) @@ -3,7 +3,7 @@ PORTNAME= ccextractor DISTVERSIONPREFIX= v DISTVERSION= 0.85 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= multimedia MAINTAINER= oz@nixil.net Modified: head/multimedia/ffmpeg/Makefile ============================================================================== --- head/multimedia/ffmpeg/Makefile Tue Jul 17 17:28:15 2018 (r474813) +++ head/multimedia/ffmpeg/Makefile Tue Jul 17 17:29:00 2018 (r474814) @@ -3,6 +3,7 @@ PORTNAME= ffmpeg PORTVERSION= 4.0.1 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= multimedia audio ipv6 net MASTER_SITES= https://ffmpeg.org/releases/ Modified: head/multimedia/x265/Makefile ============================================================================== --- head/multimedia/x265/Makefile Tue Jul 17 17:28:15 2018 (r474813) +++ head/multimedia/x265/Makefile Tue Jul 17 17:29:00 2018 (r474814) @@ -2,18 +2,19 @@ # $FreeBSD$ PORTNAME= x265 -PORTVERSION= 2.6 -PORTREVISION= 1 +PORTVERSION= 2.8 CATEGORIES= multimedia -MASTER_SITES= https://downloads.videolan.org/pub/videolan/${PORTNAME}/ \ - https://mirror.leaseweb.com/videolan/x265/ +MASTER_SITES= https://downloads.videolan.org/pub/videolan/x265/ \ + https://mirror.leaseweb.com/videolan/x265/ \ + http://downloads.videolan.org/pub/videolan/x265/ \ + http://mirror.leaseweb.com/videolan/x265/ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= mi@aldan.algebra.com COMMENT= H.265/High Efficiency Video Coding (HEVC) format LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/../COPYING +LICENSE_FILE= ${WRKSRC:H}/COPYING BUILD_DEPENDS= yasm:devel/yasm @@ -28,7 +29,7 @@ DEBUG_VARS_OFF= CFLAGS+=-DNDEBUG CPPFLAGS+=-DNDEBUG HI10P_CMAKE_BOOL= HIGH_BIT_DEPTH HI12P_CMAKE_BOOL= MAIN12 HI12P_IMPLIES= HI10P -OPTIMIZED_FLAGS_VARS= CFLAGS+=-O3 CPPFLAGS+=-O3 +OPTIMIZED_FLAGS_VARS= CFLAGS+=-O3 CXXFLAGS+=-O3 DEBUG_DESC= Enable debugging HI10P_DESC= Enable HI10P Support (64-bit only) @@ -39,8 +40,8 @@ USE_LDCONFIG= yes CMAKE_ARGS= -DENABLE_PIC=on -DPLATFORM_LIBS=md -DENABLE_TESTS=on CFLAGS_mips= -DNO_ATOMICS # cannot use lang/gcc CFLAGS_mips64= -DNO_ATOMICS # cannot use lang/gcc -EXTRACT_AFTER_ARGS+= --exclude "md5*" -WRKSRC= ${WRKDIR}/${PORTNAME}_v${PORTVERSION}/source +EXTRACT_AFTER_ARGS+= --exclude "md5*" --exclude compat +WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}/source do-test: ${WRKSRC}/test/TestBench Modified: head/multimedia/x265/distinfo ============================================================================== --- head/multimedia/x265/distinfo Tue Jul 17 17:28:15 2018 (r474813) +++ head/multimedia/x265/distinfo Tue Jul 17 17:29:00 2018 (r474814) @@ -1,3 +1,3 @@ -TIMESTAMP = 1516798519 -SHA256 (x265_2.6.tar.gz) = 1bf0036415996af841884802161065b9e6be74f5f6808ac04831363e2549cdbf -SIZE (x265_2.6.tar.gz) = 1271976 +TIMESTAMP = 1531665864 +SHA256 (x265_2.8.tar.gz) = 6e59f9afc0c2b87a46f98e33b5159d56ffb3558a49d8e3d79cb7fdc6b7aaa863 +SIZE (x265_2.8.tar.gz) = 1379551 Added: head/multimedia/x265/files/patch-disable-avx-for-clang ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/x265/files/patch-disable-avx-for-clang Tue Jul 17 17:29:00 2018 (r474814) @@ -0,0 +1,13 @@ +See: + + https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229788 + https://bitbucket.org/multicoreware/x265/issues/422/when-using-clang-with-avx-enabled + +--- CMakeLists.txt 2018-05-21 04:33:10.000000000 -0400 ++++ CMakeLists.txt 2018-07-17 12:51:05.820330000 -0400 +@@ -133,4 +133,5 @@ + if(${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang") + set(CLANG 1) ++ add_definitions("-mno-avx") + endif() + if(${CMAKE_CXX_COMPILER_ID} STREQUAL "Intel") Modified: head/multimedia/x265/pkg-plist ============================================================================== --- head/multimedia/x265/pkg-plist Tue Jul 17 17:28:15 2018 (r474813) +++ head/multimedia/x265/pkg-plist Tue Jul 17 17:29:00 2018 (r474814) @@ -3,5 +3,5 @@ include/x265.h include/x265_config.h lib/libx265.a lib/libx265.so -lib/libx265.so.146 +lib/libx265.so.160 libdata/pkgconfig/x265.pc