https://bugs.kde.org/show_bug.cgi?id=393255

            Bug ID: 393255
           Summary: Port from libnm-glib/libnm-util to libnm
           Product: frameworks-kdelibs4support
           Version: 5.45.0
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdelibs-b...@kde.org
          Reporter: luigi.tosc...@tiscali.it
                CC: jgrul...@redhat.com
  Target Milestone: ---

(copying from the Debian bugtracker, originally filed by Michael Biebl):


Hi,

the libnm-glib/libnm-util libraries have been deprecated upstream in
favour of libnm.

Your package declares a Build-Depends on network-manager-dev.

Afaics, this is used in cmake/modules/FindNetworkManager.cmake to
decide whether to enable NetworkManager support or not and
src/solid-networkstatus/kded/networkmanagerstatus.cpp includes
NetworkManager.h for a couple of defines and the version check macro.

Please consider porting this over to libnm.
libnm provides an API similar to libnm-glib/libnm-util [1].

Since libnm-dev also provides NetworkManager.h, you probably just need
to change cmake/modules/FindNetworkManager.cmake to look for libnm
instead of NetworkManager (or libnm-util) so the include path is
properly set and changing the Build-Depends on network-manager-dev to
libnm-dev.

Since libnm was introduced in network-manager 1.0, you can also drop the
explicit version checks in networkmanagerstatus.cpp via
NM_CHECK_VERSION(0,8,992).

Regards,
Michael
------------------------------------------
This should be fixed centrally and it affects other distributions too (Fedora
has some local patches but nm is not found anyway).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to