pkgsrc: build MCDE and Motif from the tree, no archives
Both recipes set DISTFILES and built from archives that tools/mcde-dist.sh made. They now set DISTFILES= # empty and copy the tree in do-extract, the way pkgsrc's own net/fetch and pkgtools/pkg_install do. The copy is made by tools/ext-extract.sh: it copies only the files that differ and keeps the time stamps of the rest, so a commit rebuilds what it touched and not all 27 minutes of MCDE. Verified: bmake -C pkgsrc/wm/mcde package built mcde-0.1.0.tgz (16 MB) with no distinfo present.
This commit is contained in:
1 parent
288d13834c
commit
91967e9f0d
4 files changed
+37
-23
No files matched your search
+17
-7
@@ -1,18 +1,28 @@
|
||||
# $NetBSD$
|
||||
|
||||
# $Makronix$
|
||||
#
|
||||
# Makronix's Motif: Motif 2.3.8 as MCDE carries it (ext/src/mcde/motif,
|
||||
# with the 28 patches of pkgsrc x11/motif folded in and MCDE's own fixes:
|
||||
# the Command key in text fields, menu bars shown in the top bar, Xft
|
||||
# renditions), built from the MCDE archive that tools/mcde-dist.sh makes.
|
||||
# The rest of this recipe is pkgsrc's x11/motif. On Makronix it is the
|
||||
# system's Motif (Konrad, 2026-11-13: MCDE builds its own Motif only where
|
||||
# it is not Makronix); mk.conf's MOTIFBASE lets every other package take it.
|
||||
# renditions). The rest of this recipe is pkgsrc's x11/motif. On Makronix it
|
||||
# is the system's Motif (Konrad, 2026-11-13: MCDE builds its own Motif only
|
||||
# where it is not Makronix); mk.conf's MOTIFBASE lets every other package take
|
||||
# it.
|
||||
DISTNAME= mcde-0.1.0
|
||||
PKGNAME= mcde-motif-2.3.8
|
||||
CATEGORIES= x11
|
||||
MASTER_SITES= # none yet: tools/mcde-dist.sh puts the archive into DISTDIR
|
||||
MASTER_SITES= # empty
|
||||
DISTFILES= # empty
|
||||
# The source is ext/src/mcde in this repository, not a tarball (see
|
||||
# ../pkgsrc/Makefile): Motif is the motif/ part of that one tree.
|
||||
_MAKRONIX_TOP!= cd ${.CURDIR}/../../.. && pwd -P
|
||||
MCDESRC= ${_MAKRONIX_TOP}/ext/src/mcde
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/motif
|
||||
|
||||
# The copy is made by a script, not by ${CP} -R: pkgsrc extracts once, and
|
||||
# a commit after that never reached the work directory (tools/ext-extract.sh).
|
||||
do-extract:
|
||||
${RUN}${SH} ${_MAKRONIX_TOP}/tools/ext-extract.sh ${MCDESRC} ${WRKDIR}/${DISTNAME}
|
||||
|
||||
MAINTAINER= konrad.lother@gmail.com
|
||||
HOMEPAGE= https://motif.ics.com/
|
||||
COMMENT= LGPLed Motif toolkit, as the Makronix desktop carries it
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
$NetBSD$
|
||||
|
||||
BLAKE2s (mcde-0.1.0.tar.gz) = f7c465b45bf905c9c427c45ff90467edb061ec751303a677c682c7164291b60a
|
||||
SHA512 (mcde-0.1.0.tar.gz) = 101353c1e875468cab489de760af1b0127025e0c947347319b859e065599842f4e8c522abe573941ccfb2f9082d91bef1d6c8817b4841782b5802606c72e7d99
|
||||
Size (mcde-0.1.0.tar.gz) = 67184505 bytes
|
||||
+20
-6
@@ -1,12 +1,26 @@
|
||||
# $NetBSD: Makefile,v 1.9 2025/11/27 20:31:27 vins Exp $
|
||||
|
||||
# $Makronix$
|
||||
#
|
||||
# MCDE, the Makronix fork of CDE 2.5.3 (ext/src/mcde/IMPORT). The source is
|
||||
# kept in the Makronix repository; tools/mcde-dist.sh makes the archive below from
|
||||
# a commit and writes distinfo. There is no public MASTER_SITES yet: put the
|
||||
# archive into DISTDIR.
|
||||
# ext/src/mcde in this repository -- the tree git tracks and a person edits, not
|
||||
# an archive: no DISTFILES, no distinfo, and do-extract fills WRKSRC (the same
|
||||
# way net/fetch and pkgtools/pkg_install build from their files/). The recipe
|
||||
# started as pkgsrc's wm/cde; the differences are MCDE's.
|
||||
DISTNAME= mcde-0.1.0
|
||||
CATEGORIES= wm x11
|
||||
MASTER_SITES= # none yet
|
||||
MASTER_SITES= # empty
|
||||
DISTFILES= # empty
|
||||
|
||||
# Three levels above the directory pkgsrc builds in: the development tree, /mnt
|
||||
# inside the build chroot and /usr/src on an installed system. 'pwd -P' because
|
||||
# pkgsrc refuses a WRKDIR path that is not canonical and the mirror in pkgsrc/
|
||||
# is reached through a symlink (tools/ext-sync.sh).
|
||||
_MAKRONIX_TOP!= cd ${.CURDIR}/../../.. && pwd -P
|
||||
MCDESRC= ${_MAKRONIX_TOP}/ext/src/mcde
|
||||
|
||||
# The copy is made by a script, not by ${CP} -R: pkgsrc extracts once, and
|
||||
# a commit after that never reached the work directory (tools/ext-extract.sh).
|
||||
do-extract:
|
||||
${RUN}${SH} ${_MAKRONIX_TOP}/tools/ext-extract.sh ${MCDESRC} ${WRKSRC}
|
||||
|
||||
MAINTAINER= konrad.lother@gmail.com
|
||||
COMMENT= Makronix Common Desktop Environment, a fork of CDE
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
$NetBSD$
|
||||
|
||||
BLAKE2s (mcde-0.1.0.tar.gz) = f7c465b45bf905c9c427c45ff90467edb061ec751303a677c682c7164291b60a
|
||||
SHA512 (mcde-0.1.0.tar.gz) = 101353c1e875468cab489de760af1b0127025e0c947347319b859e065599842f4e8c522abe573941ccfb2f9082d91bef1d6c8817b4841782b5802606c72e7d99
|
||||
Size (mcde-0.1.0.tar.gz) = 67184505 bytes
|
||||
Reference in new issue
Block a user