Home » Wiki » client for h-node.org » Ιστορικό » Αναθεώρηση
Αναθεώρηση της σελίδας του wiki client for h-node.org
Αυτή είναι μια παλιά αναθεώρηση της σελίδας, έτσι όπως τροποποιήθηκε από τον/την mattl στις 14:55, 16 Σεπτέμβριος 2011. Μπορεί να διαφέρει σημαντικά από την Τρέχουσα αναθεώρηση.
client for h-node.com
Getting the h-client

You can download the client by typing the following command:

svn co svn://svn.savannah.nongnu.org/h-client/trunk/h-client
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"
        ),
    )
The contents of this page are in the Public Domain. (see the CC0 page for detailed information). Anyone is free to copy, modify, publish, use, sell, or distribute the text for any purpose, commercial or non-commercial, and by any means.
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