pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/emulators/qemu



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Sat Mar  7 10:24:28 UTC 2026

Modified Files:
        pkgsrc/emulators/qemu: Makefile PLIST

Log Message:
qemu: remove guest-agent from package

The QEMU guest agent is now a separate package,
sysutils/qemu-guest-agent. Remove it from this package so that both can
be installed.

Requested by riastradh@ in PR pkg/59742

Also install vmsr-helper only on Linux on Intel.


To generate a diff of this commit:
cvs rdiff -u -r1.398 -r1.399 pkgsrc/emulators/qemu/Makefile
cvs rdiff -u -r1.103 -r1.104 pkgsrc/emulators/qemu/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/qemu/Makefile
diff -u pkgsrc/emulators/qemu/Makefile:1.398 pkgsrc/emulators/qemu/Makefile:1.399
--- pkgsrc/emulators/qemu/Makefile:1.398        Sun Feb 15 07:37:37 2026
+++ pkgsrc/emulators/qemu/Makefile      Sat Mar  7 10:24:28 2026
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.398 2026/02/15 07:37:37 adam Exp $
+# $NetBSD: Makefile,v 1.399 2026/03/07 10:24:28 bsiegert Exp $
 
 .include "../../emulators/qemu/version.mk"
 
 DISTNAME=      qemu-${QEMU_VERSION}
+PKGREVISION=   1
 CATEGORIES=    emulators
 MASTER_SITES=  https://download.qemu.org/
 EXTRACT_SUFX=  .tar.xz
@@ -22,8 +23,6 @@ USE_TOOLS+=           bison gdbus-codegen flex ma
 UNLIMIT_RESOURCES=     datasize
 HAS_CONFIGURE=         yes
 
-CONFLICTS+=    qemu-guest-agent-[0-9]*
-
 # https://github.com/qemu/qemu/commit/56208a0d473c6db263cc333c787ca48b502d72ab
 GCC_REQD+=     7
 
@@ -56,6 +55,7 @@ CONFIGURE_ARGS+=      --smbd=${PREFIX}/sbin/s
 CONFIGURE_ARGS+=       --mandir=${PREFIX}/${PKGMANDIR}
 CONFIGURE_ARGS+=       --enable-curses
 CONFIGURE_ARGS+=       --enable-fdt=system
+CONFIGURE_ARGS+=       --disable-guest-agent
 CONFIGURE_ENV+=                mansuffix=/${PKGMANDIR}
 ALL_ENV+=              MESON_RSP_THRESHOLD=262144
 
@@ -133,7 +133,6 @@ UE_ARCHS+=          s390x sh4 sh4eb sparc sparc3
 UE_ARCHS+=             x86_64 xtensa xtensaeb
 
 .if ${OPSYS} == "NetBSD"
-PLIST.ga=              yes
 PLIST.nbd=             yes
 .  if !exists(/usr/include/machine/trap.h)     \
        || "1"=="1"     # XXX usermode emulation is broken
@@ -144,7 +143,6 @@ USER_EMUL=          i386 x86_64
 .  endif
 .elif ${OPSYS:M*BSD} || ${OPSYS} == "DragonFly"
 USER_EMUL=             i386 x86_64
-PLIST.ga=              yes
 PLIST.nbd=             yes
 .elif ${OPSYS} == "Darwin"
 USER_EMUL=
@@ -160,12 +158,12 @@ CONFIGURE_ARGS+=  --disable-linux-user
 USER_EMUL=             ${UE_ARCHS}
 .  endif
 PLIST.bridge-helper=   yes
-PLIST.ga=              yes
 PLIST.nbd=             yes
 PLIST.pr-helper=       yes
+.  if ${MACHINE_PLATFORM:M*-i386} || ${MACHINE_PLATFORM:M*-x86_64}
 PLIST.vmsr-helper=     yes
+.  endif
 .elif ${MACHINE_PLATFORM:MSunOS-5.11-*}
-PLIST.ga=              yes
 PLIST.nbd=             yes
 CONFIGURE_ARGS+=       --disable-coroutine-pool
 .endif
@@ -178,7 +176,7 @@ CONFIGURE_ARGS+=    --enable-plugins
 CONFIGURE_ARGS+=       --disable-plugins
 .endif
 
-PLIST_VARS+=           ${UE_ARCHS} bridge-helper ga keymap nbd pr-helper vmsr-helper
+PLIST_VARS+=           ${UE_ARCHS} bridge-helper keymap nbd pr-helper vmsr-helper
 .for pvar in ${USER_EMUL}
 PLIST.${pvar}=         yes
 .endfor

Index: pkgsrc/emulators/qemu/PLIST
diff -u pkgsrc/emulators/qemu/PLIST:1.103 pkgsrc/emulators/qemu/PLIST:1.104
--- pkgsrc/emulators/qemu/PLIST:1.103   Tue Mar  3 21:13:54 2026
+++ pkgsrc/emulators/qemu/PLIST Sat Mar  7 10:24:28 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.103 2026/03/03 21:13:54 tnn Exp $
+@comment $NetBSD: PLIST,v 1.104 2026/03/07 10:24:28 bsiegert Exp $
 bin/elf2dmp
 ${PLIST.aarch64}bin/qemu-aarch64
 ${PLIST.aarch64_be}bin/qemu-aarch64_be
@@ -6,7 +6,6 @@ ${PLIST.alpha}bin/qemu-alpha
 ${PLIST.arm}bin/qemu-arm
 ${PLIST.armeb}bin/qemu-armeb
 bin/qemu-edid
-${PLIST.ga}bin/qemu-ga
 ${PLIST.hexagon}bin/qemu-hexagon
 ${PLIST.hppa}bin/qemu-hppa
 ${PLIST.i386}bin/qemu-i386
@@ -78,10 +77,8 @@ ${PLIST.doc}man/man1/qemu-storage-daemon
 ${PLIST.doc}man/man1/qemu.1
 ${PLIST.doc}man/man7/qemu-block-drivers.7
 ${PLIST.doc}man/man7/qemu-cpu-models.7
-${PLIST.doc}${PLIST.ga}man/man7/qemu-ga-ref.7
 ${PLIST.doc}man/man7/qemu-qmp-ref.7
 ${PLIST.doc}man/man7/qemu-storage-daemon-qmp-ref.7
-${PLIST.doc}${PLIST.ga}man/man8/qemu-ga.8
 ${PLIST.doc}man/man8/qemu-nbd.8
 ${PLIST.doc}man/man8/qemu-pr-helper.8
 share/applications/qemu.desktop



Home | Main Index | Thread Index | Old Index