Announcement

Collapse
No announcement yet.

Install (almost) any plasmoid

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Install (almost) any plasmoid

    It took me a while, a lot of questions on kde-look and the answers from the good people there.
    Especially Mherbert .

    Some things I know a lot about, most things I know nothing about

    Like compiling with kubuntu.

    anyway here goes:

    The following packages are needed:
    libkonq5-dev, libkonq5, cmake, libplasma-dev, kdelibs5-dev, kdebase-dev-kde4 as well as gcc-3.3base, and g++
    unpack the downloaded plasmoid and run in a terminal from the unpacked folder:
    Code:
    # mkdir build
    Code:
    # cd build
    Code:
    # cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
    Code:
    # make
    Code:
    # sudo make install
    restart kde4

    Hope that helps those who want to play with plasmoids

    Edit:
    The ones I have tried (so far) that work:
    plasmoid weather
    plasmoid quick access
    plasmoid previewer

    Doesn't work:
    multirow taskbar
    quicklauncher (both source and ubuntu versions)
    plasma-am3rok
    HP Pavilion dv6 core i7 (Main)
    4 GB Ram
    Kubuntu 18.10

    #2
    Re: Install (almost) any plasmoid

    Originally posted by Fintan

    Doesn't work:
    multirow taskbar
    quicklauncher (both source and ubuntu versions)
    plasma-am3rok
    Thanks for the info...Was looking at trying the quicklauncher, but you answered that question for me

    Comment


      #3
      Re: Install (almost) any plasmoid

      Nothing works!
      Please help.
      I've done all the processes correctly. The plasmoids install correctly, but I do not see them in the add widgets list.
      What do I have to do?

      Comment


        #4
        Re: Install (almost) any plasmoid

        restart kde4 ??
        HP Pavilion dv6 core i7 (Main)
        4 GB Ram
        Kubuntu 18.10

        Comment


          #5
          Re: Install (almost) any plasmoid

          Hi Fintan. thanks for your guide, however I am getting the same thing. It builds and installs without any problems, but doesn't show up in my add widgets list either. I've tried restarting kde and also rebooting computer.
          When I run make install (as root) I get:
          [100%] Built target plasma_applet_quickaccess
          Install the project...
          -- Install configuration: "RelWithDebInfo"
          -- Up-to-date: /home/mark/Linux/Themes/Plasmoids/quickaccess-0.7.1/kde4config --prefix/lib/kde4/plasma_applet_quickaccess.so
          -- Up-to-date: /home/mark/Linux/Themes/Plasmoids/quickaccess-0.7.1/kde4config --prefix/share/kde4/services/plasma-applet-quickaccess.desktop

          No errors, but nothing shows in widget list. Any guesses?

          Comment


            #6
            Re: Install (almost) any plasmoid -Got it to work...

            I got it to work. One thing about linux is that ' " and ` all have different meanings... Looking at the install instr on the weather applet, and did it exactly like it showed. Here is the one for weather, adjust for others.
            Big problem I had was on the cmake line use the ` symbol (under the tilde). Not single quote. Also make sure to have space and then .. (better to just copy that line and paste into your terminal).

            tar -xvzf plasma-weather-0.2.tar.gz
            cd weather
            mkdir build
            cd build
            cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
            make
            make install

            restart x (ctrl-alt-backspace) or logout, menu, restart x server. And there it is!

            Thanks again!

            Comment


              #7
              Re: Install (almost) any plasmoid

              Originally posted by Fintan
              Code:
              # mkdir build
              ...
              # means logged in as root, correct? Is that what you are suggesting?

              Comment


                #8
                Re: Install (almost) any plasmoid

                because you most likely downloaded it your home directory, and expanded it there you can can cd into that directory and do mkdir build just as described as user. You only have to do the make install part as root (sudo).

                Comment


                  #9
                  Re: Install (almost) any plasmoid

                  because you most likely downloaded it your home directory, and expanded it there you can can cd into that directory and do mkdir build just as described as user. You only have to do the make install part as root (sudo).
                  Thats right.
                  HP Pavilion dv6 core i7 (Main)
                  4 GB Ram
                  Kubuntu 18.10

                  Comment


                    #10
                    Re: Install (almost) any plasmoid

                    # = root
                    $ = user

                    Edit: That is all I meant. Since the OP had put together a wonderful set of instructions, I thought it should be made even better by following the standard use of # & $, since this could be confusing to new users... and
                    Code:
                    code
                    should probably only contain just that... so people can copy and paste away... that is the point of the tag, right?

                    Thanks for taking the time to put together the steps... I appreciate it.

                    Comment


                      #11
                      Re: Install (almost) any plasmoid

                      I get this error at the step where you run "make". What does it mean. What am I doing wrong.

                      Code:
                      make: *** No targets specified and no makefile found. Stop.

                      Comment


                        #12
                        Re: Install (almost) any plasmoid

                        I get this error at the step where you run "make". What does it mean. What am I doing wrong.

                        make: *** No targets specified and no makefile found. Stop.

                        Can you locate "Makefile" ?

                        Cmake should say something like this:
                        ...
                        -- Found Plasma: /usr/lib/libplasma.so
                        -- Configuring done
                        -- Generating done
                        -- Build files have been written to: ....
                        Build files have been written to => Makefile location
                        Before you edit, BACKUP !

                        Why there are dead links ?
                        1. Thread: Please explain how to access old kubuntu forum posts
                        2. Thread: Lost Information

                        Comment


                          #13
                          Re: Install (almost) any plasmoid

                          Example, from the plasmoid source to the .deb


                          About plasmoids

                          There are plasmoids and there are plasmoids > Plasma Updates
                          by Aaron Seigo on Thursday 03/Apr/2008, @08:53

                          > and plasma API stop receiving changes so that KDE 4.1 plasmoids work on KDE 4.2
                          > and vice-versa?

                          as i said long before 4.0 came out: libplasma will not be binary compatible between 4.0 and 4.1, the goal is to move to binary compatibility once 4.1 is out.

                          Installing: build-essential, cmake, cmake-gui, kdeplasma-addons-dev, libplasma-dev, dh-make, fakeroot

                          A link to the links > FAQ: Installing from source


                          Downloading System Status plasmoid
                          and unpacking 74891-system_status-0.5.tar.gz to the /media/sdc6/tmp_plasmoids/SystemStatus/systemstatus-0.5

                          so
                          Code:
                          ls /media/sdc6/tmp_plasmoids/SystemStatus/systemstatus-0.5
                          tells:
                          Dirs:
                          applet
                          data_engine

                          Files:
                          AUTHORS
                          CMakeLists.txt
                          COPYING
                          INSTALL

                          About cmake

                          NAME
                          cmake - Cross-Platform Makefile Generator.

                          USAGE
                          cmake [options] <path-to-source>
                          cmake [options] <path-to-existing-build>

                          DESCRIPTION
                          The "cmake" executable is the CMake command-line interface. It may be
                          used to configure projects in scripts. Project configuration settings
                          may be specified on the command line with the -D option. The -i option
                          will cause cmake to interactively prompt for such settings.

                          CMake is a cross-platform build system generator. Projects specify
                          their build process with platform-independent CMake listfiles included
                          in each directory of a source tree with the name CMakeLists.txt. Users
                          build a project by using CMake to generate a build system for a native
                          tool on their platform.
                          There is also cmake-gui (intrepid)
                          GUI for cmake cross-platform make system

                          CMake is used to control the software compilation process using simple platform and compiler independent configuration files. CMake generates native makefiles and workspaces that can be used in the compiler environment of your choice. CMake is quite sophisticated: it is possible to support complex environments requiring system configuration, pre-processor generation, code generation, and template instantiation.

                          This package provides a simple GUI to guide you through running cmake.

                          Konsole is in the /media/sdc6/tmp_plasmoids/SystemStatus/systemstatus-0.5. Running cmake:
                          Code:
                          cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` /media/sdc6/tmp_plasmoids/SystemStatus/systemstatus-0.5
                          Output is in the cmake_log.txt


                          Now i could run "make" and "sudo make install". But i'm making a deb package.

                          Source file is in the /media/sdc6/tmp_plasmoids/SystemStatus/source/systemstatus-0.5.tar.gz. Debianizing:
                          Code:
                          dh_make -e [email]name@domain.dom[/email] -f /media/sdc6/tmp_plasmoids/SystemStatus/source/systemstatus-0.5.tar.gz
                          Type of package: single binary, multiple binary, library, kernel module or cdbs?
                          [s/m/l/k/b] s

                          Maintainer name : rog 131
                          Email-Address : name@domain.dom
                          Date : Sat, 16 Aug 2008 23:29:10 +0300
                          Package Name : systemstatus
                          Version : 0.5
                          License : blank
                          Using dpatch : no
                          Type of Package : Single
                          Hit <enter> to confirm:
                          Done. Please edit the files in the debian/ subdirectory now. You should also
                          check that the systemstatus Makefiles install into $DESTDIR and not in / .
                          Now there is a debian subdirectory. Editing control file - adding description info:
                          Source: systemstatus
                          Section: kde
                          Priority: extra
                          Maintainer: rog 131 <name@domain.dom>
                          Build-Depends: cmake, libqt4-dev, kdelibs5-dev, libplasma-dev, debhelper (>= 7)
                          Standards-Version: 3.7.3
                          Homepage: http://www.kde-look.org/content/show...?content=74891

                          Package: systemstatus
                          Architecture: any
                          Depends: ${shlibsepends}, ${miscepends}
                          Description: simple plasmoid meant to display cpu, ram, and swap usage
                          System Status is a simple plasmoid meant to display cpu, ram, and swap usage. Currently it only monitors the average cpu usage. System Status only supports KDE 4.1. http://www.kde-look.org/content/show...?content=74891
                          Compiling/building deb:
                          Code:
                          dpkg-buildpackage -rfakeroot -b -uc
                          Output is in the systemstatus_log.txt.

                          Result is systemstatus_0.5-1_i386.deb (43kB)

                          Installing:
                          Code:
                          sudo dpkg -i systemstatus_0.5-1_i386.deb
                          [sudo] password for rog:
                          Selecting previously deselected package systemstatus.
                          (Reading database ... 113416 files and directories currently installed.)
                          Unpacking systemstatus (from systemstatus_0.5-1_i386.deb) ...
                          Setting up systemstatus (0.5-1) ...

                          Checking:

                          Code:
                          apt-cache show systemstatus
                          Package: systemstatus
                          Status: install ok installed
                          Priority: extra
                          Section: unknown
                          Installed-Size: 200
                          Maintainer: rog131 <name@domain.dom>
                          Architecture: i386
                          Version: 0.5-1
                          Depends: kdebase-runtime (>= 4:4.1.0), kdelibs5 (>= 4:4.1.0), libbz2-1.0, libc6(>= 2.1.3), libgcc1 (>= 1:4.1.1), libice6 (>= 1:1.0.0), libplasma2, libqt4-dbus(>= 4.4.1), libqt4-network (>= 4.4.1), libqt4-svg (>= 4.4.1), libqt4-xml (>= 4.4.1), libqtcore4 (>= 4.4.1), libqtgui4 (>= 4.4.1), libsm6, libstdc++6 (>= 4.1.1), libx11-6, libxau6, libxcursor1 (>> 1.1.2), libxdmcp6, libxext6, libxfixes3 (>=1:4.0.1), libxft2 (>> 2.1.1), libxrender1, libxtst6, zlib1g (>= 1:1.1.4)
                          Description: simple plasmoid meant to display cpu, ram, and swap usage
                          System Status is a simple plasmoid meant to display cpu, ram, and swap usage. Currently it only monitors the average cpu usage. System Status only supports KDE 4.1. http://www.kde-look.org/content/show...?content=74891
                          and it has been installing:
                          /.
                          /usr
                          /usr/share
                          /usr/share/doc
                          /usr/share/doc/systemstatus
                          /usr/share/doc/systemstatus/copyright
                          /usr/share/doc/systemstatus/changelog.Debian.gz
                          /usr/share/doc/systemstatus/README.Debian
                          /usr/share/doc/systemstatus/CMakeLists.txt
                          /usr/share/doc/systemstatus/CMakeCache.txt.gz
                          /usr/share/kde4
                          /usr/share/kde4/services
                          /usr/share/kde4/services/plasma-dataengine-mem_monitor.desktop
                          /usr/share/kde4/services/plasma-applet-system_monitor.desktop
                          /usr/share/kde4/services/plasma-dataengine-cpu_monitor.desktop
                          /usr/lib
                          /usr/lib/kde4
                          /usr/lib/kde4/plasma-applet_system_monitor.so
                          /usr/lib/kde4/plasma_engine_cpumonitor.so
                          /usr/lib/kde4/plasma_engine_memmonitor.so
                          /usr/bin
                          /usr/sbin

                          Is it working ?: logout - login and:
                          (Hmm ? Attached files are show only to the members ?)
                          Attached Files
                          Before you edit, BACKUP !

                          Why there are dead links ?
                          1. Thread: Please explain how to access old kubuntu forum posts
                          2. Thread: Lost Information

                          Comment


                            #14
                            Re: Install (almost) any plasmoid

                            Thanks Rog131!! Truthfully, you just swamped me there!

                            So, the following is the complete konsole output of the procedure. I know I did something. I've dealt with programing a long time, just never for Linux and I'm still learning this part of it. I think it has something to do with directing the output...

                            Code:
                            moonrise@:~$ cd /home/moonrise/FireFox_DwnLds/tglEffc/toggle-compositing-0.2
                            moonrise@:~/FireFox_DwnLds/tglEffc/toggle-compositing-0.2$ mkdir build
                            moonrise@:~/FireFox_DwnLds/tglEffc/toggle-compositing-0.2$ cd build/
                            moonrise@:~/FireFox_DwnLds/tglEffc/toggle-compositing-0.2/build$ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ../
                            -- The C compiler identification is GNU
                            -- The CXX compiler identification is GNU
                            -- Check for working C compiler: /usr/bin/gcc
                            -- Check for working C compiler: /usr/bin/gcc -- 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
                            CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:72 (MESSAGE):
                             ERROR: cmake/modules/FindKDE4Internal.cmake not found in
                             /home/moonrise/.kde4/share/apps;/usr/lib/kde4/share/kde4/apps
                            Call Stack (most recent call first):
                             CMakeLists.txt:3 (find_package)
                            
                            
                            CMake Warning (dev) in CMakeLists.txt:
                             No cmake_minimum_required command is present. A line of code such as
                            
                              cmake_minimum_required(VERSION 2.6)
                            
                             should be added at the top of the file. The version specified may be lower
                             if you wish to support older CMake versions for this project. For more
                             information run "cmake --help-policy CMP0000".
                            This warning is for project developers. Use -Wno-dev to suppress it.
                            
                            -- Configuring done
                            moonrise@:~/FireFox_DwnLds/tglEffc/toggle-compositing-0.2/build$ make
                            make: *** No targets specified and no makefile found. Stop.
                            moonrise@:~/FireFox_DwnLds/tglEffc/toggle-compositing-0.2/build$

                            Comment


                              #15
                              Re: Install (almost) any plasmoid

                              Wow.

                              Yep, I'm intimidated!

                              Comment

                              Working...
                              X