Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#35301 closed defect (fixed)

wxWidgets-devel: patch for deprecated mouse events on Lion

Reported by: mojca (Mojca Miklavec) Owned by: jyrkiwahlstedt
Priority: Low Milestone:
Component: ports Version: 2.1.1
Keywords: lion Cc: anddam (Andrea D'Amore)
Port: wxWidgets-devel

Description

I would like to request applying the following patch:

to get rid of the following warnings

2011-12-02 17:29:04.748 gnuplot[51573:3103] -_continuousScroll is deprecated for NSScrollWheel. Please use -hasPreciseScrollingDeltas.
2011-12-02 17:29:04.749 gnuplot[51573:3103] -deviceDeltaX is deprecated for NSScrollWheel. Please use -scrollingDeltaX.
2011-12-02 17:29:04.749 gnuplot[51573:3103] -deviceDeltaY is deprecated for NSScrollWheel. Please use -scrollingDeltaY.

in gnuplot.

Attachments (1)

wxWidgets-devel_deprecated-mouse-events.patch (3.0 KB) - added by mojca (Mojca Miklavec) 12 years ago.
Patch for wxwidgets-devel to remove deprecated functions (from http://trac.wxwidgets.org/changeset/72195)

Download all attachments as: .zip

Change History (8)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: lion added
Owner: changed from macports-tickets@… to jwa@…
Summary: patch for deprecated mouse events on LionwxWidgets-devel: patch for deprecated mouse events on Lion

Changed 12 years ago by mojca (Mojca Miklavec)

Patch for wxwidgets-devel to remove deprecated functions (from http://trac.wxwidgets.org/changeset/72195)

comment:2 Changed 12 years ago by jyrkiwahlstedt

Priority: NormalLow

I lowered the priority, because those being deprecated is cosmetic only, annoying sure, but not a showstopper. I'll add the patch at some point, but this being a -devel port, this may even change upstream…

comment:3 Changed 12 years ago by mojca (Mojca Miklavec)

Btw: I just realized that deviceDeltaX & Y recently disappeared from Apple's online documentation. But it probably nevertheless still works on 10.8?

I don't believe that this particular code will change upstream any time soon, but even if it does, there's no need to follow their patches once the warnings are silenced. The patch will be included in 2.9.5/3.0 of course, but it might be that OSX 10.9 will be out sooner than that ;)

True, it's just a cosmetic issue, and true, it's a bit annoying. (Most of the time warnings of deprecated functions are only seen during compilation, but this one manifests when running the program.)

comment:4 Changed 12 years ago by anddam (Andrea D'Amore)

Cc: and.damore@… added

Cc Me!

comment:5 Changed 12 years ago by anddam (Andrea D'Amore)

Cc: jwa@… removed

comment:6 Changed 12 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: newclosed

Patch committed in r97060 with slight changes. I moved the upstream changeset reference into the patch file itself.

comment:7 Changed 12 years ago by raimue (Rainer Müller)

Oh, forgot to mention: Maintainer timeout.

Note: See TracTickets for help on using tickets.