![]() |
Post-development steps
EDIT:
Hmm.. 56 views and no replies, I think I'm asking too much :D I've just sent the upload request with the package name 'imagesetmaker', I took a look at other apps and figured that out, sorry for asking.. Maybe I'm just worrying too much, It'll probably be easier than I think. For reference, the original post is here: Quote:
|
Re: Post-development steps
Hi Berserk
> - Version numbers I too have this problem, and have asked in the qt development forum. I have gotten some answers that may solve the problem, but it requires some testing before I know if it is a solution. I'll let you know the result. Kim |
Re: Post-development steps
Quote:
|
Re: Post-development steps
Well.. I finally got it to upload, thanks to the wiki's :D
But now the autobuild fails.. I copied the rules contents from the Packaging a Qt application page, but I'm not sure how to edit the rules file. I think I have to replace "(APPNAME)", "(CURDIR)" and "(MAKE)"? I did anyway, except the "(MAKE)", I don't know what that needs to be. Don't know if replacing is good or not either.. At the top of the rules file, it says Code:
#!/usr/bin/make -f I really feel stupid for not understanding the rules file :D I just noticed/read that "libqt4-dev" needs to be added, so this line is now in my control file: (Didn't have "libqt4-dev" before this post) Code:
Build-Depends: debhelper (>= 5), autotools-dev, libhildon1 (>= 2.2), libqt4-dev |
Re: Post-development steps
It seems to me that things like $(CURDIR) are some sort of system variables that don't need to be specified by the developer.. I'm just not sure :D
|
Re: Post-development steps
Quote:
Speaking for myself I found it quite helpful to use the qt-maemo-example package. Once you have that correctly building a package you can use it as a reference to see where you might be going wrong with your own packaging. |
Re: Post-development steps
Thanks for pointing me in the right direction!
I've tried numerous times now.. and I think it's almost working now. So far I've had *empty* .deb's showing up, only the bin and doc dir had files in it, no icons, .desktop or .service files.. After I've prepared the folders/sources and ran "mad dh_make", I edited the files inside the debian folder, then I ran "mad qmake", and right after that I ran the "mad dpkg-buildpackage -sa" command. The problem is.. the files that should go into debian/<appname> show up somewhere else. (I use WinXP with Nokia Qt SDK, both installed on E: ) My source files are in E:\QtPrograms\... etc. While building, the necessary files go into E:\e\QtPrograms\... etc. I know Linux doesn't work with drive letters, but how can I fix this? :P EDIT: I could probably (?) put those folders in the .deb with an archiver, but that's not the way it should go, I think. |
Re: Post-development steps
Quote:
I have never tried to create a package using Mad but a common problem for me on scratchbox is that qmake adds the "absolute paths" to the Makefile. I always have to edit by hand the Makefile before creating the package in order for the autobuilder to work. Just an idea ... if you think this maybe the case post your Makefile. Felipe |
Re: Post-development steps
Thanks! I'll try it, and post the Makefile in case it screws up..
In the meantime I've gotten the idea of replacing INSTALL_ROOT=$(CURDIR)/debian/$(APPNAME) install with INSTALL_ROOT=debian/$(APPNAME) install in debian/rules Since CURDIR probably starts with /e/ EDIT: hmm.. I'd better not, I don't know where it will end up then :D EDIT2: INSTALL_ROOT=E:\QtPrograms\ImageSetMaker\0.1.2\imagesetmaker-0.1.2/debian/$(APPNAME) install Gave a build error: "e:e:" not found INSTALL_ROOT=QtPrograms\ImageSetMaker\0.1.2\imagesetmaker-0.1.2/debian/$(APPNAME) install Partially worked, it put that whole path in the .deb package :D but with the needed folders/files! (DEBIAN, qtprograms and usr folders) Also, "dh_shlibdebs" took quite long in the process. INSTALL_ROOT=debian/$(APPNAME) install Made E:\debian (wrong again) EDIT3: INSTALL_ROOT=$(APPNAME) install Made E:\imagesetmaker I'll post my Makefile then :D |
Re: Post-development steps
Here's my Makefile (first half of it)
It does seem to recognise E:\ Could you help me with this one? Code:
############################################################################# |
All times are GMT. The time now is 00:52. |
vBulletin® Version 3.8.8