Bug 365236 - add installation support for native formats
Summary: add installation support for native formats
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (other bugs)
Version First Reported In: 5.7.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Aleix Pol
URL: https://phabricator.kde.org/T3210
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-08 11:29 UTC by Harald Sitter
Modified: 2016-11-16 17:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Sitter 2016-07-08 11:29:26 UTC
Currently discover can not handle native distribution archive formats such as .deb or .rpm. This means that unless a distribution installs a secondary tool users can not install google-chrome or steam as they ship a bootstrap harness via native formats.

Would be handy to be able to install that sort of stuff with discover.

Reproducible: Always
Comment 1 Harald Sitter 2016-07-28 09:25:30 UTC
needs https://github.com/hughsie/PackageKit/issues/142 on apt systems to have install-local work.
Comment 2 Aleix Pol 2016-11-16 17:50:17 UTC
Git commit 22dd7966a6b0325712216d7ec38d2ab4acdae0a5 by Aleix Pol.
Committed on 16/11/2016 at 17:42.
Pushed by apol into branch 'master'.

Make it possible to install local file packages

M  +36   -0    discover/DiscoverMainWindow.cpp
M  +1    -0    discover/DiscoverMainWindow.h
M  +1    -0    discover/autotests/CMakeLists.txt
M  +4    -0    discover/main.cpp
M  +10   -0    libdiscover/backends/DummyBackend/DummyBackend.cpp
M  +1    -0    libdiscover/backends/DummyBackend/DummyBackend.h
M  +1    -0    libdiscover/backends/PackageKitBackend/CMakeLists.txt
A  +35   -0    libdiscover/backends/PackageKitBackend/LocalFilePKResource.cpp     [License: GPL (v2/3)]
A  +41   -0    libdiscover/backends/PackageKitBackend/LocalFilePKResource.h     [License: GPL (v2/3)]
M  +8    -3    libdiscover/backends/PackageKitBackend/PKTransaction.cpp
M  +8    -4    libdiscover/backends/PackageKitBackend/PackageKitBackend.cpp
M  +2    -0    libdiscover/backends/PackageKitBackend/PackageKitBackend.h
M  +1    -1    libdiscover/backends/PackageKitBackend/PackageKitResource.cpp
M  +2    -0    libdiscover/resources/AbstractResourcesBackend.h
M  +11   -0    libdiscover/resources/ResourcesModel.cpp
M  +1    -0    libdiscover/resources/ResourcesModel.h

http://commits.kde.org/discover/22dd7966a6b0325712216d7ec38d2ab4acdae0a5