Bug 390599 - 17.12.x does not recognise PackageKit 1.0.1 - causes regression in built features
Summary: 17.12.x does not recognise PackageKit 1.0.1 - causes regression in built feat...
Status: RESOLVED FIXED
Alias: None
Product: kdenetwork-filesharing
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-17 09:31 UTC by Rik Mills
Modified: 2018-10-04 11:57 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rik Mills 2018-02-17 09:31:39 UTC
With PackageKit 1.0.x, this is not an acceptable version during configure, so features are disabled and lost.

** log extract **

Could not find a configuration file for package "PackageKitQt5" that is
compatible with requested version "0.9.5".

The following configuration files were considered but not accepted:

/usr/lib/x86_64-linux-gnu/cmake/packagekitqt5/packagekitqt5-config.cmake, version: 1.0.1

<snip>

-- The following features have been disabled:

 * Samba Installation, Automatic installation of '"samba"' using PackageKit.

-- The following OPTIONAL packages have not been found:

 * PackageKitQt5 (required version >= 0.9.5), Software Manager integration
   Needed to automatically install the samba package.
Comment 1 Christoph Feck 2018-03-01 02:08:04 UTC
Would you be able to propose a fix? openSUSE Tumbleweed still uses PackageKit-Qt 0.9.6, so I cannot investigate locally.
Comment 2 Rik Mills 2018-10-01 14:28:51 UTC
(In reply to Christoph Feck from comment #1)
> Would you be able to propose a fix? openSUSE Tumbleweed still uses
> PackageKit-Qt 0.9.6, so I cannot investigate locally.

https://phabricator.kde.org/D15874
Comment 3 Rik Mills 2018-10-04 11:54:59 UTC
Git commit 1895a88670e6bef79fa07fe13335373956eedf9c by Rik Mills.
Committed on 04/10/2018 at 11:54.
Pushed by rikmills into branch 'master'.

allow building with packagekit-qt >= 1.0.0

Summary:
Currently fails to recognise packagekit-qt >= 1.0.0 with the message:
Could not find a configuration file for package "PackageKitQt5" that is compatible with requested version "0.9.5"
This results in the 'share' tab of Dolphin's folder properties simply
stating that samba is not installed, with the button which offers to
install this via packagekit not being present.
Currently known to affect at lease Kubuntu 18.04, 18.10, and Neon 18.04
packagekit-qt 0.9.5 dates from 2014, so regardless of more complicated
solutions, the version requirement can be dropped here.

Test Plan:
- Apply patch to Kubuntu CI builds of 18.08 branch.
- Apply patch to eariler releases for potential bugfix in Kubuntu
- Confirm that the button to install samba appears, installs samba,
  and that the samba sharing config options for the folder then appear.

Reviewers: cfeck, ngraham

Reviewed By: ngraham

Differential Revision: https://phabricator.kde.org/D15874

M  +1    -1    CMakeLists.txt

https://commits.kde.org/kdenetwork-filesharing/1895a88670e6bef79fa07fe13335373956eedf9c
Comment 4 Rik Mills 2018-10-04 11:57:03 UTC
Git commit 3394a564ec62a40ed99c185324993205f9a72641 by Rik Mills.
Committed on 04/10/2018 at 11:56.
Pushed by rikmills into branch 'Applications/18.08'.

allow building with packagekit-qt >= 1.0.0

Summary:
Currently fails to recognise packagekit-qt >= 1.0.0 with the message:
Could not find a configuration file for package "PackageKitQt5" that is compatible with requested version "0.9.5"
This results in the 'share' tab of Dolphin's folder properties simply
stating that samba is not installed, with the button which offers to
install this via packagekit not being present.
Currently known to affect at lease Kubuntu 18.04, 18.10, and Neon 18.04
packagekit-qt 0.9.5 dates from 2014, so regardless of more complicated
solutions, the version requirement can be dropped here.

Test Plan:
- Apply patch to Kubuntu CI builds of 18.08 branch.
- Apply patch to eariler releases for potential bugfix in Kubuntu
- Confirm that the button to install samba appears, installs samba,
  and that the samba sharing config options for the folder then appear.

Reviewers: cfeck, ngraham

Reviewed By: ngraham

Differential Revision: https://phabricator.kde.org/D15874

M  +1    -1    CMakeLists.txt

https://commits.kde.org/kdenetwork-filesharing/3394a564ec62a40ed99c185324993205f9a72641