maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] oobTodo | launch your to-do list quickly (https://talk.maemo.org/showthread.php?t=82496)

qwazix 2012-02-21 20:05

[Announce] oobTodo | launch your to-do list quickly
 
3 Attachment(s)
This little app just adds an icon for your to-do list on the N9 application screen.

Unfortunately, I couldn't get to package the icon in a deb without qt-creator so I had to make a project with a dummy binary file that just returns 1.

If you like you can add the zipped files to /home/user/.local/share/applications instead to achieve the same functionality

The app will be available on ovi too in a couple of days.

Attachment 25165

itsnotabigtruck 2012-02-23 03:25

Re: [Announce] oobTodo | launch your to-do list quickly
 
If you use Debian or Ubuntu, or can set it up in a virtual machine, using Scratchbox (Harmattan Platform SDK) is your best bet for packaging. That way you can use the standard Debian packaging utilities and include as much or as little as you want in the final result. There's more than a little bit of a learning curve, especially if you haven't worked on Debian packages before, but because of that you also learn a lot about how the package system works.

qwazix 2012-02-23 16:19

Re: [Announce] oobTodo | launch your to-do list quickly
 
I did that, I work on ubuntu regularly, but I stumbled upon aegis. (The package I created installs fine in ubuntu (I didn't make it through scratchbox though, I can try, I have it installed thankfully) but gives a permission error on harmattan.

error setting permissions of `./usr/share/applications/oobTodo.desktop': Operation not permitted

I also even tried to get the contents of the debian folder qtCreator makes, remove the binary and package it again with dpkg-deb but I get the same error.

Anyway, I think that my binary will eventually be needed, so i'll keep it. I can make it use the grue sensor when qt5 is out too.

itsnotabigtruck 2012-02-24 16:02

Re: [Announce] oobTodo | launch your to-do list quickly
 
Quote:

Originally Posted by qwazix (Post 1168792)
I did that, I work on ubuntu regularly, but I stumbled upon aegis. (The package I created installs fine in ubuntu (I didn't make it through scratchbox though, I can try, I have it installed thankfully) but gives a permission error on harmattan.

error setting permissions of `./usr/share/applications/oobTodo.desktop': Operation not permitted

I also even tried to get the contents of the debian folder qtCreator makes, remove the binary and package it again with dpkg-deb but I get the same error.

Anyway, I think that my binary will eventually be needed, so i'll keep it. I can make it use the grue sensor when qt5 is out too.

Run dpkg -c on your package and check what the permissions/UID/GID on the files you're installing are. If you were using dpkg -b, it's easy to mess up and install files with incorrect permissions.

However, what I'm recommending is to build a source package directory structure and use dpkg-buildpackage from inside Scratchbox, rather than using either Qt Creator or dpkg -b. The build process normally ensures permissions are set correctly, and once you're familiar with Debian source packages it can be really easy to port certain programs/utilities to the N9. It also automatically takes care of everything for Aegis, which has to be done manually if you use dpkg -b instead.


All times are GMT. The time now is 23:37.

vBulletin® Version 3.8.8