diff options
author | Junqian Gordon Xu <xjqian@gmail.com> | 2007-12-13 09:58:00 +0000 |
---|---|---|
committer | Junqian Gordon Xu <xjqian@gmail.com> | 2007-12-13 09:58:00 +0000 |
commit | ec163abdb68da4938ee7ee153995fc680100a2b5 (patch) | |
tree | df72b225feeb6e1635a29d1818bb36391e3f8173 /packages/roadmap/files/qt/qt_canvas.patch | |
parent | f637b5e883b11a5c5ab68758f8f75437ac8d5780 (diff) |
roadmap: 1st round of updating roadmap recipies after moving zroadmap over to roadmap
* refactor, unify. roadmap.inc (global), zroadmap.in (qt global)
* add common qt patches >= 1.1.0 to files/qt
* add zroadmap_1.1.0.bb, update zroadmap_cvs.bb (set temp local SRCDATE)
* config: remove popt (used for building maps) from DEPEND in *.bb
* config: s/OE_QMAKE_CXXFLAG/OE_QMAKE_CFLAG in zroadmap 1.1.0 and cvs
* install: add missing icons to *.bb
* many small changes
** next round of updates will make gtk2 version of roadmap kosher
Diffstat (limited to 'packages/roadmap/files/qt/qt_canvas.patch')
-rw-r--r-- | packages/roadmap/files/qt/qt_canvas.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/roadmap/files/qt/qt_canvas.patch b/packages/roadmap/files/qt/qt_canvas.patch new file mode 100644 index 0000000000..13c775c8cb --- /dev/null +++ b/packages/roadmap/files/qt/qt_canvas.patch @@ -0,0 +1,20 @@ +--- src/qt/qt_canvas.cc.old 2007-12-08 20:29:52.000000000 -0600 ++++ src/qt/qt_canvas.cc 2007-12-13 02:34:22.000000000 -0600 +@@ -122,7 +122,7 @@ void RMapCanvas::getTextExtents(const ch + *w = r.width(); + *ascent = fm.ascent(); + *descent = fm.descent(); +-#ifdef QT_NO_ROTATE ++#ifdef QT_NO_TRANSFORMATIONS + if (can_tilt) *can_tilt = 0; + #else + if (can_tilt) *can_tilt = 1; +@@ -169,7 +169,7 @@ void RMapCanvas::drawString(RoadMapGuiPo + + void RMapCanvas::drawStringAngle(RoadMapGuiPoint* position, + int center, const char* text, int angle) { +-#ifndef QT_NO_ROTATE ++#ifndef QT_NO_TRANSFORMATIONS + if (!pixmap) { + return; + } |