Re: XO Fedora 22 Beta work

2015-04-25 Thread Peter Robinson
On Sat, Apr 25, 2015 at 5:10 AM, Samuel Greenfeld sam...@greenfeld.org wrote:
 At James' suggestion I looked a bit into a Fedora 22 beta build.  I have
 found the following problems so far getting the RPM dependencies worked out:

 olpc-library needs to depend on python-jinja2, not python-jinja.  The
 olpc-library RPM also was removed from Fedora, perhaps due to lack of
 changes  abandonment.

Likely, I didn't even know it existed.

 totem-mozplugin no longer exists and was intentionally removed.  Given
 Firefox supports various media codecs internally this might not be a problem
 for it (apart for vmeta?); but I don't know what webkit-based Browse uses
 for media players.

Gstreamer based as well so I don't see any major issue there except if
vmeta doesn't support gstreamer 1.0

 xorg-x11-drv-keyboard and -mouse have been replaced by
 xorg-x11-drv-libinput.  See
 https://fedoraproject.org/wiki/Changes/LibinputForXorg

Works fine on SoaS, although I think there might be a need to migrate
Control Panel bits, I did send an email about it some time ago to
devel@

 14.1.0 has custom F20 systemd binaries, but I am having trouble finding
 information as to why.  If they have relevant changes they need to be ported
 to F22 if not already present because using the F20 systemd binaries breaks
 all sorts of library dependencies.

The reason is due to changes in firmware loading changes in the kernel
and the fact the XO kernels haven't been rebased to something more
modern than 3.0+

 Patches have been written for the first three that I could submit.

 We need to come up with a clear direction as to what volunteers and/or OLPC
 want  would actually use for updated XO builds.  I only have the time to
 focus on one set of images.

I can help on anything needed that's in Fedora in terms of adding
patches there so you don't need to fork but similarly I don't have
much time.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: XO Fedora 22 Beta work

2015-04-25 Thread Samuel Greenfeld
James and I looked a bit into the systemd issue last night  discovered the
same.  This was discussed at
http://lists.sugarlabs.org/archive/sugar-devel/2014-May/048180.html

A solution to solve this may be tricky.  Currently no one may be available
to look into getting newer Linux kernels working on XOs.  And if a newer
kernel was tweaked for XOs and brought in, extensive testing against
multiple XO models  variants (wireless cards/cameras/memory chips/etc.)
would be required.

Bringing in an older systemd with userspace firmware loading support might
be easier in the short term, but could break RPMs dependent on newer
systemd versions.

I don't know what resources OLPC has internally at the moment, but this may
be beyond what part-time volunteers can do, especially if support is
desired for XO models which OLPC no longer sells.


On Sat, Apr 25, 2015 at 6:05 PM, Dennis Gilmore den...@ausil.us wrote:

 On Saturday, April 25, 2015 10:36:49 PM Peter Robinson wrote:
  On Sat, Apr 25, 2015 at 5:10 AM, Samuel Greenfeld sam...@greenfeld.org
 wrote:
   At James' suggestion I looked a bit into a Fedora 22 beta build.  I
 have
   found the following problems so far getting the RPM dependencies worked
   out:
  
   olpc-library needs to depend on python-jinja2, not python-jinja.  The
   olpc-library RPM also was removed from Fedora, perhaps due to lack of
   changes  abandonment.
 
  Likely, I didn't even know it existed.
 
   totem-mozplugin no longer exists and was intentionally removed.  Given
   Firefox supports various media codecs internally this might not be a
   problem for it (apart for vmeta?); but I don't know what webkit-based
   Browse uses for media players.
 
  Gstreamer based as well so I don't see any major issue there except if
  vmeta doesn't support gstreamer 1.0
 
   xorg-x11-drv-keyboard and -mouse have been replaced by
   xorg-x11-drv-libinput.  See
   https://fedoraproject.org/wiki/Changes/LibinputForXorg
 
  Works fine on SoaS, although I think there might be a need to migrate
  Control Panel bits, I did send an email about it some time ago to
  devel@
 
   14.1.0 has custom F20 systemd binaries, but I am having trouble finding
   information as to why.  If they have relevant changes they need to be
   ported to F22 if not already present because using the F20 systemd
   binaries breaks all sorts of library dependencies.
 
  The reason is due to changes in firmware loading changes in the kernel
  and the fact the XO kernels haven't been rebased to something more
  modern than 3.0+
 
   Patches have been written for the first three that I could submit.
  
   We need to come up with a clear direction as to what volunteers and/or
   OLPC
   want  would actually use for updated XO builds.  I only have the time
 to
   focus on one set of images.
 
  I can help on anything needed that's in Fedora in terms of adding
  patches there so you don't need to fork but similarly I don't have
  much time.

 with Fedora.NEXT we may be able to look at making OLPC builds be an
 official
 part of Fedora, tirckiest bit I think would be the kernel. Long term I
 think
 it would be good for both OLPC and Fedora for this to happen.

 Dennis
 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] XO Fedora 22 Beta work

