Drop UBUNTU_MENUPROXY=0 workaround
authorBenjamin Drung <benjamin.drung@canonical.com>
Tue, 27 Sep 2022 11:53:55 +0000 (13:53 +0200)
committerPeter Michael Green <plugwash@raspbian.org>
Tue, 25 Jun 2024 16:28:26 +0000 (16:28 +0000)
wxWidgets 2.6 did not show menus correct on the global menu applet in
Unity in 2010 ([Ubuntu bug #662007](https://launchpad.net/bugs/662077)).
The environment variable `UBUNTU_MENUPROXY` was set as workaround.

Audacity 3.2.0 with wxWidgets 3.2 on Ubuntu 22.10 (kinetic) works fine
under the Unity desktop. Therefore drop the old workaround.

Forwarded: https://github.com/audacity/audacity/pull/3701
Signed-off-by: Benjamin Drung <benjamin.drung@canonical.com>
Gbp-Pq: Name Drop-UBUNTU_MENUPROXY-0-workaround.patch

linux/AppImage/AppRun.sh
linux/create_appimage.sh
src/audacity.desktop.in

index 6ed62838ded21551a29237eb05e41e557ef775fc..898824f4e4dcd9f135ca7b75e4c40f135cd7b734 100644 (file)
@@ -23,7 +23,6 @@ export LD_LIBRARY_PATH="${APPDIR}/lib:${LD_LIBRARY_PATH}${fallback_libs}"
 
 export AUDACITY_PATH="${AUDACITY_PATH}:${APPDIR}/share/audacity"
 export AUDACITY_MODULES_PATH="${AUDACITY_MODULES_PATH}:${APPDIR}/lib/modules"
-export UBUNTU_MENUPROXY=0
 
 function help()
 {
index eb53406be96f5d3051758abef6da4ea3bebb1b8d..99570d5d1d8cb57583f3cbc87d986a2564027621 100755 (executable)
@@ -81,7 +81,6 @@ linuxdeploy --list-plugins
 # Create symlinks
 #============================================================================
 
-sed -i 's|env UBUNTU_MENUPROXY=0 ||' "${appdir}/share/applications/audacity.desktop"
 ln -sf --no-dereference . "${appdir}/usr"
 ln -sf share/applications/audacity.desktop "${appdir}/audacity.desktop"
 ln -sf share/icons/hicolor/scalable/apps/audacity.svg "${appdir}/audacity.svg"
index 022249b83c78cf47fabaa2ff2b7429b993e7eef8..2344edda37b7e73ae5617a8be211dd37105c1ab1 100644 (file)
@@ -61,7 +61,7 @@ Categories=AudioVideo;Audio;AudioVideoEditing;
 
 Keywords=sound;music editing;voice channel;frequency;modulation;audio trim;clipping;noise reduction;multi track audio editor;edit;mixing;WAV;AIFF;FLAC;MP2;MP3;
 
-Exec=env GDK_BACKEND=x11 UBUNTU_MENUPROXY=0 @AUDACITY_NAME@ %F
+Exec=env GDK_BACKEND=x11 @AUDACITY_NAME@ %F
 StartupNotify=false
 Terminal=false
 MimeType=@MIMETYPES@;