Re: www.opkg.org - Repository Alpha

2009-02-15 Thread Risto H. Kurppa
Hi!

I tried to install some packages again and many of them tend to fail.
I had a look at http://www.opkg.org/packages/Packages and noticed that
some of the items there have only very little details, for example:

Filename: mokocard_0.1_all.ipk
MD5Sum: 44cc816b186448f313c32953a651026a

Filename: mofi_0.02_armv4t.ipk
MD5Sum: 20f8e6af3f3475d6874d6b17bf1cba63

Filename: efplayer_0.3_arm.ipk
MD5Sum: 9a3f29f6ae0c76cbe7f9419ac3439c70

Filename: gpssight_0.8.4_freerunner.armv4t.ipk
MD5Sum: 483e184603fb8b1703039a8407c4792f

Filename: mokoconv_0.1_all.ipk
MD5Sum: 2270c08017e157540c36f86d916c905d

Filename: liquidwar_5.6.4-2_armv4t.ipk
MD5Sum: ed8fbe67e570b391074275414b9f3c35

Filename: mbac_0.3_all.ipk
MD5Sum: 0115bc347e8a84895cb221210db70b77

Filename: numptyphysics_0.3-svn116_armv4t.opk
MD5Sum: 14a727cc8a5f69eed6a781257bbe1c00

Filename: omview_r32_armv4t.ipk
MD5Sum: 00f7abe3a833925ede784a0d036dabf7

Filename: openmiaocat_0.2_armv4t.ipk
MD5Sum: 134c2dd7ef8f781562fd66c7e541f93d


and so on. Is this normal, should the packages still install with no problem?

Some of the items have lines like
Source: ${SRC}
Source: nethack
Maintainer: $USER

Is this ok, should it still install with no problems?

I get messages like:

 * Failed to download
http://www.opkg.org/packages/moko-eightball_0.20080721_om-gta02.ipk,
error 0
 * Cannot find package meooem.
 * Failed to download
http://www.opkg.org/packages/gpsdcontrol_0.5_all.opk, error 0
 * Cannot find package neon.
 * Failed to download http://www.opkg.org/packages/qwo_0.3_armv4t.ipk,
error 0
 * Cannot find package shortom.
 * Failed to download http://www.opkg.org/packages/ledclock_0.6_all.ipk, error 0

and some more. Any idea what's the reason? This is with 'opkg install
packagename package2name'. I can download the files ok with wget but
opkg fails for some reason and as you see, it can't find some packages
and for example meooem is missing totally from the Packages -file.


Any ideas how to fix this? Makes it a bit difficult to try to install stuff :(


Thanks!



r



-- 
| risto h. kurppa
| risto at kurppa dot fi
| http://risto.kurppa.fi

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: www.opkg.org - Repository Alpha

2009-02-07 Thread Risto H. Kurppa
Aapo: seems to work, thanks!

Tobias: how do you do the mirroring, is there a script that
automatically downloads the package to opkg.org? Seems to work good,
at least agps is available in the repo :)

Something to think about: Doesn't GPL actually say that if you share
the binary (=the packages?), you also have to share the source.. As
far as I understand this would mean you should be able to provide the
source code for each package, if requested. I understand that it's a
pain but I think it should be taken care of somehow.

I'd also like you to post news a bit more often (in the opkg.org
blog/news) about the status. There's no information about the
repository, for example. Also some upgrade about the possible future
re-design or mobile version would be interesting.

Thanks for your cool repo! I was playing with the idea of a dedicated
installed app for Freerunner: you launch the app, it downloads a list
of all opkg.org apps with descriptions and so on and installs it by a
press of a button. In a way zomg and appmanager do this but they don't
show categories and so on. Just an idea.

Keep on doing the good work!

r
-- 
| risto h. kurppa
| risto at kurppa dot fi
| http://risto.kurppa.fi

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: www.opkg.org - Repository Alpha

2009-02-07 Thread Tobias Kündig
Hi Risto

Thanks for the nice words!
 Aapo: seems to work, thanks!

 Tobias: how do you do the mirroring, is there a script that
 automatically downloads the package to opkg.org? Seems to work good,
 at least agps is available in the repo :)

