summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2026-02-05 20:36:13 +0100
committerSlávek Banko <slavek.banko@axis.cz>2026-02-06 03:18:32 +0100
commitf0635eebccb5520e01faff7e9406a98d46dd0f8c (patch)
tree9398fa2ae74186e75346ee9662a40738f9f01f9c
parent34f077da4d7246ffd8821b80dce941adf27bce90 (diff)
downloadextra-dependencies-f0635eebccb5520e01faff7e9406a98d46dd0f8c.tar.gz
extra-dependencies-f0635eebccb5520e01faff7e9406a98d46dd0f8c.zip
DEB compiz-trinity: Replace TRUE/FALSE with boolean values true/false.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--debian/compiz-trinity/compiz-trinity-0.8.4/debian/changelog6
-rw-r--r--debian/compiz-trinity/compiz-trinity-0.8.4/debian/patches/113-tqt-rename-true-false.diff174
-rw-r--r--debian/compiz-trinity/compiz-trinity-0.8.4/debian/patches/series1
3 files changed, 181 insertions, 0 deletions
diff --git a/debian/compiz-trinity/compiz-trinity-0.8.4/debian/changelog b/debian/compiz-trinity/compiz-trinity-0.8.4/debian/changelog
index 8a38037b..24c446c3 100644
--- a/debian/compiz-trinity/compiz-trinity-0.8.4/debian/changelog
+++ b/debian/compiz-trinity/compiz-trinity-0.8.4/debian/changelog
@@ -1,3 +1,9 @@
+compiz-trinity (0.8.4-3debian14.0.0+18~a) forky; urgency=low
+
+ * Replace TRUE/FALSE with boolean values true/false.
+
+ -- Slávek Banko <slavek.banko@axis.cz> Thu, 05 Feb 2026 20:35:50 +0100
+
compiz-trinity (0.8.4-3debian14.0.0+17~a) forky; urgency=low
* Adjust after renaming ksimpleconfig -> tdesimpleconfig
diff --git a/debian/compiz-trinity/compiz-trinity-0.8.4/debian/patches/113-tqt-rename-true-false.diff b/debian/compiz-trinity/compiz-trinity-0.8.4/debian/patches/113-tqt-rename-true-false.diff
new file mode 100644
index 00000000..c0081f14
--- /dev/null
+++ b/debian/compiz-trinity/compiz-trinity-0.8.4/debian/patches/113-tqt-rename-true-false.diff
@@ -0,0 +1,174 @@
+Index: b/tde/window-decorator/decorator.cpp
+===================================================================
+--- a/tde/window-decorator/decorator.cpp
++++ b/tde/window-decorator/decorator.cpp
+@@ -568,7 +568,7 @@
+ if (client->handleMap ())
+ {
+ if (!mIdleTimer.isActive ())
+- mIdleTimer.start (0, TRUE);
++ mIdleTimer.start (0, true);
+ }
+ } break;
+ case ConfigureNotify: {
+@@ -589,7 +589,7 @@
+ if (client->handleConfigure (TQSize (xce->width, xce->height)))
+ {
+ if (!mIdleTimer.isActive ())
+- mIdleTimer.start (0, TRUE);
++ mIdleTimer.start (0, true);
+ }
+ } break;
+ case SelectionRequest:
+@@ -801,7 +801,7 @@
+ if (client->pixmapId ())
+ {
+ if (!mIdleTimer.isActive ())
+- mIdleTimer.start (0, TRUE);
++ mIdleTimer.start (0, true);
+ }
+
+ return true;
+Index: b/tde/window-decorator/utils.cpp
+===================================================================
+--- a/tde/window-decorator/utils.cpp
++++ b/tde/window-decorator/utils.cpp
+@@ -155,7 +155,7 @@
+
+ KWD::trapXError ();
+ result = XGetWindowProperty (tqt_xdisplay (), id, property,
+- 0L, 1L, FALSE, XA_CARDINAL, &actual, &format,
++ 0L, 1L, false, XA_CARDINAL, &actual, &format,
+ &n, &left, &data);
+ if (KWD::popXError ())
+ return defaultValue;
+Index: b/tde/window-decorator/window.cpp
+===================================================================
+--- a/tde/window-decorator/window.cpp
++++ b/tde/window-decorator/window.cpp
+@@ -102,8 +102,8 @@
+ {
+ mName = wInfo.visibleName ();
+
+- mIcons = TQIconSet (KWin::icon (mClientId, 16, 16, TRUE),
+- KWin::icon (mClientId, 32, 32, TRUE));
++ mIcons = TQIconSet (KWin::icon (mClientId, 16, 16, true),
++ KWin::icon (mClientId, 32, 32, true));
+ mOpacity = readPropertyShort (mClientId, Atoms::netWmWindowOpacity,
+ 0xffff);
+ }
+@@ -413,7 +413,7 @@
+ bool active = isActive ();
+
+ if (!mSupportTakeFocus)
+- active = TRUE;
++ active = true;
+
+ switch (qme->button ()) {
+ case TQt::LeftButton:
+@@ -1097,7 +1097,7 @@
+ if (!force)
+ {
+ if (w == width () && h == height ())
+- return FALSE;
++ return false;
+ }
+
+ /* reset shape */
+@@ -1192,7 +1192,7 @@
+ mDecor->widget ()->show ();
+ mDecor->widget ()->repaint ();
+
+- return TRUE;
++ return true;
+ }
+
+ void
+@@ -1225,33 +1225,33 @@
+ KWD::Window::handleMap (void)
+ {
+ if (!mPendingMap)
+- return FALSE;
++ return false;
+
+ mPendingMap = 0;
+ if (mPendingConfigure)
+- return FALSE;
++ return false;
+
+ rebindPixmap ();
+
+- return TRUE;
++ return true;
+ }
+
+ bool
+ KWD::Window::handleConfigure (TQSize size)
+ {
+ if (!mPendingConfigure)
+- return FALSE;
++ return false;
+
+ if (size != mSize)
+- return FALSE;
++ return false;
+
+ mPendingConfigure = 0;
+ if (mPendingConfigure || mPendingMap)
+- return FALSE;
++ return false;
+
+ rebindPixmap ();
+
+- return TRUE;
++ return true;
+ }
+
+ void
+@@ -1791,8 +1791,8 @@
+ void
+ KWD::Window::updateIcons (void)
+ {
+- mIcons = TQIconSet (KWin::icon (mClientId, 16, 16, TRUE),
+- KWin::icon (mClientId, 32, 32, TRUE));
++ mIcons = TQIconSet (KWin::icon (mClientId, 16, 16, true),
++ KWin::icon (mClientId, 32, 32, true));
+ mDecor->iconChange ();
+ }
+
+@@ -1995,7 +1995,7 @@
+ r2.handle (),
+ (unsigned short) (alpha * 0xffff),
+ shade_alpha,
+- TRUE);
++ true);
+ }
+
+ xOff = 0;
+@@ -2018,7 +2018,7 @@
+ r2.handle (),
+ (unsigned short) (alpha * 0xffff),
+ shade_alpha,
+- TRUE);
++ true);
+ }
+
+ xOff = 0;
+@@ -2041,7 +2041,7 @@
+ r2.handle (),
+ (unsigned short) (alpha * 0xffff),
+ shade_alpha,
+- TRUE);
++ true);
+ }
+
+ xOff = mContext.extents.left + mGeometry.width ();
+@@ -2064,7 +2064,7 @@
+ r2.handle (),
+ (unsigned short) (alpha * 0xffff),
+ shade_alpha,
+- TRUE);
++ true);
+ }
+
+ mDamage = TQRegion ();
diff --git a/debian/compiz-trinity/compiz-trinity-0.8.4/debian/patches/series b/debian/compiz-trinity/compiz-trinity-0.8.4/debian/patches/series
index 316d9715..f42df2ce 100644
--- a/debian/compiz-trinity/compiz-trinity-0.8.4/debian/patches/series
+++ b/debian/compiz-trinity/compiz-trinity-0.8.4/debian/patches/series
@@ -33,3 +33,4 @@ kubuntu_04_trinity.patch
110-rename-kstandarddirs.diff
111-remove-dbus-tqt-1-dependency.diff
112-rename-ksimpleconfig.diff
+113-tqt-rename-true-false.diff