Results 1 to 4 of 4

Thread: Установка icon task manager.

  1. #1

    Unhappy Установка icon task manager.

    Задался целью оставить в панели задач только иконки запущенных приложений, без названий (как в win 7+ ). Система opensuse 13.1; (KDE: 4.11.5).
    Начал искать подходящий виджет для plasma. Пытал встроенный в плазму "поисковик виджетов в интернете", но этот товарищ мне ничего по делу так и не предложил.
    Покапавшись в гугле нашел что нужные мне виджеты существуют, и называются они:
    1. Icon Tasks 0.9.2: http://kde-look.org/content/show.php/?content=144808
    2. Smooth Tasks:http://kde-look.org/content/show.php/?content=101586

    Это ведь виджеты для плазмы? Вобщем я предположил что это так.

    Следующая проблема оказалась в том, что скачать можно только их исходники, в репозиториях я их не нашел (если кто найдет, скажите пожалуйста).
    Никогда раньше я исходники не компилировал, и решил попробовать. Начал с smooth-tasks:

    установил cmake, понаустанавливал 200 Мб+ библиотек и прочего, на отсутствие чего cmake ругался в процессе компиляции.
    После того как он наконец закончил с 20ой попытки, пишу следующую команду, как написано в инструкции:
    make -j 2
    И снова получаю ворох ошибок. Вот дамп консоли:
    Code:
    Akiyamka@linux-5wxt:~/TMP/panzi-smooth-tasks-165e00225d06> mkdir build
    Akiyamka@linux-5wxt:~/TMP/panzi-smooth-tasks-165e00225d06> cd build
    Akiyamka@linux-5wxt:~/TMP/panzi-smooth-tasks-165e00225d06/build> cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
    -- The C compiler identification is GNU 4.8.1
    -- The CXX compiler identification is GNU 4.8.1
    -- Check for working C compiler: /usr/bin/cc
    -- Check for working C compiler: /usr/bin/cc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Looking for Q_WS_X11
    -- Looking for Q_WS_X11 - found
    -- Looking for Q_WS_WIN
    -- Looking for Q_WS_WIN - not found
    -- Looking for Q_WS_QWS
    -- Looking for Q_WS_QWS - not found
    -- Looking for Q_WS_MAC
    -- Looking for Q_WS_MAC - not found
    -- Found Qt-Version 4.8.5 (using /usr/bin/qmake)
    -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so
    -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so - found
    -- Looking for gethostbyname
    -- Looking for gethostbyname - found
    -- Looking for connect
    -- Looking for connect - found
    -- Looking for remove
    -- Looking for remove - found
    -- Looking for shmat
    -- Looking for shmat - found
    -- Looking for IceConnectionNumber in ICE
    -- Looking for IceConnectionNumber in ICE - found
    -- Found X11: /usr/lib64/libX11.so
    -- Looking for include file pthread.h
    -- Looking for include file pthread.h - found
    -- Looking for pthread_create
    -- Looking for pthread_create - not found
    -- Looking for pthread_create in pthreads
    -- Looking for pthread_create in pthreads - not found
    -- Looking for pthread_create in pthread
    -- Looking for pthread_create in pthread - found
    -- Found Threads: TRUE  
    -- Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so (found version "1.0.1e") 
    -- Looking for _POSIX_TIMERS
    -- Looking for _POSIX_TIMERS - found
    -- Found Automoc4: /usr/bin/automoc4  
    -- Found Perl: /usr/bin/perl (found version "5.18.1") 
    -- Found Phonon: /usr/include (Required is at least version "4.3.80") 
    -- Performing Test _OFFT_IS_64BIT
    -- Performing Test _OFFT_IS_64BIT - Success
    -- Performing Test HAVE_FPIE_SUPPORT
    -- Performing Test HAVE_FPIE_SUPPORT - Success
    -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
    -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
    -- Performing Test __KDE_HAVE_GCC_VISIBILITY
    -- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
    -- Found KDE 4.11 include dir: /usr/include
    -- Found KDE 4.11 library dir: /usr/lib64
    -- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
    -- Found automoc4: /usr/bin/automoc4
    -- Found Qt-Version 4.8.5 (using /usr/bin/qmake)
    -- Found X11: /usr/lib64/libX11.so
    -- Found KDE4Workspace: /usr/lib64/cmake/KDE4Workspace/KDE4WorkspaceConfig.cmake  
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/build
    Akiyamka@linux-5wxt:~/TMP/panzi-smooth-tasks-165e00225d06/build> make -j 2
    Scanning dependencies of target plasma_applet_smooth-tasks_automoc
    Scanning dependencies of target translations
    Generating TaskItem.moc
    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/po/zh_CN.po:2: warning: header field 'Language' missing in header
    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/po/hu.po:3: warning: header field 'Language' missing in header
    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/po/pl.po:4: warning: header field 'Language' missing in header
    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/po/uk_UA.po:6: warning: header field 'Language' missing in header
    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/po/ru.po:5: warning: header field 'Language' missing in header
    Generating TaskIcon.moc
    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/po/de.po:4: warning: header field 'Language' missing in header
    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/po/fr.po:4: warning: header field 'Language' missing in header
    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/po/cs.po:3: warning: header field 'Language' missing in header
    [  0%] Generating Task.moc
    Built target translations
    Generating Applet.moc
    Generating Light.moc
    Generating moc_ToolTipBase.cpp
    Generating moc_WindowPreview.cpp
    Generating moc_FixedSizeTaskbarLayout.cpp
    Generating moc_CloseIcon.cpp
    Generating moc_FadedText.cpp
    Generating moc_DelayedToolTip.cpp
    Generating moc_SmoothToolTip.cpp
    Generating moc_FixedItemCountTaskbarLayout.cpp
    Generating moc_MaxSqueezeTaskbarLayout.cpp
    Generating moc_PlasmaToolTip.cpp
    Generating moc_ToggleAnimation.cpp
    Generating moc_LimitSqueezeTaskbarLayout.cpp
    Generating moc_TaskbarLayout.cpp
    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/applet/SmoothTasks/TaskbarLayout.h:218: Warning: Class TaskbarLayout implements the interface QGraphicsLayout but does not list it in Q_INTERFACES. qobject_cast to QGraphicsLayout will not work!
    Generating moc_ByShapeTaskbarLayout.cpp
    Generating moc_ToolTipWidget.cpp
    Generating moc_TaskStateAnimation.cpp
    [  0%] Built target plasma_applet_smooth-tasks_automoc
    [  3%] Generating ui_Appearance.h
    [  7%] Generating qrc_resources.cxx
    [ 11%] Generating ui_General.h
    Scanning dependencies of target plasma_applet_smooth-tasks
    [ 14%] [ 18%] Building CXX object applet/CMakeFiles/plasma_applet_smooth-tasks.dir/plasma_applet_smooth-tasks_automoc.o                                                                   
    Building CXX object applet/CMakeFiles/plasma_applet_smooth-tasks.dir/SmoothTasks/Applet.o    
    In file included from /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/applet/SmoothTasks/TaskItem.h:25:0,
                     from /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/build/applet/../../applet/SmoothTasks/ToolTipBase.h:25,
                     from /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/build/applet/moc_ToolTipBase.cpp:9,
                     from /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/build/applet/plasma_applet_smooth-tasks_automoc.cpp:4:
    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/applet/SmoothTasks/Task.h:80:2: error: ‘TaskPtr’ in namespace ‘TaskManager’ does not name a type
      TaskManager::TaskPtr    task();
      ^
    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/applet/SmoothTasks/Task.h:84:2: error: ‘StartupPtr’ in namespace ‘TaskManager’ does not name a type
      TaskManager::StartupPtr startup();
      ^
    In file included from /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/applet/SmoothTasks/TaskItem.h:25:0,
                     from /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/applet/SmoothTasks/Applet.cpp:24:
    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/applet/SmoothTasks/Task.h:80:2: error: ‘TaskPtr’ in namespace ‘TaskManager’ does not name a type
      TaskManager::TaskPtr    task();
      ^
    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/applet/SmoothTasks/Task.h:84:2: error: ‘StartupPtr’ in namespace ‘TaskManager’ does not name a type
      TaskManager::StartupPtr startup();
      ^
    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/applet/SmoothTasks/Applet.cpp: In member function ‘void SmoothTasks::Applet::itemAdded(TaskManager::AbstractGroupableItem*)’:
    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/applet/SmoothTasks/Applet.cpp:206:33: warning: ‘virtual bool TaskManager::AbstractGroupableItem::isGroupItem() const’ is deprecated (declared at /usr/include/taskmanager/abstractgroupableitem.h:90) [-Wdeprecated-declarations]
      if (groupableItem->isGroupItem()) {
                                     ^
    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/applet/SmoothTasks/Applet.cpp: In member function ‘void SmoothTasks::Applet::dumpItems()’:
    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/applet/SmoothTasks/Applet.cpp:430:24: error: ‘class SmoothTasks::Task’ has no member named ‘task’
         if (titem->task()->task()) {
                            ^
    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/applet/SmoothTasks/Applet.cpp:431:33: error: ‘class SmoothTasks::Task’ has no member named ‘task’
          winLayout = titem->task()->task()->window();
                                     ^
    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/applet/SmoothTasks/Applet.cpp: In member function ‘virtual void SmoothTasks::Applet::wheelEvent(QGraphicsSceneWheelEvent*)’:
    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/applet/SmoothTasks/Applet.cpp:557:41: warning: ‘virtual bool TaskManager::AbstractGroupableItem::isGroupItem() const’ is deprecated (declared at /usr/include/taskmanager/abstractgroupableitem.h:90) [-Wdeprecated-declarations]
      if (taskItem && !taskItem->isGroupItem()) {
                                             ^
    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/applet/SmoothTasks/Applet.cpp: In member function ‘TaskManager::BasicMenu* SmoothTasks::Applet::popup(TaskManager::AbstractGroupableItem*)’:
    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/applet/SmoothTasks/Applet.cpp:1346:24: warning: ‘virtual bool TaskManager::AbstractGroupableItem::isGroupItem() const’ is deprecated (declared at /usr/include/taskmanager/abstractgroupableitem.h:90) [-Wdeprecated-declarations]
      if (task->isGroupItem()) {
                            ^
    make[2]: *** [applet/CMakeFiles/plasma_applet_smooth-tasks.dir/plasma_applet_smooth-tasks_automoc.o] Ошибка 1
    make[2]: *** Ожидание завершения заданий...
    make[2]: *** [applet/CMakeFiles/plasma_applet_smooth-tasks.dir/SmoothTasks/Applet.o] Ошибка 1
    make[1]: *** [applet/CMakeFiles/plasma_applet_smooth-tasks.dir/all] Ошибка 2
    make: *** [all] Ошибка 2
    Akiyamka@linux-5wxt:~/TMP/panzi-smooth-tasks-165e00225d06/build> sudo make install
    root's password:
    Sorry, try again.
    root's password:
    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/po/zh_CN.po:2: warning: header field 'Language' missing in header
    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/po/hu.po:3: warning: header field 'Language' missing in header
    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/po/pl.po:4: warning: header field 'Language' missing in header
    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/po/uk_UA.po:6: warning: header field 'Language' missing in header
    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/po/ru.po:5: warning: header field 'Language' missing in header
    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/po/de.po:4: warning: header field 'Language' missing in header
    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/po/fr.po:4: warning: header field 'Language' missing in header
    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/po/cs.po:3: warning: header field 'Language' missing in header
    [  0%] Built target translations
    [  0%] Built target plasma_applet_smooth-tasks_automoc
    [  3%] Building CXX object applet/CMakeFiles/plasma_applet_smooth-tasks.dir/plasma_applet_smooth-tasks_automoc.o
    In file included from /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/applet/SmoothTasks/TaskItem.h:25:0,
                     from /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/build/applet/../../applet/SmoothTasks/ToolTipBase.h:25,
                     from /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/build/applet/moc_ToolTipBase.cpp:9,
                     from /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/build/applet/plasma_applet_smooth-tasks_automoc.cpp:4:
    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/applet/SmoothTasks/Task.h:80:2: error: ‘TaskPtr’ in namespace ‘TaskManager’ does not name a type
      TaskManager::TaskPtr    task();
      ^
    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/applet/SmoothTasks/Task.h:84:2: error: ‘StartupPtr’ in namespace ‘TaskManager’ does not name a type
      TaskManager::StartupPtr startup();
      ^
    make[2]: *** [applet/CMakeFiles/plasma_applet_smooth-tasks.dir/plasma_applet_smooth-tasks_automoc.o] Ошибка 1
    make[1]: *** [applet/CMakeFiles/plasma_applet_smooth-tasks.dir/all] Ошибка 2
    make: *** [all] Ошибка 2
    Akiyamka@linux-5wxt:~/TMP/panzi-smooth-tasks-165e00225d06/build>
    Что значит "Ошибка 1" я так и не нагуглил =( . Чего ему теперь не хватает не понятно, мне самому разобраться опыта не хватает, я linux то впервые установил пару месяцев назад... Поможете мне понять что делать дальше?

  2. #2
    Join Date
    Jun 2010
    Location
    Кропоткин, Краснодарский край
    Posts
    201

    Default Re: Установка icon task manager.

    Плазмоид "Панель задач (только значки)" пробовали?
    Он есть в стандартном наборе плазмоидов, ни чего компилировать не надо.

  3. #3

    Default Re: Установка icon task manager.

    Нет, я на инглише набирал Only icon task manager >.<
    Спасибо вам!
    Жаль только, что так и не научился сам собирать установочные файлы

  4. #4
    Join Date
    Jun 2008
    Location
    Moscow, Russia
    Posts
    3,050
    Blog Entries
    1

    Default Re: =?UTF-8?B?0KPRgdGC0LDQvdC+0LLQutCw?= icon task manager.

    Akiyamka wrote:

    > Что значит "Ошибка 1" я так и не нагуглил
    > =( . Чего ему теперь не хватает не
    > понятно, мне самому разобраться опыта
    > не хватает


    Там раньше были ошибки, типа:

    /home/Akiyamka/TMP/panzi-smooth-tasks-165e00225d06/applet/SmoothTasks/Task.h:80:2: error: ‘TaskPtr’ in namespace ‘TaskManager’ does not name a type
    TaskManager::TaskPtr task();

    Видимо, нестыковка в версиях приложения и KDE.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •