From nobody Sun Jan 12 21:43:29 2025 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YWTR92yNnz5jslj; Sun, 12 Jan 2025 21:43:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YWTR56fqcz4fgH; Sun, 12 Jan 2025 21:43:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736718209; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=WlkGko6bKaBR8v+fnmoyGpsPcsxnmuAiIWqgbAWlDMM=; b=NoQCu74PXCcyi07otMoTWVFKyOoUL6SdCEplZRJaKJbQyJOGiWt42V54YVmWoj7r60pGt7 qr+wsVs0EknNqShiZrrX5ceeth88Tlf0l0NjupmQSQhTFwFKDY2ID69ip7PfmGEYPGJ3Jp zAdda1lFg9xSyDr6xiRgJ38AZYtX7+TsJZTn5OpslG4M31peyYBLlPm5qmJZ9r4kjW1hwd nw/0ADhouMJZwM4oSMiukjdPowDzsjSIJy8JZhwWnScOy44IUf+5N2h8vjJew/9AekQZVE gp3Paxy2dEOdij5XOv75GAM0UBOQLpxCBNxtSPZByZfeKsNQhdGmOgcXxbuKtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736718209; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=WlkGko6bKaBR8v+fnmoyGpsPcsxnmuAiIWqgbAWlDMM=; b=vh+BJA/HeNlP0p7V0o3nYUvd35+dd4a2WBch1mnFu2tCLV6K50437Xg9iyZEfbMEFwBme8 GrFxezdwiZGMusUwdPVT2/y++EMrsH/FfaEmVkfKQR0PcxPQ5Qn3etZjpIePDjjk/XmpFb ZAqbaphYQJvpvsMfNW/YeKcV4v/cqGxOcb5sDCvR4Q1NO9iA42ALCLCHExci3ghXRJZyBx dhU5zJ+dUoDtSx8P42FASxGUGK82iUK4Fxi27k10EPSl09b+jLXUwV78wi1ARV7GoaWjXn yEWoBNCZ7oGGLlB1gRCTp8jd1CcIxBM+LrSz7JKFH0dOgOX5imPeBB9ilIOsTg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736718209; a=rsa-sha256; cv=none; b=Vrng6pNSxgOat7/n58xA26WPsLfdn+VVi5TGrl9ZMFjJ4QohgcRxDXFEE0/f3dQz6pJcYp Tj5Zk71Dc+sWgZRLru9mplEyN0cpqOEtI6176dFXrlknZBRejZhuNnuUH8SvypdZ54n3Na SC6tT8alGOUsJJTLl9ojEYFFnTYxi3wHJsE024dqH8PHZVFPdsqVkMVOIVDFFd7CSp1PLv Kj8oPoBLXYFMI9qac8uwj7eHP/dFIiQqExcTIcB33aVRWvbx4W2AyMf421lB4b81dn9qqt C1s/mm+frgObH+L73NmkRpIWIpEJu7xUYclkk9hMOWFBZxRL7qaVcg68zzndDQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YWTR56DShz11k4; Sun, 12 Jan 2025 21:43:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 50CLhTv7097765; Sun, 12 Jan 2025 21:43:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50CLhTP2097762; Sun, 12 Jan 2025 21:43:29 GMT (envelope-from git) Date: Sun, 12 Jan 2025 21:43:29 GMT Message-Id: <202501122143.50CLhTP2097762@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: ce70fe78683d - main - multimedia/mkvalidator: update to 0.6.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ce70fe78683d2f82b87413ada74806948c291efe Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=ce70fe78683d2f82b87413ada74806948c291efe commit ce70fe78683d2f82b87413ada74806948c291efe Author: Piotr Kubaj AuthorDate: 2025-01-11 15:07:48 +0000 Commit: Piotr Kubaj CommitDate: 2025-01-12 21:37:13 +0000 multimedia/mkvalidator: update to 0.6.0 Not broken anymore on powerpc64. New version switches build system to CMake. --- multimedia/mkvalidator/Makefile | 42 +++------------------- multimedia/mkvalidator/distinfo | 5 +-- .../patch-corec-tools-coremake-gcc_linux_arm.build | 13 ------- multimedia/mkvalidator/pkg-plist | 31 ++++++++++++++++ 4 files changed, 39 insertions(+), 52 deletions(-) diff --git a/multimedia/mkvalidator/Makefile b/multimedia/mkvalidator/Makefile index 17f756b87766..9e3c6c53dbe1 100644 --- a/multimedia/mkvalidator/Makefile +++ b/multimedia/mkvalidator/Makefile @@ -1,5 +1,5 @@ PORTNAME= mkvalidator -PORTVERSION= 0.5.0 +PORTVERSION= 0.6.0 CATEGORIES= multimedia MASTER_SITES= SF/matroska/${PORTNAME}/ @@ -10,43 +10,11 @@ WWW= https://www.matroska.org/downloads/mkvalidator.html LICENSE= BSD3CLAUSE BSD4CLAUSE GPLv2 LICENSE_COMB= multi -BROKEN_mips= fails to build: gmake[3]: mipsel-linux-gcc: Command not found -BROKEN_mips64= fails to build: gmake[3]: mipsel-linux-gcc: Command not found -BROKEN_powerpc64= does not compile: mkvtree.c: error: dereferencing pointer to incomplete type - -BUILD_WRKSRC= ${WRKSRC}/${PORTNAME} - -USES= cpe gmake iconv localbase tar:bzip2 +USES= cmake cpe tar:bzip2 CPE_VENDOR= matroska -HAS_CONFIGURE= yes -MAKE_ENV= V=1 -MAKEFILE= GNUmakefile - -LIBS+= ${ICONV_LIB} - -PLIST_FILES= bin/mkvalidator bin/mkvtree - -MAKE_JOBS_UNSAFE= yes - -.include - -.if ${OPSYS} == FreeBSD -CFLAGS+= -Wno-error=incompatible-function-pointer-types -.endif -post-patch: - @${REINPLACE_CMD} -e \ - '/STRIP/s|strip|${STRIP_CMD:T}| ; \ - /CCFLAGS/s|-O3 .* -W|-W|' \ - ${WRKSRC}/corec/tools/coremake/gcc_linux*.build - @${REINPLACE_CMD} -e \ - 's|/usr/local|$$(DESTDIR)$$(PREFIX)|g' \ - ${WRKSRC}/corec/tools/coremake/gcc_mak.inc - @${REINPLACE_CMD} -e \ - 's|arm-none-linux-gnueabi-gcc|${CC}| ; \ - s|arm-none-linux-gnueabi-g++|${CXX}| ; \ - s|arm-none-linux-gnueabi-ar|${AR}| ; \ - s|arm-none-linux-gnueabi-strip|${STRIP_CMD}|' \ - ${WRKSRC}/corec/tools/coremake/gcc_linux_arm.build +post-install: + ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/mkvalidator/mkvalidator ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/libmatroska2/mkvtree ${STAGEDIR}${PREFIX}/bin/ .include diff --git a/multimedia/mkvalidator/distinfo b/multimedia/mkvalidator/distinfo index e95d252eb981..3d6598e9fb4a 100644 --- a/multimedia/mkvalidator/distinfo +++ b/multimedia/mkvalidator/distinfo @@ -1,2 +1,3 @@ -SHA256 (mkvalidator-0.5.0.tar.bz2) = c3e72e5b49d32174415b9273ea8d52380e09ac63c8dc7db684104021c711c104 -SIZE (mkvalidator-0.5.0.tar.bz2) = 587942 +TIMESTAMP = 1736604184 +SHA256 (mkvalidator-0.6.0.tar.bz2) = f9eaa2138fade7103e6df999425291d2947c5355294239874041471e3aa243f0 +SIZE (mkvalidator-0.6.0.tar.bz2) = 661500 diff --git a/multimedia/mkvalidator/files/patch-corec-tools-coremake-gcc_linux_arm.build b/multimedia/mkvalidator/files/patch-corec-tools-coremake-gcc_linux_arm.build deleted file mode 100644 index 8ac983c6ade2..000000000000 --- a/multimedia/mkvalidator/files/patch-corec-tools-coremake-gcc_linux_arm.build +++ /dev/null @@ -1,13 +0,0 @@ ---- corec/tools/coremake/gcc_linux_arm.build.orig 2012-12-16 10:29:34 UTC -+++ corec/tools/coremake/gcc_linux_arm.build -@@ -19,8 +19,8 @@ SVNDIR = linux_arm - - #define GLIBC - --#define CCFLAGS -DARM -Wno-multichar -O3 -mno-apcs-frame -fomit-frame-pointer -fsigned-char -march=armv4t -mtune=xscale -fvisibility=hidden -DRESOURCE_COREC --#define SFLAGS -DARM -Wno-multichar -O3 -mno-apcs-frame -fomit-frame-pointer -fsigned-char -mcpu=iwmmxt -mtune=xscale -D_HIDDEN -+#define CCFLAGS -DARM -Wno-multichar -O3 -fomit-frame-pointer -DRESOURCE_COREC -+#define SFLAGS -DARM -Wno-multichar -O3 -fomit-frame-pointer -D_HIDDEN - #define SHFLAGS -shared -Wl,--strip-all - - #include "gcc.inc" diff --git a/multimedia/mkvalidator/pkg-plist b/multimedia/mkvalidator/pkg-plist new file mode 100644 index 000000000000..8418b9cecf50 --- /dev/null +++ b/multimedia/mkvalidator/pkg-plist @@ -0,0 +1,31 @@ +bin/mkvalidator +bin/mkvtree +include/corec/buffer.h +include/corec/dataheap.h +include/corec/date.h +include/corec/hotkey.h +include/corec/node.h +include/corec/nodebase.h +include/corec/nodelookup.h +include/corec/nodetools.h +include/corec/nodetree.h +include/corec/parser.h +include/corec/strtab.h +include/corec/strtypes.h +include/corec/urlpart.h +include/ebml2/ebml.h +include/ebml2/ebml_classes.h +include/ebml2/ebml_config.h +include/matroska2/matroska.h +include/matroska2/matroska_classes.h +include/matroska2/matroska_config.h +include/matroska2/matroska_sem.h +lib/cmake/corec/Core-C-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/corec/Core-C.cmake +lib/cmake/ebml2/Ebml2-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/ebml2/Ebml2.cmake +lib/cmake/matroska2/Matroska2-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/matroska2/Matroska2.cmake +lib/libcorec.a +lib/libebml2.a +lib/libmatroska2.a