Notices


Reply
Thread Tools
qwazix's Avatar
Moderator | Posts: 2,620 | Thanked: 5,383 times | Joined on Jan 2010
#1
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.

Name:  Screen_21-Feb-12_18-28-42.jpg
Views: 559
Size:  24.5 KB
Attached Files
File Type: zip oobTodo.zip (6.3 KB, 30 views)
File Type: deb oobtodo_0.0.1_armel.deb (10.3 KB, 33 views)
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jolla contactlaunch timenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob
 

The Following User Says Thank You to qwazix For This Useful Post:
Posts: 245 | Thanked: 891 times | Joined on Feb 2012
#2
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's Avatar
Moderator | Posts: 2,620 | Thanked: 5,383 times | Joined on Jan 2010
#3
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.
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jolla contactlaunch timenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob
 
Posts: 245 | Thanked: 891 times | Joined on Feb 2012
#4
Originally Posted by qwazix View Post
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.
 

The Following User Says Thank You to itsnotabigtruck For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT -4. The time now is 04:40 PM.