maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   Seeking help on packaging with TagLib dependency (https://talk.maemo.org/showthread.php?t=89728)

erendorn 2013-04-07 20:33

Seeking help on packaging with TagLib dependency
 
Hello,
I'm writing a time-shifting application for web radio streams, so that I can record a web radio at night (wifi/plugged-in main), and listen to the recordings when I'm at work (or anywhere with limited data and/or battery). Sources are there, if you want.

I want to auto-tag the files that are extracted from the stream, and I'd like to use TagLib for that. I like to code, but I absolutely hate compiling and packaging, so if someone has some experience with cross compiling/linking stuff, if possible in some easy way (like, with QtCreator), I'll take any advice available. TagLib is cmake based.

Thanks in advance!

Disclaimer: it's a lot out of laziness (I could google and trial-and-error my way out of it given enough time), but it's really the worst part for me :)

www.rzr.online.fr 2013-04-07 22:38

Re: Seeking help on cross compiling TagLib
 
https://build.pub.meego.com/package/...zr%3Aharmattan

or you want it for m5 ?

erendorn 2013-05-01 18:12

Re: Seeking help on cross compiling TagLib
 
Thanks

I've managed to build and run the application on ubuntu (didn't try to package), and now I'm trying to package it to deploy it on my N9.
I've uncompressed your packages to set the LIBS and INCLUDEPATH variables, and it builds correctly, but I can't manage to package it.
It complains with:
Code:

dpkg-shlibdeps: failure: couldn't find library libtag.so.1 needed by debian/radiorec/opt/radiorec/bin/radiorec (its RPATH is '').
I don't know how to tell him where to get this lib.
I'll read some more about packaging to try to fix this, but maybe I'm just doing something wrong..

erendorn 2013-05-01 19:46

Re: Seeking help on packaging with TagLib dependency
 
I'm progressing, I've followed this link to install the packages in the build environment.
Now I get:
Code:

dpkg-shlibdeps: failure: no dependency information found for /home/nicolas/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/lib/libtag.so.1 (used by debian/radiorec/opt/radiorec/bin/radiorec).

erendorn 2013-05-01 19:57

Re: Seeking help on packaging with TagLib dependency
 
I'm on a row :)
(I write every step here because maybe it will be useful someday)

I've double commented the following line in qtc_packaging rules files:
Code:

#        # dh_shlibdeps # Uncomment this line for use without Qt Creator
and now it packages. Installation still fails as I still need to install taglib on the N9 manually... going to try.

erendorn 2013-05-01 20:13

Re: Seeking help on packaging with TagLib dependency
 
Yay, it works!!

So one thing remains:
rzr's taglib deb package refused to install by clicking on it, but it worked once I used dpkg -i (after devel-su). Why would that be?

If I want to make my application available to the community, how should I proceed with this dependency? can it be added to apps for meego repo?


All times are GMT. The time now is 05:59.

vBulletin® Version 3.8.8