nixpkgs/pkgs/applications/networking/mailreaders/betterbird/betterbird.diff
2023-03-28 00:05:33 +02:00

45 lines
2.0 KiB
Diff

--- a/12-feature-linux-systray-example.patch
+++ b/12-feature-linux-systray-example.patch
@@ -8,18 +8,15 @@ diff --git a/third_party/appindicator/Makefile b/third_party/appindicator/Makefi
new file mode 100644
--- /dev/null
+++ b/third_party/appindicator/Makefile
-@@ -0,0 +1,34 @@
+@@ -0,0 +1,31 @@
+# Code from https://github.com/AyatanaIndicators/libayatana-appindicator
+# and related repositories.
+# See https://github.com/AyatanaIndicators/libayatana-appindicator/issues/46 for build instructions.
+# You need: sudo aptitude install libdbusmenu-gtk3-dev
+
-+CFLAGS=`pkg-config --cflags gtk+-3.0 glib-2.0` \
-+ -I/usr/include/libdbusmenu-glib-0.4/ \
-+ -I/usr/include/libdbusmenu-gtk3-0.4/ \
-+ -I/usr/include/glib-2.0
++CFLAGS=`pkg-config --cflags gtk+-3.0 glib-2.0 dbusmenu-gtk3-0.4` \
+
-+LDFLAGS=`pkg-config --libs gtk+-3.0 glib-2.0` -ldbusmenu-glib -ldbusmenu-gtk3
++LDFLAGS=`pkg-config --libs dbusmenu-gtk3-0.4`
+
+OBJECTS=betterbird-systray-icon.o \
+ app-indicator.o \
--- a/1790619-send-progress-width.patch
+++ b/1790619-send-progress-width.patch
@@ -31,6 +21,7 @@
scrolling="false">
<head>
<title>&sendDialog.title;</title>
+ <link rel="localization" href="branding/brand.ftl" />
+ <script defer="defer" src="chrome://messenger/content/dialogShadowDom.js"></script>
<script defer="defer" src="chrome://messenger/content/messengercompose/sendProgress.js"></script>
- <script defer="defer" src="chrome://messenger/content/dialogShadowDom.js"></script>
--- a/1777788-fix-dialog-size.patch
+++ b/1777788-fix-dialog-size.patch
@@ -22,6 +22,7 @@ diff --git a/mailnews/compose/content/sendProgress.xhtml b/mailnews/compose/cont
scrolling="false">
<head>
<title>&sendDialog.title;</title>
+ <link rel="localization" href="branding/brand.ftl" />
<script defer="defer" src="chrome://messenger/content/dialogShadowDom.js"></script>
<script defer="defer" src="chrome://messenger/content/messengercompose/sendProgress.js"></script>
</head>