After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 672576 - make wacom support optional
make wacom support optional
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: wacom
3.3.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
: 674625 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-03-21 17:41 UTC by Dan Horák
Modified: 2012-05-17 17:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
make wacom support optional (3.47 KB, patch)
2012-03-21 17:41 UTC, Dan Horák
rejected Details | Review
update for Fedora spec file (2.81 KB, patch)
2012-03-21 17:43 UTC, Dan Horák
rejected Details | Review
disable wacom for s390(x) (2.76 KB, patch)
2012-03-26 16:07 UTC, Dan Horák
committed Details | Review

Description Dan Horák 2012-03-21 17:41:37 UTC
Created attachment 210265 [details] [review]
make wacom support optional

Recently g-s-d got a hard dependency on the development files from the wacom xorg driver, but those files don't exist on all architectures (eg. s390). See attached patch for a fix.
Comment 1 Dan Horák 2012-03-21 17:43:47 UTC
Created attachment 210266 [details] [review]
update for Fedora spec file
Comment 2 Bastien Nocera 2012-03-26 13:25:30 UTC
What's the reason why it doesn't exist on s390? The development files could exist just as well on s390. In any case, I'm not taking those patches to make it optional.
Comment 3 Dan Horák 2012-03-26 13:41:56 UTC
They can't exist because the xorg server SDK is not built there, and the SDK is not built because no hardware drivers are built in the xserver, if I understand the dependencies correctly. And additionally you can't connect any wacom tablet to s390 and this won't change.

Adding the possibility to build without the wacom support was pre-acknowledged by mclasen.
Comment 4 Dan Horák 2012-03-26 13:49:28 UTC
And optional here means it can be disabled and is required by default.
Comment 5 Bastien Nocera 2012-03-26 13:51:14 UTC
(In reply to comment #3)
> They can't exist because the xorg server SDK is not built there, and the SDK is
> not built because no hardware drivers are built in the xserver, if I understand
> the dependencies correctly. And additionally you can't connect any wacom tablet
> to s390 and this won't change.

Then make it disabled automatically on s390. I don't want it to be an option, and I want builds to fail on every other platform which has the header missing.

> Adding the possibility to build without the wacom support was pre-acknowledged
> by mclasen.

Matthias isn't the maintainer of gnome-settings-daemon :)
Comment 6 Dan Horák 2012-03-26 14:03:42 UTC
(In reply to comment #5)
> (In reply to comment #3)
> > They can't exist because the xorg server SDK is not built there, and the SDK is
> > not built because no hardware drivers are built in the xserver, if I understand
> > the dependencies correctly. And additionally you can't connect any wacom tablet
> > to s390 and this won't change.
> 
> Then make it disabled automatically on s390. I don't want it to be an option,
> and I want builds to fail on every other platform which has the header missing.

Uff, I don't understand now, I think the patch does exactly this. Unless --disable-wacom is specified, it fails the build when all requirements are not met.

> > Adding the possibility to build without the wacom support was pre-acknowledged
> > by mclasen.
> 
> Matthias isn't the maintainer of gnome-settings-daemon :)

I know, but you was on vacation when I had to come with a solution to move fedora/s390x further.
Comment 7 Bastien Nocera 2012-03-26 14:15:01 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > (In reply to comment #3)
> > > They can't exist because the xorg server SDK is not built there, and the SDK is
> > > not built because no hardware drivers are built in the xserver, if I understand
> > > the dependencies correctly. And additionally you can't connect any wacom tablet
> > > to s390 and this won't change.
> > 
> > Then make it disabled automatically on s390. I don't want it to be an option,
> > and I want builds to fail on every other platform which has the header missing.
> 
> Uff, I don't understand now, I think the patch does exactly this. Unless
> --disable-wacom is specified, it fails the build when all requirements are not
> met.

Replace the user given "--disable-wacom" with a hard-coded check for s390, and I'm fine with it.
Comment 8 Dan Horák 2012-03-26 14:20:09 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > (In reply to comment #5)
> > > (In reply to comment #3)
> > > > They can't exist because the xorg server SDK is not built there, and the SDK is
> > > > not built because no hardware drivers are built in the xserver, if I understand
> > > > the dependencies correctly. And additionally you can't connect any wacom tablet
> > > > to s390 and this won't change.
> > > 
> > > Then make it disabled automatically on s390. I don't want it to be an option,
> > > and I want builds to fail on every other platform which has the header missing.
> > 
> > Uff, I don't understand now, I think the patch does exactly this. Unless
> > --disable-wacom is specified, it fails the build when all requirements are not
> > met.
> 
> Replace the user given "--disable-wacom" with a hard-coded check for s390, and
> I'm fine with it.

Thanks, understood, stay tuned :-)
Comment 9 Dan Horák 2012-03-26 16:07:17 UTC
Created attachment 210639 [details] [review]
disable wacom for s390(x)
Comment 10 Bastien Nocera 2012-03-29 09:26:26 UTC
Pushed, with the addition of a print at the end of the configure for the state of the option
Comment 11 Bastien Nocera 2012-04-23 14:42:06 UTC
*** Bug 674625 has been marked as a duplicate of this bug. ***
Comment 12 Bastien Nocera 2012-05-17 17:34:41 UTC
Comment on attachment 210639 [details] [review]
disable wacom for s390(x)

Pushed to gnome-3-4 as well