0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-08-05 07:10:35 +00:00
Files
termux-packages/x11-packages/thunderbird/0031-disable-systray-x86_64.patch
Robert Kirkman 0c687b97ed bump(x11/thunderbird): 137.0.1
- Fixes #24070

- makes the `mozconfig.cfg`, `build.sh` and patches of `thunderbird` very similar to `firefox`, except for places where `thunderbird` is different

- `disable-systray-x86_64.patch`: fixes the build of `thunderbird` 136.0.1 for x86_64 Termux specifically. has been tested at runtime on a bare metal 64-bit Android-x86 device, and behaves as expected (uniform behavior with other architectures of Termux `thunderbird` 136.0.1)

- `toolbar-based-custom-compose-window-width-for-ralfwerner.patch`: hardcoded custom dimensions of the edit window formatting toolbar to provide a workaround for edit window minimum text wrapping width high-dpi-scaling low-resolution situations in HTML mode while preserving the formatting toolbar functionality

- `icu-22132.patch`: fixes a bug in `libicu` that has been happening for a long time, which causes these features of `thunderbird` to begin functioning:
  - Search Bar
  - Address Book
  - Customize Toolbars
  - Calendar
  - Tasks
  - Chat
  - Settings Button
  - Hamburger Button
2025-04-05 11:14:51 -05:00

24 lines
1.1 KiB
Diff

For some reason, thunderbird currently has a system tray icon that upstream only
appears to have enabled on x86_64 GNU/Linux X11
(not ARM GNU/Linux X11 or 32-bit x86 GNU/Linux X11).
since the system tray code appears to have a dependency on dbus, but this thunderbird
is built with --disable-dbus, this disables the system tray code
(otherwise this other error would happen)
error: could not find system library 'dbus-1' required by the 'libdbus-sys' crate
This fixes this build error when targeting x86_64:
ld.lld: error: undefined symbol: nsLinuxSysTrayHandlerConstructor
--- a/comm/mailnews/base/src/components.conf
+++ b/comm/mailnews/base/src/components.conf
@@ -338,7 +338,7 @@ elif buildconfig.substs["OS_ARCH"] == "WINNT":
"headers": ["/comm/mailnews/base/src/nsMessengerWinIntegration.h"],
},
]
-elif buildconfig.substs["OS_ARCH"] == "Linux" and buildconfig.substs["TARGET_CPU"] == "x86_64":
+elif buildconfig.substs["OS_ARCH"] == "Linux" and buildconfig.substs["TARGET_CPU"] == "Disabling this":
Classes += [
{
"cid": "{d9e45fee-1dd1-11b2-938c-9147855ed837}",