maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Help packaging a qt home screen widget if possible. (https://talk.maemo.org/showthread.php?t=54972)

jamie721 2010-06-02 21:54

Help packaging a qt home screen widget if possible.
 
Ok i have created a home screen widget in qt and i am trying to upload it to extras devel.

I created a package using the two packaging wikis packaging qt application and the normal packaging one.

I have gotten to the point where you have to input the .changes file to the website but when i click upload it says File upload error. You didn't upload a valid .changes file.

Could some body help me edit the debian files to get my first version of the app pushed out to the world.

Basicaly i think that the two wikis are to genralised for my type of project. This is because of the abnormal style of application

First oddity my application should not be stored in the usual place. The executable should be stored in the /usr/lib/hildon-desktop/

Second oddity . desktop file should be stored in the /usr/share/applications/hildon-home/

I would like to optify my application by storing 3 images in a folder under opt. Any suggestions would be appreciated. (is this is what is meant by optifying)


I have tryed re building the package but i get errors:

dpkg-source -b proxyswitcher-0.1
dpkg-source: error: per-package paragraph 1 in control info file is missing Package line

I have jumped over many hurdles to get to here as i am new to linux, qt and scratchbox but feel along the way i have gained a good grasp of these technologies.

I feel my lack of knowledge in this area has left me not knowing what to try to fix this and maybe a good example from somebody will clarify what all the different debian files are for.

I have a feeling things went wrong when i used dch to edit the changelog. I didn't quite get how to use it because all it did was load nano but every thing i changed it said was incorrect format.

what ever knowledge you pass on to me i promise to make a very clear wiki on how to achieve this with qt once and for all. Altho i will probably need a spell checker haha.

danielwilms 2010-06-03 10:18

Re: Help packaging a qt home screen widget if possible.
 
Hi,

check the qt example for a homescreen widget. The *.pro file shows you where to store the files, the desktop-file, what you have to include there, and have a look as well at the control and changelog file in the debian folder. This should help you.

Daniel

jamie721 2010-06-03 13:16

Re: Help packaging a qt home screen widget if possible.
 
Like i said i have done this and have failed miserably. Yeh my .pro file is set up correctly as i used the example one you are describing and edited.

But i haven't yet looked at the examples debian files this would probably help alot cheers mate.

Any idea how to use dch it opens nano but i am un-sure how to edit anything as every thing i changed stopped me from being able to create the package so i just left it as it is.

jamie721 2010-06-06 11:33

Re: Help packaging a qt home screen widget if possible.
 
Bump -------------------

gri 2010-06-06 11:55

Re: Help packaging a qt home screen widget if possible.
 
If you can't find out what's wrong, the best would be to zip your code and upload it here that others can also debug.

I'm going to the lake now for a few hours, otherwise I'd say send me the code by mail if you don't want to "publish" it yet.

jamie721 2010-06-08 19:01

Re: Help packaging a qt home screen widget if possible.
 
Ok cheers mate. i have since managed to get a package built and then uploaded it to the extras but it fails so i have include all the logs and files i uploaded and my src directory for people to take a look and see if you can explain whats going wrong.

From the logs i can see that the glib and gconf dependences are not working but it works in my scratchbox could any body help me.

If you have the solution can you please tell me how you went about solving the issue so i can use it at a later date.

edit: removed source..

jamie721 2010-06-08 19:58

Re: Help packaging a qt home screen widget if possible.
 
Ok i think im getting somewhere know its building the arm package but failing because of something in my rules file gonne change it a lil.

here is the url of the build log

jamie721 2010-06-08 20:09

Re: Help packaging a qt home screen widget if possible.
 
Mwahahahahaha i have done it lol it was accepted. owww i feel all warm and fussy lol. I dont think it is going to work properly on the device yet but at least i have managed to do my first package and submission.

jamie721 2010-06-08 20:37

Re: Help packaging a qt home screen widget if possible.
 
could any body help with this error message in the auto builder.

install -m 755 -p /home/builder1/maemo-fremantle-armel-extras-devel/work/proxyswitcher-0.1/src/proxyswitcher.desktop /home/builder1/maemo-fremantle-armel-extras-devel/work/proxyswitcher-0.1/debian/proxy-switcher/usr/share/applications/hildon-home/
strip /home/builder1/maemo-fremantle-armel-extras-devel/work/proxyswitcher-0.1/debian/proxy-switcher/usr/share/applications/hildon-home/proxyswitcher.desktop
/scratchbox/compilers/cs2007q3-glibc2.5-arm7/bin/sbox-arm-none-linux-gnueabi-strip: /home/builder1/maemo-fremantle-armel-extras-devel/work/proxyswitcher-0.1/debian/proxy-switcher/usr/share/applications/hildon-home/proxyswitcher.desktop: File format not recognized
make[2]: [install_desktop] Error 1 (ignored)

jamie721 2010-06-09 18:42

Re: Help packaging a qt home screen widget if possible.
 
ok dont worry about the last error as i i think i know what the problem is.

my new issue is that i have installed my package from the extras devel checked weather has installed to the right locations it hasnt. Infact i can determin wear its put any of the files.

What can i do from here restart the packaging process or is there a process of a elimination to determin what is happening?

Also can i ask does any one know what the dirs file in the debian package is for i am strugling to find any information at all?

danielwilms 2010-06-10 06:57

Re: Help packaging a qt home screen widget if possible.
 
Hi,

Quote:

Originally Posted by jamie721 (Post 707645)
Also can i ask does any one know what the dirs file in the debian package is for i am strugling to find any information at all?

I'm writing a blog-post to show step-by-step how to implement and package a qt homescreen-widget after reading it here. Give me a bit of time. Latest I will post it tomorrow.

Daniel

jamie721 2010-06-10 16:28

Re: Help packaging a qt home screen widget if possible.
 
Yo Daniel any news yet ma good friend? or could you please post a link to your blog ?

Edit: dont worry found it ;) http://danielwilms.wordpress.com/

Good work with the download assitant i like it alot.

Any idea if this is fatel error?
dch warning: passwd full name field for uid 1000
is not UTF-8 encoded; ignoring
dch: Did you see that warning? Press RETURN to continue...


qwerty12 noticed whats wrong i think it was something to do with a name inconsistency but i have asked him to clarify what it was so i can report back here.

danielwilms 2010-06-11 08:21

Re: Help packaging a qt home screen widget if possible.
 
Quote:

Originally Posted by jamie721 (Post 709038)
Yo Daniel any news yet ma good friend? or could you please post a link to your blog ?

Edit: dont worry found it ;) http://danielwilms.wordpress.com/

Ui, sorry I put different blogs together to one, so that the latest stuff you will find here. I should write that in a post on the old one ;) But please check it out and let me know, if something doesn't work. I hope that helps,

Daniel


All times are GMT. The time now is 21:38.

vBulletin® Version 3.8.8