![]() |
Distributing Binary...
Hi All,
I've just finished my first game and want to "release" it, but how? I've read some of the information on debian packages etc but they seem to be overkill for what I need. for example http://wiki.maemo.org/Documentation/...ebian_Packages The instructions for creating a package are actually twice as long as my source code :) I have a simple app written in C, its made up of one binary and one png file for gfx. Is there no simpler way to do this? Cheers Jamie |
Re: Distributing Binary...
Making a simple debian package really isn't that difficult. I can't program for ****, yet I'm able to package things up. How is a reverse situation even possible? :)
|
Re: Distributing Binary...
Quote:
Of course you could just release a tarball hosted "somewhere" and hope people bother with extracting it and running the program via terminal (or copying the .desktop etc files to correct places) Also as stated the helper scripts make the packaging rather simple, just follow the instructions. |
Re: Distributing Binary...
LOL, may seem strange but I come from a large programming background, but zero linux. and its all very strange :)
Perhaps you can detail how to do it?, I will be releasing my source code to help any programmers along. Cheers |
Re: Distributing Binary...
I would suggest getting MADDE and getting to know how it's done there, maybe it's a bit clearer.
|
Re: Distributing Binary...
Quote:
In short run dh_make, edit debian/rules to make your program compile/install, edit debian/control for build dependencies and other details, build with dpkg-buildpackage |
Re: Distributing Binary...
grrrr...
Well I've spent the best part of my night trying to make sense of this but am failing miserably. i've ran dh_make, i've changed my debian/control file (added icon etc) I just cannot get it to compile my app in the debian/rules, my app was quite simple so didn't have a make file, so I created a simple makefile for the packager to use so now it compiles my app but doesn't install it(add it to the deb file). its trying to run the makefile with the install target but what am I supposed to put in there? I presume some kind of copy command, but to where? It looks like the rules file passes DESTDIR variable to "make" but how do implement that? Please, any help? |
Re: Distributing Binary...
Quote:
About DESTDIR case. You need 'install' target in you Makefile that uses DESTDIR. There is one example. Code:
install: |
Re: Distributing Binary...
Thanks Rontti,
sorry my message didn't have more detail, I wrote it at 1am after 5 hours of trying and was too tired to make much sense :) anyway, you're example for the makefile is brilliant and makes sense but the created .deb file still doesn't contain the binary. Thanks again, and thanks in advance if you can help me out a bit more. here is my makefile Code:
all: and here is the results of the dpkg-package are: Code:
dpkg-buildpackage: source package is de-lite |
Re: Distributing Binary...
You also need clean target.
Code:
all: |
All times are GMT. The time now is 16:45. |
vBulletin® Version 3.8.8