maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [Announce] Harmattan repository for Python, etc (https://talk.maemo.org/showthread.php?t=88798)

rcolistete 2013-01-25 20:14

[Announce] Harmattan repository for Python, etc
 
Here is my Harmattan repository with many packages about Python modules, some dependencies and other softwares :
http://repo.robertocolistete.net/apt/harmattan/
You can browse the binaries and sources, currently there are 55 .deb packages related to 29 projects.

Many of these MeeGo Harmattan packages are available in OpenRepos.net via Warehouse on Nokia N9/N950, some of them can be installed by just enabling the repository and tapping the "Install" button.

The motivation for his Harmattan repository is simple :
- make easier to install softwares with (non-Nokia) dependencies, not acceptable on Nokia Store;
- for example, IPython Notebook 0.13.2 for Harmattan needs 11 packages, so one tap on "ipython-notebook" .deb file is simpler than manual downloads and 10 "dpkg -i";
- share many useful .deb packages, some of them can be reused by other projects;
- share the source code of those packages, ported to Harmattan.

Repository configuration

If you need to install some of the softwares listed below (in "About the packages"), then its better to add this repository to you N9/N950.

1) You can do this as root using Terminal :
$ devel-sh
type the rootme password, then :
# cd /etc/apt/sources.list.d/
and create the file "robertocolistete.list" (using "nano" editor, for example) :
# nano robertocolistete.list
with the content :
Code:

deb http://repo.robertocolistete.net/apt/harmattan binary/
deb-src http://repo.robertocolistete.net/apt/harmattan source/

Then run "# apt-get update" in Terminal.

2) Or if you use MeeCatalog, add an application catalog with :
Code:

Name of the catalog:
RobertoColistete repository  (* or other description* )
URL to the catalog:
http://repo.robertocolistete.net/apt/harmattan
Distribution:
binary/

For the souce, just add another catalog with "source/" instead of "binary". Then update the catalogs in the catalog screen and main screen.

Using the repository

Just some packages are visible by Application Manager (or MeeCatalog), with icon and description. The majority of the packages are installed by being dependency of other softwares or by using, in Terminal as root :
# apt-get update
# apt-get install <package-name>
Or Terminal as user or root, to search for packages :
$ apt-cache search <regex-pattern>
and know more information about the package :
$ apt-get show <package-name>

About the packages

Some of the packages are maintained (i.e., ported to Harmattan) by me :
- easy-chroot - Easy Chroot package for MeeGo Harmattan;
- easy-deb-chroot, easy-deb-chroot-openmode - Easy Debian for MeeGo Harmattan : now with translucent VKB on PR1.3 !;
- ipython* and dependencies libpgm, libjs-jquery, libjs-mathjax, libjs-underscore, libzmq*, python-tornado, python-zmq - IPython (Notebook, QtConsole) 0.13.2 for MeeGo Harmattan;
- python-matplotlib* - MatPlotLib - 2D & 3D plots for MeeGo Harmattan;
- python-numpy* - NumPy 1.9.0 for MeeGo Harmattan;
- python-scipy* - SciPy 0.14.0 for MeeGo Harmattan;
- python-sympy* - SymPy (Computer Algebra System) for Maemo 4 & 5 & 6;
- python-uncertainties - (Calculation with) Uncertainties for Maemo 4 & 5 & 6;
- python-decorator 3.4.0 in OpenRepos.net;
- python-pyparsing 1.5.6 in OpenRepos.net;
- python-six 1.8.0 in OpenRepos.net;
- python-tz 2012c in OpenRepos.net;
- cython 0.19.1 in OpenRepos.net;
- SuiteSparse 3.4.0 in OpenRepos.net;
Other packages were just (compiled &) packaged by me (from Python Harmattan project at gitorious) :
- pychecker, python-pexpect, python-twisted, python-zope.interface.

By the way, the majority of the above packages were compiled & packaged using a Nokia N9 with Harmattan SDK chroot, see the topic "Compiling & packaging on MeeGo Harmattan device", item "2) Harmattan SDK on device - use Easy Chroot with a ready-to-use Harmattan SDK image".

Python for MeeGo Harmattan

More Python packages are listed in the Python Harmattan Wiki. See also OpenRepos.net.

www.rzr.online.fr 2013-02-12 20:26

Re: [Announce] Harmattan repository for Python, etc
 
as said over there :
http://talk.maemo.org/showthread.php...12#post1322712

would you like it all to be merged into my shared repo ?

www.rzr.online.fr 2013-02-13 22:36

Re: [Announce] Harmattan repository for Python, etc
 
I merged most of them to shared repo but some are failling to be rebuild

wanna double check ?

https://build.pub.meego.com/project/...tan_standard=1

rcolistete 2013-02-14 00:24

Re: [Announce] Harmattan repository for Python, etc
 
Quote:

Originally Posted by www.rzr.online.fr (Post 1322925)
I merged most of them to shared repo but some are failling to be rebuild

wanna double check ?

https://build.pub.meego.com/project/...tan_standard=1

Thanks. I will take a look at the 2 packages with problems.

I've sent you a PM.

rcolistete 2013-02-14 23:11

Re: [Announce] Harmattan repository for Python, etc
 
Quote:

Originally Posted by www.rzr.online.fr (Post 1322925)
I merged most of them to shared repo but some are failling to be rebuild

wanna double check ?

https://build.pub.meego.com/project/...tan_standard=1

About :

1) python-tornado : I don't understand the COBS problem. Using the Harmattan SDK, I needed to install only "python-pycurl".

2) zeromq : the build log of zeromq shows:
"/usr/bin/ld: .libs/local_lat: hidden symbol `__sync_fetch_and_add_4' in /usr/lib/gcc/arm-linux-gnueabi/4.4.1/libgcc.a(linux-atomic.o) is referenced by DSO
/usr/bin/ld: final link failed: Nonrepresentable section on output"
This problem of gcc 4.4.1 in Harmattan SDK is fixed by applying the patch :
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46563#c6
# rm /usr/lib/gcc/arm-linux-gnueabi/4.4.1/libgcc_s.so
# nano /usr/lib/gcc/arm-linux-gnueabi/4.4.1/libgcc_s.so
/* GNU ld script
Use the shared library, but some functions are only in
the static library. */
GROUP ( libgcc_s.so.1 libgcc.a )

rcolistete 2013-02-14 23:53

Re: [Announce] Harmattan repository for Python, etc
 
Quote:

Originally Posted by www.rzr.online.fr (Post 1322925)
I merged most of them to shared repo but some are failling to be rebuild

Thank you very much, it will be easier for the Harmattan users to install from the Harmattan Community Shared Repository.

I've updated the installation instructions of NumPy, SymPy and Uncertainties, suggesting the use of MeeCatalog and the Harmattan Community Shared Repository. IPython topic isn't updated yet because the dependencies python-tornado and zeromq have problems in COBS.

My suggestions :
- remove MatPlotLib 1.0.0 and try to merge MatPlotLib 1.2.0;
- merge cython.

www.rzr.online.fr 2013-02-17 10:49

Re: [Announce] Harmattan repository for Python, etc
 
done that , only zeromq cant be built

feel free to use this thread to suggest more packages :

http://talk.maemo.org/showthread.php...51#post1323251

rcolistete 2014-09-29 10:45

Re: [Announce] Harmattan repository for Python, etc
 
Updates in this Harmattan repository in September 2014 :
- Uncertainties 2.4.6.1 in 23/09/2014;
- SymPy 0.7.4.1 in 23/09/2014;
- SymPy 0.7.5 in 24/09/2014;
- NumPy 1.8.2 in 18 and 25/09/2014;
- NumPy 1.9.0 in 26/09/2014;
- Cython 0.19.1 in 27/09/2014;
- SuiteSparse 3.4.0 in 27/09/2014;
- Decorator 3.4.0 in 28/09/2014;
- SciPy 0.14.0 in 28/09/2014.

rcolistete 2014-11-02 19:09

Re: [Announce] Harmattan repository for Python, etc
 
Updates in this Harmattan repository in October 2014 :
- MatPlotLib 1.2.1-3 in 12/10/2014;
- python-pyparsing 1.5.6 in 14/10/2014;
- python-tz 2012c in 14/10/2014;
- tofrodos 1.7.9 in 14/10/2014;
- MatPlotLib 1.3.1 in 20/10/2014;
- python-six 1.3.0 in 29/10/2014.


All times are GMT. The time now is 09:49.

vBulletin® Version 3.8.8