diff options
author | Chris <xchrisx@uber.space> | 2019-12-31 17:21:13 +0100 |
---|---|---|
committer | Chris <xchrisx@uber.space> | 2019-12-31 17:21:13 +0100 |
commit | 55d2aaa4eb5201ac97e269fc141e4ee1778379b8 (patch) | |
tree | 810ece5e004aa9e97e26a1ad988ed52552175fb6 /dev-qt/qt/files/trinity-3.5.13.1..3.5.13.2/qt3-2013-05-04_17_28_30-Fix-ARGB-mode-stippled-focus-rectangle-showing-underlying-window-contents-Fix-TQColor-not-processing-alpha-channel-in-ARGB-mode-d2240de.patch | |
parent | 644110a847c5911c2eb04eb53c93031740561efc (diff) | |
download | tde-packaging-gentoo-55d2aaa4eb5201ac97e269fc141e4ee1778379b8.tar.gz tde-packaging-gentoo-55d2aaa4eb5201ac97e269fc141e4ee1778379b8.zip |
Clean up and fix TDE Gentoo overlay.
- Remove old v3.5.13 ebuilds and eclasses
- Change repo URL to official TGW
- Remove old HAL and traces (TDEHW is used now)
- Make split between TDE applications and tdebase consistent
- Move TQt into own category (for users filtering dev-qt/ out)
- Change to new TQTDIR var
- Move away from virtual/pam dependency
- Change to use new xorg-proto dependency
- Some cosmetic fixes and removal of unneeded files
- Remove some now obsolete patches
- Change to clean 9999 naming scheme for anything
- Add some potential workaround for newer portage versions
- Add own README
... thanks to Aggi from IRC for some fixes too.
Signed-off-by: Chris <xchrisx@uber.space>
Diffstat (limited to 'dev-qt/qt/files/trinity-3.5.13.1..3.5.13.2/qt3-2013-05-04_17_28_30-Fix-ARGB-mode-stippled-focus-rectangle-showing-underlying-window-contents-Fix-TQColor-not-processing-alpha-channel-in-ARGB-mode-d2240de.patch')
1 files changed, 0 insertions, 62 deletions
diff --git a/dev-qt/qt/files/trinity-3.5.13.1..3.5.13.2/qt3-2013-05-04_17_28_30-Fix-ARGB-mode-stippled-focus-rectangle-showing-underlying-window-contents-Fix-TQColor-not-processing-alpha-channel-in-ARGB-mode-d2240de.patch b/dev-qt/qt/files/trinity-3.5.13.1..3.5.13.2/qt3-2013-05-04_17_28_30-Fix-ARGB-mode-stippled-focus-rectangle-showing-underlying-window-contents-Fix-TQColor-not-processing-alpha-channel-in-ARGB-mode-d2240de.patch deleted file mode 100644 index cb9e29c8..00000000 --- a/dev-qt/qt/files/trinity-3.5.13.1..3.5.13.2/qt3-2013-05-04_17_28_30-Fix-ARGB-mode-stippled-focus-rectangle-showing-underlying-window-contents-Fix-TQColor-not-processing-alpha-channel-in-ARGB-mode-d2240de.patch +++ /dev/null @@ -1,62 +0,0 @@ -diff --git a/src/kernel/qcolor_x11.cpp b/src/kernel/qcolor_x11.cpp -index eeaee5e..dbd039e 100644 ---- a/src/kernel/qcolor_x11.cpp -+++ b/src/kernel/qcolor_x11.cpp -@@ -407,8 +407,14 @@ uint QColor::alloc( int screen ) - b = sd->blue_shift > 0 ? b << sd->blue_shift : b >> -sd->blue_shift; - pix = (b & sd->blue_mask) | (g & sd->green_mask) | (r & sd->red_mask) - | ~(sd->blue_mask | sd->green_mask | sd->red_mask); -- if ( screen == QPaintDevice::x11AppScreen() ) -+ if (QPaintDevice::x11AppDepth(screen) == 32) { -+ int a = qAlpha(d.argb); -+ pix = pix & 0x00ffffff; -+ pix = pix | (a << 24); -+ } -+ if ( screen == QPaintDevice::x11AppScreen() ) { - d.d32.pix = pix; -+ } - return pix; - } - QColorData *c = sd->colorDict->find( (long)(d.argb) ); -diff --git a/src/kernel/qpainter_x11.cpp b/src/kernel/qpainter_x11.cpp -index 126c0d6..267887e 100644 ---- a/src/kernel/qpainter_x11.cpp -+++ b/src/kernel/qpainter_x11.cpp -@@ -1842,16 +1842,24 @@ void QPainter::drawWinFocusRect( int x, int y, int w, int h, - RasterOp old_rop = (RasterOp)rop; - - if ( xorPaint ) { -- if ( QColor::numBitPlanes() <= 8 ) -+ if ( QColor::numBitPlanes() <= 8 ) { - setPen( QPen(color1, 0, Qt::FineDotLine) ); -- else -+ } -+ else if ( QColor::numBitPlanes() <= 8 ) { - setPen( QPen(white, 0, Qt::FineDotLine) ); -+ } -+ else { -+ setPen( QPen(QColor(qRgba(255,255,255,0)), 0, Qt::FineDotLine) ); -+ } - setRasterOp( XorROP ); -- } else { -- if ( qGray( bgColor.rgb() ) < 128 ) -+ } -+ else { -+ if ( qGray( bgColor.rgb() ) < 128 ) { - setPen( QPen(white, 0, Qt::FineDotLine) ); -- else -+ } -+ else { - setPen( QPen(black, 0, Qt::FineDotLine) ); -+ } - } - - if ( testf(ExtDev|VxF|WxF) ) { -@@ -1876,6 +1884,7 @@ void QPainter::drawWinFocusRect( int x, int y, int w, int h, - XSetLineAttributes( dpy, gc, 1, LineOnOffDash, CapButt, JoinMiter ); - - XDrawRectangle( dpy, hd, gc, x, y, w-1, h-1 ); -+ - XSetLineAttributes( dpy, gc, 0, LineSolid, CapButt, JoinMiter ); - setRasterOp( old_rop ); - setPen( old_pen ); |