Διαφορές ανάμεσα στην αναθεώρηση του/της
20:33, 14 Ιούλιος 2012, που δημιουργήθηκε από τον/την
mtjm, και την αναθεώρηση του/της
20:02, 14 Ιούλιος 2012
Σημείωση: το κείμενο με κόκκινο έχει διαγραφεί από την προηγούμενη αναθεώρηση, το κείμενο με πράσινο έχει προστεθεί σε αυτή την αναθεώρηση και το κείμενο με γκρι δεν έχει αλλαχθεί
Διαφορές στην καταχώρηση: ο τίτλος
client for h-node.org
Διαφορές στην καταχώρηση: Το κείμενο της σελίδας του wiki
[p]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.[/p]
__TOC__
[h1]Distribution packages[/h1]
[list]
[*]Parabola package [a]https://parabolagnulinux.org/packages/libre/any/h-client/|h-client[/a][/*]
[*]Trisquel package h-client in DNS's PPA https://launchpad.net/~dns/+archive/misc/+packages?field.name_filter=h-client&field.status_filter=published&field.series_filter=[/*]
[/list]
[h1]Getting the h-client from source[/h1]
[p]You can download the client by typing the following command:[/p]
[code]svn co svn://svn.savannah.nongnu.org/h-client/trunk/h-client[/code]
[h1]Requirements[/h1]
[list]
[*] Python 2.6 or 2.7[/*]
[*] Distribute[/*]
[*] pyGTK[/*]
[*] pycurl[/*]
[/list]
[p](they would most likely be already installed). [/p]
[h2]Trisquel 4.5 users[/h2]
[p]Have to install python-setuptools in order to install the client:[/p]
[code]sudo aptitude install python-setuptools[/code]
[h2]Have a package built for you[/h2]
[p]Here's one liner I put together to build the package.[/p]
[code]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[/code]
[p]Send feedback to campaigns at fsf[/p]
[h2]Installation[/h2]
[p]In order to install it type:[/p]
[code]python setup.py install --user[/code]
[p]and run it using:[/p]
[code]~/.local/bin/h-client[/code]
[p](or just h-client if added ~/.local/bin to PATH).[/p]
[h2]Notes[/h2]
[p]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[/p]
[code]
install_requires=(
# "pygtk", # tries to get an old version
#"pycurl"
),
)
[/code]
[p]
If it does not work try to empty the following folder:[/p]
[code]~/.local/lib/python2.6/site-packages/[/code]
[h1]How [h1]Development[/h1]
[p]The project page is at [a]https://savannah.nongnu.org/projects/h-client/|Savannah[/a]. Some tasks to be done are listed at our main [[ToDo#h-client|ToDo]] list.[/p]
[h2]How to build a client[/h1] different client[/h2]
[p]To learn how to write a client to connect to h-node.org see the page [[how to send data to h-node.org]][/p]
[lang][[cliente para h-node.com|Español]][/lang]
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.