1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
post_install()
{
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
update-desktop-database -q
update-mime-database usr/share/mime
echo
echo "ATTENTION Nvidia/Nouveau driver users:"
echo "======================================"
echo
echo 'To fix the mouse lag issue in Draftsight SP3, you may have to turn off synchronization to VBlank and/or page flipping.'
echo 'For Nvidia driver users, this can be done through the nvidia-settings tool, and unchecking "Sync to VBlank" and "Allow Flipping" in the "OpenGL Settings"'
echo 'For Nouveau driver users, "GLXVBlank" and/or "PageFlip" options must be turned off in your xorg.conf files.'
echo
echo "Please refer to the comment section of this package in AUR: https://aur.archlinux.org/packages/draftsight/"
echo "Or for additional reading, refer to manual pages nv(4), nouveau(4), xorg.conf(5); and the Wiki pages for Nvidia, Nouveau, and Xorg."
echo
}
post_update()
{
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
update-desktop-database -q
update-mime-database usr/share/mime
echo
echo "ATTENTION Nvidia/Nouveau driver users:"
echo "======================================"
echo
echo 'To fix the mouse lag issue in Draftsight SP3, you may have to turn off synchronization to VBlank and/or page flipping.'
echo 'For Nvidia driver users, this can be done through the nvidia-settings tool, and unchecking "Sync to VBlank" and "Allow Flipping" in the "OpenGL Settings"'
echo 'For Nouveau driver users, "GLXVBlank" and/or "PageFlip" options must be turned off in your xorg.conf files.'
echo
echo "Please refer to the comment section of this package in AUR: https://aur.archlinux.org/packages/draftsight/"
echo "Or for additional reading, refer to manual pages nv(4), nouveau(4), xorg.conf(5); and the Wiki pages for Nvidia, Nouveau, and Xorg."
echo
}
post_remove()
{
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
update-desktop-database -q
update-mime-database usr/share/mime
}
|