Whoops! Fixed now.thelinx wrote:Great guide, nevon. One error, though:nevon wrote: MakefileCode: Select all
uninstall: $(RM) $(DESTDIR)/usr/lib/omgwords/appname.love
Distribution, lets tackle this thing
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- nevon
- Commander of the Circuloids
- Posts: 938
- Joined: Thu Feb 14, 2008 8:25 pm
- Location: Stockholm, Sweden
- Contact:
Re: Distribution, lets tackle this thing
- nevon
- Commander of the Circuloids
- Posts: 938
- Joined: Thu Feb 14, 2008 8:25 pm
- Location: Stockholm, Sweden
- Contact:
Re: Distribution, lets tackle this thing
Building standalone debian packages
So, most of the time you may not care to create a "proper" package or uploading it to a PPA. So in case you want a 2 minute packaging guide, here it is. This way of creating packages will probably make real packagers cry in pain, so I'm sorry for that, but it's your own damned fault for making it so complex.
In this version of the guide, we want to create a directory that exactly reflects how the final package should look. Here's my example:
I'm not going to go into what the files need to contain, because they'll look almost exactly the same as in the other guide. The only difference would be the paths. You can also include the other files from the other example (the ones in the debian directory) if you want, but this is the bare minimum.
Once you have this all set up, all you need to do is run the following command:
That's it. You now have a debian package called PackageContainerDir.deb wherever you executed the command.
Also, I deserve all your karma.
So, most of the time you may not care to create a "proper" package or uploading it to a PPA. So in case you want a 2 minute packaging guide, here it is. This way of creating packages will probably make real packagers cry in pain, so I'm sorry for that, but it's your own damned fault for making it so complex.
In this version of the guide, we want to create a directory that exactly reflects how the final package should look. Here's my example:
Code: Select all
PackageContainerDir
├── DEBIAN
│ └── control
└── usr
├── local
│ ├── bin
│ │ └── launcher
│ └── games
│ └── appname.love
└── share
├── applications
│ └── appname.desktop
└── icons
└── hicolor
├── 22x22
│ └── apps
│ └── iconname.png
├── 24x24
│ └── apps
│ └── iconname.png
├── 32x32
│ └── apps
│ └── iconname.png
├── 48x48
│ └── apps
│ └── iconname.png
└── scalable
└── apps
└── iconname.svg
Once you have this all set up, all you need to do is run the following command:
Code: Select all
dpkg-deb --build PackageContainerDir
Also, I deserve all your karma.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Distribution, lets tackle this thing
I updated my ppa script quite a bit, I'll look into backporting the changes.. soonish.
Re: Distribution, lets tackle this thing
Can someone link me a download for Windows Installer?
PM me on here or elsewhere if you'd like to discuss porting your game to Nintendo Switch via mazette!
personal page and a raycaster
personal page and a raycaster
Re: Distribution, lets tackle this thing
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Who is online
Users browsing this forum: No registered users and 40 guests