Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137851 - linuxwacom-0.7.4-3 plus patch for XOrg7.1
Summary: linuxwacom-0.7.4-3 plus patch for XOrg7.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
: 133938 (view as bug list)
Depends on: 136100
Blocks:
  Show dependency tree
 
Reported: 2006-06-24 08:44 UTC by Federico Fissore
Modified: 2006-08-27 10:37 UTC (History)
6 users (show)

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


Attachments
linuxwacom-0.7.4-3 ebuild (linuxwacom-0.7.4_p3.ebuild,3.47 KB, text/plain)
2006-06-24 08:45 UTC, Federico Fissore
Details
xorg7.1 patch (xorg-7.1.patch,274 bytes, patch)
2006-06-24 08:45 UTC, Federico Fissore
Details | Diff
emerge --info (emerge--info,2.92 KB, text/plain)
2006-06-24 08:56 UTC, Federico Fissore
Details
linuxwacom-0.7.4_p3.ebuild.patch (linuxwacom-0.7.4_p3.ebuild.patch,4.41 KB, patch)
2006-08-13 06:54 UTC, Gilles Dartiguelongue (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Federico Fissore 2006-06-24 08:44:15 UTC
i managed to have a working ebuild for the latest version of linuxwacom 0.7.4-3 using gcc4.1.1, XOrg7.1 and a Volito2 tablet

Anyway my kernel (2.6.16-r10) does NOT have a working module for my tablet (it is simply mute) and I wasn't able to make the ebuild build its own and install it

the workaround was to compile the kernel module contained in linuxwacom tar by myself and copying it to the right module folder

Please use my ebuild to have a ~arch version of linuxwacom in the tree.

I've read this bug #107518 and, yes I'm sorry, I've added a (useless) "kernel" flag

Hope this will help
Comment 1 Federico Fissore 2006-06-24 08:45:09 UTC
Created attachment 90034 [details]
linuxwacom-0.7.4-3 ebuild
Comment 2 Federico Fissore 2006-06-24 08:45:44 UTC
Created attachment 90035 [details, diff]
xorg7.1 patch
Comment 3 Federico Fissore 2006-06-24 08:56:24 UTC
Created attachment 90036 [details]
emerge --info
Comment 4 Rafael Fernández López 2006-06-27 03:23:54 UTC
Great !! It worked here in ~amd64 !!
Comment 5 crusaderky 2006-07-26 06:56:58 UTC
is the xorg patch needed on 7.0 too?
Comment 6 Federico Fissore 2006-07-26 08:02:54 UTC
(In reply to comment #5)
> is the xorg patch needed on 7.0 too?
> 

afaik, from version 0.7.4-2 linuxwacom support xorg 7 without patches. but I haven't tested it.
please leave a feedback if it compiles successfully without the patch (and if the ebuild is working correctly)
thank you
Comment 7 crusaderky 2006-07-26 08:25:53 UTC
yes, it works with gentoo-sources-2.6.17-r4 (patched with the linuxwacom modules) and xorg-x11-7.0-r1. 

However, if I draw a very simple line with the brush in gimp-2.3.10, sometimes the cursor gets stuck and I can unlock it only by raising the pen. (doesn't happen when using the mouse).
Comment 8 Federico Fissore 2006-07-26 08:46:18 UTC
(In reply to comment #7)
> yes, it works with gentoo-sources-2.6.17-r4 (patched with the linuxwacom
> modules) and xorg-x11-7.0-r1. 

happy about that!

> 
> However, if I draw a very simple line with the brush in gimp-2.3.10, sometimes
> the cursor gets stuck and I can unlock it only by raising the pen. (doesn't
> happen when using the mouse).
> 

linuxwacom officially supports xorg-7 but your kernel is a bit too recent. I don't know if it is the issue. try switching to a 2.6.16 kernel and/or look for a solution of linuxwacom web site and mailing list
Comment 9 Federico Fissore 2006-07-26 08:49:54 UTC
anyway, my gimp 2.3.10 don't even recognize my extended input device.
so I look at this ebuild as a workaround, not as a final solution.
better news will come when linuxwacom will officially support xorg-7.1
Comment 10 Stuart Longland (RETIRED) gentoo-dev 2006-07-27 06:13:02 UTC
*** Bug 133938 has been marked as a duplicate of this bug. ***
Comment 11 Stuart Longland (RETIRED) gentoo-dev 2006-07-27 06:18:02 UTC
As per the comment in bug #133938, I've marked it a duplicate of this one (since they cover the same topic).

I'll have a look at this sometime on the weekend, as I need an updated driver to use my Graphire 4 on Linux.  (And it works much better on Linux than Windows ;-)
Comment 12 Thomas Esteve 2006-08-12 10:35:22 UTC
It works great on my ~x86 box
Xorg 7.1 and latest Kernel 2.6.17-r4

Notice that I had to reactivate input devices in gimp's preferences window.

A big THANKS from France ;)
Comment 13 Gilles Dartiguelongue (RETIRED) gentoo-dev 2006-08-13 06:54:40 UTC
Created attachment 94143 [details, diff]
linuxwacom-0.7.4_p3.ebuild.patch

this patch is against linuxwacom-0.7.2, actually latest version in the tree.
I removed gtk2 use flag and the actual selection of which additional program you get compiled is based on presence of gtk flag and which gtk version you have install.

I also simplified tests for each useflags.

I removed the kernel flag from the other proposed ebuild because, as the author said, it's useless and should be reworked with the linux-mod eclass. My patch doesn't cover kernel side because I don't have such a device. If someone is gonna step up for this, he should probably add a 'evdev' flag to the ebuild.

please review, test and comment.
Comment 14 Hanno Böck gentoo-dev 2006-08-25 19:57:12 UTC
Added cleaned up ebuild and moved to x11-drivers.
Comment 15 Gilles Dartiguelongue (RETIRED) gentoo-dev 2006-08-27 10:21:07 UTC
please correct to ebuild concerning the following points :
- tcltk -> tcl tk (split)
- gtk gtk2 -> gtk (merge)

as xorg-6.8 is still in the tree, can we keep support for it until it totally vanishes out ?