Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123858 - gtk+-2.8 - Wacom pointer offset when using TopY other than 0
Summary: gtk+-2.8 - Wacom pointer offset when using TopY other than 0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 119872
  Show dependency tree
 
Reported: 2006-02-23 13:59 UTC by Beech Horn
Modified: 2006-03-14 18:35 UTC (History)
0 users

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


Attachments
gtk+-2.8-gtkinput.patch (gtk+-2.8-gtkinput.patch,716 bytes, patch)
2006-02-23 14:00 UTC, Beech Horn
Details | Diff
gtk+-2.8.12-r1.ebuild (gtk+-2.8.12-r1.ebuild,4.15 KB, text/plain)
2006-02-23 14:01 UTC, Beech Horn
Details
linuxwacom-0.7.2-rotate.patch (linuxwacom-0.7.2-rotate.patch,12.29 KB, patch)
2006-02-23 14:02 UTC, Beech Horn
Details | Diff
linuxwacom-0.7.2-r1.ebuild (linuxwacom-0.7.2-r1.ebuild,3.35 KB, text/plain)
2006-02-23 14:03 UTC, Beech Horn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Beech Horn 2006-02-23 13:59:56 UTC
Ratio of my Wacom and monitor don't match that well.
Therefore I tried restricting the TopY with "xsetwacom set stylus TopY 7296".
Works fine, except on GIMP image windows. Arrow and tool indicator icon are
drawn where the pointer is supposed to be. But the brush appears some
centimeters above it. The distances changes from bottom to top, becoming smaller.

It seems the brush still moves like with unrestricted TopY, since the distortion
is the same (checked by tracing a pencil sketch).
Comment 1 Beech Horn 2006-02-23 14:00:43 UTC
Created attachment 80557 [details, diff]
gtk+-2.8-gtkinput.patch

Patch for GTK+-2.8.x
Comment 2 Beech Horn 2006-02-23 14:01:24 UTC
Created attachment 80558 [details]
gtk+-2.8.12-r1.ebuild

Example ebuild.
Comment 3 Beech Horn 2006-02-23 14:02:32 UTC
Created attachment 80559 [details, diff]
linuxwacom-0.7.2-rotate.patch

Patch for Linuxwacom 0.7.2 (follow the link on this bug for the 0.7.0 version if wanted).
Comment 4 Beech Horn 2006-02-23 14:03:12 UTC
Created attachment 80560 [details]
linuxwacom-0.7.2-r1.ebuild

Example ebuild.
Comment 5 Beech Horn 2006-02-23 14:05:46 UTC
Worked on:

beech@Pirhana ~ $ emerge info

Portage 2.1_pre4-r1 (default-linux/x86/2006.0, gcc-4.1.0-pre20060219, glibc-2.3.90.20060207
-r0, 2.6.16-rc3-nitro1 i686)
=================================================================
System uname: 2.6.16-rc3-nitro1 i686 AMD Athlon(tm) XP 3200+
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.91.0.6
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS=" -falign-functions=64 -falign-jumps=64 -falign-labels=64 -falign-loops=64 -fbounds-
check -fforce-addr -finline-functions -finline-limit=64 -fno-ident -fomit-frame-pointer -fo
ptimize-register-move -foptimize-sibling-calls -fprefetch-loop-arrays -fthread-jumps -ftrac
er -m3dnow -maccumulate-outgoing-args -march=athlon-4 -mcpu=athlon-4 -minline-all-stringops
 -mmmx -mno-sse2 -mno-sse3 -momit-leaf-frame-pointer -msse -mtune=athlon-4 -O3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/boot /etc /usr/bin/emerge /usr/kde/2/share/config /usr/kde/3.5/env /usr/kd
