Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2024 19:46:19 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9d32296c3b99 - main - emulators/virtualbox-ose: Refactor DOCS
Message-ID:  <202405281946.44SJkJx7080177@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9d32296c3b99e1f209c8da163a2e3fc8835e4b34

commit 9d32296c3b99e1f209c8da163a2e3fc8835e4b34
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-05-28 19:44:37 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-05-28 19:46:11 +0000

    emulators/virtualbox-ose: Refactor DOCS
    
    Although the documentation builds fine currently however the doc
    UserManual.pdf fails to build from the docbook with pdflatex from TeX
    2024. So decouple the documentation file from the builds as an
    additional DISTFILE. As this version is no longer supported by upstream
    it is highly unlikely that the build of the documentation will be fixed
    by upstream. Or unless someone has enough enthusiasm to fix the build
    of the documentation once TeX 2024 hits the tree.
    
    Approved by: portmgr (blanket)
    Sponsored by: Nepustil
---
 emulators/virtualbox-ose/Makefile | 22 ++++++++++------------
 emulators/virtualbox-ose/distinfo |  4 +++-
 2 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/emulators/virtualbox-ose/Makefile b/emulators/virtualbox-ose/Makefile
index 5db1512ec70a..dfacba9c10a0 100644
--- a/emulators/virtualbox-ose/Makefile
+++ b/emulators/virtualbox-ose/Makefile
@@ -1,10 +1,13 @@
 PORTNAME=	virtualbox-ose
 PORTVERSION=	6.1.50
-PORTREVISION?=	1
+PORTREVISION?=	2
 CATEGORIES=	emulators
-MASTER_SITES=	https://download.virtualbox.org/virtualbox/${PORTVERSION}/
-DISTFILES=	VirtualBox-${PORTVERSION}${EXTRACT_SUFX} ${GUESTADDITIONS}
-EXTRACT_ONLY=	VirtualBox-${PORTVERSION}${EXTRACT_SUFX}
+MASTER_SITES=	https://download.virtualbox.org/virtualbox/${PORTVERSION}/:src \
+		LOCAL/bofh/emulators/virtualbox-ose:docs
+DISTFILES=	VirtualBox-${PORTVERSION}${EXTRACT_SUFX}:src \
+		VirtualBox-docs-${PORTVERSION}${EXTRACT_SUFX}:docs
+EXTRACT_ONLY=	VirtualBox-${PORTVERSION}${EXTRACT_SUFX} \
+		VirtualBox-docs-${PORTVERSION}${EXTRACT_SUFX}
 
 MAINTAINER=	vbox@FreeBSD.org
 COMMENT=	General-purpose full virtualizer for x86 hardware
@@ -31,7 +34,7 @@ CPE_VENDOR=	oracle
 CPE_PRODUCT=	vm_virtualbox
 
 HAS_CONFIGURE=	yes
-CONFIGURE_ARGS=	--disable-java --passive-mesa
+CONFIGURE_ARGS=	--disable-java --passive-mesa --disable-docs
 CONFIGURE_ARGS+=	--with-gcc="${CC}" --with-g++="${CXX}"
 
 CONFLICTS_INSTALL=	virtualbox-ose-additions-* \
@@ -84,12 +87,6 @@ ALSA_LIB_DEPENDS=	libasound.so:audio/alsa-lib
 DBUS_CONFIGURE_OFF=	--disable-dbus
 DBUS_LIB_DEPENDS=	libdbus-1.so:devel/dbus
 DEBUG_CONFIGURE_ON=	--build-debug
-DOCS_USES=		tex
-DOCS_USE=		TEX=dvipsk:build,formats:build
-DOCS_BUILD_DEPENDS=	${LOCALBASE}/share/xml/docbook/4.4/docbookx.dtd:textproc/docbook-xml
-DOCS_CONFIGURE_OFF=	--disable-docs
-DOCS_VARS=		dbkxmldir=${LOCALBASE}/share/xml/docbook/4.4 \
-			dbkxsldir=${LOCALBASE}/share/xsl/docbook
 NLS_IMPLIES=		QT5
 OPUS_CONFIGURE_OFF=	--disable-libopus
 OPUS_LIB_DEPENDS=	libopus.so:audio/opus
@@ -152,6 +149,7 @@ KMK_BUILDTYPE=	release
 
 .if ${PORT_OPTIONS:MGUESTADDITIONS}
 GUESTADDITIONS=	VBoxGuestAdditions_${PORTVERSION}.iso
+DISTFILES+=	${GUESTADDITIONS}:src
 LICENSE+=	Additions
 LICENSE_COMB=	multi
 LICENSE_NAME_Additions=	Guest Additions
@@ -375,7 +373,7 @@ do-install:
 
 .if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${KMK_BUILDDIR}/bin/UserManual*.pdf \
+	${INSTALL_DATA} ${WRKDIR}/VirtualBox-docs-${PORTVERSION}/UserManual.pdf \
 	    ${STAGEDIR}${DOCSDIR}
 .endif
 
diff --git a/emulators/virtualbox-ose/distinfo b/emulators/virtualbox-ose/distinfo
index 913c81d648b7..08ac88176444 100644
--- a/emulators/virtualbox-ose/distinfo
+++ b/emulators/virtualbox-ose/distinfo
@@ -1,5 +1,7 @@
-TIMESTAMP = 1705518694
+TIMESTAMP = 1716920210
 SHA256 (VirtualBox-6.1.50.tar.bz2) = 73ff603842896cb8d86ac5a817eb5037d7d225d3c46ea238e39d7ba5aaf61a57
 SIZE (VirtualBox-6.1.50.tar.bz2) = 165959648
 SHA256 (VBoxGuestAdditions_6.1.50.iso) = af53e34c5a5ec143f3418ac01d00ed5f33f6b31bfdc92eb4714c99d9bccb6602
 SIZE (VBoxGuestAdditions_6.1.50.iso) = 64051200
+SHA256 (VirtualBox-docs-6.1.50.tar.bz2) = e5dc118e8bb8352c06d5359e4f75ceb339a3917f0727fd74ad02ff07251e67db
+SIZE (VirtualBox-docs-6.1.50.tar.bz2) = 4063302



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405281946.44SJkJx7080177>