2015-04-25 Thread Peter Robinson
On Sat, Apr 25, 2015 at 8:50 PM, Adam Holt h...@laptop.org wrote:
 On Sat, Apr 25, 2015 at 3:42 PM, Gonzalo Odiard godi...@sugarlabs.org
 wrote:

 On Sat, Apr 25, 2015 at 1:10 AM, Samuel Greenfeld sam...@greenfeld.org
 wrote:

 At James' suggestion I looked a bit into a Fedora 22 beta build.  I have
 found the following problems so far getting the RPM dependencies worked out:

 olpc-library needs to depend on python-jinja2, not python-jinja.  The
 olpc-library RPM also was removed from Fedora, perhaps due to lack of
 changes  abandonment.
 totem-mozplugin no longer exists and was intentionally removed.  Given
 Firefox supports various media codecs internally this might not be a problem
 for it (apart for vmeta?); but I don't know what webkit-based Browse uses
 for media players.
 xorg-x11-drv-keyboard and -mouse have been replaced by
 xorg-x11-drv-libinput.  See
 https://fedoraproject.org/wiki/Changes/LibinputForXorg
 14.1.0 has custom F20 systemd binaries, but I am having trouble finding
 information as to why.  If they have relevant changes they need to be ported
 to F22 if not already present because using the F20 systemd binaries breaks
 all sorts of library dependencies.

 Patches have been written for the first three that I could submit.

 We need to come up with a clear direction as to what volunteers and/or
 OLPC want  would actually use for updated XO builds.  I only have the time
 to focus on one set of images.


 True. I am not sure what is best option here.
 We still didn't solved all the issues in F20, but is already a old
 release.
 I wonder if we can try make images based in CentOS.


 George Hunt is having surprisingly rapid success with CentOS 7 for XSCE.
 Its new release (equivalent to RHEL 7.1) is now out...

 Wishful Thinking hopes that similar progress might be possible on various XO
 laptops?

Very wishful, most of the server stuff would already be in
CentOS/EPEL, to get the the sugar stack and dependencies in would be a
reasonable chunk of work. The standard packages in Fedora could easily
be branched for EPEL7 and would all be compatible but someone would
need to step up to do the work as I certainly don't have the time or
really interest.

Peter
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] XO Fedora 22 Beta work

2015-04-25 Thread Adam Holt
On Sat, Apr 25, 2015 at 3:42 PM, Gonzalo Odiard godi...@sugarlabs.org
wrote:

 On Sat, Apr 25, 2015 at 1:10 AM, Samuel Greenfeld sam...@greenfeld.org
 wrote:

 At James' suggestion I looked a bit into a Fedora 22 beta build.  I have
 found the following problems so far getting the RPM dependencies worked out:

- olpc-library needs to depend on python-jinja2, not python-jinja.
The olpc-library RPM also was removed from Fedora, perhaps due to lack of
changes  abandonment.
- totem-mozplugin no longer exists and was intentionally removed.
Given Firefox supports various media codecs internally this might not be a
problem for it (apart for vmeta?); but I don't know what webkit-based
Browse uses for media players.
- xorg-x11-drv-keyboard and -mouse have been replaced by
xorg-x11-drv-libinput.  See
https://fedoraproject.org/wiki/Changes/LibinputForXorg
- 14.1.0 has custom F20 systemd binaries, but I am having trouble
finding information as to why.  If they have relevant changes they need to
be ported to F22 if not already present because using the F20 systemd
binaries breaks all sorts of library dependencies.

 Patches have been written for the first three that I could submit.

 We need to come up with a clear direction as to what volunteers and/or
 OLPC want  would actually use for updated XO builds.  I only have the time
 to focus on one set of images.


 True. I am not sure what is best option here.
 We still didn't solved all the issues in F20, but is already a old release.
 I wonder if we can try make images based in CentOS.


George Hunt is having surprisingly rapid success with CentOS 7 for XSCE.
Its new release (equivalent to RHEL 7.1) is now out...

Wishful Thinking hopes that similar progress might be possible on various
XO laptops?

