diff options
author | sbruno <sbruno@FreeBSD.org> | 2016-07-12 23:17:44 +0800 |
---|---|---|
committer | sbruno <sbruno@FreeBSD.org> | 2016-07-12 23:17:44 +0800 |
commit | 88ed0411a6de7dcdd0d8577758f6e1a581ca4e22 (patch) | |
tree | bb808b2f21e00dabcdc381a3e8df26843affd02c /emulators | |
parent | 38ed7b06838f00571a14d225d99c662c020eba15 (diff) | |
download | freebsd-ports-gnome-88ed0411a6de7dcdd0d8577758f6e1a581ca4e22.tar.gz freebsd-ports-gnome-88ed0411a6de7dcdd0d8577758f6e1a581ca4e22.tar.zst freebsd-ports-gnome-88ed0411a6de7dcdd0d8577758f6e1a581ca4e22.zip |
Update qemu-sbruno/qemu-static-user to track upstream development.
Change the way qemu-user-static builds with relationship to glib20 (ian@)
Update a couple of patches for changes to include file locations.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/qemu-sbruno/Makefile | 13 | ||||
-rw-r--r-- | emulators/qemu-sbruno/distinfo | 6 | ||||
-rw-r--r-- | emulators/qemu-sbruno/files/cdrom-dma-patch | 2 | ||||
-rw-r--r-- | emulators/qemu-sbruno/files/patch-Makefile | 12 | ||||
-rw-r--r-- | emulators/qemu-sbruno/pkg-plist | 1 |
5 files changed, 20 insertions, 14 deletions
diff --git a/emulators/qemu-sbruno/Makefile b/emulators/qemu-sbruno/Makefile index a52b2439e62e..413210c44d27 100644 --- a/emulators/qemu-sbruno/Makefile +++ b/emulators/qemu-sbruno/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= qemu -PORTVERSION= 2.6.50.g20160628 +PORTVERSION= 2.6.50.g20160711 CATEGORIES= emulators MASTER_SITES= GH \ LOCAL/nox:dtc \ @@ -18,11 +18,10 @@ COMMENT?= QEMU CPU Emulator - github bsd-user branch USE_GITHUB= yes GH_ACCOUNT= seanbruno GH_PROJECT= ${PORTNAME}-bsd-user -GH_TAGNAME= 4c46f61 +GH_TAGNAME= c94de16 HAS_CONFIGURE= yes USES= gmake pkgconfig bison perl5 python:2,build USE_PERL5= build -USE_GNOME+= glib20 PATCH_STRIP= -p1 MAKE_ENV+= BSD_MAKE="${MAKE}" ONLY_FOR_ARCHS= amd64 powerpc powerpc64 # XXX someone wants to debug sparc64 hosts? @@ -56,6 +55,14 @@ CONFIGURE_ARGS+= --disable-tools .endif .endif +# When static linking we have a build dependency on libglib-2.0.a, otherwise +# we use glib20 in the usual way (shared-lib runtime dependency). +.if defined(QEMU_USER_STATIC) +BUILD_DEPENDS+= ${LOCALBASE}/lib/libglib-2.0.a:devel/glib20 +.else +USE_GNOME+= glib20 +.endif + .include <bsd.port.options.mk> CONFIGURE_ARGS+= --localstatedir=/var diff --git a/emulators/qemu-sbruno/distinfo b/emulators/qemu-sbruno/distinfo index c898af590cee..458b47718223 100644 --- a/emulators/qemu-sbruno/distinfo +++ b/emulators/qemu-sbruno/distinfo @@ -1,4 +1,4 @@ -SHA256 (qemu/2.6.50.g20160628/seanbruno-qemu-bsd-user-2.6.50.g20160628-4c46f61_GH0.tar.gz) = 698c0bd95b8cd24d68fe60b3c62295f942073ed1ffacbb5e699cb5bbffef95a1 -SIZE (qemu/2.6.50.g20160628/seanbruno-qemu-bsd-user-2.6.50.g20160628-4c46f61_GH0.tar.gz) = 12124250 -SHA256 (qemu/2.6.50.g20160628/dtc-v1.4.0.tar.gz) = 39d0713efd82a27adc065ecb9ef36401c53d5ee87ae1764e2bb243fcd97488e3 +SHA256 (qemu/2.6.50.g20160711/seanbruno-qemu-bsd-user-2.6.50.g20160711-c94de16_GH0.tar.gz) = 6108989a13a0958eee5bc61eace8408ce6b86cccc4d29c9f272447dec13d6790 +SIZE (qemu/2.6.50.g20160711/seanbruno-qemu-bsd-user-2.6.50.g20160711-c94de16_GH0.tar.gz) = 12867346 +SHA256 (qemu/2.6.50.g20160711/dtc-v1.4.0.tar.gz) = 39d0713efd82a27adc065ecb9ef36401c53d5ee87ae1764e2bb243fcd97488e3 SIZE (qemu/2.6.50.g201605/dtc-v1.4.0.tar.gz) = 131893 diff --git a/emulators/qemu-sbruno/files/cdrom-dma-patch b/emulators/qemu-sbruno/files/cdrom-dma-patch index 4eea657e3bae..eedf4d30320c 100644 --- a/emulators/qemu-sbruno/files/cdrom-dma-patch +++ b/emulators/qemu-sbruno/files/cdrom-dma-patch @@ -1,4 +1,4 @@ -Index: hw/ide/internal.h +Index: include/hw/ide/internal.h @@ -27,7 +27,7 @@ //#define DEBUG_IDE //#define DEBUG_IDE_ATAPI diff --git a/emulators/qemu-sbruno/files/patch-Makefile b/emulators/qemu-sbruno/files/patch-Makefile index 0139d8831f0e..9c72b30cfaf9 100644 --- a/emulators/qemu-sbruno/files/patch-Makefile +++ b/emulators/qemu-sbruno/files/patch-Makefile @@ -1,6 +1,6 @@ ---- Makefile.orig 2015-10-11 14:24:23.000000000 -0700 -+++ Makefile 2015-10-11 14:52:24.499336000 -0700 -@@ -88,8 +88,12 @@ +--- Makefile.orig 2016-07-11 15:33:10 UTC ++++ Makefile +@@ -91,8 +91,12 @@ LIBS+=-lz $(LIBS_TOOLS) HELPERS-$(CONFIG_LINUX) = qemu-bridge-helper$(EXESUF) ifdef BUILD_DOCS @@ -10,10 +10,10 @@ DOCS=qemu-doc.html qemu-tech.html qemu.1 qemu-img.1 qemu-nbd.8 qemu-ga.8 DOCS+=qmp-commands.txt +endif - ifdef CONFIG_LINUX - DOCS+=kvm_stat.1 + ifdef CONFIG_VIRTFS + DOCS+=fsdev/virtfs-proxy-helper.1 endif -@@ -390,8 +394,10 @@ +@@ -430,8 +434,10 @@ endif install-doc: $(DOCS) $(INSTALL_DIR) "$(DESTDIR)$(qemu_docdir)" diff --git a/emulators/qemu-sbruno/pkg-plist b/emulators/qemu-sbruno/pkg-plist index 48c044fc1057..ef328ceba1d3 100644 --- a/emulators/qemu-sbruno/pkg-plist +++ b/emulators/qemu-sbruno/pkg-plist @@ -91,7 +91,6 @@ %%SOFTMMU%%%%DATADIR%%/kvmvapic.bin %%SOFTMMU%%%%DATADIR%%/qemu-icon.bmp %%SOFTMMU%%%%DATADIR%%/qemu_logo_no_text.svg -%%SOFTMMU%%%%DATADIR%%/trace-events %%SOFTMMU%%%%DATADIR%%/keymaps/ar %%SOFTMMU%%%%DATADIR%%/keymaps/bepo %%SOFTMMU%%%%DATADIR%%/keymaps/common |