Your message dated Mon, 11 Jan 2021 07:03:24 +0000
with message-id <[email protected]>
and subject line Bug#948618: fixed in anbox 0.0~git20210106-1
has caused the Debian Bug report #948618,
regarding anbox: Fixing anbox desktop files staying in Others category.
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
948618: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948618
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: anbox
Version: 0.0~git20190124-1
Severity: normal
Tags: patch
Dear Maintainer,
while I was using anbox, I saw its desktop files were being added to the Others
category instead of Anbox category in Whisker menu.
So I added debian/anbox-android.menu and added 'Categories=Anbox;' in
src/anbox/application/launcher_storage.cpp.
After this change, Android app Showed up under Anbox category.
-- System Information:
Debian Release: buster/sid
APT prefers bionic-updates
APT policy: (500, 'bionic-updates'), (500, 'bionic-security'), (500,
'bionic'), (100, 'bionic-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.15.0-74-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages anbox depends on:
ii iptables 1.6.1-2ubuntu2
ii libboost-filesystem1.65.1 1.65.1+dfsg-0ubuntu5
ii libboost-iostreams1.65.1 1.65.1+dfsg-0ubuntu5
ii libboost-log1.65.1 1.65.1+dfsg-0ubuntu5
ii libboost-program-options1.65.1 1.65.1+dfsg-0ubuntu5
ii libboost-system1.65.1 1.65.1+dfsg-0ubuntu5
ii libboost-thread1.65.1 1.65.1+dfsg-0ubuntu5
ii libc6 2.27-3ubuntu1
ii libdw1 0.170-0.4ubuntu0.1
ii libegl1 1.0.0-2ubuntu2.3
ii libgcc1 1:9.2.1-17ubuntu1~18.04.1
ii libgles2 1.0.0-2ubuntu2.3
ii liblxc1 3.0.3-0ubuntu1~18.04.1
ii libprotobuf-lite10 3.0.0-9.1ubuntu1
ii libsdl2-2.0-0 2.0.8+dfsg1-1ubuntu1.18.04.4
ii libsdl2-image-2.0-0 2.0.3+dfsg1-1
ii libstdc++6 9.2.1-17ubuntu1~18.04.1
ii libsystemd0 237-3ubuntu10.33
ii lxc 3.0.3-0ubuntu1~18.04.1
Versions of packages anbox recommends:
ii dbus-user-session 1.12.2-1ubuntu1.1
anbox suggests no packages.
Description: Automatically add desktop files to Anbox category and adds changes
splash screen to dark background.
Author: Ahmad Hasan Mubashshir <[email protected]>
Last-Update: 2020-01-11
---
data/desktop/android-settings.desktop | 1 +
data/desktop/android-settings.desktop | 1 +
debian/anbox-android.menu | 16 ++++++++++++++++
debian/conffiles | 1 +
debian/install | 1 +
src/anbox/application/launcher_storage.cpp | 3 ++-
5 files changed, 21 insertions(+), 1 deletion(-)
--- a/data/desktop/android-settings.desktop
+++ b/data/desktop/android-settings.desktop
@@ -5,3 +5,4 @@ Terminal=false
Type=Application
Name=Android Settings
GenericName=Android Settings
+Categories=Anbox
--- /dev/null
+++ b/debian/anbox-android.menu
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
+"http://www.freedesktop.org/standards/menu-spec/menu-1.0.dtd">
+<Menu>
+ <Name>Applications</Name>
+ <Menu>
+ <Name>anbox-android</Name>
+ <Directory>anbox-android.directory</Directory>
+ <Include>
+ <Or>
+ <Category>Anbox</Category>
+ <Filename>anbox.desktop</Filename>
+ </Or>
+ </Include>
+ </Menu>
+</Menu>
--- a/debian/install
+++ b/debian/install
@@ -1,6 +1,7 @@
debian/anbox-container-manager.service /lib/systemd/system/
debian/anbox-session-manager.service /usr/lib/systemd/user/
debian/anbox.desktop /usr/share/applications/
+debian/anbox-android.menu /etc/xdg/menus/applications-merged/
debian/anbox.png /usr/share/pixmaps/
scripts/anbox-bridge.sh /usr/share/anbox/
scripts/anbox-shell.sh /usr/share/anbox/
--- a/src/anbox/application/launcher_storage.cpp
+++ b/src/anbox/application/launcher_storage.cpp
@@ -94,10 +94,11 @@ void LauncherStorage::add_or_update(cons
const auto item_icon_path = path_for_item_icon(package_name);
if (auto desktop_item = std::ofstream(path_for_item(package_name).string()))
{
desktop_item << "[Desktop Entry]" << std::endl
+ << "Type=Application" << std::endl
<< "Name=" << item.name << std::endl
<< "Exec=" << exec << std::endl
<< "Terminal=false" << std::endl
- << "Type=Application" << std::endl
+ << "Categories=Anbox;" << std::endl
<< "Icon=" << item_icon_path.string() << std::endl;
} else {
BOOST_THROW_EXCEPTION(std::runtime_error("Failed to create desktop item"));
--- End Message ---
--- Begin Message ---
Source: anbox
Source-Version: 0.0~git20210106-1
Done: Shengjing Zhu <[email protected]>
We believe that the bug you reported is fixed in the latest version of
anbox, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Shengjing Zhu <[email protected]> (supplier of updated anbox package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 11 Jan 2021 11:56:16 +0800
Source: anbox
Architecture: source
Version: 0.0~git20210106-1
Distribution: unstable
Urgency: medium
Maintainer: Shengjing Zhu <[email protected]>
Changed-By: Shengjing Zhu <[email protected]>
Closes: 948618 973487
Changes:
anbox (0.0~git20210106-1) unstable; urgency=medium
.
* New upstream snapshot.
* Add instruction to restart anbox-container-manager.service (Closes:
#973487)
* Add libcpu-features-dev libsdbus-c++-dev to Build-Depends
* Install anbox xdg menu (Closes: #948618)
* Update Standards-Version to 4.5.1 (no changes)
Checksums-Sha1:
4b05e76f2f4d87143da194ac40da7041ae89843c 1693 anbox_0.0~git20210106-1.dsc
184747489552929064ac67148c396e2ce154a956 1023745
anbox_0.0~git20210106.orig.tar.gz
560e1dbc64c51fe8d38177b7d7b8c8b821719ce6 9968
anbox_0.0~git20210106-1.debian.tar.xz
714d037b3b86c64ba9bd264a6bebe3fe2056f60d 12887
anbox_0.0~git20210106-1_amd64.buildinfo
Checksums-Sha256:
a50855a7d95e62eb720705a7068e2726c5188e2751b9c8c965d227075d6d2393 1693
anbox_0.0~git20210106-1.dsc
5e6997e63098c9cb6abf41770f8f65b4d2c72cea76959041ad02e0f6034485bd 1023745
anbox_0.0~git20210106.orig.tar.gz
27159262a18ddbc89b13711b57e4eaa73a97217d3253eadcc43ec1838d69899a 9968
anbox_0.0~git20210106-1.debian.tar.xz
7fc41a42d164237fce16f6c235d9d5ad9f64796c526bcb8ba9782e7935afbddc 12887
anbox_0.0~git20210106-1_amd64.buildinfo
Files:
3a74640f165d7c4f79f0c9eda0ca6368 1693 contrib/utils optional
anbox_0.0~git20210106-1.dsc
9bf654122843be1f6e9c1290fedaabc6 1023745 contrib/utils optional
anbox_0.0~git20210106.orig.tar.gz
1b9bfef7397330989e6fe9ba3c0e6c4e 9968 contrib/utils optional
anbox_0.0~git20210106-1.debian.tar.xz
ee46b5cb0ea3a209960ad73d2fa558e3 12887 contrib/utils optional
anbox_0.0~git20210106-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iIYEARYIAC4WIQTiXc95jUQrjt9HgU3EhUo4GOCwFgUCX/v0dhAcemhzakBkZWJp
YW4ub3JnAAoJEMSFSjgY4LAWcR4A/jKW9wqHzNNDDw/hVO/2MDNy7DlnV2CWTail
G8nlYabPAQDR72Z5tBDJQRZIGnj85mNdJjDmZmW4ROS6owdiC72hAg==
=lR+V
-----END PGP SIGNATURE-----
--- End Message ---