[Differential] [Commented On] D1240: TaskManager: Force grouping for Icons-Only Task Manager

fusion809 (Brenton Horne) noreply at phabricator.kde.org
Wed Mar 30 09:20:16 UTC 2016


fusion809 added a comment.


  My personal preference is the original. That's why I created this PKGBUILD for plasma-desktop on Arch Linux (my current platform) :
  
    bash
    # $Id: PKGBUILD 263281 2016-03-29 16:18:46Z arojas $
    # Maintainer: Felix Yan <felixonmars at archlinux.org>
    # Maintainer: Antonio Rojas <arojas at archlinux.org>
    # Contributor: Andrea Scarpino <andrea at archlinux.org>
    
    pkgname=plasma-desktop
    pkgver=5.6.1
    pkgrel=1
    pkgdesc='KDE Plasma Desktop'
    arch=('i686' 'x86_64')
    url='https://www.kde.org/workspaces/plasmadesktop/'
    license=('LGPL')
    source=("http://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"
    "taskmanager.patch")
    depends=('powerdevil' 'polkit-kde-agent' 'libcanberra' 'libxkbfile' 'kmenuedit'
             'systemsettings' 'ksysguard' 'kpeople' 'baloo' 'qt5-graphicaleffects')
    makedepends=('extra-cmake-modules' 'kdoctools' 'boost' 'xf86-input-evdev' 'xf86-input-synaptics' 'xorg-server-devel' 'libibus' 'scim')
    optdepends=('plasma-nm: Network manager applet'
                'ibus: kimpanel IBUS support'
                'scim: kimpanel SCIM support')
    conflicts=('kdebase-workspace' 'kcm-touchpad-frameworks' 'kdeplasma-addons<5.5.95' 'kactivities<5.19.0-3')
    replaces=('kcm-touchpad-frameworks')
    install=$pkgname.install
    groups=('plasma')
    md5sums=('4ef14da95b219c50e3ea5cf032f38ec6'
             '918f1f2292ef3732f523f3d9caa8fa91')
    
    prepare() {
      mkdir -p build
      patch -p1 ${pkgname}-${pkgver}/applets/taskmanager/package/contents/ui/main.qml < taskmanager.patch
    }
    
    build() {
      cd build
      cmake ../$pkgname-$pkgver \
        -DCMAKE_BUILD_TYPE=Release \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DLIB_INSTALL_DIR=lib \
        -DLIBEXEC_INSTALL_DIR=lib \
        -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
        -DBUILD_TESTING=OFF
      make
    }
    
    package() {
      cd build
      make DESTDIR="$pkgdir" install
    }
  
  where taskmanager.patch is:
  
    patch
    From f60f8934eff1b91720c0ff809be4153f953f1083 Mon Sep 17 00:00:00 2001
    From: Brenton Horne <brentonhorne77 at gmail.com>
    Date: Wed, 30 Mar 2016 18:40:44 +1000
    Subject: [PATCH] Update main.qml
    
    ---
     applets/taskmanager/package/contents/ui/main.qml | 6 ------
     1 file changed, 6 deletions(-)
    
    diff --git a/applets/taskmanager/package/contents/ui/main.qml b/applets/taskmanager/package/contents/ui/main.qml
    index 1094532..230d52a 100644
    --- a/applets/taskmanager/package/contents/ui/main.qml
    +++ b/applets/taskmanager/package/contents/ui/main.qml
    @@ -185,12 +185,6 @@ Item {
             value: !iconsOnly
         }
     
    -    Binding {
    -        target: backend.groupManager
    -        property: "forceGrouping"
    -        value: iconsOnly
    -    }
    -
         TaskManager.DragHelper {
             id: dragHelper

REPOSITORY
  rPLASMADESKTOP Plasma Desktop

REVISION DETAIL
  https://phabricator.kde.org/D1240

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: drosca, Plasma, hein
Cc: fusion809, plasma-devel, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160330/031ed58a/attachment-0001.html>


More information about the Plasma-devel mailing list