Jump to content


Photo

Liferea


  • Please log in to reply
10 replies to this topic

#1 sebt3

sebt3

    homebrew player (P. & C.)

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 1897 posts
  • Gender:Male
  • Location:QC

Posted 06 July 2010 - 09:49 PM

Hi boys,

Out of the general section, somes shown interest in an rss reader.

I though it would be a plain simple configure&&make&&make install. But it wasn't. This is the messiest package I have ever encounter.
Now I know why there is so many new build system these days : many don't even know how to use autoconf....
It take me even longer to get this to work than audacious (the first time)...

Here is how to build this :
export CPPFLAGS="-I/usr/local/pandora/arm-2009q3/usr/include -I/usr/local/pandora/arm-2009q3/usr/include/gtk-2.0 -I/usr/local/pandora/arm-2009q3/usr/include/cairo -I/usr/local/pandora/arm-2009q3/usr/include/pango-1.0 -I/usr/local/pandora/arm-2009q3/usr/lib/gtk-2.0/include -I/usr/local/pandora/arm-2009q3/usr/include/atk-1.0 -I/usr/local/pandora/arm-2009q3/usr/include/glib-2.0 -I/usr/local/pandora/arm-2009q3/usr/lib/glib-2.0/include -I/usr/local/pandora/arm-2009q3/usr/include/libxml2 -I/usr/local/pandora/arm-2009q3/usr/include/libglade-2.0 -I/usr/local/pandora/arm-2009q3/usr/include/libsoup-2.4 -I/usr/local/pandora/arm-2009q3/usr/include/webkit-1.0 -I/usr/local/pandora/arm-2009q3/usr/include/gconf/2 -I/usr/local/pandora/arm-2009q3/usr/include/dbus-1.0 -I/usr/local/pandora/arm-2009q3/usr/lib/dbus-1.0/include -I/usr/local/pandora/arm-2009q3/usr/include/libnm-glib"
./configure --host=arm-none-linux-gnueabi --with-gnu-ld --prefix=/mnt/utmp/liferea
Yeah, all these include dir should have been guessed by pkg_config... if only configure.am listed all the dependencies...


So after all this ranting, here is your candy.

By the way, I don't plan to use this (at least in the short term), so I've just done a quick test. But I'd love to see report about offline reading.

#2 skeezix

skeezix

    Mega GP Mania

  • GP Guru
  • 5088 posts
  • Gender:Male
  • Interests:Blog: http://www.rjmitchell.ca/~jeff/blog2009/

Posted 07 July 2010 - 02:07 AM

On my phone so hard to see but..

If you have like 50 -I/foo/bar, then you could work around it pretty easily; presumably your problem is you've built all those libs in various places, but not 'installed' them to a single header-location; you could perhaps 'make install' them into some common place. More to point, since headers are headers (generally), why not use native linux headers? (ie: if you're building on linux, say.) ie: If I need lib 'foo', I make-install it (or use apt-get etc) to the native linux as x86, so I get the headers in /usr/include; then just -I/usr/include into your cross-compiler and good to go. For the libs, since you've copied them from your pandora, they're already all in one place except for any you've had to build yourself; always just copy them into your build lib dir :)

So in my ports, they tend to just be -I/usr/include -L/my/pandora/libpath and good to go.

But yeah, working around package-fu to figure out the needed libs can be a pain, but you can also use -rpath etc in ld, so that when needed they get pulled in automagically a lot of the time.

Sorry I can't be mroe help, can't see your clip on my phone :)

jeffphone

#3 sebt3

sebt3

    homebrew player (P. & C.)

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 1897 posts
  • Gender:Male
  • Location:QC

Posted 07 July 2010 - 03:46 AM

If you have like 50 -I/foo/bar, then you could work around it pretty easily; presumably your problem is you've built all those libs in various places, but not 'installed' them to a single header-location; you could perhaps 'make install' them into some common place. More to point, since headers are headers (generally), why not use native linux headers? (ie: if you're building on linux, say.) ie: If I need lib 'foo', I make-install it (or use apt-get etc) to the native linux as x86, so I get the headers in /usr/include; then just -I/usr/include into your cross-compiler and good to go. For the libs, since you've copied them from your pandora, they're already all in one place except for any you've had to build yourself; always just copy them into your build lib dir :)

