# myspice **Repository Path**: youshanli/myspice ## Basic Information - **Project Name**: myspice - **Description**: 用于学习spice协议。 - **Primary Language**: C - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-01-07 - **Last Updated**: 2022-01-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # myspice #### 介绍 这是基于开源spice协议的自我学习版本. [spice官网](https://www.spice-space.org/download.html) #### 软件架构 基于fedora25开发! - 编译准备 ``` sudo dnf groupinstall "Development Tools" -y sudo dnf install python-devel -y sudo dnf install gcc-c++-6.4.1-1.fc25.x86_64 libstdc++-devel-6.4.1-1.fc25.x86_64 -y ``` - 编译spice-protocol-0.12.15 ``` ./configure --prefix=/usr make & make install ``` - spice-0.12.5 ``` dnf install cyrus-sasl-devel.x86_64 -y dnf install gstreamer1-devel.x86_64 -y dnf install gstreamer1-plugins* -y dnf install orc-devel.x86_64 -y dnf install lz4-devel.x86_64 -y dnf install pixman-devel.x86_64 -y dnf install celt051-devel.x86_64 -y dnf install openssl-devel.x86_64 -y dnf install libjpeg-turbo-devel.x86_64 -y dnf install pulseaudio-libs-devel.x86_64 -y pip install --upgrade pip (如果需要) pip install six 或 sudo dnf install python-six.noarch -y pip install pyparsing 或 sudo dnf install python2-pyparsing.noarch -y ./configure --prefix=/usr make & make install ``` - qemu-2.11.1 ``` sudo dnf install libusb-devel.x86_64 -y ./configure --prefix=/usr --target-list=x86_64-softmmu,i386-softmmu --enable-usb-redir --enable-kvm --enable-spice make sudo make install ``` - spice-gtk-0.33 ``` dnf install gtk3-devel.x86_64 -y dnf install intltool.noarch -y dnf install vala.x86_64 -y dnf install redhat-rpm-config -y ./configure --prefix=/usr --enable-lz4=yes --with-gtk=3.0 --with-audio=gstreamer --enable-usbredir=yes -enable-gstaudio=yes --enable-gstvideo=yes --enable-vala make make install ``` 仅供学习!