User forums > General (but related to Code::Blocks)
How can I create deb package of my project?
DRON_proger:
I am not very familiar with Linux, but I have created good crossplatform game and ported it succesfully to linux using C::B.
Now I am planning to upload it to Ubuntu Software Center, so I must create deb package.
I go through tutorials but I need to have makefiles :(
So is there any way to create signed deb package from already compiled binary or force C::B to generate make files and other stuff needed for debuild. Or at least prepare already compiled application for packaging using dpkg-deb –build.
I am stucked and need help :'(
Jenna:
You don't need makefiles for debuild.
You can work with C::B directly, if you can create the packages with a running xserver.
I have a very simple testapp on my server for download, that shows, how it can be done:
http://apt.jenslody.de/downloads/testapp.tar.bz2
or
http://apt.jenslody.de/downloads/testapp.7z
Otherwise you have to used a selfcompiled C::B for console. There exists a branch for it on svn.
--- Code: ---svn checkout http://svn.berlios.de/svnroot/repos/codeblocks/branches/codeblocks_console .
--- End code ---
http://forums.codeblocks.org/index.php/topic,14402.msg96848.html#msg96848
To create makefiles from C::B projects you can use cbp2make : http://forums.codeblocks.org/index.php/topic,13675.0.html .
I never used it myself.
DRON_proger:
Thanx a lot! ;D
DRON_proger:
I have error after executing $ dpkg-buildpackage, window with message "The project file does not exists..." sevral times. In C::B all builds correct.
I am running Ubuntu x64.
P.S.
Also may be it is possible to make deb without having sources, but with already compiled application? It could be the good solution for me.
Jenna:
--- Quote from: DRON_proger on December 17, 2011, 02:35:46 pm ---I have error after executing $ dpkg-buildpackage, window with message "The project file does not exists..." sevral times. In C::B all builds correct.
I am running Ubuntu x64.
P.S.
Also may be it is possible to make deb without having sources, but with already compiled application? It could be the good solution for me.
--- End quote ---
I just tested my test-project without any changes and it works flawlessly (except for some warning messages).
Debian unstable/experimental 64bit.
Navigation
[0] Message Index
[#] Next page
Go to full version