Yes, it is a simple script that fetches all the data out of the API [1], 
then downloads the packages, generates all the needed data and uploads 
it to the server. It's executed every hour, so the repo should stay up 
to date.
 Something to think about: Doesn't GPL actually say that if you share
 the binary (=the packages?), you also have to share the source.. As
 far as I understand this would mean you should be able to provide the
 source code for each package, if requested. I understand that it's a
 pain but I think it should be taken care of somehow.

Oh, that's something I didn't know. I'm not so familiar with GPL. But 
it's good to know. I'll have a look at this, because I don't want to get 
problems in the end. Thanks.
 I'd also like you to post news a bit more often (in the opkg.org
 blog/news) about the status. There's no information about the
 repository, for example. Also some upgrade about the possible future
 re-design or mobile version would be interesting.

I didn't post about the repo, because it's still in developement - 
exactly like the mobile version and some other things. By now it seems 
to be usuable, but I'm sure there are some bugs left. If it's stable 
once, I'll write about it. Another reason I don't post every idea I have 
is that I'm never sure if (or when) I can realize it. You know, I hate 
it to read about a great news, and then nothing happens for month (or 
for ever). I don't want to make the same mistake, so I just wait until 
I'm sure that a new feautre will be published soon.
 Thanks for your cool repo! I was playing with the idea of a dedicated
 installed app for Freerunner: you launch the app, it downloads a list
 of all opkg.org apps with descriptions and so on and installs it by a
 press of a button. In a way zomg and appmanager do this but they don't
 show categories and so on. Just an idea.

It would be great to have such an application. Somewhen I found 
something similar: Someone wrote a python app which is kind of a simple 
frontend for the API, it sounded very promising. But I don't know where 
it was anymore and I'm not sure if it is still being developed...
 Keep on doing the good work!

I'll do, thanks!
 r

Regards,
Tobias

[1] http://www.opkg.org/api.php

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: www.opkg.org - Repository Alpha

2009-02-06 Thread Tobias Kündig
Hi there,

First of all: Thanks to everyone who tested the repo alpha. Thanks to them I
could find some problems, which I have tried to solve today:


   1. From now on, every package on opkg.org, not only the packages on my
   server, are included in the repo.
   2. Some people told me about segfaults. So I took a closer look at the
   Packages file on my server: http://www.opkg.org/packages/Packages
   I'm not sure about this, but I think it is because there is not all the
   needed information available. For example: Look at 'efplayer_0.3_arm.ipk' in
   the Packages file. There is only a filename and a md5sum available. All
   other information I take out of the ipk file is missing.

To be honest, I don't know how to solve this problem. Is it possible that
the ipk files are damaged? Maybe someone on the list, that knows more about
ipk-packages and repos than me, has an idea...

It would be great to get a feedback about the new repo version, thanks in
advance.

Regards,
Tobias

On Tue, Feb 3, 2009 at 01:47, Robin Paulson robin.paul...@gmail.com wrote:

 2009/2/2 Risto H. Kurppa ri...@kurppa.fi:
  It looks like that I can't install the following packages over the
  repository. Installing with opkg install http://opkg.org/foobar works
  better:
  I've tried opkg update before the installation so that shouldn't be a
 problem.
 
  Cannot find:
  zomg
  mofi
  xmahjongg
 
  segfault if tried to install over the repository:
  xlogical
  wireshark
  swedish-illume
 
  Can anyone confirm and maybe solve?

 yeah, i'm having problems too. i tried:
 opkg install osmupdater
 after adding the repo line to a new conf file, running opkg update
 (worked fine, no errors), and got error 2, which i believe is 'not
 found'

 oh, and when i do it manually, it fails cos the version of
 python-elementary is too old, needs =37681, not version 325

 any help, please?

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: www.opkg.org - Repository Alpha

2009-02-06 Thread Aapo Rantalainen
I repacked xlogical (and raised vesion number) and now I can install
it without segfault.
status=work_for_me, who confirms?

-Aapo Rantalainen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: www.opkg.org - Repository Alpha

