Announcement

Collapse
No announcement yet.

[Solved] Widget RSS news for KDE4.1.2

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

    [Solved] Widget RSS news for KDE4.1.2

    Hi! I'm searching a KDE4 widget for the RSS news!
    I know that this widget exists:
    http://etotheipiplusone.com/kde4-rss-news-widget.png

    but i think that maybe it exists only for the KDE4 SVN because i didn't find it anywhere..
    Do you know if I can install this widget for my KDE4.1.2??

    Thank you and sorry for my english :P
    Maurizio.

    #2
    Re: Widget RSS news for KDE4.1.2

    Maybe this helps > RSSNOW - how to force it to fetch feeds

    by "grew"
    Yes, great! It works!

    Let me summarize:
    1. Grab sources and compile rss dataengine.
    - svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdebase/workspace/plasma/dataengines/rss
    - create brand-new CMakeLists.txt (post #8)
    - edit plasma-dataengine-rss.desktop and change: ServiceTypes to X-KDE-ServiceTypes, add line: X-Plasma-EngineName=rss
    - mkdir build; cd build; cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
    - make
    - su; make install

    2. Grab RSSNOW sources and compile it.
    - svn co svn://anonsvn.kde.org/home/kde/trunk/kdereview/plasma/applets/rssnow
    - mkdir build; cd build; cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
    - make
    - su; make install

    3. Logout & Login (or simply restart plasma)
    4. Add RSSNOW widget, have fun

    Thank you bcooksley and aseigo!

    Trying, with the Kubuntu 8.10 Intrepid Ibex:

    Loading:
    Code:
    svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdebase/workspace/plasma/dataengines/rss
    and
    Code:
    svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeplasma-addons/applets/rssnow
    Doing as "grew" tells (1) and compiling (2),(3) ... seems to work.

    For the Intrepid > a PPA repository for the RssNow


    (1) plasmoid-rssnow is using:
    Code:
    #include <plasma/widgets/iconwidget.h>
    but KDE 4.1.2 doesn't have "iconwidget.h". So using "icon.h" and "Icon" instead of "iconwidget.h" and "IconWidget" in the scroller.cpp and in the scroller.h

    (2) rss (engine)
    Build-Depends: kdelibs5-dev, libplasma-dev, libqt4-dev, libboost-dev, kdepimlibs5-dev, (+build-essential).

    (3) rssnow (plasmoid)
    Build-Depends: kdelibs5-dev, libqt4-dev, libplasma-dev, (+build-essential).
    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


      #3
      Re: Widget RSS news for KDE4.1.2

      I find this page
      https://launchpad.net/~samrog131/+archive
      where it is indicate one repository containing few plasmoids and also the RSS News plasmoid!!

      Comment


        #4
        Re: [Solved] Widget RSS news for KDE4.2

        I found the RSS engine would not compile for me as stated.

        It keept giving me an "Unknown CMake command “kde4_add_plugin” error."

        After a bit of googling for an answer, I was able to compile it by modifying the CMakeLists.txt like this :

        Code:
        find_package(KDE4 REQUIRED)
        find_package(Boost REQUIRED)
        include(KDE4Defaults)
        include(MacroOptionalAddSubdirectory)
        
        add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
        include_directories(${Boost_INCLUDE_DIR} ${KDEPIMLIBS_INCLUDE_DIR})
        
        set(rss_engine_SRCS
          rss.cpp
        )
        
        kde4_add_plugin(plasma_engine_rss ${rss_engine_SRCS})
        target_link_libraries(plasma_engine_rss ${KDE4_PLASMA_LIBS} ${KDE4_KDECORE_LIBS} ${KDE4_SYNDICATION_LIBS})
        
        install(TARGETS plasma_engine_rss DESTINATION ${PLUGIN_INSTALL_DIR})
        install(FILES plasma-dataengine-rss.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
        This gets rid of the complaints from cmake, and it appears to compile OK, but now the makefile won't install properly... :P

        Comment

        Working...
        X