e/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/sh
are/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS=" -falign-functions=64 -falign-jumps=64 -falign-labels=64 -falign-loops=64 -fbound
s-check -fforce-addr -finline-functions -finline-limit=64 -fno-ident -fomit-frame-pointer -
foptimize-register-move -foptimize-sibling-calls -fprefetch-loop-arrays -fthread-jumps -ftr
acer -m3dnow -maccumulate-outgoing-args -march=athlon-4 -mcpu=athlon-4 -minline-all-stringo
ps -mmmx -mno-sse2 -mno-sse3 -momit-leaf-frame-pointer -msse -mtune=athlon-4 -O3 -ffriend-i
njection -fno-enforce-eh-specs -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache digest fixpackages parallel-fetching prelink sandbox
sfperms strict suidctl userpriv usersandbox"
GENTOO_MIRRORS=" http://gentoo.osuosl.org/ http://adelie.polymtl.ca/ http://gentoo.intergen
ia.de http://www.gtlib.gatech.edu/pub/gentoo http://mirror.datapipe.net/gentoo http://darks
tar.ist.utl.pt/gentoo/ http://ftp.linux.ee/pub/gentoo/distfiles/ http://ds.thn.htu.se/linux
/gentoo http://gentoo.channelx.biz/ http://prometheus.cs.wmich.edu/gentoo http://gentoo.cit
es.uiuc.edu/pub/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.hamakor
.org.il/pub/mirrors/gentoo/ http://fido.online.kz/gentoo http://ftp.romnet.org/gentoo/ http
://ftp.physics.auth.gr/pub/mirrors/gentoo/ http://gentoo.mirrors.tds.net/gentoo http://ftp.
club-internet.fr/pub/mirrors/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ft
p.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://www.die.unipd.it/pub/Linux/distributions
/gentoo-sources/ http://ftp.caliu.info/pub/gentoo/ http://modzer0.cs.uaf.edu/public/gentoo/
 http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://mirror.etf.bg.ac.yu/gentoo ht