2009-02-02 Thread Robin Paulson
2009/2/2 Risto H. Kurppa ri...@kurppa.fi:
 It looks like that I can't install the following packages over the
 repository. Installing with opkg install http://opkg.org/foobar works
 better:
 I've tried opkg update before the installation so that shouldn't be a problem.

 Cannot find:
 zomg
 mofi
 xmahjongg

 segfault if tried to install over the repository:
 xlogical
 wireshark
 swedish-illume

 Can anyone confirm and maybe solve?

yeah, i'm having problems too. i tried:
opkg install osmupdater
after adding the repo line to a new conf file, running opkg update
(worked fine, no errors), and got error 2, which i believe is 'not
found'

oh, and when i do it manually, it fails cos the version of
python-elementary is too old, needs =37681, not version 325

any help, please?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: www.opkg.org - Repository Alpha

2009-02-01 Thread Risto H. Kurppa
It looks like that I can't install the following packages over the
repository. Installing with opkg install http://opkg.org/foobar works
better:
I've tried opkg update before the installation so that shouldn't be a problem.

Cannot find:
zomg
mofi
xmahjongg

segfault if tried to install over the repository:
xlogical
wireshark
swedish-illume

Can anyone confirm and maybe solve?

r
-- 
| risto h. kurppa
| risto at kurppa dot fi
| http://risto.kurppa.fi

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: www.opkg.org - Repository Alpha

2009-01-31 Thread Risto H. Kurppa
I wrote another review of opkg.org software, see
http://risto.kurppa.fi/blog/opkgorg-software-review-part-2/

I've excluded those that
a) have been reviewed earlier
b) are missing information (author, source link etc)
c) are not GPL
c) don't install icon/dont run from the menu

comments?

r

-- 
| risto h. kurppa
| risto at kurppa dot fi
| http://risto.kurppa.fi

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: www.opkg.org - Repository Alpha

2009-01-29 Thread Pander
When a package like openmoocow was once uploaded to opkg.org and later
hosted with an external link, will the opkg repo offer that old version.

This is an undesirable situation since now it offers version 0.1 while
version 0.3 is out. I think the repo should download the external opk
and offer that one.

Risto H. Kurppa wrote:
 On Thu, Jan 29, 2009 at 12:56 AM, KaZeR ka...@altern.org wrote:
 Risto H. Kurppa a écrit :
 Never done it before on Openmoko but as far as I understand this adds
 the new repository:

 echo src/gz opkgorg http://www.opkg.org/packages;  /etc/opkg/opkg.conf

 Something is wrong here : you are overwriting the opkg config file.
 Better use

 echo src/gz opkgorg http://www.opkg.org/packages;  /etc/opkg/opkg-feed.conf

 ;)
 
 
 Oops.. thanks!
 
 r
 
 


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: www.opkg.org - Repository Alpha

2009-01-29 Thread KaZeR
 

 -Message d'origine-
 De : community-boun...@lists.openmoko.org 
 [mailto:community-boun...@lists.openmoko.org] De la part de Pander
 Envoyé : jeudi 29 janvier 2009 09:36
 À : List for Openmoko community discussion
 Objet : Re: www.opkg.org - Repository Alpha
 
 When a package like openmoocow was once uploaded to opkg.org 
 and later hosted with an external link, will the opkg repo 
 offer that old version.
 
 This is an undesirable situation since now it offers version 
 0.1 while version 0.3 is out. I think the repo should 
 download the external opk and offer that one.
 

I agree. It happens for a lot of packages in fact (navit for example).


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: www.opkg.org - Repository Alpha

2009-01-29 Thread giotti
On Thu, 29 Jan 2009 09:36:29 +0100
Pander pan...@users.sourceforge.net wrote:

 When a package like openmoocow was once uploaded to opkg.org and later
 hosted with an external link, will the opkg repo offer that old
 version.
 
 This is an undesirable situation since now it offers version 0.1 while
 version 0.3 is out. I think the repo should download the external opk
 and offer that one.
 
And watt about some signature?

-- 
/_\ The ASCII   Per comunicare in modo riservato:
\_/ Ribbon Campaign gpg --keyserver  pool.sks-keyservers.net \
 X  Against HTML--recv-keys 20611EAD
/_\ Email!   

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: www.opkg.org - Repository Alpha

