精华内容
下载资源
问答
  • xorg-pkg xorg软件包
  • 以下是对Linux系统中的xorg.conf文件进行了详细的分析介绍,需要的朋友可以过来参考下
  • 该资源是我在Linux系统上安装NVIDIA显卡驱动的时候,遇到问题,各种寻找解决方案无果,最后尝试的一种方案,在该文件里指定了nvidia显卡信息,希望能帮助到正在苦闷的老兄。使用方法可以看我的博客。
  • 安装oracle等需要用到的包,xorg-x11-deprecated-libs-6.8.2-31.i386.rpm
  • xorg-x11-xauth

    2019-01-07 10:41:48
    centos 的x11转发工具,用于转发xshell连接请求,避免出现连接缓慢,连接警告 The remote SSH server rejected X11 forwarding request
  • 使用Ubuntu补丁Mutter构建,以在Manjaro / Arch Linux上实现Xorg分数缩放。 所有的积分都属于和 在可以从存储库中安装mutter-x11-scaling和gnome-control-center-x11-scaling软件包。 要在安装运行后启用分数缩放...
  • 该存储库包含使用 chroot-linux 引入Xorg和其他 GNU/Linux 组件的分步教程。 先决条件 在内核中支持循环设备的根植 Android 基本了解 GNU/Linux 命令行工具、Xorg 配置 执行 将androlinux_xorg.sh脚本复制到/data ...
  • 此脚本在颜色和灰度之间切换您的 Xorg 监视器。 它可以绑定到键盘快捷键以轻松即时切换。 为什么 ? 灰度可以减轻某些人的眼睛疲劳。 特别是结合暖色调的显示器颜色预设(过滤掉大部分蓝光)和桌面环境和应用程序的...
  • xorg-server-1.12.0源码

    2016-07-13 08:34:12
    xorg-server-1.12.0源码
  • xorg安装log。。。

    2021-01-27 11:20:42
    Ubuntu中安装xorg日志
  • 资源支持图形界面调用及其使用,尽量使用yum安装~~~~~
  • xorg-fonts-源码

    2021-02-15 19:14:37
    xorg-fonts
  • xorg-x11-server-utils-7.5-13.el6.x86_64.rpm
  • Linux安装x11时的rpm包。
  • xorg

    千次阅读 2020-07-24 15:19:00
    2.1 基础包:xorg-server,xorg-xinit 2.2 显卡驱动:xf86-video-intel 2.3 输入设备:xf86-input-libinput 2.4 小结 3. group 4. gentoo相关链接 5. Graphical user interface 图形用户界面概述 1. ...
    1. xorg概述
    2. 只安装必要
     2.1 基础包:xorg-server,xorg-xinit
     2.2 显卡驱动:xf86-video-intel
     2.3 输入设备:xf86-input-libinput
     2.4 小结
    3. group
    4. gentoo相关链接
    5. Graphical user interface 图形用户界面概述

    1. xorg概述

    https://www.x.org/wiki/
    https://zh.wikipedia.org/wiki/X.Org_Server

    https://en.wikipedia.org/wiki/X.Org_Server
    X.Org Server(全称X.Org Foundation Open Source Public Implementation of X11)是X Window System的官方参考实现,它是开放源代码的自由软件。这一项目由X.Org基金会运作,存放于freedesktop.org的主机上。初始版本和最终版本:
    版本  日期         X11 Release
    1    2005-12-21  X11R7.0 (1.0.1)
    1.12 2012-03-04  X11R7.7 (1.12.2)
    1.20 2018-05-10 

    2. 只需安装必要包

    https://wiki.archlinux.org/index.php/Xorg
    xorg是一个古老的存在, 大部分现代DE都对其相关软件兼容, 有些还依赖xorg的部分功能.
    要使用很多现代DE, 也需要安装一些必要的xorg包.

    2.1 基础包:xorg-server,xorg-xinit

    x服务器: xorg-server
    x初始化: xorg-xinit

    2.2 显卡驱动:xf86-video-intel

    https://wiki.archlinux.org/index.php/Xorg#Driver_installation
    $ lspci | grep 'VGA\|3D'
    $ lspci | grep -E 'VGA|3D'
    $ lspci | grep -e VGA -e 3D
    00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 0c)
    $ pacman -Ss xf86-video
    找到适合自己显卡的驱动.

    2.3 输入设备:xf86-input-libinput

    https://wiki.archlinux.org/index.php/Xorg#Input_devices
    X服务器默认使用libinput驱动(xf86-input-libinput), 但也可以使用xf86-input-evdev和相关驱动程序。
    udev ,evdev 可以用作绝大部分设备的即插即用驱动。Udev 由 systemd 通过 xorg-server提供,所以不需要显式安装。
    udev作为systemd依赖提供,会自动检测硬件,使用 evdev 或 libinput 处理设备的输入。
    默认配置文件/usr/share/X11/xorg.conf.d/目录中的10-quirks.conf, 40-libinput.conf
    • 10-quirks.conf, Collection of (quirks怪癖, blacklist黑名单, whitelists白名单) for specific devices.
    • 40-libinput.conf, pointer 指针; keyboard 键盘; touchpad 触摸板; touchscreen 触摸屏; tablet 平板电脑.
    启动X服务器后,日志文件将显示为各个设备热插拔的驱动程序:
    $ cd /var/log/
    $ grep -e "Using input driver " Xorg.0.log
    [    13.672] (II) Using input driver 'libinput' for 'Power Button'
    [    13.721] (II) Using input driver 'libinput' for 'Video Bus'
    [    13.748] (II) Using input driver 'libinput' for 'Sleep Button'
    [    13.771] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
    [    13.803] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
    [    13.852] (II) Using input driver 'libinput' for 'HP WMI hotkeys'

    https://wiki.archlinux.org/index.php/Touchpad_Synaptics
    警告: xf86-input-synaptics不再主动更新。如果可能,请使用libinput。

    2.4 小结

    不建议安装xorg包,绝大部分用不到的;只需要单独安装xf86-video-intel, xorg-xinit, xorg-server即可。xf86-input-libinput算是server的依赖包.
    $ sudo pacman -S xf86-video-intel, xorg-xinit xorg-server
    $ startx 启动测试
    注: 驱动请参照上文找到适合自己显卡的程序.

    3. group

    https://www.archlinux.org/groups/
    xorg相关的包组有4个, 分别为: xorg (49); xorg-drivers (16); xorg-apps (36); xorg-fonts (2).
    • 总数: 103个, (但36个apps和2个fonts软件在xorg包组里都有)
    • 重复:  39个, (包含xorg-apps全部36个包, xorg-fonts全部2个包, 1个drivers:xf86-video-vesa)
    • 剩余:  64个, (xorg49 + driver16 - xf86-video-vesa)
    以下不重复包列表总数65个, 其中xorg-xinit不属于任何组.
    表1, 本机安装的15个包, [Q?]列Qe表示主动安装的只有3个, 其他都是作为依赖被安装的.
    groupNameDescription描述 / $ pactree -rgroup2Q?
    xorg-driversxf86-video-intelX.org Intel i810/i830/i915/945G/G965+ video driversX.org Intel i810/i830/i915/945G/G965+ 视频驱动程序 Qe
    xf86-input-libinputGeneric input driver for the X.Org server based on libinput基于libinput的X.Org服务器的通用输入驱动程序 d
     xorg-xinitX.Org initialisation program└─xfce4-session Qe
    xorgxorg-serverXorg X serverXorg X服务器 libxfont2, libfontenc Qe
    xorg-server-commonXorg server common filesXorg服务器通用文件 d
    xorg-fonts-encodingsX.org font encoding filesX.org字体编码文件fontsd
    xorg-setxkbmapSet the keyboard using the X Keyboard Extension使用X Keyboard Extension设置键盘xorg-appsd
    xorg-xkbcompX Keyboard description compilerX键盘描述编译器d
    xorg-xrandrRandR扩展的原始命令行界面└─intel-gpu-toolsd
    xorg-iceauthICE授权文件实用程序└─xfce4-sessiond
    xorg-xmodmap修改按键映射和按钮映射的实用程序└─xorg-xinit
      └─xfce4-session
    d
    xorg-xauthX.Org授权设置程序└─xorg-xinit
      └─xfce4-session
    d
    xorg-xrdbX服务器资源数据库实用程序├─xfce4-session
    └─xorg-xinit
      └─xfce4-session
    d
    xorg-xsetUser preference utility for XX的用户首选项实用程序d
    xorg-xpropProperty displayer for XX的属性显示器d
    表2: group: xorg-drivers剩余包
    group: xorg-driversDescription描述
    xf86-input-evdevX.org evdev input driverX.org evdev输入驱动程序
    xf86-input-synapticsSynaptics driver for notebook touchpads(不再更新,请用libinput)笔记本触摸板的Synaptics驱动
    xf86-input-vmmouseX.org VMWare Mouse input driverX.org VMWare鼠标输入驱动程序
    xf86-input-voidX.org void input driverX.org无效输入驱动程序
    xf86-video-amdgpuX.org amdgpu video driverX.org amdgpu视频驱动程序
    xf86-video-atiX.org ati video driverX.org ati视频驱动程序
    xf86-video-dummyX.org dummy video driverX.org虚拟视频驱动程序
    xf86-video-fbdevX.org framebuffer video driverX.org帧缓冲视频驱动程序
    xf86-video-nouveauOpen Source 3D acceleration driver for nVidia cards适用于nVidia卡的开源3D加速驱动程序
    xf86-video-openchromeX.Org Openchrome driversX.Org Openchrome驱动程序
    xf86-video-qxlXorg X11 qxl video driverXorg X11 qxl视频驱动程序
    xf86-video-vmwareX.org vmware video driverX.org vmware视频驱动程序
    xf86-video-voodooX.org 3dfx Voodoo1/Voodoo2 2D video driverX.org 3dfx Voodoo1/Voodoo2 2D视频驱动程序
    表3: group: xorg剩余包
    group1: xorgDescription描述group2
    xorg-font-utilX.Org font utilitiesX.Org字体实用程序-fonts
    xf86-video-vesaX.org vesa video driverX.org vesa视频驱动程序-drivers
    xorg-bdftopcfConvert X font from Bitmap Distribution Format to Portable Compiled Format将X字体从位图分发格式转换为可移植编译格式xorg-apps
    xorg-luitFilter that can be run between an arbitrary application and a UTF-8 terminal emulator可以在任意应用程序和UTF-8终端仿真器之间运行的筛选器
    xorg-mkfontscaleCreate an index of scalable font files for X为X创建可缩放字体文件的索引
    xorg-sessregRegister X sessions in system utmp/utmpx databases在系统utmp / utmpx数据库中注册X会话
    xorg-smproxyAllows X applications that do not support X11R6 session management to participate in an X11R6 session允许不支持X11R6会话管理的X应用程序参与X11R6会话
    xorg-x11perfSimple X server performance benchmarker简单的X服务器性能基准测试程序
    xorg-xbacklightRandR-based backlight control application基于RandR的背光控制应用
    xorg-xcmsdbDevice Color Characterization utility for X Color Management SystemX颜色管理系统的设备颜色表征实用程序
    xorg-xcursorgenCreate an X cursor file from PNG images从PNG图像创建X光标文件
    xorg-xdpyinfoDisplay information utility for XX的显示信息实用程序
    xorg-xdriinfoQuery configuration information of DRI drivers查询DRI驱动程序的配置信息
    xorg-xevPrint contents of X events打印X事件的内容
    xorg-xgammaAlter a monitor's gamma correction更改显示器的伽玛校正
    xorg-xhostServer access control program for XX的服务器访问控制程序
    xorg-xinputSmall commandline tool to configure devices小型命令行工具, 用于配置设备
    xorg-xkbevdXKB event daemonXKB事件守护程序
    xorg-xkbutilsXKB utility demosXKB实用程序演示
    xorg-xkillKill a client by its X resource通过其X资源杀死客户端
    xorg-xlsatomsList interned atoms defined on server列出在服务器上定义的原子
    xorg-xlsclientsList client applications running on a display列出在显示器上运行的客户端应用程序
    xorg-xprPrint an X window dump from xwd从xwd打印X窗口转储
    xorg-xrefreshRefresh all or part of an X screen刷新全部或部分X屏幕
    xorg-xsetrootClassic X utility to set your root window background to a given pattern or colorClassic X实用程序, 用于将根窗口背景设置为给定的图案或颜色
    xorg-xvinfoPrints out the capabilities of any video adaptors associated with the display that are accessible through the X-Video extension打印出可通过X-Video扩展名访问的与显示器相关的任何视频适配器的功能
    xorg-xwdX Window System image dumping utilityX Window系统映像转储实用程序
    xorg-xwininfoCommand-line utility to print information about windows on an X server命令行实用程序, 用于在X服务器上打印有关Windows的信息
    xorg-xwudX Window System image undumping utilityX Window系统映像转储实用程序
    xorg-docsX.org documentationsX.org文档 
    xorg-fonts-100dpiX.org 100dpi fontsX.org 100dpi字体 
    xorg-fonts-75dpiX.org 75dpi fontsX.org 75dpi字体 
    xorg-server-develDevelopment files for the X.Org X serverX.Org X服务器的开发文件 
    xorg-server-xephyrA nested X server that runs as an X application作为X应用程序运行的嵌套X服务器 
    xorg-server-xnestA nested X server that runs as an X application作为X应用程序运行的嵌套X服务器 
    xorg-server-xvfbVirtual framebuffer X server虚拟帧缓冲X服务器 
    xorg-server-xwaylandrun X clients under wayland在Wayland下运行X客户 

    4. gentoo相关链接

    https://wiki.gentoo.org/wiki/Xorg
    https://wiki.gentoo.org/wiki/Xorg/Guide
    https://wiki.gentoo.org/wiki/Xorg/Guide/zh-cn
    使用 startx, 试试startx来运行 X server。 startx即执行一个'X会话'脚本;这个脚本x11-apps/xinit生成. 也就是说,它启动了X服务器并在它上面的一些图形应用程序。它使用下面的方式来判断该运行哪些应用程序:
     如果一个叫做.xinitrc的文件存在于主目录(home)中,它会执行里面列出的命令。
     否则,它会从/etc/env.d/90xsession读取 XSESSION 这个变量的值,并且将执行一个与之相对应的会话。XSESSION的值可以在/etc/X11/Sessions/文件中进行配置。例如,设置系统默认会话,以root身份运行: root #echo XSESSION="Xfce4" > /etc/env.d/90xsession
    这将创建文件:90xsession,然后设置默认X会话Xfce。 记得在90xsession修过后,执行命令env-update。user $startx

    https://wiki.gentoo.org/wiki/Wayland
    Wayland旨在替代X显示服务器。
    应用领域: GTK 3.x和Qt支持Wayland。不幸的是,大多数应用程序仍然需要X服务器。有几种方案可以使它们工作:
    通过重写具有X.org依赖关系的组件来移植应用程序,以便它们也可以用于Wayland。cf. Wayland-港口。其他示例是mpv,它是基于MPlayer / mplayer2的视频播放器,或者是极简的网络客户端xombrero,midori和Epiphany也完全支持Wayland。预计将GNOME和KDE移植到它。
    Xclient可以在Wayland上运行。之后,所需的应用程序可以照常在Xclient上运行。请参阅在wayland上运行的X服务器。
    Xwayland是在X服务器上运行Wayland的第三个选项。

    5. Graphical user interface 图形用户界面概述

    https://wiki.archlinux.org/index.php/General_recommendations#Graphical_user_interface
    https://wiki.archlinux.org/index.php/Category:Graphical_user_interfaces
    • Display server 显示服务器:
      • Xorg 是X窗口系统(通常为X11或X)的公共开源实现。运行带有图形用户界面(GUI)的应用程序时需要使用它,并且大多数用户都希望安装它。
      • Wayland 是一种更新的替代显示服务器协议,并且提供了Weston参考实现。
    • Display drivers 显示驱动器: 默认的vesa显示驱动程序适用于大多数视频卡,但是通过为AMD,Intel或NVIDIA产品安装适当的驱动程序,可以显着提高性能并利用其他功能。
    • Desktop environments 桌面环境: 尽管Xorg提供了用于构建图形环境的基本框架,但是为了获得完整的用户体验,可能还需要其他组件。GNOME,KDE,LXDE和Xfce等桌面环境将各种X客户端捆绑在一起,例如窗口管理器,面板,文件管理器,终端仿真器,文本编辑器,图标和其他实用程序。经验较少的用户可能希望为更熟悉的环境安装桌面环境。请参阅类别:桌面环境以获取更多资源。
    • Window managers 窗口管理器: 完整的桌面环境可提供完整且一致的图形用户界面,但往往会消耗大量系统资源。寻求最大化性能或以其他方式简化其环境的用户可以选择单独安装一个窗口管理器,并手动选择所需的其他功能。大多数桌面环境也允许使用替代的窗口管理器。动态,堆叠和平铺窗口管理器在处理窗口位置方面有所不同。
    • Display manager 显示管理器: 大多数桌面环境都包括一个显示管理器,用于自动启动图形环境和管理用户登录。没有桌面环境的用户可以单独安装一个。另外,您也可以运行startx启动桌面,以代替显示管理器。https://wiki.archlinux.org/index.php/Display_manager
      • DM: LightDM lxdm gdm   sddm
      • DE: 跨桌面.. lxde GNOME plasma,lxqt
    • User directories 用户目录: 诸如Downloads或Music之类的知名用户目录是由xdg-user-dirs-update.service用户服务创建的,该服务由xdg-user-dirs提供,并在安装时默认启用。如果您的桌面环境或窗口管理器未引入该软件包,则可以按照XDG用户目录#创建默认目录来安装它并手动运行xdg-user-dirs-update。

     

    展开全文
  • Xorg

    2020-11-13 16:55:59
    lightdm 调用 Xorg:/usr/bin/X -background none :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch

     

    lightdm 调用 Xorg:/usr/bin/X -background none :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch

    展开全文
  • xf86-input-mtrack:Xorg多点触控板驱动程序
  • 交叉编译xorg-server

    2021-05-24 17:31:11
    交叉编译xorg-server一.编译xorg-macros(xorg-macros-util-macros-1.19.1.tar.gz)二.编译libfontenc(libfontenc_1.1.4.orig.tar.gz)三.编译freetype2(freetype2-VER-2-9-1.tar.gz)四.编译libXfont(libXfont-libXfont...

    交叉编译xorg-server

    一.编译xorg-macros(xorg-macros-util-macros-1.19.1.tar.gz)

    脚本myconfigure.sh

    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/libX11target/lib/pkgconfig
    ./configure \
    	--prefix=/opt/libX11target \
    	--host=arm-linux
    

    先执行autogen.sh生成configure和Makefile,这个Makefile是GCC的,所以要make distcelan清除,然后再执行脚本myconfigure.sh,然后make,然后makeinstall

    二.编译libfontenc(libfontenc_1.1.4.orig.tar.gz)

    脚本myconfigure.sh

    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/libX11target/lib/pkgconfig
    export CFLAGS="-I/opt/libX11target/include"
    export LDFLAGS="-L/opt/libX11target/lib
    ./configure \
    	--prefix=/opt/libX11target \
    	--host=arm-linux 
    

    执行脚本myconfigure.sh,然后make,然后makeinstall

    三.编译freetype2(freetype2-VER-2-9-1.tar.gz)

    脚本myconfigure.sh

    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/libX11target/lib/pkgconfig
    ./configure \
    	--prefix=/opt/libX11target \
    	--host=arm-linux
    

    先执行autogen.sh生成configure和Makefile,这个Makefile是GCC的,所以要make distcelan清除,然后再执行脚本myconfigure.sh,然后make,然后makeinstall

    四.编译libXfont(libXfont-libXfont-1.5.2.tar.gz)

    脚本myconfigure.sh

    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/libX11target/lib/pkgconfig
    export CFLAGS="-I/opt/libX11target/include"
    export LDFLAGS="-L/opt/libX11target/lib"
    ./configure \
    	--prefix=/opt/libX11target \
    	--host=arm-linux
    

    先执行autogen.sh生成configure和Makefile,这个Makefile是GCC的,所以要make distcelan清除,然后再执行脚本myconfigure.sh,然后make,然后makeinstall

    五.编译xorg-libxshmfence(xorg-libxshmfence-libxshmfence-1.2.tar.gz)

    脚本myconfigure.sh

    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/libX11target/lib/pkgconfig
    ./configure \
    	--prefix=/opt/libX11target \
    	--host=arm-linux
    

    先执行autogen.sh生成configure和Makefile,这个Makefile是GCC的,所以要make distcelan清除,然后再执行脚本myconfigure.sh,然后make,然后makeinstall

    六.编译xorg-libxkbfile(xorg-libxkbfile-libxkbfile-1.0.9.tar.gz)

    解决XKM.h: No such file or directory
    解决XKMformat.h: No such file or directory
    脚本myconfigure.sh

    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/libX11target/lib/pkgconfig
    ./configure \
    	--prefix=/opt/libX11target \
    	--host=arm-linux
    

    先执行autogen.sh生成configure和Makefile,这个Makefile是GCC的,所以要make distcelan清除,然后再执行脚本myconfigure.sh,然后make,然后makeinstall

    七.编译xorg-libpciaccess(xorg-libpciaccess-libpciaccess-0.14)

    脚本myconfigure.sh

    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/libX11target/lib/pkgconfig
    ./configure \
    	--prefix=/opt/libX11target \
    	--host=arm-linux
    

    先执行autogen.sh生成configure和Makefile,这个Makefile是GCC的,所以要make distcelan清除,然后再执行脚本myconfigure.sh,然后make,然后makeinstall

    八.编译mesa-drm-libdrm(mesa-drm-libdrm-2.4.89.tar.gz)

    脚本myconfigure.sh

    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/libX11target/lib/pkgconfig
    ./configure \
    	--prefix=/opt/libX11target \
    	--host=arm-linux
    

    先执行autogen.sh生成configure和Makefile,这个Makefile是GCC的,所以要make distcelan清除,然后再执行脚本myconfigure.sh,然后make,然后makeinstall

    九.编译pixman(pixman-pixman-0.36.0.tar.gz )

    脚本myconfigure.sh

    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/libX11target/lib/pkgconfig
    export CFLAGS="-I/opt/libX11target/include"
    export LDFLAGS="-L/opt/libX11target/lib"
    ./configure \
    	--prefix=/opt/libX11target \
    	--host=arm-linux
    

    先执行autogen.sh生成configure和Makefile,这个Makefile是GCC的,所以要make distcelan清除,然后再执行脚本myconfigure.sh,然后make,然后makeinstall

    十.编译libXrender(libxrender_0.9.10.orig.tar.gz )

    脚本myconfigure.sh

    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/libX11target/lib/pkgconfig
    echo "xorg_cv_malloc0_returns_null=yes" > arm-linux.cache
    ./configure \
            --prefix=/opt/libX11target \
            --host=arm-linux \
            --cache-file=arm-linux.cache
    

    执行脚本myconfigure.sh,然后make,然后makeinstall

    十一.编译libICE(xorg-libICE-libICE-1.0.9.tar.gz )

    脚本myconfigure.sh

    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/libX11target/lib/pkgconfig
    ./configure \
    	--prefix=/opt/libX11target \
    	--host=arm-linux
    

    先执行autogen.sh生成configure和Makefile,这个Makefile是GCC的,所以要make distcelan清除,然后再执行脚本myconfigure.sh,然后make,然后makeinstall

    十二.编译e2fsprogs(e2fsprogs-1.46.2.tar.gz)

    脚本myconfigure.sh

    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/libX11target/lib/pkgconfig
    ./configure \
    	--prefix=/opt/libX11target \
    	--host=arm-linux
    

    执行脚本myconfigure.sh,然后make,然后makeinstall

    十三.编译libSM(xorg-libSM-libSM-1.2.2.tar.gz)

    脚本myconfigure.sh

    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/libX11target/lib/pkgconfig
    export CFLAGS="-I/opt/libX11target/include"
    export LDFLAGS="-L/opt/libX11target/lib"
    ./configure \
    	--prefix=/opt/libX11target \
    	--host=arm-linux
    

    先执行autogen.sh生成configure和Makefile,这个Makefile是GCC的,所以要make distcelan清除,然后再执行脚本myconfigure.sh,然后make,然后makeinstall

    十四.编译libXt(xorg-libXt-libXt-1.2.0.tar.gz)

    脚本myconfigure.sh

    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/libX11target/lib/pkgconfig
    echo "xorg_cv_malloc0_returns_null=yes" > arm-linux.cache
    ./configure \
            --prefix=/opt/libX11target \
            --host=arm-linux \
            --cache-file=arm-linux.cache
    

    先执行autogen.sh生成configure和Makefile,这个Makefile是GCC的,所以要make distcelan清除,然后再执行脚本myconfigure.sh,然后make,然后makeinstall

    十五.编译libXmu(xorg-libXmu-libXmu-1.1.2.tar.gz)

    脚本myconfigure.sh

    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/libX11target/lib/pkgconfig
    ./configure \
            --prefix=/opt/libX11target \
            --host=arm-linux
    

    先执行autogen.sh生成configure和Makefile,这个Makefile是GCC的,所以要make distcelan清除,然后再执行脚本myconfigure.sh,然后make,然后makeinstall

    十七.编译libXpm(xorg__lib__libXpm-libXpm-3.5.11.tar.gz)

    脚本myconfigure.sh

    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/libX11target/lib/pkgconfig
    ./configure \
            --prefix=/opt/libX11target \
            --host=arm-linux
    

    先执行autogen.sh生成configure和Makefile,这个Makefile是GCC的,所以要make distcelan清除,然后再执行脚本myconfigure.sh,然后make,然后makeinstall

    十八.编译libXaw(xorg-libXaw-libXaw-1.0.14.tar.gz)

    脚本myconfigure.sh

    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/libX11target/lib/pkgconfig
    ./configure \
            --prefix=/opt/libX11target \
            --host=arm-linux
    

    先执行autogen.sh生成configure和Makefile,这个Makefile是GCC的,所以要make distcelan清除,然后再执行脚本myconfigure.sh,然后make,然后makeinstall

    十九.编译libdmx(libdmx_1.1.4.orig.tar.gz)

    脚本myconfigure.sh

    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/libX11target/lib/pkgconfig
    echo "xorg_cv_malloc0_returns_null=yes" > arm-linux.cache
    ./configure \
            --prefix=/opt/libX11target \
            --host=arm-linux \
            --cache-file=arm-linux.cache
    

    先执行autogen.sh生成configure和Makefile,这个Makefile是GCC的,所以要make distcelan清除,然后再执行脚本myconfigure.sh,然后make,然后makeinstall

    二十.编译libxres(libxres_1.2.0.orig.tar.gz)

    脚本myconfigure.sh

    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/libX11target/lib/pkgconfig
    echo "xorg_cv_malloc0_returns_null=yes" > arm-linux.cache
    ./configure \
            --prefix=/opt/libX11target \
            --host=arm-linux \
            --cache-file=arm-linux.cache
    

    先执行autogen.sh生成configure和Makefile,这个Makefile是GCC的,所以要make distcelan清除,然后再执行脚本myconfigure.sh,然后make,然后makeinstall

    二十一.编译xinit(xinit_1.4.1.orig.tar.gz )

    脚本myconfigure.sh

    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/libX11target/lib/pkgconfig
    export CFLAGS="-I/opt/libX11target/include"
    export LDFLAGS="-L/opt/libX11target/lib"
    ./configure \
    	--prefix=/opt/libX11target \
    	--host=arm-linux
    

    执行脚本myconfigure.sh,然后make,然后makeinstall
    出现错误

    /opt/gcc-linaro-5.3.1-2016.05-x86_64_aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/5.3.1/../../../../aarch64-linux-gnu/bin/ld: warning: libxcb.so.1, needed by /opt/libX11target/lib/libX11.so, not found (try using -rpath or -rpath-link)
    /opt/libX11target/lib/libX11.so: undefined reference to `xcb_get_file_descriptor'
    /opt/libX11target/lib/libX11.so: undefined reference to `xcb_connect'
    /opt/libX11target/lib/libX11.so: undefined reference to `xcb_generate_id'
    /opt/libX11target/lib/libX11.so: undefined reference to `xcb_connect_to_display_with_auth_info'
    /opt/libX11target/lib/libX11.so: undefined reference to `xcb_writev'
    /opt/libX11target/lib/libX11.so: undefined reference to `xcb_poll_for_reply64'
    /opt/libX11target/lib/libX11.so: undefined reference to `xcb_poll_for_queued_event'
    /opt/libX11target/lib/libX11.so: undefined reference to `xcb_wait_for_reply64'
    /opt/libX11target/lib/libX11.so: undefined reference to `xcb_poll_for_event'
    /opt/libX11target/lib/libX11.so: undefined reference to `xcb_get_maximum_request_length'
    /opt/libX11target/lib/libX11.so: undefined reference to `xcb_take_socket'
    /opt/libX11target/lib/libX11.so: undefined reference to `xcb_wait_for_event'
    /opt/libX11target/lib/libX11.so: undefined reference to `xcb_disconnect'
    /opt/libX11target/lib/libX11.so: undefined reference to `xcb_connection_has_error'
    /opt/libX11target/lib/libX11.so: undefined reference to `xcb_get_setup'
    /opt/libX11target/lib/libX11.so: undefined reference to `xcb_parse_display'
    

    打开Makefile库路劲是有指定的,库也存在
    在这里插入图片描述
    把Makefile改成
    在这里插入图片描述

    二十二.编译xorg-bh-100dpi(font-bh-100dpi-1.0.3.tar.gz)

    脚本myconfigure.sh

    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/libX11target/lib/pkgconfig
    ./configure \
            --host=arm-linux 
    

    先执行autogen.sh生成configure和Makefile,这个Makefile是GCC的,所以要make distcelan清除,然后再执行脚本myconfigure.sh,然后make,然后make DESTDIR=/opt/libX11target install,configure指定安转路劲没用,所以安装的时候手动指定

    二十三.编译xorg-bh-75dpi(font-bh-75dpi-1.0.3.tar.gz)

    脚本myconfigure.sh

    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/libX11target/lib/pkgconfig
    ./configure \
            --host=arm-linux 
    

    先执行autogen.sh生成configure和Makefile,这个Makefile是GCC的,所以要make distcelan清除,然后再执行脚本myconfigure.sh,然后make,然后make DESTDIR=/opt/libX11target install,configure指定安转路劲没用,所以安装的时候手动指定

    二十四.编译xorg-misc(font-misc-misc-1.1.2.tar.gz)

    脚本myconfigure.sh

    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/libX11target/lib/pkgconfig
    ./configure \
            --host=arm-linux 
    

    先执行autogen.sh生成configure和Makefile,这个Makefile是GCC的,所以要make distcelan清除,然后再执行脚本myconfigure.sh,然后make,然后make DESTDIR=/opt/libX11target install,configure指定安转路劲没用,所以安装的时候手动指定

    二十五.编译xorg-type1(font-xfree86-type1-1.0.4.tar.gz)

    脚本myconfigure.sh

    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/libX11target/lib/pkgconfig
    ./configure \
            --host=arm-linux 
    

    先执行autogen.sh生成configure和Makefile,这个Makefile是GCC的,所以要make distcelan清除,然后再执行脚本myconfigure.sh,然后make,然后make DESTDIR=/opt/libX11target install,configure指定安转路劲没用,所以安装的时候手动指定

    二十六.编译xorg-server(xorg-server-1.15.1)

    脚本myconfigure.sh

    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/libX11target/lib/pkgconfig
    export CFLAGS="-I/opt/libX11target/include"
    export LDFLAGS="-L/opt/libX11target/lib"
    ./configure \
    	--prefix=/opt/libX11target \
    	--host=arm-linux \
    	--disable-glx
    

    先执行autogen.sh生成configure和Makefile,这个Makefile是GCC的,所以要make distcelan清除,然后再执行脚本myconfigure.sh,然后make,然后makeinstall

    ========================================
    下面的是补充

    二十七.xkeyboard(xkeyboard-config-2.25.tar.gz)

    需要安装intltool;apt-get install intltool
    脚本myconfigure.sh

    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/libX11target/lib/pkgconfig
    export CFLAGS="-I/opt/libX11target/include"
    export LDFLAGS="-L/opt/libX11target/lib"
    ./configure \
    	--prefix=/opt/libX11target \
    	--host=arm-linux
    

    先执行autogen.sh生成configure和Makefile,这个Makefile是GCC的,所以要make distcelan清除,然后再执行脚本myconfigure.sh,然后make,然后makeinstall

    二十七.xkbcomp(xkbcomp-1.3.1.tar.gz)

    脚本myconfigure.sh

    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/libX11target/lib/pkgconfig
    export CFLAGS="-I/opt/libX11target/include"
    export LDFLAGS="-L/opt/libX11target/lib"
    ./configure \
    	--prefix=/opt/libX11target \
    	--host=arm-linux
    

    make 出现错误

    /opt/gcc-linaro-5.3.1-2016.05-x86_64_aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/5.3.1/../../../../aarch64-linux-gnu/bin/ld: warning: libxcb.so.1, needed by /opt/libX11target/lib/libX11.so, not found (try using -rpath or -rpath-link)
    /opt/libX11target/lib/libX11.so: undefined reference to `xcb_get_file_descriptor'
    /opt/libX11target/lib/libX11.so: undefined reference to `xcb_connect'
    

    打开Makefile修改LDFLAGS
    原来

    LDFLAGS = -L/opt/libX11target/lib
    

    改为

    LDFLAGS = -L/opt/libX11target/lib -lxcb -lXau
    

    先执行autogen.sh生成configure和Makefile,这个Makefile是GCC的,所以要make distcelan清除,然后再执行脚本myconfigure.sh,然后make,然后makeinstall

    二十八.xorg-ttf(xorg-font-bh-ttf-font-bh-ttf-1.0.3)

    脚本myconfigure.sh

    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/libX11target/lib/pkgconfig
    export CFLAGS="-I/opt/libX11target/include"
    export LDFLAGS="-L/opt/libX11target/lib"
    ./configure \
    	--prefix=/opt/libX11target \
    	--host=arm-linux
    

    先执行autogen.sh生成configure和Makefile,这个Makefile是GCC的,所以要make distcelan清除,然后再执行脚本myconfigure.sh,然后make,
    make DESTDIR=/opt/libX11target install

    展开全文
  • 安装vnc-server依赖包
  • xorg-x11-xauth-1.0.2-7.1.el6.x86_64.rpm
  • xorg-x11-deprecated-libs-6.8.2-37.FC4.49.2.1.x86_64.rpm
  • xorg-x11-server-common-1.13.0-23.el6.centos.x86_64.rpm
  • xorg-x11-server-Xephyr-1.13.0-23.el6.centos.x86_64.rpm
  • xorg-x11-server-utils-7.5-13.el6.x86_64.rpm
  • Linux桌面基础:X Window System——Xorg

    千次阅读 2020-11-25 00:37:50
    一、前言 Unix Like 操作系统不是只能进行服务器的架设而已...因为就英文字母来看 X 是在 W(indow) 后面,因此,人们就戏称这一版的窗口接口为 X 啰,这边X Server使用Xorg。 一个桌面的使用需要X Windows Server + X

    一、前言

    Unix Like 操作系统不是只能进行服务器的架设而已,在美编、排版、制图、多媒体应用上也是有其需要的。 这些需求都需要用到图形接口 (Graphical User Interface, GUI) 的操作的, 所以后来才有所谓的 X Window System 这玩意儿。那么为啥图形窗口接口要称为 X 呢?因为就英文字母来看 X 是在 W(indow) 后面,因此,人们就戏称这一版的窗口接口为 X 啰,这边X Server使用Xorg。
    一个桌面的使用需要X Windows Server + X Windows Manager,提供桌面背景、任务栏、桌面设置等。X Server 还有一个重要的工作,那就是将来自输入设备 (如键盘、鼠标等) 的动作告知 X Client,X Client 最重要的工作就是处理来自 X Server 的动作,将该动作处理成为绘图数据, 再将这些绘图数据传回给 X Server。目前主要的X Windows Manager有:
    MATE core
    Lubuntu core
    Budgie Desktop
    GNOME (GNU Network Object Model Environment):http://www.gnome.org/
    KDE (K Desktop Enviroment):http://kde.org/
    twm (Tab Window Manager):http://xwinman.org/vtwm.php
    XFCE (XForms Common Environment):http://www.xfce.org/

    二、安装方式

    2.1 自定义安装
    2.1.1 安装x-windows的基础(必须): sudo apt-get install x-window-system-core (这个就是X11或者直接X的协议,xorg是具体的程序实现)
    2.1.2 安装gnome基础(必须): sudo apt-get install gnome-core kde-core xfce4
    2.2 源码安装(中间过程中系统依赖库的话,借助apt-get 进行安装)
    2.2.1 下载xorg-server-1.20.9.tar.bz2 https://www.x.org/archive/individual/xserver/xorg-server-1.20.9.tar.gz,还有https://xorg.freedesktop.org/archive/(较旧)
    2.2.2 下载源码:https://www.xfce.org/download,部分软件下载:https://archive.xfce.org/src
    注:源码编译,主要三步走:./configure;make;make install或者meson --libdir=lib …/;ninja;ninja install

    三、中间编译过程

    3、configure: error: Package requirements (pixman-1 >= 0.27.2) were not met:No package ‘pixman-1’ found
    https://www.x.org/archive/individual/lib/pixman-0.40.0.tar.gz
    4、configure: error: Package requirements (libdrm >= 2.4.89) were not met:No package ‘libdrm’ found
    https://dri.freedesktop.org/libdrm/libdrm-2.4.102.tar.xz
    meson --reconfigure --libdir=lib/ …/
    5、configure: error: Package requirements (pciaccess >= 0.10) were not met:No package ‘pciaccess’ found
    https://www.x.org/archive/individual/lib/libpciaccess-0.16.tar.gz
    6、configure: error: Package requirements (x11) were not met:No package ‘x11’ found
    https://www.x.org/archive/individual/lib/libX11-1.6.12.tar.gz
    7、Perhaps you should add the directory containing `xproto.pc’,No package ‘xproto’ found
    https://xorg.freedesktop.org/archive/individual/proto/xproto-7.0.31.tar.gz
    8、checking for X11… No
    configure: error: Package requirements (xproto >= 7.0.17 xextproto xtrans xcb >= 1.11.1 kbproto inputproto) were not met:
    No package ‘xextproto’ found https://xorg.freedesktop.org/archive/individual/proto/xextproto-7.3.0.tar.gz
    No package ‘xtrans’ found https://www.x.org/archive/individual/lib/xtrans-1.4.0.tar.gz
    No package ‘xcb’ found https://xorg.freedesktop.org/archive/individual/xcb/libxcb-1.14.tar.gz
    No package ‘kbproto’ found https://xorg.freedesktop.org/archive/individual/proto/kbproto-1.0.7.tar.gz
    No package ‘inputproto’ found https://xorg.freedesktop.org/archive/individual/proto/inputproto-2.3.2.tar.gz
    9、configure: error: Package requirements (xcb-proto >= 1.14) were not met:No package ‘xcb-proto’ found
    https://xorg.freedesktop.org/archive/individual/xcb/xcb-proto-1.14.tar.gz
    10、configure: error: Package requirements (xau >= 0.99.2) were not met:No package ‘xau’ found
    https://www.x.org/archive/individual/lib/libXau-1.0.9.tar.gz
    11、configure: error: Package requirements (glproto >= 1.4.17 gl >= 7.1.0) were not met:
    No package ‘glproto’ found https://xorg.freedesktop.org/archive/individual/proto/glproto-1.4.17.tar.gz
    No package ‘gl’ found http://deb.debian.org/debian/pool/main/libg/libglvnd/libglvnd_1.3.2.orig.tar.gz
    12、configure.ac:28: error: possibly undefined macro: AC_PROG_LIBTOOL
    If this token and others are legitimate, please use m4_pattern_allow sudo apt-get install libtool
    14、configure: error: Package requirements (xext) were not met:No package ‘xext’ found
    https://www.x.org/archive/individual/lib/libXext-1.3.4.tar.gz
    15、configure: error: No suitable SHA1 implementation found
    installing libgcrypt11-dev
    16、checking for GPG Error - version >= 1.25… noconfigure: error: libgpg-error is needed.
    https://www.gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.39.tar.bz2
    17、configure: error: Package requirements (fixesproto >= 5.0 damageproto >= 1.1 xcmiscproto >= 1.2.0 xtrans >= 1.3.5 bigreqsproto >= 1.1.0 xproto >= 7.0.31 randrproto >= 1.6.0 renderproto >= 0.11 xextproto >= 7.2.99.901 inputproto >= 2.3 kbproto >= 1.0.3 fontsproto >= 2.1.3 pixman-1 >= 0.27.2 videoproto compositeproto >= 0.4 recordproto >= 1.13.99.1 scrnsaverproto >= 1.1 resourceproto >= 1.2.0 xf86driproto >= 2.1.0 glproto >= 1.4.17 dri >= 7.8.0 presentproto >= 1.1 xineramaproto xkbfile pixman-1 >= 0.27.2 xfont2 >= 2.0.0 xau) were not met:
    No package ‘fixesproto’ found https://www.x.org/archive/individual/proto/fixesproto-5.0.tar.gz
    No package ‘damageproto’ found https://www.x.org/archive/individual/proto/damageproto-1.2.1.tar.gz
    No package ‘xcmiscproto’ found https://www.x.org/archive/individual/proto/xcmiscproto-1.2.2.tar.gz
    No package ‘bigreqsproto’ found https://www.x.org/archive/individual/proto/bigreqsproto-1.1.2.tar.gz
    No package ‘randrproto’ found https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/archive/master/xorgproto-master.tar.gz No package ‘renderproto’ found https://www.x.org/archive/individual/proto/renderproto-0.11.tar.gz
    No package ‘fontsproto’ found https://www.x.org/archive/individual/proto/fontsproto-2.1.3.tar.gz
    No package ‘videoproto’ found https://www.x.org/archive/individual/proto/videoproto-2.3.3.tar.gz
    No package ‘compositeproto’ found https://www.x.org/archive/individual/proto/compositeproto-0.4.2.tar.gz
    No package ‘recordproto’ found https://www.x.org/archive/individual/proto/recordproto-1.14.2.tar.gz
    No package ‘scrnsaverproto’ found https://www.x.org/archive/individual/proto/scrnsaverproto-1.2.2.tar.gz
    No package ‘resourceproto’ found https://www.x.org/archive/individual/proto/resourceproto-1.2.0.tar.gz
    No package ‘xf86driproto’ found https://www.x.org/archive/individual/proto/xf86driproto-2.1.1.tar.gz
    No package ‘dri’ found https://www.x.org/archive/individual/proto/dri3proto-1.0.tar.gz
    https://mesa.freedesktop.org/archive/mesa-20.2.1.tar.xz
    meson --reconfigure --libdir=lib/ …; sudo ninja install;
    sudo apt-get install libegl-mesa0
    sudo apt install meson ninja-build
    python3 -m pip install meson
    https://files.pythonhosted.org/packages/5e/da/e6f22f0d3730635aa8504cc0d7ae16406b3794bbfea04c854e2c215c7acb/meson-0.55.3.tar.gz
    sudo ln -sf ~/.local/bin/meson /usr/bin/
    Did not find CMake ‘cmake’
    Sudo apt install cmake
    ERROR: Problem encountered: Python (3.x) mako module >= 0.8.0 required to build mesa
    pip3 install mako
    WARNING: Ignoring LLVM CMake dependency because dynamic was requested
    llvm-config found: NO need ‘>= 8.0.0’
    sudo apt install llvm-10
    Run-time dependency libelf found: NO (tried pkgconfig and cmake)
    https://sourceware.org/elfutils/ftp/elfutils-latest.tar.bz2
    Program bison found: NO
    …/meson.build:1600:2: ERROR: Program ‘bison’ not found
    http://ftp.gnu.org/gnu/bison/bison-3.7.tar.xz
    Program flex found: NO
    https://github.com/westes/flex.git
    uild-time dependency wayland-scanner found: NO
    https://wayland.freedesktop.org/releases/wayland-1.18.0.tar.xz
    configure: error: Package requirements (libffi) were not met:
    No package ‘libffi’ found
    https://github.com/libffi/libffi/releases/download/v3.3/libffi-3.3.tar.gz
    configure: error: Package requirements (expat) were not met:
    No package ‘expat’ found
    http://downloads.sourceforge.net/expat/expat-2.0.1.tar.gz
    configure: error: Package requirements (libxml-2.0) were not met:
    No package ‘libxml-2.0’ found
    ftp://xmlsoft.org/libxml2/libxml2-2.9.9.tar.gz
    checking for doxygen… no
    configure: error: Documentation build requested but doxygen not found. Install doxygen or disable the documentation using --disable-documentation
    http://doxygen.nl/files/doxygen-1.8.20.src.tar.gz cmake -G “Unix Makefiles” …
    configure: error: Documentation build requested but xmlto not found
    https://releases.pagure.org/xmlto/xmlto-0.0.28.tar.bz2
    configure: error: Documentation build requested but graphviz’s dot not found
    https://www2.graphviz.org/Packages/stable/portable_source/graphviz-2.44.1.tar.gz
    configure: error: Documentation build requested but docbook-xsl stylesheets are not found,Install the docbook-xsl package or disable the documentation using --disable-documentation
    https://docbook.org/xml/5.2b09/docbook-52b09.zip
    …/meson.build:1666:2: ERROR: Dependency “wayland-protocols” not found,
    https://wayland.freedesktop.org/releases/wayland-protocols-1.20.tar.xz
    …/meson.build:1707:4: ERROR: Dependency “xdamage” not found
    https://www.x.org/archive/individual/lib/libXdamage-1.1.5.tar.gz
    meson.build:1733:6: ERROR: Dependency “xshmfence” not found
    https://www.paldo.org/paldo/sources/xshmfence/libxshmfence-1.3.tar.bz2
    …/meson.build:1742:6: ERROR: Dependency “xxf86vm” not found
    https://www.x.org/archive/individual/lib/libXxf86vm-1.1.4.tar.gz
    …/meson.build:1752:4: ERROR: Dependency “xrandr” not found
    https://www.x.org/archive/individual/lib/libXrandr-1.5.2.tar.gz
    configure: error: Package requirements (x11 >= 1.6 randrproto >= 1.5 xext xextproto xrender renderproto) were not met:
    No package ‘xrender’ found
    https://www.x.org/archive/individual/lib/libXrender-0.9.10.tar.gz
    /usr/bin/python3: symbol lookup error: /usr/bin/python3: undefined symbol: XML_SetHashSalt
    出现libexpat.so.1 => /usr/local/lib/libexpat.so.1不匹配问题,改用系统本身libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1
    …/src/amd/common/ac_llvm_helper.cpp:200:30: error: ‘CGFT_ObjectFile’ is not a member of ‘llvm::TargetMachine’
    llvm::TargetMachine::CGFT_ObjectFile)) { 直接替换成 llvm::CGFT_ObjectFile)) {
    编译成功,
    No package ‘presentproto’ found
    https://www.x.org/archive/individual/proto/presentproto-1.1.tar.gz
    No package ‘xineramaproto’ found
    https://www.x.org/archive/individual/proto/xineramaproto-1.2.tar.gz
    No package ‘xkbfile’ found
    https://www.x.org/archive/individual/lib/libxkbfile-1.1.0.tar.gz
    No package ‘xfont2’ found
    https://www.x.org/archive/individual/lib/libXfont2-2.0.4.tar.gz
    configure: error: Package requirements (fixesproto >= 5.0 damageproto >= 1.1 xcmiscproto >= 1.2.0 xtrans >= 1.3.5 bigreqsproto >= 1.1.0 xproto >= 7.0.31 randrproto >= 1.6.0 renderproto >= 0.11 xextproto >= 7.2.99.901 inputproto >= 2.3 kbproto >= 1.0.3 fontsproto >= 2.1.3 pixman-1 >= 0.27.2 videoproto compositeproto >= 0.4 recordproto >= 1.13.99.1 scrnsaverproto >= 1.1 resourceproto >= 1.2.0 xf86driproto >= 2.1.0 glproto >= 1.4.17 dri >= 7.8.0 presentproto >= 1.1 xineramaproto xkbfile pixman-1 >= 0.27.2 xfont2 >= 2.0.0 xau) were not met:
    Requested ‘randrproto >= 1.6.0’ but version of RandrProto is 1.5.0
    No package ‘dri’ found
    apt source libdri2-1 libdri2-dev
    fatal error: X11/extensions/Xfixes.h
    https://www.x.org/archive/individual/lib/libXfixes-5.0.3.tar.gz
    18、checking for freetype-config… no configure: error: You must have freetype installed
    http://www.freetype.org/
    19、checking for gzopen in -lz… no
    configure: error: *** zlib is required
    http://www.zlib.net/
    20、configure: error: Package requirements (xproto xtrans fontsproto >= 2.1.3 fontenc) were not met:
    No package ‘fontenc’ found
    https://www.x.org/releases/X11R7.7/src/lib/libfontenc-1.1.1.tar.gz
    https://www.x.org/archive/individual/lib/libfontenc-1.1.4.tar.gz
    21、autoreconf -ivf提示:configure.ac:30: error: must install xorg-macros 1.3 or later before running autoconf/autogen
    sudo apt-get install xutils-dev
    22、configure: error: Package requirements (epoxy) were not met:
    No package ‘epoxy’ found https://github.com/anholt/libepoxy/releases/download/1.5.4/libepoxy-1.5.4.tar.xz
    23、Run-time dependency nettle found: NO (tried pkgconfig and cmake)
    …/meson.build:94:0: ERROR: Dependency “nettle” not found, tried pkgconfig and cmake
    https://ftp.gnu.org/gnu/nettle/nettle-3.6.tar.gz
    24、Run-time dependency dbus-1 found: NO (tried pkgconfig and cmake)
    sudo apt install libdbus-1-dev
    Run-time dependency windowswmproto found: NO (tried pkgconfig and cmake)
    https://xorg.freedesktop.org/archive/individual/proto/windowswmproto-1.0.4.tar.gz
    Run-time dependency libbsd found: NO (tried pkgconfig and cmake)
    https://libbsd.freedesktop.org/releases/libbsd-0.10.0.tar.xz
    Run-time dependency xkbcomp found: NO (tried pkgconfig and cmake)
    https://www.x.org/archive/individual/app/xkbcomp-1.4.3.tar.gz
    ERROR: Dependency “fontutil” not found
    https://ftp.gnu.org/pub/gnu/fontutils/fontutils-0.7.tar.gz
    apt source xfonts-utils
    …/./include/xt-common.h:22:10: fatal error: X11/Intrinsic.h: No such file or directory
    #include <X11/Intrinsic.h>
    https://www.x.org/archive/individual/lib/libXt-1.2.0.tar.gz
    configure: error: Package requirements (sm ice x11 xproto kbproto) were not met:
    No package ‘sm’ found
    https://www.x.org/archive/individual/lib/libSM-1.2.3.tar.gz
    No package ‘ice’ found
    https://www.x.org/archive/individual/lib/libICE-1.0.10.tar.gz
    BitmapP.h:25:10: fatal error: X11/Xaw/SimpleP.h: No such file or directory
    #include <X11/Xaw/SimpleP.h>
    https://www.x.org/archive/individual/lib/libXaw-1.0.13.tar.gz
    checking for XAW6… configure: error: Package requirements (xproto x11 xext xextproto xt xmu) were not met:
    No package ‘xmu’ found
    https://www.x.org/archive/individual/lib/libXmu-1.1.3.tar.gz
    No package ‘xpm’ found
    https://www.x.org/archive/individual/lib/libXpm-3.5.13.tar.gz
    /bin/bash: xgettext: command not found
    http://mirrors.aliyun.com/gnu/gettext/gettext-0.21.tar.xz
    …/meson.build:307:4: ERROR: Dependency “xdmcp” not found
    https://www.x.org/archive/individual/lib/libXdmcp-1.1.3.tar.gz
    中间遇到过
    xwayland-glamor-gbm.c:889:10: warning: nested extern declaration of ‘dri3_screen_init’ [-Wnested-externs]
    dri3位于本工程的dri3,应该是哪里顺序有问题
    25、编译xf86-input-libinput-0.30.0
    No package ‘libinput’ found
    http://launchpadlibrarian.net/435268479/libinput-bin_1.10.4-1ubuntu0.18.04.1_amd64.deb
    …/meson.build:126:0: ERROR: Dependency “mtdev” not found, tried pkgconfig and cmake
    http://bitmath.org/code/mtdev/mtdev-1.1.6.tar.bz2
    …/meson.build:127:0: ERROR: Dependency “libevdev” not found, tried pkgconfig and cmake
    https://www.freedesktop.org/software/libevdev/libevdev-1.10.0.tar.xz
    …/meson.build:140:1: ERROR: Dependency “libwacom” not found, tried pkgconfig and cmake
    https://github.com/linuxwacom/libwacom/releases/download/libwacom-1.5/libwacom-1.5.tar.bz2
    configure: error: Package requirements (glib-2.0 gudev-1.0) were not met:
    No package ‘glib-2.0’ found
    http://ftp.gnome.org/pub/gnome/sources/glib/2.66/glib-2.66.2.tar.xz 编译到此处,meson --reconfigure --libdir=lib/
    No package ‘gudev-1.0’ found
    https://download.gnome.org/sources/libgudev/234/libgudev-234.tar.xz
    configure: error: Package requirements (umockdev-1.0) were not met:
    No package ‘umockdev-1.0’ found
    https://github.com/martinpitt/umockdev/releases/download/0.14.4/umockdev-0.14.4.tar.xz
    …/doc/user/meson.build:4:1: ERROR: Problem encountered: Program “sphinx-build” not found or not executable. Try building with -Ddocumentation=false
    …/meson.build:622:1: ERROR: Dependency “gtk±3.0” not found
    https://download.gnome.org/sources/gtk+/3.24/gtk±3.24.23.tar.xz
    configure: error: Package requirements (glib-2.0 >= 2.57.2 atk >= 2.15.1 pango >= 1.41.0 fribidi >= 0.19.7 cairo >= 1.14.0 cairo-gobject >= 1.14.0 gdk-pixbuf-2.0 >= 2.30.0) were not met:
    No package ‘atk’ found
    http://ftp.gnome.org/pub/gnome/sources/atk/2.36/atk-2.36.0.tar.xz
    …/atk/meson.build:138:2: ERROR: Dependency “gobject-introspection-1.0” not found, tried pkgconfig and cmake
    http://ftp.gnome.org/pub/gnome/sources/gobject-introspection/1.66/gobject-introspection-1.66.1.tar.xz
    No package ‘pango’ found
    git clone git://git.gnome.org/pango
    http://ftp.gnome.org/pub/gnome/sources/pango/1.46/pango-1.46.2.tar.xz
    Found CMake: /usr/bin/cmake (3.10.2)
    Run-time dependency fribidi found: NO (tried pkgconfig and cmake)
    Looking for a fallback subproject for the dependency fribidi
    Cloning into ‘fribidi’…
    Run-time dependency fontconfig found: NO (tried pkgconfig and cmake)
    Looking for a fallback subproject for the dependency fontconfig
    https://www.freedesktop.org/software/fontconfig/release/fontconfig-2.13.1.tar.bz2
    …/meson.build:298:2: ERROR: Subproject “subprojects/fontconfig” required but not found
    wget https://www.freedesktop.org/software/fontconfig/release/fontconfig-2.13.1.tar.bz2
    checking where uuid functions comes from… configure: error:
    uuid is required. install util-linux
    apt install util-linux
    sudo apt-get install uuid-dev
    1/missing: line 81: gperf: command not found
    http://mirrors.aliyun.com/gnu/gperf/gperf-3.1.tar.gz
    Couldn’t find include ‘HarfBuzz-0.0.gir’ (search path: ‘[’/usr/local/share/gir-1.0’, ‘/usr/local/share’, ‘gir-1.0’, ‘/usr/local/share/gir-1.0’, ‘/usr/share/gir-1.0’, ‘/usr/local/share/gir-1.0’, ‘/usr/share/gir-1.0’]’)
    [345/445] Compiling C++ object subprojects/harfbuzz/src/libharfbuzz-subset.so.0.20702.0.p/hb-subset.cc.o
    https://github.com/harfbuzz/harfbuzz/releases/download/2.7.1/harfbuzz-2.7.1.tar.xz
    No package ‘fribidi’ found
    No package ‘cairo’ found
    http://anduin.linuxfromscratch.org/BLFS/cairo/cairo-1.17.2+f93fc72c03e.tar.xz
    No package ‘cairo-gobject’ found
    No package ‘gdk-pixbuf-2.0’ found
    http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.40/gdk-pixbuf-2.40.0.tar.xz
    Run-time dependency shared-mime-info found: YES 1.9
    Library mlib found: NO
    Found CMake: /usr/bin/cmake (3.10.2)
    Run-time dependency libpng16 found: NO (tried pkgconfig and cmake)
    Run-time dependency libpng15 found: NO (tried pkgconfig and cmake)
    Run-time dependency libpng14 found: NO (tried pkgconfig and cmake)
    Run-time dependency libpng13 found: NO (tried pkgconfig and cmake)
    Run-time dependency libpng12 found: NO (tried pkgconfig and cmake)
    Run-time dependency libpng10 found: NO (tried pkgconfig and cmake)
    Looking for a fallback subproject for the dependency (anonymous)
    Downloading libpng source from ftp://ftp-osl.osuosl.org/pub/libpng/src/libpng16/libpng-1.6.34.tar.xz
    https://downloads.sourceforge.net/libpng/libpng-1.6.37.tar.xz
    Installing /home/test/xfce/xfce-4.14/package/gdk-pixbuf-2.40.0/build/po/zh_TW.gmo to /usr/local/share/locale/zh_TW/LC_MESSAGES/gdk-pixbuf.mo
    Running custom install script ‘/bin/sh /home/test/xfce/xfce-4.14/package/gdk-pixbuf-2.40.0/build-aux/post-install.sh /usr/local/bin /usr/local/lib 2.10.0’
    g_module_open() failed for /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ani.so: libgdk_pixbuf-2.0.so.0: cannot open shared object file: No such file or directory
    g_module_open() failed for /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-bmp.so: libgdk_pixbuf-2.0.so.0: cannot open shared object file: No such file or directory
    wget http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.40/gdk-pixbuf-2.40.0.tar.xz
    ./meson.build:456:0: ERROR: Dependency “xkbcommon” not found, tried pkgconfig and cmake
    https://xkbcommon.org/download/libxkbcommon-1.0.1.tar.xz
    Run-time dependency xi found: NO (tried pkgconfig and cmake)
    …/meson.build:571:2: ERROR: Dependency “xi” not found, tried pkgconfig and cmake
    apt source libxi-dev
    …/meson.build:578:2: ERROR: Dependency “atk-bridge-2.0” not found, tried pkgconfig and cmake
    http://ftp.gnome.org/pub/gnome/sources/at-spi2-atk/2.38/at-spi2-atk-2.38.0.tar.xz
    ftp://ftp.gnome.org/pub/gnome/sources/at-spi2-core/2.6/at-spi2-core-2.6.3.tar.xz
    http://ftp.gnome.org/pub/gnome/sources/at-spi2-core/2.38/at-spi2-core-2.38.0.tar.xz
    Run-time dependency xtst found: NO (tried pkgconfig and cmake)
    …/meson.build:71:4: ERROR: Dependency “xtst” not found, tried pkgconfig and cmake
    https://www.paldo.org/paldo/sources/xtst/libXtst-1.2.3.tar.bz2
    failed to load “/home/test/xfce/xfce-4.14/package/gtk±3.24.23/gtk/theme/Adwaita/assets/bullet-symbolic.symbolic.png”
    No GTK-Doc found, please install it
    ftp://ftp.gnome.org/pub/gnome/sources/gtk-doc/1.18/gtk-doc-1.18.tar.xz
    http://ftp.gnome.org/pub/gnome/sources/gtk-doc/1.33/gtk-doc-1.33.0.tar.xz
    checking for xsltproc… no
    configure: error: xsltproc not found
    http://xmlsoft.org/sources/libxslt-1.1.34.tar.gz
    checking for DocBook XSL Stylesheets in XML catalog… not found
    configure: error: could not find DocBook XSL Stylesheets in XML catalog
    http://prdownloads.sourceforge.net/docbook/docbook-xsl-1.68.1.tar.bz2
    error: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL
    sudo apt install gobject-introspection
    apt source gobject-introspection
    至此:GTK 3.-编译完成;

    四、Xorg总编译

    4.1 编译./configure --with-log-dir=/var/log;build
    目前才到xorg层的编译,总是编译通过了,查看版本
    ./hw/xfree86/Xorg -version
    X.Org X Server 1.20.9
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 4.15.0-55-generic x86_64
    Current Operating System: Linux ubuntu 4.15.0-55-generic #60-Ubuntu SMP Tue Jul 2 18:22:20 UTC 2019 x86_64
    Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-55-generic root=UUID=c97da4d9-89a2-4927-afc9-5b1e2fc16fa5 ro
    Build Date: 25 October 2020 11:54:54PM
    4.2 中间问题
    (II) LoadModule: “ati”
    https://www.x.org/archive/individual/driver/xf86-video-ati-19.1.0.tar.gzls
    (WW) Warning, couldn’t open module ati
    (EE) Failed to load module “ati” (module does not exist, 0)
    (II) LoadModule: “modesetting”
    (II) LoadModule: “fbdev”
    (WW) Warning, couldn’t open module fbdev
    (EE) Failed to load module “fbdev” (module does not exist, 0)
    https://www.x.org/archive/individual/driver/xf86-video-fbdev-0.5.0.tar.gz
    (II) LoadModule: “vesa”
    (WW) Warning, couldn’t open module vesa
    (EE) Failed to load module “vesa” (module does not exist, 0)
    https://www.x.org/archive/individual/driver/xf86-video-vesa-2.5.0.tar.gz
    (EE) No drivers available.
    [294066.749] (EE) XKB: Couldn’t open rules file /usr/local/share/X11/xkb/rules/evdev
    408 [294066.749] (EE) XKB: Failed to load keymap. Loading default keymap instead.
    409 [294066.749] (EE) XKB: Couldn’t open rules file /usr/local/share/X11/xkb/rules/evdev
    410 [294066.749] XKB: Failed to compile keymap
    http://www.x.org/releases/individual/data/xkeyboard-config/xkeyboard-config-2.24.tar.bz2
    https://www.x.org/archive/individual/driver/xf86-input-mouse-1.9.3.tar.gz
    https://www.x.org/archive/individual/driver/xf86-video-amdgpu-19.1.0.tar.gz
    4.3编译后结构
    /usr/local/lib/xorg/modules/
    /usr/local/lib/xorg/modules/libexa.so
    /usr/local/lib/xorg/modules/libfbdevhw.la
    /usr/local/lib/xorg/modules/libwfb.so
    /usr/local/lib/xorg/modules/libint10.so
    /usr/local/lib/xorg/modules/libvbe.la
    /usr/local/lib/xorg/modules/libshadow.so
    /usr/local/lib/xorg/modules/libglamoregl.so
    /usr/local/lib/xorg/modules/libfb.so
    /usr/local/lib/xorg/modules/libvgahw.la
    /usr/local/lib/xorg/modules/libint10.la
    /usr/local/lib/xorg/modules/libglamoregl.la
    /usr/local/lib/xorg/modules/drivers
    /usr/local/lib/xorg/modules/drivers/modesetting_drv.so
    /usr/local/lib/xorg/modules/drivers/vesa_drv.la
    /usr/local/lib/xorg/modules/drivers/vesa_drv.so
    /usr/local/lib/xorg/modules/drivers/ati_drv.la
    /usr/local/lib/xorg/modules/drivers/ati_drv.so
    /usr/local/lib/xorg/modules/drivers/fbdev_drv.so
    /usr/local/lib/xorg/modules/drivers/fbdev_drv.la
    /usr/local/lib/xorg/modules/drivers/radeon_drv.la
    /usr/local/lib/xorg/modules/drivers/modesetting_drv.la
    /usr/local/lib/xorg/modules/drivers/radeon_drv.so
    /usr/local/lib/xorg/modules/input
    /usr/local/lib/xorg/modules/input/libinput_drv.so
    /usr/local/lib/xorg/modules/input/libinput_drv.la
    /usr/local/lib/xorg/modules/libfbdevhw.so
    /usr/local/lib/xorg/modules/libwfb.la
    /usr/local/lib/xorg/modules/libvbe.so
    /usr/local/lib/xorg/modules/libshadowfb.so
    /usr/local/lib/xorg/modules/libshadow.la
    /usr/local/lib/xorg/modules/extensions
    /usr/local/lib/xorg/modules/extensions/libglx.so
    /usr/local/lib/xorg/modules/extensions/libglx.la
    /usr/local/lib/xorg/modules/libvgahw.so
    /usr/local/lib/xorg/modules/libshadowfb.la
    /usr/local/lib/xorg/modules/libexa.la
    /usr/local/lib/xorg/modules/libfb.la

    五、Xorg显示测试

    Xorg :1 -retro ——测试波形显示
    /usr/lib/xorg/Xorg vt1 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3
    sudo X vt8 :1 -auth /run/user/1000/gdm/Xauthority -retro
    能显示即为正常

    以下是新的个人博客的地址:
    http://106.53.224.102:8080/wordpress-zh/feng_8071

    展开全文
  • XMousePasteBlock 侦听鼠标中键单击事​​件,并在检测到时清除主要的X选择/剪贴板,以免在整个地方意外粘贴内容。 关于 无需禁用宝贵的鼠标中键绑定,无需清除视觉选择,也不会因定期清空主要X剪贴板而造成性能...
  • xorg-x11-xinit-1.0.9-14.el6.x86_64.rpm
  • xorg-x11-libs-6.8.2-1.EL.52.i386.rpm

    热门讨论 2012-05-15 17:37:31
    在查询metalink时你会发现原因是由于缺少了libXp.so.6包,根据Oracle的解决方案需要安装xorg-x11-deprecated-libs-6.8.2-1.EL.13.20.i386.rpm包。不过REDHAT AS4中包含的相应的包版本比较低。于是从Oracle提供的...
  • xorg的配置文件

    千次阅读 2019-07-11 15:16:49
    较新版本的linux系统都已经没有xorg.conf文件,但是有时候为了对显示做微调或为了支持多屏显示等原因,还需要手工生成一个xorg.conf,然后根据情况做些修改设置。这种情况下我们如何有一个基本的xorg.conf模板呢?...

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 23,925
精华内容 9,570
关键字:

xorg