tp://gentoo.modulix.net/gentoo/ http://mirror.aiya.ru/pub/gentoo/ http://gentoo.mirror.soln
et.ch http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp-stud.fht-esslingen.de/pub/Mi
rrors/gentoo/ http://ftp.uoi.gr/mirror/OS/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ htt
p://gentoo.mirrors.pair.com/ http://mirror.espri.arizona.edu/gentoo/ http://gentoo.prz.rzes
zow.pl http://ftp.twaren.net/Linux/Gentoo/ http://mirror.phy.olemiss.edu/mirror/gentoo http
://gentoo.seren.com/gentoo http://mirror.mcs.anl.gov/pub/gentoo/ http://mirrors.acm.cs.rpi.
edu/gentoo/ http://gentoo.ynet.sk/pub http://ftp.swin.edu.au/gentoo http://ftp.citkit.ru/pu
b/Linux/gentoo http://ftp.du.se/pub/os/gentoo http://mirror.ovh.net/gentoo-distfiles/ http:
//gentoo.chem.wisc.edu/gentoo/ http://ftp.lug.ro/gentoo/ http://www.las.ic.unicamp.br/pub/g
entoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://ftp.rhnet.is/pub/ge
ntoo/ http://ftp.roedu.net/pub/mirrors/gentoo.org/ http://ftp.ankara.edu.tr/gentoo/ http://
gentoo.gg3.net/ http://ftp.ntua.gr/pub/linux/gentoo/ http://gentoo.ITDNet.net/gentoo http:/
/gentoo.ngi.it http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.mir
rored.ca/ http://gentoo.inf.elte.hu/ http://gentoo.inode.at/ http://mirror.switch.ch/ftp/mi
rror/gentoo/ http://gentoo.cs.lewisu.edu/gentoo/ http://src.gentoo.pl http://gentoo.netnitc
o.net http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.mirrors.easynews.com/linux/g
entoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.po.opole.pl http://gd.tuwien
.ac.at/opsys/linux/gentoo/ http://mirror.uni-c.dk/pub/gentoo/ http://cudlug.cudenver.edu/ge
ntoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://gentoo.zie.pg.gda.p
l http://gentoo.kems.net http://gentoo.llarian.net/ http://trumpetti.atm.tut.fi/gentoo/ htt
p://gentoo.blueyonder.co.uk http://ftp.heanet.ie/pub/gentoo/ http://linuv.uv.es/mirror/gent
oo/ http://mirror.gentoo.no/ http://ftp.isu.edu.tw/pub/Linux/Gentoo"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS=""
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac aalib acct acl acpi adns aio alsa aotuv asf asm async aud                                                                 iofile authdaemond automount avi bash-completion bashlogger berkdb bl boundschecking browse                                                                 rplugin bzip2 cairo cddb cdparanoia cdr chroot crypt css cups curl custom-cflags d3d dcop d                                                                 ga doc dts dv dvb dvd dvdr dvdread dxr3 dynamic edl emboss encode erandom ethereal exif exp                                                                 at extrafilters fam fame fbcon ffmpeg firefox flac fltk font-server fontconfig foomaticdb g                                                                 cc4ssp gif gimp gimpprint gimpshop glibc-omitfp gnutls gphoto2 gpm gtk gtk2 gtkhtml hal har                                                                 dened howl idb idn ieee1394 imagemagick imlib ipv6 ithreads jack jack-tmpfs jade java javas                                                                 cript jikes joystick jpeg jpeg2k junit justify kde kdeenablefinal kdexdeltas kerberos ladcc                                                                 a lcms ldap ldapsam libcaca libdsk libedit libg++ libwww lirc live logrotate lzo mad madwif                                                                 i mailwrapper mikmod mjpeg mmap mmx mmxext mng modplug mozcalendar mozdevelop mozilla mozno                                                                 xft mozsvg mp3 mpeg msn multicall musepack musicbrainz nas ncurses network nis nls nomalloc                                                                 check nptl nptlonly nsplugin nvidia odbc ogg on-the-fly-crypt opengl openjade openntpd osc                                                                  oss pam pam_chroot pam_console pam_timestamp parse-clocks pdf pdflib perl physfs pic png po                                                                 rtaudio ppds prelude profile psyco pwdb python qt quicktime quotas readline real rle rtc sa                                                                 mba sametime sasl savedconfig scanner sdk sdl sendfile shaper skey slang slp sndfile snmp s                                                                 oftquota soundtouch spamassassin speex spell sse ssl streamzap svg svga swat symlink syslog                                                                  tablet tcltk tcpd test tetex tga theora threads tiff toolbar tools truetype truetype-fonts                                                                  udev unicode urandom usb userlocales v4l v4l2 vcd vdr verbose vidix visualization vorbis w                                                                 ifi win32codecs winbind wmf xanim xcomposite xine xinerama xml xml2 xpm xv xvid xvmc yv12 z                                                                 eroconf zlib elibc_glibc input_devices_evdev input_devices_joystick input_devices_keyboard                                                                  input_devices_mouse input_devices_wacom kernel_linux linguas_en_GB userland_GNU video_cards                                                                 _nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-02-23 14:16:51 UTC
Don't mark bugs fixed until fixed in portage.
Comment 7 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-03-03 13:25:38 UTC
We will watch the upstream bugs for integrating these changes.  The changes are non-trivial, therefore, it would be better for upstream to integrate the changes rather than us.
Comment 8 Beech Horn 2006-03-04 07:50:51 UTC
http://bugzilla.gnome.org/show_bug.cgi?id=142536 <- The patch has been accepted - as GTK-2.8.13 isn't in official portage (only gnome-experimental) if it does get into portage before 2.8.14 (which will include this patch) could you please include it for WACOM users!
Comment 9 John N. Laliberte (RETIRED) gentoo-dev 2006-03-08 16:32:17 UTC
.14 which includes this patch is in the overlay. it depends on glib 2.10.1, so its not in the regular tree just yet.
Comment 10 Beech Horn 2006-03-08 16:50:53 UTC
Thanks for the heads up :D

From my recent Gentoo experience I think patches like this will need to be kept upstream. Only the linuxwacom development seems to be inactive... If anyone has contact details for the upstream dev(s) could you please send a message or relay them to me.
Comment 11 John N. Laliberte (RETIRED) gentoo-dev 2006-03-14 18:35:01 UTC
thanks for being patient.  2.8.15 in cvs ( still pmasked for the moment )