Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 May 2021 11:24:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 255973] xf86-video-qxl deprecated , yet upstream source builds on freebsd 12.2
Message-ID:  <bug-255973-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255973

            Bug ID: 255973
           Summary: xf86-video-qxl deprecated , yet upstream source builds
                    on freebsd 12.2
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: drum@graphica.com.au

BUG/REQUEST:

The xf86-video-qxl X11 driver has been deprecated due to dependency on Pyth=
on
2.7

See Fresh Ports: https://www.freshports.org/x11-drivers/xf86-video-qxl/

However on doing upstream source build on FreeBSD 12.2 this builds and runs
without any source changes / patches and already supports Python 3.7
dependency.

Could this port please be reinstated and updated with build against Python =
3.7

TESTING:

X11 failed to start using: startx

On FreeBSD 12.2 running as Ubuntu 21.04 KVM / QEMU quest did:

1. Package install of build tools
2. Clone of upstream xf86-video-qxl
3. Followed by configure, make and make install

Simple configuration update to allow QEMU EvTouch USB Tablet to work with e=
vdev
& utouch package.

Result was:

X11 now starts on FreeBSD 12.2 when run as guest on Ubuntu 21.04 KVM / QEMU
host

Build details are:

---
--- Install the build tools
---
$ pkg install git
$ pkg install autoconf
$ pkg install automake
$ pkg install xorg-macros
$ pkg install m4
$ pkg install pkgconf
$ pkg install libtool
$ pkg install python37

---
--- Clone source and make
---=20
$ cd dev
$ git clone https://gitlab.freedesktop.org/xorg/driver/xf86-video-qxl.git
$ cd xf86-video-qxl
$ ./autogen.sh
$ make
$ su
$ make install

NOTE: Other packages installed include: xorg evdev & utouch

Configuration required for evdev/utouch:

# cat /usr/local/etc/X11/xorg.conf.d/99-qemu-input.conf=20
#
# Overide libinput
#
Section "InputClass"
        Identifier "evdev touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

More details and testing information is documented
here:https://tips.graphica.com.au/freebsd-gnome-on-qemu/

X11 now starts via startx

NOTE: gdm & gnome3 not installed as these package are also missing, to I on=
ly
tested as part as getting X11 running.


SUMMARY:

I have not done build of full "Spice" sub-system but certainly the
xf86-video-qxl driver port should be readily updated to build without Python
2.7 dependency.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255973-7788>