From nobody Wed Apr 5 22:13:12 2023 X-Original-To: dev-commits-ports-main@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 4PsJmS6XDXz44FMb; Wed, 5 Apr 2023 22:13:12 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PsJmS64Hnz3rQy; Wed, 5 Apr 2023 22:13:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680732792; 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=30SfjnyxbZUbDOT8iZX2RhS6IC+6jRe2KiongronRaQ=; b=hTKOyPHbABvH8z8/N1bwWwSpHHs2r18jgq7An4vLHRfCiGehZdAVQ36Elvq3EGN5qlu1bh ZRpSy88K5q5Vz6loT69PwCg+rchOynu9ysY3U0XNT3U+EWsmJdxI3lL2+uPxfPycB1pGDH ib/DHErD8X1Vfhy9uYqD5xrRVFmiwn2Y4vJBuYyim+2a1iqHiKm18EMEnzqi66ePWYWTYr pGSkkOXT5nkOD9sflY5ScQI38MJCRbqgNu/xtRdhJrfxW/vuZ4KHWgoMJgGRKl/qZfp4xT kfFWUZmiQ0SZfPi+ehQ67m7yHQBGYOm1MgZD+Srjl51JW1fhf5ostKKR9U4/fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680732792; 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=30SfjnyxbZUbDOT8iZX2RhS6IC+6jRe2KiongronRaQ=; b=d4KExkQXaJ28TsKUEh8+yA8TxuXSDwQP7VvAZ56urPPdb8hBrX6F9pBh7R7WHA5kIh9HKO OayUEi/t5/4yX5/U7Mn7gRfOEAc2+r/x3dnR1rv3SOJ7yiWcTcBWhPkex4s8D5KeFCmh7U yiKq9qyMUWxvf5GFCXnOcAiBL4pO5S70c20i22D8yhwgM1Ndbx3KVgJf+GJmfyh13/tmcY /NL7dVbye5UMLHjAjizT3Xl/qOrnXaOmMOndWzjJY+nHG1BM8CTSI7FkEVWevK/u5LHv3E vRTlLCl6ChI27rlvDpgp3Hm9IUMRajrIH7ycI+VFdzweYWOrqUq9JI0iVKuWGA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680732792; a=rsa-sha256; cv=none; b=GjkwIeGUFIq15Er7dehAbDiApc60xXoTNnss1yCVd8HnPK3a0U2wzSoA1LBpdLxRTqBp+4 pPY6FbOsAzbujcdrprOYVoxF5hiteFiifxxMCS3gIb59/JTJedJL+FG/dV4QKNBNyu487R 6o2U8OdgWUICuaM83gGAYOIX3Vy+62dqOJQwk25x4izBov1tTGzsPZ94iTE8w9YQz6TwQz Z7SBoFzMUe+FMUBPf1Q1A/dCHDE7UNX7yOziCJhvDccxa9ClzlwIWIbDb0ZH+GH79I6pNS q4MRA8fymaNz9UpglscdhG72KwW0PPqiasKbsiQKYVqqKvg+yaxUwNOvZKo9GA== 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 4PsJmS58D5zgDv; Wed, 5 Apr 2023 22:13:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 335MDCvM057569; Wed, 5 Apr 2023 22:13:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 335MDCg2057568; Wed, 5 Apr 2023 22:13:12 GMT (envelope-from git) Date: Wed, 5 Apr 2023 22:13:12 GMT Message-Id: <202304052213.335MDCg2057568@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nuno Teixeira Subject: git: 134226551dd1 - main - archivers/maxcso: Adopt/Update to 1.13.0-27 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: eduardo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 134226551dd132136b091e80e3c9bffa83499e51 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=134226551dd132136b091e80e3c9bffa83499e51 commit 134226551dd132136b091e80e3c9bffa83499e51 Author: Nuno Teixeira AuthorDate: 2023-04-05 22:05:02 +0000 Commit: Nuno Teixeira CommitDate: 2023-04-05 22:12:59 +0000 archivers/maxcso: Adopt/Update to 1.13.0-27 - Update to 528c69bf commit - Install manpage - Define LICENSE_FILE ChangeLog: https://github.com/unknownbrackets/maxcso/compare/v1.13.0...528c69bf https://github.com/unknownbrackets/maxcso/releases/tag/v1.12.0 https://github.com/unknownbrackets/maxcso/releases/tag/v1.11.0 --- archivers/maxcso/Makefile | 21 ++++++++++++--------- archivers/maxcso/distinfo | 6 +++--- archivers/maxcso/files/patch-Makefile | 30 ++++++++++-------------------- 3 files changed, 25 insertions(+), 32 deletions(-) diff --git a/archivers/maxcso/Makefile b/archivers/maxcso/Makefile index d03b4bc02685..2b6cbffeb3eb 100644 --- a/archivers/maxcso/Makefile +++ b/archivers/maxcso/Makefile @@ -1,27 +1,30 @@ -PORTNAME= maxcso +PORTNAME= maxcso DISTVERSIONPREFIX= v -DISTVERSION= 1.10.0 -PORTREVISION= 2 -CATEGORIES= archivers +DISTVERSION= 1.13.0-27 +DISTVERSIONSUFFIX= -g528c69bf +CATEGORIES= archivers -MAINTAINER= ports@FreeBSD.org +MAINTAINER= eduardo@FreeBSD.org COMMENT= Fast ISO to CSO compressor for PSP and PS2 emulators WWW= https://github.com/unknownbrackets/maxcso LICENSE= ISCL +LICENSE_FILE= ${WRKSRC}/LICENSE.md -LIB_DEPENDS= libuv.so:devel/libuv \ +LIB_DEPENDS= libdeflate.so:archivers/libdeflate \ liblz4.so:archivers/liblz4 \ + libuv.so:devel/libuv \ libzopfli.so:archivers/zopfli -USES= gmake pkgconfig compiler:c++11-lang - +USES= compiler:c++11-lang gmake pkgconfig USE_GITHUB= yes GH_ACCOUNT= unknownbrackets -PLIST_FILES= bin/${PORTNAME} +PLIST_FILES= bin/${PORTNAME} \ + share/man/man1/${PORTNAME}.1.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1/ .include diff --git a/archivers/maxcso/distinfo b/archivers/maxcso/distinfo index 57898aea5ffa..c3c4f72f8718 100644 --- a/archivers/maxcso/distinfo +++ b/archivers/maxcso/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1541531490 -SHA256 (unknownbrackets-maxcso-v1.10.0_GH0.tar.gz) = 8fc56ab96536c0b12f890b34a83b4c4a5c1013756f8664037313132b7c2515eb -SIZE (unknownbrackets-maxcso-v1.10.0_GH0.tar.gz) = 3170809 +TIMESTAMP = 1680728618 +SHA256 (unknownbrackets-maxcso-v1.13.0-27-g528c69bf_GH0.tar.gz) = 5b09c933adc5e5bae54fdf85305e2b58841dc3ad33f095d4ff422491cd4a3fa0 +SIZE (unknownbrackets-maxcso-v1.13.0-27-g528c69bf_GH0.tar.gz) = 3738129 diff --git a/archivers/maxcso/files/patch-Makefile b/archivers/maxcso/files/patch-Makefile index d2e6509c5f05..1f5766d6cbdf 100644 --- a/archivers/maxcso/files/patch-Makefile +++ b/archivers/maxcso/files/patch-Makefile @@ -1,23 +1,13 @@ ---- Makefile.orig 2018-11-08 20:43:35 UTC +--- Makefile.orig 2023-02-12 18:33:37 UTC +++ Makefile -@@ -5,6 +5,9 @@ CFLAGS += -W -Wall -Wextra -O2 -Wno-implicit-function- - CXXFLAGS += -W -Wall -Wextra -std=c++11 -O2 -Izopfli/src -I7zip -DNDEBUG=1 \ - -Wno-unused-parameter -pthread +@@ -68,8 +68,8 @@ $(OBJDIR)/%.o: $(SRCDIR)/%.c $(OBJDIR)/.done + $(CC) -c $(SRC_CFLAGS) $(CFLAGS) -o $@ $< -+CFLAGS += $(shell pkg-config --cflags libuv liblz4) -+CXXFLAGS += $(shell pkg-config --cflags libuv liblz4) -+ - SRC_CXX_SRC = $(wildcard src/*.cpp) - SRC_CXX_OBJ = $(SRC_CXX_SRC:.cpp=.o) - CLI_CXX_SRC = $(wildcard cli/*.cpp) -@@ -23,8 +26,8 @@ ZOPFLI_C_OBJ = $(ZOPFLI_C_SRC:.c=.o) - %.o: %.c - $(CC) -c $(CFLAGS) -o $@ $< + # TODO: Perhaps detect and use system libdeflate if available. +-maxcso: $(SRC_CXX_OBJ) $(CLI_CXX_OBJ) $(ZOPFLI_C_OBJ) $(SRC_7ZIP) $(SRC_LIBDEFLATE) +- $(CXX) $(LDFLAGS) -o $@ $(SRC_CXXFLAGS) $(CXXFLAGS) $^ $(LIBS) $(EXTRA_LIBS) ++maxcso: $(SRC_CXX_OBJ) $(CLI_CXX_OBJ) $(SRC_7ZIP) ++ $(CXX) $(LDFLAGS) -o $@ $(SRC_CXXFLAGS) $(CXXFLAGS) $^ $(LIBS) $(EXTRA_LIBS) -lzopfli -ldeflate --maxcso: $(SRC_CXX_OBJ) $(CLI_CXX_OBJ) $(ZOPFLI_C_OBJ) 7zip/7zip.a -- $(CXX) -o $@ $(CXXFLAGS) $^ -luv -llz4 -lz -+maxcso: $(SRC_CXX_OBJ) $(CLI_CXX_OBJ) 7zip/7zip.a -+ $(CXX) -o $@ $(CXXFLAGS) $^ $(shell pkg-config --libs libuv liblz4) -lzopfli -lz - - 7zip/7zip.a: - $(MAKE) -C 7zip 7zip.a + $(SRC_7ZIP): + $(MAKE) -f $(SRCDIR)/7zip/Makefile 7zip.a