2009-01-29 Thread Pander
Would it be useful to rename all ipk packages on 'O'pkg.org to opk in
the repo?

Pander wrote:
 When a package like openmoocow was once uploaded to opkg.org and later
 hosted with an external link, will the opkg repo offer that old version.
 
 This is an undesirable situation since now it offers version 0.1 while
 version 0.3 is out. I think the repo should download the external opk
 and offer that one.
 
 Risto H. Kurppa wrote:
 On Thu, Jan 29, 2009 at 12:56 AM, KaZeR ka...@altern.org wrote:
 Risto H. Kurppa a écrit :
 Never done it before on Openmoko but as far as I understand this adds
 the new repository:

 echo src/gz opkgorg http://www.opkg.org/packages;  /etc/opkg/opkg.conf

 Something is wrong here : you are overwriting the opkg config file.
 Better use

 echo src/gz opkgorg http://www.opkg.org/packages;  
 /etc/opkg/opkg-feed.conf

 ;)

 Oops.. thanks!

 r


 
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: www.opkg.org - Repository Alpha

2009-01-29 Thread Risto H. Kurppa
Renaming packages to .opk wouldn't be too bad but I don't see the
benefit as they all work.

I agree that there's a problem with outdated packages that move away
from opkg.org. Maybe the best option would be not to show these
packages in the repository any more though it's bad for an user who is
used to install some stuff from opkg.org (using a script, for
example). User gets an error that the package isn't available (is this
better than installing an old package?) so he has to go (to opkg.org)
and try to find where is it now.

r

-- 
| risto h. kurppa
| risto at kurppa dot fi
| http://risto.kurppa.fi

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: www.opkg.org - Repository Alpha

2009-01-29 Thread Pander
I agree, this will motivate package maintainers to upload to opkg.org if
they want to be included in that repo.

Risto H. Kurppa wrote:
 Renaming packages to .opk wouldn't be too bad but I don't see the
 benefit as they all work.
 
 I agree that there's a problem with outdated packages that move away
 from opkg.org. Maybe the best option would be not to show these
 packages in the repository any more though it's bad for an user who is
 used to install some stuff from opkg.org (using a script, for
 example). User gets an error that the package isn't available (is this
 better than installing an old package?) so he has to go (to opkg.org)
 and try to find where is it now.
 
 r
 


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: www.opkg.org - Repository Alpha

2009-01-28 Thread Risto H. Kurppa
On Wed, Jan 28, 2009 at 9:20 AM, Tobias Kündig tobias.kuen...@gmail.com wrote:
 Dear community

 I finally found some time to set up a simple repository for www.opkg.org. It
 was difficult for me to figure out how exactly it is built. There isn't a
 lot of information in the wiki and I've never done a repo before. However, I
 like to try new things, so I wrote some little scripts that build a new
 Packages(.gz) file every full hour.
 The repository's address is http://www.opkg.org/packages/.

Great job!

I'll give it a got at some stage if I find out how to do it :) And
I'll let you know how it went.

r


-- 
| risto h. kurppa
| risto at kurppa dot fi
| http://risto.kurppa.fi

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: www.opkg.org - Repository Alpha

2009-01-28 Thread Risto H. Kurppa
Never done it before on Openmoko but as far as I understand this adds
the new repository:

echo src/gz opkgorg http://www.opkg.org/packages;  /etc/opkg/opkg.conf

and now it's already updating some stuff I've installed. Great, this
will make it a lot easier to write a script that installs packages:
you always get the latest version..

r


-- 
| risto h. kurppa
| risto at kurppa dot fi
| http://risto.kurppa.fi

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: www.opkg.org - Repository Alpha

2009-01-28 Thread Risto H. Kurppa
Tried to upgrade and since that failed, removed and then tried to
re-install xlogical. I don't know what's the problem here, if it's the
package, repository or something else but here's the output  for you
to check.

