Gentoo Archives: gentoo-commits

From: Nirbheek Chauhan <nirbheek@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: x11-libs/libwnck/
Date: Mon, 21 Feb 2011 23:56:56
Message-Id: b452e214ce4cea6386681d83c41fb0d678b5c15c.nirbheek@gentoo
1 commit: b452e214ce4cea6386681d83c41fb0d678b5c15c
2 Author: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 21 23:51:10 2011 +0000
4 Commit: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 21 23:51:17 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=b452e214
7
8 x11-libs/libwnck: bump to 2.91.90, rename binaries
9
10 * Rename wnckprop and wnck-urgency-monitor so that they don't collide with SLOT=1
11
12 ---
13 x11-libs/libwnck/libwnck-2.91.6.ebuild | 55 --------------------
14 ...k-2.30.6-r200.ebuild => libwnck-2.91.90.ebuild} | 16 +++---
15 2 files changed, 8 insertions(+), 63 deletions(-)
16
17 diff --git a/x11-libs/libwnck/libwnck-2.91.6.ebuild b/x11-libs/libwnck/libwnck-2.91.6.ebuild
18 deleted file mode 100644
19 index 8da7cb9..0000000
20 --- a/x11-libs/libwnck/libwnck-2.91.6.ebuild
21 +++ /dev/null
22 @@ -1,55 +0,0 @@
23 -# Copyright 1999-2011 Gentoo Foundation
24 -# Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/libwnck/libwnck-2.30.6.ebuild,v 1.6 2011/01/30 19:15:57 armin76 Exp $
26 -
27 -EAPI="3"
28 -GCONF_DEBUG="no"
29 -GNOME2_LA_PUNT="yes"
30 -
31 -inherit gnome2
32 -
33 -DESCRIPTION="A window navigation construction kit"
34 -HOMEPAGE="http://www.gnome.org/"
35 -
36 -LICENSE="LGPL-2"
37 -SLOT="3"
38 -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
39 -
40 -IUSE="doc +introspection startup-notification"
41 -
42 -RDEPEND=">=x11-libs/gtk+-2.91.5:3[introspection?]
43 - >=dev-libs/glib-2.16:2
44 - x11-libs/libX11
45 - x11-libs/libXres
46 - x11-libs/libXext
47 - introspection? ( >=dev-libs/gobject-introspection-0.6.14 )
48 - startup-notification? ( >=x11-libs/startup-notification-0.4 )
49 -
50 - !!<x11-libs/libwnck-2.30.6-r200:1"
51 -DEPEND="${RDEPEND}
52 - sys-devel/gettext
53 - >=dev-util/pkgconfig-0.9
54 - >=dev-util/intltool-0.40
55 - doc? ( >=dev-util/gtk-doc-1.9 )
56 - x86-interix? ( sys-libs/itx-bind )"
57 -# eautoreconf needs
58 -# dev-util/gtk-doc-am
59 -# gnome-base/gnome-common
60 -
61 -pkg_setup() {
62 - G2CONF="${G2CONF}
63 - --disable-static
64 - $(use_enable introspection)
65 - $(use_enable startup-notification)"
66 - DOCS="AUTHORS ChangeLog HACKING NEWS README"
67 -}
68 -
69 -src_prepare() {
70 - gnome2_src_prepare
71 -
72 - if use x86-interix; then
73 - # activate the itx-bind package...
74 - append-flags "-I${EPREFIX}/usr/include/bind"
75 - append-ldflags "-L${EPREFIX}/usr/lib/bind"
76 - fi
77 -}
78
79 diff --git a/x11-libs/libwnck/libwnck-2.30.6-r200.ebuild b/x11-libs/libwnck/libwnck-2.91.90.ebuild
80 similarity index 80%
81 rename from x11-libs/libwnck/libwnck-2.30.6-r200.ebuild
82 rename to x11-libs/libwnck/libwnck-2.91.90.ebuild
83 index 99ad65d..b257cc2 100644
84 --- a/x11-libs/libwnck/libwnck-2.30.6-r200.ebuild
85 +++ b/x11-libs/libwnck/libwnck-2.91.90.ebuild
86 @@ -4,6 +4,7 @@
87
88 EAPI="3"
89 GCONF_DEBUG="no"
90 +GNOME2_LA_PUNT="yes"
91
92 inherit gnome2
93
94 @@ -11,21 +12,18 @@ DESCRIPTION="A window navigation construction kit"
95 HOMEPAGE="http://www.gnome.org/"
96
97 LICENSE="LGPL-2"
98 -SLOT="1"
99 +SLOT="3"
100 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
101
102 IUSE="doc +introspection startup-notification"
103
104 -COMMON_DEPEND=">=x11-libs/gtk+-2.19.7:2[introspection?]
105 +RDEPEND=">=x11-libs/gtk+-2.91.5:3[introspection?]
106 >=dev-libs/glib-2.16:2
107 x11-libs/libX11
108 x11-libs/libXres
109 x11-libs/libXext
110 introspection? ( >=dev-libs/gobject-introspection-0.6.14 )
111 startup-notification? ( >=x11-libs/startup-notification-0.4 )"
112 -RDEPEND="${COMMON_DEPEND}
113 - x11-libs/libwnck:3"
114 -
115 DEPEND="${RDEPEND}
116 sys-devel/gettext
117 >=dev-util/pkgconfig-0.9
118 @@ -57,7 +55,9 @@ src_prepare() {
119 src_install() {
120 gnome2_src_install
121
122 - # Avoid clash with x11-libs/libwnck:3 slot
123 - rm -v "${ED}/usr/bin/wnck-urgency-monitor" || die
124 - rm -v "${ED}/usr/bin/wnckprop" || die
125 + elog "wnckprop is now called wnckprop-${SLOT}"
126 + elog "wnck-urgency-monitor is now called wnck-urgency-monitor-${SLOT}"
127 + # Don't collide with SLOT=1
128 + mv "${ED}"/usr/bin/wnckprop{,-${SLOT}} || die
129 + mv "${ED}"/usr/bin/wnck-urgency-monitor{,-${SLOT}} || die
130 }