PC Connectivity

Maemo PC Connectivity provides tools to simplify setting up of communication between the Tablet and the PC at two parts:

- Connection setup: To configure a TCP/IP connection based on different mechanisms (USB, Bluetooth, WLAN) and different operating systems (Linux, Mac OS and Windows)

- Communication tools: remote shell (SSH, SBRSH), secure remote copy (SCP), mounting file systems (SSHFS, NFS, SMB)

Build Environment

These instructions will help to setup the build environment for current maemo pc-connectivity packages:
fuse, sshfs, sbrsh, unfs3, network-manager (applet), connection-switcher (applet) and maemo-pc-connectivity (meta package)

1. Install Scratchbox and Maemo SDK according to the Maemo official instructions:
   - http://repository.maemo.org/stable/4.1.2/INSTALL.txt

2. Compiling fuse packages

 The fuse packages are: libfuse2, fuse-utils, fuse-modules-rx-34, libfuse-dev

2.1. Download fuse source code:
    - Download a tarball:  https://garage.maemo.org/frs/?group_id=804
    - From SVN: "svn co https://garage.maemo.org/svn/mfuse/trunk/fuse"

2.2 Generate the debian package
    $ dpkg-buildpackage -rfakeroot -uc -us

3. Compiling sshfs package

3.1. Install libfuse packages you compiled in the previous step
    $ dpkg -i libfuse-dev_2.7.2-1maemo7_armel.deb libfuse2_2.7.2-1maemo7_armel.deb

3.2. Download ssh-fuse source code:
    - Download a tarball:  https://garage.maemo.org/frs/?group_id=804
    - From SVN: "svn co https://garage.maemo.org/svn/mfuse/trunk/sshfs-fuse"

3.3 Generate the debian package
    $ dpkg-buildpackage -rfakeroot -uc -us

4. Compiling sbrsh package

4.1 Download sbrsh source code
    - From a tarball: https://garage.maemo.org/frs/?group_id=802
    - From SVN: "svn co https://garage.maemo.org/svn/sbrsh/trunk/sbrsh

4.2 Generate the debian package
    $ dpkg-buildpackage -rfakeroot -uc -us

5. Compiling the new network-manager applet

5.1 Download the package sources
    - From a tarball: https://garage.maemo.org/frs/?group_id=801
    - Or from SVN: "svn co https://garage.maemo.org/svn/pc-connectivity/trunk/network-manager"

5.2 Generate the debian package
    $ dpkg-buildpackage -rfakeroot -uc -us

6. Compiling the new connection-switcher applet

6.1 Install network-manager packages you just compiled in the previous step
    $ dpkg -i network-manager-dev_0.x.x_armel.deb network-manager_0.x.x_armel.deb

6.2 Download the package sources
    - From a tarball: https://garage.maemo.org/frs/?group_id=801
    - Or from SVN: "svn co https://garage.maemo.org/svn/pc-connectivity/trunk/connection-switcher"

6.3 Generate the debian package
    $ dpkg-buildpackage -rfakeroot -uc -us

7. Compiling maemo-pc-connectivity metapackage

7.1 Download the package sources
    - From a tarball: https://garage.maemo.org/frs/?group_id=801
    - Or from SVN: "svn co https://garage.maemo.org/svn/pc-connectivity/trunk/maemo-pc-connectivity"

7.2 Generate the debian package
    $ dpkg-buildpackage -rfakeroot -uc -us

8. Compiling unfs3 metapackage

8.1 Install the build dependencies
    $ fakeroot apt-get install flex

8.2 Download the package sources
    - From a tarball: https://garage.maemo.org/frs/?group_id=882

8.3 Generate the debian package
    $ dpkg-buildpackage -rfakeroot -uc -us