--
Unsung Heroes of OLPC, interviewed live @ http://unleashkids.org !
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] XO Fedora 22 Beta work

2015-04-25 Thread Gonzalo Odiard
On Sat, Apr 25, 2015 at 1:10 AM, Samuel Greenfeld sam...@greenfeld.org
wrote:

 At James' suggestion I looked a bit into a Fedora 22 beta build.  I have
 found the following problems so far getting the RPM dependencies worked out:

- olpc-library needs to depend on python-jinja2, not python-jinja.
The olpc-library RPM also was removed from Fedora, perhaps due to lack of
changes  abandonment.
- totem-mozplugin no longer exists and was intentionally removed.
Given Firefox supports various media codecs internally this might not be a
problem for it (apart for vmeta?); but I don't know what webkit-based
Browse uses for media players.
- xorg-x11-drv-keyboard and -mouse have been replaced by
xorg-x11-drv-libinput.  See
https://fedoraproject.org/wiki/Changes/LibinputForXorg
- 14.1.0 has custom F20 systemd binaries, but I am having trouble
finding information as to why.  If they have relevant changes they need to
be ported to F22 if not already present because using the F20 systemd
binaries breaks all sorts of library dependencies.

 Patches have been written for the first three that I could submit.

 We need to come up with a clear direction as to what volunteers and/or
 OLPC want  would actually use for updated XO builds.  I only have the time
 to focus on one set of images.


True. I am not sure what is best option here.
We still didn't solved all the issues in F20, but is already a old release.
I wonder if we can try make images based in CentOS.

Gonzalo
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: XO Fedora 22 Beta work

2015-04-25 Thread Dennis Gilmore
On Saturday, April 25, 2015 10:36:49 PM Peter Robinson wrote:
 On Sat, Apr 25, 2015 at 5:10 AM, Samuel Greenfeld sam...@greenfeld.org 
wrote:
  At James' suggestion I looked a bit into a Fedora 22 beta build.  I have
  found the following problems so far getting the RPM dependencies worked
  out:
  
  olpc-library needs to depend on python-jinja2, not python-jinja.  The
  olpc-library RPM also was removed from Fedora, perhaps due to lack of
  changes  abandonment.
 
 Likely, I didn't even know it existed.
 
  totem-mozplugin no longer exists and was intentionally removed.  Given
  Firefox supports various media codecs internally this might not be a
  problem for it (apart for vmeta?); but I don't know what webkit-based
  Browse uses for media players.
 
 Gstreamer based as well so I don't see any major issue there except if
 vmeta doesn't support gstreamer 1.0
 
  xorg-x11-drv-keyboard and -mouse have been replaced by
  xorg-x11-drv-libinput.  See
  https://fedoraproject.org/wiki/Changes/LibinputForXorg
 
 Works fine on SoaS, although I think there might be a need to migrate
 Control Panel bits, I did send an email about it some time ago to
 devel@
 
  14.1.0 has custom F20 systemd binaries, but I am having trouble finding
  information as to why.  If they have relevant changes they need to be
  ported to F22 if not already present because using the F20 systemd
  binaries breaks all sorts of library dependencies.
 
 The reason is due to changes in firmware loading changes in the kernel
 and the fact the XO kernels haven't been rebased to something more
 modern than 3.0+
 
  Patches have been written for the first three that I could submit.
  
  We need to come up with a clear direction as to what volunteers and/or
  OLPC
  want  would actually use for updated XO builds.  I only have the time to
  focus on one set of images.
 
 I can help on anything needed that's in Fedora in terms of adding
 patches there so you don't need to fork but similarly I don't have
 much time.

with Fedora.NEXT we may be able to look at making OLPC builds be an official 
part of Fedora, tirckiest bit I think would be the kernel. Long term I think 
it would be good for both OLPC and Fedora for this to happen.

Dennis

signature.asc
Description: This is a digitally signed message part.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Windows xo-1

2015-04-25 Thread Jhon Diaz
Is windows on xo-1 real i saw it in a video if so how or where can i get a
copy
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] [XSCE] Re: Gutenberg .epubs not viewable from Internet-in-a-Box?

2015-04-25 Thread Adam Holt
Thanks Braddock,

IIAB drive is not mounted; it was copied to the laptop as they were trying
to improve response time.  I've asked your 5 questions and the response is:

It is in a directory off the personal directory called amat.

 amat@HIIAB ~ $ ls
calibre-library  Documents Music  Videos
Calibre Library  Downloads Pictures
Creole Books IIAB_QuickStart_Sampler_20130809.tgz  Public
Desktop  knowledge Templates

