danielfett / advancedcaching

Advanced Geocaching Tool for Linux
http://www.danielfett.de/internet-und-opensource,software,agtl
31 stars 13 forks source link

Build script for SHR (freerunner/n900/samsung) #146

Open shr-project opened 12 years ago

shr-project commented 12 years ago

Hi,

I'm maintainer of SHR distribution and someone asked for new version of advancedcaching http://lists.shr-project.org/pipermail/shr-user/2012-May/007583.html

We're using openembedded framework to cross-compile our packages so we don't need build script to provide .ipk, just to install files in right directories (ideally with help of distutils/setuptools).

In older version (45a42994753fb396840890dd756b118790b8989e) this worked fine, because setup.py was already provided by you, so bitbake recipe was simple: http://git.shr-project.org/git/?p=meta-smartphone.git;a=blob;f=meta-shr/recipes-shr/3rdparty/advancedcaching_git.bb

Now to build new version I've started to write updated setup.py to achieve the same, do you have something similar already or would you accept patch adding setup.py back? Or should I wrote just shell script which copies files to expected rootfs?

Thanks

shr-project commented 12 years ago

Something like https://github.com/shr-project/advancedcaching/commit/a4ee184006a324299e199867c70cd99f0f4484cb

and I don't really like installing to /opt so I've moved everything to site-packages, but qml is not usable with SHR as we don't package qmlgui.

danielfett commented 12 years ago

Hi! I would be happy to accept a patch for that. There's already an outdated script to package an .ipk-file (build/make-freerunner-ipk.sh). Currently, there's no working setup.py (but it's time to create one, as I need to update the easy_install builds).

Installing to /opt is mandatory for Maemo and Meego, but it's not useful for other installations. Only a subset of files is needed for the Freerunner; In particular, the qml-related files can be skipped (qml subdirectory, qmlgui.py) as well as the hildon-related files.