![]() |
Scratchbox problem
Hi, if I want to post app in extras repo I will have to pack it in scratcthcbox? When I run this line in FREMANTLE_X86:
Code:
dh_make -e your.name@example.org --createorig Code:
bash: dh_make: command not found Code:
Reading package lists... Done |
Re: Scratchbox problem
Hi,
try: Code:
apt-get install debhelper |
Re: Scratchbox problem
Thank you, but problem was between my chair and pc:) Now I have other problem with AUTOBUILDER I try upload deb copiled in scratchbox and MADDE, but I ever get this error.
Code:
TMP="/var/tmp" |
Re: Scratchbox problem
I think there is something wrong with
qmake.conf Not really sure. I have Scratchbox too but I didn't build any packages so fayr, I have install it the other day. |
Re: Scratchbox problem
No problem is in MAKEFILE but I dont know what.
|
Re: Scratchbox problem
Try to post qmake.conf someone can probably figure it out!
|
Re: Scratchbox problem
OK. qmake.conf from MADDE linux g++
Code:
# |
Re: Scratchbox problem
I got a problem too. I changed the target of scratchbox to ARMEL and tried to install the qt packages. So I edited sources.list adding the line
deb http://repository.maemo.org/extras-devel/ fremantle free non-free When I exec "fakeroot apt-get install libqt4-dev" I got several dependency problems. Code:
Reading package lists... Done |
Re: Scratchbox problem
Now I have other problem with AUTOBUILDER I try upload deb copiled in scratchbox and MADDE, but I ever get this error.
Code:
TMP="/var/tmp" |
Re: Scratchbox problem
Have you tried to follow these instructions http://wiki.maemo.org/Packaging_a_Qt_application ? Those works for me just fine.
|
Re: Scratchbox problem
Thx yes, i know it and do it. But still the same error. Please help me.
|
Re: Scratchbox problem
Could you post your *.pro files and debian/rules file?
|
Re: Scratchbox problem
Yep, *.pro
Code:
TARGET = fsudoku Code:
#!/usr/bin/make -f |
Re: Scratchbox problem
Well one thing which I noticed is that you don't use qmake in your debian/rules. Why don't you just modify .pro and debian/rules like said in the instructions I pointed out couple of posts ago?
|
Re: Scratchbox problem
Because these are filessīgenerated by MADDE. I tryed add this line:
qmake-qt4 PREFIX=/usr ../$(APPNAME).pro and still the same error in autobuilder. |
Re: Scratchbox problem
I downloaded your source package and it seems that you are missing Qt from dependecies, so add libqt4-dev, libqt4-core and libqt4-gui (and others if needed) to your dependecies in debian/control.
You also need to change "7" in debian/compat to "5", otherwise it won't work. And I still suggest that you change src/src.pro, fsudoku.pro and debian/rules as described in the "Packaging a Qt application" wiki page (note that you have to run dh_make again after modifying those .pro files). I did that to my MADDE project and it worked. (Those MADDE packaging instructions ( http://wiki.maemo.org/MADDE/Packaging ) aren't really suitable for source packaging for autobuilder but only for testing on device) Oh yeah, and add a file called "optify" to debian folder and the file should contain only text "auto". This will make your app optified nicely. |
Re: Scratchbox problem
Thank you I do everything and while building in scratchbox I am getting this error:
Code:
cd builddir && /scratchbox/tools/bin/make |
Re: Scratchbox problem
How do you build it? Have you tried to upload to extras?
|
Re: Scratchbox problem
No I cant build it. I get the error. I post it in last post.
|
Re: Scratchbox problem
Well if this is your build command: cd builddir && /scratchbox/tools/bin/make, then it shouldn't even build. Why don't you just try to upload it to extras, I'll promise to eat my pants if it doesn't succeed (if you have made all the things I have suggested you to do).
|
Re: Scratchbox problem
Autobuilder give me the same error as scratchbox.
|
Re: Scratchbox problem
You are still missing Qt dependencies in debian/control and you also have removed some important stuff from src.src :D
I think it should look like this: Code:
TARGET = fsudoku |
Re: Scratchbox problem
I know I immediatelly edited it and now I get old error.
Code:
make[1]: Entering directory `/home/builder1/maemo-fremantle-armel-extras-devel/work/fsudoku-0.1' |
Re: Scratchbox problem
1 Attachment(s)
Try my attachment.
1. Go to directory fsudoku-0.1 2. Remove existing .orig (rm -rf ../fsudoku-0.1.orig) 3. dh_make --createorig 4. dpkg-buildpackage -rfakeroot -sa -S |
Re: Scratchbox problem
Now its ok. Thank you very much you are my hero. When will be app in devel?
|
Re: Scratchbox problem
Quote:
|
Re: Scratchbox problem
OMG It isnt ok. Packaging progress is ok but .deb has 2kb because command dh:installdirs doesnt work. Icons and other files arent installed. What is wrong?
|
Re: Scratchbox problem
Hmmm...that's interesting. I think the icon problem can be solved by adding a few lines to debian/rules (make sure it goes in right place):
Code:
# Add here commands to install the package into debian/your_appname But I have no idea why the app itself doesn't get installed. Weird, I must say. |
Re: Scratchbox problem
I had same idea about install icons but it isnt good. I really dont know where is problem. Nothing what could be installed from src,pro isnt installed. Thank you once more. I am really disappinted. How delete deb from devel?
|
Re: Scratchbox problem
Quote:
Hi, you have set the wrong path in your src.pro to the icons (I took the tar from post 26). You have Code:
../data/26x26/$${TARGET}.png Code:
data/26x26/$${TARGET}.png Daniel |
Re: Scratchbox problem
Thank you but it doesnt work. After build isnt in debian directory from src.pro.
|
Re: Scratchbox problem
Why does this thread keep bumping up even though there is never new messages?
Very annoying. |
Re: Scratchbox problem
Sorry my mistake. Do you have any ideas about my problem?
|
Re: Scratchbox problem
Quote:
Build-Depends: debhelper (>= 5), libqt4-dev else qmake isn't installed on the autobuilder. |
Re: Scratchbox problem
Thank you but it isnt my problem. I havent any files in debian/fsudoku directory.
|
Re: Scratchbox problem
Maybe you could upload your sources somewhere so someone can have a look? You really should have a debian/ directory, in your case it was generated by dh_make.
|
Re: Scratchbox problem
Here is source to pack.
http://www.megaupload.com/?d=EZ9C285J |
Re: Scratchbox problem
Quote:
How to solve this problem? |
Re: Scratchbox problem
we are starting over now? lol
did you try the suggestion "apt-get install debhelper"??? |
Re: Scratchbox problem
Quote:
yep! I forgot to point out I'm trying to do this on the device using qole's sdk image.. Quote:
|
All times are GMT. The time now is 22:16. |
vBulletin® Version 3.8.8