This weekend I sat down and wrestled with the missing Glint driver for the PGX32 PCI Card. It turned out to be pretty straightforward and I suspect it was dropped because of lack of interest. I probably took way more steps then needed but I’ve never done this before on debian.
Steps I took to build (rebuild) the deb file.
Git clone the 1.2.9 source and rename it to the format found the original tar.gz from Debian Archive
mv xf86-video-glint xf86-video-glint-1.2.9
Step 2) Clean up the repo and get it ready for tar ball
Strip out the git info.
rm -r -f .git
This gives you the base
aclocal.m4 compile config.h.in config.sub COPYING libtool Makefile.am missing src
autogen.sh config.guess config.log configure depcomp ltmain.sh Makefile.in README.md stamp-h1
autom4te.cache config.h config.status configure.ac install-sh Makefile man README.pm3
I think I ran make distclean also after this. Then back out make the tarball
tar -czf xserver-xorg-video-glint_1.2.9.orig.tar.gz xf86-video-glint-1.2.9/
Step 3) Download the Original DEB pieces dsc and diff.gz from Wheezy.
Step 4) Edit the 1.2.7 diff file
zcat xserver-xorg-video-glint_1.2.7-1.diff.gz > xserver-xorg-video-glint_1.2.9-1.diff
EDIT the diff (You need replace the 1.2.7 references with 1.2.9 I used vi find and replace but whatever you enjoy do that.
Step 5) Get the hash and file size info and edit the DSC with that
mgt@xray:~/glint/glint_1.2.9$ ls -al xserver-xorg-video-glint_1.2.9-1.diff.gz
-rw-r--r-- 1 mgt mgt 6636 Sep 20 11:42 xserver-xorg-video-glint_1.2.9-1.diff.gz
Step 6) Follow debian rebuild steps.
dpkg-source -x xserver-xorg-video-glint_1.2.9-1.dsc
dpkg-buildpackage -us -uc
Assuming you had all the debs or installed them it should be build clean and hand you deb package which you can install.
dpkg -i ./xserver-xorg-video-glint_1.2.9-1_sparc64.deb
Edit you Xorg settings to use the glint driver like
mgt@xray:~$ cat /etc/X11/xorg.conf.d/device.conf
VendorName "Permedia 2"
(Obviously your BusID might be different) and you should be able to use the glint driver.
I’ve played around with it for a few hour long sessions in the last few days and have not hit anything too strange. I can’t seem to get 1200x1024 @60 working clean but I suspect it’s my Xorg.conf Monitor lines.
Hope this helps anyone who needs the glint driver so Debian 10.