Advertisement
Guest User

liquidshell packagekit removal

a guest
Apr 25th, 2018
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 2.02 KB | None | 0 0
  1. diff --git a/CMakeLists.txt b/CMakeLists.txt
  2. index 8911248..e2cdf61 100644
  3. --- a/CMakeLists.txt
  4. +++ b/CMakeLists.txt
  5. @@ -23,8 +23,6 @@ find_package(KF5 REQUIRED COMPONENTS
  6.               NewStuff
  7.  )
  8.  
  9. -find_package(packagekitqt5 REQUIRED)
  10. -
  11.  set(SOURCES
  12.      desktop.cxx
  13.      DesktopWidget.cxx
  14. @@ -57,8 +55,6 @@ set(SOURCES
  15.      Battery.cxx
  16.      Bluetooth.cxx
  17.      PopupMenu.cxx
  18. -    PkUpdates.cxx
  19. -    PkUpdateList.cxx
  20.      KdeConnect.cxx
  21.  
  22.      DesktopApplet.cxx
  23. @@ -116,14 +112,11 @@ target_link_libraries(${TARGET}
  24.                        KF5::ItemViews
  25.                        KF5::Archive
  26.                        KF5::NewStuff
  27. -                      PK::packagekitqt5
  28.  )
  29.  
  30.  install(TARGETS ${TARGET} ${INSTALL_TARGETS_DEFAULT_ARGS})
  31.  install(PROGRAMS org.kde.${TARGET}.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
  32.  
  33. -install(FILES liquidshell.notifyrc DESTINATION ${KNOTIFYRC_INSTALL_DIR})
  34. -
  35.  ecm_install_icons(ICONS
  36.                    48-apps-liquidshell.png
  37.                    DESTINATION ${ICON_INSTALL_DIR}
  38. diff --git a/SysTray.cxx b/SysTray.cxx
  39. index 0dbbebb..cc6ca4b 100644
  40. --- a/SysTray.cxx
  41. +++ b/SysTray.cxx
  42. @@ -24,7 +24,6 @@
  43.  #include <DeviceNotifier.hxx>
  44.  #include <Battery.hxx>
  45.  #include <Bluetooth.hxx>
  46. -#include <PkUpdates.hxx>
  47.  
  48.  #include <QApplication>
  49.  #include <QDBusConnection>
  50. @@ -117,7 +116,6 @@ void SysTray::fill()
  51.      rowsLayout[0]->addWidget(new DeviceNotifier(this), 0, Qt::AlignLeft);
  52.      rowsLayout[0]->addWidget(new Battery(this), 0, Qt::AlignLeft);
  53.      rowsLayout[0]->addWidget(new Bluetooth(this), 0, Qt::AlignLeft);
  54. -    rowsLayout[0]->addWidget(new PkUpdates(this), 0, Qt::AlignLeft);
  55.    }
  56.    else if ( MAX_ROWS >= 2 )
  57.    {
  58. @@ -126,7 +124,6 @@ void SysTray::fill()
  59.      rowsLayout[0]->addWidget(new Bluetooth(this), 0, Qt::AlignLeft);
  60.      rowsLayout[1]->addWidget(new Network(this), 0, Qt::AlignLeft);
  61.      rowsLayout[1]->addWidget(new Battery(this), 0, Qt::AlignLeft);
  62. -    rowsLayout[1]->addWidget(new PkUpdates(this), 0, Qt::AlignLeft);
  63.    }
  64.  
  65.    // notifier items
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement