Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-ftp/gftp/, net-ftp/gftp/files/
Date: Sun, 28 Aug 2016 10:15:56
Message-Id: 1472379315.92f21a15729321069c11c483e47bd32bfd1ac0c1.pacho@gentoo
1 commit: 92f21a15729321069c11c483e47bd32bfd1ac0c1
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 28 10:15:15 2016 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 28 10:15:15 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92f21a15
7
8 net-ftp/gftp: Support libressl (#565380 by Marek Behun), fix .desktop file (#530800 by Kévin Bernard-Allies).
9
10 Package-Manager: portage-2.3.0
11
12 net-ftp/gftp/files/gftp-2.0.19-desktop.patch | 26 +++++++++++++++
13 net-ftp/gftp/gftp-2.0.19-r3.ebuild | 49 ++++++++++++++++++++++++++++
14 2 files changed, 75 insertions(+)
15
16 diff --git a/net-ftp/gftp/files/gftp-2.0.19-desktop.patch b/net-ftp/gftp/files/gftp-2.0.19-desktop.patch
17 new file mode 100644
18 index 00000000..878a77b
19 --- /dev/null
20 +++ b/net-ftp/gftp/files/gftp-2.0.19-desktop.patch
21 @@ -0,0 +1,26 @@
22 +@@ -, +, @@
23 + <kevin.bernard.allies@×××××.com>
24 + * the Encoding key is now deprecated, and UTF-8 is the default value.
25 + * As the value of Icon is not an absolute path, there should be no extension.
26 + * The Application category is deprecated.
27 + docs/gftp.desktop | 5 ++---
28 + 1 file changed, 2 insertions(+), 3 deletions(-)
29 +--- a/docs/gftp.desktop
30 ++++ a/docs/gftp.desktop
31 +@@ -1,5 +1,4 @@
32 + [Desktop Entry]
33 +-Encoding=UTF-8
34 + Name=gFTP
35 + Comment=Download and upload files using multiple file transfer protocols
36 + Comment[fr]=Télécharge des fichiers en utilisant le protocole FTP
37 +@@ -8,8 +7,8 @@ Exec=gftp %u
38 + Terminal=false
39 + X-MultipleArgs=false
40 + Type=Application
41 +-Icon=gftp.png
42 +-Categories=Application;Network;
43 ++Icon=gftp
44 ++Categories=Network;
45 + X-GNOME-Bugzilla-Bugzilla=GNOME
46 + X-GNOME-Bugzilla-Product=gftp
47 + X-GNOME-Bugzilla-Component=general
48
49 diff --git a/net-ftp/gftp/gftp-2.0.19-r3.ebuild b/net-ftp/gftp/gftp-2.0.19-r3.ebuild
50 new file mode 100644
51 index 00000000..904c1c4
52 --- /dev/null
53 +++ b/net-ftp/gftp/gftp-2.0.19-r3.ebuild
54 @@ -0,0 +1,49 @@
55 +# Copyright 1999-2016 Gentoo Foundation
56 +# Distributed under the terms of the GNU General Public License v2
57 +# $Id$
58 +
59 +EAPI=6
60 +inherit gnome2
61 +
62 +DESCRIPTION="Gnome based FTP Client"
63 +SRC_URI="http://www.gftp.org/${P}.tar.bz2"
64 +HOMEPAGE="http://www.gftp.org"
65 +
66 +LICENSE="GPL-2"
67 +SLOT="0"
68 +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
69 +IUSE="gtk libressl ssl"
70 +
71 +RDEPEND="
72 + dev-libs/glib:2
73 + sys-devel/gettext
74 + sys-libs/ncurses:0=
75 + sys-libs/readline:0
76 + gtk? ( x11-libs/gtk+:2 )
77 + ssl? (
78 + !libressl? ( dev-libs/openssl:0= )
79 + libressl? ( dev-libs/libressl:0= ) )
80 +"
81 +DEPEND="${RDEPEND}
82 + virtual/pkgconfig
83 +"
84 +
85 +PATCHES=(
86 + # Fix SIGSEGV for gftp_expand_path function
87 + "${FILESDIR}/${P}-${PN}-expand-path-sigsegv.patch"
88 +
89 + # https://bugzilla.gnome.org/show_bug.cgi?id=740785
90 + "${FILESDIR}/${P}-desktop.patch"
91 +)
92 +
93 +src_configure() {
94 + gnome2_src_configure \
95 + $(use_enable gtk gtkport) \
96 + $(use_enable ssl)
97 +}
98 +
99 +src_install() {
100 + gnome2_src_install
101 + dodoc docs/USERS-GUIDE
102 + rm -f "${ED}"usr/share/gftp/COPYING
103 +}