From nobody Sat May 06 14:39:12 2023 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 4QD9DK3hRrz49gGj; Sat, 6 May 2023 14:39:13 +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 4QD9DK2JLpz4M8G; Sat, 6 May 2023 14:39:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683383953; 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=h0IN7oeQBFkZDmwQK+hWou0f+i8JGmyp9Li1ku6v9mk=; b=HCy2efwVHN8G73tQ791xESF38s0JRzQP+Ogcu9WvPhyrz0fZOYeYH7eaHT8fnKbdA8aYtg xcj2GBALAG74eELsS1KOo57CINc1QrG6ZXXKh4rDk3HTVuLJ9fQ5ilMS5EnebEO8KaVLk3 L+v2dMRxLUzm9X4ZZUeG/irecsyCBTjNpzu4kefHo/059ELVIhjfG2jpuIcXB1dT/fzo5J wt2rk/Eh/tE/hZ1aChRrwcsnOwoIflNCowixE3tWidjd+bhTtW9z9QS9xZJ9CaGFLr7M5+ CefpiQLxCtZ3w6uqkcOeeCxtk1ZAOUy3FFlrgKgjSMxmRzVPRLJ+S4YvhGisWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683383953; 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=h0IN7oeQBFkZDmwQK+hWou0f+i8JGmyp9Li1ku6v9mk=; b=xvw0B/WWwBxLTE6ZR17efNDhod8EIyoyt067UrFLgj7qOoPmowd5rUCLwUZuztaXnOB0pe p0vlvFUrETUVjaRVQE7lOIH0LLn6NcbbTxdjQlO0PyGZNltz5hZarBD49L351SbXkoYo09 3dHSBrVx+s3I6zEi1CU/tnMDttbznkM9l8FFAMak2EKWLrDa/+PMVgY+nwX3sPiFNy1Mxf Ef/EpoSyGrfEHQftn8gMZxOv0A6jir/J+kXhyuRIezbQXZQ9EARM7y92JWtZkiRqERoEZv Aj23PKC6RSFmccSXS500JgLmOlLFkEuizKWdLtGPb26ci1CJVaAfnFotRyb9eA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683383953; a=rsa-sha256; cv=none; b=jJbmhi8vM1eFdg/DUMp0Jw32qoDJ3kcICkY1FEXXjxsLOVwIGmU/6qs4JhO/bZTpim1TWh i9vpDxoiVE18X4Hii7B+ogHNOhf27MynnLOdk/66TkgxpU35VB0ELhJjB2VLJMWtYuzpht 01kxs7wmMEKVqubUCH9t1ZGYPPPlf3jLqsTd0D+bqgp1BL/GHXPAnVJ0OQ4mNsjVUYOG3T n0iSEpAmRxG+BlNkxHxjJGQWaHI1pBCNxmw7HyN2RNXE3ph0P6IFPy1SE8oP5Rw1AYtnLQ /qQv52QKsxip+tMkcWdX+6zQjG0SNp00WOrnyaZQ1T6wqYZwzzYypwUcqU6iKA== 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 4QD9DK0Qc6zgZM; Sat, 6 May 2023 14:39:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 346EdCjL004025; Sat, 6 May 2023 14:39:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 346EdC3B004024; Sat, 6 May 2023 14:39:12 GMT (envelope-from git) Date: Sat, 6 May 2023 14:39:12 GMT Message-Id: <202305061439.346EdC3B004024@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: 05c4a0556690 - main - emulators/qemu7: Update version 7.0.0=>7.2.1 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 05c4a05566903cad52b3bbb9b03da677ef2f7bd6 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=05c4a05566903cad52b3bbb9b03da677ef2f7bd6 commit 05c4a05566903cad52b3bbb9b03da677ef2f7bd6 Author: Muhammad Moinur Rahman AuthorDate: 2023-05-05 19:37:40 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-05-06 14:39:02 +0000 emulators/qemu7: Update version 7.0.0=>7.2.1 Merge the relevant port files from emulators/qemu. This is most probably going to be the last version update untill Qemu releases version 9 and we phase this out. --- emulators/qemu7/Makefile | 21 +++++++++++---------- emulators/qemu7/distinfo | 6 +++--- .../files/patch-bsd-user_host_i386_host-signal.h | 14 ++++++-------- .../files/patch-bsd-user_host_x86__64_host-signal.h | 12 ------------ emulators/qemu7/files/patch-meson.build | 4 ++-- emulators/qemu7/files/patch-util_meson.build | 4 ++-- emulators/qemu7/pkg-plist | 2 ++ 7 files changed, 26 insertions(+), 37 deletions(-) diff --git a/emulators/qemu7/Makefile b/emulators/qemu7/Makefile index 5424c5759242..c16b7b9d49ad 100644 --- a/emulators/qemu7/Makefile +++ b/emulators/qemu7/Makefile @@ -1,25 +1,25 @@ PORTNAME= qemu -PORTVERSION= 7.0.0 +PORTVERSION= 7.2.1 CATEGORIES= emulators MASTER_SITES= https://download.qemu.org/ DIST_SUBDIR= qemu/${PORTVERSION} MAINTAINER= bofh@FreeBSD.org -COMMENT= QEMU CPU Emulator ${${FLAVOR}_COMMENT} - 7.X.x +COMMENT= QEMU CPU Emulator ${${FLAVOR}_COMMENT} - 7.X.X WWW= https://www.qemu.org/ LICENSE= GPLv2 .if ${FLAVOR:U} != tools -ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le +ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le # We need to check if it build with other ARCHS -# For i386 we have unknown type name 'vm_page_t' .endif BUILD_DEPENDS= bash:shells/bash .if ${FLAVOR:U} != tools LIB_DEPENDS+= libfdt.so:sysutils/dtc \ - libzstd.so:archivers/zstd + libzstd.so:archivers/zstd \ + libslirp.so:net/libslirp .endif .if (${FLAVOR:U} != nox11 && ${FLAVOR:U} != tools) LIB_DEPENDS+= libepoxy.so:graphics/libepoxy @@ -35,7 +35,8 @@ nox11_CONFLICTS_INSTALL= qemu qemu-devel qemu6* nox11_COMMENT= (without X11) tools_PKGNAMESUFFIX= 7-tools tools_COMMENT= (tools only) -tools_CONFLICTS_INSTALL= qemu qemu-devel qemu-nox11 qemu-utils qemu6* +tools_CONFLICTS_INSTALL= qemu qemu-devel qemu-nox11 qemu-utils qemu6* \ + qemu-guest-agent tools_DESCR= ${.CURDIR}/pkg-descr-tools tools_PLIST= ${.CURDIR}/pkg-plist-tools @@ -51,6 +52,7 @@ USE_GNOME+= cairo HAS_CONFIGURE= yes CONFIGURE_ARGS+= --cc=${CC} \ + --disable-guest-agent \ --disable-kvm \ --disable-linux-aio \ --disable-linux-user \ @@ -77,7 +79,6 @@ CONFIGURE_ARGS+= --disable-attr \ --disable-fdt \ --disable-gcrypt \ --disable-glusterfs \ - --disable-guest-agent \ --disable-libnfs \ --disable-libusb \ --disable-lzo \ @@ -139,7 +140,7 @@ USBREDIR_DESC= usb device network redirection (experimental!) VDE_DESC= vde dependency (for vde networking) X86_TARGETS_DESC= Build only x86 system targets CAPSTONE_LIB_DEPENDS= libcapstone.so:devel/capstone4 -CAPSTONE_CONFIGURE_ON= --enable-capstone=system \ +CAPSTONE_CONFIGURE_ON= --enable-capstone \ --extra-cflags=-I${LOCALBASE}/include/capstone CAPSTONE_CONFIGURE_OFF= --disable-capstone CURL_LIB_DEPENDS= libcurl.so:ftp/curl @@ -167,7 +168,7 @@ OPENGL_USES= gl OPENGL_USE= GL=gbm,gl OPENGL_CONFIGURE_OFF= --disable-opengl PNG_LIB_DEPENDS= libpng.so:graphics/png -PNG_CONFIGURE_OFF= --disable-vnc-png +PNG_CONFIGURE_OFF= --disable-png SAMBA_USES= samba:run # smbd SAMBA_CONFIGURE_ON= --smbd=${LOCALBASE}/sbin/smbd SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 @@ -236,8 +237,8 @@ post-install: .if ${FLAVOR:U} != tools ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifup.sample ${STAGEDIR}${PREFIX}/etc ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifdown.sample ${STAGEDIR}${PREFIX}/etc - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qemu-* .endif + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qemu-* post-install-DOCS-on: @(cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${DOCSDIR}/) diff --git a/emulators/qemu7/distinfo b/emulators/qemu7/distinfo index e40467f0d5ce..a2a612efc879 100644 --- a/emulators/qemu7/distinfo +++ b/emulators/qemu7/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1650583782 -SHA256 (qemu/7.0.0/qemu-7.0.0.tar.xz) = f6b375c7951f728402798b0baabb2d86478ca53d44cedbefabbe1c46bf46f839 -SIZE (qemu/7.0.0/qemu-7.0.0.tar.xz) = 125117636 +TIMESTAMP = 1681497374 +SHA256 (qemu/7.2.1/qemu-7.2.1.tar.xz) = 8c85699acf9d7a43a5fe29a64cdd56370b0c2d1ad074baf7098a824d17aad73b +SIZE (qemu/7.2.1/qemu-7.2.1.tar.xz) = 122400592 diff --git a/emulators/qemu7/files/patch-bsd-user_host_i386_host-signal.h b/emulators/qemu7/files/patch-bsd-user_host_i386_host-signal.h index 06a07c0f9425..07d731fd4f54 100644 --- a/emulators/qemu7/files/patch-bsd-user_host_i386_host-signal.h +++ b/emulators/qemu7/files/patch-bsd-user_host_i386_host-signal.h @@ -1,12 +1,10 @@ ---- bsd-user/host/i386/host-signal.h.orig 2022-09-08 16:00:45 UTC +--- bsd-user/host/i386/host-signal.h.orig 2022-12-14 16:28:45 UTC +++ bsd-user/host/i386/host-signal.h -@@ -9,6 +9,9 @@ - #ifndef I386_HOST_SIGNAL_H - #define I386_HOST_SIGNAL_H - -+#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__) -+#include -+#endif +@@ -12,6 +12,7 @@ + #include #include #include ++#include #include + #include + diff --git a/emulators/qemu7/files/patch-bsd-user_host_x86__64_host-signal.h b/emulators/qemu7/files/patch-bsd-user_host_x86__64_host-signal.h deleted file mode 100644 index 1864eb788f03..000000000000 --- a/emulators/qemu7/files/patch-bsd-user_host_x86__64_host-signal.h +++ /dev/null @@ -1,12 +0,0 @@ ---- bsd-user/host/x86_64/host-signal.h.orig 2022-04-19 19:10:27 UTC -+++ bsd-user/host/x86_64/host-signal.h -@@ -9,6 +9,9 @@ - #ifndef X86_64_HOST_SIGNAL_H - #define X86_64_HOST_SIGNAL_H - -+#if defined(__FreeBSD__) -+#include -+#endif - #include - #include - #include diff --git a/emulators/qemu7/files/patch-meson.build b/emulators/qemu7/files/patch-meson.build index e701a096e957..1ada4462a416 100644 --- a/emulators/qemu7/files/patch-meson.build +++ b/emulators/qemu7/files/patch-meson.build @@ -1,6 +1,6 @@ ---- meson.build.orig 2022-04-19 19:10:27 UTC +--- meson.build.orig 2022-12-14 16:28:45 UTC +++ meson.build -@@ -2505,14 +2505,10 @@ if have_system +@@ -2719,14 +2719,10 @@ if have_system fdt_opt = get_option('fdt') if fdt_opt in ['enabled', 'auto', 'system'] have_internal = fs.exists(meson.current_source_dir() / 'dtc/libfdt/Makefile.libfdt') diff --git a/emulators/qemu7/files/patch-util_meson.build b/emulators/qemu7/files/patch-util_meson.build index 590b1f5a0592..135b2ee3f156 100644 --- a/emulators/qemu7/files/patch-util_meson.build +++ b/emulators/qemu7/files/patch-util_meson.build @@ -1,6 +1,6 @@ ---- util/meson.build.orig 2022-04-23 11:59:28 UTC +--- util/meson.build.orig 2022-12-14 16:28:45 UTC +++ util/meson.build -@@ -87,10 +87,6 @@ if have_block +@@ -97,10 +97,6 @@ if have_block util_ss.add(files('readline.c')) util_ss.add(files('throttle.c')) util_ss.add(files('timed-average.c')) diff --git a/emulators/qemu7/pkg-plist b/emulators/qemu7/pkg-plist index 00d0673675ba..3945e88c4478 100644 --- a/emulators/qemu7/pkg-plist +++ b/emulators/qemu7/pkg-plist @@ -14,6 +14,7 @@ bin/qemu-storage-daemon %%NO_X86_TARGETS%%bin/qemu-system-cris %%NO_X86_TARGETS%%bin/qemu-system-hppa bin/qemu-system-i386 +%%NO_X86_TARGETS%%bin/qemu-system-loongarch64 %%NO_X86_TARGETS%%bin/qemu-system-m68k %%NO_X86_TARGETS%%bin/qemu-system-microblaze %%NO_X86_TARGETS%%bin/qemu-system-microblazeel @@ -176,4 +177,5 @@ share/applications/qemu.desktop %%GTK3%%share/locale/it/LC_MESSAGES/qemu.mo %%GTK3%%share/locale/sv/LC_MESSAGES/qemu.mo %%GTK3%%share/locale/tr/LC_MESSAGES/qemu.mo +%%GTK3%%share/locale/uk/LC_MESSAGES/qemu.mo %%GTK3%%share/locale/zh_CN/LC_MESSAGES/qemu.mo