r...@om-gta02:/etc/opkg# opkg install xlogical -V 3
pkg_info_preinstall_check: updating arch priority for each package
pkg_info_preinstall_check: update file owner list
best installation candidate for xlogical
 apkg=xlogical nprovides=2
 adding xlogical to providers
 adding xlogical to providers
  xlogical arch=armv4t arch_priority=21 version=1.0-8
  xlogical arch=armv4t arch_priority=21 version=1.0.8
  xlogical arch=armv4t arch_priority=21 version=1.0-8
  xlogical arch=armv4t arch_priority=21 version=1.0.8
 Found a valid candidate for the install: xlogical 1.0-8
 Found a valid candidate for the install: xlogical 1.0-8
 Found a valid candidate for the install: xlogical 1.0.8
 Found a valid candidate for the install: xlogical 1.0.8
pkg_hash_fetch_best_installation_candidate: for apkg=xlogical, 4 matching pkgs
xlogical 1.0-8 armv4t
xlogical 1.0-8 armv4t
xlogical 1.0.8 armv4t
xlogical 1.0.8 armv4t
arch armv4t (priority 21) supported for pkg xlogical
Installing xlogical (1.0.8) to root...
opkg state set to Downloading Package: xlogical;1.0.8;armv4t;
Segmentation fault
r...@om-gta02:/etc/opkg#


r


-- 
| risto h. kurppa
| risto at kurppa dot fi
| http://risto.kurppa.fi

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: www.opkg.org - Repository Alpha

2009-01-28 Thread KaZeR
 

 -Message d'origine-
 De : community-boun...@lists.openmoko.org 
 [mailto:community-boun...@lists.openmoko.org] De la part de 
 Risto H. Kurppa
 Envoyé : mercredi 28 janvier 2009 09:49
 À : List for Openmoko community discussion
 Objet : Re: www.opkg.org - Repository Alpha
 
 Never done it before on Openmoko but as far as I understand 
 this adds the new repository:
 
 echo src/gz opkgorg http://www.opkg.org/packages;  
 /etc/opkg/opkg.conf
 
 and now it's already updating some stuff I've installed. 
 Great, this will make it a lot easier to write a script that 
 installs packages:
 you always get the latest version..
 

Untested yet, but it's very nice. It will ease install/updates.
Kudos!


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: www.opkg.org - Repository Alpha

2009-01-28 Thread KaZeR
Risto H. Kurppa a écrit :
 Never done it before on Openmoko but as far as I understand this adds
 the new repository:

 echo src/gz opkgorg http://www.opkg.org/packages;  /etc/opkg/opkg.conf
   
Something is wrong here : you are overwriting the opkg config file.
Better use

echo src/gz opkgorg http://www.opkg.org/packages;  /etc/opkg/opkg-feed.conf

;)


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: www.opkg.org - Repository Alpha

2009-01-28 Thread Risto H. Kurppa
On Thu, Jan 29, 2009 at 12:56 AM, KaZeR ka...@altern.org wrote:
 Risto H. Kurppa a écrit :
 Never done it before on Openmoko but as far as I understand this adds
 the new repository:

 echo src/gz opkgorg http://www.opkg.org/packages;  /etc/opkg/opkg.conf

 Something is wrong here : you are overwriting the opkg config file.
 Better use

 echo src/gz opkgorg http://www.opkg.org/packages;  /etc/opkg/opkg-feed.conf

 ;)


Oops.. thanks!

r


-- 
| risto h. kurppa
| risto at kurppa dot fi
| http://risto.kurppa.fi

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


www.opkg.org - Repository Alpha

2009-01-27 Thread Tobias Kündig
Dear community

I finally found some time to set up a simple repository for www.opkg.org. It
was difficult for me to figure out how exactly it is built. There isn't a
lot of information in the wiki and I've never done a repo before. However, I
like to try new things, so I wrote some little scripts that build a new
Packages(.gz) file every full hour.
To be honest, I'm not really sure if I've done it correctly. This is why I
ask the community to help me.

The repository's address is http://www.opkg.org/packages/.
Please feel free to test it and report any bugs/mistakes. I also appreciate
any suggestions on how I could make the system better. (How I said, I've
never done it before and actually don't have the knowledge to build a proper
repo.)
There are only the packages available that are stored on the
opkg.orgserver. The ones that are hosted on other servers aren't
included (yet).
I hope it won't break any systems - just to make sure: you test it _on your
own risk_.

Thanks in advance.

--
Regards,
Tobias
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community