From nobody Thu Jan 4 08:50:22 2024 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 4T5Kzf2dMbz566Ms; Thu, 4 Jan 2024 08:50:22 +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 4T5Kzf258Sz4kPW; Thu, 4 Jan 2024 08:50:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704358222; 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=K9DH5emqpNhovHbZuM1W9wUq5CrgqgkljzB+FwkSoXU=; b=YPnYb+7/qgMNiB5spWDojgnjY1FZPTw5R06a3Qk7V3CX/DA1GaThAll4isYFqycQW+1/7j 7V6CrNJTmcT2PbnE1DZLy5LZIWqPAVGmIAy1rbbLrdGHQ5w+PSsTtzFKp2OyS+ftBfx6iq /92GW8uLJvXdHoWXrswvEzGbXAzIsv5mGXhkqxSKP7/abIjP3Ua/sLiXj9+EPxB8UoCpI3 kfYWpIRIMXL9oo2trde6qBRz+S2ao40bHkjrVjhx6CkBCUkn20S+zP1j0SyHR9qmGsz9ej BBjVwfffp6yFCgX2g/Ug7AMD9etNbLIxWhzGbhTtKUC1mMjjMNsAr0XNGBme6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704358222; 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=K9DH5emqpNhovHbZuM1W9wUq5CrgqgkljzB+FwkSoXU=; b=uW4jURpaXT26dDI94fZrG5UubTYGn8dT/+SvNf7GlHdCfpDNjUIoh4AOs9zxeWM62FtUTt AO4fDYuf2CuQ1EYQpmx0k9tB/3cuVJi3f/u+r9aa6nCPahk/3kq66WHiPpjUCgEEkqwibW lL7OFKapp3UGMnn7ohDbtoSkqDpnOW4lk9N+/Yp0ZA5uiA1QXpgC8LipiC0qjf8naJXSzh ZmZs4rzEwpmJsA6GRFDCndJL+HMYBQ7+/Mb+YLjo5eTccTvDNMUp0FwQlwctGbnCrDNHCj EwZevYyCqMXVpd670cv9Df8yfA9gqFZ+MlsXspmwBKKdQ9Ax+fq1trK8wkIWpg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704358222; a=rsa-sha256; cv=none; b=OREhhTrJd0SFfkiKvhf509MYRWfArrd/ltBvOgLEKiUd4YCLYYbr8At89Cy3eTyzJ2cBX0 K0mGEjo5E6IGdIn+u7gf2zsxA4BHiOlhiGCMeHNcTFZdGxKtMRoAPD//QWkKJX79ZORwxz d1QZQcAZkAtxsPaLOdIg/gW8XbpiXITHazZ3Ih5nFQzPAc7B3JLPLx+zsNkZ/TYzWxPqeA 6esTUPa0SAMfIAlkO8gvU7sLpTF37M5DSqs5YTNoKNi6Gv1U6iAX81uNtLh94hxvFE9J8R WZEpl3OWsu3JqlPKIzFxQhlk204Q3mSmmfi/zScyQCYK1rVBi4P3zGfKZDsj2w== 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 4T5Kzf188pz1Lfk; Thu, 4 Jan 2024 08:50:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 4048oMCH056111; Thu, 4 Jan 2024 08:50:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 4048oMDo056108; Thu, 4 Jan 2024 08:50:22 GMT (envelope-from git) Date: Thu, 4 Jan 2024 08:50:22 GMT Message-Id: <202401040850.4048oMDo056108@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 3942b3cb0db1 - main - games/doomlegacy: update Doom Legacy to version 1.48.14 (rev1663) 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: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3942b3cb0db10f3559cb92455d177a554a1e0ad5 Auto-Submitted: auto-generated The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=3942b3cb0db10f3559cb92455d177a554a1e0ad5 commit 3942b3cb0db10f3559cb92455d177a554a1e0ad5 Author: Alexey Dokuchaev AuthorDate: 2024-01-04 08:48:26 +0000 Commit: Alexey Dokuchaev CommitDate: 2024-01-04 08:48:26 +0000 games/doomlegacy: update Doom Legacy to version 1.48.14 (rev1663) - Retire IPX support (removed from FreeBSD nearly 10 years ago) - Add optional support for zipped WAD files, e.g. `phobiata.zip' - Link against zlib to decompress some "extended node" formats - Do not patch the `make_options' file, propagate the variables down to make(1) via the environment and command line instead - Drop needless parentheses when installing documentation files Reported by: portscout --- games/doomlegacy/Makefile | 32 ++++++++++++----------------- games/doomlegacy/distinfo | 10 ++++----- games/doomlegacy/files/patch-src_Makefile | 34 ++++++++++++------------------- 3 files changed, 31 insertions(+), 45 deletions(-) diff --git a/games/doomlegacy/Makefile b/games/doomlegacy/Makefile index 7f052c468bff..4b939818fd71 100644 --- a/games/doomlegacy/Makefile +++ b/games/doomlegacy/Makefile @@ -1,5 +1,5 @@ PORTNAME= doomlegacy -PORTVERSION= 1.48.12 +PORTVERSION= 1.48.14 PORTEPOCH= 1 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${DISTVERSION:S,_,%20,}/ @@ -16,38 +16,32 @@ LICENSE= GPLv2 USES= gl gmake sdl tar:bzip2 USE_GL= gl glu USE_SDL= mixer sdl +MAKE_ARGS= OS=${OPSYS:tu} +MAKE_ENV= CC_ENVIRONMENT=1 HAVE_ZLIB=1 PLIST_FILES= bin/${PORTNAME} share/doom/dogs.wad share/doom/legacy.wad PORTDOCS= * -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS LIBZIP OPTIONS_DEFINE_i386= ASM +OPTIONS_DEFAULT= LIBZIP ASM_BROKEN= segmentation fault in ASM_PatchRowBytes() -.if exists(/usr/include/netipx/ipx.h) -OPTIONS_DEFINE+= IPX -IPX_DESC= IPX protocol support -.endif - ASM_BUILD_DEPENDS= nasm:devel/nasm ASM_MAKE_ENV= USEASM=1 -.include +LIBZIP_DESC= Zipped WAD file support via libzip +LIBZIP_LIB_DEPENDS= libzip.so:archivers/libzip +LIBZIP_MAKE_ENV= HAVE_LIBZIP=1 post-patch: .SILENT -# Adjust default WAD search path +# Adjust default WAD search path and disable IPX ${REINPLACE_CMD} -e '/DEFWADS04/s|/.*|${DMDIR}"|' \ - ${WRKSRC}/src/doomdef.h -.if ! ${PORT_OPTIONS:MIPX} - ${REINPLACE_CMD} -e '/USE_IPX/s|define|undef|' ${WRKSRC}/src/doomdef.h - ${REINPLACE_CMD} -e 's| -lipx||' ${WRKSRC}/src/Makefile -.endif + -e '/USE_IPX/s|define|undef|' ${WRKSRC}/src/doomdef.h pre-build: - ${ECHO_CMD} CC_ENVIRONMENT=1 OS=${OPSYS:tu} | \ - ${XARGS} -n 1 >> ${BUILD_WRKSRC}/make_options - ${MAKE_CMD} -C ${BUILD_WRKSRC} dirs - ${MAKE_CMD} -C ${BUILD_WRKSRC} depend + @${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} depend \ + -C ${BUILD_WRKSRC} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/doomlegacy ${STAGEDIR}${PREFIX}/bin @@ -55,7 +49,7 @@ do-install: ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${PORTVERSION}_common/*.wad \ ${STAGEDIR}${DMDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} - (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) + cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include "${.CURDIR}/../doom-data/Makefile.include" .include diff --git a/games/doomlegacy/distinfo b/games/doomlegacy/distinfo index cab7521daea2..20942412c00f 100644 --- a/games/doomlegacy/distinfo +++ b/games/doomlegacy/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1671410365 -SHA256 (doomlegacy_1.48.12_source.tar.bz2) = 8378e69730ae8fa57596b0c78d24d158618b90dabe9597793b5bd077324b5c44 -SIZE (doomlegacy_1.48.12_source.tar.bz2) = 2572064 -SHA256 (doomlegacy_1.48.12_common.zip) = 94cec77e7674b4c80d3f05812335918030056b33889c08d0389c6fffa28f368b -SIZE (doomlegacy_1.48.12_common.zip) = 1055689 +TIMESTAMP = 1703805810 +SHA256 (doomlegacy_1.48.14_source.tar.bz2) = 32f1de12088aa0fc339c12de1d2ba6756a9e6ab85ef6c4bcd6f8985374a73064 +SIZE (doomlegacy_1.48.14_source.tar.bz2) = 2624909 +SHA256 (doomlegacy_1.48.14_common.zip) = 3fecd4ee0fe943b92bf77eac08436953ab1a032403f539879c8599c8c02fb9f8 +SIZE (doomlegacy_1.48.14_common.zip) = 1056545 diff --git a/games/doomlegacy/files/patch-src_Makefile b/games/doomlegacy/files/patch-src_Makefile index d94cf2bc29f3..35550b1c87ff 100644 --- a/games/doomlegacy/files/patch-src_Makefile +++ b/games/doomlegacy/files/patch-src_Makefile @@ -1,15 +1,6 @@ ---- src/Makefile.orig 2022-12-18 00:00:15 UTC +--- src/Makefile.orig 2023-12-28 23:33:46 UTC +++ src/Makefile -@@ -234,7 +234,7 @@ OPTLEV=-O3 - # Developers with svn can enable this to have svn revision number in executable. - # Causes compile error message otherwise. - # Until can find test for presence of svn, this is best that can be done. --SVN_ENABLE=1 -+#SVN_ENABLE=1 - - # This Makefile may be invoked from within the src directory, - # or invoked from the Main Makefile with SRC=. -@@ -610,8 +610,10 @@ endif +@@ -613,8 +613,10 @@ endif OPTINC:= INSTALL_SUPPL:= @@ -21,16 +12,17 @@ ifdef ARCH # if does not have leading -march, -mcpu, -mtune, or similar. ifeq ($(filter -march% -mcpu% -mtune% -m%, $(strip $(ARCH))),) -@@ -770,7 +772,7 @@ ifeq ($(SMIF), SDL) - # default is Linux, for all unix SDL - EXENAME:=doomlegacy - LDFLAGS+=-L/usr/X11R6/lib -- LIBS+=-lGL -lGLU -lm -+ LIBS+=-lGL -lGLU -lm -lipx - # -L/usr/X11R6/lib is needed by Linux 2.4 and others that still have - # the GLU libraries in an X11 directory. - # -lm is needed for pow, powf, and other MATH1 functions. -@@ -1305,11 +1307,11 @@ ifdef DEBUG +@@ -1260,8 +1262,7 @@ ifdef CDMUS + endif + + # LIBZIP +-# For now, Linux only. +-ifeq ($(OS), LINUX) ++ifneq ($(filter LINUX FREEBSD,$(OS)),) + ifdef HAVE_DLOPEN + LIBS+=-ldl + OPTS+=-DHAVE_DLOPEN +@@ -1317,11 +1318,11 @@ ifdef DEBUG else # build a normal optimized version #CFLAGS+=-O3