Well, this is how angstrom install these header files. I'ld guess that this ensure that you'll be able to work with gtk-2.16 and gtk-2.20 headers on the same system. And this work well (once you get libtool and pkg_config working right). Audacious, gftp etc also need these same files but don't requiere to set that rather long FLAGS as they have setup their dependency right for the configure script.

I could have created a horde of symlink too.

And what I should have done is fixing their configure.ac and report a bug with patch included... I'm too lazy, I choosed to rant here. Sorry about that.

#4 Tobriand

Tobriand

    Mega GP Mania

  • X-treme Team
  • 4046 posts
  • Location:Croydon (UK)
  • Interests:Gibbering as I walk down corridors,<br>Trying to bend people to my will over long periods of time, and generally being completely insane...<br><br><br>Mwahahahahahaha

Posted 07 July 2010 - 10:55 AM

Just a quick note of thanks - haven't yet tried it, but an RSS reader is something that I've been missing (especially since I don't especially like any web-based readers I've yet discovered). I'll tell you how it is as and when I do my next install run!

#5 Ian_J

Ian_J

    GP32 User

  • Members
  • PipPipPip
  • 73 posts
  • Gender:Male
  • Location:UK
  • Interests:Radio Comedy, Retro Gaming, Emulators, Pizza, Curry, Growing My Own (Fruit & Veg)

Posted 07 July 2010 - 11:06 AM

Many thanks for this, I don't have a Pandora yet....

But as soon as I do this will be one of the 1st apps on it.

#6 God Ginrai

God Ginrai

    Godmaster

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 3514 posts

Posted 07 July 2010 - 02:21 PM

Just a quick note of thanks - haven't yet tried it, but an RSS reader is something that I've been missing (especially since I don't especially like any web-based readers I've yet discovered). I'll tell you how it is as and when I do my next install run!


Have you tried Netvibe's built-in feed reader? I like that one a lot.

-God Ginrai

#7 DrCJBoduma

DrCJBoduma

    GP32 Hardcore

  • GP32 Hardcore
  • PipPipPipPip
  • 235 posts
  • Location:England

Posted 07 July 2010 - 03:06 PM

Just to add my thanks, for your efforts.

CJ

#8 xopher

xopher

    GP32 Hardcore

  • GP32 Hardcore
  • PipPipPipPip
  • 226 posts
  • Gender:Male
  • Location:Where I am

Posted 07 July 2010 - 04:40 PM

I loaded it up and no problems, unfortunately not able to really play with it much (lack of connectivity) at the moment but looks quite promising; thanks!!
Took 44 seconds to load from a class4 card that is also where my rootfs is running from.

EDIT: Works like a charm!! Might I be able to beg for Akregator? *grin*

Edited by xopher, 07 July 2010 - 07:28 PM.


#9 sebt3

sebt3

    homebrew player (P. & C.)

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 1897 posts
  • Gender:Male
  • Location:QC

Posted 08 July 2010 - 11:30 AM

Took 44 seconds to load from a class4 card that is also where my rootfs is running from.

It's faster to load when the rootfs is on nand (liferea depend on half the libraries in the rootfs... and on the web site they say "light"....)

by the way with positive feedback, this made the file archive.


Might I be able to beg for Akregator? *grin*

I'ld love to provide akregator. But "cmake + qt + kde + cross-compiling" is over what I can do : I have already worked 6hours on this and I've yet to get kdelibs.... /me want kpat so badly....

Edited by sebt3, 08 July 2010 - 11:32 AM.


#10 laurens

laurens

    GP32 Hardcore

  • Members
  • PipPipPipPip
  • 150 posts
  • Gender:Male
  • Location:Utrecht, The Netherlands

Posted 07 April 2011 - 03:19 PM

Nice bit of gravedigging here, but: thanks for the port!

#11 Esn

Esn

    (:\

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 2758 posts
  • Gender:Male
  • Location:Toronto, Canada
  • Interests:Art, Classical Music, Biology, Fantasy/Sci-Fi (books, art, movies, games), Crosscountry skiing, adventuring to foreign parts, and of course, handheld gaming machines. ;)

Posted 14 April 2011 - 01:50 AM

Hey, does anyone know if it's possible to transfer all the feeds that I have in Mozilla Thunderbird over to this somehow? There are quite a lot of them, and it would be quite a task doing it one-by-one...