Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 551042 - x11-drivers/xf86-video-sis - version bump
Summary: x11-drivers/xf86-video-sis - version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matt Turner
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-03 07:04 UTC by Drake Donahue
Modified: 2015-08-29 23:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
corrects segfault and compile errors (triennial_update.patch.xz,267.39 KB, application/x-xz)
2015-06-03 07:04 UTC, Drake Donahue
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Drake Donahue 2015-06-03 07:04:10 UTC
Created attachment 404498 [details]
corrects segfault and compile errors

xf86-video-sis-0.10.7 needs update, last gentoo maintenance 07/2012, last xf86 patches 11/2015 (to correct segfaults and compile failures). Patch attached. xorg-drivers-1.16.0 and xorg-drivers-1.16.0 both are blocked by xf86-video-sis-0.10.7. Recommend patch ebuild and version bump to xf86-video-sis-0.10.7-r1. Compile is successful but whether the driver works is unknown as there is no sis  vga card here.

Patch created and compile tested as follows:
nano /usr/portage/x11-base/xorg-drivers/xorg-drivers-1.16.ebuild
edit last line !<=x11-drivers/xf86-video-sis-0.10.7 to read !<x11-drivers/xf86-video-sis-0.10.7
nano /usr/portage/x11-base/xorg-drivers/xorg-drivers-1.17.ebuild
edit next to last line !<=x11-drivers/xf86-video-sis-0.10.7 to read !<x11-drivers/xf86-video-sis-0.10.7
These changes should remove the block as long as either of them is effective.
boot to the command line
login as root
run eselect kernel list
if needed, run eselect kernel set <desired kernel version>
Proceed to create and install patches:
ebuild /usr/portage/x11-drivers/xf86-video-sis/xf86-video-sis-0.10.7.ebuild clean
ebuild /usr/portage/x11-drivers/xf86-video-sis/xf86-video-sis-0.10.7.ebuild fetch
ebuild /usr/portage/x11-drivers/xf86-video-sis/xf86-video-sis-0.10.7.ebuild unpack
mkdir /var/tmp/portage/x11-drivers/xf86-video-sis-0.10.7/work/xf86-video-sis-0.10.7-2
cp -aR /var/tmp/portage/x11-drivers/xf86-video-sis-0.10.7/work/xf86-video-sis-0.10.7* /var/tmp/portage/x11-drivers/xf86-video-sis-0.10.7/work/xf86-video-sis-0.10.7-2
wget -o /root/Downloads/xf86-video-sis-stable-master.zip https://github.com/gununu/xf86-video-sis-stable/archive/master.zip
unzip /root/Downloads/xf86-video-sis-stable-master.zip
cp -aR /root/Downloads/xf86-video-sis-stable-master/src/* /var/tmp/portage/x11-drivers/xf86-video-sis-0.10.7/work/xf86-video-sis-0.10.7-2/src
cd /var/tmp/portage/x11-drivers/xf86-video-sis-0.10.7/work
diff -Naru xf86-video-sis-0.10.7 xf86-video-sis-0.10.7-2 > kernel-4.1.0-rc3.patch
mkdir --parents /etc/portage/patches/x11-drivers/xf86-video-sis-0.10.7
cp -a triennial_update.patch /etc/portage/patches/x11-drivers/xf86-video-sis-0.10.7
patch -Np1 -d xf86-video-sis-0.10.7 < triennial_update.patch
ebuild /usr/portage/x11-drivers/xf86-video-sis/xf86-video-sis-0.10.7.ebuild install
cd
ebuild /usr/portage/x11-drivers/xf86-video-sis/xf86-video-sis-0.10.7.ebuild qmerge
reboot
startxfce4
emerge xf86-video-sis
reboot
startxfce4
Comment 1 Mike Gilbert gentoo-dev 2015-06-04 01:03:29 UTC
Comment on attachment 404498 [details]
corrects segfault and compile errors

You can't flag it as a patch if it is compressed.
Comment 2 Mike Gilbert gentoo-dev 2015-06-04 01:04:42 UTC
Also where did this patch come from? Did you write it?
Comment 3 Drake Donahue 2015-06-04 01:54:35 UTC
https://github.com/gununu/xf86-video-sis-stable/archive/master.zip was the repository I exploited. I have some knowledge of github; none of the xf86 git. It looked as though the contents were similar or the same.
The patch itself was generated by me as delineated in the comment above. Uncompressed it exceeded the 1000 kb limit so I compressed. My apologies for breaking the rules.
Comment 4 Mike Gilbert gentoo-dev 2015-06-04 02:24:23 UTC
Ah, ok. So you want to have some changes backported. That makes more sense than the mega-patch you attached.

Upstream repo: http://cgit.freedesktop.org/xorg/driver/xf86-video-sis/
Comment 5 Matt Turner gentoo-dev 2015-06-04 03:47:12 UTC
Instead of pulling patches out of github, I should just do a new release of the -sis driver. (...if someone actually needs it)
Comment 6 Drake Donahue 2015-06-04 13:40:31 UTC
A new release of the -sis driver sounds perfect.
Someone who needs it equals https://forums.gentoo.org/profile.php?mode=viewprofile&u=342420 on the forum.
Comment 7 Matt Turner gentoo-dev 2015-08-29 23:48:06 UTC
Sorry for the delay. I've released v0.10.8 and pushed it into Gentoo straight to stable.