Windows Mobile 2005 Gentoo SVN Ebuilds


From SynCE-Wiki

Windows Mobile 2005 Support: Installing SynCE, Connecting Your Device, Using SynCE, Troubleshooting

Contents

Introduction

The Gentoo SynCE ebuilds are available from svn. They are svn ebuilds - every time you emerge one, the emerge will automatically update to the latest svn source. To help you download them all, you can use layman. For more info on laymen, or overlays in general, start reading here: Gentoo Wiki on Overlays

Install & Configure layman

emerge -va layman

Check the output, and then continue with the install.

To first run layman, you need to do two things:

  1. echo "source /usr/portage/local/layman/make.conf" >> /etc/make.conf
  2. edit /etc/layman/layman.cfg and add the SynCE source to the overlays option:
overlays  : http://www.gentoo.org/proj/en/overlays/layman-global.txt
            http://synce.svn.sourceforge.net/svnroot/synce/dist/gentoo/synce-wm5-layman.xml

Then fetch the list of available overlays:

layman -f

Finally add the SynCE overlay

layman -a synce

To update layman overlays when a new ebuild is released, just

layman -s synce

emerge

Edit (or create) /etc/portage/package.use and add the use flags you desire. At least syncengine is recommended. At the time of writing this howto, use flags supported are gnome, serial, syncengine, and wininstallers.

 app-pda/synce syncengine usb wininstallers

You will also need to use the ~x86 keyword for these packages. Thus, you will need something like the following in /etc/portage/package.keywords:

 app-pda/synce                   ~x86
 app-pda/synce-sync-engine       ~x86
 app-pda/synce-librtfcomp        ~x86
 app-pda/synce-pywbxml           ~x86
 dev-libs/libwbxml               ~x86
 app-pda/synce-rra               ~x86
 app-pda/synce-odccm             ~x86
 app-pda/synce-librapi2          ~x86
 app-pda/synce-libsynce          ~x86
 ...

If you want to build the latest from the SVN trunk, use the ~* keyword instead.

Then emerge it!

 emerge -va synce

Troubleshoothing

usb-rndis-lite

The ebuilds for usb-rndis-lite, usb-rndis, and usb-rndis-ng currently do not work and are masked. Thus, you need to follow the instructions at Connecting_your_Windows_Mobile_2005_device_via_USB_(usb-rndis-lite).

synce-gnome-test.py

To run synce-gnome-test.py from app-pda/synce-gnome, you may need to alter your python path:

export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.4/site-packages

synce-trayicon

synce-trayicon from app-pda/synce-trayicon claims to need dccm, but it will work if you manually start odccm before loading.

emerge errors

If emerge fails with a message similar to:

!!! subversion.eclass: ESVN_REPO_URI (or specified URI) and working
copy's URL are not matched.

Then you have a stale svn download to get rid of:

sudo rm -rf /usr/portage/distfiles/svn-src/

Other Ebuilds

  • FUR - fuse based rapip driver for browsing a WM device as a normal unix file system.