summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-pda')
-rw-r--r--app-pda/barry/Manifest1
-rw-r--r--app-pda/barry/barry-0.18.3.ebuild112
-rw-r--r--app-pda/barry/metadata.xml22
-rw-r--r--app-pda/coldsync/Manifest2
-rw-r--r--app-pda/coldsync/coldsync-2.2.5-r1.ebuild76
-rw-r--r--app-pda/coldsync/coldsync-3.0_pre4.ebuild87
-rw-r--r--app-pda/coldsync/files/coldsync-2.2.5-toolchain.patch25
-rw-r--r--app-pda/coldsync/files/coldsync-3.0_pre4-texinfo-5.patch27
-rw-r--r--app-pda/coldsync/metadata.xml5
-rw-r--r--app-pda/dynamite/Manifest1
-rw-r--r--app-pda/dynamite/dynamite-0.1.1_p20120512.ebuild32
-rw-r--r--app-pda/dynamite/files/dynamite-bootstrap.patch16
-rw-r--r--app-pda/dynamite/metadata.xml12
-rw-r--r--app-pda/fusepod/Manifest1
-rw-r--r--app-pda/fusepod/files/fusepod-0.5.2-missing_include.patch12
-rw-r--r--app-pda/fusepod/fusepod-0.5.2.ebuild27
-rw-r--r--app-pda/fusepod/metadata.xml8
-rw-r--r--app-pda/gnupod/Manifest1
-rw-r--r--app-pda/gnupod/gnupod-0.99.8-r1.ebuild53
-rw-r--r--app-pda/gnupod/metadata.xml5
-rw-r--r--app-pda/gtkpod/Manifest2
-rw-r--r--app-pda/gtkpod/files/gtkpod-2.1.3-gold.patch15
-rw-r--r--app-pda/gtkpod/gtkpod-2.1.4.ebuild116
-rw-r--r--app-pda/gtkpod/metadata.xml12
-rw-r--r--app-pda/ideviceinstaller/Manifest1
-rw-r--r--app-pda/ideviceinstaller/ideviceinstaller-1.0.1.ebuild26
-rw-r--r--app-pda/ideviceinstaller/metadata.xml5
-rw-r--r--app-pda/ifuse/Manifest1
-rw-r--r--app-pda/ifuse/ifuse-1.1.3.ebuild28
-rw-r--r--app-pda/ifuse/metadata.xml6
-rw-r--r--app-pda/iripdb/Manifest1
-rw-r--r--app-pda/iripdb/iripdb-0.1.3b.ebuild34
-rw-r--r--app-pda/iripdb/metadata.xml15
-rw-r--r--app-pda/jpilot-backup/Manifest1
-rw-r--r--app-pda/jpilot-backup/jpilot-backup-0.60.ebuild39
-rw-r--r--app-pda/jpilot-backup/metadata.xml5
-rw-r--r--app-pda/jpilot-mail/Manifest1
-rw-r--r--app-pda/jpilot-mail/files/jpilot-mail-0.1.7.patch172
-rw-r--r--app-pda/jpilot-mail/jpilot-mail-0.1.7.ebuild48
-rw-r--r--app-pda/jpilot-mail/metadata.xml5
-rw-r--r--app-pda/jpilot-plucker/Manifest1
-rw-r--r--app-pda/jpilot-plucker/jpilot-plucker-0.02.ebuild37
-rw-r--r--app-pda/jpilot-plucker/metadata.xml5
-rw-r--r--app-pda/jpilot-syncmal/Manifest1
-rw-r--r--app-pda/jpilot-syncmal/jpilot-syncmal-0.81.ebuild38
-rw-r--r--app-pda/jpilot-syncmal/metadata.xml5
-rw-r--r--app-pda/jpilot/Manifest2
-rw-r--r--app-pda/jpilot/files/jpilot-1.8.0-char.patch102
-rw-r--r--app-pda/jpilot/files/jpilot-1.8.1-char.patch102
-rw-r--r--app-pda/jpilot/jpilot-1.8.0.ebuild54
-rw-r--r--app-pda/jpilot/jpilot-1.8.1.ebuild52
-rw-r--r--app-pda/jpilot/metadata.xml5
-rw-r--r--app-pda/libimobiledevice/Manifest1
-rw-r--r--app-pda/libimobiledevice/libimobiledevice-1.1.6.ebuild66
-rw-r--r--app-pda/libimobiledevice/metadata.xml5
-rw-r--r--app-pda/libopensync-plugin-file/Manifest3
-rw-r--r--app-pda/libopensync-plugin-file/libopensync-plugin-file-0.22.ebuild25
-rw-r--r--app-pda/libopensync-plugin-file/libopensync-plugin-file-0.36.ebuild27
-rw-r--r--app-pda/libopensync-plugin-file/libopensync-plugin-file-0.39.ebuild27
-rw-r--r--app-pda/libopensync-plugin-file/libopensync-plugin-file-9999.ebuild29
-rw-r--r--app-pda/libopensync-plugin-file/metadata.xml10
-rw-r--r--app-pda/libopensync-plugin-gnokii/Manifest2
-rw-r--r--app-pda/libopensync-plugin-gnokii/libopensync-plugin-gnokii-0.22.ebuild29
-rw-r--r--app-pda/libopensync-plugin-gnokii/libopensync-plugin-gnokii-0.36.ebuild20
-rw-r--r--app-pda/libopensync-plugin-gnokii/libopensync-plugin-gnokii-9999.ebuild22
-rw-r--r--app-pda/libopensync-plugin-gnokii/metadata.xml5
-rw-r--r--app-pda/libopensync-plugin-gpe/Manifest2
-rw-r--r--app-pda/libopensync-plugin-gpe/libopensync-plugin-gpe-0.22.ebuild20
-rw-r--r--app-pda/libopensync-plugin-gpe/libopensync-plugin-gpe-0.36.ebuild19
-rw-r--r--app-pda/libopensync-plugin-gpe/libopensync-plugin-gpe-9999.ebuild21
-rw-r--r--app-pda/libopensync-plugin-gpe/metadata.xml5
-rw-r--r--app-pda/libopensync-plugin-irmc/Manifest1
-rw-r--r--app-pda/libopensync-plugin-irmc/libopensync-plugin-irmc-0.22.ebuild37
-rw-r--r--app-pda/libopensync-plugin-irmc/libopensync-plugin-irmc-9999.ebuild36
-rw-r--r--app-pda/libopensync-plugin-irmc/metadata.xml12
-rw-r--r--app-pda/libopensync-plugin-moto/Manifest1
-rw-r--r--app-pda/libopensync-plugin-moto/libopensync-plugin-moto-0.22.ebuild34
-rw-r--r--app-pda/libopensync-plugin-moto/metadata.xml5
-rw-r--r--app-pda/libopensync-plugin-palm/Manifest1
-rw-r--r--app-pda/libopensync-plugin-palm/files/libopensync-plugin-palm-include_pisock.patch11
-rw-r--r--app-pda/libopensync-plugin-palm/libopensync-plugin-palm-0.22.ebuild36
-rw-r--r--app-pda/libopensync-plugin-palm/libopensync-plugin-palm-9999.ebuild27
-rw-r--r--app-pda/libopensync-plugin-palm/metadata.xml10
-rw-r--r--app-pda/libopensync-plugin-python/Manifest1
-rw-r--r--app-pda/libopensync-plugin-python/libopensync-plugin-python-0.22.ebuild31
-rw-r--r--app-pda/libopensync-plugin-python/libopensync-plugin-python-9999.ebuild33
-rw-r--r--app-pda/libopensync-plugin-python/metadata.xml5
-rw-r--r--app-pda/libopensync-plugin-sunbird/Manifest1
-rw-r--r--app-pda/libopensync-plugin-sunbird/libopensync-plugin-sunbird-0.22.ebuild31
-rw-r--r--app-pda/libopensync-plugin-sunbird/metadata.xml10
-rw-r--r--app-pda/libopensync-plugin-synce-rra/Manifest1
-rw-r--r--app-pda/libopensync-plugin-synce-rra/libopensync-plugin-synce-rra-0.22.2.ebuild28
-rw-r--r--app-pda/libopensync-plugin-synce-rra/metadata.xml8
-rw-r--r--app-pda/libopensync-plugin-syncml/Manifest1
-rw-r--r--app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-0.39.ebuild37
-rw-r--r--app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-9999.ebuild38
-rw-r--r--app-pda/libopensync-plugin-syncml/metadata.xml13
-rw-r--r--app-pda/libopensync-plugin-vformat/Manifest1
-rw-r--r--app-pda/libopensync-plugin-vformat/libopensync-plugin-vformat-0.39.ebuild26
-rw-r--r--app-pda/libopensync-plugin-vformat/libopensync-plugin-vformat-9999.ebuild28
-rw-r--r--app-pda/libopensync-plugin-vformat/metadata.xml9
-rw-r--r--app-pda/libopensync/Manifest3
-rw-r--r--app-pda/libopensync/files/libopensync-0.22-Makefile.patch82
-rw-r--r--app-pda/libopensync/files/libopensync-0.22-fbsd.patch20
-rw-r--r--app-pda/libopensync/files/libopensync-0.22-pythonpath.patch63
-rw-r--r--app-pda/libopensync/files/libopensync-0.22-swig-typeerror.patch13
-rw-r--r--app-pda/libopensync/libopensync-0.22-r1.ebuild97
-rw-r--r--app-pda/libopensync/libopensync-0.22.ebuild75
-rw-r--r--app-pda/libopensync/libopensync-0.36-r2.ebuild126
-rw-r--r--app-pda/libopensync/libopensync-0.39-r1.ebuild126
-rw-r--r--app-pda/libopensync/libopensync-9999.ebuild125
-rw-r--r--app-pda/libopensync/metadata.xml10
-rw-r--r--app-pda/libplist/Manifest1
-rw-r--r--app-pda/libplist/libplist-1.11.ebuild53
-rw-r--r--app-pda/libplist/metadata.xml5
-rw-r--r--app-pda/libsyncml/Manifest1
-rw-r--r--app-pda/libsyncml/libsyncml-0.5.4.ebuild60
-rw-r--r--app-pda/libsyncml/libsyncml-9999.ebuild57
-rw-r--r--app-pda/libsyncml/metadata.xml9
-rw-r--r--app-pda/libusbmuxd/Manifest1
-rw-r--r--app-pda/libusbmuxd/libusbmuxd-1.0.9.ebuild33
-rw-r--r--app-pda/libusbmuxd/metadata.xml5
-rw-r--r--app-pda/metadata.xml35
-rw-r--r--app-pda/msynctool/Manifest1
-rw-r--r--app-pda/msynctool/metadata.xml12
-rw-r--r--app-pda/msynctool/msynctool-0.22.ebuild32
-rw-r--r--app-pda/multisync-gui/Manifest2
-rw-r--r--app-pda/multisync-gui/files/multisync-gui-0.92.0-cmake.patch41
-rw-r--r--app-pda/multisync-gui/files/multisync-gui-0.92.0-pixbuf-include.patch10
-rw-r--r--app-pda/multisync-gui/metadata.xml5
-rw-r--r--app-pda/multisync-gui/multisync-gui-0.91.0.ebuild27
-rw-r--r--app-pda/multisync-gui/multisync-gui-0.92.0_pre20080531.ebuild28
-rw-r--r--app-pda/orange/Manifest1
-rw-r--r--app-pda/orange/metadata.xml12
-rw-r--r--app-pda/orange/orange-0.4.ebuild37
-rw-r--r--app-pda/osynctool/Manifest1
-rw-r--r--app-pda/osynctool/metadata.xml10
-rw-r--r--app-pda/osynctool/osynctool-0.39.ebuild28
-rw-r--r--app-pda/osynctool/osynctool-9999.ebuild30
-rw-r--r--app-pda/p3nfs/Manifest1
-rw-r--r--app-pda/p3nfs/files/p3nfs-5.19-set-default-tty.patch14
-rw-r--r--app-pda/p3nfs/metadata.xml5
-rw-r--r--app-pda/p3nfs/p3nfs-5.19-r2.ebuild52
-rw-r--r--app-pda/p3nfs/p3nfs-5.19-r3.ebuild46
-rw-r--r--app-pda/pilot-link/Manifest1
-rw-r--r--app-pda/pilot-link/files/pilot-link-0.12.2-threads.patch17
-rw-r--r--app-pda/pilot-link/files/pilot-link-0.12.2-werror_194921.patch19
-rw-r--r--app-pda/pilot-link/files/pilot-link-0.12.3-distutils.patch19
-rw-r--r--app-pda/pilot-link/files/pilot-link-0.12.3-java-install.patch25
-rw-r--r--app-pda/pilot-link/files/pilot-link-0.12.3-libpng14.patch98
-rw-r--r--app-pda/pilot-link/files/pilot-link-0.12.3-libusb-compat-usb_open.patch21
-rw-r--r--app-pda/pilot-link/files/pilot-link-0.12.3-png.patch78
-rw-r--r--app-pda/pilot-link/files/pilot-link-0.12.3-respect-javacflags.patch13
-rw-r--r--app-pda/pilot-link/files/pilot-link-0.12.5-perl514.patch625
-rw-r--r--app-pda/pilot-link/metadata.xml5
-rw-r--r--app-pda/pilot-link/pilot-link-0.12.5-r1.ebuild109
-rw-r--r--app-pda/synce-core/Manifest1
-rw-r--r--app-pda/synce-core/metadata.xml8
-rw-r--r--app-pda/synce-core/synce-core-0.16-r1.ebuild79
-rw-r--r--app-pda/synce-sync-engine/Manifest1
-rw-r--r--app-pda/synce-sync-engine/metadata.xml11
-rw-r--r--app-pda/synce-sync-engine/synce-sync-engine-0.15.1-r3.ebuild73
-rw-r--r--app-pda/usbmuxd/Manifest1
-rw-r--r--app-pda/usbmuxd/metadata.xml5
-rw-r--r--app-pda/usbmuxd/usbmuxd-1.0.8_p20140530.ebuild34
165 files changed, 4951 insertions, 0 deletions
diff --git a/app-pda/barry/Manifest b/app-pda/barry/Manifest
new file mode 100644
index 000000000000..04d6bb81ecda
--- /dev/null
+++ b/app-pda/barry/Manifest
@@ -0,0 +1 @@
+DIST barry-0.18.3.tar.bz2 3457451 SHA256 c9dc6d1790d00f5535bbc0777082cd303aa8ca2e4256f1b16cafda44be97ce2c SHA512 4944d22bd5f5a76201ca10ccaf9d12ecf21b298e5b9c8d3d503441e0ad0386a94699c48ae683004992508bb385e75ec137859509663148f2f148933fa508e7fd WHIRLPOOL c991b1239d8f4c40c7e61fb4af1e6dbadb9e47c793a8e232556b8a2d8d08ca7474607e5c2ac3a557d1aad007d3ff7a1f74041351813e7ff77a131dfaeeb95999
diff --git a/app-pda/barry/barry-0.18.3.ebuild b/app-pda/barry/barry-0.18.3.ebuild
new file mode 100644
index 000000000000..7fcd3964340c
--- /dev/null
+++ b/app-pda/barry/barry-0.18.3.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit bash-completion-r1 eutils gnome2-utils udev
+
+DESCRIPTION="Sync, backup, program management, and charging for BlackBerry devices"
+HOMEPAGE="http://www.netdirect.ca/software/packages/barry/"
+SRC_URI="mirror://sourceforge/barry/${P}.tar.bz2"
+
+LICENSE="CC-BY-SA-3.0 GPL-2" #See logo/README for CCPL
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="boost desktop doc gui opensync nls static-libs"
+
+RDEPEND=">=dev-cpp/libxmlpp-2.6
+ >=dev-libs/glib-2
+ >=dev-libs/libtar-1.2.11-r2
+ >=media-libs/libsdl-1.2
+ >=sys-fs/fuse-2.5
+ sys-libs/zlib
+ virtual/libusb:1
+ boost? ( >=dev-libs/boost-1.33 )
+ desktop? ( >=net-libs/libgcal-0.9.6 )
+ gui? (
+ dev-cpp/glibmm:2
+ dev-cpp/gtkmm:2.4
+ dev-cpp/libglademm:2.4
+ )
+ opensync? ( ~app-pda/libopensync-0.22 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( >=app-doc/doxygen-1.5.6 )
+ nls? ( >=sys-devel/gettext-0.18.1.1 )"
+
+DOCS=( AUTHORS ChangeLog KnownBugs NEWS README TODO )
+
+src_prepare() {
+ sed -i -e 's:plugdev:usb:g' "${S}"/udev/99-blackberry-perms.rules || die
+ sed -i -e '/Icon/s:=.*:=barry:' "${S}"/menu/*.desktop || die
+}
+
+src_configure() {
+ econf \
+ $(use_enable nls) \
+ $(use_enable static-libs static) \
+ $(use_enable boost) \
+ $(use_enable gui) \
+ $(use_enable opensync opensync-plugin) \
+ $(use_enable desktop) \
+ --disable-rpath
+}
+
+src_compile() {
+ default
+
+ if use doc; then
+ cd "${S}"
+ doxygen || die
+ fi
+}
+
+src_install() {
+ default
+
+ # docs
+ rm -rf "${S}"/doc/www/*.{php,sh}
+ find "${S}"/doc/www/doxygen/html -name "*.map" -size 0 -exec rm -f {} +
+ use doc && dohtml "${S}"/doc/www/doxygen/html/*
+ rm -rf "${S}"/doc/www
+ dodoc -r "${S}"/doc/*
+
+ # Skipping different (old Fedora) rules 69-blackberry.rules in purpose
+ udev_dorules "${S}"/udev/10-blackberry.rules "${S}"/udev/99-blackberry-perms.rules
+
+ # blacklist for BERRY_CHARGE kernel module
+ insinto /lib/modprobe.d
+ doins "${S}"/modprobe/blacklist-berry_charge.conf
+
+ # pppd options files
+ docinto ppp
+ dodoc "${S}"/ppp/*
+
+ dobashcomp "${S}"/bash/btool "${S}"/bash/bjavaloader
+
+ newicon -s scalable "${S}"/logo/${PN}_logo_icon.svg ${PN}.svg
+ use desktop && domenu "${S}"/menu/barrydesktop.desktop
+ use gui && domenu "${S}"/menu/barrybackup.desktop
+
+ prune_libtool_files
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+
+ elog "Barry requires you to be a member of the \"usb\" group."
+ ewarn
+ ewarn "Barry and the in-kernel module 'BERRY_CHARGE' are incompatible."
+ ewarn
+ ewarn "Kernel-based USB suspending can discharge your blackberry."
+ ewarn "Use at least kernel 2.6.22 and/or disable CONFIG_USB_SUSPEND."
+ ewarn
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/app-pda/barry/metadata.xml b/app-pda/barry/metadata.xml
new file mode 100644
index 000000000000..2ac61ee9e44a
--- /dev/null
+++ b/app-pda/barry/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>rhill@gentoo.org</email>
+ <name>Ryan Hill</name>
+ </maintainer>
+ <herd>pda</herd>
+ <longdescription lang="en">
+ Barry is a utility for synchronization, backup, restore,
+ program management, and charging of BlackBerry devices.
+ </longdescription>
+ <use>
+ <flag name="boost">Enable boost support</flag>
+ <flag name="desktop">Install the GUI desktop control panel</flag>
+ <flag name="gui">Install the GUI backup tool</flag>
+ <flag name="opensync">Install the barry-sync plugin for OpenSync 0.22</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">barry</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-pda/coldsync/Manifest b/app-pda/coldsync/Manifest
new file mode 100644
index 000000000000..9d7d72fe9903
--- /dev/null
+++ b/app-pda/coldsync/Manifest
@@ -0,0 +1,2 @@
+DIST coldsync-2.2.5.tar.gz 663307 SHA256 635575e2175a865827319ad21cbfbac95a42a7256730898ae9e9104b63b4fef6 SHA512 94ca6f3cff2248563c9a179d052f1e31f9482a62bd6988baecdb0fd8d9ed376c7653eba15448a8be1585d0ab0f727597985d459fd063fe70a4b77a9ed9298a7a WHIRLPOOL 85f1fe15299f024b6bc9d86127f146298c805adfe46009f90a2ae171e1f3c217a7708bbd8111095e0102cae4bdf1c508ce0bdfe66bf118813ca14026f1f79fa8
+DIST coldsync-3.0-pre4.tar.gz 657305 SHA256 ca32dbcd1b2d3cbce8ee4e34aafb1183fc09c3ead69d308e76454a9c4c4728c3 SHA512 9f8ad373b2613388dfa47c86a65c05378f66b59ce09e5c984617fbb72525a5f31f90dd09a22258ada469a29278cdd442632747c8d2f924372bfbd6e0ba4bec22 WHIRLPOOL e05cee91e61cdd979efcab168d10834f9b0fb8e19a3a488efa99b910490051857358a3c9c9c548acb62b9fcd96268b7d717549f6a9882c434446729af928ba9f
diff --git a/app-pda/coldsync/coldsync-2.2.5-r1.ebuild b/app-pda/coldsync/coldsync-2.2.5-r1.ebuild
new file mode 100644
index 000000000000..6d5af383f7d4
--- /dev/null
+++ b/app-pda/coldsync/coldsync-2.2.5-r1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils flag-o-matic perl-module toolchain-funcs
+
+DESCRIPTION="A command-line tool to synchronize PalmOS PDAs with Unix workstations"
+HOMEPAGE="http://www.coldsync.org/"
+SRC_URI="http://www.coldsync.org/download/${P}.tar.gz"
+
+LICENSE="Artistic"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~sparc x86"
+IUSE="nls perl"
+
+RDEPEND="perl? ( dev-lang/perl )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-toolchain.patch
+
+ if use perl; then
+ pushd perl/ColdSync
+ perl-module_src_prepare
+ popd
+ fi
+}
+
+src_configure() {
+ tc-export CC CXX
+ append-cflags -fno-strict-aliasing
+
+ # TODO: i18n: msgfmt fails but doesn't || die
+ econf \
+ $(use_with nls i18n) \
+ --without-perl
+
+ if use perl; then
+ pushd perl/ColdSync
+ perl-module_src_configure
+ popd
+ fi
+}
+
+src_compile() {
+ default
+
+ if use perl; then
+ pushd perl/ColdSync
+ perl-module_src_compile
+ popd
+ fi
+}
+
+src_install() {
+ emake \
+ PREFIX="${D}"/usr \
+ MANDIR="${D}"/usr/share/man \
+ SYSCONFDIR="${D}"/etc \
+ DATADIR="${D}"/usr/share \
+ INFODIR="${D}"/usr/share/info \
+ INSTALLMAN3DIR="${D}"/usr/share/man/man3 \
+ INSTALLSITEMAN3DIR="${D}"/usr/share/man/man3 \
+ INSTALLVENDORMAN3DIR="${D}"/usr/share/man/man3 \
+ install
+
+ if use perl; then
+ pushd perl/ColdSync
+ perl-module_src_install
+ popd
+ fi
+
+ dodoc AUTHORS ChangeLog FAQ HACKING NEWS README* TODO
+}
diff --git a/app-pda/coldsync/coldsync-3.0_pre4.ebuild b/app-pda/coldsync/coldsync-3.0_pre4.ebuild
new file mode 100644
index 000000000000..aa1d65f6ccb0
--- /dev/null
+++ b/app-pda/coldsync/coldsync-3.0_pre4.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit flag-o-matic eutils perl-module toolchain-funcs
+
+MY_P=${PN}-${PV/_/-}
+
+DESCRIPTION="A command-line tool to synchronize PalmOS PDAs with Unix workstations"
+HOMEPAGE="http://www.coldsync.org/"
+SRC_URI="http://www.coldsync.org/download/${MY_P}.tar.gz"
+
+LICENSE="Artistic"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="caps nls perl usb"
+
+RDEPEND="caps? ( sys-libs/libcap )
+ perl? ( dev-lang/perl )
+ usb? ( virtual/libusb:0 )"
+DEPEND="${RDEPEND}
+ sys-apps/texinfo
+ nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-texinfo-5.patch
+
+ if use perl; then
+ pushd perl/ColdSync
+ perl-module_src_prepare
+ popd
+ fi
+}
+
+src_configure() {
+ tc-export CC CXX
+ append-cflags -fno-strict-aliasing
+ # FIXME: Fails to link later because libpconn is underlinked with USE="usb".
+ append-ldflags $(no-as-needed)
+
+ econf \
+ $(use_with nls i18n) \
+ $(use_with caps capabilities) \
+ $(use_with usb libusb) \
+ --without-perl
+
+ if use perl; then
+ pushd perl/ColdSync
+ perl-module_src_configure
+ popd
+ fi
+}
+
+src_compile() {
+ emake -j1 #279292
+
+ if use perl; then
+ pushd perl/ColdSync
+ perl-module_src_compile
+ popd
+ fi
+}
+
+src_install() {
+ emake \
+ PREFIX="${D}"/usr \
+ MANDIR="${D}"/usr/share/man \
+ SYSCONFDIR="${D}"/etc \
+ DATADIR="${D}"/usr/share \
+ INFODIR="${D}"/usr/share/info \
+ INSTALLMAN3DIR="${D}"/usr/share/man/man3 \
+ INSTALLSITEMAN3DIR="${D}"/usr/share/man/man3 \
+ INSTALLVENDORMAN3DIR="${D}"/usr/share/man/man3 \
+ EXTRA_INFOFILES="" \
+ install
+
+ if use perl; then
+ pushd perl/ColdSync
+ perl-module_src_install
+ popd
+ fi
+
+ dodoc AUTHORS ChangeLog FAQ HACKING NEWS README* TODO
+}
diff --git a/app-pda/coldsync/files/coldsync-2.2.5-toolchain.patch b/app-pda/coldsync/files/coldsync-2.2.5-toolchain.patch
new file mode 100644
index 000000000000..1a5392d97f0b
--- /dev/null
+++ b/app-pda/coldsync/files/coldsync-2.2.5-toolchain.patch
@@ -0,0 +1,25 @@
+--- src/symboltable.cc
++++ src/symboltable.cc
+@@ -11,8 +11,11 @@
+ #include <string>
+ #include <map>
+ #include <cstdlib> // For malloc() and friends
++#include <cstring> // For strlen() and friends
+ #include "symboltable.h"
+
++using namespace std;
++
+ static char *make_c_string(const string &s);
+
+ map<string,string> table; /* XXX - Is this going to cause problems on
+--- src/symboltable.h
++++ src/symboltable.h
+@@ -26,7 +26,7 @@
+ /* Initialize the symbol table based on the
+ * arguments. */
+ #ifdef __cplusplus
+-};
++}
+ #endif /* __cplusplus */
+
+ /* This is for Emacs's benefit:
diff --git a/app-pda/coldsync/files/coldsync-3.0_pre4-texinfo-5.patch b/app-pda/coldsync/files/coldsync-3.0_pre4-texinfo-5.patch
new file mode 100644
index 000000000000..0579a9fb854e
--- /dev/null
+++ b/app-pda/coldsync/files/coldsync-3.0_pre4-texinfo-5.patch
@@ -0,0 +1,27 @@
+Fix building against texinfo >= 5.0
+
+http://bugs.gentoo.org/514772
+http://www.gnu.org/software/texinfo/manual/texinfo/texinfo.html#g_t_0040copyright
+
+--- doc/conduits.texi
++++ doc/conduits.texi
+@@ -33,7 +33,7 @@
+
+ @page
+ @vskip 0pt plus 1filll
+-Copyright @copyright 2000 Andrew Arensburger.
++Copyright @copyright{} 2000 Andrew Arensburger.
+
+ Permission is granted to make and distribute verbatim copies of
+ this manual provided the copyright notice and this permission notice
+--- doc/libpalm.texi
++++ doc/libpalm.texi
+@@ -57,7 +57,7 @@
+
+ @page
+ @vskip 0pt plus 1filll
+-Copyright @copyright 1999 Andrew Arensburger.
++Copyright @copyright{} 1999 Andrew Arensburger.
+
+ Permission is granted to make and distribute verbatim copies of
+ this manual provided the copyright notice and this permission notice
diff --git a/app-pda/coldsync/metadata.xml b/app-pda/coldsync/metadata.xml
new file mode 100644
index 000000000000..228404d3a4b2
--- /dev/null
+++ b/app-pda/coldsync/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>pda</herd>
+</pkgmetadata>
diff --git a/app-pda/dynamite/Manifest b/app-pda/dynamite/Manifest
new file mode 100644
index 000000000000..8713a70fd7ad
--- /dev/null
+++ b/app-pda/dynamite/Manifest
@@ -0,0 +1 @@
+DIST dynamite-0.1.1_p20120512.tar.xz 48964 SHA256 c828913e43d48d66ece7ad6738d29c00d4b479055f2dd9d8ef41a1429c564328 SHA512 ba7a4c773d460e0e644cb1da3ae7fe3e48fc6fbe94dafc3ccab61659ade6363544a5d1d458574d365623b7eeaa1c1c7d10c05324a344d0e8ef7422276540daaa WHIRLPOOL 84166a402faf3de6d848d7f51283ae2c885b17f37684656d25d4effbf57dfeefd5396fce26d8259130553f043ad819d70f347806a554d80c100562c12bdfd7bd
diff --git a/app-pda/dynamite/dynamite-0.1.1_p20120512.ebuild b/app-pda/dynamite/dynamite-0.1.1_p20120512.ebuild
new file mode 100644
index 000000000000..aff499910837
--- /dev/null
+++ b/app-pda/dynamite/dynamite-0.1.1_p20120512.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit autotools eutils
+
+DESCRIPTION="A tool (and library) for decompressing data compressed with PKWARE Data Compression Library"
+HOMEPAGE="https://github.com/twogood/dynamite http://sourceforge.net/projects/synce/"
+SRC_URI="http://dev.gentoo.org/~ssuominen/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="static-libs"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-bootstrap.patch
+ ./bootstrap
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc ChangeLog README
+
+ find "${ED}" -name '*.la' -exec rm -f {} +
+}
diff --git a/app-pda/dynamite/files/dynamite-bootstrap.patch b/app-pda/dynamite/files/dynamite-bootstrap.patch
new file mode 100644
index 000000000000..3ac2695f89b4
--- /dev/null
+++ b/app-pda/dynamite/files/dynamite-bootstrap.patch
@@ -0,0 +1,16 @@
+--- bootstrap
++++ bootstrap
+@@ -26,8 +26,8 @@
+ INCLUDES="-I m4"
+ fi
+ set -x
+-aclocal $INCLUDES
+-autoheader
+-libtoolize --copy --automake
+-automake --copy --foreign --add-missing
+-autoconf
++# aclocal $INCLUDES
++# autoheader
++# libtoolize --copy --automake
++# automake --copy --foreign --add-missing
++# autoconf
diff --git a/app-pda/dynamite/metadata.xml b/app-pda/dynamite/metadata.xml
new file mode 100644
index 000000000000..5b99dd4ae283
--- /dev/null
+++ b/app-pda/dynamite/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>pda</herd>
+ <maintainer>
+ <email>ssuominen@gentoo.org</email>
+ <name>Samuli Suominen</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">twogood/dynamite</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-pda/fusepod/Manifest b/app-pda/fusepod/Manifest
new file mode 100644
index 000000000000..b29af36ad6b7
--- /dev/null
+++ b/app-pda/fusepod/Manifest
@@ -0,0 +1 @@
+DIST fusepod-0.5.2.tar.bz2 80923 SHA256 210d77cb2ec7701d4af681e63c4f52bc4d0c8cbfa493f55d3d9580e7106b857f SHA512 a3c0c3ba1fea80656a067d61a9b274a20522d0940db9c505a5268cd2f607bf0cf8e990f02de7fb80e3e9c71ddae482e163d4d22f6b57f0867f45a86076492a33 WHIRLPOOL 5e2a065e3c6ab9abe87271cf8f8b3f1a74125f13477852d34ece683eb35684dff9964d3a466435ba50165da23d1131dbf0c70a887f69a3a3e54283aa9b1ad881
diff --git a/app-pda/fusepod/files/fusepod-0.5.2-missing_include.patch b/app-pda/fusepod/files/fusepod-0.5.2-missing_include.patch
new file mode 100644
index 000000000000..97c651ee053d
--- /dev/null
+++ b/app-pda/fusepod/files/fusepod-0.5.2-missing_include.patch
@@ -0,0 +1,12 @@
+--- src/fusepod_util.h
++++ src/fusepod_util.h
+@@ -15,6 +15,9 @@
+ #ifndef _FUSEPOD_UTIL_H_
+ #define _FUSEPOD_UTIL_H_
+
++#include <stdio.h> /* sprintf */
++#include <string.h> /* strcasecmp */
++
+ #include <vector>
+ #include <string>
+
diff --git a/app-pda/fusepod/fusepod-0.5.2.ebuild b/app-pda/fusepod/fusepod-0.5.2.ebuild
new file mode 100644
index 000000000000..07e399098c7e
--- /dev/null
+++ b/app-pda/fusepod/fusepod-0.5.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit eutils
+
+DESCRIPTION="A userspace filesystem which mounts your iPod into a directory"
+HOMEPAGE="http://sourceforge.net/projects/fusepod/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="media-libs/libgpod
+ media-libs/taglib
+ sys-fs/fuse"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS="AUTHORS NEWS README README.fuse THANKS TODO"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-missing_include.patch
+}
diff --git a/app-pda/fusepod/metadata.xml b/app-pda/fusepod/metadata.xml
new file mode 100644
index 000000000000..30ba2a1c53fd
--- /dev/null
+++ b/app-pda/fusepod/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>pda</herd>
+ <upstream>
+ <remote-id type="sourceforge">fusepod</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-pda/gnupod/Manifest b/app-pda/gnupod/Manifest
new file mode 100644
index 000000000000..0221334d5db3
--- /dev/null
+++ b/app-pda/gnupod/Manifest
@@ -0,0 +1 @@
+DIST gnupod-0.99.8.tgz 207572 SHA256 bd566295a2e14352e6d05f5c816cab36b0e80d3ab36d29c4bbb45c581d3f3c31 SHA512 ac9ceadff371e052b6deb4067aa73e190ad109feb3337cc205d521fbab11b5bc1415e44907761711eeaaf7fcea6a1a841c08e2177fa912446cfe7495d2a5182b WHIRLPOOL 30a05398864c61f46621021cc1e6d5784651d690574ffef344c2df9cb4e4b6b74571a0b2b962502126170a42adea77a519351a615af0adccd4882e8d13834c93
diff --git a/app-pda/gnupod/gnupod-0.99.8-r1.ebuild b/app-pda/gnupod/gnupod-0.99.8-r1.ebuild
new file mode 100644
index 000000000000..0d46b9097087
--- /dev/null
+++ b/app-pda/gnupod/gnupod-0.99.8-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit perl-module
+
+DESCRIPTION="A collection of Perl-scripts for iPod"
+HOMEPAGE="http://www.gnu.org/software/gnupod/"
+SRC_URI="http://blinkenlights.ch/gnupod-dist/stable/${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+IUSE="aac ffmpeg flac mp3 ogg"
+
+RDEPEND="dev-perl/TimeDate
+ dev-perl/XML-Parser
+ >=dev-perl/MP3-Info-1.01
+ dev-perl/Unicode-String
+ dev-perl/Digest-SHA1
+ dev-perl/libwww-perl
+ ffmpeg? ( virtual/ffmpeg )
+ flac? ( dev-perl/Audio-FLAC-Header
+ media-libs/flac
+ aac? ( >=media-libs/faac-1.24 )
+ mp3? ( media-sound/lame )
+ !aac? ( media-sound/lame ) )
+ ogg? ( dev-perl/Ogg-Vorbis-Header-PurePerl
+ media-sound/vorbis-tools
+ aac? ( >=media-libs/faac-1.24 )
+ mp3? ( media-sound/lame )
+ !aac? ( media-sound/lame ) )"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ econf
+}
+
+src_install() {
+ perl_set_version
+ sed -i -e "s:\$INC\[0\]/\$modi:${D}${VENDOR_ARCH}/\$modi:g" \
+ tools/gnupod_install.pl || die
+
+ dodir /usr/bin
+ dodir ${VENDOR_ARCH}/GNUpod
+ dodir /usr/share/info
+ einstall
+
+ dodoc CHANGES README* doc/gnupodrc.example doc/gnutunesdb.example
+ dohtml doc/gnupod.html
+}
diff --git a/app-pda/gnupod/metadata.xml b/app-pda/gnupod/metadata.xml
new file mode 100644
index 000000000000..228404d3a4b2
--- /dev/null
+++ b/app-pda/gnupod/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>pda</herd>
+</pkgmetadata>
diff --git a/app-pda/gtkpod/Manifest b/app-pda/gtkpod/Manifest
new file mode 100644
index 000000000000..eb7482895f5f
--- /dev/null
+++ b/app-pda/gtkpod/Manifest
@@ -0,0 +1,2 @@
+DIST gst-element-check-0.10.m4.xz 420 SHA256 805f798eb9fcd79fdd7a937e321a7a61b7a1ff54aa1191270ae48e84f062d7f9 SHA512 07f59b8cdd65263b7f861cafcadbc22620ac66c80ae526dbfb4b305c64680dc353c18b18f347dcf8858dfd996802690b48ab3a539c42c5a75cf4d981ae61811c WHIRLPOOL 13c237320eb684a665e0c386aee4824bb7b1799fd9fc2afcb9b3825cca575ccf8e29e022856b29571f3332cdea5f9304dccc787b3621a402e9215df2b3cb4de5
+DIST gtkpod-2.1.4.tar.gz 3721445 SHA256 ba12b35f3f24a155b68f0ffdaf4d3c5c7d1b8df04843a53306e1c83fc811dfaa SHA512 803e37729e8d0bb2e9f6a4bb00c89bdfb4a2dfeffe713808ce9a88af68dc0d017a30159a532e74dcf6b05ee50028b854d4358d84752a52d6ca4f259060501a8a WHIRLPOOL 43c8b301846caee00a01d2c8e990d431c5dfbd748796c724ea035218ffe56224f69db6c3ad01e354a6f1f83a579e169aa6f7e57345ce050fde4e22f2a0b1235c
diff --git a/app-pda/gtkpod/files/gtkpod-2.1.3-gold.patch b/app-pda/gtkpod/files/gtkpod-2.1.3-gold.patch
new file mode 100644
index 000000000000..93c9f72a3747
--- /dev/null
+++ b/app-pda/gtkpod/files/gtkpod-2.1.3-gold.patch
@@ -0,0 +1,15 @@
+ libgtkpod/Makefile.am | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/libgtkpod/Makefile.am b/libgtkpod/Makefile.am
+index 464741f..c69dac8 100644
+--- a/libgtkpod/Makefile.am
++++ b/libgtkpod/Makefile.am
+@@ -50,6 +50,7 @@ AM_CFLAGS = \
+ libgtkpod_la_LDFLAGS = $(LIBGTKPOD_LDFLAGS) -version-info $(LIBGTKPOD_SO_VERSION) -no-undefined
+ libgtkpod_la_LIBADD = \
+ $(LIBGTKPOD_LIBS) \
++ -lm \
+ @LIBOBJS@
+
+ libgtkpodincludebase = $(includedir)/gtkpod
diff --git a/app-pda/gtkpod/gtkpod-2.1.4.ebuild b/app-pda/gtkpod/gtkpod-2.1.4.ebuild
new file mode 100644
index 000000000000..6a174f5ea89f
--- /dev/null
+++ b/app-pda/gtkpod/gtkpod-2.1.4.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools eutils gnome2-utils
+
+DESCRIPTION="A graphical user interface to the Apple productline"
+HOMEPAGE="http://gtkpod.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
+ http://dev.gentoo.org/~ssuominen/gst-element-check-0.10.m4.xz"
+
+LICENSE="GPL-2 FDL-1.2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="aac clutter curl cdr flac gstreamer mp3 vorbis webkit"
+
+# watch out for possible musicbrainz:5 compability in next version?
+COMMON_DEPEND="
+ >=dev-libs/gdl-3.6:3
+ >=dev-libs/glib-2.31
+ >=dev-libs/libxml2-2.7.7
+ >=dev-util/anjuta-3.6
+ >=media-libs/libgpod-0.8.2:=
+ >=media-libs/libid3tag-0.15
+ >=x11-libs/gtk+-3.0.8:3
+ aac? ( media-libs/faad2 )
+ clutter? ( >=media-libs/clutter-gtk-1.2:1.0 )
+ curl? ( >=net-misc/curl-7.10 )
+ flac? ( media-libs/flac )
+ gstreamer? (
+ >=media-libs/gstreamer-0.10.25:0.10
+ >=media-libs/gst-plugins-base-0.10.25:0.10
+ cdr? (
+ >=app-cdr/brasero-3
+ media-libs/musicbrainz:3
+ )
+ )
+ mp3? ( media-sound/lame )
+ vorbis? (
+ media-libs/libvorbis
+ media-sound/vorbis-tools
+ )
+ webkit? ( >=net-libs/webkit-gtk-1.3:3 )"
+# to pull in at least -flac and -vorbis plugins , but others at the same time
+RDEPEND="${COMMON_DEPEND}
+ gstreamer? ( media-plugins/gst-plugins-meta:0.10 )"
+DEPEND="${COMMON_DEPEND}
+ dev-util/intltool
+ sys-devel/flex
+ sys-devel/gettext
+ virtual/os-headers
+ virtual/pkgconfig"
+REQUIRED_USE="cdr? ( gstreamer )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.1.3-gold.patch
+
+ sed -i -e 's:python:python2:' scripts/sync-palm-jppy.py || die
+ # punt deprecated flags for forward compability
+ # use more widely used musicbrainz:3 instead of :4
+ # use AC_CONFIG_HEADERS for automake-1.13 compability wrt #467598
+ sed -e 's:CLEANLINESS_FLAGS=".*:CLEANLINESS_FLAGS="":' \
+ -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \
+ -e '/PKG_CHECK_MODULES/s:libmusicbrainz4:&sLoT4iSdEpReCaTeD:' \
+ -i configure.ac || die
+ # /path/to/install: '/path/to/app-pda/gtkpod-2.1.2_beta2/image/usr/share/gtkpod/data/rhythmbox.gep’: File exists
+ sed -i -e '/^dist_profiles_DATA/s:=.*:=:' plugins/sjcd/data/Makefile.am || die
+
+ # m4dir for gst-element-check-0.10.m4
+ AT_M4DIR=${WORKDIR} eautoreconf
+}
+
+src_configure() {
+ export GST_INSPECT=true #420279
+
+ econf \
+ --disable-static \
+ $(use_enable webkit plugin-coverweb) \
+ $(use_enable clutter plugin-clarity) \
+ $(use_enable gstreamer plugin-media-player) \
+ $(use_enable cdr plugin-sjcd) \
+ $(use_with curl) \
+ $(use_with vorbis ogg) \
+ $(use_with flac) \
+ $(use_with aac mp4)
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ docdir=/usr/share/doc/${PF}/html \
+ figuresdir=/usr/share/doc/${PF}/html/figures \
+ install
+
+ prune_libtool_files --all
+
+ dodoc AUTHORS ChangeLog NEWS README TODO TROUBLESHOOTING
+ rm -f "${ED}"/usr/share/gtkpod/data/{AUTHORS,COPYING} || die
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ gnome2_schemas_update
+}
diff --git a/app-pda/gtkpod/metadata.xml b/app-pda/gtkpod/metadata.xml
new file mode 100644
index 000000000000..cb7708a4a1eb
--- /dev/null
+++ b/app-pda/gtkpod/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>pda</herd>
+ <use>
+ <flag name="clutter">Enable clutter support for displaying coverart</flag>
+ <flag name="webkit">Enable webkit support for finding coverart</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">gtkpod</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-pda/ideviceinstaller/Manifest b/app-pda/ideviceinstaller/Manifest
new file mode 100644
index 000000000000..6aecfcd896f3
--- /dev/null
+++ b/app-pda/ideviceinstaller/Manifest
@@ -0,0 +1 @@
+DIST ideviceinstaller-1.0.1.tar.bz2 259871 SHA256 e2e5dc41c08cce7cec9edaf4596322f424d5195c255d3c1b957b81b45529b4f5 SHA512 dcdd8c076ef6392122fe0154467b42e244728050d955a27eaf80b637729fb14c06e2d05a3d027f9dd3878758045f1112d1eb20f3bbcc86a7289e7eae26c90d19 WHIRLPOOL 5d98b6a9d5e2b4ac820e48624be87d7e6f0fc576f3157e39776689d0289665cc84741eedf9c6024125c3731e67811495a8c35ca5efc94ec39d5fdc91ce34b0b7
diff --git a/app-pda/ideviceinstaller/ideviceinstaller-1.0.1.ebuild b/app-pda/ideviceinstaller/ideviceinstaller-1.0.1.ebuild
new file mode 100644
index 000000000000..fcd5299f7a47
--- /dev/null
+++ b/app-pda/ideviceinstaller/ideviceinstaller-1.0.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DESCRIPTION="A tool to interact with the installation_proxy of an Apple's iDevice"
+HOMEPAGE="http://www.libimobiledevice.org/"
+SRC_URI="http://www.libimobiledevice.org/downloads/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND=">=app-pda/libimobiledevice-1.1.4:=
+ >=app-pda/libplist-1.8:=
+ >=dev-libs/libzip-0.8"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS="AUTHORS NEWS README"
+
+src_prepare() {
+ sed -i -e 's:-Werror -g::' configure || die
+}
diff --git a/app-pda/ideviceinstaller/metadata.xml b/app-pda/ideviceinstaller/metadata.xml
new file mode 100644
index 000000000000..228404d3a4b2
--- /dev/null
+++ b/app-pda/ideviceinstaller/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>pda</herd>
+</pkgmetadata>
diff --git a/app-pda/ifuse/Manifest b/app-pda/ifuse/Manifest
new file mode 100644
index 000000000000..bde4aca4e479
--- /dev/null
+++ b/app-pda/ifuse/Manifest
@@ -0,0 +1 @@
+DIST ifuse-1.1.3.tar.bz2 90803 SHA256 a788de66fb7720c84a5a775df415f78bbfb7c467a76c732d23292c6986252add SHA512 bacf0b00ebc7681022f6e85daa005ee19c99f3222e5db5c4ea6630c2c46111dd3ccd7efcfdbcfabf06cc18ceb58b054c1adb2d106d9b3b7d60a12f3b79c64a3c WHIRLPOOL 73bf7794dcf0ae00fd0daff6f322bce1e77e27981a7787437869937cbc62554f6ca1e87458c50bb2c39c7415235c7357d4e26ad2403a1bc16c95523e102aa1f2
diff --git a/app-pda/ifuse/ifuse-1.1.3.ebuild b/app-pda/ifuse/ifuse-1.1.3.ebuild
new file mode 100644
index 000000000000..e840262b255d
--- /dev/null
+++ b/app-pda/ifuse/ifuse-1.1.3.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit readme.gentoo
+
+DESCRIPTION="Mount Apple iPhone/iPod Touch file systems for backup purposes"
+HOMEPAGE="http://www.libimobiledevice.org/"
+SRC_URI="http://www.libimobiledevice.org/downloads/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND=">=app-pda/libimobiledevice-1.1.4:=
+ >=app-pda/libplist-1.8:=
+ >=sys-fs/fuse-2.7.0"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS="AUTHORS NEWS README"
+
+DOC_CONTENTS="Only use this filesystem driver to create backups of your data.
+The music database is hashed, and attempting to add files will cause the
+iPod/iPhone to consider your database unauthorised.
+It will respond by wiping all media files, requiring a restore through iTunes."
diff --git a/app-pda/ifuse/metadata.xml b/app-pda/ifuse/metadata.xml
new file mode 100644
index 000000000000..413973e15699
--- /dev/null
+++ b/app-pda/ifuse/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>pda</herd>
+</pkgmetadata>
+
diff --git a/app-pda/iripdb/Manifest b/app-pda/iripdb/Manifest
new file mode 100644
index 000000000000..8040c877321f
--- /dev/null
+++ b/app-pda/iripdb/Manifest
@@ -0,0 +1 @@
+DIST iRipDB-0.1.3b.zip 32000 SHA256 cbaaeed9549805009801160003473fc1e8899aa8531167ca95a5acb6fccd4f17 SHA512 7d3811e12a8570a07d2381bf6e97c9818b0da5b38dca95fc66441635343d827395d16fcdc7cea49179c062888ecbd88722f379ed59664919e10050618e66e8d5 WHIRLPOOL 0a06fd34526a78d12c2761f54150033c6d0487f7a4324319553fde90ddadecd17eb4738932ba5c57c457837a7b5da774b62fe84c3c4ac6bf57ea33e4c59111f8
diff --git a/app-pda/iripdb/iripdb-0.1.3b.ebuild b/app-pda/iripdb/iripdb-0.1.3b.ebuild
new file mode 100644
index 000000000000..075396afd75c
--- /dev/null
+++ b/app-pda/iripdb/iripdb-0.1.3b.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils toolchain-funcs
+
+MY_P=${P/iripdb/iRipDB}
+S=${WORKDIR}/${PN}
+
+DESCRIPTION="iRipDB allows generating the DB files necessary for the iRiver iHP-1xx series of MP3/Ogg HD Players"
+HOMEPAGE="http://www.fataltourist.com/iripdb/"
+SRC_URI="http://www.fataltourist.com/iripdb/${MY_P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE=""
+
+RDEPEND="media-libs/taglib
+ sys-libs/zlib"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+src_compile() {
+ echo "$(tc-getCXX) ${CXXFLAGS} -c -o main.o main.cpp"
+ $(tc-getCXX) ${CXXFLAGS} -c -o main.o -I/usr/include/taglib main.cpp
+ echo "$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o iripdb main.o -lz -lm -ltag -lstdc++"
+ $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o iripdb main.o -lz -lm -ltag -lstdc++
+}
+
+src_install() {
+ dobin iripdb || die
+ dodoc AUTHORS README doc/iRivDB_structure || die
+}
diff --git a/app-pda/iripdb/metadata.xml b/app-pda/iripdb/metadata.xml
new file mode 100644
index 000000000000..15c9404f4888
--- /dev/null
+++ b/app-pda/iripdb/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>maintainer-needed@gentoo.org</email>
+ <name>Default assignee for orphaned packages</name>
+ </maintainer>
+ <longdescription lang="en">
+ iRipDB allows generating the DB files necessary for the iRiver iHP-1xx
+ series of MP3/Ogg HD Player on Linux and Windows. That will allow you
+ to navigate your files through the artist/album/genre menus. It supports
+ adding MP3 and Ogg files at this point. It's released under the GNU's
+ General Public License and, at this moment only in source code form.
+ </longdescription>
+</pkgmetadata>
diff --git a/app-pda/jpilot-backup/Manifest b/app-pda/jpilot-backup/Manifest
new file mode 100644
index 000000000000..8ae7281cce83
--- /dev/null
+++ b/app-pda/jpilot-backup/Manifest
@@ -0,0 +1 @@
+DIST jpilot-backup-0.60.tar.gz 377983 SHA256 1acdf3924fdf6f0da7dec1b586e2780fc8f472552adecf3b0d9f529a01eb52a5 SHA512 3d34a66a031f71a5e73388bc7dd717b141f7378d2b7e109f3b8d4cda47624e0a615c14e236e131c1fa020dd73453b5150ba2617837a670f89cf5784afccd926e WHIRLPOOL 1de4344774f84934469fe538c500e774a421306b3d3c094e9c6576679112be375224e148543a506a82012783f0f53a807880a7211c9e9eff90c84c5105f4028a
diff --git a/app-pda/jpilot-backup/jpilot-backup-0.60.ebuild b/app-pda/jpilot-backup/jpilot-backup-0.60.ebuild
new file mode 100644
index 000000000000..70dbf5baa35a
--- /dev/null
+++ b/app-pda/jpilot-backup/jpilot-backup-0.60.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=2
+inherit flag-o-matic multilib
+
+DESCRIPTION="Backup plugin for jpilot"
+HOMEPAGE="http://www.jlogday.com/code/jpilot-backup/index.html"
+SRC_URI="http://www.jlogday.com/code/jpilot-backup/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+RDEPEND=">=x11-libs/gtk+-2.18.9:2
+ >=app-pda/pilot-link-0.12.3
+ >=app-pda/jpilot-0.99.9
+ sys-libs/gdbm"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ append-cppflags -DENABLE_GTK2
+ econf \
+ --enable-gtk2
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ libdir="/usr/$(get_libdir)/jpilot/plugins" \
+ install || die
+
+ dodoc ChangeLog CREDITS README* TODO
+
+ find "${D}" -name '*.la' -delete
+}
diff --git a/app-pda/jpilot-backup/metadata.xml b/app-pda/jpilot-backup/metadata.xml
new file mode 100644
index 000000000000..c21e5dabbb40
--- /dev/null
+++ b/app-pda/jpilot-backup/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>pda</herd>
+</pkgmetadata>
diff --git a/app-pda/jpilot-mail/Manifest b/app-pda/jpilot-mail/Manifest
new file mode 100644
index 000000000000..cd214b0263e5
--- /dev/null
+++ b/app-pda/jpilot-mail/Manifest
@@ -0,0 +1 @@
+DIST jpilot-Mail-0.1.7.tar.gz 481041 SHA256 99169a74564053ef6c62da1738951570fcb3fcc044276f7040d334f553966bbe SHA512 79b74a27d9a3bfcd46791f0c5b6a5750ec5d8463d71843c0b64eed146871e7633bb2803ac742e5b48723e395295ed42e8ae5530d9047bbf930829028c18c8a6c WHIRLPOOL a9cce33788ee6dd9203bfbb6a91a509f26b594702d6701f3d9a8e3324984c5bb950a63f9f34353662b11dd0e41e25082327ebd6fc488d494a2e833bf9f9b9d59
diff --git a/app-pda/jpilot-mail/files/jpilot-mail-0.1.7.patch b/app-pda/jpilot-mail/files/jpilot-mail-0.1.7.patch
new file mode 100644
index 000000000000..829c455a6bf5
--- /dev/null
+++ b/app-pda/jpilot-mail/files/jpilot-mail-0.1.7.patch
@@ -0,0 +1,172 @@
+diff -Nru jpilot-Mail-0.1.7.orig/src/connect.c jpilot-Mail-0.1.7/src/connect.c
+--- jpilot-Mail-0.1.7.orig/src/connect.c 2003-01-11 17:52:28.000000000 +0200
++++ jpilot-Mail-0.1.7/src/connect.c 2007-01-02 11:43:09.000000000 +0200
+@@ -24,7 +24,7 @@
+ if(inet_aton(ip, &ia)){
+ mxip_addr mxip;
+
+- mxip.name = g_strdup(ip);
++ mxip.name = (guchar*)g_strdup(ip);
+ mxip.pref = 0;
+ mxip.ip = (guint32) *(guint32 *)(&ia);
+ list = g_list_append(list, g_memdup(&mxip, sizeof(mxip)));
+diff -Nru jpilot-Mail-0.1.7.orig/src/lookup.c jpilot-Mail-0.1.7/src/lookup.c
+--- jpilot-Mail-0.1.7.orig/src/lookup.c 2002-06-27 21:36:26.000000000 +0300
++++ jpilot-Mail-0.1.7/src/lookup.c 2007-01-02 11:43:48.000000000 +0200
+@@ -325,7 +325,7 @@
+ mxip_addr mxip;
+ mxip.ip = *(guint32 *)(haddr);
+ mxip.pref = 0;
+- mxip.name = g_strdup(hent->h_name);
++ mxip.name = (guchar*)g_strdup(hent->h_name);
+ list = g_list_append(list, g_memdup(&mxip, sizeof(mxip)));
+ }
+ }
+diff -Nru jpilot-Mail-0.1.7.orig/src/mail.c jpilot-Mail-0.1.7/src/mail.c
+--- jpilot-Mail-0.1.7.orig/src/mail.c 2004-07-18 21:06:42.000000000 +0300
++++ jpilot-Mail-0.1.7/src/mail.c 2007-01-02 12:15:30.000000000 +0200
+@@ -56,7 +56,7 @@
+ static int show_category = 0;
+ static int glob_row_selected;
+
+-static struct MyMail *glob_mymail_list = NULL;
++struct MyMail *glob_mymail_list = NULL;
+
+ struct Preferences prefs;
+ struct MailSyncPref mailSyncPref;
+@@ -75,6 +75,8 @@
+ *minor_version = 99;
+ }
+
++void multibyte_safe_strncpy(char *dst, char *src, size_t len);
++
+ static void free_mymail_list(struct MyMail **ppM)
+ {
+ struct MyMail *pM, *next_pM;
+@@ -195,7 +197,7 @@
+ if (fptr)
+ {
+ gchar *line = NULL;
+- gint line_size = 0;
++ size_t line_size = 0;
+
+ while (!feof(fptr))
+ {
+@@ -1001,7 +1003,7 @@
+
+ if (size > 0)
+ {
+- char *buf = g_malloc(size);
++ unsigned char *buf = g_malloc(size);
+
+ if (buf)
+ {
+@@ -1030,7 +1032,7 @@
+ if (size > 0)
+ {
+ buf_rec br;
+- char *buf = g_malloc(size);
++ unsigned char *buf = g_malloc(size);
+
+ if (buf)
+ {
+@@ -1212,7 +1214,7 @@
+
+ temp_str = malloc((len = strlen(mai.category.name[i])*2+1));
+ multibyte_safe_strncpy(temp_str, mai.category.name[i], len);
+- jp_charset_p2j(temp_str, len);
++ jp_charset_p2j((unsigned char *)temp_str, len);
+ categories[i] = temp_str;
+ }
+ categories[i] = NULL;
+diff -Nru jpilot-Mail-0.1.7.orig/src/mail_get.c jpilot-Mail-0.1.7/src/mail_get.c
+--- jpilot-Mail-0.1.7.orig/src/mail_get.c 2004-07-18 20:31:28.000000000 +0300
++++ jpilot-Mail-0.1.7/src/mail_get.c 2007-01-02 12:16:29.000000000 +0200
+@@ -68,7 +68,7 @@
+ {
+ GList *id_list = NULL;
+ gchar *line = NULL;
+- gint line_size = 0;
++ size_t line_size = 0;
+
+ while (!feof(fptr))
+ {
+@@ -179,7 +179,7 @@
+ {
+ FILE *in;
+ char *line = NULL;
+- gint line_size = 0;
++ size_t line_size = 0;
+ GList *id_list = read_msgids();
+
+ // conf.debug_level = 5;
+diff -Nru jpilot-Mail-0.1.7.orig/src/mail_send.c jpilot-Mail-0.1.7/src/mail_send.c
+--- jpilot-Mail-0.1.7.orig/src/mail_send.c 2004-04-29 20:27:48.000000000 +0300
++++ jpilot-Mail-0.1.7/src/mail_send.c 2007-01-02 12:16:58.000000000 +0200
+@@ -233,7 +233,7 @@
+
+ if (pMail->mail.body != NULL)
+ {
+- guchar *p = pMail->mail.body;
++ gchar *p = pMail->mail.body;
+
+ while (*p)
+ {
+diff -Nru jpilot-Mail-0.1.7.orig/src/mbox.c jpilot-Mail-0.1.7/src/mbox.c
+--- jpilot-Mail-0.1.7.orig/src/mbox.c 2004-04-17 19:24:15.000000000 +0300
++++ jpilot-Mail-0.1.7/src/mbox.c 2007-01-02 11:49:55.000000000 +0200
+@@ -25,7 +25,8 @@
+ gboolean mbox_read(message * msg, FILE * in, gchar ** from_line, int max_size)
+ {
+ gchar *line = NULL;
+- gint line_size = 0, line_cnt = 0;
++// gint line_size = 0, line_cnt = 0;
++ size_t line_size = 0;
+ gint data_size = 0;
+ gboolean in_headers = TRUE;
+ int l_no = 1;
+@@ -91,7 +92,7 @@
+ msg->data_list = g_list_append(msg->data_list, g_strdup(line));
+ data_size += strlen(line);
+ }
+- line_cnt++;
++// line_cnt++;
+ }
+ }
+
+diff -Nru jpilot-Mail-0.1.7.orig/src/smtp_out.c jpilot-Mail-0.1.7/src/smtp_out.c
+--- jpilot-Mail-0.1.7.orig/src/smtp_out.c 2003-01-11 17:52:28.000000000 +0200
++++ jpilot-Mail-0.1.7/src/smtp_out.c 2007-01-02 12:11:27.000000000 +0200
+@@ -66,7 +66,7 @@
+ gchar *set_heloname(smtp_base *psb, gchar *default_name, gboolean do_correct)
+ {
+ struct sockaddr_in sname;
+- int len = sizeof(struct sockaddr_in);
++ socklen_t len = sizeof(struct sockaddr_in);
+ struct hostent *host_entry;
+
+ if(do_correct){
+@@ -479,11 +479,11 @@
+ if((addr = connect_resolvelist(&sock, host, port, resolve_list))){
+ /* create structure to hold status data: */
+ psb = create_smtpbase(sock);
+- psb->remote_host = addr->name;
++ psb->remote_host = (gchar*)addr->name;
+
+ DEBUG(5){
+ struct sockaddr_in name;
+- int len = sizeof(struct sockaddr);
++ socklen_t len = sizeof(struct sockaddr);
+ getsockname(sock, (struct sockaddr *)(&name), &len);
+ debugf("socket: name.sin_addr = %s\n", inet_ntoa(name.sin_addr));
+ }
+diff -Nru jpilot-Mail-0.1.7.orig/src/utils.h jpilot-Mail-0.1.7/src/utils.h
+--- jpilot-Mail-0.1.7.orig/src/utils.h 2002-06-27 21:36:26.000000000 +0300
++++ jpilot-Mail-0.1.7/src/utils.h 2007-01-02 11:28:45.000000000 +0200
+@@ -21,4 +21,6 @@
+
+ int get_home_file_name(char *file, char *full_name, int max_size);
+
++extern void multibyte_safe_strncpy(char *dst, char *src, size_t len);
++
+ #endif
diff --git a/app-pda/jpilot-mail/jpilot-mail-0.1.7.ebuild b/app-pda/jpilot-mail/jpilot-mail-0.1.7.ebuild
new file mode 100644
index 000000000000..c03555c0e9ac
--- /dev/null
+++ b/app-pda/jpilot-mail/jpilot-mail-0.1.7.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=2
+inherit eutils multilib
+
+MY_PN=jpilot-Mail
+
+DESCRIPTION="jpilot-Mail is a jpilot plugin to deliver mail from the pilot and upload mail to it"
+HOMEPAGE="http://ludovic.rousseau.free.fr/softwares/jpilot-Mail/"
+SRC_URI="http://ludovic.rousseau.free.fr/softwares/${MY_PN}/${MY_PN}-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2
+ >=app-pda/jpilot-0.99.7-r1"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${MY_PN}-${PV}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}.patch
+}
+
+src_configure() {
+ econf \
+ --enable-gtk2
+}
+
+src_compile() {
+ emake -j1 || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" \
+ datadir="/usr/share/doc/${PF}/html" \
+ libdir="/usr/$(get_libdir)/jpilot/plugins" \
+ install || die
+
+ dodoc AUTHORS ChangeLog README TODO
+
+ find "${D}" -name '*.la' -exec rm -f {} +
+}
diff --git a/app-pda/jpilot-mail/metadata.xml b/app-pda/jpilot-mail/metadata.xml
new file mode 100644
index 000000000000..228404d3a4b2
--- /dev/null
+++ b/app-pda/jpilot-mail/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>pda</herd>
+</pkgmetadata>
diff --git a/app-pda/jpilot-plucker/Manifest b/app-pda/jpilot-plucker/Manifest
new file mode 100644
index 000000000000..02c4934f5409
--- /dev/null
+++ b/app-pda/jpilot-plucker/Manifest
@@ -0,0 +1 @@
+DIST jpilot-plucker-0.02.tar.gz 346902 SHA256 b88ecf504771a90f47248373ad3b0d03fa9edfc4295cb42e70096ca2e983e782 SHA512 9f401110d0461ce0d953ba8b0c48c195ae9f2b6708699f7e9c2fb7aab491cd54fcbf44f894ca82718ea3176bf300ca65293438b4bd97617d2459f362330632bf WHIRLPOOL 3990aebf7a8a3d14f491ab47f67fcd52d49b65cdb0cae5b962e4b465fa1f442c10245e2955488b0804de281725ba4e52e339f9b9fdddcd8776c79cb8ec3f66b4
diff --git a/app-pda/jpilot-plucker/jpilot-plucker-0.02.ebuild b/app-pda/jpilot-plucker/jpilot-plucker-0.02.ebuild
new file mode 100644
index 000000000000..48fd164ab479
--- /dev/null
+++ b/app-pda/jpilot-plucker/jpilot-plucker-0.02.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=2
+inherit multilib
+
+DESCRIPTION="Plucker plugin for jpilot"
+HOMEPAGE="http://www.jlogday.com/code/jpilot-plucker/index.html"
+SRC_URI="http://www.jlogday.com/code/jpilot-plucker/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~ppc x86"
+IUSE=""
+
+RDEPEND=">=x11-libs/gtk+-2.18.9:2
+ >=app-pda/pilot-link-0.12.3
+ >=app-pda/jpilot-0.99.7-r1"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ econf \
+ --enable-gtk2
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ libdir="/usr/$(get_libdir)/jpilot/plugins" \
+ install || die
+
+ dodoc AUTHORS ChangeLog README TODO
+
+ find "${D}" -name '*.la' -delete
+}
diff --git a/app-pda/jpilot-plucker/metadata.xml b/app-pda/jpilot-plucker/metadata.xml
new file mode 100644
index 000000000000..c21e5dabbb40
--- /dev/null
+++ b/app-pda/jpilot-plucker/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>pda</herd>
+</pkgmetadata>
diff --git a/app-pda/jpilot-syncmal/Manifest b/app-pda/jpilot-syncmal/Manifest
new file mode 100644
index 000000000000..f1986cd7db62
--- /dev/null
+++ b/app-pda/jpilot-syncmal/Manifest
@@ -0,0 +1 @@
+DIST jpilot-syncmal-0.81.tar.gz 347999 SHA256 2724453b671c867207a5597f9648b455740d97673efe9e6c174beced7a5fb24a SHA512 a5c47ade0e15fc47eb15d9fc7ea98d01d36c790af0f32bb27aa4299409b9bd35c4a2c850422ba939d1a6c826fbf97d188f6283e47234a49103235dd2bc38d353 WHIRLPOOL d433e579ada2dd083da1f7dc8d6f1169751fcb90f8391278f03d24532a5d90af0da1b4fb07be75e8d5df51c676e17f2b6d75044b0b248da01110b9b84cfdc82b
diff --git a/app-pda/jpilot-syncmal/jpilot-syncmal-0.81.ebuild b/app-pda/jpilot-syncmal/jpilot-syncmal-0.81.ebuild
new file mode 100644
index 000000000000..7208a82ed198
--- /dev/null
+++ b/app-pda/jpilot-syncmal/jpilot-syncmal-0.81.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=2
+inherit multilib
+
+DESCRIPTION="Syncmal plugin for jpilot"
+HOMEPAGE="http://www.jlogday.com/code/syncmal/index.html"
+SRC_URI="http://www.jlogday.com/code/syncmal/${P}.tar.gz"
+
+LICENSE="GPL-2 MPL-1.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=app-pda/jpilot-0.99.9
+ >=app-pda/pilot-link-0.12.3
+ >=x11-libs/gtk+-2.8.19:2
+ >=dev-libs/libmal-0.44"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ econf \
+ --enable-gtk2
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ libdir="/usr/$(get_libdir)/jpilot/plugins" \
+ install || die
+
+ dodoc AUTHORS README TODO
+
+ find "${D}" -name '*.la' -delete
+}
diff --git a/app-pda/jpilot-syncmal/metadata.xml b/app-pda/jpilot-syncmal/metadata.xml
new file mode 100644
index 000000000000..c21e5dabbb40
--- /dev/null
+++ b/app-pda/jpilot-syncmal/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>pda</herd>
+</pkgmetadata>
diff --git a/app-pda/jpilot/Manifest b/app-pda/jpilot/Manifest
new file mode 100644
index 000000000000..da223612b7d7
--- /dev/null
+++ b/app-pda/jpilot/Manifest
@@ -0,0 +1,2 @@
+DIST jpilot-1.8.0.tar.gz 1604468 SHA256 b00f6b5d2d013572a8e2a6014b247eda855bbd5fef77e59e49dbefb314c57dde SHA512 3ee49248daec4871d6b45497730efbb666481a9ab440ea410a0d793ae4e3894fa47f717941b18c2b9865024a755df2ee0b41449ebb32a70ef5f4142278a3591e WHIRLPOOL bb745942854e8001975744927eae153e284b99cc7f49095332345b834856e912ade7e2be14f30cc47eb1f5d5cecf153379678cdf6cb4c465147166de491b6e5b
+DIST jpilot-1.8.1.tar.gz 1582869 SHA256 682838e8f9634102e5721e779fa0f00ec4be747776a575794137f1ce9420291f SHA512 b0415ffeb7284cfc2fb15faf87d14eba29ac15d3a9ca05ad60ed05d8ee6ee4cf89c60a24dbf4095564120d0155100a110969aa44d2ce7e98e05f11332698d052 WHIRLPOOL b297e2797b2ab405e837e40fc4071a8fd9df70fad62ded2287379180282f02450ba3eb713ba1519c2d2618fc5c1af704a959f72e403333662284dfe2d05b1273
diff --git a/app-pda/jpilot/files/jpilot-1.8.0-char.patch b/app-pda/jpilot/files/jpilot-1.8.0-char.patch
new file mode 100644
index 000000000000..5cbed53b57e9
--- /dev/null
+++ b/app-pda/jpilot/files/jpilot-1.8.0-char.patch
@@ -0,0 +1,102 @@
+--- empty/Makefile.am
++++ empty/Makefile.am
+@@ -9,7 +9,7 @@
+ ContactsDB-PAdd.pdb \
+ ToDoDB.pdb \
+ TasksDB-PTod.pdb \
+- MaanaDB.pdb \
++ MananaDB.pdb \
+ MemoDB.pdb \
+ MemosDB-PMem.pdb \
+ Memo32DB.pdb \
+--- sync.c
++++ sync.c
+@@ -1146,7 +1146,7 @@
+ "ToDoDB",
+ "MemoDB",
+ #ifdef ENABLE_MANANA
+- "MaanaDB",
++ "MananaDB",
+ #endif
+ "Saved Preferences",
+ ""
+@@ -2899,7 +2899,7 @@
+ "ToDoDB",
+ "MemoDB",
+ #ifdef ENABLE_MANANA
+- "MaanaDB",
++ "MananaDB",
+ #endif
+ ""
+ };
+--- todo.c
++++ todo.c
+@@ -77,7 +77,7 @@
+ #ifdef ENABLE_MANANA
+ get_pref(PREF_MANANA_MODE, &ivalue, NULL);
+ if (ivalue) {
+- strcpy(DBname, "MaanaDB");
++ strcpy(DBname, "MananaDB");
+ } else {
+ strcpy(DBname, "ToDoDB");
+ }
+@@ -163,7 +163,7 @@
+ #ifdef ENABLE_MANANA
+ get_pref(PREF_MANANA_MODE, &ivalue, NULL);
+ if (ivalue) {
+- num = jp_read_DB_files("MaanaDB", &records);
++ num = jp_read_DB_files("MananaDB", &records);
+ if (-1 == num)
+ return 0;
+ } else {
+@@ -315,7 +315,7 @@
+ #ifdef ENABLE_MANANA
+ get_pref(PREF_MANANA_MODE, &ivalue, NULL);
+ if (ivalue) {
+- jp_pc_write("MaanaDB", &br);
++ jp_pc_write("MananaDB", &br);
+ } else {
+ jp_pc_write("ToDoDB", &br);
+ }
+--- todo_gui.c
++++ todo_gui.c
+@@ -1029,8 +1029,8 @@
+ #ifdef ENABLE_MANANA
+ get_pref(PREF_MANANA_MODE, &ivalue, NULL);
+ if (ivalue) {
+- strcpy(pdb_name, "MaanaDB.pdb");
+- strcpy(db_name, "MaanaDB");
++ strcpy(pdb_name, "MananaDB.pdb");
++ strcpy(db_name, "MananaDB");
+ } else {
+ strcpy(pdb_name, "ToDoDB.pdb");
+ strcpy(db_name, "ToDoDB");
+--- utils.c
++++ utils.c
+@@ -550,7 +550,7 @@
+ "ContactsDB-PAdd.pdb",
+ "ToDoDB.pdb",
+ "TasksDB-PTod.pdb",
+- "MaanaDB.pdb",
++ "MananaDB.pdb",
+ "MemoDB.pdb",
+ "MemosDB-PMem.pdb",
+ "Memo32DB.pdb",
+@@ -983,7 +983,7 @@
+ #ifdef ENABLE_MANANA
+ get_pref(PREF_MANANA_MODE, &ivalue, NULL);
+ if (ivalue) {
+- strcpy(filename, "MaanaDB.pc3");
++ strcpy(filename, "MananaDB.pc3");
+ } else {
+ strcpy(filename, "ToDoDB.pc3");
+ }
+@@ -3478,7 +3478,7 @@
+ #ifdef ENABLE_MANANA
+ get_pref(PREF_MANANA_MODE, &ivalue, NULL);
+ if (ivalue) {
+- strcpy(filename, "MaanaDB.pc3");
++ strcpy(filename, "MananaDB.pc3");
+ } else {
+ strcpy(filename, dbname[2]);
+ }
diff --git a/app-pda/jpilot/files/jpilot-1.8.1-char.patch b/app-pda/jpilot/files/jpilot-1.8.1-char.patch
new file mode 100644
index 000000000000..abd66221617a
--- /dev/null
+++ b/app-pda/jpilot/files/jpilot-1.8.1-char.patch
@@ -0,0 +1,102 @@
+--- empty/Makefile.am
++++ empty/Makefile.am
+@@ -9,7 +9,7 @@
+ ContactsDB-PAdd.pdb \
+ ToDoDB.pdb \
+ TasksDB-PTod.pdb \
+- MaanaDB.pdb \
++ MananaDB.pdb \
+ MemoDB.pdb \
+ MemosDB-PMem.pdb \
+ Memo32DB.pdb \
+--- sync.c
++++ sync.c
+@@ -1169,7 +1169,7 @@
+ "ToDoDB",
+ "MemoDB",
+ #ifdef ENABLE_MANANA
+- "MaanaDB",
++ "MananaDB",
+ #endif
+ "Saved Preferences",
+ ""
+@@ -2960,7 +2960,7 @@
+ "ToDoDB",
+ "MemoDB",
+ #ifdef ENABLE_MANANA
+- "MaanaDB",
++ "MananaDB",
+ #endif
+ ""
+ };
+--- todo.c
++++ todo.c
+@@ -77,7 +77,7 @@
+ #ifdef ENABLE_MANANA
+ get_pref(PREF_MANANA_MODE, &ivalue, NULL);
+ if (ivalue) {
+- strcpy(DBname, "MaanaDB");
++ strcpy(DBname, "MananaDB");
+ } else {
+ strcpy(DBname, "ToDoDB");
+ }
+@@ -164,7 +164,7 @@
+ #ifdef ENABLE_MANANA
+ get_pref(PREF_MANANA_MODE, &ivalue, NULL);
+ if (ivalue) {
+- num = jp_read_DB_files("MaanaDB", &records);
++ num = jp_read_DB_files("MananaDB", &records);
+ if (-1 == num)
+ return 0;
+ } else {
+@@ -317,7 +317,7 @@
+ #ifdef ENABLE_MANANA
+ get_pref(PREF_MANANA_MODE, &ivalue, NULL);
+ if (ivalue) {
+- jp_pc_write("MaanaDB", &br);
++ jp_pc_write("MananaDB", &br);
+ } else {
+ jp_pc_write("ToDoDB", &br);
+ }
+--- todo_gui.c
++++ todo_gui.c
+@@ -1049,8 +1049,8 @@
+ #ifdef ENABLE_MANANA
+ get_pref(PREF_MANANA_MODE, &ivalue, NULL);
+ if (ivalue) {
+- strcpy(pdb_name, "MaanaDB.pdb");
+- strcpy(db_name, "MaanaDB");
++ strcpy(pdb_name, "MananaDB.pdb");
++ strcpy(db_name, "MananaDB");
+ } else {
+ strcpy(pdb_name, "ToDoDB.pdb");
+ strcpy(db_name, "ToDoDB");
+--- utils.c
++++ utils.c
+@@ -553,7 +553,7 @@
+ "ContactsDB-PAdd.pdb",
+ "ToDoDB.pdb",
+ "TasksDB-PTod.pdb",
+- "MaanaDB.pdb",
++ "MananaDB.pdb",
+ "MemoDB.pdb",
+ "MemosDB-PMem.pdb",
+ "Memo32DB.pdb",
+@@ -1019,7 +1019,7 @@
+ #ifdef ENABLE_MANANA
+ get_pref(PREF_MANANA_MODE, &ivalue, NULL);
+ if (ivalue) {
+- strcpy(filename, "MaanaDB.pc3");
++ strcpy(filename, "MananaDB.pc3");
+ } else {
+ strcpy(filename, "ToDoDB.pc3");
+ }
+@@ -3552,7 +3552,7 @@
+ #ifdef ENABLE_MANANA
+ get_pref(PREF_MANANA_MODE, &ivalue, NULL);
+ if (ivalue) {
+- strcpy(filename, "MaanaDB.pc3");
++ strcpy(filename, "MananaDB.pc3");
+ } else {
+ strcpy(filename, dbname[2]);
+ }
diff --git a/app-pda/jpilot/jpilot-1.8.0.ebuild b/app-pda/jpilot/jpilot-1.8.0.ebuild
new file mode 100644
index 000000000000..9af14d5a9efd
--- /dev/null
+++ b/app-pda/jpilot/jpilot-1.8.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=2
+inherit autotools eutils
+
+DESCRIPTION="Desktop Organizer Software for the Palm Pilot"
+HOMEPAGE="http://www.jpilot.org/"
+SRC_URI="http://www.jpilot.org/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ia64 ppc x86"
+IUSE="nls"
+
+RDEPEND=">=app-pda/pilot-link-0.12.5
+ dev-libs/libgcrypt:0
+ >=x11-libs/gtk+-2.18.9:2"
+DEPEND="${RDEPEND}
+ nls? ( dev-util/intltool
+ sys-devel/gettext )
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-char.patch
+ mv -vf empty/Ma*anaDB.pdb empty/MananaDB.pdb || die
+
+ sed -i \
+ -e '/^Icon/s:jpilot.xpm:/usr/share/pixmaps/jpilot/jpilot-icon1.xpm:' \
+ jpilot.desktop || die
+
+ echo calendar.c > po/POTFILES.skip
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable nls)
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ icondir="/usr/share/pixmaps/${PN}" \
+ miscdir="/usr/share/doc/${PF}" \
+ install || die
+
+ rm -f "${D}"/usr/share/doc/${PF}/{COPYING,INSTALL} \
+ "${D}"/usr/share/pixmaps/${PN}/README
+
+ find "${D}" -name '*.la' -delete
+}
diff --git a/app-pda/jpilot/jpilot-1.8.1.ebuild b/app-pda/jpilot/jpilot-1.8.1.ebuild
new file mode 100644
index 000000000000..72d93476d5e2
--- /dev/null
+++ b/app-pda/jpilot/jpilot-1.8.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit autotools eutils
+
+DESCRIPTION="Desktop Organizer Software for the Palm Pilot"
+HOMEPAGE="http://www.jpilot.org/"
+SRC_URI="http://www.jpilot.org/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~x86"
+IUSE="nls"
+
+RDEPEND=">=app-pda/pilot-link-0.12.5
+ dev-libs/libgcrypt:0
+ >=x11-libs/gtk+-2.18.9:2"
+DEPEND="${RDEPEND}
+ nls? ( dev-util/intltool
+ sys-devel/gettext )
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-char.patch
+ mv -vf empty/Ma*anaDB.pdb empty/MananaDB.pdb || die
+
+ sed -i \
+ -e '/^Icon/s:jpilot.xpm:/usr/share/pixmaps/jpilot/jpilot-icon1.xpm:' \
+ jpilot.desktop || die
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable nls)
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ icondir="/usr/share/pixmaps/${PN}" \
+ miscdir="/usr/share/doc/${PF}" \
+ install
+
+ rm -f "${D}"/usr/share/doc/${PF}/{COPYING,INSTALL} \
+ "${D}"/usr/share/pixmaps/${PN}/README
+
+ find "${D}" -name '*.la' -exec rm -f {} +
+}
diff --git a/app-pda/jpilot/metadata.xml b/app-pda/jpilot/metadata.xml
new file mode 100644
index 000000000000..228404d3a4b2
--- /dev/null
+++ b/app-pda/jpilot/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>pda</herd>
+</pkgmetadata>
diff --git a/app-pda/libimobiledevice/Manifest b/app-pda/libimobiledevice/Manifest
new file mode 100644
index 000000000000..29dd46e11f84
--- /dev/null
+++ b/app-pda/libimobiledevice/Manifest
@@ -0,0 +1 @@
+DIST libimobiledevice-1.1.6.tar.bz2 619429 SHA256 1fcd56489a27181617507b1d8aaf122f66d9860c0fe5af4c78f9e0ed129e33e0 SHA512 ffc741eba65e73890ff50c906520b02189169ca92e95bcd3c8805caa1b1b44e4b1eaddad438c10fdbc112a867cdcfbe6a3dd667be1c639ad5a72ce621ee41a4f WHIRLPOOL 412c6f7523cd17178f639f7c3a8baa89857eff9c85d5e009bcb991591ca1304b6e4f80c2644289105831ee74d8848bee24708b598853a9444f4188a6731b9aa7
diff --git a/app-pda/libimobiledevice/libimobiledevice-1.1.6.ebuild b/app-pda/libimobiledevice/libimobiledevice-1.1.6.ebuild
new file mode 100644
index 000000000000..fb45e3f349ed
--- /dev/null
+++ b/app-pda/libimobiledevice/libimobiledevice-1.1.6.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
+inherit autotools-utils multilib python-r1
+
+DESCRIPTION="Support library to communicate with Apple iPhone/iPod Touch devices"
+HOMEPAGE="http://www.libimobiledevice.org/"
+SRC_URI="http://www.libimobiledevice.org/downloads/${P}.tar.bz2"
+
+# While COPYING* doesn't mention 'or any later version', all the headers do, hence use +
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0/4" # based on SONAME of libimobiledevice.so
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
+IUSE="gnutls python static-libs"
+
+RDEPEND=">=app-pda/libplist-1.11:=[python?,${PYTHON_USEDEP}]
+ >=app-pda/libusbmuxd-1.0.9:=
+ gnutls? (
+ dev-libs/libgcrypt:0
+ >=dev-libs/libtasn1-1.1
+ >=net-libs/gnutls-2.2.0
+ )
+ !gnutls? ( dev-libs/openssl:0 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ python? (
+ ${PYTHON_DEPS}
+ >=dev-python/cython-0.17[${PYTHON_USEDEP}]
+ )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DOCS=( AUTHORS NEWS README )
+
+pkg_setup() {
+ # Prevent linking to the installed copy
+ if has_version "<${CATEGORY}/${P}"; then
+ rm -f "${EROOT}"/usr/$(get_libdir)/${PN}$(get_libname)
+ fi
+}
+
+src_configure() {
+ local myeconfargs=( $(use_enable static-libs static) )
+ use gnutls && myeconfargs+=( --disable-openssl )
+ use python || myeconfargs+=( --without-cython )
+
+ python_foreach_impl autotools-utils_src_configure
+}
+
+src_compile() {
+ python_foreach_impl autotools-utils_src_compile
+}
+
+src_install() {
+ python_foreach_impl autotools-utils_src_install
+ dohtml docs/html/*
+
+ if use python; then
+ insinto /usr/include/${PN}/cython
+ doins cython/imobiledevice.pxd
+ fi
+}
diff --git a/app-pda/libimobiledevice/metadata.xml b/app-pda/libimobiledevice/metadata.xml
new file mode 100644
index 000000000000..228404d3a4b2
--- /dev/null
+++ b/app-pda/libimobiledevice/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>pda</herd>
+</pkgmetadata>
diff --git a/app-pda/libopensync-plugin-file/Manifest b/app-pda/libopensync-plugin-file/Manifest
new file mode 100644
index 000000000000..c71e7d470e46
--- /dev/null
+++ b/app-pda/libopensync-plugin-file/Manifest
@@ -0,0 +1,3 @@
+DIST libopensync-plugin-file-0.22.tar.bz2 216890 SHA256 52231306a388f7ad49b273e0a90e3320811cfcad6c222669d05fe92e4c157825 SHA512 c8df060db87eb7eeb8e6dff6dc486eb4edd348bc22ec73e7d38930d9a1aef4f40e3d29f4d010ee7671fb1e59615512d92b9a3f3e49b714187c932d196460442e WHIRLPOOL 4af0243f88ef0cf2e84e46385375ee2b951470e783e4f0de2d8c36e1fc6f7b05f7f2b0a4e8032c1cf26e1cf4794b9751564b32295e0f778d5573477d2d1877b3
+DIST libopensync-plugin-file-0.36.tar.bz2 32942 SHA256 932726d69b398686b9d6a1e2afd53c537c03ae8a476df1b8b00ba1f8b4abbf44 SHA512 baa28eb811e916f77fd3c14748c0728e779815ad52755440220836b81fd20602c81c433071554f6e06bc9f3e114c32b354cbd8f68688d05025f39cde84c41e1c WHIRLPOOL 3acf4d367268b7bbbad6d028f23b3bf6f8668b21dc7ae14bda6b2b07349eea01b610a27ac3cc5c8a40d20d5ca6d331f1374381a931d74c21c2d15ba135c28046
+DIST libopensync-plugin-file-0.39.tar.bz2 53152 SHA256 26930abb2460b1b111f0acf3b16578613250f4ddd12e942a58163b252b96d1ab SHA512 b85061067c7157124f48be24965464e2aacabb12d1e9253077c01f466c74d3c0ec252f4ca905196f395f90ba5ca5474c6b60eb653e7905b6b5ec3aa45071c064 WHIRLPOOL 3c0107d8f6259aa750e08137a3d08c3e7198f5dc76a91f6c9909c1be55289fadd3adb3bea6be11a1857283cf04dd45925e2fb9e05286021cc09e268b8ba22f0e
diff --git a/app-pda/libopensync-plugin-file/libopensync-plugin-file-0.22.ebuild b/app-pda/libopensync-plugin-file/libopensync-plugin-file-0.22.ebuild
new file mode 100644
index 000000000000..7bbe39860eaa
--- /dev/null
+++ b/app-pda/libopensync-plugin-file/libopensync-plugin-file-0.22.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="3"
+
+DESCRIPTION="OpenSync File Plugin"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI="http://www.opensync.org/download/releases/${PV}/${P}.tar.bz2"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="LGPL-2.1"
+IUSE=""
+
+RDEPEND="~app-pda/libopensync-${PV}
+ dev-libs/glib:2
+ dev-libs/libxml2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ find "${D}" -name '*.la' -exec rm -f {} + || die
+}
diff --git a/app-pda/libopensync-plugin-file/libopensync-plugin-file-0.36.ebuild b/app-pda/libopensync-plugin-file/libopensync-plugin-file-0.36.ebuild
new file mode 100644
index 000000000000..40a72b874f6d
--- /dev/null
+++ b/app-pda/libopensync-plugin-file/libopensync-plugin-file-0.36.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="3"
+
+inherit cmake-utils
+
+DESCRIPTION="OpenSync File Plugin"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI="http://www.opensync.org/download/releases/${PV}/${P}.tar.bz2"
+
+KEYWORDS="~amd64 ~ppc ~x86"
+SLOT="0"
+LICENSE="LGPL-2.1"
+IUSE=""
+
+RDEPEND="~app-pda/libopensync-${PV}
+ dev-libs/glib:2
+ dev-libs/libxml2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_install() {
+ cmake-utils_src_install
+ find "${D}" -name '*.la' -exec rm -f {} + || die
+}
diff --git a/app-pda/libopensync-plugin-file/libopensync-plugin-file-0.39.ebuild b/app-pda/libopensync-plugin-file/libopensync-plugin-file-0.39.ebuild
new file mode 100644
index 000000000000..40a72b874f6d
--- /dev/null
+++ b/app-pda/libopensync-plugin-file/libopensync-plugin-file-0.39.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="3"
+
+inherit cmake-utils
+
+DESCRIPTION="OpenSync File Plugin"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI="http://www.opensync.org/download/releases/${PV}/${P}.tar.bz2"
+
+KEYWORDS="~amd64 ~ppc ~x86"
+SLOT="0"
+LICENSE="LGPL-2.1"
+IUSE=""
+
+RDEPEND="~app-pda/libopensync-${PV}
+ dev-libs/glib:2
+ dev-libs/libxml2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_install() {
+ cmake-utils_src_install
+ find "${D}" -name '*.la' -exec rm -f {} + || die
+}
diff --git a/app-pda/libopensync-plugin-file/libopensync-plugin-file-9999.ebuild b/app-pda/libopensync-plugin-file/libopensync-plugin-file-9999.ebuild
new file mode 100644
index 000000000000..0630122a291a
--- /dev/null
+++ b/app-pda/libopensync-plugin-file/libopensync-plugin-file-9999.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="3"
+
+inherit cmake-utils subversion
+
+DESCRIPTION="OpenSync File Plugin"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI=""
+
+ESVN_REPO_URI="http://svn.opensync.org/plugins/file-sync"
+
+KEYWORDS="~amd64 ~ppc ~x86"
+SLOT="0"
+LICENSE="LGPL-2.1"
+IUSE=""
+
+RDEPEND="~app-pda/libopensync-${PV}
+ dev-libs/glib:2
+ dev-libs/libxml2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_install() {
+ cmake-utils_src_install
+ find "${D}" -name '*.la' -exec rm -f {} + || die
+}
diff --git a/app-pda/libopensync-plugin-file/metadata.xml b/app-pda/libopensync-plugin-file/metadata.xml
new file mode 100644
index 000000000000..0c317e5ffa3d
--- /dev/null
+++ b/app-pda/libopensync-plugin-file/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>pda</herd>
+ <maintainer>
+ <email>rhill@gentoo.org</email>
+ <name>Ryan Hill</name>
+ </maintainer>
+</pkgmetadata>
+
diff --git a/app-pda/libopensync-plugin-gnokii/Manifest b/app-pda/libopensync-plugin-gnokii/Manifest
new file mode 100644
index 000000000000..f9edabcb0f86
--- /dev/null
+++ b/app-pda/libopensync-plugin-gnokii/Manifest
@@ -0,0 +1,2 @@
+DIST libopensync-plugin-gnokii-0.22.tar.bz2 226990 SHA256 eb4902b4b7f9923f7644d350dd6cd84b562ebde8ca201e6284a29cff90c838a1 SHA512 a6ef418087d3803ebd4a6e68c8d2b6840667985d9cf8d8020efb98f675a519c3e1923329843de4d6fa72c7b35e23e7fef496e9067f941e24f12c30cd8d022059 WHIRLPOOL f26b8991b23d058f8e8589a93e111fdd81514fd755a0d43ff8c3201616c3f0d86b246a2f1bcc150fccbd5f1bcc2e925390b2ecdbe188b26293e89f8703f62b2a
+DIST libopensync-plugin-gnokii-0.36.tar.bz2 43782 SHA256 8674cc4a5df4a57d5d66756afc8492ac13ff335108ac225ee8164215a6feeb0b SHA512 527c5743cca879d3a9a34bfa16e10bf0d05e45dc0cc53b19a5e343ccf5f1985c38ee88f126da5c864dfc4f1c3ccee1d36c0d5d135907add7ad3d493373f28547 WHIRLPOOL a88e72fb7724af11f2bd32e57905da9438e0825d1f1c281667a012320f01919f6a5d9396fd188fa6db08e8963c3da69799f0b1b38a0b47ae88cdebfca1dfb566
diff --git a/app-pda/libopensync-plugin-gnokii/libopensync-plugin-gnokii-0.22.ebuild b/app-pda/libopensync-plugin-gnokii/libopensync-plugin-gnokii-0.22.ebuild
new file mode 100644
index 000000000000..dac0db2bad41
--- /dev/null
+++ b/app-pda/libopensync-plugin-gnokii/libopensync-plugin-gnokii-0.22.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit flag-o-matic
+
+DESCRIPTION="OpenSync Gnokii Plugin"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI="http://dev.gentooexperimental.org/~peper/distfiles/${P}.tar.bz2"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+
+DEPEND="=app-pda/libopensync-${PV}*
+ >=app-mobilephone/gnokii-0.6.14"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ append-flags -Wno-error
+ econf || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog README
+}
diff --git a/app-pda/libopensync-plugin-gnokii/libopensync-plugin-gnokii-0.36.ebuild b/app-pda/libopensync-plugin-gnokii/libopensync-plugin-gnokii-0.36.ebuild
new file mode 100644
index 000000000000..7b4421097eb0
--- /dev/null
+++ b/app-pda/libopensync-plugin-gnokii/libopensync-plugin-gnokii-0.36.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="2"
+
+inherit cmake-utils
+
+DESCRIPTION="OpenSync Gnokii Plugin"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI="http://www.opensync.org/download/releases/${PV}/${P}.tar.bz2"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+
+DEPEND="=app-pda/libopensync-${PV}*
+ >=app-mobilephone/gnokii-0.6.14"
+RDEPEND="${DEPEND}"
diff --git a/app-pda/libopensync-plugin-gnokii/libopensync-plugin-gnokii-9999.ebuild b/app-pda/libopensync-plugin-gnokii/libopensync-plugin-gnokii-9999.ebuild
new file mode 100644
index 000000000000..271f281d0e90
--- /dev/null
+++ b/app-pda/libopensync-plugin-gnokii/libopensync-plugin-gnokii-9999.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="2"
+
+inherit cmake-utils subversion
+
+DESCRIPTION="OpenSync Gnokii Plugin"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI=""
+
+ESVN_REPO_URI="http://svn.opensync.org/plugins/gnokii-sync"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+
+DEPEND="=app-pda/libopensync-${PV}*
+ >=app-mobilephone/gnokii-0.6.14"
+RDEPEND="${DEPEND}"
diff --git a/app-pda/libopensync-plugin-gnokii/metadata.xml b/app-pda/libopensync-plugin-gnokii/metadata.xml
new file mode 100644
index 000000000000..228404d3a4b2
--- /dev/null
+++ b/app-pda/libopensync-plugin-gnokii/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>pda</herd>
+</pkgmetadata>
diff --git a/app-pda/libopensync-plugin-gpe/Manifest b/app-pda/libopensync-plugin-gpe/Manifest
new file mode 100644
index 000000000000..2331400d311d
--- /dev/null
+++ b/app-pda/libopensync-plugin-gpe/Manifest
@@ -0,0 +1,2 @@
+DIST libopensync-plugin-gpe-0.22.tar.bz2 221836 SHA256 2f291a694bee5a502845b1b5ab465acdd524f4c288fcb4b4851982532a4ff56b SHA512 c1f8c94314898014fac174a11b965e9118ee86e2b168463ec52f10b39c4fa8baee365827505d7bd9d843c3049b34e41319329ab1d90ea7180ef5e75ebf312687 WHIRLPOOL 5ca25b1b3fe6882ef47cdfeed1dd7686f397814445f07eaac864cbd77982b278927d0f2d77f15ac5f5c13da0a0a3c6292e352f9b5b54eca8a28a47efa9bbc6b8
+DIST libopensync-plugin-gpe-0.36.tar.bz2 40935 SHA256 b919b1536ca0229881122ac63d98d02a8c8f038f8dbcad4fe173c466cca2cb05 SHA512 65bad63f66a35f8b9005e593ada82f82f59ed6d835e8eed9d249e812ad70efaac78f3c0f897293395f0612e82c54870d8df42cd8f0e267c860d063a3b1e0179b WHIRLPOOL 57a59bc3d94b123b3f4645de1c282f8b8b8771dc06bc6397e079c9209dd59cac0a2639accbfeee5a15d2e80fde676e7976f23457f8b4def330dc12e4a5df3e30
diff --git a/app-pda/libopensync-plugin-gpe/libopensync-plugin-gpe-0.22.ebuild b/app-pda/libopensync-plugin-gpe/libopensync-plugin-gpe-0.22.ebuild
new file mode 100644
index 000000000000..7696e7edd1c3
--- /dev/null
+++ b/app-pda/libopensync-plugin-gpe/libopensync-plugin-gpe-0.22.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+DESCRIPTION="OpenSync Gpe Plugin"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI="http://dev.gentooexperimental.org/~peper/distfiles/${P}.tar.bz2"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+
+DEPEND="=app-pda/libopensync-${PV}*"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog README
+}
diff --git a/app-pda/libopensync-plugin-gpe/libopensync-plugin-gpe-0.36.ebuild b/app-pda/libopensync-plugin-gpe/libopensync-plugin-gpe-0.36.ebuild
new file mode 100644
index 000000000000..9d6812c61e35
--- /dev/null
+++ b/app-pda/libopensync-plugin-gpe/libopensync-plugin-gpe-0.36.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="2"
+
+inherit cmake-utils
+
+DESCRIPTION="OpenSync Gpe Plugin"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI="http://www.opensync.org/download/releases/${PV}/${P}.tar.bz2"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+
+DEPEND="=app-pda/libopensync-${PV}*"
+RDEPEND="${DEPEND}"
diff --git a/app-pda/libopensync-plugin-gpe/libopensync-plugin-gpe-9999.ebuild b/app-pda/libopensync-plugin-gpe/libopensync-plugin-gpe-9999.ebuild
new file mode 100644
index 000000000000..ab00aeec2c62
--- /dev/null
+++ b/app-pda/libopensync-plugin-gpe/libopensync-plugin-gpe-9999.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="2"
+
+inherit cmake-utils subversion
+
+DESCRIPTION="OpenSync Gpe Plugin"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI=""
+
+ESVN_REPO_URI="http://svn.opensync.org/plugins/gpe"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+
+DEPEND="=app-pda/libopensync-${PV}*"
+RDEPEND="${DEPEND}"
diff --git a/app-pda/libopensync-plugin-gpe/metadata.xml b/app-pda/libopensync-plugin-gpe/metadata.xml
new file mode 100644
index 000000000000..228404d3a4b2
--- /dev/null
+++ b/app-pda/libopensync-plugin-gpe/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>pda</herd>
+</pkgmetadata>
diff --git a/app-pda/libopensync-plugin-irmc/Manifest b/app-pda/libopensync-plugin-irmc/Manifest
new file mode 100644
index 000000000000..39076716f368
--- /dev/null
+++ b/app-pda/libopensync-plugin-irmc/Manifest
@@ -0,0 +1 @@
+DIST libopensync-plugin-irmc-0.22.tar.bz2 244648 SHA256 4bed935f596bd5ae11f6263a97e3cd25029a911f7e476e9b8f11b8036d89a0f6 SHA512 6ca23c98e1867682dc1d5e80c510ed6664bd362b72b36ff8706338f1d198c55541a034f01794c1138152a1b84886518e52e5648541863e62d879a0488ea9b722 WHIRLPOOL 0e654d60888f2c8d7fe304283fc8a4af6e08c3fa42287d64c12fec6344fdfff2f74ef541bca2d1bc548337cd9063330bb57120b8ac027453cb7a1fa096058e28
diff --git a/app-pda/libopensync-plugin-irmc/libopensync-plugin-irmc-0.22.ebuild b/app-pda/libopensync-plugin-irmc/libopensync-plugin-irmc-0.22.ebuild
new file mode 100644
index 000000000000..1efd36293791
--- /dev/null
+++ b/app-pda/libopensync-plugin-irmc/libopensync-plugin-irmc-0.22.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+DESCRIPTION="OpenSync IrMC plugin"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI="http://www.opensync.org/download/releases/${PV}/${P}.tar.bz2"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE="+bluetooth irda"
+
+REQUIRED_USE="|| ( bluetooth irda )"
+
+RDEPEND="~app-pda/libopensync-${PV}
+ dev-libs/glib:2
+ dev-libs/libxml2
+ >=dev-libs/openobex-1.0[bluetooth?,irda?]
+ bluetooth? ( net-wireless/bluez )"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ econf \
+ $(use_enable bluetooth) \
+ $(use_enable irda)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ find "${D}" -name '*.la' -exec rm -f {} + || die
+ dodoc AUTHORS README
+}
diff --git a/app-pda/libopensync-plugin-irmc/libopensync-plugin-irmc-9999.ebuild b/app-pda/libopensync-plugin-irmc/libopensync-plugin-irmc-9999.ebuild
new file mode 100644
index 000000000000..6522e5844e3b
--- /dev/null
+++ b/app-pda/libopensync-plugin-irmc/libopensync-plugin-irmc-9999.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit eutils cmake-utils subversion
+
+DESCRIPTION="OpenSync IrMC plugin"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI=""
+
+ESVN_REPO_URI="http://svn.opensync.org/plugins/irmc-sync"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE="bluetooth irda"
+
+REQUIRED_USE="|| ( bluetooth irda )"
+
+RDEPEND="~app-pda/libopensync-${PV}
+ dev-libs/glib:2
+ dev-libs/libxml2
+ >=dev-libs/openobex-1.0[bluetooth?,irda?]
+ bluetooth? ( net-wireless/bluez )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_compile() {
+ local mycmakeargs="
+ $(cmake-utils_use_enable bluetooth BLUETOOTH)
+ $(cmake-utils_use_enable irda IRDA)"
+
+ cmake-utils_src_compile
+}
diff --git a/app-pda/libopensync-plugin-irmc/metadata.xml b/app-pda/libopensync-plugin-irmc/metadata.xml
new file mode 100644
index 000000000000..8b8c775aede9
--- /dev/null
+++ b/app-pda/libopensync-plugin-irmc/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>pda</herd>
+<maintainer>
+ <email>rhill@gentoo.org</email>
+ <name>Ryan Hill</name>
+</maintainer>
+<use>
+ <flag name='irda'>Enable infrared support</flag>
+</use>
+</pkgmetadata>
diff --git a/app-pda/libopensync-plugin-moto/Manifest b/app-pda/libopensync-plugin-moto/Manifest
new file mode 100644
index 000000000000..4431c7cad680
--- /dev/null
+++ b/app-pda/libopensync-plugin-moto/Manifest
@@ -0,0 +1 @@
+DIST libopensync-plugin-moto-0.22.tar.bz2 25846 SHA256 5081f7626fcc562a4478b83e30ec20bb2413e1c10866629dc85d7e6d9f25a0a5 SHA512 764cc6bb286e9d038949c5aa9064f0c3d7d85afbffe2767ee2f98fbb1ccbbb06375c065cd0df3a7dce8f6b333a4511ca3060773d6eae7eb470ea8c6018335eb1 WHIRLPOOL f6350a9639a825c68ad58a608cdb51982efb6673301d43f72a4dfb17a14360cece26edc3aa3b8476cc6c659aa0260594cddb3f6fb73b2adda993bf50f4b63c40
diff --git a/app-pda/libopensync-plugin-moto/libopensync-plugin-moto-0.22.ebuild b/app-pda/libopensync-plugin-moto/libopensync-plugin-moto-0.22.ebuild
new file mode 100644
index 000000000000..23076d703143
--- /dev/null
+++ b/app-pda/libopensync-plugin-moto/libopensync-plugin-moto-0.22.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=3
+
+PYTHON_DEPEND="2:2.6"
+
+inherit multilib python
+
+DESCRIPTION="Motorola plug-in for OpenSync"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI="http://www.opensync.org/download/releases/${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bluetooth"
+
+RDEPEND="~app-pda/libopensync-${PV}
+ ~app-pda/libopensync-plugin-python-${PV}
+ dev-python/python-dateutil
+ bluetooth? ( dev-python/pybluez )"
+DEPEND=""
+
+src_install() {
+ # This is correct per README and OPENSYNC_PYTHONPLG_DIR variable in
+ # configure.in at libopensync-plugin-python-0.22 package.
+ insinto /usr/$(get_libdir)/opensync/python-plugins
+ doins motosync.py || die
+ exeinto /usr/share/opensync/defaults
+ doexe moto-sync || die
+ dodoc AUTHORS README
+}
diff --git a/app-pda/libopensync-plugin-moto/metadata.xml b/app-pda/libopensync-plugin-moto/metadata.xml
new file mode 100644
index 000000000000..228404d3a4b2
--- /dev/null
+++ b/app-pda/libopensync-plugin-moto/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>pda</herd>
+</pkgmetadata>
diff --git a/app-pda/libopensync-plugin-palm/Manifest b/app-pda/libopensync-plugin-palm/Manifest
new file mode 100644
index 000000000000..0384fcb238fd
--- /dev/null
+++ b/app-pda/libopensync-plugin-palm/Manifest
@@ -0,0 +1 @@
+DIST libopensync-plugin-palm-0.22.tar.bz2 232123 SHA256 a96c25ce7a68a1e6455a6f05fec20e8db77dab319de7e330145b3cfef8e0ce0d SHA512 fbcfc7fbc68bb1798dd02e38f4d1abe3d2c0f6d2b3a141d83d829454d43c45cdaf4d400b1226d7a8ed39d1304c68332eb9d0c77be635974c3d7f11207b952dd0 WHIRLPOOL 1850e4724a2b95916dc3afa983b865dc01d6a90b5a21e14772ead9f8bc22ae95bc5ca53f4eb83a1737b10b23f3fa7076c2b4737f709ecb435110f6c026d51342
diff --git a/app-pda/libopensync-plugin-palm/files/libopensync-plugin-palm-include_pisock.patch b/app-pda/libopensync-plugin-palm/files/libopensync-plugin-palm-include_pisock.patch
new file mode 100644
index 000000000000..8182e6735bec
--- /dev/null
+++ b/app-pda/libopensync-plugin-palm/files/libopensync-plugin-palm-include_pisock.patch
@@ -0,0 +1,11 @@
+--- acinclude.m4.org 2006-10-25 17:52:48.000000000 +0200
++++ acinclude.m4 2006-10-25 17:53:15.000000000 +0200
+@@ -16,7 +16,7 @@
+ PILOT_CFLAGS="-I$with_pilot_link/include"
+ PILOT_LIBS="-L$with_pilot_link/lib -Wl,-R$with_pilot_link/lib -lpisock"
+ else
+- PILOT_CFLAGS=""
++ PILOT_CFLAGS="-I/usr/include/libpisock"
+ PILOT_LIBS="-lpisock"
+ fi
+
diff --git a/app-pda/libopensync-plugin-palm/libopensync-plugin-palm-0.22.ebuild b/app-pda/libopensync-plugin-palm/libopensync-plugin-palm-0.22.ebuild
new file mode 100644
index 000000000000..8d06aa848070
--- /dev/null
+++ b/app-pda/libopensync-plugin-palm/libopensync-plugin-palm-0.22.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="3"
+
+inherit autotools eutils
+
+DESCRIPTION="OpenSync Palm Plugin"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI="http://www.opensync.org/download/releases/${PV}/${P}.tar.bz2"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="LGPL-2.1"
+IUSE=""
+
+RDEPEND="~app-pda/libopensync-${PV}
+ >=app-pda/pilot-link-0.11.8
+ dev-libs/glib:2
+ dev-libs/libxml2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ # Patch fixing includedir for pisock
+ epatch "${FILESDIR}/${PN}-include_pisock.patch"
+ sed -i -e 's: -Werror::g' src/Makefile.am
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ find "${D}" -name '*.la' -exec rm -f {} + || die
+ dodoc AUTHORS README
+}
diff --git a/app-pda/libopensync-plugin-palm/libopensync-plugin-palm-9999.ebuild b/app-pda/libopensync-plugin-palm/libopensync-plugin-palm-9999.ebuild
new file mode 100644
index 000000000000..4beb4ee98d5a
--- /dev/null
+++ b/app-pda/libopensync-plugin-palm/libopensync-plugin-palm-9999.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="3"
+
+inherit cmake-utils subversion
+
+DESCRIPTION="OpenSync Palm Plugin"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI=""
+
+ESVN_REPO_URI="http://svn.opensync.org/plugins/palm"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="LGPL-2.1"
+IUSE=""
+
+RDEPEND="~app-pda/libopensync-${PV}
+ >=app-pda/pilot-link-0.11.8
+ dev-libs/glib:2
+ dev-libs/libxml2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS="README"
diff --git a/app-pda/libopensync-plugin-palm/metadata.xml b/app-pda/libopensync-plugin-palm/metadata.xml
new file mode 100644
index 000000000000..0c317e5ffa3d
--- /dev/null
+++ b/app-pda/libopensync-plugin-palm/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>pda</herd>
+ <maintainer>
+ <email>rhill@gentoo.org</email>
+ <name>Ryan Hill</name>
+ </maintainer>
+</pkgmetadata>
+
diff --git a/app-pda/libopensync-plugin-python/Manifest b/app-pda/libopensync-plugin-python/Manifest
new file mode 100644
index 000000000000..3648f1d13c01
--- /dev/null
+++ b/app-pda/libopensync-plugin-python/Manifest
@@ -0,0 +1 @@
+DIST libopensync-plugin-python-0.22.tar.bz2 215702 SHA256 49815fb498679cb0cb3713874da9ee60012753b25ff1dafc60cfca7cc38f3766 SHA512 ae52dace9ea82084d170f242ab7f1d1cc565a09eda45c71abc7a9e7fc726b963adbd121c731c22a105485162e9a9a924189f4669c6d13bf0156b42be0db211e7 WHIRLPOOL 400bd859bc58a8558a06197cd8dc63d56c6a038b81bccc2cffe7ae9a983447920986b8d0eae237a56d96e54fea5f0e88453fe90b44366d82d77230a43fe98b92
diff --git a/app-pda/libopensync-plugin-python/libopensync-plugin-python-0.22.ebuild b/app-pda/libopensync-plugin-python/libopensync-plugin-python-0.22.ebuild
new file mode 100644
index 000000000000..ca2191e5ed29
--- /dev/null
+++ b/app-pda/libopensync-plugin-python/libopensync-plugin-python-0.22.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="3"
+PYTHON_DEPEND="2:2.5"
+
+inherit python
+
+DESCRIPTION="OpenSync Python Module"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI="http://www.opensync.org/download/releases/${PV}/${P}.tar.bz2"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="LGPL-2.1"
+IUSE=""
+
+RDEPEND="~app-pda/libopensync-${PV}
+ dev-libs/glib:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+pkg_setup() {
+ python_set_active_version 2
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ find "${D}" -name '*.la' -exec rm -f {} + || die
+}
diff --git a/app-pda/libopensync-plugin-python/libopensync-plugin-python-9999.ebuild b/app-pda/libopensync-plugin-python/libopensync-plugin-python-9999.ebuild
new file mode 100644
index 000000000000..7103e2e85209
--- /dev/null
+++ b/app-pda/libopensync-plugin-python/libopensync-plugin-python-9999.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="3"
+PYTHON_DEPEND="2:2.5"
+
+inherit cmake-utils python subversion
+
+DESCRIPTION="OpenSync Python Module"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI=""
+
+ESVN_REPO_URI="http://svn.opensync.org/plugins/python-module"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="LGPL-2.1"
+IUSE=""
+
+RDEPEND="~app-pda/libopensync-${PV}
+ dev-libs/glib:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+pkg_setup() {
+ python_set_active_version 2
+}
+
+src_prepare() {
+ # hardcoded python versions, use the module shipped with cmake (bug #276220)
+ rm "${S}"/cmake/modules/FindPythonLibs.cmake || die
+}
diff --git a/app-pda/libopensync-plugin-python/metadata.xml b/app-pda/libopensync-plugin-python/metadata.xml
new file mode 100644
index 000000000000..228404d3a4b2
--- /dev/null
+++ b/app-pda/libopensync-plugin-python/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>pda</herd>
+</pkgmetadata>
diff --git a/app-pda/libopensync-plugin-sunbird/Manifest b/app-pda/libopensync-plugin-sunbird/Manifest
new file mode 100644
index 000000000000..b98bc7db75bc
--- /dev/null
+++ b/app-pda/libopensync-plugin-sunbird/Manifest
@@ -0,0 +1 @@
+DIST libopensync-plugin-sunbird-0.22.tar.bz2 252354 SHA256 84beabde5440d4cd397f86f4092d9dd57d5a0a278623468a4a86004a1a920414 SHA512 95b4ed2fb438205ac3ecf7b5ffc2072b5dba42ea3a6ef63e08a43f18fe6a72e0fcd20c4be9d328b2999c9ee6cf0271cba8f52ad1ee4037a1563dda7d5d0cadec WHIRLPOOL 6feb80ec634bfb850fa653b6e178a7ac3320c6875a1d6a620af3abed77a201022f2f54bcabbcfad2b4fa50d8368301f8c0b82033fb4c4e7ac67869d93fab5505
diff --git a/app-pda/libopensync-plugin-sunbird/libopensync-plugin-sunbird-0.22.ebuild b/app-pda/libopensync-plugin-sunbird/libopensync-plugin-sunbird-0.22.ebuild
new file mode 100644
index 000000000000..f6d646867f74
--- /dev/null
+++ b/app-pda/libopensync-plugin-sunbird/libopensync-plugin-sunbird-0.22.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="3"
+
+DESCRIPTION="OpenSync Sunbird Plugin"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI="http://www.opensync.org/download/releases/${PV}/${P}.tar.bz2"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="LGPL-2.1"
+IUSE=""
+
+RDEPEND="~app-pda/libopensync-${PV}
+ dev-libs/glib:2
+ dev-libs/libxml2
+ net-libs/neon"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ sed -i -e 's: -Werror::g' src/Makefile.in
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ find "${D}" -name '*.la' -exec rm -f {} + || die
+ dodoc AUTHORS README
+}
diff --git a/app-pda/libopensync-plugin-sunbird/metadata.xml b/app-pda/libopensync-plugin-sunbird/metadata.xml
new file mode 100644
index 000000000000..0c317e5ffa3d
--- /dev/null
+++ b/app-pda/libopensync-plugin-sunbird/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>pda</herd>
+ <maintainer>
+ <email>rhill@gentoo.org</email>
+ <name>Ryan Hill</name>
+ </maintainer>
+</pkgmetadata>
+
diff --git a/app-pda/libopensync-plugin-synce-rra/Manifest b/app-pda/libopensync-plugin-synce-rra/Manifest
new file mode 100644
index 000000000000..c897df8af552
--- /dev/null
+++ b/app-pda/libopensync-plugin-synce-rra/Manifest
@@ -0,0 +1 @@
+DIST libopensync-plugin-synce-rra-0.22.2.tar.gz 325388 SHA256 88bd7950960774bb1c626fc46b87bd11754f641475f3318328de3edf3f18b192 SHA512 5f5618e1742a48ab0de48585609997a2014ba586ebbac62f48df1e3724028c1359776953dbd3e29703d241a5c1dc44044d567f79481a041a014a00fbbc2ac51e WHIRLPOOL 07321e3785a8593078d52f3d0da2824cfa8cceaa60c708adc5cd9b936a416a9e8b29c50988877dc8f94ad12048a291a54a14e37ebe45e80ae6ae9ec9d9813028
diff --git a/app-pda/libopensync-plugin-synce-rra/libopensync-plugin-synce-rra-0.22.2.ebuild b/app-pda/libopensync-plugin-synce-rra/libopensync-plugin-synce-rra-0.22.2.ebuild
new file mode 100644
index 000000000000..571fb05551c1
--- /dev/null
+++ b/app-pda/libopensync-plugin-synce-rra/libopensync-plugin-synce-rra-0.22.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+DESCRIPTION="OpenSync SynCE RRA Plugin"
+HOMEPAGE="http://sourceforge.net/projects/synce/ http://www.opensync.org/"
+SRC_URI="mirror://sourceforge/synce/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="=app-pda/libopensync-0.22*
+ app-pda/synce-core
+ >=dev-libs/glib-2
+ >=dev-libs/librra-0.16
+ dev-libs/libxml2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS ChangeLog README
+ find "${ED}" -name '*.la' -exec rm -f {} +
+}
diff --git a/app-pda/libopensync-plugin-synce-rra/metadata.xml b/app-pda/libopensync-plugin-synce-rra/metadata.xml
new file mode 100644
index 000000000000..ba58102c22c2
--- /dev/null
+++ b/app-pda/libopensync-plugin-synce-rra/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>pda</herd>
+ <upstream>
+ <remote-id type="sourceforge">synce</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-pda/libopensync-plugin-syncml/Manifest b/app-pda/libopensync-plugin-syncml/Manifest
new file mode 100644
index 000000000000..b13c4d3df6f4
--- /dev/null
+++ b/app-pda/libopensync-plugin-syncml/Manifest
@@ -0,0 +1 @@
+DIST libopensync-plugin-syncml-0.39.tar.bz2 65557 SHA256 fd1bf079d804e7f8d16cec3eb743c0f7df3379f46ae037387b8b06be8392bbdd SHA512 9f7c48e6ec97f989228c6bf79bb4e5a81e5d078b613ce84d3254781fe6b17cde328aa0179463c8306a17aa8596d5ed0b06aee5bb5b43171b086729661beee91b WHIRLPOOL da77a036269371a2b1c56c16fc26455d919f73ecc1f800387d3d5c6c315863233947e785b7f6bc7c2170bff8ebea95ed1d580b92fb81f42b1dc41b30fdf17e41
diff --git a/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-0.39.ebuild b/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-0.39.ebuild
new file mode 100644
index 000000000000..dfdf43650771
--- /dev/null
+++ b/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-0.39.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit cmake-utils
+
+DESCRIPTION="OpenSync SyncML Plugin"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI="http://www.opensync.org/download/releases/${PV}/${P}.tar.bz2"
+
+KEYWORDS="~amd64 ~ppc ~x86"
+SLOT="0"
+LICENSE="LGPL-2.1"
+IUSE="http +obex"
+
+REQUIRED_USE="|| ( http obex )"
+
+RDEPEND="~app-pda/libopensync-${PV}
+ dev-libs/glib:2
+ dev-libs/libxml2
+ >=app-pda/libsyncml-0.5.0[obex?,http?]"
+DEPEND="${RDEPEND}"
+
+# FIXME: % tests passed, 2 tests failed out of 2
+RESTRICT="test"
+
+src_configure() {
+ DOCS="AUTHORS"
+
+ local mycmakeargs="
+ $(cmake-utils_use_enable http HTTP)
+ $(cmake-utils_use_enable obex OBEX)"
+
+ cmake-utils_src_configure
+}
diff --git a/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-9999.ebuild b/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-9999.ebuild
new file mode 100644
index 000000000000..0fb4dfa72418
--- /dev/null
+++ b/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-9999.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit cmake-utils subversion
+
+DESCRIPTION="OpenSync SyncML Plugin"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI=""
+
+ESVN_REPO_URI="http://svn.opensync.org/plugins/syncml/trunk"
+
+KEYWORDS="~amd64 ~ppc ~x86"
+SLOT="0"
+LICENSE="LGPL-2.1"
+IUSE="http +obex"
+
+REQUIRED_USE="|| ( http obex )"
+
+RDEPEND="~app-pda/libopensync-${PV}
+ ~app-pda/libsyncml-${PV}[obex?,http?]
+ dev-libs/glib:2
+ dev-libs/libxml2"
+DEPEND="${RDEPEND}"
+
+RESTRICT="test"
+
+src_configure() {
+ DOCS="AUTHORS"
+
+ local mycmakeargs="
+ $(cmake-utils_use_enable http HTTP)
+ $(cmake-utils_use_enable obex OBEX)"
+
+ cmake-utils_src_configure
+}
diff --git a/app-pda/libopensync-plugin-syncml/metadata.xml b/app-pda/libopensync-plugin-syncml/metadata.xml
new file mode 100644
index 000000000000..498754bb0060
--- /dev/null
+++ b/app-pda/libopensync-plugin-syncml/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>pda</herd>
+<maintainer>
+ <email>rhill@gentoo.org</email>
+ <name>Ryan Hill</name>
+</maintainer>
+<use>
+ <flag name='http'>Enable http transports</flag>
+ <flag name='obex'>Enable obex transports</flag>
+</use>
+</pkgmetadata>
diff --git a/app-pda/libopensync-plugin-vformat/Manifest b/app-pda/libopensync-plugin-vformat/Manifest
new file mode 100644
index 000000000000..6424b5dbb955
--- /dev/null
+++ b/app-pda/libopensync-plugin-vformat/Manifest
@@ -0,0 +1 @@
+DIST libopensync-plugin-vformat-0.39.tar.bz2 106247 SHA256 33ee22ee28af622216efa99924e3af0956e4bca48381e634d94b5141d12b40b9 SHA512 d4ecc5cd7ec82471e1e299ceff6fe7f9f5c14aa33dc589c5f9c0f8147ae68b2f937a9ec4c8d66d79f6ea90864c174dd02655bbea9969ac695538dbbeb4204a4a WHIRLPOOL e785a3e734d34d361c29317f005e318b74d76834a85b050f6a5b2c0122c3c1a225d74c4363d6934dd154b03efe8000a63a8ee44793783ea6d0ced4b52e2f4bd5
diff --git a/app-pda/libopensync-plugin-vformat/libopensync-plugin-vformat-0.39.ebuild b/app-pda/libopensync-plugin-vformat/libopensync-plugin-vformat-0.39.ebuild
new file mode 100644
index 000000000000..49d70e132789
--- /dev/null
+++ b/app-pda/libopensync-plugin-vformat/libopensync-plugin-vformat-0.39.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="3"
+
+inherit cmake-utils
+
+DESCRIPTION="OpenSync VFormat Plugin"
+HOMEPAGE="http://www.opensync.org"
+SRC_URI="http://www.opensync.org/download/releases/${PV}/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="~app-pda/libopensync-${PV}
+ dev-libs/glib:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+# Don't pass
+RESTRICT="test"
+
+DOCS="AUTHORS ChangeLog"
diff --git a/app-pda/libopensync-plugin-vformat/libopensync-plugin-vformat-9999.ebuild b/app-pda/libopensync-plugin-vformat/libopensync-plugin-vformat-9999.ebuild
new file mode 100644
index 000000000000..4226f1c81b61
--- /dev/null
+++ b/app-pda/libopensync-plugin-vformat/libopensync-plugin-vformat-9999.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="3"
+
+inherit cmake-utils subversion
+
+DESCRIPTION="OpenSync VFormat Plugin"
+HOMEPAGE="http://www.opensync.org"
+SRC_URI=""
+
+ESVN_REPO_URI="http://svn.opensync.org/format-plugins/vformat/"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="~app-pda/libopensync-${PV}
+ dev-libs/glib:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+# Don't pass
+RESTRICT="test"
+
+DOCS="AUTHORS"
diff --git a/app-pda/libopensync-plugin-vformat/metadata.xml b/app-pda/libopensync-plugin-vformat/metadata.xml
new file mode 100644
index 000000000000..eedf953f4475
--- /dev/null
+++ b/app-pda/libopensync-plugin-vformat/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>pda</herd>
+ <maintainer>
+ <email>rhill@gentoo.org</email>
+ <name>Ryan Hill</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-pda/libopensync/Manifest b/app-pda/libopensync/Manifest
new file mode 100644
index 000000000000..7ae420a06194
--- /dev/null
+++ b/app-pda/libopensync/Manifest
@@ -0,0 +1,3 @@
+DIST libopensync-0.22.tar.bz2 489978 SHA256 3394bae1e3bcfe463d139a367ba5ebe73d968df128c871842dcb4965a725d0dc SHA512 90b6c7af9890d51bddfa5ce9ff5403f642d1deb7dc839e517366f9fd0afa5cd582b9a0e6e37d4a110f2aba7421da6705da0a761ad3ea40e9def3d3580f1b6aa2 WHIRLPOOL 8bd6110fd589c02ce97305a56b02ad5b9583d005ad2b9d3ebf994b47064d558247936f446df891fa508fdc23de43d1921e9e85e272e470ade88bbe94c05a0ad5
+DIST libopensync-0.36.tar.bz2 879868 SHA256 c686d27f0818e2d8cc6277ba123c74d7210e70fa2b320c5a828eaaedd598e908 SHA512 8f677b25df609320bc3e6ad021f686d4bc3a3ce9d2586ce8ae9148fd631b3835a3fd6fca6478750c968b7ea43744425d54918434b28b35120619de197be3ed1c WHIRLPOOL a1c02885d6a373fd824b3d4b3556c002e82f72ee120808250e975d96300db44641b736483e10f2a244dd521650441a75b2bd2b59a94cd9a0fc0c67d6e7e7aff5
+DIST libopensync-0.39.tar.bz2 1146955 SHA256 078f5d1d29774a190679e7e65e587f34cd8b001f07ea8745f31eba3f07edc430 SHA512 038c92e2599ca31d6633dd60eaf44e157887d285c8946740afb153c4afb98b718f3f73251212e1055452a793142d0d27e2edf510a9830308d20d9c7d4023c7e4 WHIRLPOOL a84f4eb14d81da23c8e725262b2e5b3bb233767bfb3154d609e614b17d8c8a3f2c97136551f56102568ff5b02ef1cf030260d1c16c77ca8b5dc703b9671c6cff
diff --git a/app-pda/libopensync/files/libopensync-0.22-Makefile.patch b/app-pda/libopensync/files/libopensync-0.22-Makefile.patch
new file mode 100644
index 000000000000..579b792a49d4
--- /dev/null
+++ b/app-pda/libopensync/files/libopensync-0.22-Makefile.patch
@@ -0,0 +1,82 @@
+https://bugs.gentoo.org/355291
+
+--- a/opensync/Makefile.am
++++ b/opensync/Makefile.am
+@@ -77,5 +77,5 @@ CLEANFILES = \
+ *.bbg \
+ *.da
+
+-libopensync_la_LDFLAGS = @PACKAGE_LIBS@ @GCOV_LDFLAGS@
+-libopensync_la_LIBADD = @XML_LIBS@
++libopensync_la_LDFLAGS = @GCOV_LDFLAGS@
++libopensync_la_LIBADD = @PACKAGE_LIBS@ @XML_LIBS@
+--- a/osengine/Makefile.am
++++ b/osengine/Makefile.am
+@@ -43,5 +43,5 @@ CLEANFILES = \
+ *.bbg \
+ *.da
+
+-libosengine_la_LDFLAGS = $(PACKAGE_LIBS) -R $(libdir) @GCOV_LDFLAGS@
+-libosengine_la_LIBADD = $(top_builddir)/opensync/libopensync.la
++libosengine_la_LDFLAGS = @GCOV_LDFLAGS@
++libosengine_la_LIBADD = $(top_builddir)/opensync/libopensync.la $(PACKAGE_LIBS)
+--- a/osplugin/Makefile.am
++++ b/osplugin/Makefile.am
+@@ -9,8 +9,8 @@ libexec_PROGRAMS = osplugin
+ ospluginincludedir = @OPENSYNC_HEADERDIR@
+
+ osplugin_SOURCES = osplugin.c
+-osplugin_LDFLAGS = @PACKAGE_LIBS@ @XML_LIBS@ -R $(libdir) @GCOV_LDFLAGS@
+-osplugin_LDADD = $(top_builddir)/opensync/libopensync.la
++osplugin_LDFLAGS = @GCOV_LDFLAGS@
++osplugin_LDADD = $(top_builddir)/opensync/libopensync.la @PACKAGE_LIBS@ @XML_LIBS@
+
+ CLEANFILES = \
+ *.bb \
+--- a/tools/Makefile.am
++++ b/tools/Makefile.am
+@@ -9,24 +9,24 @@ bin_PROGRAMS = osyncdump osyncstress osyncplugin osynctest osyncbinary
+ endif
+
+ osyncdump_SOURCES = osyncdump.c
+-osyncdump_LDFLAGS = @PACKAGE_LIBS@ @XML_LIBS@ -R $(libdir) @GCOV_LDFLAGS@
+-osyncdump_LDADD = $(top_builddir)/opensync/libopensync.la
++osyncdump_LDFLAGS = @GCOV_LDFLAGS@
++osyncdump_LDADD = $(top_builddir)/opensync/libopensync.la @PACKAGE_LIBS@ @XML_LIBS@
+
+ osyncstress_SOURCES = osyncstress.c
+-osyncstress_LDFLAGS = @PACKAGE_LIBS@ -R $(libdir) @GCOV_LDFLAGS@
+-osyncstress_LDADD = $(top_builddir)/osengine/libosengine.la $(top_builddir)/opensync/libopensync.la
++osyncstress_LDFLAGS = @GCOV_LDFLAGS@
++osyncstress_LDADD = $(top_builddir)/osengine/libosengine.la $(top_builddir)/opensync/libopensync.la @PACKAGE_LIBS@
+
+ osyncplugin_SOURCES = osyncplugin.c
+-osyncplugin_LDFLAGS = @PACKAGE_LIBS@ -R $(libdir) @GCOV_LDFLAGS@
+-osyncplugin_LDADD = $(top_builddir)/opensync/libopensync.la
++osyncplugin_LDFLAGS = @GCOV_LDFLAGS@
++osyncplugin_LDADD = $(top_builddir)/opensync/libopensync.la @PACKAGE_LIBS@
+
+ osynctest_SOURCES = osynctest.c
+-osynctest_LDFLAGS = @PACKAGE_LIBS@ -R $(libdir) @GCOV_LDFLAGS@
+-osynctest_LDADD = $(top_builddir)/osengine/libosengine.la $(top_builddir)/opensync/libopensync.la
++osynctest_LDFLAGS = @GCOV_LDFLAGS@
++osynctest_LDADD = $(top_builddir)/osengine/libosengine.la $(top_builddir)/opensync/libopensync.la @PACKAGE_LIBS@
+
+ osyncbinary_SOURCES = osyncbinary.c
+-osyncbinary_LDFLAGS = @PACKAGE_LIBS@ -R $(libdir)
+-osyncbinary_LDADD = $(top_builddir)/opensync/libopensync.la
++osyncbinary_LDFLAGS =
++osyncbinary_LDADD = $(top_builddir)/opensync/libopensync.la @PACKAGE_LIBS@
+
+ CLEANFILES = \
+ *.bb \
+--- a/wrapper/Makefile.am
++++ b/wrapper/Makefile.am
+@@ -22,5 +22,5 @@ osbindings_LTLIBRARIES = _opensync.la
+ endif
+
+ nodist__opensync_la_SOURCES = opensync_wrap.c
+-_opensync_la_LDFLAGS = @PACKAGE_LIBS@ @XML_LIBS@ $(PYTHON_LDFLAGS) -R $(libdir) -module -avoid-version
+-_opensync_la_LIBADD = $(top_builddir)/opensync/libopensync.la
++_opensync_la_LDFLAGS = -module -avoid-version
++_opensync_la_LIBADD = $(top_builddir)/opensync/libopensync.la $(PYTHON_LDFLAGS) @PACKAGE_LIBS@ @XML_LIBS@
diff --git a/app-pda/libopensync/files/libopensync-0.22-fbsd.patch b/app-pda/libopensync/files/libopensync-0.22-fbsd.patch
new file mode 100644
index 000000000000..c9e7cdc9a8e2
--- /dev/null
+++ b/app-pda/libopensync/files/libopensync-0.22-fbsd.patch
@@ -0,0 +1,20 @@
+--- libopensync-0.22/formats/vformats-xml/vformat.c 2007-06-17 10:54:54 +0000
++++ libopensync-0.22/formats/vformats-xml/vformat.c 2007-06-17 10:55:30 +0000
+@@ -236,7 +236,7 @@
+ if (charset) {
+
+ cd = iconv_open("UTF-8", charset->str);
+-#ifdef SOLARIS
++#if defined(SOLARIS) || defined(__FreeBSD__) || defined(__NetBSD__)
+ if (iconv(cd, (const char**)&inbuf, &inbytesleft, &p, &outbytesleft) != (size_t)(-1)) {
+ #else
+ if (iconv(cd, &inbuf, &inbytesleft, &p, &outbytesleft) != (size_t)(-1)) {
+@@ -264,7 +264,7 @@
+
+ /* because inbuf is not UTF-8, we think it is ISO-8859-1 */
+ cd = iconv_open("UTF-8", "ISO-8859-1");
+-#ifdef SOLARIS
++#if defined(SOLARIS) || defined(__FreeBSD__) || defined(__NetBSD__)
+ if (iconv(cd, (const char**)&inbuf, &inbytesleft, &p, &outbytesleft) != (size_t)(-1)) {
+ #else
+ if (iconv(cd, &inbuf, &inbytesleft, &p, &outbytesleft) != (size_t)(-1)) {
diff --git a/app-pda/libopensync/files/libopensync-0.22-pythonpath.patch b/app-pda/libopensync/files/libopensync-0.22-pythonpath.patch
new file mode 100644
index 000000000000..abfb68cbdb33
--- /dev/null
+++ b/app-pda/libopensync/files/libopensync-0.22-pythonpath.patch
@@ -0,0 +1,63 @@
+diff --git a/acinclude.m4 b/acinclude.m4
+index 2bf9951..a3b617c 100644
+--- a/acinclude.m4
++++ b/acinclude.m4
+@@ -1008,9 +1008,9 @@ AC_DEFUN([AC_PROG_SWIG],[
+ if test -z "$available_patch" ; then
+ [available_patch=0]
+ fi
+- if test $available_major -ne $required_major \
+- -o $available_minor -ne $required_minor \
+- -o $available_patch -lt $required_patch ; then
++ if test $available_major -lt $required_major \
++ -a $available_minor -lt $required_minor \
++ -a $available_patch -lt $required_patch ; then
+ AC_MSG_WARN([SWIG version >= $1 is required. You have $swig_version. You should look at http://www.swig.org])
+ SWIG='echo "Error: SWIG version >= $1 is required. You have '"$swig_version"'. You should look at http://www.swig.org" ; false'
+ else
+@@ -1114,7 +1114,7 @@ AC_DEFUN([AC_PYTHON_DEVEL],[
+ AC_MSG_CHECKING([for Python include path])
+ python_path=`echo $PYTHON | sed "s,/bin.*$,,"`
+ for i in "$python_path/include/python$PYTHON_VERSION/" "$python_path/include/python/" "$python_path/" ; do
+- python_path=`find $i -type f -name Python.h -print | sed "1q"`
++ python_path=`find $i -type f -name Python.h -print 2>/dev/null | sed "1q"`
+ if test -n "$python_path" ; then
+ break
+ fi
+@@ -1129,8 +1129,8 @@ AC_DEFUN([AC_PYTHON_DEVEL],[
+ # Check for Python library path
+ AC_MSG_CHECKING([for Python library path])
+ python_path=`echo $PYTHON | sed "s,/bin.*$,,"`
+- for i in "$python_path/lib/python$PYTHON_VERSION/config/" "$python_path/lib/python$PYTHON_VERSION/" "$python_path/lib/python/config/" "$python_path/lib/python/" "$python_path/" ; do
+- python_path=`find $i -type f -name libpython$PYTHON_VERSION.* -print | sed "1q"`
++ for i in "$python_path/lib/python$PYTHON_VERSION/config/" "$python_path/lib/python$PYTHON_VERSION/" "$python_path/lib/python/config/" "$python_path/lib/python/" "$python_path/lib/" ; do
++ python_path=`find $i -type f -name libpython$PYTHON_VERSION.* -print 2>/dev/null | sed "1q"`
+ if test -n "$python_path" ; then
+ break
+ fi
+@@ -1142,16 +1142,21 @@ AC_DEFUN([AC_PYTHON_DEVEL],[
+ fi
+ AC_SUBST([PYTHON_LDFLAGS],["-L$python_path -lpython$PYTHON_VERSION"])
+ #
+- python_site=`echo $python_path | sed "s/config/site-packages/"`
+- AC_SUBST([PYTHON_SITE_PKG],[$python_site])
++ # site-packages directory
++ #
++ AC_MSG_CHECKING(python site-packages)
++ PYTHON_SITE_PKG=`$PYTHON -c "from distutils.sysconfig import get_python_lib; \
++ print get_python_lib()"`
++ AC_MSG_RESULT($PYTHON_SITE_PKG)
++ AC_SUBST(PYTHON_SITE_PKG)
+ #
+ # libraries which must be linked in when embedding
+ #
+ AC_MSG_CHECKING(python extra libraries)
+ PYTHON_EXTRA_LIBS=`$PYTHON -c "import distutils.sysconfig; \
+ conf = distutils.sysconfig.get_config_var; \
+- print conf('LOCALMODLIBS')+' '+conf('LIBS')"
+- AC_MSG_RESULT($PYTHON_EXTRA_LIBS)`
++ print conf('LOCALMODLIBS')+' '+conf('LIBS')"`
++ AC_MSG_RESULT($PYTHON_EXTRA_LIBS)
+ AC_SUBST(PYTHON_EXTRA_LIBS)
+ ])
+ dnl as-ac-expand.m4 0.2.0
diff --git a/app-pda/libopensync/files/libopensync-0.22-swig-typeerror.patch b/app-pda/libopensync/files/libopensync-0.22-swig-typeerror.patch
new file mode 100644
index 000000000000..b1e42f394493
--- /dev/null
+++ b/app-pda/libopensync/files/libopensync-0.22-swig-typeerror.patch
@@ -0,0 +1,13 @@
+diff --git a/wrapper/opensync.i b/wrapper/opensync.i
+index 623c0f4..8131158 100644
+--- a/wrapper/opensync.i
++++ b/wrapper/opensync.i
+@@ -82,7 +82,7 @@ typedef struct {} OSyncHashTable;
+ %extend OSyncChange {
+ OSyncChange(PyObject *obj=NULL) {
+ OSyncChange *change = NULL;
+- if (obj)
++ if ((obj) && (obj != Py_None))
+ change = (OSyncChange *)PyCObject_AsVoidPtr(obj);
+ else
+ change = osync_change_new();
diff --git a/app-pda/libopensync/libopensync-0.22-r1.ebuild b/app-pda/libopensync/libopensync-0.22-r1.ebuild
new file mode 100644
index 000000000000..eb46001b8213
--- /dev/null
+++ b/app-pda/libopensync/libopensync-0.22-r1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="3"
+
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
+
+inherit autotools eutils python
+
+DESCRIPTION="OpenSync synchronisation framework library"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI="http://www.opensync.org/download/releases/${PV}/${P}.tar.bz2"
+
+KEYWORDS="amd64 hppa ppc ppc64 x86"
+SLOT="0"
+LICENSE="LGPL-2.1"
+IUSE="debug doc python"
+
+RDEPEND="dev-db/sqlite:3
+ dev-libs/glib:2
+ dev-libs/libxml2"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )
+ python? ( >=dev-lang/swig-1.3.17 )"
+# test? ( >=dev-libs/check-0.9.2 )"
+
+# Tests don't pass
+RESTRICT="test"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-fbsd.patch
+ epatch "${FILESDIR}"/${P}-pythonpath.patch
+ epatch "${FILESDIR}"/${P}-swig-typeerror.patch
+ epatch "${FILESDIR}"/${P}-Makefile.patch
+ eautoreconf
+
+ find "${S}" -name Makefile.in -print0 | xargs -0 sed -i -e 's: -Werror::' \
+ -e 's: -R $(libdir)::g'
+
+ use python && python_copy_sources
+}
+
+src_configure() {
+ do_configure() {
+ econf \
+ --enable-engine \
+ --enable-tools \
+ $(use_enable python) \
+ $(use_enable debug) \
+ $(use_enable debug tracing)
+ #$(use_enable test unit-tests)
+
+ sed -i -e 's:^\(hardcode_libdir_flag_spec=\).*:\1"":g' \
+ -e 's:^\(runpath_var=\).*:\1DIE_RPATH_DIE:g' \
+ -e 's:func_apped:func_append:g' \
+ libtool
+ }
+
+ use python && python_execute_function -s do_configure
+ do_configure # do this even when USE=python - we need to generate Doxyfile
+}
+
+src_compile() {
+ use python \
+ && python_execute_function -d -s \
+ || default
+
+ if use doc; then
+ doxygen Doxyfile || die
+ fi
+}
+
+src_install() {
+ do_install() {
+ emake DESTDIR="${D}" install || die
+ }
+
+ use python \
+ && python_execute_function -s do_install \
+ || do_install
+
+ find "${D}" -name '*.la' -exec rm -f {} + || die
+ dodoc AUTHORS NEWS README TODO
+
+ if use doc; then
+ dohtml docs/html/* || die
+ fi
+}
+
+pkg_postinst() {
+ elog "Enabling the 'debug' useflag is required for bug reports."
+ elog "Also see: http://www.opensync.org/wiki/tracing"
+}
diff --git a/app-pda/libopensync/libopensync-0.22.ebuild b/app-pda/libopensync/libopensync-0.22.ebuild
new file mode 100644
index 000000000000..52f360d7524e
--- /dev/null
+++ b/app-pda/libopensync/libopensync-0.22.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils
+
+DESCRIPTION="OpenSync synchronisation framework library"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI="http://dev.gentooexperimental.org/~peper/distfiles/${P}.tar.bz2"
+
+KEYWORDS="amd64 hppa ppc ppc64 x86"
+SLOT="0"
+LICENSE="LGPL-2.1"
+IUSE="debug doc python"
+#profiling" - needs tau - http://www.cs.uoregon.edu/research/tau/
+
+# Tests are not doing anything in 0.22
+# $(use_enable test unit-tests) \
+RESTRICT="test"
+
+RDEPEND=">=dev-db/sqlite-3
+ >=dev-libs/glib-2
+ dev-libs/libxml2
+ python? ( >=dev-lang/python-2.2 )
+ debug? ( >=dev-libs/check-0.9.2 )"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )
+ python? ( >=dev-lang/swig-1.3.17 )"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-fbsd.patch"
+}
+
+src_compile() {
+ econf \
+ --enable-engine \
+ --enable-tools \
+ $(use_enable python) \
+ $(use_enable debug) \
+ $(use_enable debug tracing) \
+ || die "econf failed"
+
+ emake || die "emake failed"
+
+ use doc && doxygen Doxyfile
+}
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc AUTHORS ChangeLog NEWS README TODO
+ use doc && dohtml docs/html/*
+}
+
+pkg_preinst() {
+ has_version "<${CATEGORY}/${PN}-0.21"
+ previous_less_than_0_21=$?
+}
+
+pkg_postinst() {
+ elog "Building with 'debug' useflag is highly encouraged"
+ elog "and requiered for bug reports."
+ elog "Also see http://www.opensync.org/wiki/tracing"
+
+ if [[ $previous_less_than_0_21 = 0 ]] ; then
+ echo ""
+ elog "You are updating from version prior to 0.21 and hence you need to rebuild your db."
+ elog "How: http://www.opensync.org/wiki/FAQ#HowdoIcleanupasyncgroupfortesting"
+ elog "Why: http://www.nabble.com/Not-Unique-UID-fix-in-subversion-tf3167800.html"
+ fi
+}
diff --git a/app-pda/libopensync/libopensync-0.36-r2.ebuild b/app-pda/libopensync/libopensync-0.36-r2.ebuild
new file mode 100644
index 000000000000..4cf96e4dcdc2
--- /dev/null
+++ b/app-pda/libopensync/libopensync-0.36-r2.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="3"
+
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
+
+inherit cmake-utils python
+
+DESCRIPTION="OpenSync synchronisation framework library"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI="http://www.opensync.org/download/releases/${PV}/${P}.tar.bz2"
+
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd"
+SLOT="0"
+LICENSE="LGPL-2.1"
+IUSE="debug doc python" # test
+
+RDEPEND="dev-db/sqlite:3
+ dev-libs/glib:2
+ dev-libs/libxml2
+ dev-libs/libxslt"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen
+ media-gfx/graphviz )
+ python? ( >=dev-lang/swig-1.3.17 )"
+# test? ( >=dev-libs/check-0.9.2 )"
+
+DOCS="AUTHORS CODING README"
+
+# Tests don't pass
+RESTRICT="test"
+
+src_prepare() {
+ # Has hardcoded python versions, use the module shipped with cmake instead
+ # bug #276220
+ rm "${S}"/cmake/modules/FindPythonLibs.cmake
+
+ use python && python_copy_sources
+}
+
+src_configure() {
+ local mycmakeargs="
+ -DCMAKE_SKIP_RPATH=ON
+ $(cmake-utils_use_build doc DOCUMENTATION)
+ $(cmake-utils_use_enable python WRAPPER)
+ $(cmake-utils_use python OPENSYNC_PYTHONBINDINGS)
+ $(cmake-utils_use debug OPENSYNC_DEBUG_MODULES)
+ $(cmake-utils_use debug OPENSYNC_TRACE)"
+# $(cmake-utils_use test OPENSYNC_UNITTESTS)"
+
+ do_configure() {
+ if use python; then
+ CMAKE_BUILD_DIR="${WORKDIR}/${P}-${PYTHON_ABI}"
+ CMAKE_USE_DIR="${CMAKE_BUILD_DIR}"
+ # since we're using cmake's FindPythonLibs PYTHON_VERSION is
+ # not defined
+ sed -i -e "s:\${PYTHON_VERSION}:${PYTHON_ABI}:g" \
+ "${CMAKE_BUILD_DIR}"/wrapper/CMakeLists.txt
+ fi
+ cmake-utils_src_configure || die
+ }
+
+ use python \
+ && python_execute_function -s do_configure \
+ || do_configure
+}
+
+src_compile() {
+ do_compile() {
+ if use python; then
+ CMAKE_BUILD_DIR="${WORKDIR}/${P}-${PYTHON_ABI}"
+ CMAKE_USE_DIR="${CMAKE_BUILD_DIR}"
+ fi
+ cmake-utils_src_compile || die
+ }
+
+ use python \
+ && python_execute_function -s do_compile \
+ || do_compile
+
+ if use doc ; then
+ cmake-utils_src_make DoxygenDoc || die
+ fi
+}
+
+# TODO - fix
+src_test() {
+ pushd "${CMAKE_BUILD_DIR}" > /dev/null
+
+ if ! LD_LIBRARY_PATH="${CMAKE_BUILD_DIR}/opensync/" emake -j1 test ; then
+ die "Make test failed. See above for details."
+ fi
+
+ popd > /dev/null
+}
+
+src_install() {
+ do_install() {
+ if use python; then
+ CMAKE_BUILD_DIR="${WORKDIR}/${P}-${PYTHON_ABI}"
+ CMAKE_USE_DIR="${CMAKE_BUILD_DIR}"
+ fi
+ cmake-utils_src_install || die
+ }
+
+ use python \
+ && python_execute_function -s do_install \
+ || do_install
+
+ find "${D}" -name '*.la' -exec rm -f {} + || die
+
+ if use doc; then
+ cd "${CMAKE_BUILD_DIR}"
+ dohtml docs/html/* || die
+ fi
+}
+
+pkg_postinst() {
+ elog "Enabling the 'debug' useflag is required for bug reports."
+ elog "Also see: http://www.opensync.org/wiki/tracing"
+}
diff --git a/app-pda/libopensync/libopensync-0.39-r1.ebuild b/app-pda/libopensync/libopensync-0.39-r1.ebuild
new file mode 100644
index 000000000000..a7097518e2ff
--- /dev/null
+++ b/app-pda/libopensync/libopensync-0.39-r1.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="3"
+
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
+
+inherit cmake-utils python
+
+DESCRIPTION="OpenSync synchronisation framework library"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI="http://www.opensync.org/download/releases/${PV}/${P}.tar.bz2"
+
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd"
+SLOT="0"
+LICENSE="LGPL-2.1"
+IUSE="debug doc python" # test
+
+RDEPEND="dev-db/sqlite:3
+ >=dev-libs/glib-2.12:2
+ dev-libs/libxml2
+ dev-libs/libxslt"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen
+ media-gfx/graphviz )
+ python? ( >=dev-lang/swig-1.3.17 )"
+# test? ( >=dev-libs/check-0.9.2 )"
+
+DOCS="AUTHORS CODING ChangeLog README"
+
+# Tests don't pass
+RESTRICT="test"
+
+src_prepare() {
+ # Has hardcoded python versions, use the module shipped with cmake instead
+ # bug #276220
+ rm "${S}"/cmake/modules/FindPythonLibs.cmake
+
+ use python && python_copy_sources
+}
+
+src_configure() {
+ local mycmakeargs="
+ -DCMAKE_SKIP_RPATH=ON
+ $(cmake-utils_use_build doc DOCUMENTATION)
+ $(cmake-utils_use_enable python WRAPPER)
+ $(cmake-utils_use python OPENSYNC_PYTHONBINDINGS)
+ $(cmake-utils_use debug OPENSYNC_DEBUG_MODULES)
+ $(cmake-utils_use debug OPENSYNC_TRACE)"
+# $(cmake-utils_use test OPENSYNC_UNITTESTS)"
+
+ do_configure() {
+ if use python; then
+ CMAKE_BUILD_DIR="${WORKDIR}/${P}-${PYTHON_ABI}"
+ CMAKE_USE_DIR="${CMAKE_BUILD_DIR}"
+ # since we're using cmake's FindPythonLibs PYTHON_VERSION is
+ # not defined
+ sed -i -e "s:\${PYTHON_VERSION}:${PYTHON_ABI}:g" \
+ "${CMAKE_BUILD_DIR}"/wrapper/CMakeLists.txt
+ fi
+ cmake-utils_src_configure || die
+ }
+
+ use python \
+ && python_execute_function -s do_configure \
+ || do_configure
+}
+
+src_compile() {
+ do_compile() {
+ if use python; then
+ CMAKE_BUILD_DIR="${WORKDIR}/${P}-${PYTHON_ABI}"
+ CMAKE_USE_DIR="${CMAKE_BUILD_DIR}"
+ fi
+ cmake-utils_src_compile || die
+ }
+
+ use python \
+ && python_execute_function -s do_compile \
+ || do_compile
+
+ if use doc ; then
+ cmake-utils_src_make DoxygenDoc || die
+ fi
+}
+
+# TODO - fix
+src_test() {
+ pushd "${CMAKE_BUILD_DIR}" > /dev/null
+
+ if ! LD_LIBRARY_PATH="${CMAKE_BUILD_DIR}/opensync/" emake -j1 test ; then
+ die "Make test failed. See above for details."
+ fi
+
+ popd > /dev/null
+}
+
+src_install() {
+ do_install() {
+ if use python; then
+ CMAKE_BUILD_DIR="${WORKDIR}/${P}-${PYTHON_ABI}"
+ CMAKE_USE_DIR="${CMAKE_BUILD_DIR}"
+ fi
+ cmake-utils_src_install || die
+ }
+
+ use python \
+ && python_execute_function -s do_install \
+ || do_install
+
+ find "${D}" -name '*.la' -exec rm -f {} + || die
+
+ if use doc; then
+ cd "${CMAKE_BUILD_DIR}"
+ dohtml docs/html/* || die
+ fi
+}
+
+pkg_postinst() {
+ elog "For >=app-pda/libopensync-0.39 use app-pda/osynctool instead of"
+ elog "the older app-pda/msynctool."
+}
diff --git a/app-pda/libopensync/libopensync-9999.ebuild b/app-pda/libopensync/libopensync-9999.ebuild
new file mode 100644
index 000000000000..f742631d491f
--- /dev/null
+++ b/app-pda/libopensync/libopensync-9999.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="3"
+
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
+
+inherit cmake-utils subversion python
+
+DESCRIPTION="OpenSync synchronisation framework library"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI=""
+
+ESVN_REPO_URI="http://svn.opensync.org/trunk"
+
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd"
+SLOT="0"
+LICENSE="LGPL-2.1"
+IUSE="debug doc python" # test
+
+RDEPEND="dev-db/sqlite:3
+ >=dev-libs/glib-2.12:2
+ dev-libs/libxml2
+ dev-libs/libxslt"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen
+ media-gfx/graphviz )
+ python? ( >=dev-lang/swig-1.3.17 )"
+# test? ( >=dev-libs/check-0.9.2 )
+
+DOCS="AUTHORS CODING ChangeLog README"
+
+# tests don't pass
+RESTRICT="test"
+
+src_prepare() {
+ # Use cmake's instead - bug #276220
+ rm "${S}"/cmake/modules/FindPythonLibs.cmake
+
+ use python && python_copy_sources
+}
+
+src_configure() {
+ local mycmakeargs="-DCMAKE_SKIP_RPATH=ON
+ $(cmake-utils_use_build doc DOCUMENTATION)
+ $(cmake-utils_use_enable python WRAPPER)
+ $(cmake-utils_use python OPENSYNC_PYTHONBINDINGS)
+ $(cmake-utils_use debug OPENSYNC_DEBUG_MODULES)
+ $(cmake-utils_use debug OPENSYNC_TRACE)"
+# $(cmake-utils_use test OPENSYNC_UNITTESTS)
+
+ do_configure() {
+ if use python; then
+ CMAKE_BUILD_DIR="${WORKDIR}/${P}-${PYTHON_ABI}"
+ CMAKE_USE_DIR="${CMAKE_BUILD_DIR}"
+ # since we're using cmake's FindPythonLibs PYTHON_VERSION is not defined
+ sed -i -e "s:\${PYTHON_VERSION}:${PYTHON_ABI}:g" \
+ "${CMAKE_BUILD_DIR}"/wrapper/CMakeLists.txt
+ fi
+ cmake-utils_src_configure || die
+ }
+
+ use python \
+ && python_execute_function -s do_configure \
+ || do_configure
+}
+
+src_compile() {
+ do_compile() {
+ if use python; then
+ CMAKE_BUILD_DIR="${WORKDIR}/${P}-${PYTHON_ABI}"
+ CMAKE_USE_DIR="${CMAKE_BUILD_DIR}"
+ fi
+ cmake-utils_src_compile || die
+ }
+
+ use python \
+ && python_execute_function -s do_compile \
+ || do_compile
+
+ if use doc ; then
+ cmake-utils_src_make DoxygenDoc || die
+ fi
+}
+
+src_test() {
+ pushd "${CMAKE_BUILD_DIR}" > /dev/null
+
+ if ! LD_LIBRARY_PATH="${CMAKE_BUILD_DIR}/opensync/" emake -j1 test ; then
+ die "Make test failed. See above for details."
+ fi
+
+ popd > /dev/null
+}
+
+src_install() {
+ do_install() {
+ if use python; then
+ CMAKE_BUILD_DIR="${WORKDIR}/${P}-${PYTHON_ABI}"
+ CMAKE_USE_DIR="${CMAKE_BUILD_DIR}"
+ fi
+ cmake-utils_src_install || die
+ }
+
+ use python \
+ && python_execute_function -s do_install \
+ || do_install
+
+ find "${D}" -name '*.la' -exec rm -f {} + || die
+
+ if use doc; then
+ cd "${CMAKE_BUILD_DIR}"
+ dohtml docs/html/* || die
+ fi
+}
+
+pkg_postinst() {
+ elog "Building with 'debug' useflag is highly encouraged"
+ elog "and requiered for bug reports."
+ elog "Also see http://www.opensync.org/wiki/tracing"
+}
diff --git a/app-pda/libopensync/metadata.xml b/app-pda/libopensync/metadata.xml
new file mode 100644
index 000000000000..0c317e5ffa3d
--- /dev/null
+++ b/app-pda/libopensync/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>pda</herd>
+ <maintainer>
+ <email>rhill@gentoo.org</email>
+ <name>Ryan Hill</name>
+ </maintainer>
+</pkgmetadata>
+
diff --git a/app-pda/libplist/Manifest b/app-pda/libplist/Manifest
new file mode 100644
index 000000000000..ca10a4fc8e5c
--- /dev/null
+++ b/app-pda/libplist/Manifest
@@ -0,0 +1 @@
+DIST libplist-1.11.tar.bz2 355365 SHA256 28e1518eeea054f4eec9a1c93d9575d56193b290c53c1b753773a5e0add95235 SHA512 1c415670877c7091ded541dc36a6bc91132f714a0d3590090ead40ed972e0e076285441d3d219827cc425bc41fcbc101825e937620b7b4f2c1afe4bef8487fa2 WHIRLPOOL a2c74d3454b80696ab45922fe410833912554588d9ed5c177cbed1865bd98099b29a20ab6cf14a0b7c98de59d082fd15392915a94f33d27b16109300a0de2e4c
diff --git a/app-pda/libplist/libplist-1.11.ebuild b/app-pda/libplist/libplist-1.11.ebuild
new file mode 100644
index 000000000000..a50fe72224f8
--- /dev/null
+++ b/app-pda/libplist/libplist-1.11.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
+inherit autotools-utils python-r1
+
+DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
+HOMEPAGE="http://www.libimobiledevice.org/"
+SRC_URI="http://www.libimobiledevice.org/downloads/${P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0/2" # based on SONAME of libplist.so
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86 ~amd64-fbsd"
+IUSE="python static-libs"
+
+RDEPEND=">=dev-libs/libxml2-2.7.8"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ python? (
+ ${PYTHON_DEPS}
+ >=dev-python/cython-0.17[${PYTHON_USEDEP}]
+ )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DOCS=( AUTHORS NEWS README )
+
+MAKEOPTS+=" -j1" #406365
+
+RESTRICT="test" # TODO: src_test() was dropped from 1.10 (cmake) -> 1.11 (autotools)
+
+src_configure() {
+ local myeconfargs=( $(use_enable static-libs static) )
+ use python || myeconfargs+=( --without-cython )
+
+ python_foreach_impl autotools-utils_src_configure
+}
+
+src_compile() {
+ python_foreach_impl autotools-utils_src_compile
+}
+
+src_install() {
+ python_foreach_impl autotools-utils_src_install
+
+ if use python; then
+ insinto /usr/include/plist/cython
+ doins cython/plist.pxd
+ fi
+}
diff --git a/app-pda/libplist/metadata.xml b/app-pda/libplist/metadata.xml
new file mode 100644
index 000000000000..c21e5dabbb40
--- /dev/null
+++ b/app-pda/libplist/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>pda</herd>
+</pkgmetadata>
diff --git a/app-pda/libsyncml/Manifest b/app-pda/libsyncml/Manifest
new file mode 100644
index 000000000000..cfe1de84db65
--- /dev/null
+++ b/app-pda/libsyncml/Manifest
@@ -0,0 +1 @@
+DIST libsyncml-0.5.4.tar.bz2 289488 SHA256 5ee4c48923ae78489fd13a4329d6a86bcb020bb777f9bc1b35d152f197b748ff SHA512 aed0821d01eaaa3fef69d559820875591d3837b3968be24293fc41924b3599a2810d2b4cc29f82e6f4058a212eae5f71021bd96a046b568e7cb1a036ba8f37aa WHIRLPOOL f036a5bf991ed76fe66c709bcb5ac3cc9f974d91b2b2fcdba3fc21fbab6c7a9b69ce5675c6a65ccc73261e0ec3c732a8c4124a8764e656a288385f9847112fe6
diff --git a/app-pda/libsyncml/libsyncml-0.5.4.ebuild b/app-pda/libsyncml/libsyncml-0.5.4.ebuild
new file mode 100644
index 000000000000..498786bf2fa3
--- /dev/null
+++ b/app-pda/libsyncml/libsyncml-0.5.4.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit cmake-utils
+
+DESCRIPTION="Implementation of the SyncML protocol"
+HOMEPAGE="http://libsyncml.opensync.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+KEYWORDS="~amd64 ~ppc ~x86"
+SLOT="0"
+LICENSE="LGPL-2.1"
+IUSE="debug doc http +obex test"
+
+# bluetooth and obex merged because bluetooth support in obex backend is
+# automagic, bug #285040
+# libsoup:2.2 is forced off to avoid automagic
+RDEPEND=">=dev-libs/glib-2.12
+ >=dev-libs/libwbxml-0.11.0
+ dev-libs/libxml2
+ http? ( net-libs/libsoup:2.4 )
+ obex? (
+ net-wireless/bluez
+ >=dev-libs/openobex-1.1[bluetooth] )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )
+ test? ( >=dev-libs/check-0.9.7 )"
+
+REQUIRED_USE="|| ( http obex )"
+
+DOCS="AUTHORS CODING ChangeLog RELEASE"
+
+src_prepare() {
+ # http://bugs.gentoo.org/425738
+ sed -i \
+ -e '/include/s:wbxml.h:wbxml/&:' \
+ libsyncml/parser/sml_wbxml_internals.h tests/mobiles/obex_mobile_ds_client.c || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DHAVE_LIBSOUP22=OFF
+ -DDOC_INSTALL_DIR=/usr/share/doc/${PF}
+ $(cmake-utils_use_enable debug TRACE)
+ $(cmake-utils_use_enable http HTTP)
+ $(cmake-utils_use_enable obex OBEX)
+ $(cmake-utils_use_enable obex BLUETOOTH)
+ $(cmake-utils_use_enable test UNIT_TEST)
+ )
+
+ if use http && use obex; then
+ # Doc builds with those previous USE flags only
+ mycmakeargs+=( $(cmake-utils_use_build doc DOCUMENTATION) )
+ fi
+
+ cmake-utils_src_configure
+}
diff --git a/app-pda/libsyncml/libsyncml-9999.ebuild b/app-pda/libsyncml/libsyncml-9999.ebuild
new file mode 100644
index 000000000000..55398a404637
--- /dev/null
+++ b/app-pda/libsyncml/libsyncml-9999.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit cmake-utils subversion
+
+DESCRIPTION="Implementation of the SyncML protocol"
+HOMEPAGE="http://libsyncml.opensync.org/"
+SRC_URI=""
+
+ESVN_REPO_URI="http://svn.opensync.org/libsyncml/trunk"
+
+KEYWORDS="~amd64 ~ppc ~x86"
+SLOT="0"
+LICENSE="LGPL-2.1"
+IUSE="+debug doc http +obex test"
+
+# bluetooth and obex merged because bluetooth support in obex backend is
+# automagic, bug #285040
+# libsoup:2.2 is forced off to avoid automagic
+RDEPEND=">=dev-libs/glib-2.12
+ >=dev-libs/libwbxml-0.11.0
+ dev-libs/libxml2
+ http? ( net-libs/libsoup:2.4 )
+ obex? (
+ net-wireless/bluez
+ >=dev-libs/openobex-1.1[bluetooth] )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )
+ test? ( >=dev-libs/check-0.9.7 )"
+
+REQUIRED_USE="|| ( http obex )"
+
+DOCS="AUTHORS CODING ChangeLog RELEASE"
+
+src_prepare() {
+ # http://bugs.gentoo.org/425738
+ sed -i \
+ -e '/include/s:wbxml.h:wbxml/&:' \
+ libsyncml/parser/sml_wbxml_internals.h tests/mobiles/obex_mobile_ds_client.c || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DHAVE_LIBSOUP22=OFF
+ $(cmake-utils_use_build doc DOCUMENTATION)
+ $(cmake-utils_use_enable debug TRACE)
+ $(cmake-utils_use_enable http HTTP)
+ $(cmake-utils_use_enable obex OBEX)
+ $(cmake-utils_use_enable obex BLUETOOTH)
+ $(cmake-utils_use_enable test UNIT_TEST)
+ )
+
+ cmake-utils_src_configure
+}
diff --git a/app-pda/libsyncml/metadata.xml b/app-pda/libsyncml/metadata.xml
new file mode 100644
index 000000000000..7f678747a0bd
--- /dev/null
+++ b/app-pda/libsyncml/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>pda</herd>
+ <use>
+ <flag name='http'>Enable http transports</flag>
+ <flag name='obex'>Enable obex transports</flag>
+ </use>
+</pkgmetadata>
diff --git a/app-pda/libusbmuxd/Manifest b/app-pda/libusbmuxd/Manifest
new file mode 100644
index 000000000000..e98c2e2b711e
--- /dev/null
+++ b/app-pda/libusbmuxd/Manifest
@@ -0,0 +1 @@
+DIST libusbmuxd-1.0.9.tar.bz2 265940 SHA256 2e3f708a3df30ad7832d2d2389eeb29f68f4e4488a42a20149cc99f4f9223dfc SHA512 f50ee580ac9b4c5e55ab596aabb0bdc09f710cc58edba98699499998c44f2b2cf064792390f235b2221af494ce3233acda699652066b9297cc3cb4e9f8a1cfa4 WHIRLPOOL c2d9ce73f1c1f80dee649cbd3bc473fe55809fdec2b7b376cbdb7af5a82f2c532f1a0cec5aa77c2d76497a44df9a6de83dd03e61860677e6d4833e02f31d928b
diff --git a/app-pda/libusbmuxd/libusbmuxd-1.0.9.ebuild b/app-pda/libusbmuxd/libusbmuxd-1.0.9.ebuild
new file mode 100644
index 000000000000..e6f9bbcd8cfb
--- /dev/null
+++ b/app-pda/libusbmuxd/libusbmuxd-1.0.9.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools-utils
+
+DESCRIPTION="USB multiplex daemon for use with Apple iPhone/iPod Touch devices"
+HOMEPAGE="http://www.libimobiledevice.org/"
+SRC_URI="http://www.libimobiledevice.org/downloads/${P}.tar.bz2"
+
+# tools/iproxy.c is GPL-2+, everything else is LGPL-2.1+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0/2" # based on SONAME of libusbmuxd.so
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
+IUSE="kernel_linux static-libs"
+
+RDEPEND=">=app-pda/libplist-1.11:=
+ virtual/libusb:1
+ !=app-pda/usbmuxd-1.0.9
+ !<app-pda/usbmuxd-1.0.8_p1"
+DEPEND="${RDEPEND}
+ virtual/os-headers
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS README )
+
+src_configure() {
+ local myeconfargs=( $(use_enable static-libs static) )
+ use kernel_linux || myeconfargs+=( --without-inotify )
+
+ autotools-utils_src_configure
+}
diff --git a/app-pda/libusbmuxd/metadata.xml b/app-pda/libusbmuxd/metadata.xml
new file mode 100644
index 000000000000..228404d3a4b2
--- /dev/null
+++ b/app-pda/libusbmuxd/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>pda</herd>
+</pkgmetadata>
diff --git a/app-pda/metadata.xml b/app-pda/metadata.xml
new file mode 100644
index 000000000000..94e264ce8154
--- /dev/null
+++ b/app-pda/metadata.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<catmetadata>
+ <longdescription lang="en">
+ The app-pda category contains software for working with personal digital
+ assistants or hand-held computers.
+ </longdescription>
+ <longdescription lang="de">
+ Die Kategorie app-pda enthält Programme für das Arbeiten mit PDAs und
+ Handheld-Computern.
+ </longdescription>
+ <longdescription lang="es">
+ La categoría app-pda contiene programas para trabajar con asistentes
+ personales ó computadores hand-held.
+ </longdescription>
+ <longdescription lang="ja">
+ app-pdaカテゴリにはパーソナルデジタルアシスタントと使うソフトウェアが
+ 含まれます。
+ </longdescription>
+ <longdescription lang="vi">
+ Nhóm app-pda chứa các ứgn dụng làm việc với các thiết
+ bị PDA hoặc hand-held.
+ </longdescription>
+ <longdescription lang="it">
+ La categoria app-pda contiene programmi per lavorare con PDA e hand-held pc.
+ </longdescription>
+ <longdescription lang="pt">
+ A categoria app-pda contém programas para trabalhar com assistentes
+ pessoais ou computadores hand-held.
+ </longdescription>
+ <longdescription lang="pl">
+ Kategoria app-pda zawiera programy służące do współpracy z urządzeniami PDA.
+ </longdescription>
+</catmetadata>
+
diff --git a/app-pda/msynctool/Manifest b/app-pda/msynctool/Manifest
new file mode 100644
index 000000000000..f507c2909cc1
--- /dev/null
+++ b/app-pda/msynctool/Manifest
@@ -0,0 +1 @@
+DIST msynctool-0.22.tar.bz2 219787 SHA256 5a3008eaaf61dc9f7cc0cd0c762d700dfa8cc1aa65c07ec5bf12abe252f2d280 SHA512 69bc7e38f8d35e3eaebfb307832eab5e6a47a14197433482c8e1c9ccf6fc05070b0931e4063ad0511909b8a310237fc4bdf838acbd93877c55579499f754027f WHIRLPOOL 9e3b39514815e969b2e909f5f1f31e183ba8c49356f83c454566512487e1cd5db04c868c378f1e5aa2e3e559f7e51c637b92e0fd6adc2658f440c6f3cc91b843
diff --git a/app-pda/msynctool/metadata.xml b/app-pda/msynctool/metadata.xml
new file mode 100644
index 000000000000..a514ffc3d378
--- /dev/null
+++ b/app-pda/msynctool/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>pda</herd>
+ <maintainer>
+ <email>rhill@gentoo.org</email>
+ <name>Ryan Hill</name>
+ </maintainer>
+ <longdescription lang="en">
+ </longdescription>
+</pkgmetadata>
+
diff --git a/app-pda/msynctool/msynctool-0.22.ebuild b/app-pda/msynctool/msynctool-0.22.ebuild
new file mode 100644
index 000000000000..4866994832fe
--- /dev/null
+++ b/app-pda/msynctool/msynctool-0.22.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="3"
+
+DESCRIPTION="OpenSync msync tool"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI="http://www.opensync.org/downloads/releases/${PV}/${P}.tar.bz2"
+
+KEYWORDS="~amd64 ~ppc ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+
+RDEPEND="~app-pda/libopensync-${PV}
+ dev-libs/glib:2
+ dev-libs/libxml2
+ !app-pda/osynctool"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ sed -i -e 's: -Werror::g' \
+ -e 's: -R $(libdir)::g' \
+ tools/Makefile.in
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS README
+}
diff --git a/app-pda/multisync-gui/Manifest b/app-pda/multisync-gui/Manifest
new file mode 100644
index 000000000000..01f3aecb19fb
--- /dev/null
+++ b/app-pda/multisync-gui/Manifest
@@ -0,0 +1,2 @@
+DIST multisync-gui-0.91.0.tar.gz 112933 SHA256 958b9f2ecf4726095be7a8a5de5d24d325e487891dce56d02b566a93027f769d SHA512 66697d8d48d494d6a2aef7cf26cbe3b2602e9661b5c557acc15b2b0942062edcb7cba95c9c2192d097ff7a1a16f051ac613eb8dbcd2429287153fc8354f2fe2b WHIRLPOOL 137019f6d750b8045d0a35bd76dfe2330b896f4a6b413eeb66eeea64c87d5f39fb8306c8dfdb7c16add85b0c8bbdbde8599ff4edde0e37201bc0b9fb3d93d4b3
+DIST multisync-gui-0.92.0_pre20080531.tar.bz2 47265 SHA256 a7dcbcf2a1d367772e7bb83260cac8c66a524135bc96cef674d891cbec08de9d SHA512 f800f63f63283feb1fa7a2ff4f4beba4807c6ba24665a28b249ee5399a8a41062707c3cd04ff5e359c6f9c7f0f5ba4b5941d6a584befe4d8cc63b31f109fa858 WHIRLPOOL acee792dfa19d4ff039122681e2e5ff41dfc3857d3427ce1d77d5e7c2768fe527577f832f04faed47264eb4d8908e5e92367464f6812010d757adea9643642eb
diff --git a/app-pda/multisync-gui/files/multisync-gui-0.92.0-cmake.patch b/app-pda/multisync-gui/files/multisync-gui-0.92.0-cmake.patch
new file mode 100644
index 000000000000..2edffd93e86e
--- /dev/null
+++ b/app-pda/multisync-gui/files/multisync-gui-0.92.0-cmake.patch
@@ -0,0 +1,41 @@
+Path-fixings.
+
+http://bugs.gentoo.org/237366
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,7 +1,7 @@
+ PROJECT( multisyncgui C )
+
+-SET( MULTISYNCGUI_GLADE_DIR "${CMAKE_INSTALL_PREFIX}/usr/share/multisync-gui/" )
+-SET( MULTISYNCGUI_ICON_DIR "${CMAKE_INSTALL_PREFIX}/usr/share/pixmaps/multisync-gui/" )
++SET( MULTISYNCGUI_GLADE_DIR "${CMAKE_INSTALL_PREFIX}/share/multisync-gui/" )
++SET( MULTISYNCGUI_ICON_DIR "${CMAKE_INSTALL_PREFIX}/share/pixmaps/" )
+
+ SET( MULTISYNCGUI_VERSION "0.36" )
+ SET( MULTISYNCGUI_GLADE "${MULTISYNCGUI_GLADE_DIR}/multisyncgui.glade" )
+--- a/misc/CMakeLists.txt
++++ b/misc/CMakeLists.txt
+@@ -3,6 +3,6 @@ CONFIGURE_FILE( "${CMAKE_CURRENT_SOURCE_DIR}/multisyncgui.glade" "${CMAKE_CURREN
+
+ ###### INSTALL ###################
+
+-INSTALL( FILES ${CMAKE_CURRENT_BINARY_DIR}/multisyncgui.desktop DESTINATION "${CMAKE_INSTALL_PREFIX}/usr/share/applications/" )
++INSTALL( FILES ${CMAKE_CURRENT_BINARY_DIR}/multisyncgui.desktop DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications/" )
+ INSTALL( FILES "${CMAKE_CURRENT_BINARY_DIR}/multisyncgui.glade" DESTINATION "${MULTISYNCGUI_GLADE_DIR}" )
+ INSTALL( FILES multisync.png DESTINATION ${MULTISYNCGUI_ICON_DIR} )
+--- a/misc/multisyncgui.desktop
++++ b/misc/multisyncgui.desktop
+@@ -3,10 +3,10 @@ Encoding=UTF-8
+ Name=multisyncgui
+ Comment=Synchronization program for personal information such as calendars, addressbooks etc.
+ Comment[de]=Synchronisation von Organizern, PIMs und Mobiltelefonen
+-Exec=@PREFIX@/bin/multisync-gui
++Exec=@CMAKE_INSTALL_PREFIX@/bin/multisyncgui
+ Terminal=false
+ Type=Application
+-Icon=@MULTISYNC_ICON_DIR@/multisync.png
++Icon=@MULTISYNCGUI_ICON_DIR@/multisync.png
+ StartupWMClass=multisync
+ X-Desktop-File-Install-Version=0.3
+ Categories=Application;Utility;X-Red-Hat-Base;
diff --git a/app-pda/multisync-gui/files/multisync-gui-0.92.0-pixbuf-include.patch b/app-pda/multisync-gui/files/multisync-gui-0.92.0-pixbuf-include.patch
new file mode 100644
index 000000000000..af88164a8e07
--- /dev/null
+++ b/app-pda/multisync-gui/files/multisync-gui-0.92.0-pixbuf-include.patch
@@ -0,0 +1,10 @@
+Add gdk-pixbuf include dir (split out in gtk+-2.21).
+
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-INCLUDE_DIRECTORIES( ${OPENSYNC_INCLUDE_DIRS} ${GTK2_INCLUDE_DIRS} ${LIBGLADE_INCLUDE_DIRS} ${LIBXML2_INCLUDE_DIRS} )
++INCLUDE_DIRECTORIES( ${OPENSYNC_INCLUDE_DIRS} ${GTK2_INCLUDE_DIRS} ${LIBGLADE_INCLUDE_DIRS} ${LIBXML2_INCLUDE_DIRS} /usr/include/gdk-pixbuf-2.0 )
+ LINK_DIRECTORIES( ${OPENSYNC_LIBRARY_DIRS} ${GTK2_LIBRARY_DIRS} ${LIBGLADE_LIBRARY_DIRS} ${LIBXML2_LIBRARY_DIRS} )
+
+ SET( multisyncgui_SRCS
diff --git a/app-pda/multisync-gui/metadata.xml b/app-pda/multisync-gui/metadata.xml
new file mode 100644
index 000000000000..228404d3a4b2
--- /dev/null
+++ b/app-pda/multisync-gui/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>pda</herd>
+</pkgmetadata>
diff --git a/app-pda/multisync-gui/multisync-gui-0.91.0.ebuild b/app-pda/multisync-gui/multisync-gui-0.91.0.ebuild
new file mode 100644
index 000000000000..0b9ea658fa7f
--- /dev/null
+++ b/app-pda/multisync-gui/multisync-gui-0.91.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit toolchain-funcs
+
+DESCRIPTION="OpenSync multisync-gui"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="<=app-pda/libopensync-0.35
+ >=gnome-base/libgnomeui-2
+ x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=""
+
+src_configure() {
+ CPPFLAGS="${CXXFLAGS}" CFLAGS="${CXXFLAGS}" ./configure --prefix=/usr
+}
diff --git a/app-pda/multisync-gui/multisync-gui-0.92.0_pre20080531.ebuild b/app-pda/multisync-gui/multisync-gui-0.92.0_pre20080531.ebuild
new file mode 100644
index 000000000000..e1fe569265a8
--- /dev/null
+++ b/app-pda/multisync-gui/multisync-gui-0.92.0_pre20080531.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit cmake-utils
+
+DESCRIPTION="OpenSync multisync-gui"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+KEYWORDS="~amd64 ~ppc ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+
+RDEPEND="~app-pda/libopensync-0.36
+ >=dev-libs/libxml2-2.6.30
+ >=gnome-base/libglade-2.6.2:2.0
+ >=x11-libs/gtk+-2.21:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-0.92.0-cmake.patch \
+ "${FILESDIR}"/${PN}-0.92.0-pixbuf-include.patch
+}
diff --git a/app-pda/orange/Manifest b/app-pda/orange/Manifest
new file mode 100644
index 000000000000..1019eb23e223
--- /dev/null
+++ b/app-pda/orange/Manifest
@@ -0,0 +1 @@
+DIST liborange-0.4.tar.gz 330089 SHA256 023fc4ecdd4e775023b89d8fea37918ed8ba55012578e4f7ac0ec3cd1e843fbe SHA512 62ac6687c7d6bfd12d6adce5eecdf9388f719c65127bda3ba8e54750cc8bc8e239286859fcbeed7acdce866f32793e3aabbe943c08f1403b5863300c817772b2 WHIRLPOOL 9cc179e000d9620136e725f07d64bd45942c24fa74d4c735becb35803b1d6090f488ae09dbbdee645cd113a40c79bcaade4e4a517c883d222b6c4408e71b75d5
diff --git a/app-pda/orange/metadata.xml b/app-pda/orange/metadata.xml
new file mode 100644
index 000000000000..b5cb338a8f87
--- /dev/null
+++ b/app-pda/orange/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>pda</herd>
+ <longdescription>
+ Orange is a tool and library for squeezing out juicy installable Microsoft
+ Cabinet Files from self-extracting installers for Microsoft Windows
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">synce</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-pda/orange/orange-0.4.ebuild b/app-pda/orange/orange-0.4.ebuild
new file mode 100644
index 000000000000..1b7bd82f9b35
--- /dev/null
+++ b/app-pda/orange/orange-0.4.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+MY_P=lib${P}
+
+DESCRIPTION="A tool and library for extracting cabs from executable installers"
+HOMEPAGE="http://sourceforge.net/projects/synce/"
+SRC_URI="mirror://sourceforge/synce/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+RDEPEND="app-pda/synce-core
+ >=app-pda/dynamite-0.1.1
+ >=app-arch/unshield-0.6
+ sys-apps/file
+ sys-libs/zlib"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS="ChangeLog TODO"
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -exec rm -f {} +
+}
diff --git a/app-pda/osynctool/Manifest b/app-pda/osynctool/Manifest
new file mode 100644
index 000000000000..d87cd8227ca3
--- /dev/null
+++ b/app-pda/osynctool/Manifest
@@ -0,0 +1 @@
+DIST osynctool-0.39.tar.bz2 55850 SHA256 9690bc7720fadd1517c56f04b480d99c87304a43dc6e04b89bf1f59bb7e6764d SHA512 3e814b5b0261c8c69da451d1ce8d8380ebb1058f134a6d47e9e863036d3321866f4a8c1f71d23b9552d0abe7317bc9df3afcc64e97b35f7091d28b3ba8c2f4b6 WHIRLPOOL 168524b6469020d73b7a14ed40c987854c8b849f1e7eb26e10910dfa5a37b7d80424ebe460c1bfc9aaa0703cc8672d9b2d873702b7b759e246b1496b67531426
diff --git a/app-pda/osynctool/metadata.xml b/app-pda/osynctool/metadata.xml
new file mode 100644
index 000000000000..65fffc6ff831
--- /dev/null
+++ b/app-pda/osynctool/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>pda</herd>
+<longdescription lang="en">
+Command line interface for OpenSync.
+You can use this tool to synchronize your devices and applications using the OpenSync framework from the command line.
+</longdescription>
+</pkgmetadata>
+
diff --git a/app-pda/osynctool/osynctool-0.39.ebuild b/app-pda/osynctool/osynctool-0.39.ebuild
new file mode 100644
index 000000000000..1e9e0e50cf76
--- /dev/null
+++ b/app-pda/osynctool/osynctool-0.39.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="3"
+
+inherit cmake-utils
+
+DESCRIPTION="Command line interface for OpenSync"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI="http://www.opensync.org/download/releases/${PV}/${P}.tar.bz2"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+
+RDEPEND="~app-pda/libopensync-${PV}
+ dev-libs/glib:2
+ !app-pda/msynctool"
+DEPEND="${DEPEND}"
+
+DOCS="AUTHORS CODING"
+
+src_prepare() {
+ sed -i -e 's:/etc/bash_completion.d:/share/bash-completion:g' \
+ tools/CMakeLists.txt
+}
diff --git a/app-pda/osynctool/osynctool-9999.ebuild b/app-pda/osynctool/osynctool-9999.ebuild
new file mode 100644
index 000000000000..b4957991f6f9
--- /dev/null
+++ b/app-pda/osynctool/osynctool-9999.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="3"
+
+inherit cmake-utils subversion
+
+DESCRIPTION="Command line interface for OpenSync"
+HOMEPAGE="http://www.opensync.org/"
+SRC_URI=""
+
+ESVN_REPO_URI="http://svn.opensync.org/osynctool/trunk"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+
+RDEPEND="~app-pda/libopensync-${PV}
+ dev-libs/glib:2
+ !app-pda/msynctool"
+DEPEND="${DEPEND}"
+
+DOCS="AUTHORS CODING"
+
+src_prepare() {
+ sed -i -e 's:/etc/bash_completion.d:/share/bash-completion:g' \
+ tools/CMakeLists.txt
+}
diff --git a/app-pda/p3nfs/Manifest b/app-pda/p3nfs/Manifest
new file mode 100644
index 000000000000..215ce11f4ec4
--- /dev/null
+++ b/app-pda/p3nfs/Manifest
@@ -0,0 +1 @@
+DIST p3nfs-5.19.tar.gz 258444 SHA256 f3ce4f95772fc419c5065068bb7f73d14960c82a5fe7716c7552898c82474099 SHA512 b4fd4f8d4b096f9ab3c1eb649b95db88a109d0715dcf98c39e5e852e91bd6d149038a7ec3025e75aafa0c303f411daba58b3d6035349c26b69870b4c158e67ba WHIRLPOOL d8b915a18780f5456d791e653456d9a42cf79edb8bc1d755282c061146a0ae63fa809ac3c5b2cd1408544b7f94b10bfe6c3a31fdf9d62a239e843f801d79bb45
diff --git a/app-pda/p3nfs/files/p3nfs-5.19-set-default-tty.patch b/app-pda/p3nfs/files/p3nfs-5.19-set-default-tty.patch
new file mode 100644
index 000000000000..da6b73918b78
--- /dev/null
+++ b/app-pda/p3nfs/files/p3nfs-5.19-set-default-tty.patch
@@ -0,0 +1,14 @@
+--- configure.in.orig 2014-04-09 14:05:32.579648000 +0400
++++ configure.in 2014-04-09 14:10:05.162648000 +0400
+@@ -81,7 +81,10 @@
+ break
+ fi
+ done
+-test -z "$DDEV" && AC_MSG_ERROR(serial device not found... Try harder.)
++if test -z "$DDEV"; then
++ DDEV="/dev/ttyS0"
++ AC_MSG_RESULT(serial device not found... Setting default one to $DDEV)
++fi
+ AC_SUBST(DDEV)
+
+ dnl Looking for Symbian SDKs:
diff --git a/app-pda/p3nfs/metadata.xml b/app-pda/p3nfs/metadata.xml
new file mode 100644
index 000000000000..d076de9dd32d
--- /dev/null
+++ b/app-pda/p3nfs/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>proxy-maintainers</herd>
+</pkgmetadata>
diff --git a/app-pda/p3nfs/p3nfs-5.19-r2.ebuild b/app-pda/p3nfs/p3nfs-5.19-r2.ebuild
new file mode 100644
index 000000000000..2ec44cfa45e6
--- /dev/null
+++ b/app-pda/p3nfs/p3nfs-5.19-r2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="2"
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="Symbian to Unix and Linux communication program"
+HOMEPAGE="http://www.koeniglich.de/p3nfs.html"
+SRC_URI="http://www.koeniglich.de/packages/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="|| ( net-nds/portmap net-nds/rpcbind )"
+
+src_prepare() {
+ sed -i "s:.*cd client/epoc32.*:#&:" "${S}/Makefile.in" || die
+ # bug #314971
+ epatch "${FILESDIR}/${P}-set-default-tty.patch"
+}
+
+src_configure() {
+ append-flags -fno-strict-aliasing # fix QA issues
+ sed -i "s:\$(LDFLAGS):${LDFLAGS}:" "${S}/server/Makefile.in" || die
+
+ econf || die "econf failed"
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS} -Wall -I." || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" DOCDIR="${D}/usr/share/doc/${PF}" install || die "emake install failed"
+
+ dodoc README
+}
+
+pkg_postinst() {
+ elog
+ elog "You need to install one of the nfsapp-*.sis clients on your"
+ elog "Symbian device to be able to mount it's filesystems."
+ elog
+ elog "Make sure to have portmap or rpcbind service running"
+ elog "before you start the p3nfsd server."
+ elog
+}
diff --git a/app-pda/p3nfs/p3nfs-5.19-r3.ebuild b/app-pda/p3nfs/p3nfs-5.19-r3.ebuild
new file mode 100644
index 000000000000..b1c903d52e84
--- /dev/null
+++ b/app-pda/p3nfs/p3nfs-5.19-r3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="Symbian to Unix and Linux communication program"
+HOMEPAGE="http://www.koeniglich.de/p3nfs.html"
+SRC_URI="http://www.koeniglich.de/packages/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=""
+RDEPEND="|| ( net-nds/portmap net-nds/rpcbind )"
+
+src_prepare() {
+ sed -i "s:.*cd client/epoc32.*:#&:" "${S}/Makefile.in" || die
+ sed -i "s:\$(LDFLAGS):${LDFLAGS}:" "${S}/server/Makefile.in" || die
+ append-flags -fno-strict-aliasing # fix QA issues
+ # bug #314971
+ epatch "${FILESDIR}/${P}-set-default-tty.patch"
+ epatch_user
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS} -Wall -I." || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" DOCDIR="${D}/usr/share/doc/${PF}" install
+ dodoc README
+}
+
+pkg_postinst() {
+ elog
+ elog "You need to install one of the nfsapp-*.sis clients on your"
+ elog "Symbian device to be able to mount it's filesystems."
+ elog
+ elog "Make sure to have portmap or rpcbind service running"
+ elog "before you start the p3nfsd server."
+ elog
+}
diff --git a/app-pda/pilot-link/Manifest b/app-pda/pilot-link/Manifest
new file mode 100644
index 000000000000..52e983d2d4cc
--- /dev/null
+++ b/app-pda/pilot-link/Manifest
@@ -0,0 +1 @@
+DIST pilot-link-0.12.5.tar.bz2 1578735 SHA256 d3f99ec04016b38995fb370265200254710318105c792c017d3aaccfb97a84b2 SHA512 a12972fb7a43f2dfccb82a046ca372c9fce5333f632a77880439c4f4705af6a7f16b76f04c9f3ed0d6a12aad55a3a55f8781a4e92931bc6907cd1ec4f1209868 WHIRLPOOL 1db6c658c8a478ba01e2a6ab829ee348757af0b5927c1d2bec729405d2d58ea7b98ba7cf008dd72e1f6afbe9abcccc5fa7aaee7958fdf9f8d9f4e9a4224f340f
diff --git a/app-pda/pilot-link/files/pilot-link-0.12.2-threads.patch b/app-pda/pilot-link/files/pilot-link-0.12.2-threads.patch
new file mode 100644
index 000000000000..edfedb2ae6a2
--- /dev/null
+++ b/app-pda/pilot-link/files/pilot-link-0.12.2-threads.patch
@@ -0,0 +1,17 @@
+diff -Naur pilot-link-0.12.2.orig/m4/threads.m4 pilot-link-0.12.2/m4/threads.m4
+--- pilot-link-0.12.2.orig/m4/threads.m4 2005-03-02 23:36:49.000000000 +0100
++++ pilot-link-0.12.2/m4/threads.m4 2007-08-25 20:36:36.000000000 +0200
+@@ -5,9 +5,10 @@
+ #
+
+ AC_DEFUN([PILOT_LINK_THREADS_SUPPORT], [
+- use_threads=false
+- AC_ARG_ENABLE(threads,[ --enable-threads Add this to have built-in thread safety],use_threads=true)
+- if $use_threads; then
++ use_threads=true
++ AC_ARG_ENABLE([threads], AS_HELP_STRING([--disable-threads], [Build without built-in thread safety (default: test)]))
++
++ if test "x$enable_threads" != "xno"; then
+ ACX_PTHREAD
+ if test x"$acx_pthread_ok" = xno; then
+ use_threads=false
diff --git a/app-pda/pilot-link/files/pilot-link-0.12.2-werror_194921.patch b/app-pda/pilot-link/files/pilot-link-0.12.2-werror_194921.patch
new file mode 100644
index 000000000000..9396ba9f3f4d
--- /dev/null
+++ b/app-pda/pilot-link/files/pilot-link-0.12.2-werror_194921.patch
@@ -0,0 +1,19 @@
+http://bugs.gentoo.org/194921
+
+--- configure.ac
++++ configure.ac
+@@ -757,11 +757,9 @@
+ dnl *************************************
+ dnl (already done) enable_werror=no
+
+-AC_ARG_ENABLE(compile-werror,
+- [ --enable-compile-werror
+- Causes warnings to be treated as errors in GCC],
+- enable_werror=yes)
+-if test "x$GCC" = "xyes" -a "x$enable_werror" = "xyes"; then
++AC_ARG_ENABLE([compile-werror], AS_HELP_STRING([--enable-compile-werror], [Causes warnings to be treated as errors in GCC (default: disabled)]))
++
++if test "x$GCC" = "xyes" -a "x$enable_compile_werror" = "xyes"; then
+ CFLAGS="$CFLAGS -Werror"
+ fi
+
diff --git a/app-pda/pilot-link/files/pilot-link-0.12.3-distutils.patch b/app-pda/pilot-link/files/pilot-link-0.12.3-distutils.patch
new file mode 100644
index 000000000000..db229f855278
--- /dev/null
+++ b/app-pda/pilot-link/files/pilot-link-0.12.3-distutils.patch
@@ -0,0 +1,19 @@
+--- bindings/Makefile.am.old 2008-02-24 22:47:19.000000000 +0100
++++ bindings/Makefile.am 2008-02-24 22:47:40.000000000 +0100
+@@ -25,16 +25,10 @@
+ -cd $(srcdir)/Python && $(PYTHON) setup.py clean
+ -cd $(srcdir)/Python && rm -rf build
+
+-if WITH_PYTHON
+-PYTHON_ALL = python-build
+-PYTHON_INSTALL = python-install
+-PYTHON_CLEAN = python-clean
+-else
+ PYTHON_ALL =
+ PYTHON_INSTALL =
+ PYTHON_MCLEAN =
+ PYTHON_CLEAN =
+-endif
+
+ #
+ # Perl Building
diff --git a/app-pda/pilot-link/files/pilot-link-0.12.3-java-install.patch b/app-pda/pilot-link/files/pilot-link-0.12.3-java-install.patch
new file mode 100644
index 000000000000..8cdd613aa441
--- /dev/null
+++ b/app-pda/pilot-link/files/pilot-link-0.12.3-java-install.patch
@@ -0,0 +1,25 @@
+Use java eclass for install instead.
+
+--- bindings/Java/Makefile.am
++++ bindings/Java/Makefile.am
+@@ -81,20 +81,6 @@
+ java_pisock: java_compile java_lib java_jar
+
+ install: all
+- ARCH=""; \
+- for a in i386 amd64 ppc; do \
+- if [ -e ${JAVABASE}/jre/lib/$${a} ]; then \
+- ARCH="$${a}"; \
+- break; \
+- fi; \
+- done; \
+- if [ -n "$${ARCH}" ]; then \
+- echo "Unknown architecture. Copy lipijsock.so to ${JAVABASE}/jre/lib/ARCH/"; \
+- else \
+- mkdir -p "$(DESTDIR)${JAVABASE}/jre/lib/$${ARCH}" && \
+- cp libjpisock.so "$(DESTDIR)${JAVABASE}/jre/lib/$${ARCH}"; \
+- echo "done."; \
+- fi
+
+ test: install
+ ${JAVABASE}/bin/java test ${PORT}
diff --git a/app-pda/pilot-link/files/pilot-link-0.12.3-libpng14.patch b/app-pda/pilot-link/files/pilot-link-0.12.3-libpng14.patch
new file mode 100644
index 000000000000..14b8c16ac3b1
--- /dev/null
+++ b/app-pda/pilot-link/files/pilot-link-0.12.3-libpng14.patch
@@ -0,0 +1,98 @@
+http://repos.archlinux.org/wsvn/packages/pilot-link/trunk/pilot-link-png14.patch
+
+--- src/pilot-read-notepad.c
++++ src/pilot-read-notepad.c
+@@ -39,10 +39,6 @@
+
+ #ifdef HAVE_PNG
+ #include "png.h"
+-#if (PNG_LIBPNG_VER < 10201)
+- #define png_voidp_NULL (png_voidp)NULL
+- #define png_error_ptr_NULL (png_error_ptr)NULL
+-#endif
+ #endif
+
+ const char *progname;
+@@ -166,8 +162,8 @@
+ width = n->body.width + 8;
+
+ png_ptr = png_create_write_struct
+- ( PNG_LIBPNG_VER_STRING, png_voidp_NULL,
+- png_error_ptr_NULL, png_error_ptr_NULL);
++ ( PNG_LIBPNG_VER_STRING, NULL,
++ NULL, NULL);
+
+ if(!png_ptr)
+ return;
+--- src/pilot-read-palmpix.c
++++ src/pilot-read-palmpix.c
+@@ -42,10 +42,6 @@
+
+ #ifdef HAVE_PNG
+ #include "png.h"
+-#if (PNG_LIBPNG_VER < 10201)
+- #define png_voidp_NULL (png_voidp)NULL
+- #define png_error_ptr_NULL (png_error_ptr)NULL
+-#endif
+ #endif
+
+ const char *progname;
+@@ -223,8 +219,8 @@
+ png_infop info_ptr;
+
+ png_ptr = png_create_write_struct
+- ( PNG_LIBPNG_VER_STRING, png_voidp_NULL,
+- png_error_ptr_NULL, png_error_ptr_NULL);
++ ( PNG_LIBPNG_VER_STRING, NULL,
++ NULL, NULL);
+
+ if(!png_ptr)
+ return;
+--- src/pilot-read-screenshot.c
++++ src/pilot-read-screenshot.c
+@@ -40,10 +40,6 @@
+
+ #ifdef HAVE_PNG
+ # include "png.h"
+-# if (PNG_LIBPNG_VER < 10201)
+-# define png_voidp_NULL (png_voidp)NULL
+-# define png_error_ptr_NULL (png_error_ptr)NULL
+-# endif
+ #endif
+
+ #define pi_mktag(c1,c2,c3,c4) (((c1)<<24)|((c2)<<16)|((c3)<<8)|(c4))
+@@ -87,8 +83,8 @@
+ gray_buf = malloc( state->w );
+
+ png_ptr = png_create_write_struct
+- (PNG_LIBPNG_VER_STRING, png_voidp_NULL,
+- png_error_ptr_NULL, png_error_ptr_NULL);
++ (PNG_LIBPNG_VER_STRING, NULL,
++ NULL, NULL);
+
+ if (!png_ptr)
+ return;
+--- src/pilot-read-veo.c
++++ src/pilot-read-veo.c
+@@ -41,10 +41,6 @@
+
+ #ifdef HAVE_PNG
+ # include "png.h"
+-# if (PNG_LIBPNG_VER < 10201)
+-# define png_voidp_NULL (png_voidp)NULL
+-# define png_error_ptr_NULL (png_error_ptr)NULL
+-# endif
+ #endif
+
+ #define pi_mktag(c1,c2,c3,c4) (((c1)<<24)|((c2)<<16)|((c3)<<8)|(c4))
+@@ -856,8 +852,8 @@
+ png_infop info_ptr;
+
+ png_ptr = png_create_write_struct
+- (PNG_LIBPNG_VER_STRING, png_voidp_NULL,
+- png_error_ptr_NULL, png_error_ptr_NULL);
++ (PNG_LIBPNG_VER_STRING, NULL,
++ NULL, NULL);
+
+ if (!png_ptr)
+ return;
diff --git a/app-pda/pilot-link/files/pilot-link-0.12.3-libusb-compat-usb_open.patch b/app-pda/pilot-link/files/pilot-link-0.12.3-libusb-compat-usb_open.patch
new file mode 100644
index 000000000000..3f580c5af1e1
--- /dev/null
+++ b/app-pda/pilot-link/files/pilot-link-0.12.3-libusb-compat-usb_open.patch
@@ -0,0 +1,21 @@
+With libusb-compat, usb_open() calls must be checked for their return value, as
+NULL is now returned on failure.
+
+Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
+
+diff -Nuar pilot-link-0.12.3.orig/libpisock/libusb.c pilot-link-0.12.3/libpisock/libusb.c
+--- pilot-link-0.12.3.orig/libpisock/libusb.c 2007-02-09 08:06:22.000000000 -0800
++++ pilot-link-0.12.3/libpisock/libusb.c 2009-05-18 17:32:16.316895284 -0700
+@@ -141,6 +141,12 @@
+
+ LOG((PI_DBG_DEV, PI_DBG_LVL_DEBUG, "%s: USB_handle=%p\n",
+ __FILE__, USB_handle));
++
++ if(USB_handle == NULL) {
++ LOG((PI_DBG_DEV, PI_DBG_LVL_DEBUG, "%s: Unable to open device.\n",
++ __FILE__));
++ continue;
++ }
+
+ data->ref = USB_handle;
+
diff --git a/app-pda/pilot-link/files/pilot-link-0.12.3-png.patch b/app-pda/pilot-link/files/pilot-link-0.12.3-png.patch
new file mode 100644
index 000000000000..4de7b3a46b75
--- /dev/null
+++ b/app-pda/pilot-link/files/pilot-link-0.12.3-png.patch
@@ -0,0 +1,78 @@
+diff -Naur pilot-link-0.12.3.orig/configure.ac pilot-link-0.12.3/configure.ac
+--- pilot-link-0.12.3.orig/configure.ac 2007-11-09 20:36:37.000000000 +0100
++++ pilot-link-0.12.3/configure.ac 2007-12-19 21:38:27.000000000 +0100
+@@ -225,42 +225,44 @@
+ AC_ARG_WITH(libpng,
+ [ --with-libpng Prefix where libpng is installed])
+
+- case $with_libpng in
+- /*)
+- PNG_CFLAGS="-I$withval/include"
+- PNG_LIBS="-L$withval/lib"
+- ;;
+- esac
++ if test "x$with_libpng" != "xno"; then
+
+- save_CFLAGS="$CFLAGS"
+- save_CPPFLAGS="$CPPFLAGS"
+- save_LDFLAGS="$LDFLAGS"
+- CFLAGS="$CFLAGS $PNG_CFLAGS"
+- CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
+- LDFLAGS="$LDFLAGS $PNG_LIBS"
+-
+- AC_CHECK_LIB(png, main, [have_png=yes; PNG_LIBS="$PNG_LIBS -lpng"],[have_png=no],[-lm])
+- if test "$have_png" = yes; then
+- AC_CHECK_HEADER(png.h, , have_png=no)
++ case $with_libpng in
++ /*)
++ PNG_CFLAGS="-I$withval/include"
++ PNG_LIBS="-L$withval/lib"
++ ;;
++ esac
++
++ save_CFLAGS="$CFLAGS"
++ save_CPPFLAGS="$CPPFLAGS"
++ save_LDFLAGS="$LDFLAGS"
++ CFLAGS="$CFLAGS $PNG_CFLAGS"
++ CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
++ LDFLAGS="$LDFLAGS $PNG_LIBS"
++
++ AC_CHECK_LIB(png, main, [have_png=yes; PNG_LIBS="$PNG_LIBS -lpng"],[have_png=no],[-lm])
+ if test "$have_png" = yes; then
+- AC_MSG_CHECKING(for png setjmp support)
+- AC_EGREP_CPP(yes,
+- [#include <png.h>
+- #ifdef PNG_SETJMP_SUPPORTED
+- yes
+- #endif], , have_png=no)
+- AC_MSG_RESULT($have_png)
++ AC_CHECK_HEADER(png.h, , have_png=no)
+ if test "$have_png" = yes; then
+- AC_DEFINE(HAVE_PNG, 1, [Define if we have PNG support])
+- have_png=yes
+- msg_png=yes
++ AC_MSG_CHECKING(for png setjmp support)
++ AC_EGREP_CPP(yes,
++ [#include <png.h>
++ #ifdef PNG_SETJMP_SUPPORTED
++ yes
++ #endif], , have_png=no)
++ AC_MSG_RESULT($have_png)
++ if test "$have_png" = yes; then
++ AC_DEFINE(HAVE_PNG, 1, [Define if we have PNG support])
++ have_png=yes
++ msg_png=yes
++ fi
+ fi
+ fi
++ CFLAGS="$save_CFLAGS"
++ CPPFLAGS="$save_CPPFLAGS"
++ LDFLAGS="$save_LDFLAGS"
+ fi
+-
+- CFLAGS="$save_CFLAGS"
+- CPPFLAGS="$save_CPPFLAGS"
+- LDFLAGS="$save_LDFLAGS"
+ else
+ have_png="none"
+ PNG_CFLAGS=
diff --git a/app-pda/pilot-link/files/pilot-link-0.12.3-respect-javacflags.patch b/app-pda/pilot-link/files/pilot-link-0.12.3-respect-javacflags.patch
new file mode 100644
index 000000000000..0904377c2f0b
--- /dev/null
+++ b/app-pda/pilot-link/files/pilot-link-0.12.3-respect-javacflags.patch
@@ -0,0 +1,13 @@
+http://bugs.gentoo.org/267445
+
+--- bindings/Java/Makefile.am
++++ bindings/Java/Makefile.am
+@@ -70,7 +70,7 @@
+ $(java_classes): java_compile
+
+ java_compile: $(java_files)
+- $(JAVAC) -d . $(java_files)
++ $(JAVAC) $(JAVACFLAGS) -d . $(java_files)
+
+ java_lib: libjpisock.c
+ $(CXX) $(INCLUDES) -fPIC $(DEFS) -L $(top_builddir)/libpisock/.libs -lpisock -shared -o libjpisock.so $(srcdir)/libjpisock.c
diff --git a/app-pda/pilot-link/files/pilot-link-0.12.5-perl514.patch b/app-pda/pilot-link/files/pilot-link-0.12.5-perl514.patch
new file mode 100644
index 000000000000..72d68d4c4f99
--- /dev/null
+++ b/app-pda/pilot-link/files/pilot-link-0.12.5-perl514.patch
@@ -0,0 +1,625 @@
+From ef1794b51e327cc80ec4cd95d6c97f954b912860 Mon Sep 17 00:00:00 2001
+From: Niko Tyni <ntyni@debian.org>
+Date: Sun, 10 Jul 2011 10:28:51 +0300
+Subject: [PATCH] Don't use PERL_POLLUTE macros
+
+The sv_yes, sv_no, sv_undef, etc. symbol names are compatibility
+macros that have been deprecated since Perl 5.6.
+
+Perl 5.14.0 removes support for defining PERL_POLLUTE to get these
+compatibility macros, so replace them all with the current names
+(PL_sv_yes, PL_sv_no, etc.) and don't define PERL_POLLUTE any more.
+
+This should work on all Perls since 5.6; it's been verified with 5.12.4
+and 5.14.0.
+---
+ bindings/Perl/Makefile.PL.in | 1 -
+ bindings/Perl/Pilot.xs | 158 +++++++++++++++++++++---------------------
+ bindings/Perl/typemap | 4 +-
+ 3 files changed, 81 insertions(+), 82 deletions(-)
+
+diff --git a/bindings/Perl/Makefile.PL.in b/bindings/Perl/Makefile.PL.in
+index 853e6eb..337cac0 100644
+--- a/bindings/Perl/Makefile.PL.in
++++ b/bindings/Perl/Makefile.PL.in
+@@ -39,7 +39,6 @@ WriteMakefile(
+ 'VERSION' => '@PILOT_LINK_VERS@.@PILOT_LINK_MAJOR@.@PILOT_LINK_MINOR@@PILOT_LINK_PATCH@',
+ 'XSPROTOARG' => '-noprototypes',
+ 'INC' => "-I$plincdir",
+- 'DEFINE' => '-DPERL_POLLUTE',
+ 'PREFIX' => "$prefix",
+ 'INSTALLDIRS'=> 'vendor',
+ 'dynamic_lib'=> {'OTHERLDFLAGS' => $lib},
+diff --git a/bindings/Perl/Pilot.xs b/bindings/Perl/Pilot.xs
+index 5a633ff..366d646 100644
+--- a/bindings/Perl/Pilot.xs
++++ b/bindings/Perl/Pilot.xs
+@@ -160,7 +160,7 @@ SvChar4(arg)
+
+ #define pack_dbinfo(arg, var, failure) { \
+ if (failure < 0) { \
+- arg = &sv_undef; \
++ arg = &PL_sv_undef; \
+ self->errnop = failure; \
+ } else { \
+ HV * i = newHV(); \
+@@ -214,15 +214,15 @@ SvChar4(arg)
+ var.createDate = (s = hv_fetch(i, "createDate", 10, 0)) ? SvIV(*s) : 0;\
+ var.modifyDate = (s = hv_fetch(i, "modifyDate", 10, 0)) ? SvIV(*s) : 0;\
+ var.backupDate = (s = hv_fetch(i, "backupDate", 10, 0)) ? SvIV(*s) : 0;\
+- if ((s = hv_fetch(i, "name", 4, 0)) ? SvPV(*s,na) : 0) \
+- strncpy(var.name, SvPV(*s, na), sizeof(var.name)); \
++ if ((s = hv_fetch(i, "name", 4, 0)) ? SvPV(*s,PL_na) : 0) \
++ strncpy(var.name, SvPV(*s, PL_na), sizeof(var.name)); \
+ } else {\
+ croak("argument is not a hash reference"); \
+ }
+
+ #define pack_userinfo(arg, var, failure) { \
+ if (failure < 0) { \
+- arg = &sv_undef; \
++ arg = &PL_sv_undef; \
+ self->errnop = failure; \
+ } else { \
+ HV * i = newHV(); \
+@@ -246,8 +246,8 @@ SvChar4(arg)
+ var.lastSyncPC = (s = hv_fetch(i, "lastSyncPC", 10, 0)) ? SvIV(*s) : 0;\
+ var.lastSyncDate = (s = hv_fetch(i, "lastSyncDate", 12, 0)) ? SvIV(*s) : 0;\
+ var.successfulSyncDate = (s = hv_fetch(i, "successfulSyncDate", 18, 0)) ? SvIV(*s) : 0;\
+- if ((s = hv_fetch(i, "name", 4, 0)) ? SvPV(*s,na) : 0)\
+- strncpy(var.username, SvPV(*s, na), sizeof(var.username));\
++ if ((s = hv_fetch(i, "name", 4, 0)) ? SvPV(*s,PL_na) : 0)\
++ strncpy(var.username, SvPV(*s, PL_na), sizeof(var.username));\
+ } else {\
+ croak("argument is not a hash reference");\
+ }
+@@ -287,7 +287,7 @@ SvChar4(arg)
+ }\
+ } else {\
+ self->errnop = result;\
+- PUSHs(&sv_undef);\
++ PUSHs(&PL_sv_undef);\
+ }
+
+ #define PackSI\
+@@ -329,7 +329,7 @@ SvChar4(arg)
+ }\
+ } else {\
+ self->errnop = result;\
+- PUSHs(&sv_undef);\
++ PUSHs(&PL_sv_undef);\
+ }
+
+ #define PackRecord {\
+@@ -421,7 +421,7 @@ SvChar4(arg)
+ }\
+ } else {\
+ self->errnop = result;\
+- PUSHs(&sv_undef);\
++ PUSHs(&PL_sv_undef);\
+ }
+
+ #define PackResource\
+@@ -473,7 +473,7 @@ SvChar4(arg)
+ }\
+ } else {\
+ self->errnop = result;\
+- PUSHs(&sv_undef);\
++ PUSHs(&PL_sv_undef);\
+ }
+
+ #define PackPref\
+@@ -536,7 +536,7 @@ SvChar4(arg)
+ croak("Unable to create resource");\
+ } else {\
+ self->errnop = result;\
+- PUSHs(&sv_undef);\
++ PUSHs(&PL_sv_undef);\
+ }
+
+ void doUnpackCategory(HV * self, struct CategoryAppInfo * c)
+@@ -576,7 +576,7 @@ void doPackCategory(HV * self, struct CategoryAppInfo * c)
+
+ if ((s = hv_fetch(self, "categoryName", 12, 0)) && SvOK(*s) && SvRV(*s) && (SvTYPE(av=(AV*)SvRV(*s))==SVt_PVAV))
+ for (i=0;i<16;i++)
+- strncpy(c->name[i], (s=av_fetch(av, i, 0)) ? SvPV(*s,na) : "", 16);
++ strncpy(c->name[i], (s=av_fetch(av, i, 0)) ? SvPV(*s,PL_na) : "", 16);
+ else
+ for (i=0;i<16;i++)
+ strcpy(c->name[i], "");
+@@ -602,7 +602,7 @@ void doPackCategory(HV * self, struct CategoryAppInfo * c)
+ int SvList(SV * arg, char **list)
+ {
+ int i;
+- char * str = SvPV(arg, na);
++ char * str = SvPV(arg, PL_na);
+ for (i=0;list[i];i++)
+ if (strcasecmp(list[i], str)==0)
+ return i;
+@@ -781,11 +781,11 @@ Pack(record)
+ croak("Invalid advance unit %d encountered", u);
+ }
+ } else {
+- if (strEQ(SvPV(*s, na), "minutes"))
++ if (strEQ(SvPV(*s, PL_na), "minutes"))
+ u = 0;
+- else if (strEQ(SvPV(*s, na), "hours"))
++ else if (strEQ(SvPV(*s, PL_na), "hours"))
+ u = 1;
+- else if (strEQ(SvPV(*s, na), "days"))
++ else if (strEQ(SvPV(*s, PL_na), "days"))
+ u = 2;
+ else
+ croak("Invalid advance unit %d encountered", u);
+@@ -850,10 +850,10 @@ Pack(record)
+ }
+ }
+
+- a.description = (s = hv_fetch(h, "description", 11, 0)) ? SvPV(*s,na) : 0;
++ a.description = (s = hv_fetch(h, "description", 11, 0)) ? SvPV(*s,PL_na) : 0;
+ if (!a.description)
+ croak("appointments must contain a description");
+- a.note = (s = hv_fetch(h, "note", 4, 0)) ? SvPV(*s,na) : 0;
++ a.note = (s = hv_fetch(h, "note", 4, 0)) ? SvPV(*s,PL_na) : 0;
+
+ if (pack_Appointment(&a, &pibuf, datebook_v1) < 0) {
+ croak("pack_Appointment failed");
+@@ -897,7 +897,7 @@ UnpackAppBlock(record)
+ }
+
+ SvPV(record,len);
+- if (unpack_AppointmentAppInfo(&a, (CPTR)SvPV(record, na), len)>0) {
++ if (unpack_AppointmentAppInfo(&a, (CPTR)SvPV(record, PL_na), len)>0) {
+
+ doUnpackCategory(ret, &a.category);
+
+@@ -1023,8 +1023,8 @@ Pack(record)
+ a.indefinite = 1;
+ }
+
+- a.description = (s = hv_fetch(h, "description", 11, 0)) ? SvPV(*s,na) : 0;
+- a.note = (s = hv_fetch(h, "note", 4, 0)) ? SvPV(*s,na) : 0;
++ a.description = (s = hv_fetch(h, "description", 11, 0)) ? SvPV(*s,PL_na) : 0;
++ a.note = (s = hv_fetch(h, "note", 4, 0)) ? SvPV(*s,PL_na) : 0;
+
+ if (pack_ToDo(&a, &pibuf, todo_v1) < 0) {
+ croak("pack_ToDo failed");
+@@ -1065,7 +1065,7 @@ UnpackAppBlock(record)
+ }
+
+ SvPV(record,len);
+- if (unpack_ToDoAppInfo(&a, (CPTR)SvPV(record, na), len)>0) {
++ if (unpack_ToDoAppInfo(&a, (CPTR)SvPV(record, PL_na), len)>0) {
+
+ doUnpackCategory(ret, &a.category);
+
+@@ -1160,7 +1160,7 @@ Unpack(record)
+ hv_store(ret, "entry", 5, newRV_noinc((SV*)e), 0);
+
+ for (i=0;i<19;i++) {
+- av_push(e, a.entry[i] ? newSVpv(a.entry[i],0) : &sv_undef);
++ av_push(e, a.entry[i] ? newSVpv(a.entry[i],0) : &PL_sv_undef);
+ }
+
+ hv_store(ret, "showPhone", 9, newSViv(a.showPhone), 0);
+@@ -1200,7 +1200,7 @@ Pack(record)
+
+ if ((s = hv_fetch(h, "entry", 5, 0)) && SvOK(*s) && SvRV(*s) && (SvTYPE(av=(AV*)SvRV(*s))==SVt_PVAV))
+ for (i=0;i<19;i++)
+- a.entry[i] = ((s=av_fetch(av, i, 0)) && SvOK(*s)) ? SvPV(*s,na) : 0;
++ a.entry[i] = ((s=av_fetch(av, i, 0)) && SvOK(*s)) ? SvPV(*s,PL_na) : 0;
+ else
+ for (i=0;i<19;i++)
+ a.entry[i] = 0;
+@@ -1249,7 +1249,7 @@ UnpackAppBlock(record)
+ }
+
+ SvPV(record,len);
+- if (unpack_AddressAppInfo(&a, (CPTR)SvPV(record, na), len)>0) {
++ if (unpack_AddressAppInfo(&a, (CPTR)SvPV(record, PL_na), len)>0) {
+
+ doUnpackCategory(ret, &a.category);
+
+@@ -1309,13 +1309,13 @@ PackAppBlock(record)
+ a.sortByCompany = (s = hv_fetch(h, "sortByCompany", 13, 0)) ? SvIV(*s) : 0;
+
+ if ((s = hv_fetch(h, "label", 5, 0)) && SvOK(*s) && SvRV(*s) && (SvTYPE(av=(AV*)SvRV(*s))==SVt_PVAV))
+- for (i=0;i<22;i++) strncpy(a.labels[i], (s=av_fetch(av, i, 0)) ? SvPV(*s,na) : "", 16);
++ for (i=0;i<22;i++) strncpy(a.labels[i], (s=av_fetch(av, i, 0)) ? SvPV(*s,PL_na) : "", 16);
+ else
+ for (i=0;i<22;i++) a.labels[i][0] = 0;
+ for (i=0;i<22;i++) a.labels[i][15] = 0;
+
+ if ((s = hv_fetch(h, "phoneLabel", 10, 0)) && SvOK(*s) && SvRV(*s) && (SvTYPE(av=(AV*)SvRV(*s))==SVt_PVAV))
+- for (i=0;i<8;i++) strncpy(a.phoneLabels[i], (s=av_fetch(av, i, 0)) ? SvPV(*s,na) : "", 16);
++ for (i=0;i<8;i++) strncpy(a.phoneLabels[i], (s=av_fetch(av, i, 0)) ? SvPV(*s,PL_na) : "", 16);
+ else
+ for (i=0;i<8;i++) a.phoneLabels[i][0] = 0;
+ for (i=0;i<8;i++) a.phoneLabels[i][15] = 0;
+@@ -1396,7 +1396,7 @@ Pack(record)
+ else {
+
+ if ((s = hv_fetch(h, "text", 4, 0)))
+- a.text = SvPV(*s,na);
++ a.text = SvPV(*s,PL_na);
+ else
+ a.text = 0;
+
+@@ -1438,7 +1438,7 @@ UnpackAppBlock(record)
+ }
+
+ SvPV(record,len);
+- if (unpack_MemoAppInfo(&a, (CPTR)SvPV(record, na), len)>0) {
++ if (unpack_MemoAppInfo(&a, (CPTR)SvPV(record, PL_na), len)>0) {
+
+ doUnpackCategory(ret, &a.category);
+
+@@ -1510,7 +1510,7 @@ Unpack(record)
+
+ SvPV(record,len);
+ if (len > 0) { /* len == 0 if deleted flag is set */
+- if (unpack_Expense(&e, (CPTR)SvPV(record, na), len)>0) {
++ if (unpack_Expense(&e, (CPTR)SvPV(record, PL_na), len)>0) {
+
+ hv_store(ret, "date", 4, newRV_noinc((SV*)tmtoav(&e.date)), 0);
+ hv_store(ret, "type", 4, newSVlist(e.type,ExpenseTypeNames),0);
+@@ -1570,15 +1570,15 @@ Pack(record)
+ avtotm((AV*)SvRV(*s), &e.date);
+ else
+ croak("expense record must contain date");
+- if ((s = hv_fetch(h, "amount", 6, 0))) e.amount = SvPV(*s,na);
++ if ((s = hv_fetch(h, "amount", 6, 0))) e.amount = SvPV(*s,PL_na);
+ else e.amount = 0;
+- if ((s = hv_fetch(h, "vendor", 6, 0))) e.vendor = SvPV(*s,na);
++ if ((s = hv_fetch(h, "vendor", 6, 0))) e.vendor = SvPV(*s,PL_na);
+ else e.vendor = 0;
+- if ((s = hv_fetch(h, "city", 4, 0))) e.city = SvPV(*s,na);
++ if ((s = hv_fetch(h, "city", 4, 0))) e.city = SvPV(*s,PL_na);
+ else e.city = 0;
+- if ((s = hv_fetch(h, "attendess", 9, 0))) e.attendees = SvPV(*s,na);
++ if ((s = hv_fetch(h, "attendess", 9, 0))) e.attendees = SvPV(*s,PL_na);
+ else e.attendees = 0;
+- if ((s = hv_fetch(h, "note", 4, 0))) e.note = SvPV(*s,na);
++ if ((s = hv_fetch(h, "note", 4, 0))) e.note = SvPV(*s,PL_na);
+ else e.note = 0;
+
+ len = pack_Expense(&e, mybuf, 0xffff);
+@@ -1619,7 +1619,7 @@ UnpackAppBlock(record)
+ }
+
+ SvPV(record,len);
+- if (unpack_ExpenseAppInfo(&e, (CPTR)SvPV(record, na), len)>0) {
++ if (unpack_ExpenseAppInfo(&e, (CPTR)SvPV(record, PL_na), len)>0) {
+
+ hv_store(ret, "sortOrder", 9, newSVlist(e.sortOrder,ExpenseSortNames),0);
+ a = newAV();
+@@ -1662,15 +1662,15 @@ PackAppBlock(record)
+ HV * hv;
+ if ((s=av_fetch(av, i, 0)) && SvOK(*s) && SvRV(*s) && (SvTYPE(hv=(HV*)SvRV(*s))==SVt_PVHV)) {
+ if (s = hv_fetch(hv, "name", 4, 0)) {
+- strncpy(e.currencies[i].name, SvPV(*s, na), 16);
++ strncpy(e.currencies[i].name, SvPV(*s, PL_na), 16);
+ e.currencies[i].name[15] = 0;
+ }
+ if (s = hv_fetch(hv, "symbol", 6, 0)) {
+- strncpy(e.currencies[i].symbol, SvPV(*s, na), 4);
++ strncpy(e.currencies[i].symbol, SvPV(*s, PL_na), 4);
+ e.currencies[i].symbol[3] = 0;
+ }
+ if (s = hv_fetch(hv, "rate", 4, 0)) {
+- strncpy(e.currencies[i].rate, SvPV(*s, na), 8);
++ strncpy(e.currencies[i].rate, SvPV(*s, PL_na), 8);
+ e.currencies[i].rate[7] = 0;
+ }
+ }
+@@ -1718,7 +1718,7 @@ UnpackPref(record)
+ }
+
+ SvPV(record,len);
+- if (unpack_ExpensePref(&a, (CPTR)SvPV(record, na), len)>0) {
++ if (unpack_ExpensePref(&a, (CPTR)SvPV(record, PL_na), len)>0) {
+
+ hv_store(ret, "unitOfDistance", 14, newSVlist(a.unitOfDistance, ExpenseDistanceNames), 0);
+ hv_store(ret, "currentCategory", 15, newSViv(a.currentCategory), 0);
+@@ -1811,7 +1811,7 @@ Unpack(record)
+
+ SvPV(record,len);
+ if (len > 0) { /* len == 0 if deleted flag is set */
+- if (unpack_Mail(&a, (CPTR)SvPV(record, na), len)>0) {
++ if (unpack_Mail(&a, (CPTR)SvPV(record, PL_na), len)>0) {
+
+ if (a.subject) hv_store(ret, "subject", 7, newSVpv(a.subject,0), 0);
+ if (a.from) hv_store(ret, "from", 4, newSVpv(a.from,0), 0);
+@@ -1858,14 +1858,14 @@ Pack(record)
+ }
+ else {
+
+- a.subject = (s = hv_fetch(h, "subject", 7, 0)) ? SvPV(*s,na) : 0;
+- a.from = (s = hv_fetch(h, "from", 4, 0)) ? SvPV(*s,na) : 0;
+- a.to = (s = hv_fetch(h, "to", 2, 0)) ? SvPV(*s,na) : 0;
+- a.cc = (s = hv_fetch(h, "cc", 2, 0)) ? SvPV(*s,na) : 0;
+- a.bcc = (s = hv_fetch(h, "bcc", 3, 0)) ? SvPV(*s,na) : 0;
+- a.replyTo = (s = hv_fetch(h, "replyTo", 7, 0)) ? SvPV(*s,na) : 0;
+- a.sentTo = (s = hv_fetch(h, "sentTo", 6, 0)) ? SvPV(*s,na) : 0;
+- a.body = (s = hv_fetch(h, "body", 4, 0)) ? SvPV(*s,na) : 0;
++ a.subject = (s = hv_fetch(h, "subject", 7, 0)) ? SvPV(*s,PL_na) : 0;
++ a.from = (s = hv_fetch(h, "from", 4, 0)) ? SvPV(*s,PL_na) : 0;
++ a.to = (s = hv_fetch(h, "to", 2, 0)) ? SvPV(*s,PL_na) : 0;
++ a.cc = (s = hv_fetch(h, "cc", 2, 0)) ? SvPV(*s,PL_na) : 0;
++ a.bcc = (s = hv_fetch(h, "bcc", 3, 0)) ? SvPV(*s,PL_na) : 0;
++ a.replyTo = (s = hv_fetch(h, "replyTo", 7, 0)) ? SvPV(*s,PL_na) : 0;
++ a.sentTo = (s = hv_fetch(h, "sentTo", 6, 0)) ? SvPV(*s,PL_na) : 0;
++ a.body = (s = hv_fetch(h, "body", 4, 0)) ? SvPV(*s,PL_na) : 0;
+
+ a.read = (s = hv_fetch(h, "read", 4, 0)) ? SvIV(*s) : 0;
+ a.signature = (s = hv_fetch(h, "signature", 9, 0)) ? SvIV(*s) : 0;
+@@ -1913,7 +1913,7 @@ UnpackAppBlock(record)
+ }
+
+ SvPV(record,len);
+- if (unpack_MailAppInfo(&a, (CPTR)SvPV(record, na), len)>0) {
++ if (unpack_MailAppInfo(&a, (CPTR)SvPV(record, PL_na), len)>0) {
+
+ doUnpackCategory(ret, &a.category);
+
+@@ -1989,7 +1989,7 @@ UnpackSyncPref(record)
+ }
+
+ SvPV(record,len);
+- if (unpack_MailSyncPref(&a, (CPTR)SvPV(record, na), len)>0) {
++ if (unpack_MailSyncPref(&a, (CPTR)SvPV(record, PL_na), len)>0) {
+
+ hv_store(ret, "syncType", 8, newSVlist(a.syncType, MailSyncTypeNames), 0);
+ hv_store(ret, "getHigh", 7, newSViv(a.getHigh), 0);
+@@ -2033,9 +2033,9 @@ PackSyncPref(record, id)
+ a.getContaining = (s=hv_fetch(h,"getContaining",13,0)) ? SvIV(*s) : 0;
+ a.truncate = (s=hv_fetch(h,"truncate",8,0)) ? SvIV(*s) : 0;
+
+- a.filterTo = (s=hv_fetch(h,"filterTo",8,0)) ? SvPV(*s,na) : 0;
+- a.filterFrom = (s=hv_fetch(h,"filterFrom",10,0)) ? SvPV(*s,na) : 0;
+- a.filterSubject = (s=hv_fetch(h,"filterSubject",13,0)) ? SvPV(*s,na) : 0;
++ a.filterTo = (s=hv_fetch(h,"filterTo",8,0)) ? SvPV(*s,PL_na) : 0;
++ a.filterFrom = (s=hv_fetch(h,"filterFrom",10,0)) ? SvPV(*s,PL_na) : 0;
++ a.filterSubject = (s=hv_fetch(h,"filterSubject",13,0)) ? SvPV(*s,PL_na) : 0;
+
+ len = pack_MailSyncPref(&a, mybuf, 0xffff);
+
+@@ -2073,7 +2073,7 @@ UnpackSignaturePref(record)
+ }
+
+ SvPV(record,len);
+- if (unpack_MailSignaturePref(&a, (CPTR)SvPV(record, na), len)>0) {
++ if (unpack_MailSignaturePref(&a, (CPTR)SvPV(record, PL_na), len)>0) {
+
+ if (a.signature)
+ hv_store(ret, "signature", 9, newSVpv(a.signature, 0), 0);
+@@ -2099,7 +2099,7 @@ PackSignaturePref(record, id)
+ RETVAL = record;
+ else {
+
+- a.signature = (s=hv_fetch(h,"signature",9,0)) ? SvPV(*s,na) : 0;
++ a.signature = (s=hv_fetch(h,"signature",9,0)) ? SvPV(*s,PL_na) : 0;
+
+ len = pack_MailSignaturePref(&a, mybuf, 0xffff);
+
+@@ -2129,7 +2129,7 @@ write(socket, msg)
+ {
+ STRLEN len;
+ SvPV(msg, len);
+- RETVAL = pi_write(socket,SvPV(msg,na),len);
++ RETVAL = pi_write(socket,SvPV(msg,PL_na),len);
+ }
+
+ SV *
+@@ -2146,7 +2146,7 @@ read(socket, len)
+ if (result >=0)
+ RETVAL = newSVpvn((char *) pibuf.data, result);
+ else
+- RETVAL = &sv_undef;
++ RETVAL = &PL_sv_undef;
+ }
+ OUTPUT:
+ RETVAL
+@@ -2282,7 +2282,7 @@ class(self, name=0)
+ croak("DBClasses doesn't exist");
+ if (SvOK(name)) {
+ (void)SvPV(name,len);
+- s = hv_fetch(h, SvPV(name,na), len, 0);
++ s = hv_fetch(h, SvPV(name,PL_na), len, 0);
+ }
+ if (!s)
+ s = hv_fetch(h, "", 0, 0);
+@@ -2577,7 +2577,7 @@ getRecords(self)
+ {
+ int result = dlp_ReadOpenDBInfo(self->socket, self->handle, &RETVAL);
+ if (result < 0) {
+- RETVAL = newSVsv(&sv_undef);
++ RETVAL = newSVsv(&PL_sv_undef);
+ self->errnop = result;
+ }
+ }
+@@ -2745,7 +2745,7 @@ setResource(self, data)
+ result = dlp_WriteResource(self->socket, self->handle, type, id, c, len);
+ if (result < 0) {
+ self->errnop = result;
+- RETVAL = newSVsv(&sv_undef);
++ RETVAL = newSVsv(&PL_sv_undef);
+ } else
+ RETVAL = newSViv(result);
+ }
+@@ -2798,7 +2798,7 @@ getPref(self, id=0, backup=1)
+ r = dlp_CloseDB(self->socket, self->handle);
+ result = dlp_ReadAppPreference(self->socket, creator, id, backup, 0xFFFF, mybuf, &len, &version);
+ if (pi_version(self->socket)< 0x101)
+- r = dlp_OpenDB(self->socket, self->dbcard, self->dbmode, SvPV(self->dbname,na), &self->handle);
++ r = dlp_OpenDB(self->socket, self->dbcard, self->dbmode, SvPV(self->dbname,PL_na), &self->handle);
+ ReturnReadPref(mybuf, len);
+ }
+
+@@ -2822,10 +2822,10 @@ setPref(self, data)
+ r = dlp_CloseDB(self->socket, self->handle);
+ result = dlp_WriteAppPreference(self->socket, creator, id, backup, version, buf, len);
+ if (pi_version(self->socket)< 0x101)
+- r = dlp_OpenDB(self->socket, self->dbcard, self->dbmode, SvPV(self->dbname,na), &self->handle);
++ r = dlp_OpenDB(self->socket, self->dbcard, self->dbmode, SvPV(self->dbname,PL_na), &self->handle);
+ if (result < 0) {
+ self->errnop = result;
+- RETVAL = newSVsv(&sv_undef);
++ RETVAL = newSVsv(&PL_sv_undef);
+ } else {
+ RETVAL = newSViv(result);
+ }
+@@ -2861,7 +2861,7 @@ setPrefRaw(self, data, number, version, backup=1)
+ result = dlp_WriteAppPreference(self->socket, creator, number, backup, version, buf, len);
+ if (result < 0) {
+ self->errnop = result;
+- RETVAL = newSVsv(&sv_undef);
++ RETVAL = newSVsv(&PL_sv_undef);
+ } else {
+ RETVAL = newSViv(result);
+ }
+@@ -2904,7 +2904,7 @@ getTime(self)
+ int result = dlp_GetSysDateTime(self->socket, &t);
+ if (result < 0) {
+ self->errnop = result;
+- RETVAL = newSVsv(&sv_undef);
++ RETVAL = newSVsv(&PL_sv_undef);
+ } else
+ RETVAL = newSViv(t);
+ }
+@@ -2929,7 +2929,7 @@ getSysInfo(self)
+ int result = dlp_ReadSysInfo(self->socket, &si);
+ if (result < 0) {
+ self->errnop = result;
+- RETVAL = newSVsv(&sv_undef);
++ RETVAL = newSVsv(&PL_sv_undef);
+ } else {
+ HV * i = newHV();
+ hv_store(i, "romVersion", 10, newSViv(si.romVersion), 0);\
+@@ -2951,7 +2951,7 @@ getCardInfo(self, cardno=0)
+ int result = dlp_ReadStorageInfo(self->socket, cardno, &c);
+ if (result < 0) {
+ self->errnop = result;
+- RETVAL = newSVsv(&sv_undef);
++ RETVAL = newSVsv(&PL_sv_undef);
+ } else {
+ HV * i = newHV();
+ hv_store(i, "card", 6, newSViv(c.card), 0);\
+@@ -3037,7 +3037,7 @@ newPref(self, creator, id=0, version=0, backup=0)
+ croak("Default PrefClass not defined");
+ PUSHMARK(sp);
+ XPUSHs(newSVsv(*s));
+- XPUSHs(&sv_undef);
++ XPUSHs(&PL_sv_undef);
+ XPUSHs(sv_2mortal(newSVChar4(creator)));
+ if (id)
+ XPUSHs(id);
+@@ -3107,7 +3107,7 @@ open(self, name, mode=0, cardno=0)
+ result = dlp_OpenDB(self->socket, cardno, nummode, name, &handle);
+ if (result<0) {
+ self->errnop = result;
+- RETVAL = &sv_undef;
++ RETVAL = &PL_sv_undef;
+ } else {
+ int type;
+ PDA__Pilot__DLP__DB * x = malloc(sizeof(PDA__Pilot__DLP__DB));
+@@ -3156,7 +3156,7 @@ create(self, name, creator, type, flags, version, cardno=0)
+ int result = dlp_CreateDB(self->socket, creator, type, cardno, flags, version, name, &handle);
+ if (result<0) {
+ self->errnop = result;
+- RETVAL = &sv_undef;
++ RETVAL = &PL_sv_undef;
+ } else {
+ PDA__Pilot__DLP__DB * x = malloc(sizeof(PDA__Pilot__DLP__DB));
+ SV * sv = newSViv((IV)(void*)x);
+@@ -3224,7 +3224,7 @@ setPref(self, data)
+ result = dlp_WriteAppPreference(self->socket, creator, id, backup, version, buf, len);
+ if (result < 0) {
+ self->errnop = result;
+- RETVAL = newSVsv(&sv_undef);
++ RETVAL = newSVsv(&PL_sv_undef);
+ } else {
+ RETVAL = newSViv(result);
+ }
+@@ -3248,7 +3248,7 @@ setPrefRaw(self, data, creator, number, version, backup=1)
+ result = dlp_WriteAppPreference(self->socket, creator, number, backup, version, buf, len);
+ if (result < 0) {
+ self->errnop = result;
+- RETVAL = newSVsv(&sv_undef);
++ RETVAL = newSVsv(&PL_sv_undef);
+ } else {
+ RETVAL = newSViv(result);
+ }
+@@ -3350,7 +3350,7 @@ findDBInfo(self, start, name, creator, type, cardno=0)
+ else
+ t = 0;
+ result = dlp_FindDBInfo(self->socket, cardno, start,
+- SvOK(name) ? SvPV(name,na) : 0,
++ SvOK(name) ? SvPV(name,PL_na) : 0,
+ t, c, &info);
+ pack_dbinfo(RETVAL, info, result);
+ }
+@@ -3367,7 +3367,7 @@ getFeature(self, creator, number)
+ unsigned long f;
+ int result;
+ if ((result = dlp_ReadFeature(self->socket, creator, number, &f))<0) {
+- RETVAL = newSVsv(&sv_undef);
++ RETVAL = newSVsv(&PL_sv_undef);
+ self->errnop = result;
+ } else {
+ RETVAL = newSViv(f);
+@@ -3397,7 +3397,7 @@ getROMToken(self,token)
+ }
+
+ void
+-callApplication(self, creator, type, action, data=&sv_undef)
++callApplication(self, creator, type, action, data=&PL_sv_undef)
+ PDA::Pilot::DLP *self
+ Char4 creator
+ Char4 type
+@@ -3410,7 +3410,7 @@ callApplication(self, creator, type, action, data=&sv_undef)
+ int result;
+ (void)SvPV(data,len);
+ result = dlp_CallApplication(self->socket, creator,
+- type, action, len, SvPV(data,na),
++ type, action, len, SvPV(data,PL_na),
+ &retcode, &pibuf);
+ EXTEND(sp, 2);
+ if (result >= 0) {
+@@ -3419,7 +3419,7 @@ callApplication(self, creator, type, action, data=&sv_undef)
+ PUSHs(sv_2mortal(newSViv(retcode)));
+ }
+ } else
+- PUSHs(&sv_undef);
++ PUSHs(&PL_sv_undef);
+ }
+
+ int
+@@ -3530,7 +3530,7 @@ class(self, name=0)
+ croak("DBClasses doesn't exist");
+ if (SvOK(name)) {
+ (void)SvPV(name, len);
+- s = hv_fetch(h, SvPV(name, na), len, 0);
++ s = hv_fetch(h, SvPV(name, PL_na), len, 0);
+ }
+ if (!s)
+ s = hv_fetch(h, "", 0, 0);
+diff --git a/bindings/Perl/typemap b/bindings/Perl/typemap
+index 347a6a7..eeffa4c 100644
+--- a/bindings/Perl/typemap
++++ b/bindings/Perl/typemap
+@@ -50,9 +50,9 @@ T_CHAR4
+
+ T_RESULT
+ if ($var < 0) {
+- sv_setsv($arg, &sv_no);
++ sv_setsv($arg, &PL_sv_no);
+ self->errnop = $var;
+ } else
+- sv_setsv($arg, &sv_yes);
++ sv_setsv($arg, &PL_sv_yes);
+ T_PTROBJ
+ sv_setref_pv($arg, \"${ntype}\", (void*)$var);
+--
+1.7.5.4
+
diff --git a/app-pda/pilot-link/metadata.xml b/app-pda/pilot-link/metadata.xml
new file mode 100644
index 000000000000..228404d3a4b2
--- /dev/null
+++ b/app-pda/pilot-link/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>pda</herd>
+</pkgmetadata>
diff --git a/app-pda/pilot-link/pilot-link-0.12.5-r1.ebuild b/app-pda/pilot-link/pilot-link-0.12.5-r1.ebuild
new file mode 100644
index 000000000000..c6c0969e4080
--- /dev/null
+++ b/app-pda/pilot-link/pilot-link-0.12.5-r1.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit autotools distutils-r1 eutils perl-module java-pkg-opt-2
+
+DESCRIPTION="suite of tools for moving data between a Palm device and a desktop"
+HOMEPAGE="http://www.pilot-link.org/"
+SRC_URI="http://pilot-link.org/source/${P}.tar.bz2"
+
+LICENSE="|| ( GPL-2 LGPL-2 )"
+SLOT="0"
+KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE="bluetooth debug java perl png python readline static-libs threads usb"
+
+COMMON_DEPEND="dev-libs/popt
+ >=sys-libs/ncurses-5.7-r7
+ virtual/libiconv
+ bluetooth? ( net-wireless/bluez )
+ perl? ( >=dev-lang/perl-5.12 )
+ png? ( media-libs/libpng:0 )
+ readline? ( >=sys-libs/readline-6 )
+ usb? ( virtual/libusb:0 )"
+DEPEND="${COMMON_DEPEND}
+ java? ( >=virtual/jdk-1.4 )"
+RDEPEND="${COMMON_DEPEND}
+ java? ( >=virtual/jre-1.4 )"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-0.12.3-java-install.patch \
+ "${FILESDIR}"/${PN}-0.12.3-respect-javacflags.patch \
+ "${FILESDIR}"/${PN}-0.12.2-werror_194921.patch \
+ "${FILESDIR}"/${PN}-0.12.2-threads.patch \
+ "${FILESDIR}"/${PN}-0.12.3-{libpng14,png}.patch \
+ "${FILESDIR}"/${PN}-0.12.3-distutils.patch \
+ "${FILESDIR}"/${PN}-0.12.3-libusb-compat-usb_open.patch \
+ "${FILESDIR}"/${PN}-0.12.5-perl514.patch
+
+ sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #467600
+
+ AT_M4DIR="m4" eautoreconf
+}
+
+src_configure() {
+ # tcl/tk support is disabled as per upstream request.
+ econf \
+ --includedir="${EPREFIX}"/usr/include/libpisock \
+ $(use_enable static-libs static) \
+ --enable-conduits \
+ $(use_enable threads) \
+ $(use_enable usb libusb) \
+ $(use_enable debug) \
+ $(use_with png libpng) \
+ $(use_with bluetooth bluez) \
+ $(use_with readline) \
+ $(use_with perl) \
+ $(use_with java) \
+ --without-tcl \
+ $(use_with python)
+}
+
+src_compile() {
+ emake
+
+ if use perl; then
+ cd "${S}"/bindings/Perl
+ perl-module_src_configure
+ local mymake=( OTHERLDFLAGS="${LDFLAGS} -L../../libpisock/.libs -lpisock" ) #308629
+ perl-module_src_compile
+ fi
+
+ if use python; then
+ cd "${S}"/bindings/Python
+ distutils-r1_src_compile
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc ChangeLog NEWS README doc/{README*,TODO}
+
+ if use java; then
+ cd "${S}"/bindings/Java
+ java-pkg_newjar ${PN}.jar
+ java-pkg_doso libjpisock.so
+ fi
+
+ if use perl; then
+ cd "${S}"/bindings/Perl
+ perl-module_src_install
+ fi
+
+ if use python; then
+ cd "${S}"/bindings/Python
+ distutils-r1_src_install
+ fi
+
+ find "${D}" -name '*.la' -exec rm -f {} +
+}
+
+pkg_preinst() {
+ perl_set_version
+ java-pkg-opt-2_pkg_preinst
+}
diff --git a/app-pda/synce-core/Manifest b/app-pda/synce-core/Manifest
new file mode 100644
index 000000000000..8cf0dc41b7f1
--- /dev/null
+++ b/app-pda/synce-core/Manifest
@@ -0,0 +1 @@
+DIST synce-core-0.16.tar.gz 703275 SHA256 e1b120bbbc9728b43ff4d3c82f521dd0e55560356c9e2ce2f059cc5f44edd641 SHA512 eb5fc6743ea77ff8e27b5e96300a120a78510be16ba846b20ec0c99e3e969d4af649566e46addb0e3a88da875639e6b150a7cda8dcee706235fe9103f9ffe8ff WHIRLPOOL 226a581e7abbd7c4d0631fd31a4203678f6ea8bbe15c42a88bfed03898deb19edc9a25c68f9d906e7a53c62f6a7d2ad26f4030b80e7202aebf47b5add3ec4a86
diff --git a/app-pda/synce-core/metadata.xml b/app-pda/synce-core/metadata.xml
new file mode 100644
index 000000000000..ba58102c22c2
--- /dev/null
+++ b/app-pda/synce-core/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>pda</herd>
+ <upstream>
+ <remote-id type="sourceforge">synce</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-pda/synce-core/synce-core-0.16-r1.ebuild b/app-pda/synce-core/synce-core-0.16-r1.ebuild
new file mode 100644
index 000000000000..6cccd8ec79dd
--- /dev/null
+++ b/app-pda/synce-core/synce-core-0.16-r1.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+PYTHON_DEPEND="python? 2:2.7"
+
+inherit flag-o-matic python
+
+DESCRIPTION="Base libraries, including RAPI protocol, tools and dccm daemon"
+HOMEPAGE="http://sourceforge.net/projects/synce/"
+SRC_URI="mirror://sourceforge/synce/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="python static-libs"
+
+# AC_PATH_PROG -> pppd -> net-dialup/ppp
+# AC_PATH_PROG -> ifconfig -> sys-apps/net-tools
+RDEPEND="!app-pda/synce-connector
+ >=dev-libs/dbus-glib-0.100
+ >=dev-libs/glib-2.28
+ !dev-libs/librapi2
+ !dev-libs/libsynce
+ net-dialup/ppp
+ sys-apps/net-tools
+ virtual/libgudev
+ virtual/udev
+ python? (
+ >=dev-python/pyrex-0.9.6
+ dev-python/python-gudev
+ )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+pkg_setup() {
+ if use python; then
+ python_set_active_version 2
+ python_pkg_setup
+ fi
+}
+
+src_prepare() {
+ # AC_PATH_PROG -> dhclient ->
+ local dhclient=true
+ type -P dhclient >/dev/null && dhclient=dhclient
+ sed -i -e "s:dhclient:${dhclient}:" configure || die
+
+ use python && python_convert_shebangs -r 2 .
+}
+
+src_configure() {
+ append-cflags -fno-strict-aliasing
+
+ # hal OR udev -> udev -> dbus -> build all of bluetooth, odccm, udev
+ econf \
+ $(use_enable static-libs static) \
+ --enable-dccm-file-support \
+ --enable-odccm-support \
+ --disable-hal-support \
+ --enable-udev-support \
+ --enable-bluetooth-support \
+ $(use_enable python python-bindings)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ dodoc BUGS ChangeLog README* TODO
+ newdoc bluetooth/README README.bluetooth
+
+ # prune_libtool_files() from eutils.eclass fails wrt #421197
+ find "${ED}" -name '*.la' -exec rm -f {} +
+
+ # Always remove static archive from site-packages
+ use static-libs && find "${ED}" -name pyrapi2.a -exec rm -f {} +
+}
diff --git a/app-pda/synce-sync-engine/Manifest b/app-pda/synce-sync-engine/Manifest
new file mode 100644
index 000000000000..2de5293449d9
--- /dev/null
+++ b/app-pda/synce-sync-engine/Manifest
@@ -0,0 +1 @@
+DIST synce-sync-engine-0.15.1.tar.gz 173406 SHA256 bdee6ba59d3106768dbe61f4f353ae2b59cbf1112cd274128f52a86d180370c4 SHA512 ef4855c24e8bff7da0e3eeccfc495e98ccd3817f20683f9648b6370cef05a22fa49ce19514efea9936d416120a7881ef930b433d7800b2f19c11ceb585aff827 WHIRLPOOL 534acbcf3abd29235d1073c96157832631ca1a408b8ed3fa4571daa09e7ee74c4a2ac73d5262cdae6bf353a563ea7be9dac5985d41fa2b00694576cc24751fd3
diff --git a/app-pda/synce-sync-engine/metadata.xml b/app-pda/synce-sync-engine/metadata.xml
new file mode 100644
index 000000000000..8b3d48c77d27
--- /dev/null
+++ b/app-pda/synce-sync-engine/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>pda</herd>
+ <use>
+ <flag name="opensync">Enable OpenSync (<pkg>app-pda/libopensync</pkg>) python plug-in</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">synce</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-pda/synce-sync-engine/synce-sync-engine-0.15.1-r3.ebuild b/app-pda/synce-sync-engine/synce-sync-engine-0.15.1-r3.ebuild
new file mode 100644
index 000000000000..9bc4c188ccd3
--- /dev/null
+++ b/app-pda/synce-sync-engine/synce-sync-engine-0.15.1-r3.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+PYTHON_DEPEND="2:2.7"
+SUPPORT_PYTHON_ABIS=1
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit distutils multilib
+
+DESCRIPTION="A synchronization engine for SynCE"
+HOMEPAGE="http://sourceforge.net/projects/synce/"
+SRC_URI="mirror://sourceforge/synce/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="opensync"
+
+RDEPEND="app-pda/synce-core[python]
+ >=dev-libs/librra-0.16[python]
+ >=dev-libs/librtfcomp-1.2[python]
+ dev-libs/libxml2[python]
+ dev-libs/libxslt[python]
+ dev-python/dbus-python
+ dev-python/pygobject:2
+ opensync? ( || (
+ >=app-pda/libopensync-0.39[python]
+ ( =app-pda/libopensync-0.22*[python] app-pda/libopensync-plugin-python )
+ ) )"
+DEPEND=${RDEPEND}
+
+PYTHON_MODNAME=SyncEngine
+
+src_prepare() {
+ sed -i -e 's:share/doc/sync-engine:foobar:' setup.py || die
+
+ distutils_src_prepare
+}
+
+src_install() {
+ insinto /usr/share/dbus-1/services
+ doins config/org.synce.SyncEngine.service || die
+
+ insinto /etc
+ doins config/syncengine.conf.xml || die
+
+ distutils_src_install
+
+ ### opensync plug-in BEGIN
+ find "${ED}" -type d -name plugins -exec rm -rf {} +
+
+ if use opensync; then
+ local plug=plugins/synce-opensync-plugin-
+
+ if has_version ">=app-pda/libopensync-0.39"; then
+ insinto /usr/$(get_libdir)/libopensync1/python-plugins
+ newins ${plug}3x.py synce-plugin.py || die
+ else
+ # See OPENSYNC_PYTHONPLG_DIR variable in libopensync-python-plugin-0.22
+ # to verify path for python plugins.
+ insinto /usr/$(get_libdir)/opensync/python-plugins
+ newins ${plug}2x.py synce-plugin.py || die
+ fi
+
+ dodoc ${plug}3x.README || die
+ fi
+ ### opensync plug-in END
+
+ rm -rf "${ED}"/usr/foobar
+}
diff --git a/app-pda/usbmuxd/Manifest b/app-pda/usbmuxd/Manifest
new file mode 100644
index 000000000000..070189d6674c
--- /dev/null
+++ b/app-pda/usbmuxd/Manifest
@@ -0,0 +1 @@
+DIST usbmuxd-1.0.8_p20140530.tar.xz 46988 SHA256 de5947571d8a2dc15da41ab6d916f11ff008365a127f965cd397e6309e9200dc SHA512 200c9bd208ef9e8d5e0a9b2779ff260efe6319333ce27c93a0686ba924e6cfaa1a003072c3eabbe46d495a66bc47c3cd6e82482653fde5e1a7ae0edd9b838fac WHIRLPOOL dce14308373921e0f396776b55c9985d83e84a1832d0e54b0058ac9ef9148c2008a004df8574ac455de367af4d0dcc8211f1a8960ef0d8f96eefe6b192b5bf5c
diff --git a/app-pda/usbmuxd/metadata.xml b/app-pda/usbmuxd/metadata.xml
new file mode 100644
index 000000000000..228404d3a4b2
--- /dev/null
+++ b/app-pda/usbmuxd/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>pda</herd>
+</pkgmetadata>
diff --git a/app-pda/usbmuxd/usbmuxd-1.0.8_p20140530.ebuild b/app-pda/usbmuxd/usbmuxd-1.0.8_p20140530.ebuild
new file mode 100644
index 000000000000..8ecee6def04c
--- /dev/null
+++ b/app-pda/usbmuxd/usbmuxd-1.0.8_p20140530.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+AUTOTOOLS_AUTORECONF=1
+inherit autotools-utils udev user
+
+DESCRIPTION="USB multiplex daemon for use with Apple iPhone/iPod Touch devices"
+HOMEPAGE="http://www.libimobiledevice.org/"
+#SRC_URI="http://www.libimobiledevice.org/downloads/${P}.tar.bz2"
+SRC_URI="http://dev.gentoo.org/~ssuominen/${P}.tar.xz"
+
+# src/utils.h is LGPL-2.1+, rest is found in COPYING*
+LICENSE="GPL-2 GPL-3 LGPL-2.1+"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
+IUSE=""
+
+RDEPEND=">=app-pda/libimobiledevice-1.1.6
+ >=app-pda/libplist-1.11
+ virtual/libusb:1"
+DEPEND="${RDEPEND}
+ virtual/os-headers
+ virtual/pkgconfig"
+
+pkg_setup() {
+ enewgroup plugdev
+ enewuser usbmux -1 -1 -1 "usb,plugdev"
+}
+
+src_install() {
+ autotools-utils_src_install udevrulesdir="$(get_udevdir)"/rules.d
+}