Home » Wiki » client for h-node.org » Historique » Révision
Révision de la page wiki client for h-node.org
Ceci est une version antérieure de la page, telle qu'éditée par lammi87 à 23:37, 4 Août 2012. Il peut y avoir une différence significative avec Révision actuelle.
client for h-node.org

h-client provides a desktop application for submitting device data for h-node.org, automatically finding data known to the operating system and checking if the device is already known on h-node. Laptops are currently unsupported, most other devices can be reported more easily using the client than with the Web interface.

Distribution packages
Source

You can download the source by typing the following command:

svn co svn://svn.savannah.nongnu.org/h-client/trunk/h-client
Parabola GNU/Linux

Parabola package here.

Trisquel GNU/Linux

Trisquel package is in DNS's [a]https://launchpad.net/~dns/+archive/misc/+packages?field.name_filter=h-client&field.status_filter=published&field.series_filter=|PPA[/a].

Requirements
  • Python 2.6 or 2.7
  • Distribute
  • pyGTK
  • pycurl

(they would most likely be already installed).

Trisquel 4.5 users

Have to install python-setuptools in order to install the client:

sudo aptitude install python-setuptools
Have a package built for you

Here's one liner I put together to build the package.

cd ~/ && \
sudo apt-get install subversion checkinstall  python-setuptools && \
svn co svn://svn.savannah.nongnu.org/h-client/trunk/h-client && \
cd h-client && \
version="0.$(svn log | grep r | cut -d ' ' -f1 | head -n1)" && \
sudo checkinstall --pakdir "$HOME/Desktop" --pkgname h-client \
--pkgversion "$version~svn" --backup=no --default python setup.py install && sudo ldconfig

Send feedback to campaigns at fsf

Installation

In order to install it type:

python setup.py install --user

and run it using:

~/.local/bin/h-client

(or just h-client if added ~/.local/bin to PATH).

Notes

If you are using Trisquel 4.0 you have to comment the row starting with "pycurl" inside the file setup.py (see the below piece of code) and install pycurl by means of the package manager

     install_requires=(
#        "pygtk",  # tries to get an old version
        #"pycurl"
        ),
    )

If it does not work try to empty the following folder:

~/.local/lib/python2.6/site-packages/
Development

The project page is at Savannah. Some tasks to be done are listed at our main ToDo list.

How to build a different client

To learn how to write a client to connect to h-node.org see the page how to send data to h-node.org

Le contenu de cette page est dans le Domaine Public (voir la page CC0 pour plus d'informations). Quiquonque est libre de copier, modifier, publier, utiliser, vendre ou distribuer le texte , quelques soit le but et le moyen.
h-node.org is a hardware database project. It runs the h-source PHP software, commit cdeda15, available under the GNU General Public (GPLv3) License.
JavaScript license information