Gentoo Archives: gentoo-commits

From: Alexandre Rostovtsev <tetromino@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: net-misc/vino/, net-misc/vino/files/
Date: Sun, 30 Sep 2012 23:09:04
Message-Id: 1349046482.b8cd75a512f71e50f47dc339d728e54d873c730a.tetromino@gentoo
1 commit: b8cd75a512f71e50f47dc339d728e54d873c730a
2 Author: Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 30 22:41:28 2012 +0000
4 Commit: Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 30 23:08:02 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=b8cd75a5
7
8 net-misc/vino: 3.5.92 → 3.6.0
9
10 Update license. Clear up the USE=secret vs. USE=gnome-keyring mixup
11 pointed out by elxa. (Note that "gnome-keyring" as the USE flag name
12 still make sense because libsecret is used for accessing implementations
13 of the Secret Service API - and the only implementation that currently
14 exists is gnome-keyring.)
15
16 ---
17 net-misc/vino/files/vino-3.6.0-secret-deps.patch | 35 ++++++++++++++++++++
18 .../vino/{vino-3.5.92.ebuild => vino-3.6.0.ebuild} | 13 ++++---
19 net-misc/vino/vino-9999.ebuild | 7 ++--
20 3 files changed, 46 insertions(+), 9 deletions(-)
21
22 diff --git a/net-misc/vino/files/vino-3.6.0-secret-deps.patch b/net-misc/vino/files/vino-3.6.0-secret-deps.patch
23 new file mode 100644
24 index 0000000..9eac4c5
25 --- /dev/null
26 +++ b/net-misc/vino/files/vino-3.6.0-secret-deps.patch
27 @@ -0,0 +1,35 @@
28 +From 018e757ca2ce432142008f519ff8cb96f12c2659 Mon Sep 17 00:00:00 2001
29 +From: Alexandre Rostovtsev <tetromino@g.o>
30 +Date: Sun, 30 Sep 2012 18:50:33 -0400
31 +Subject: [PATCH] configure: consistently use LIBSECRET_DEPS, not SECRET_DEPS
32 +
33 +https://bugzilla.gnome.org/show_bug.cgi?id=685171
34 +---
35 + configure.ac | 4 ++--
36 + 1 file changed, 2 insertions(+), 2 deletions(-)
37 +
38 +diff --git a/configure.ac b/configure.ac
39 +index e41c5c8..0306274 100644
40 +--- a/configure.ac
41 ++++ b/configure.ac
42 +@@ -117,7 +117,7 @@ AS_IF([test "x$have_network_manager" = "xyes"],
43 + [AC_MSG_ERROR([NetworkManager support requested but not found])])])
44 +
45 + # Check for secret
46 +-SECRET_DEPS="libsecret-1"
47 ++LIBSECRET_DEPS="libsecret-1"
48 +
49 + AC_ARG_WITH([secret],
50 + [AS_HELP_STRING([--without-secret],
51 +@@ -131,7 +131,7 @@ AS_IF([test "x$with_secret" != "xno"],
52 +
53 + AS_IF([test "x$have_secret" != "xno"],
54 + [AC_DEFINE([VINO_HAVE_SECRET], [], [Build with secret support])],
55 +- [SECRET_DEPS=""
56 ++ [LIBSECRET_DEPS=""
57 + AS_IF([test "x$with_secret" = "xyes"],
58 + [AC_MSG_ERROR([secret support requested but not found])])])
59 +
60 +--
61 +1.7.12
62 +
63
64 diff --git a/net-misc/vino/vino-3.5.92.ebuild b/net-misc/vino/vino-3.6.0.ebuild
65 similarity index 87%
66 rename from net-misc/vino/vino-3.5.92.ebuild
67 rename to net-misc/vino/vino-3.6.0.ebuild
68 index a08c637..e2c7439 100644
69 --- a/net-misc/vino/vino-3.5.92.ebuild
70 +++ b/net-misc/vino/vino-3.6.0.ebuild
71 @@ -6,7 +6,7 @@ EAPI="4"
72 GCONF_DEBUG="yes"
73 GNOME2_LA_PUNT="yes"
74
75 -inherit gnome2
76 +inherit autotools eutils gnome2
77 if [[ ${PV} = 9999 ]]; then
78 inherit gnome2-live
79 fi
80 @@ -14,14 +14,14 @@ fi
81 DESCRIPTION="An integrated VNC server for GNOME"
82 HOMEPAGE="http://www.gnome.org/"
83
84 -LICENSE="GPL-2"
85 +LICENSE="GPL-2+"
86 SLOT="0"
87 if [[ ${PV} = 9999 ]]; then
88 KEYWORDS=""
89 else
90 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
91 fi
92 -IUSE="avahi crypt ipv6 jpeg libnotify networkmanager +secret ssl +telepathy +zlib"
93 +IUSE="avahi crypt gnome-keyring ipv6 jpeg libnotify networkmanager ssl +telepathy +zlib"
94
95 # cairo used in vino-fb
96 # libSM and libICE used in eggsmclient-xsmp
97 @@ -69,10 +69,9 @@ pkg_setup() {
98 $(use_with crypt gcrypt)
99 $(use_enable ipv6)
100 $(use_with jpeg)
101 - $(use_with gnome-keyring)
102 + $(use_with gnome-keyring secret)
103 $(use_with libnotify)
104 $(use_with networkmanager network-manager)
105 - $(use_with secret)
106 $(use_with ssl gnutls)
107 $(use_with telepathy)
108 $(use_with zlib)"
109 @@ -80,9 +79,13 @@ pkg_setup() {
110 }
111
112 src_prepare() {
113 + # https://bugzilla.gnome.org/show_bug.cgi?id=685171
114 + epatch "${FILESDIR}/${P}-secret-deps.patch"
115 +
116 # <glib-2.31 compatibility
117 if [[ ${PV} != 9999 ]]; then
118 rm -v server/vino-marshal.{c,h} || die
119 fi
120 + eautoreconf
121 gnome2_src_prepare
122 }
123
124 diff --git a/net-misc/vino/vino-9999.ebuild b/net-misc/vino/vino-9999.ebuild
125 index a08c637..9aba716 100644
126 --- a/net-misc/vino/vino-9999.ebuild
127 +++ b/net-misc/vino/vino-9999.ebuild
128 @@ -14,14 +14,14 @@ fi
129 DESCRIPTION="An integrated VNC server for GNOME"
130 HOMEPAGE="http://www.gnome.org/"
131
132 -LICENSE="GPL-2"
133 +LICENSE="GPL-2+"
134 SLOT="0"
135 if [[ ${PV} = 9999 ]]; then
136 KEYWORDS=""
137 else
138 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
139 fi
140 -IUSE="avahi crypt ipv6 jpeg libnotify networkmanager +secret ssl +telepathy +zlib"
141 +IUSE="avahi crypt gnome-keyring ipv6 jpeg libnotify networkmanager ssl +telepathy +zlib"
142
143 # cairo used in vino-fb
144 # libSM and libICE used in eggsmclient-xsmp
145 @@ -69,10 +69,9 @@ pkg_setup() {
146 $(use_with crypt gcrypt)
147 $(use_enable ipv6)
148 $(use_with jpeg)
149 - $(use_with gnome-keyring)
150 + $(use_with gnome-keyring secret)
151 $(use_with libnotify)
152 $(use_with networkmanager network-manager)
153 - $(use_with secret)
154 $(use_with ssl gnutls)
155 $(use_with telepathy)
156 $(use_with zlib)"