mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 23:08:09 -07:00
app-pda/barry: treeclean
Closes: https://bugs.gentoo.org/845231 Closes: https://bugs.gentoo.org/357943 Closes: https://bugs.gentoo.org/526262 Bug: https://bugs.gentoo.org/808237 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST barry-0.18.3.tar.bz2 3457451 BLAKE2B ba7f49e95ac85d764c1275f6dc06f4a7be080d8d725466e1bb8d23977437879f2f7bf7581d9f5bc1262a07f8d1478992ce3c62c9893504f1094dcfb16d944ebd SHA512 4944d22bd5f5a76201ca10ccaf9d12ecf21b298e5b9c8d3d503441e0ad0386a94699c48ae683004992508bb385e75ec137859509663148f2f148933fa508e7fd
|
||||
@@ -1,96 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit bash-completion-r1 desktop udev xdg
|
||||
|
||||
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 doc gui nls"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-cpp/libxmlpp-2.6: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:= )
|
||||
gui? (
|
||||
dev-cpp/glibmm:2
|
||||
dev-cpp/gtkmm:2.4
|
||||
dev-cpp/libglademm:2.4
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
doc? ( >=app-doc/doxygen-1.5.6 )
|
||||
nls? ( >=sys-devel/gettext-0.18.1.1 )"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-0.18.4-shared_ptr.patch )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -e 's:plugdev:usb:g' -i udev/99-blackberry-perms.rules || die
|
||||
sed -e '/Icon/s:=.*:=barry:' -i menu/*.desktop || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
$(use_enable boost) \
|
||||
$(use_enable gui) \
|
||||
--disable-desktop \
|
||||
--disable-rpath \
|
||||
--disable-static
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use doc; then
|
||||
doxygen || die
|
||||
# clean out cruft
|
||||
find doc/www/doxygen/html/ \( \
|
||||
-iname '*.map*' -o \
|
||||
-iname '*.md5' -o \
|
||||
-iname '*.php' -o \
|
||||
-iname '*.sh' \) -delete || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# docs
|
||||
dodoc KnownBugs
|
||||
use doc && dodoc -r doc/www/doxygen/html
|
||||
rm -rf doc/www || die
|
||||
dodoc -r doc/.
|
||||
|
||||
# Skipping different (old Fedora) rules 69-blackberry.rules in purpose
|
||||
udev_dorules udev/10-blackberry.rules udev/99-blackberry-perms.rules
|
||||
|
||||
# blacklist for BERRY_CHARGE kernel module
|
||||
insinto /lib/modprobe.d
|
||||
doins modprobe/blacklist-berry_charge.conf
|
||||
|
||||
# pppd options files
|
||||
docinto ppp
|
||||
dodoc -r ppp/.
|
||||
|
||||
dobashcomp bash/btool bash/bjavaloader
|
||||
|
||||
newicon -s scalable logo/${PN}_logo_icon.svg ${PN}.svg
|
||||
use gui && domenu menu/barrybackup.desktop
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
With -std=c++-11 shared_ptr is available in the standard library so pulling in
|
||||
the std::tr1 namespace creates an ambiguous reference. Simple fix is to stop
|
||||
doing that but isn't backwards compatible. We don't care in Gentoo since we'll
|
||||
always be building barry with -std=c++11 due to libsigc++ abi compatibility.
|
||||
|
||||
--- a/tools/bio.cc
|
||||
+++ b/tools/bio.cc
|
||||
@@ -42,7 +42,6 @@
|
||||
#include "i18n.h"
|
||||
|
||||
using namespace std;
|
||||
-using namespace std::tr1;
|
||||
using namespace Barry;
|
||||
|
||||
// keeping a record of all the -i device / -o device pin numbers, so
|
||||
--- a/tools/btool.cc
|
||||
+++ b/tools/btool.cc
|
||||
@@ -59,7 +59,6 @@
|
||||
#include "barrygetopt.h"
|
||||
|
||||
using namespace std;
|
||||
-using namespace std::tr1;
|
||||
using namespace Barry;
|
||||
|
||||
std::map<std::string, std::string> SortKeys;
|
||||
@@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!--maintainer-needed-->
|
||||
<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="gui">Install the GUI backup tool</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">barry</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -355,12 +355,6 @@ dev-cpp/libgnomecanvasmm
|
||||
# Removal on 2022-06-19. Bug #845228
|
||||
games-board/ascal
|
||||
|
||||
# Matt Turner <mattst88@gentoo.org> (2022-05-19)
|
||||
# Last release in 2013. Last upstream commit in 2015. One of two remaining
|
||||
# reverse dependencies of dev-cpp/libglademm, which is dead.
|
||||
# Removal on 2022-06-19. Bug #845231
|
||||
app-pda/barry
|
||||
|
||||
# Matt Turner <mattst88@gentoo.org> (2022-04-30)
|
||||
# Masked for testing. Apparently causes crashes. Bug #841857.
|
||||
>=x11-libs/libX11-1.8
|
||||
|
||||
Reference in New Issue
Block a user