Your message dated Thu, 13 Dec 2018 17:04:18 +0000
with message-id <[email protected]>
and subject line Bug#909157: fixed in anbox 0.0~git20181210-1
has caused the Debian Bug report #909157,
regarding anbox: please enable --software-rendering, contingent on packaging of 
SwiftShader
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.)


-- 
909157: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=909157
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: anbox
Version: 0.0~git20180821-1
Severity: wishlist
Tags: patch
Control: block -1 with 909156

https://bugs.debian.org/909156 is an RFP for packaging SwiftShader as
an independent library in debian.

If that was done, then i believe that something like the following
patch would enable the use of the --software-rendering without the
snap package:


diff --git a/src/anbox/graphics/gl_renderer_server.cpp 
b/src/anbox/graphics/gl_renderer_server.cpp
index beb2cbe..3e21596 100644
--- a/src/anbox/graphics/gl_renderer_server.cpp
+++ b/src/anbox/graphics/gl_renderer_server.cpp
@@ -80,11 +80,7 @@ GLRendererServer::GLRendererServer(const Config &config, 
const std::shared_ptr<w
 
   auto gl_libs = emugl::default_gl_libraries();
   if (config.driver == Config::Driver::Software) {
-    const auto snap_path = utils::get_env_value("SNAP");
-    if (snap_path.empty())
-      throw std::runtime_error("Software rendering is not available outside of 
a snap build");
-
-    auto swiftshader_path = fs::path(snap_path) / "lib" / "anbox" / 
"swiftshader";
+    auto swiftshader_path = fs::path("/usr/lib/swiftshader");
     gl_libs = std::vector<emugl::GLLibrary>{
       {emugl::GLLibrary::Type::EGL, (swiftshader_path / "libEGL.so").string()},
       {emugl::GLLibrary::Type::GLESv1, (swiftshader_path / 
"libGLES_CM.so").string()},


I hope this is useful.  Thanks very much for maintaining anbox in
debian!

Regards,

        --dkg

--- End Message ---
--- Begin Message ---
Source: anbox
Source-Version: 0.0~git20181210-1

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: SHA512

Format: 1.8
Date: Fri, 14 Dec 2018 00:31:33 +0800
Source: anbox
Binary: anbox
Architecture: source
Version: 0.0~git20181210-1
Distribution: unstable
Urgency: medium
Maintainer: Shengjing Zhu <[email protected]>
Changed-By: Shengjing Zhu <[email protected]>
Description:
 anbox      - Android in a box
Closes: 909157 915821
Changes:
 anbox (0.0~git20181210-1) unstable; urgency=medium
 .
   * New upstream snapshot.
     + Add SWIFTSHADER_PATH env to enable software rendering
       outside snap (Closes: #909157)
   * Ensure depending on right lxc version after rebuilding with
     lxc3. (Closes: #915821)
Checksums-Sha1:
 6577c1a8e71ecaee35aa9e0e677ac53a7965df5a 1859 anbox_0.0~git20181210-1.dsc
 4fa72b46a9e9ba14f3ac5091f3f6fa4e308a42b3 4458113 
anbox_0.0~git20181210.orig.tar.gz
 5dbddaeb5115ec08c0f6d61ff864cf22e0bb73cd 8552 
anbox_0.0~git20181210-1.debian.tar.xz
 9cd9940154d38cc9c2d4783e592de8478b96ce96 12526 
anbox_0.0~git20181210-1_amd64.buildinfo
Checksums-Sha256:
 95f61f896b82b7412ab0b32146137a951ddc0fa7c6454b555a1e9909cfe4176b 1859 
anbox_0.0~git20181210-1.dsc
 8f2c7d7144c955456fcfece1a70f87cdcea652400fbb0f2dd41f51fffebb8a58 4458113 
anbox_0.0~git20181210.orig.tar.gz
 9f5ae600b571120353bbd835e3bd0388b3276f1a288b9eb672912b377912049a 8552 
anbox_0.0~git20181210-1.debian.tar.xz
 577c9fc2765a59facedce122f770334a1a293d8e7ab8355a7448e24daeda0f79 12526 
anbox_0.0~git20181210-1_amd64.buildinfo
Files:
 f0d8d062e57b814ef711600ac903b40b 1859 contrib/utils optional 
anbox_0.0~git20181210-1.dsc
 b45bdf9f6fcad33d2380b15d72e09747 4458113 contrib/utils optional 
anbox_0.0~git20181210.orig.tar.gz
 3bbfa676a338d2c5d6a84f246a62e527 8552 contrib/utils optional 
anbox_0.0~git20181210-1.debian.tar.xz
 ffd48559db10cebc3e847eb8a11637ed 12526 contrib/utils optional 
anbox_0.0~git20181210-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEE85F2DZP0aJKsSKyHONAPABi+PjUFAlwSi00ACgkQONAPABi+
PjUq2Af/fpdBaooG/WSNStaZGocanvz9EXhRlB3/IgAZIwA4seaLlGMKKOUcaP4c
ttkHaL6ZhTaxNeEliGIcv06EFr1tgt+p24f2BzsQDH9pcvIQK6Edb+F2WSr7S0fb
EdbiiIuCJBOZyq8cMsqsqEXVoS/6KjcOKa2ogjhV8XllrFt62WdxSb5RiI8bpsKX
WqCFBFyns/cebUHqUnu6r6vkElWYt1U+miAfR1QIhP+zpr5HJm8BBrRa01QYmfdy
ffabtSWIRngwVAW0cXPzMCVsk94adYO6zMdkJC0YSEPnIlQzbzfzCJBX/NPglR4+
BlI3TtPS+wvgXdhxEd+KyawayjyS/Q==
=HJRr
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to