maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   can not find .changes file (Qt-creator- .deb) to upload to extras (https://talk.maemo.org/showthread.php?t=66216)

schasch 2010-11-26 07:38

can not find .changes file (Qt-creator- .deb) to upload to extras
 
Hello,

I need to upload my .deb to extras a ".changes-file"...
wich I can not find in my Qt-creator tree wich I used to build my .deb-file...

[
You should find your .changes file there. Please upload this file in the form below.
....
]


The .deb is created with :
Qt Creator 2.0.1
Basierend auf Qt 4.7.0 (32 bit)
Erstellt am Oct 7 2010 um 13:24:26
Revision 113d4c5618



Can't I upload the .deb directly to the 'extras'-repository?
How can I do/fix it?



regards
schasch

Creamy Goodness 2010-11-29 04:38

Re: can not find .changes file (Qt-creator- .deb) to upload to extras
 
you can't upload it directly.
i think the .changes is the changelog, you might have to generate that separately.
also things that start with a "." are hidden files on unix.

Diph 2010-11-29 07:22

Re: can not find .changes file (Qt-creator- .deb) to upload to extras
 
The deb has to be a source package. I'm not sure if you can do that in Qt Creator. If you have scratchbox use it instead. Dpkg-buildpackage will create the source package and the changes-file which are needed for auto builder.

http://wiki.maemo.org/Maemo_packaging
http://wiki.maemo.org/Packaging_a_Qt_application

noobmonkey 2010-11-29 07:44

Re: can not find .changes file (Qt-creator- .deb) to upload to extras
 
The changes file is a pain in the backside, especially if you are using windows? - i moved to ubuntu last week mainly because of that :P

The file is very very very particular on spaces in the right place etc, and windows has a habit of leaving line breaks etc....

Wordpad should be ok, best to take someone else's and be very careful in noting where there is a space, two spaces or no spaces :P

Blaizzen 2010-11-29 08:07

Re: can not find .changes file (Qt-creator- .deb) to upload to extras
 
Quote:

Originally Posted by noobmonkey (Post 885390)
The changes file is a pain in the backside, especially if you are using windows? - i moved to ubuntu last week mainly because of that :P

The file is very very very particular on spaces in the right place etc, and windows has a habit of leaving line breaks etc....

Wordpad should be ok, best to take someone else's and be very careful in noting where there is a space, two spaces or no spaces :P

Actually Qt Creator is great for changes files too, I was surprised the first time I used it, but it works really well for keeping everything properly formatted :D


Also maybe this thread might help too (if your on windows). Its the one I used and its worked out well.
http://talk.maemo.org/showthread.php?t=39962

schasch 2010-12-01 07:26

Re: can not find .changes file (Qt-creator- .deb) to upload to extras
 
thanks for answers..

>The deb has to be a source package. I'm not sure if you can
>do that in Qt Creator. If you have scratchbox use it instead.
>Dpkg-buildpackage will create the source package and the
>changes-file which are needed for auto builder.

so only packages with sources can be uploaded to extras?
And they are compiled on the extras-host?
so I have to set up a scratchbox for uploading to extras?

the new way from Nokia with Qt-creator is great and easy to work with and create .deb to install, I had been waiting very long for such an easy way to build a .deb. Unfortunately it cann't be used to upload the 'Qt-creator'created- apps to extras.
I think this is a must have!

:-(


regards
schasch

nicolai 2010-12-01 08:39

Re: can not find .changes file (Qt-creator- .deb) to upload to extras
 
You don't need scratchbox to create the changes file.
If you use QtCreatore, (windows or linux) there is a directory
NokiaQtSDK/Maemo/4.6.2/bin
with the program "mad" for executing building and
packaging commands manually with the madde environment.
Go to the build directory for your package,
(example test-proj-build-maemo) and execute the
buildpackage command:

PATH_TO_BIN_MAD/mad dpkg-buildpackage -sa -S
this should build the files

test-proj_0.0.1_source.changes
test-proj_0.0.1.dsc
test-proj_0.0.1.tar.gz

in the parent directory.

regards
Nicolai

http://wiki.maemo.org/Packaging_Qt_C...r_Maemo_Extras

schasch 2010-12-03 06:52

Re: can not find .changes file (Qt-creator- .deb) to upload to extras
 
thanks Nicolai,

I will test and report my success or NOT-success!

schasch 2010-12-03 07:32

Re: can not find .changes file (Qt-creator- .deb) to upload to extras
 
thanks again!

just uploaded my first Qt-maemo-app qvdremote_0.0.3.tar.gz
to extras...

thanks
schasch

schasch 2010-12-03 08:15

Re: can not find .changes file (Qt-creator- .deb) to upload to extras
 
:-(

could be uploaded, bud build failed?

see:
https://garage.maemo.org/builder/fre...log.FAILED.txt

any idea?


All times are GMT. The time now is 22:01.

vBulletin® Version 3.8.8