[06:05] <BHSPiMonkey> Is it possible to write an Ubuntu SDK app that uses an installed C library (dynamically linked)?
[09:05] <JamesTait> Good morning all; happy Christmas Eve! :-D
[11:33] <daker> JamesTait: that's a confirmation you are a BOT now!
[11:34] <JamesTait> Oh my word, I thought I was the only person on the internet today!
[11:34] <daker> ;)
[11:48] <xnox> =)
[11:50] <daker> JamesTait: they are just relaxing :)
[11:50] <JamesTait> No time to relax - don't they know it's Christmas tomorrow? ;)
[11:51] <daker> JamesTait: i don't
[11:51] <JamesTait> There are things to be done!
[11:55] <efe> hello doods
[11:55] <efe> I am new to ubuntu
[11:56] <efe> Can any one help me about OS devvelopment??
[12:28] <om26er> \\o//
[23:31] <BHSPiMonkey> Is it possible to write an Ubuntu SDK app that uses an installed C library (dynamically linked)?
[23:38] <daker> BHSPiMonkey: AFAIK no
[23:38] <BHSPiMonkey> Hmm
[23:38] <daker> you only have the right to read/write your own directory
[23:39] <BHSPiMonkey> Could it be done with a custom QML C++ plugin that gets distributed with the app?
[23:39] <daker> BHSPiMonkey: you mean your own lib ?
[23:40] <BHSPiMonkey> daker: no, a lib that would be a dependency (e.g. libvorbis)
[23:41] <daker> BHSPiMonkey: i see so i think you need to ship the lib(.so) with the click package
[23:42] <daker> always remember your only allowed to read/write the app dir
[23:43] <BHSPiMonkey> That would be unfortunate. I'd just want to be able to ship a frontend to an installed library on the system. Like a media converter that relies on libffmpeg
[23:43] <BHSPiMonkey> If you're only allowed access to the app dir, how could anyone write something equivalent to Shotwell or Banshee?
[23:45] <daker> using APIs
[23:46] <daker> http://developer.ubuntu.com/publish/apps/security-policy-for-click-packages/
[23:50] <BHSPiMonkey> Interesting.
[23:51] <BHSPiMonkey> I'm having trouble figuring out how I would even read files that the user wanted me to work with
[23:51] <daker> BHSPiMonkey: using ContentHUB
[23:52] <daker> BHSPiMonkey: http://developer.ubuntu.com/api/qml/sdk-1.0/Ubuntu.Content.index/
[23:53] <daker> BHSPiMonkey: it only support reading the Pictures folder for now & it will be extended for Videos, etc...
[23:55] <BHSPiMonkey> daker: basically, I was interested in writing a frontend for an emulator which exists as a library (libmupen64plus2) in the ubuntu repos
[23:56] <daker> before you start, you need to check if the libmupen64plus2 package is installed by default on the phone images
[23:56] <BHSPiMonkey> My thought was that I could write a nice pretty Ubuntu-SDK-themed frontend, and in theory it would be able to work on any system where that lib was available
[23:56] <daker> and i think it is
[23:57] <BHSPiMonkey> daker: why on earth would it be installed by default on any distribution image?
[23:57] <daker> i don't think it is installed by default on the phone images*
[23:57] <BHSPiMonkey> right
[23:58] <BHSPiMonkey> but I'm not really trying to get it working on phones; hopefully the platform-agnostic nature in which I'd write the frontend would allow for a user to get it working on a phone, but that's a secondary goal
[23:59] <daker> BHSPiMonkey: i see