Hi,
I switched to linux half a year ago, and created my new app cross platform with CodeBlocks.
The installer for windows was easy, but I want to also create a debian package for ubuntu and possibly also an rpm for suse.
For that I read some docs on how to create debinan packages. I found the process rather complicated, and it seemed it's based on a regular makefile or an automake file. None of which I found in my CodeBlocks project folder.
Does someone have experience on how to build a binary deb package of a program created with CodeBlocks?
Would be nice if someone could explain the process.
Thanks
Richard
No time to explain it.
Maybe I will create a wiki-article sometimes, but if I do so it will surely not be in the next few weeks, sorry.
I thought about developping a plugin, that creates the files needed to build deb-packages, but as written before, I have very few time at the moment.
But it's not so hard to do this manually.
I attach a simple example, based on the skeleton created by dh_make.
To unpack it you need "7z" (.bz2 and .gz files are not allowed as attachments).
Just type 7za x -so testapp.tar.7z | tar xf - cd testapp-0.1dpkg-buildpackage
[attachment deleted by admin]
Hi Jens,
thanks for the example.
I'm still fighting the details, but your example was a good start.
The rest that I have to sort out has more to do with the deb package itself than with codeblocks.
Rgds
Richard
jens
The same problem to me!
Your attachment is deleted, could you upload it again, please?
Quote from: DRON_proger on December 17, 2011, 08:27:32 AM
jens
The same problem to me!
Your attachment is deleted, could you upload it again, please?
All attachements will be deleted from time to time to save space.
Here it is:
http://apt.jenslody.de/downloads/testapp.tar.bz2 (http://apt.jenslody.de/downloads/testapp.tar.bz2)
or
http://apt.jenslody.de/downloads/testapp.7z (http://apt.jenslody.de/downloads/testapp.7z)