[arch-commits] Commit in qemu/repos (4 files)

Tobias Powalowski tpowa at archlinux.org
Fri Mar 6 09:32:28 UTC 2009


    Date: Friday, March 6, 2009 @ 04:32:28
  Author: tpowa
Revision: 29183

Merged revisions 29182 via svnmerge from 
svn+ssh://svn.archlinux.org/srv/svn-packages/qemu/trunk

........
  r29182 | tpowa | 2009-03-06 10:31:54 +0100 (Fr, 06 M?\195?\164r 2009) | 1 line
  
  upgpkg: qemu 0.10.0-1
........

Added:
  qemu/repos/extra-x86_64/helper.patch
    (from rev 29182, qemu/trunk/helper.patch)
Modified:
  qemu/repos/extra-x86_64/	(properties)
  qemu/repos/extra-x86_64/PKGBUILD
Deleted:
  qemu/repos/extra-x86_64/dirent.patch

--------------+
 PKGBUILD     |   30 +++++++++++-------------------
 dirent.patch |   11 -----------
 helper.patch |   17 +++++++++++++++++
 3 files changed, 28 insertions(+), 30 deletions(-)


Property changes on: qemu/repos/extra-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /qemu/trunk:1-27374
   + /qemu/trunk:1-29182

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2009-03-06 09:31:54 UTC (rev 29182)
+++ extra-x86_64/PKGBUILD	2009-03-06 09:32:28 UTC (rev 29183)
@@ -1,36 +1,28 @@
 # $Id$
 # Maintainer: Tobias Powalowski <tpowa at archlinux.org>
 pkgname=qemu
-pkgver=0.9.1
-pkgrel=16
+pkgver=0.10.0
+pkgrel=1
 _kvmver=84
 pkgdesc="QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation."
 arch=(i686 x86_64)
 license=('GPL')
 url="http://bellard.org/qemu/"
-depends=('sdl' 'alsa-lib' 'zlib' 'e2fsprogs' 'gnutls>=2.4.1' 'bluez')
-makedepends=('gcc34')
+depends=('sdl' 'alsa-lib' 'esound' 'zlib' 'e2fsprogs' 'gnutls>=2.4.1' 'bluez')
 install=qemu.install
-source=(http://bellard.org/${pkgname}/${pkgname}-${pkgver}.tar.gz
+source=(http://savannah.nongnu.org/download/${pkgname}/${pkgname}-${pkgver}.tar.gz
         70-kqemu.rules
         http://downloads.sourceforge.net/kvm/kvm-$_kvmver.tar.gz
-        dirent.patch
+        helper.patch
         kvm-bios.diff)
 
 build()
 {
   cd ${srcdir}/${pkgname}-${pkgver}
   unset CFLAGS
-  if [ "${CARCH}" = "x86_64" ]; then
-	sed -i -e 's/lib64/lib/g' x86_64.ld || return 1
-        # any "xxx-user" target seems to not build on x86_64
-         ./configure --prefix=/usr --enable-alsa \
-                     --target-list="i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu arm-softmmu mips-softmmu"
-  else 
-         ./configure --prefix=/usr --enable-alsa
-  fi
-  # fix compiling
-  patch -Np0 -i ../dirent.patch || return 1
+  sed -i -e 's/lib64/lib/g' x86_64.ld || return 1
+  ./configure --prefix=/usr --audio-drv-list=oss,alsa,sdl,esd
+  patch -Np1 -i ../helper.patch || return 1
   make || return 1
   make DESTDIR=${startdir}/pkg install || return 1
   install -D -m644 ${srcdir}/70-kqemu.rules \
@@ -40,7 +32,7 @@
     cd ${srcdir}/kvm-$_kvmver
     # fix bios versions
     patch -Np1 -i ../kvm-bios.diff || return 1
-    ./configure --prefix=/usr
+    ./configure --prefix=/usr --audio-drv-list=oss,alsa,sdl,esd
   # fix sdl compilation, JON: and extboot
     sed -i -e 's#-rpath,/usr/lib#-rpath,/usr/lib,-rpath,/lib#g' qemu/config-host.mak
     for dir in libkvm user qemu extboot; do
@@ -62,8 +54,8 @@
    install -D -m644 ${srcdir}/kvm-$_kvmver/extboot/extboot.bin \
 	${pkgdir}/usr/share/qemu/extboot-kvm.bin
 }
-md5sums=('6591df8e9270eb358c881de4ebea1262'
+md5sums=('8dc50b834fa3f5f6a17d7bc3d0559e53'
          'ec06591830b8fcf53913f05f3d66f7e5'
          '39b7206ef400845800f081a5b901f757'
-         '4ea5d2609edcca10f927d7ddd233e8d2'
+         'd9e6ec663a43d9a6ef9e3316c4ba85ae'
          '1cdfcbd3cc569eec96a36d7557291fd2')

Deleted: extra-x86_64/dirent.patch
===================================================================
--- extra-x86_64/dirent.patch	2009-03-06 09:31:54 UTC (rev 29182)
+++ extra-x86_64/dirent.patch	2009-03-06 09:32:28 UTC (rev 29183)
@@ -1,11 +0,0 @@
---- linux-user/syscall.c~	2008-12-01 17:29:10.000000000 +0000
-+++ linux-user/syscall.c	2008-12-01 17:29:10.000000000 +0000
-@@ -66,7 +66,7 @@
- #include <linux/cdrom.h>
- #include <linux/hdreg.h>
- #include <linux/soundcard.h>
--#include <linux/dirent.h>
-+#include <dirent.h>
- #include <linux/kd.h>
- 
- #include "qemu.h"

Copied: qemu/repos/extra-x86_64/helper.patch (from rev 29182, qemu/trunk/helper.patch)
===================================================================
--- extra-x86_64/helper.patch	                        (rev 0)
+++ extra-x86_64/helper.patch	2009-03-06 09:32:28 UTC (rev 29183)
@@ -0,0 +1,17 @@
+--- trunk/target-i386/helper.c	2009/03/05 19:01:21	6688
++++ trunk/target-i386/helper.c	2009/03/05 19:01:28	6689
+@@ -1421,10 +1421,10 @@
+ #else
+     asm volatile("pusha \n\t"
+                  "cpuid \n\t"
+-                 "mov %%eax, 0(%1) \n\t"
+-                 "mov %%ebx, 4(%1) \n\t"
+-                 "mov %%ecx, 8(%1) \n\t"
+-                 "mov %%edx, 12(%1) \n\t"
++                 "mov %%eax, 0(%2) \n\t"
++                 "mov %%ebx, 4(%2) \n\t"
++                 "mov %%ecx, 8(%2) \n\t"
++                 "mov %%edx, 12(%2) \n\t"
+                  "popa"
+                  : : "a"(function), "c"(count), "S"(vec)
+                  : "memory", "cc");




More information about the arch-commits mailing list