summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Ostorga <vostorga@gentoo.org>2009-10-18 18:45:50 +0000
committerVictor Ostorga <vostorga@gentoo.org>2009-10-18 18:45:50 +0000
commit2fb84eb654a2c393f1f848fecef2840f4d96bf2b (patch)
tree181f0a90d8ee0e11c1d559fcfab0ee6f0f4d3288 /app-pda/barry
parentStable for HPPA (bug #289298). (diff)
downloadhistorical-2fb84eb654a2c393f1f848fecef2840f4d96bf2b.tar.gz
historical-2fb84eb654a2c393f1f848fecef2840f4d96bf2b.tar.bz2
historical-2fb84eb654a2c393f1f848fecef2840f4d96bf2b.zip
Cleaning up old ebuilds; Adding missing pkg-config dep, bug #206002 ; Enabling gui backup tool, bug #214293 ; Fixing build against gcc 4.4 , bug #277809 ; Version bump to 0.16 , bug #215399 , ebuild thanks to Nils Schlupp , Anton Bolshakov , et all.
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'app-pda/barry')
-rw-r--r--app-pda/barry/ChangeLog17
-rw-r--r--app-pda/barry/Manifest17
-rw-r--r--app-pda/barry/barry-0.10.ebuild25
-rw-r--r--app-pda/barry/barry-0.11.ebuild29
-rw-r--r--app-pda/barry/barry-0.16.ebuild85
-rw-r--r--app-pda/barry/barry-0.8.ebuild25
-rw-r--r--app-pda/barry/barry-0.9.ebuild25
-rw-r--r--app-pda/barry/files/10-blackberry.rules51
-rw-r--r--app-pda/barry/files/barry-0.11-gcc43.patch136
-rw-r--r--app-pda/barry/files/blacklist-berry_charge3
-rw-r--r--app-pda/barry/metadata.xml5
11 files changed, 165 insertions, 253 deletions
diff --git a/app-pda/barry/ChangeLog b/app-pda/barry/ChangeLog
index 1ba8153e606a..8f840e5cbfeb 100644
--- a/app-pda/barry/ChangeLog
+++ b/app-pda/barry/ChangeLog
@@ -1,6 +1,19 @@
# ChangeLog for app-pda/barry
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/barry/ChangeLog,v 1.7 2008/11/02 21:22:14 robbat2 Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-pda/barry/ChangeLog,v 1.8 2009/10/18 18:45:50 vostorga Exp $
+
+*barry-0.16 (18 Oct 2009)
+
+ 18 Oct 2009; VĂ­ctor Ostorga <vostorga@gentoo.org>
+ +files/10-blackberry.rules, -barry-0.8.ebuild, -barry-0.9.ebuild,
+ -barry-0.10.ebuild, -barry-0.11.ebuild, -files/barry-0.11-gcc43.patch,
+ +barry-0.16.ebuild, +files/blacklist-berry_charge, metadata.xml:
+ Cleaning up old ebuilds
+ Adding missing pkg-config dep, bug #206002
+ Enabling gui backup tool, bug #214293
+ Fixing build against gcc 4.4 , bug #277809
+ Version bump to 0.16 , bug #215399 , ebuild thanks to Nils Schlupp , Anton
+ Bolshakov , et all.
02 Nov 2008; Robin H. Johnson <robbat2@gentoo.org> metadata.xml:
Fix malformed XML in metadata.xml. metadata.xml
diff --git a/app-pda/barry/Manifest b/app-pda/barry/Manifest
index fb8e18f7acbd..48fa8361960b 100644
--- a/app-pda/barry/Manifest
+++ b/app-pda/barry/Manifest
@@ -1,11 +1,6 @@
-AUX barry-0.11-gcc43.patch 4051 RMD160 d91911fcdca98386287f671556ad5d219f4d84e0 SHA1 5d12719571951cd5d4e80b954b2b8f33330aaaec SHA256 4157a85c140e33d98bc42be05fbbf7819adab2bd0a8714fe76d99d57f048f3b3
-DIST barry-0.10.tar.bz2 867343 RMD160 240947aa1cd89bb824e019574a9979fb97578b10 SHA1 f49d31195952abdf5586270755b841fbaa8ae9e0 SHA256 77e42ea5ab6046b6fa71b0152f90379c2327fc4bf076dc4765edd5dcb15cbf67
-DIST barry-0.11.tar.bz2 867296 RMD160 bde6fd7d63159afaa6c99ddcc1d362263240f988 SHA1 6820e9fbe450883a3d3d56539bbc46c6d6ddfa08 SHA256 ee0febf16239e1aa61656c9d508907717c5b8d5eb62416de608fce92574c06ee
-DIST barry-0.8.tar.bz2 706649 RMD160 06e049aedbafe03d45c7b1f9a73e4e8b7bff43b2 SHA1 5acbbfa0c0e353a64a521c6355568e5a4b2c29a9 SHA256 2617ee4b194f8421111c06d19a9af86eca2ce09b2213d922f39268ff342e004f
-DIST barry-0.9.tar.bz2 861414 RMD160 fda9f55f56560c2c353d043ce1d740fcf58a0687 SHA1 67ef3edd92e1b812afd2e60a93703d40b8e700f4 SHA256 f80dcb0773be05a750dea3d03406eda3702146e5d38559f034e1aa033416aa5d
-EBUILD barry-0.10.ebuild 773 RMD160 e7ca2ff8c6d226c9c523119fa7cf25077573c7c0 SHA1 6df6a0275ed82a16e68d26800bf80f5d02b5b550 SHA256 1dd6c9b85060e34dc651427c9f997c7b29c425dcae1561e959323f4d636338a4
-EBUILD barry-0.11.ebuild 835 RMD160 7329f63679ef2eceaade0e06b8b675e17e630bac SHA1 55fdece47697b378beadcfc36d7729e80dd41636 SHA256 0c4b34e8768a695adb11e2d21956b4e85a291724af123b08d91f99bc4f43d142
-EBUILD barry-0.8.ebuild 777 RMD160 7819d70cc985dbc4e7cf588f77fbcaf8b6ce88b2 SHA1 67bf46b9ba861d2f82ca307bd0cbdc6a77a677e3 SHA256 563c9bbb440c92556457fbb8d13241d74888a42182d776bf02d051ee1d00e5be
-EBUILD barry-0.9.ebuild 772 RMD160 67ec4abf110e52a18e40cfd1be633b1b21a5b928 SHA1 796b5789cb86c76fe12a63bd83659824f339d71a SHA256 7f515d6161ccedc486d9e748096c34ca7052504f2352f2b10623f760dbfb0c97
-MISC ChangeLog 1232 RMD160 41dae8c8cd7d18116dcf97207c3c3f43d7513751 SHA1 582e16012d89b206ce28666073816714ee5208a1 SHA256 36676737f77015ab5098678c4b0a2e9db6e1404c152848f123c252a9c1dcde24
-MISC metadata.xml 363 RMD160 7801b8cf5a4cb70cf740a7925569954d3740255e SHA1 afa83e79fd2916e7291955f5bf1146b6ac713a07 SHA256 8f3c52939464b93913aa2a06063752f9c0a46d621d555b56b4bafc7c08e6d335
+AUX 10-blackberry.rules 1983 RMD160 bea10908beef0558402b8a8888ebc0ea4e561562 SHA1 c94747478a616c67cd115662c7a5bb4ad6220611 SHA256 26d15257fc5f48089a1b8559e7ac93101bdbc4434e409214c67dda130f05159a
+AUX blacklist-berry_charge 65 RMD160 5fbc61819a71cb266a93053c99d32ea2424c5683 SHA1 5320c555ecd5b844bb4db5a238538abc472b2516 SHA256 26003dcfdf7da0a677cbc72e01615fc694ccd2e884269da9a22d722f7549386e
+DIST barry-0.16.tar.bz2 4981342 RMD160 407d1ae1d4c42a589093bd2cc4ad791f230ab23c SHA1 011b1f42c3832f30942744dc8f577dc0eaf2189c SHA256 60f0055399a6d97445e069b804bcc8a1c60f5fc999fcec385dcd4484990ec220
+EBUILD barry-0.16.ebuild 2328 RMD160 3a9ce5bd885bc2d08b3776607cf2ed1300f75ff4 SHA1 861cbb8e32194df01fe8d6cca52d3b6755da00c0 SHA256 93c4bf88dafd21e3ead8368256cb8f356513277dab097b6de9000c5f2ff5fb25
+MISC ChangeLog 1777 RMD160 c4571dd943e3560212c00c73cb3f63aa15644220 SHA1 2f68581c97490db386553b9531dca03c537cc0ea SHA256 0b9c083e1e57ce1dec3f89f993221e077cb3c1c59eff85fdcf83f1872e4cf2e2
+MISC metadata.xml 531 RMD160 5c0263b10453c3795eff8d06e0d78c3827e85dc3 SHA1 9c1bc40bbefed3a00da38f0f8abf3af3871de72e SHA256 ee950413e4dee9546dcbe700249f89a69ea76fa2756ba1b52a77ca6306b96250
diff --git a/app-pda/barry/barry-0.10.ebuild b/app-pda/barry/barry-0.10.ebuild
deleted file mode 100644
index e0d0d3bfe2e1..000000000000
--- a/app-pda/barry/barry-0.10.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/barry/barry-0.10.ebuild,v 1.1 2007/12/01 18:47:04 jsin Exp $
-
-DESCRIPTION="Barry is an Open Source Linux application that will allow
-synchronization, backup, restore, program management, and charging for BlackBerry devices"
-HOMEPAGE="http://www.netdirect.ca/software/packages/barry/"
-SRC_URI="mirror://sourceforge/barry/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="dev-libs/libusb
- dev-libs/openssl"
-
-src_install() {
- emake DESTDIR="${D}" install || die "install failed"
- dodoc README NEWS
-
- # udev rules
- insinto /etc/udev/rules.d
- newins udev/10-blackberry.rules 10-blackberry.rules
-}
diff --git a/app-pda/barry/barry-0.11.ebuild b/app-pda/barry/barry-0.11.ebuild
deleted file mode 100644
index ca9cf172be92..000000000000
--- a/app-pda/barry/barry-0.11.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/barry/barry-0.11.ebuild,v 1.2 2008/07/27 11:36:31 loki_val Exp $
-
-inherit base
-
-DESCRIPTION="Barry is an Open Source Linux application that will allow
-synchronization, backup, restore, program management, and charging for BlackBerry devices"
-HOMEPAGE="http://www.netdirect.ca/software/packages/barry/"
-SRC_URI="mirror://sourceforge/barry/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="dev-libs/libusb
- dev-libs/openssl"
-
-PATCHES=( "${FILESDIR}/${P}-gcc43.patch" )
-
-src_install() {
- emake DESTDIR="${D}" install || die "install failed"
- dodoc README NEWS
-
- # udev rules
- insinto /etc/udev/rules.d
- newins udev/10-blackberry.rules 10-blackberry.rules
-}
diff --git a/app-pda/barry/barry-0.16.ebuild b/app-pda/barry/barry-0.16.ebuild
new file mode 100644
index 000000000000..513abcd97907
--- /dev/null
+++ b/app-pda/barry/barry-0.16.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-pda/barry/barry-0.16.ebuild,v 1.1 2009/10/18 18:45:50 vostorga Exp $
+
+inherit base
+
+DESCRIPTION="Allow synchronization, backup, restore,
+program management, and charging for BlackBerry devices"
+HOMEPAGE="http://www.netdirect.ca/software/packages/barry/"
+SRC_URI="mirror://sourceforge/barry/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="boost doc gui opensync"
+
+DEPEND="dev-libs/libusb
+ dev-libs/openssl
+ dev-util/pkgconfig
+ sys-libs/zlib
+ boost? ( >=dev-libs/boost-1.33 )
+ doc? ( >=app-doc/doxygen-1.5.6 )
+ gui? ( >=dev-cpp/gtkmm-2.4
+ >=dev-cpp/libglademm-2.4
+ >=dev-cpp/glibmm-2.4
+ =dev-libs/libtar-1.2.11-r2 )
+ opensync? ( =app-pda/libopensync-0.22* )"
+RDEPEND="dev-libs/libusb
+ sys-libs/zlib
+ boost? ( >=dev-libs/boost-1.33 )
+ gui? ( >=dev-cpp/gtkmm-2.4
+ >=dev-cpp/libglademm-2.4
+ >=dev-cpp/glibmm-2.4 )
+ opensync? ( =app-pda/libopensync-0.22* )"
+
+
+src_compile(){
+ econf \
+ $(use_with boost boost =/usr/include) \
+ $(use_enable gui) \
+ $(use_with gui libtar =/usr/lib) \
+ $(use_with gui libz =/usr/lib) \
+ $(use_enable opensync opensync-plugin)
+ emake || die "emake failed!"
+
+ if use doc ; then
+ cd "${S}"
+ doxygen
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+ if use doc; then
+ dodoc AUTHORS NEWS README || die "dodoc failed"
+ dohtml doc/www/doxygen/html/* || die "dohtml failed"
+ fi
+
+ # udev rules
+ insinto /etc/udev/rules.d
+ newins "${FILESDIR}"/10-blackberry.rules 10-blackberry.rules
+
+ # blacklist for BERRY_CHARGE kernel module
+ insinto /etc/modprobe.d
+ newins "${FILESDIR}"/blacklist-berry_charge blacklist-berry_charge
+
+ #if use gui ; then
+ # Add an entry into K Menu or gnome's menu if available.
+ #fi
+}
+
+pkg_postinst() {
+ elog
+ elog "Users must be in the 'plugdev' group to access the Barry toolset."
+ elog
+ elog "Type 'btool' to launch the command-line Barry interface."
+ use gui && elog "Type 'barrybackup' to launch the GUI backup/restore tool."
+ 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 USB_SUSPEND."
+ ewarn
+}
+
diff --git a/app-pda/barry/barry-0.8.ebuild b/app-pda/barry/barry-0.8.ebuild
deleted file mode 100644
index 421a8444ca44..000000000000
--- a/app-pda/barry/barry-0.8.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/barry/barry-0.8.ebuild,v 1.2 2007/09/16 13:32:43 mr_bones_ Exp $
-
-DESCRIPTION="Barry is an Open Source Linux application that will allow
-synchronization, backup, restore, program management, and charging for BlackBerry devices"
-HOMEPAGE="http://www.netdirect.ca/software/packages/barry/"
-SRC_URI="mirror://sourceforge/barry/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="dev-libs/libusb
- dev-libs/openssl"
-
-src_install() {
- emake DESTDIR="${D}" install || die "install failed"
- dodoc README NEWS
-
- # udev rules
- insinto /etc/udev/rules.d
- newins udev/10-blackberry.rules 10-blackberry.rules
-}
diff --git a/app-pda/barry/barry-0.9.ebuild b/app-pda/barry/barry-0.9.ebuild
deleted file mode 100644
index 980fe0a8426f..000000000000
--- a/app-pda/barry/barry-0.9.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/barry/barry-0.9.ebuild,v 1.1 2007/11/19 21:01:06 jsin Exp $
-
-DESCRIPTION="Barry is an Open Source Linux application that will allow
-synchronization, backup, restore, program management, and charging for BlackBerry devices"
-HOMEPAGE="http://www.netdirect.ca/software/packages/barry/"
-SRC_URI="mirror://sourceforge/barry/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="dev-libs/libusb
- dev-libs/openssl"
-
-src_install() {
- emake DESTDIR="${D}" install || die "install failed"
- dodoc README NEWS
-
- # udev rules
- insinto /etc/udev/rules.d
- newins udev/10-blackberry.rules 10-blackberry.rules
-}
diff --git a/app-pda/barry/files/10-blackberry.rules b/app-pda/barry/files/10-blackberry.rules
new file mode 100644
index 000000000000..c92ac684209e
--- /dev/null
+++ b/app-pda/barry/files/10-blackberry.rules
@@ -0,0 +1,51 @@
+#
+# Blackberry devices
+#
+# Note: the following rules may appear wasteful, in that bcharge is run
+# twice: once for changing the mode, and once again after the
+# device resets itself to enter this mode. This is required
+# in order to support older kernels (approx. 2.6.20 to 2.6.22) with
+# CONFIG_USB_SUSPEND enabled. The second time bcharge is run
+# is when the -p argument comes into play, adjusting the device's
+# autosuspend settings.
+#
+# Note: SUBSYSTEM=="usb_device" is not reliably available on all kernels
+# and all versions of udev, so instead we use the very first
+# kernel message of: SUBSYSTEM=="usb", ENV{DEVTYPE}="usb_device"
+# (See the output of 'udevadm monitor --kernel')
+# Since the device is likely not created at this point, we
+# can't set permissions... so permissions are handled in the
+# generic 99-blackberry-perms.rules file.
+#
+
+#
+# Older devices that only use 0x0001 (no USB Mass Storage)
+#
+SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ACTION=="add", \
+ ATTR{idVendor}=="0fca", ATTR{idProduct}=="0001", \
+ RUN="/usr/sbin/bcharge -p %p"
+
+#
+# Newer devices with USB Mass Storage:
+# 0x8007 usually get transformed into 0x8004
+# 0x8004 sometimes get transformed into 0x0004
+# 0x0006 usually get transformed into 0x0004
+#
+
+# 0x0006 turns into 0x0004, so no need to fiddle with autosuspend here
+SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ACTION=="add", \
+ ATTR{idVendor}=="0fca", ATTR{idProduct}=="0006", \
+ RUN="/usr/sbin/bcharge"
+
+SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ACTION=="add", \
+ ATTR{idVendor}=="0fca", ATTR{idProduct}=="8007", \
+ RUN="/usr/sbin/bcharge -p %p"
+
+SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ACTION=="add", \
+ ATTR{idVendor}=="0fca", ATTR{idProduct}=="8004", \
+ RUN="/usr/sbin/bcharge -p %p"
+
+SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ACTION=="add", \
+ ATTR{idVendor}=="0fca", ATTR{idProduct}=="0004", \
+ RUN="/usr/sbin/bcharge -p %p"
+
diff --git a/app-pda/barry/files/barry-0.11-gcc43.patch b/app-pda/barry/files/barry-0.11-gcc43.patch
deleted file mode 100644
index 1a2a5096a540..000000000000
--- a/app-pda/barry/files/barry-0.11-gcc43.patch
+++ /dev/null
@@ -1,136 +0,0 @@
-diff -ur barry-0.12.orig/examples/addcalendar.cc barry-0.12/examples/addcalendar.cc
---- barry-0.12.orig/examples/addcalendar.cc 2008-06-24 15:47:55.000000000 -0400
-+++ barry-0.12/examples/addcalendar.cc 2008-06-24 15:55:57.000000000 -0400
-@@ -24,6 +24,7 @@
- #include <time.h>
- #include <barry/barry.h>
- #include <iostream>
-+#include <cstring>
-
- using namespace std;
- using namespace Barry;
-diff -ur barry-0.12.orig/src/controller.cc barry-0.12/src/controller.cc
---- barry-0.12.orig/src/controller.cc 2008-06-24 15:47:55.000000000 -0400
-+++ barry-0.12/src/controller.cc 2008-06-24 15:52:17.000000000 -0400
-@@ -29,14 +29,13 @@
- #include "builder.h"
- #include "endian.h"
- #include "packet.h"
-+#include <sstream>
-+#include <iomanip>
-+#include <cstring>
-
- #define __DEBUG_MODE__
- #include "debug.h"
-
--#include <sstream>
--
--#include <iomanip>
--
- namespace Barry {
-
- //
-diff -ur barry-0.12.orig/src/data.cc barry-0.12/src/data.cc
---- barry-0.12.orig/src/data.cc 2008-06-24 15:47:55.000000000 -0400
-+++ barry-0.12/src/data.cc 2008-06-24 15:48:25.000000000 -0400
-@@ -25,6 +25,8 @@
- #include <iomanip>
- #include <string>
- #include <stdexcept>
-+#include <cstring>
-+#include <cstdlib>
-
- //#define __DEBUG_MODE__
- #include "debug.h"
-Only in barry-0.12.orig/src: data.loT
-diff -ur barry-0.12.orig/src/ldif.cc barry-0.12/src/ldif.cc
---- barry-0.12.orig/src/ldif.cc 2008-06-24 15:47:55.000000000 -0400
-+++ barry-0.12/src/ldif.cc 2008-06-24 15:48:51.000000000 -0400
-@@ -25,6 +25,7 @@
- #include <stdexcept>
- #include <iostream>
- #include <iomanip>
-+#include <cstring>
-
- #define __DEBUG_MODE__
- #include "debug.h"
-diff -ur barry-0.12.orig/src/packet.cc barry-0.12/src/packet.cc
---- barry-0.12.orig/src/packet.cc 2008-06-24 15:47:55.000000000 -0400
-+++ barry-0.12/src/packet.cc 2008-06-24 15:51:39.000000000 -0400
-@@ -30,6 +30,7 @@
- #include "parser.h"
- #include "builder.h"
- #include "error.h"
-+#include <cstring>
-
- #define __DEBUG_MODE__
- #include "debug.h"
-diff -ur barry-0.12.orig/src/r_calendar.cc barry-0.12/src/r_calendar.cc
---- barry-0.12.orig/src/r_calendar.cc 2008-06-24 15:47:55.000000000 -0400
-+++ barry-0.12/src/r_calendar.cc 2008-06-24 15:50:20.000000000 -0400
-@@ -31,6 +31,7 @@
- #include <iomanip>
- #include <time.h>
- #include <stdexcept>
-+#include <cstring>
-
- #define __DEBUG_MODE__
- #include "debug.h"
-diff -ur barry-0.12.orig/src/r_task.cc barry-0.12/src/r_task.cc
---- barry-0.12.orig/src/r_task.cc 2008-06-24 15:47:55.000000000 -0400
-+++ barry-0.12/src/r_task.cc 2008-06-24 15:51:04.000000000 -0400
-@@ -28,6 +28,7 @@
- #include "debug.h"
- #include <ostream>
- #include <iomanip>
-+#include <cstring>
-
- using namespace std;
- using namespace Barry::Protocol;
-diff -ur barry-0.12.orig/src/record.cc barry-0.12/src/record.cc
---- barry-0.12.orig/src/record.cc 2008-06-24 15:47:55.000000000 -0400
-+++ barry-0.12/src/record.cc 2008-06-24 15:50:00.000000000 -0400
-@@ -36,6 +36,7 @@
- #include <iomanip>
- #include <time.h>
- #include <stdexcept>
-+#include <cstring>
-
- #define __DEBUG_MODE__
- #include "debug.h"
-diff -ur barry-0.12.orig/src/socket.cc barry-0.12/src/socket.cc
---- barry-0.12.orig/src/socket.cc 2008-06-24 15:47:55.000000000 -0400
-+++ barry-0.12/src/socket.cc 2008-06-24 15:49:14.000000000 -0400
-@@ -30,7 +30,7 @@
- #include "endian.h"
- #include <openssl/sha.h>
- #include <sstream>
--
-+#include <cstring>
-
- using namespace Usb;
-
-diff -ur barry-0.12.orig/tools/btool.cc barry-0.12/tools/btool.cc
---- barry-0.12.orig/tools/btool.cc 2008-06-24 15:47:55.000000000 -0400
-+++ barry-0.12/tools/btool.cc 2008-06-24 15:53:09.000000000 -0400
-@@ -27,6 +27,7 @@
- #include <vector>
- #include <string>
- #include <getopt.h>
-+#include <memory>
-
-
- using namespace std;
-diff -ur barry-0.12.orig/tools/btranslate.cc barry-0.12/tools/btranslate.cc
---- barry-0.12.orig/tools/btranslate.cc 2008-06-24 15:47:55.000000000 -0400
-+++ barry-0.12/tools/btranslate.cc 2008-06-24 15:55:23.000000000 -0400
-@@ -17,6 +17,9 @@
- #include <iostream>
- #include <iomanip>
- #include <sstream>
-+#include <cstdlib>
-+#include <cstring>
-+#include <climits>
-
- using namespace std;
-
diff --git a/app-pda/barry/files/blacklist-berry_charge b/app-pda/barry/files/blacklist-berry_charge
new file mode 100644
index 000000000000..1ba982bb7e58
--- /dev/null
+++ b/app-pda/barry/files/blacklist-berry_charge
@@ -0,0 +1,3 @@
+# conflicts with Barry's bcharge utility
+blacklist berry_charge
+
diff --git a/app-pda/barry/metadata.xml b/app-pda/barry/metadata.xml
index 2ddd3604017e..0cca89529ae9 100644
--- a/app-pda/barry/metadata.xml
+++ b/app-pda/barry/metadata.xml
@@ -7,4 +7,9 @@
allow synchronization, backup, restore, program
management, and charging for BlackBerry devices.
</longdescription>
+<use>
+ <flag name='boost'>Enable boost support</flag>
+ <flag name='gui'>Gui backup tool support</flag>
+ <flag name='opensync'>Enabling opensync plugin</flag>
+</use>
</pkgmetadata>