1 |
lack 10/05/29 15:01:29 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: fluxbox-1.1.1-r2.ebuild |
5 |
Log: |
6 |
Fix focus-follows-mouse (Bug #290649) |
7 |
(Portage version: 2.1.8.3/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.10 x11-wm/fluxbox/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/fluxbox/metadata.xml?rev=1.10&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/fluxbox/metadata.xml?rev=1.10&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/fluxbox/metadata.xml?r1=1.9&r2=1.10 |
15 |
|
16 |
Index: metadata.xml |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-wm/fluxbox/metadata.xml,v |
19 |
retrieving revision 1.9 |
20 |
retrieving revision 1.10 |
21 |
diff -u -r1.9 -r1.10 |
22 |
--- metadata.xml 22 Sep 2008 13:12:30 -0000 1.9 |
23 |
+++ metadata.xml 29 May 2010 15:01:29 -0000 1.10 |
24 |
@@ -18,5 +18,7 @@ |
25 |
<flag name='disabletoolbar'>Disables the fluxbox toolbar</flag> |
26 |
<flag name='slit'>Enables the fluxbox slit (or dock)</flag> |
27 |
<flag name='toolbar'>Enables the fluxbox toolbar</flag> |
28 |
+ <flag name='newmousefocus'>Patches the focus model to the upcoming 1.1.2 |
29 |
+ model, which adds a new 'StrictMouseFocus' mode</flag> |
30 |
</use> |
31 |
</pkgmetadata> |
32 |
|
33 |
|
34 |
|
35 |
1.275 x11-wm/fluxbox/ChangeLog |
36 |
|
37 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/fluxbox/ChangeLog?rev=1.275&view=markup |
38 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/fluxbox/ChangeLog?rev=1.275&content-type=text/plain |
39 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/fluxbox/ChangeLog?r1=1.274&r2=1.275 |
40 |
|
41 |
Index: ChangeLog |
42 |
=================================================================== |
43 |
RCS file: /var/cvsroot/gentoo-x86/x11-wm/fluxbox/ChangeLog,v |
44 |
retrieving revision 1.274 |
45 |
retrieving revision 1.275 |
46 |
diff -u -r1.274 -r1.275 |
47 |
--- ChangeLog 14 Nov 2009 16:09:34 -0000 1.274 |
48 |
+++ ChangeLog 29 May 2010 15:01:29 -0000 1.275 |
49 |
@@ -1,6 +1,13 @@ |
50 |
# ChangeLog for x11-wm/fluxbox |
51 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
52 |
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/fluxbox/ChangeLog,v 1.274 2009/11/14 16:09:34 scarabeus Exp $ |
53 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
54 |
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/fluxbox/ChangeLog,v 1.275 2010/05/29 15:01:29 lack Exp $ |
55 |
+ |
56 |
+*fluxbox-1.1.1-r2 (29 May 2010) |
57 |
+ |
58 |
+ 29 May 2010; Jim Ramsay <lack@g.o> +fluxbox-1.1.1-r2.ebuild, |
59 |
+ +files/mousefocus-1.1.1-r2.patch, +files/strictmousefocus-1.1.1.patch, |
60 |
+ metadata.xml: |
61 |
+ Fix focus-follows-mouse (Bug #290649) |
62 |
|
63 |
14 Nov 2009; Tomáš Chvátal <scarabeus@g.o> fluxbox-9999.ebuild: |
64 |
QA: drop Keywords from live ebuild, make ebuild properly eapi2. |
65 |
|
66 |
|
67 |
|
68 |
1.1 x11-wm/fluxbox/fluxbox-1.1.1-r2.ebuild |
69 |
|
70 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/fluxbox/fluxbox-1.1.1-r2.ebuild?rev=1.1&view=markup |
71 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/fluxbox/fluxbox-1.1.1-r2.ebuild?rev=1.1&content-type=text/plain |
72 |
|
73 |
Index: fluxbox-1.1.1-r2.ebuild |
74 |
=================================================================== |
75 |
# Copyright 1999-2010 Gentoo Foundation |
76 |
# Distributed under the terms of the GNU General Public License v2 |
77 |
# $Header: /var/cvsroot/gentoo-x86/x11-wm/fluxbox/fluxbox-1.1.1-r2.ebuild,v 1.1 2010/05/29 15:01:29 lack Exp $ |
78 |
|
79 |
EAPI="2" |
80 |
inherit eutils |
81 |
|
82 |
IUSE="nls xinerama truetype gnome +imlib +slit +toolbar vim-syntax -newmousefocus" |
83 |
|
84 |
DESCRIPTION="Fluxbox is an X11 window manager featuring tabs and an iconbar" |
85 |
|
86 |
SRC_URI="mirror://sourceforge/fluxbox/${P}.tar.bz2" |
87 |
HOMEPAGE="http://www.fluxbox.org" |
88 |
|
89 |
# Please note that USE="gnome" simply adds support for some gnome protocols, and |
90 |
# does not depend on external libraries. However, it does make the binary a |
91 |
# fair bit bigger, so we don't want to turn it on unless the user actually wants |
92 |
# it. |
93 |
|
94 |
RDEPEND="x11-libs/libXpm |
95 |
x11-libs/libXrandr |
96 |
xinerama? ( x11-libs/libXinerama ) |
97 |
x11-apps/xmessage |
98 |
x11-libs/libXft |
99 |
truetype? ( media-libs/freetype ) |
100 |
imlib? ( >=media-libs/imlib2-1.2.0[X] ) |
101 |
vim-syntax? ( app-vim/fluxbox-syntax ) |
102 |
!!<x11-themes/fluxbox-styles-fluxmod-20040809-r1 |
103 |
!!<=x11-misc/fluxconf-0.9.9 |
104 |
!!<=x11-misc/fbdesk-1.2.1" |
105 |
DEPEND="nls? ( sys-devel/gettext ) |
106 |
x11-proto/xextproto |
107 |
xinerama? ( x11-proto/xineramaproto ) |
108 |
${RDEPEND}" |
109 |
PROVIDE="virtual/blackbox" |
110 |
|
111 |
SLOT="0" |
112 |
LICENSE="MIT" |
113 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
114 |
|
115 |
src_prepare() { |
116 |
# We need to be able to include directories rather than just plain |
117 |
# files in menu [include] items. This patch will allow us to do clever |
118 |
# things with style ebuilds. |
119 |
epatch "${FILESDIR}/gentoo_style_location-1.1.x.patch" |
120 |
|
121 |
# Patch to handle a broken key file gracefully, #263379 |
122 |
epatch "${FILESDIR}/macrocmd-crash-1.1.1.patch" |
123 |
|
124 |
# Patch to quiet fbsetbg on upgrade |
125 |
epatch "${FILESDIR}/fbsetbg-quiet-1.1.1.patch" |
126 |
|
127 |
# Patch to fix window focus bug when you have "focus-follows-mouse" |
128 |
if use newmousefocus; then |
129 |
# These change 'MouseFocus' behaviour to what will be in fluxbox-1.1.2 |
130 |
# and add the new 'StrictMouseFocus' mode. |
131 |
epatch "${FILESDIR}/mousefocus-1.1.1.patch" |
132 |
epatch "${FILESDIR}/strictmousefocus-1.1.1.patch" |
133 |
else |
134 |
epatch "${FILESDIR}/mousefocus-1.1.1-r2.patch" |
135 |
fi |
136 |
|
137 |
# Add in the Gentoo -r number to fluxbox -version output. |
138 |
if [[ "${PR}" == "r0" ]] ; then |
139 |
suffix="gentoo" |
140 |
else |
141 |
suffix="gentoo-${PR}" |
142 |
fi |
143 |
sed -i \ |
144 |
-e "s~\(__fluxbox_version .@VERSION@\)~\1-${suffix}~" \ |
145 |
version.h.in || die "version sed failed" |
146 |
} |
147 |
|
148 |
src_configure() { |
149 |
econf \ |
150 |
$(use_enable nls) \ |
151 |
$(use_enable xinerama) \ |
152 |
$(use_enable truetype xft) \ |
153 |
$(use_enable gnome) \ |
154 |
$(use_enable imlib imlib2) \ |
155 |
$(use_enable slit ) \ |
156 |
$(use_enable toolbar ) \ |
157 |
--sysconfdir=/etc/X11/${PN} \ |
158 |
--with-style=/usr/share/fluxbox/styles/Emerge \ |
159 |
${myconf} |
160 |
} |
161 |
|
162 |
src_compile() { |
163 |
default |
164 |
|
165 |
ebegin "Creating a menu file (may take a while)" |
166 |
mkdir -p "${T}/home/.fluxbox" || die "mkdir home failed" |
167 |
MENUFILENAME="${S}/data/menu" MENUTITLE="Fluxbox ${PV}" \ |
168 |
CHECKINIT="no. go away." HOME="${T}/home" \ |
169 |
"${S}/util/fluxbox-generate_menu" -is -ds \ |
170 |
|| die "menu generation failed" |
171 |
eend $? |
172 |
} |
173 |
|
174 |
src_install() { |
175 |
dodir /usr/share/fluxbox |
176 |
emake DESTDIR="${D}" STRIP="" install || die "install failed" |
177 |
dodoc README* AUTHORS TODO* ChangeLog NEWS |
178 |
|
179 |
dodir /usr/share/xsessions |
180 |
insinto /usr/share/xsessions |
181 |
doins "${FILESDIR}/${PN}.desktop" |
182 |
|
183 |
exeinto /etc/X11/Sessions |
184 |
newexe "${FILESDIR}/${PN}.xsession" fluxbox |
185 |
|
186 |
dodir /usr/share/fluxbox/menu.d |
187 |
|
188 |
# Styles menu framework |
189 |
dodir /usr/share/fluxbox/menu.d/styles |
190 |
insinto /usr/share/fluxbox/menu.d/styles |
191 |
doins "${FILESDIR}/styles-menu-fluxbox" || die |
192 |
doins "${FILESDIR}/styles-menu-commonbox" || die |
193 |
doins "${FILESDIR}/styles-menu-user" || die |
194 |
} |