1 |
polynomial-c 11/07/12 07:39:59 |
2 |
|
3 |
Modified: xchat-2.8.8-r2.ebuild ChangeLog |
4 |
xchat-2.8.8-r1.ebuild |
5 |
Log: |
6 |
Don't install a desktop entry when gtk USE flag is disabled. Warn the user that there's not GUI available as well |
7 |
|
8 |
(Portage version: 2.2.0_alpha43/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.7 net-irc/xchat/xchat-2.8.8-r2.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/xchat/xchat-2.8.8-r2.ebuild?rev=1.7&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/xchat/xchat-2.8.8-r2.ebuild?rev=1.7&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/xchat/xchat-2.8.8-r2.ebuild?r1=1.6&r2=1.7 |
16 |
|
17 |
Index: xchat-2.8.8-r2.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-irc/xchat/xchat-2.8.8-r2.ebuild,v |
20 |
retrieving revision 1.6 |
21 |
retrieving revision 1.7 |
22 |
diff -u -r1.6 -r1.7 |
23 |
--- xchat-2.8.8-r2.ebuild 11 Jul 2011 13:29:09 -0000 1.6 |
24 |
+++ xchat-2.8.8-r2.ebuild 12 Jul 2011 07:39:59 -0000 1.7 |
25 |
@@ -1,6 +1,6 @@ |
26 |
# Copyright 1999-2011 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/xchat-2.8.8-r2.ebuild,v 1.6 2011/07/11 13:29:09 polynomial-c Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/xchat-2.8.8-r2.ebuild,v 1.7 2011/07/12 07:39:59 polynomial-c Exp $ |
30 |
|
31 |
EAPI=3 |
32 |
|
33 |
@@ -111,17 +111,28 @@ |
34 |
# Replace default pixmap icon |
35 |
cp "48x48/xchat.png" "${D}/usr/share/pixmaps" || die |
36 |
fi |
37 |
+ |
38 |
+ # remove useless desktop entry when gtk USE flag is unset |
39 |
+ if ! use gtk ; then |
40 |
+ rm "${ED}"/usr/share/applications -rf |
41 |
+ fi |
42 |
} |
43 |
|
44 |
pkg_postinst() { |
45 |
- elog |
46 |
- elog "XChat binary has been renamed from xchat-2 to xchat." |
47 |
- elog |
48 |
- |
49 |
- if has_version net-irc/xchat-systray |
50 |
- then |
51 |
- elog "XChat now includes it's own systray icon, you may want to remove net-irc/xchat-systray." |
52 |
+ if use gtk ; then |
53 |
+ elog |
54 |
+ elog "XChat binary has been renamed from xchat-2 to xchat." |
55 |
elog |
56 |
+ |
57 |
+ if has_version net-irc/xchat-systray |
58 |
+ then |
59 |
+ elog "XChat now includes it's own systray icon, you may want to remove net-irc/xchat-systray." |
60 |
+ elog |
61 |
+ fi |
62 |
+ else |
63 |
+ elog "You have disabled the gtk USE flag. This means you don't have" |
64 |
+ elog "the GTK-GUI for xchat but only a text interface called \"xchat-text\"." |
65 |
fi |
66 |
+ |
67 |
gnome2_icon_cache_update |
68 |
} |
69 |
|
70 |
|
71 |
|
72 |
1.302 net-irc/xchat/ChangeLog |
73 |
|
74 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/xchat/ChangeLog?rev=1.302&view=markup |
75 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/xchat/ChangeLog?rev=1.302&content-type=text/plain |
76 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/xchat/ChangeLog?r1=1.301&r2=1.302 |
77 |
|
78 |
Index: ChangeLog |
79 |
=================================================================== |
80 |
RCS file: /var/cvsroot/gentoo-x86/net-irc/xchat/ChangeLog,v |
81 |
retrieving revision 1.301 |
82 |
retrieving revision 1.302 |
83 |
diff -u -r1.301 -r1.302 |
84 |
--- ChangeLog 11 Jul 2011 13:29:09 -0000 1.301 |
85 |
+++ ChangeLog 12 Jul 2011 07:39:59 -0000 1.302 |
86 |
@@ -1,6 +1,11 @@ |
87 |
# ChangeLog for net-irc/xchat |
88 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
89 |
-# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/ChangeLog,v 1.301 2011/07/11 13:29:09 polynomial-c Exp $ |
90 |
+# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/ChangeLog,v 1.302 2011/07/12 07:39:59 polynomial-c Exp $ |
91 |
+ |
92 |
+ 12 Jul 2011; Lars Wendler <polynomial-c@g.o> xchat-2.8.8-r1.ebuild, |
93 |
+ xchat-2.8.8-r2.ebuild: |
94 |
+ Don't install a desktop entry when gtk USE flag is disabled. Warn the user |
95 |
+ that there's not GUI available as well. |
96 |
|
97 |
11 Jul 2011; Lars Wendler <polynomial-c@g.o> xchat-2.8.8-r1.ebuild, |
98 |
xchat-2.8.8-r2.ebuild, +files/xchat-2.8.8-dbus.patch: |
99 |
|
100 |
|
101 |
|
102 |
1.9 net-irc/xchat/xchat-2.8.8-r1.ebuild |
103 |
|
104 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/xchat/xchat-2.8.8-r1.ebuild?rev=1.9&view=markup |
105 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/xchat/xchat-2.8.8-r1.ebuild?rev=1.9&content-type=text/plain |
106 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/xchat/xchat-2.8.8-r1.ebuild?r1=1.8&r2=1.9 |
107 |
|
108 |
Index: xchat-2.8.8-r1.ebuild |
109 |
=================================================================== |
110 |
RCS file: /var/cvsroot/gentoo-x86/net-irc/xchat/xchat-2.8.8-r1.ebuild,v |
111 |
retrieving revision 1.8 |
112 |
retrieving revision 1.9 |
113 |
diff -u -r1.8 -r1.9 |
114 |
--- xchat-2.8.8-r1.ebuild 11 Jul 2011 13:29:09 -0000 1.8 |
115 |
+++ xchat-2.8.8-r1.ebuild 12 Jul 2011 07:39:59 -0000 1.9 |
116 |
@@ -1,6 +1,6 @@ |
117 |
# Copyright 1999-2011 Gentoo Foundation |
118 |
# Distributed under the terms of the GNU General Public License v2 |
119 |
-# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/xchat-2.8.8-r1.ebuild,v 1.8 2011/07/11 13:29:09 polynomial-c Exp $ |
120 |
+# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/xchat-2.8.8-r1.ebuild,v 1.9 2011/07/12 07:39:59 polynomial-c Exp $ |
121 |
|
122 |
EAPI=2 |
123 |
|
124 |
@@ -90,16 +90,26 @@ |
125 |
doins src/common/xchat-plugin.h || die "doins failed" |
126 |
|
127 |
dodoc ChangeLog README* || die "dodoc failed" |
128 |
+ |
129 |
+ # remove useless desktop entry when gtk USE flag is unset |
130 |
+ if ! use gtk ; then |
131 |
+ rm "${D}"/usr/share/applications -rf |
132 |
+ fi |
133 |
} |
134 |
|
135 |
pkg_postinst() { |
136 |
- elog |
137 |
- elog "XChat binary has been renamed from xchat-2 to xchat." |
138 |
- elog |
139 |
- |
140 |
- if has_version net-irc/xchat-systray |
141 |
- then |
142 |
- elog "XChat now includes it's own systray icon, you may want to remove net-irc/xchat-systray." |
143 |
+ if use gtk ; then |
144 |
elog |
145 |
+ elog "XChat binary has been renamed from xchat-2 to xchat." |
146 |
+ elog |
147 |
+ |
148 |
+ if has_version net-irc/xchat-systray |
149 |
+ then |
150 |
+ elog "XChat now includes it's own systray icon, you may want to remove net-irc/xchat-systray." |
151 |
+ elog |
152 |
+ fi |
153 |
+ else |
154 |
+ elog "You have disabled the gtk USE flag. This means you don't have" |
155 |
+ elog "the GTK-GUI for xchat but only a text interface called \"xchat-text\"." |
156 |
fi |
157 |
} |