From nobody Fri Oct 27 16:35:21 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 4SH7Z21hrvz4yRTv; Fri, 27 Oct 2023 16:35: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 4SH7Z219N3z3PvT; Fri, 27 Oct 2023 16:35:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698424522; 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=i3sHo3b04Hop6p2MUhQiGkRzTmMvtxf8avnhM22qLKE=; b=mLt5IEeU5Dr4OWa4X9k3xRKLMgQ7MfZe/69EC6Ghguzz+uXF2qKGYnUPUzmXhk/8b+kJqX jfwtwE+41mbvbcxgdmM2hiaIuEptgT3nP5B+ZZZ+Z7wDkWRUjcQsUWvEIA0DQ9bk/bAw9m icrjuDg6vdY3GdeF/6izeKdqJrYv1G5m7QPANsqRGp30XGp3Up8+/a1mJ+Ktx/1KC5chn+ GvMEJI055XPoauTzmEtIjPHvvIY7TewLgxZhf6SKr9zHwvqy62+byGkpm2xVA1QgtugPjt hRgkP6L9vxekO4TeY7ufMnN158jaDBRdv2/oSW6iPz0IBxbMaHtrDg6n0lqJ6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698424522; 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=i3sHo3b04Hop6p2MUhQiGkRzTmMvtxf8avnhM22qLKE=; b=HfLWnwc8F8S5Yz55yD+XrGn9e1xOzHKaTu08G2mKpds4OnHeZNJ9a8T4/Jj45ZM/vfDWbY rfnNACI7pA5ON41AyJYFTEFhEhw8G82xU0idnZ6CdQgovmLsLE0x+d5kGfo2aNIwRV8lwp vPygR9huyhiroWMiDBf0kJ13IN7DJSdzyXXpMf4mLY+ZnCU7SK2P8K4mXZJLXTuMhdSJf8 ZdHgmw/3ybbfMokE1JPOMBMO+Ud3yhzwd6jkMNsKDO3zd9MpUmh34ynUgW9t9UnLK5dME+ o+WU8ezgquVmiGbi/YhmGZhBQkiUOVSEtPHl5Qd1zRrC05hTr856MfAXDpZDAA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698424522; a=rsa-sha256; cv=none; b=w/JO2LuiFadbjZg8DwN1V57pvYV4mcq0ZGfOIT0sTB2U25ti2uQeyfBwN/DOknKzN5UTW+ 5l8piZ65jexGpYGPLD6DsdZsqFFGOuThnsO2dhSrXByOfog81c1k12mRXNTfyrRxN607Ri os9lO5M/JMR+4nTuqeJatoUN/ke0UM4QVXUrSyJ/OktGBWtqY5swpAPTOhFZR8SnOO8gIs GfMo08Z/k6PwrHBUQDMhXA4SfLOLVaHcp+BsHHR1zSPQo6W26EQLJmwPjTSsMhfE9mFUwo cMlaV/s0LvjaVoGDdFfTV/rH8DosizU+Sno/CX/inusOXg0Uhk0PthKVP9iw6A== 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 4SH7Z206Qcz5XZ; Fri, 27 Oct 2023 16:35: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 39RGZLq7092502; Fri, 27 Oct 2023 16:35:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39RGZLTQ092499; Fri, 27 Oct 2023 16:35:21 GMT (envelope-from git) Date: Fri, 27 Oct 2023 16:35:21 GMT Message-Id: <202310271635.39RGZLTQ092499@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: bd619b797890 - main - print/tex-dvipsk: Update dists 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bd619b79789041f2f5db861998f7ffbbbd32e5dd Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=bd619b79789041f2f5db861998f7ffbbbd32e5dd commit bd619b79789041f2f5db861998f7ffbbbd32e5dd Author: Muhammad Moinur Rahman AuthorDate: 2023-10-27 15:38:26 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-10-27 16:35:04 +0000 print/tex-dvipsk: Update dists - The distfile has been replaced with a locally modified distfile including all the patches required resulting in a smaller distfile. The delta is a huge step forward reducing the original file from 3.6GB to 3 MB. - There are still some ports which uses the original upstream distfile of 3.6GB but I will slowly replace them with smaller targeted dists to reduce the fetch target duration. - Not bumping as the resulting pkg remains same. Sponsored by: Nepustil --- print/tex-dvipsk/Makefile | 48 ++++++++++++++++++++++++++++++++--------------- print/tex-dvipsk/distinfo | 6 +++--- 2 files changed, 36 insertions(+), 18 deletions(-) diff --git a/print/tex-dvipsk/Makefile b/print/tex-dvipsk/Makefile index 216f9fb7c4d7..3a05bd3992a8 100644 --- a/print/tex-dvipsk/Makefile +++ b/print/tex-dvipsk/Makefile @@ -1,11 +1,12 @@ PORTNAME= dvipsk PORTVERSION= ${TEXLIVE_YEAR}.1 CATEGORIES= print -MASTER_SITES= TEX_CTAN/systems/texlive/${TEXLIVE_YEAR}/ +MASTER_SITES= TEX_CTAN/systems/texlive/${TEXLIVE_YEAR}/:source \ + LOCAL/tex:texmf PKGNAMEPREFIX= tex- DISTNAME= texlive-${TEXLIVE_VERSION}-source -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ - ${DISTNAME_TEXMF}${EXTRACT_SUFX} +DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:source \ + ${PKGNAMEPREFIX}${PORTNAME}-${TEXLIVE_VERSION}-freebsd${EXTRACT_SUFX}:texmf DIST_SUBDIR= TeX EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} @@ -29,16 +30,6 @@ CONFIGURE_ARGS= --with-kpathsea-includes=${LOCALBASE}/include \ EXTRACT_AFTER_ARGS= ${EXTRACT_FILES:S,^,${DISTNAME}/,} EXTRACT_FILES= am m4 build-aux texk/dvipsk texk/lcdf-typetools -EXTRACT_AFTER_ARGS_TEXMF= | ${TAR} -xf - -C ${STAGEDIR}${PREFIX}/share \ - --strip-components 1 --no-same-permission \ - --no-same-owner \ - ${EXCLUDE_FILES:S,^,--exclude ,} \ - ${EXTRACT_FILES_TEXMF:S,^,${DISTNAME_TEXMF}/,} -EXTRACT_FILES_TEXMF= texmf-dist/doc/dvips/ texmf-dist/dvips/ \ - texmf-dist/fonts/map/dvips/ \ - texmf-dist/fonts/enc/dvips/ \ - texmf-dist/tex/generic/dvips/ -EXCLUDE_FILES= texmf-dist/dvips/xdvi WRKSRC= ${WRKDIR}/${DISTNAME}/texk/dvipsk INFO= dvips @@ -48,8 +39,9 @@ PLIST_FILES= bin/afm2tfm \ man/man1/dvips.1.gz pre-install: - ${CAT} ${DISTDIR}/${DIST_SUBDIR}/texlive-${TEXLIVE_VERSION}-texmf${EXTRACT_SUFX} \ - ${EXTRACT_AFTER_ARGS_TEXMF} + ${TAR} -Jxf ${DISTDIR}/${DIST_SUBDIR}/${PKGNAMEPREFIX}${PORTNAME}-${TEXLIVE_VERSION}-freebsd${EXTRACT_SUFX} \ + -C ${STAGEDIR}${PREFIX}/share \ + --strip-components 1 --no-same-permission --no-same-owner post-install: ${FIND} -s ${STAGEDIR}${PREFIX}/share/texmf-dist -not -type d | ${SORT} | \ @@ -57,4 +49,30 @@ post-install: ${FIND} -s ${STAGEDIR}${PREFIX}/share/texmf-dist -type d -empty | ${SORT} -r | \ ${SED} -e 's#^${STAGEDIR}${PREFIX}/#@dir #' >> ${TMPPLIST} +.if defined(MAINTAINER_MODE) +_EXTRACT_FILES= texmf-dist/doc/dvips/ texmf-dist/dvips/ \ + texmf-dist/fonts/map/dvips/ \ + texmf-dist/fonts/enc/dvips/ \ + texmf-dist/tex/generic/dvips/ +_EXCLUDE_FILES= texmf-dist/dvips/xdvi +_WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}-${TEXLIVE_VERSION} + +_maintainer-extract: + ${MAKE} clean + ${MKDIR} ${_WRKSRC} + ${TAR} -xf ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME_TEXMF}${EXTRACT_SUFX} \ + -C ${_WRKSRC}$ \ + --strip-components 1 --no-same-permission --no-same-owner \ + ${_EXCLUDE_FILES:S,^,--exclude ,} \ + ${_EXTRACT_FILES:S,^,${DISTNAME_TEXMF}/,} + +_maintainer-dist: _maintainer-extract + ${TAR} --options xz:compression-level=9 -Jcvf \ + ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}-${TEXLIVE_VERSION}-freebsd.tar.xz \ + -C ${WRKDIR} ${PKGNAMEPREFIX}${PORTNAME}-${TEXLIVE_VERSION} + scp ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}-${TEXLIVE_VERSION}-freebsd.tar.xz \ + bofh@freefall.freebsd.org://home/tex/public_distfiles/ + +.endif + .include diff --git a/print/tex-dvipsk/distinfo b/print/tex-dvipsk/distinfo index d2f5a56f927b..b92e36a9e759 100644 --- a/print/tex-dvipsk/distinfo +++ b/print/tex-dvipsk/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1680721364 +TIMESTAMP = 1698419926 SHA256 (TeX/texlive-20230313-source.tar.xz) = 3878aa0e1ed0301c053b0e2ee4e9ad999c441345f4882e79bdd1c8f4ce9e79b9 SIZE (TeX/texlive-20230313-source.tar.xz) = 68630148 -SHA256 (TeX/texlive-20230313-texmf.tar.xz) = 4c4dc77a025acaad90fb6140db2802cdb7ca7a9a2332b5e3d66aa77c43a81253 -SIZE (TeX/texlive-20230313-texmf.tar.xz) = 3866405744 +SHA256 (TeX/tex-dvipsk-20230313-freebsd.tar.xz) = 8356e2ebcd561de3afdc778bcdbd0f0f5cfaa9249a9415988aebb764fe3f107e +SIZE (TeX/tex-dvipsk-20230313-freebsd.tar.xz) = 2728208