[Debian-olpc-devel] Fwd: Packaging eLearning XHTML editor (eXe) for debian

Manusheel Gupta manu at laptop.org
Sat Aug 7 20:02:23 UTC 2010


Neat attempt, Kandarp. Copying Debian OLPC list serv and Mike on this memo.

-Manu

---------- Forwarded message ----------
From: Kandarp Kaushik <kandarp at seeta.in>
Date: Sun, Aug 8, 2010 at 1:23 AM
Subject: Packaging eLearning XHTML editor (eXe) for debian
To: Manusheel Gupta <manu at laptop.org>
Cc: David Farning <dfarning at gmail.com>


Hello,

I tried packaging eXe for debian.

The package already had a script exe/installs/debian/ubuntu/make.py to
successfully create the deb package for ubuntu.

To create debian package, I renamed ubuntu folder as debian, changed debian/
changelog.in by renaming the version ( removed ubuntu from it ) and
replaced
cl.write("%s (%s-ubuntu1) unstable; urgency=low\n" %
                 (exepkg, version.version))
with
cl.write("%s (%s-1) unstable; urgency=low\n" %
                 (exepkg, version.version))

in exe/installs/debian/ubuntu/make.py

But on installing and running exe from the terminal, it calls firefox, which
isn't installed on my system, so it didn't start in the web browser.
OUTPUT:
$ exe %f
sh: firefox: not found
sh: firefox: not found
Welcome to eXe: the eLearning XHTML editor
^C


The browser is being set as firefox in
exe/engine/config.py ( line 74 )
--------------------------------------------
self.browserPath = Path("firefox")
--------------------------------------------


and is being called in
exe/webui/browser.py ( line 117 )
--------------------------------------------
if sys.platform[:5] == u"linux":
        setBrowserVersion(config.browserPath, config.configDir/profile)
--------------------------------------------


I tried replacing firefox with chromium-browser, that launches chromium, but
doesn't start exelearning.
Please let me know if the build process is correct ( I modified
changelog.in and
make.py only ) and if it could be modified so that it detects the installed
browser and start exelearning in it.


Regards,
Kandarp.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-olpc-devel/attachments/20100808/b043b001/attachment.htm>


More information about the Debian-olpc-devel mailing list