![]() |
Game Repository
Is there anyone that can point me how I can create a repository and a .install file for peoples to be able to download my games?
TIA, Cheers, |
Re: Game Repository
Since nobody is answering, I'll bite despite not really having personal experience with this. The Maemo repos are the same as Debian's as Maemo uses Debian's package manager so maybe this will get you started? http://wiki.debian.org/HowToSetupADebianRepository
|
Re: Game Repository
Interesting question.
Can I ask why you want to setup your own repo if you can just use the maemo.org repo instead? |
Re: Game Repository
Hi sio2interactive.
Why do you want to create your own repo? I mean, maemo.org is actually the best way for you to make people knowing your games, guarantee that your games are stable and can't damage anyone's device, improve your games through Bugzilla bugs and enhancements, and let you know what people think about your games. I'm sure that very few people will trust a repository created from nothing. |
Re: Game Repository
Reprepro suits my needs. I find this covers the basics of configuring it.
These are the contents of extras.install which adds the repository: [catalogues] catalogues = extras [extras] name = maemo Extras uri = http://repository.maemo.org/extras/ components = free non-free And omweather.install for a package: [install] catalogues = extras package = omweather [extras] name = Extras uri = http://repository.maemo.org/extras/ dist = fremantle components = free non-free |
Re: Game Repository
Allright, tks to you Lord Awesome, I got everything up and running talking repository... One last thing remains... when I open one of my .install (either for adding the repository or to install a package) file with the webbrowser on the device it only shows text...
However when I download the package from the Application Manager (since its available on the list) or add the repository manually, I have no problem... Am I missing something? |
Re: Game Repository
I've just tried generating my own install files and got the same result. Even after having a thorough read through the documentation here. Probably missing something simple.
|
Re: Game Repository
Allright, fixed... we didn't do anything wrong... the App. Manager is expecting a file to be sent from web browser.
Simply create a PHP file like this: <? $header = "Content-disposition: attachment; filename=" .$_REQUEST[ "file" ]; $readfile = $_REQUEST[ "file" ]; header($header); header('Content-type: applicaton/octet-stream'); readfile($readfile); ?> This will force the file that we request to be downloaded, and not simply viewed by the webbrowser. Save the file like: get_install.php and upload it, then call it within your webbrowser like: youdomain.com/get_install.php?file=mygame.install (of course here mygame.install need to exists...) And that's it, work for both repositories and applications. Hope this help, Cheers, |
All times are GMT. The time now is 03:29. |
vBulletin® Version 3.8.8