package init
This commit is contained in:
parent
ad40633bcc
commit
d4342373c4
32
0001-saa-Build-compatibility-with-xserver-1.20.patch
Normal file
32
0001-saa-Build-compatibility-with-xserver-1.20.patch
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
From 7e5237dd08f2a469d0bc699cbcde763cc93c7407 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Adam Jackson <ajax@redhat.com>
|
||||||
|
Date: Tue, 7 Nov 2017 15:42:59 -0500
|
||||||
|
Subject: [PATCH xf86-video-vmware] saa: Build compatibility with xserver 1.20
|
||||||
|
|
||||||
|
fbGetRotatedPixmap went away with 24bpp support, just treat it as NULL
|
||||||
|
and we'll do the right thing.
|
||||||
|
|
||||||
|
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
||||||
|
---
|
||||||
|
saa/saa.c | 5 +++++
|
||||||
|
1 file changed, 5 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/saa/saa.c b/saa/saa.c
|
||||||
|
index be9520e..d956853 100644
|
||||||
|
--- a/saa/saa.c
|
||||||
|
+++ b/saa/saa.c
|
||||||
|
@@ -370,6 +370,11 @@ saa_op_reads_destination(CARD8 op)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
+/* compatibility with xserver >= 1.20 */
|
||||||
|
+#ifndef fbGetRotatedPixmap
|
||||||
|
+#define fbGetRotatedPixmap(pGC) NULL
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
static void
|
||||||
|
saa_validate_gc(GCPtr pGC, unsigned long changes, DrawablePtr pDrawable)
|
||||||
|
{
|
||||||
|
--
|
||||||
|
2.16.2
|
||||||
|
|
||||||
36
README.en.md
36
README.en.md
@ -1,36 +0,0 @@
|
|||||||
# xorg-x11-drv-vmware
|
|
||||||
|
|
||||||
#### Description
|
|
||||||
Xorg X11 vmware video driver
|
|
||||||
|
|
||||||
#### Software Architecture
|
|
||||||
Software architecture description
|
|
||||||
|
|
||||||
#### Installation
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### Instructions
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### Contribution
|
|
||||||
|
|
||||||
1. Fork the repository
|
|
||||||
2. Create Feat_xxx branch
|
|
||||||
3. Commit your code
|
|
||||||
4. Create Pull Request
|
|
||||||
|
|
||||||
|
|
||||||
#### Gitee Feature
|
|
||||||
|
|
||||||
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
|
|
||||||
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
|
|
||||||
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
|
|
||||||
4. The most valuable open source project [GVP](https://gitee.com/gvp)
|
|
||||||
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
|
|
||||||
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
|
||||||
37
README.md
37
README.md
@ -1,37 +0,0 @@
|
|||||||
# xorg-x11-drv-vmware
|
|
||||||
|
|
||||||
#### 介绍
|
|
||||||
Xorg X11 vmware video driver
|
|
||||||
|
|
||||||
#### 软件架构
|
|
||||||
软件架构说明
|
|
||||||
|
|
||||||
|
|
||||||
#### 安装教程
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### 使用说明
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### 参与贡献
|
|
||||||
|
|
||||||
1. Fork 本仓库
|
|
||||||
2. 新建 Feat_xxx 分支
|
|
||||||
3. 提交代码
|
|
||||||
4. 新建 Pull Request
|
|
||||||
|
|
||||||
|
|
||||||
#### 码云特技
|
|
||||||
|
|
||||||
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
|
|
||||||
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
|
|
||||||
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
|
|
||||||
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
|
|
||||||
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
|
|
||||||
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
|
||||||
BIN
xf86-video-vmware-13.2.1.tar.bz2
Normal file
BIN
xf86-video-vmware-13.2.1.tar.bz2
Normal file
Binary file not shown.
55
xorg-x11-drv-vmware.spec
Normal file
55
xorg-x11-drv-vmware.spec
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
%global moduledir %(pkg-config xorg-server --variable=moduledir )
|
||||||
|
%global driverdir %{moduledir}/drivers
|
||||||
|
|
||||||
|
%undefine _hardened_build
|
||||||
|
|
||||||
|
Name: xorg-x11-drv-vmware
|
||||||
|
Version: 13.2.1
|
||||||
|
Release: 1
|
||||||
|
Summary: Xorg X11 vmware video driver
|
||||||
|
License: MIT
|
||||||
|
URL: http://www.x.org
|
||||||
|
Source0: ftp://ftp.x.org/pub/individual/driver/xf86-video-vmware-%{version}.tar.bz2
|
||||||
|
|
||||||
|
Patch0: 0001-saa-Build-compatibility-with-xserver-1.20.patch
|
||||||
|
|
||||||
|
ExclusiveArch: %{ix86} x86_64 ia64
|
||||||
|
|
||||||
|
BuildRequires: autoconf automake libtool xorg-x11-server-devel >= 1.10.99.902
|
||||||
|
BuildRequires: libdrm-devel libXext-devel libX11-devel systemd-devel
|
||||||
|
BuildRequires: mesa-libxatracker-devel >= 8.0.1-4
|
||||||
|
|
||||||
|
Requires: libxatracker >= 8.0.1-4 Xorg %(xserver-sdk-abi-requires ansic)
|
||||||
|
Requires: Xorg %(xserver-sdk-abi-requires videodrv)
|
||||||
|
|
||||||
|
%description
|
||||||
|
X.Org X11 vmware video driver.
|
||||||
|
|
||||||
|
%package_help
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n xf86-video-vmware-%{version} -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
autoreconf -v --install || exit 1
|
||||||
|
%configure
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
%delete_la_and_a
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%license COPYING
|
||||||
|
%{driverdir}/vmware_drv.so
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc README ChangeLog
|
||||||
|
%{_mandir}/man4/vmware.4*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Mar 10 2020 hexiujun <hexiujun1@huawei.com> - 13.2.1-1
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user