Notices


Reply
Thread Tools
Posts: 109 | Thanked: 152 times | Joined on Jan 2010
#1
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,
 
Posts: 68 | Thanked: 24 times | Joined on Jan 2010
#2
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
 

The Following 2 Users Say Thank You to slux For This Useful Post:
Posts: 114 | Thanked: 25 times | Joined on Nov 2009
#3
Interesting question.
Can I ask why you want to setup your own repo if you can just use the maemo.org repo instead?
 
Posts: 489 | Thanked: 404 times | Joined on Dec 2009
#4
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.
 
Lord Awesome's Avatar
Posts: 47 | Thanked: 24 times | Joined on Nov 2009 @ Bolton, United Kingdom
#5
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
 

The Following 2 Users Say Thank You to Lord Awesome For This Useful Post:
Posts: 109 | Thanked: 152 times | Joined on Jan 2010
#6
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?

Last edited by sio2interactive; 2010-01-25 at 06:30.
 
Lord Awesome's Avatar
Posts: 47 | Thanked: 24 times | Joined on Nov 2009 @ Bolton, United Kingdom
#7
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.
 
Posts: 109 | Thanked: 152 times | Joined on Jan 2010
#8
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,

Last edited by sio2interactive; 2010-01-26 at 03:19.
 

The Following 2 Users Say Thank You to sio2interactive For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 23:44.