I can read books via a web browser  I just cannot download.

 amat@HIIAB /home $ mount

/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs
(rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup
(rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse
(rw,nosuid,nodev,user=amat)

amat@HIIAB /home $ pip freeze

Babel==1.3
BeautifulSoup==3.2.1
Flask==0.10.1
Flask-AutoIndex==0.5
Flask-Babel==0.9
Flask-SQLAlchemy==2.0
Flask-Silk==0.2
Internet-in-a-Box==0.5.10
Jinja2==2.7.3
Mako==0.9.1
MarkupSafe==0.18
PAM==0.4.2
Pillow==2.3.0
SQLAlchemy==0.9.9
Twisted-Core==13.2.0
Twisted-Names==13.2.0
Twisted-Web==13.2.0
Werkzeug==0.10.4
Whoosh==2.6.0
apt-xapian-index==0.45
apturl==0.4.1ubuntu4
argparse==1.2.1
backports.lzma==0.0.3
ccsm==0.9.11.3
chardet==2.0.1
colorama==0.2.5
command-not-found==0.3
compizconfig-python==0.9.11.3
configglue==1.1.2
configobj==4.7.2
debtagshw==0.1
defer==1.0.6
dirspec==13.10
dnspython==1.11.1
duplicity==0.6.23
feedparser==5.1.3
html5lib==0.999
httplib2==0.8
itsdangerous==0.24
lockfile==0.8
lxml==3.3.3
oauthlib==0.6.1
oneconf==0.3.7
paramiko==1.10.1
pexpect==3.1
piston-mini-client==0.7.5
protobuf==2.5.0
pyOpenSSL==0.13
pycrypto==2.6.1
pycups==1.9.66
pycurl==7.19.3
pygobject==3.12.0
pyinotify==0.9.4
pyserial==2.6
pysmbc==1.0.14.1
python-apt==0.9.3.5ubuntu1
python-debian==0.1.21-nmu2ubuntu2
python-xlib==0.14
pytz==2015.2
pyxdg==0.25
reportlab==3.0
repoze.lru==0.6
requests==2.2.1
sessioninstaller==0.0.0
six==1.5.2
speaklater==1.3
system-service==0.1.6
uTidylib==0.2
urllib3==1.7.1
wsgiref==0.1.2
zope.interface==4.0.5


On Fri, Apr 24, 2015 at 1:28 AM, Braddock Gaskill bradd...@gmail.com
wrote:

 I'm looking at this problem but am a bit mystified and cannot reproduce it.

 Questions and points:
 1) Where is the knowledge dataset stored?  Is it linked to in
 /knowledge or is it on a mounted drive?
 2) Can I get the output of the 'mount' command?
 3) I assume the knowledge dataset is NOT in 
 /usr/local/lib/python2.7/dist-packages/iiab/knowledge/,
 and that that path is some sort of error?
 4) I doubt this has anything to do with the version of flask the user
 installed, but would like to know exactly what they installed and whether
 it was using pip or apt-get.
 5) The output from 'pip freeze' would be nice.

 The code very clearly checks for the existence of the epub file before it
 attempts to send it.  Yet somehow it is trying to send this strange 
 /usr/local/lib/python2.7/dist-packages/iiab/knowledge/
 modules/gutenberg-epub-images/91/pg91.epub path which apparently does
 not exist.

 -braddock


 On Thu, Apr 23, 2015 at 5:53 PM, Adam Holt h...@laptop.org wrote:

 On Thu, Apr 23, 2015 at 3:49 PM, Adam Holt h...@laptop.org wrote:

 Errors below: one Haiti volunteer is trying to download .epub books from
 IIAB's Gutenberg,  He loaded Flask (Python web framework) thinking that
 would help but it did not.  Are Tony's earlier tips below the best way
 forward?

 The default is show html online. In knowledge/modules there is also a
 directory of epub. I think I patched the code in iiab to default to the
 epub file. This gets downloaded automatically by the Browse activity to
 the Journal...The Gutenberg books accessed from Rachel are the text
 versions...I set it up so that the epub versions are downloaded.


 Volunteer has given me more details on the error below.  He says I had
 Mint 17.1 running on the laptop and on the box we have IIAB on...these
 errors are from the laptop.  We are using Firefox for the web browser...I
 added Flask after the fact to the client but I had Flask running on the
 IIAB box.  I will be happy to look closer if you need anything.  (And
 apologies this is not explicitly an XSCE question, but they may use that in
 future.)

 IOError
 IOError: [Errno 2] No such file or