1 |
lack 08/02/28 15:25:45 |
2 |
|
3 |
Modified: ChangeLog fluxbox-1.0.0-r1.ebuild |
4 |
Added: fluxbox-1.0.0-r2.ebuild |
5 |
Log: |
6 |
Patch for gcc-4.3 compatibility, from bug #211675 |
7 |
(Portage version: 2.1.4.1) |
8 |
|
9 |
Revision Changes Path |
10 |
1.246 x11-wm/fluxbox/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/fluxbox/ChangeLog?rev=1.246&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/fluxbox/ChangeLog?rev=1.246&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/fluxbox/ChangeLog?r1=1.245&r2=1.246 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-wm/fluxbox/ChangeLog,v |
19 |
retrieving revision 1.245 |
20 |
retrieving revision 1.246 |
21 |
diff -u -r1.245 -r1.246 |
22 |
--- ChangeLog 28 Jan 2008 14:45:11 -0000 1.245 |
23 |
+++ ChangeLog 28 Feb 2008 15:25:44 -0000 1.246 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for x11-wm/fluxbox |
26 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/fluxbox/ChangeLog,v 1.245 2008/01/28 14:45:11 lack Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/fluxbox/ChangeLog,v 1.246 2008/02/28 15:25:44 lack Exp $ |
29 |
+ |
30 |
+*fluxbox-1.0.0-r2 (28 Feb 2008) |
31 |
+ |
32 |
+ 28 Feb 2008; Jim Ramsay <lack@g.o> +files/1.0.0/gcc-4.3.patch, |
33 |
+ fluxbox-1.0.0-r1.ebuild, +fluxbox-1.0.0-r2.ebuild: |
34 |
+ Patch for gcc-4.3 compatibility, from bug #211675 |
35 |
|
36 |
28 Jan 2008; Jim Ramsay <lack@g.o> |
37 |
-files/1.0_rc3/gentoo_style_location.patch, -fluxbox-1.0_rc3_p4983.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.2 x11-wm/fluxbox/fluxbox-1.0.0-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/fluxbox/fluxbox-1.0.0-r1.ebuild?rev=1.2&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/fluxbox/fluxbox-1.0.0-r1.ebuild?rev=1.2&content-type=text/plain |
45 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/fluxbox/fluxbox-1.0.0-r1.ebuild?r1=1.1&r2=1.2 |
46 |
|
47 |
Index: fluxbox-1.0.0-r1.ebuild |
48 |
=================================================================== |
49 |
RCS file: /var/cvsroot/gentoo-x86/x11-wm/fluxbox/fluxbox-1.0.0-r1.ebuild,v |
50 |
retrieving revision 1.1 |
51 |
retrieving revision 1.2 |
52 |
diff -u -r1.1 -r1.2 |
53 |
--- fluxbox-1.0.0-r1.ebuild 26 Dec 2007 19:27:02 -0000 1.1 |
54 |
+++ fluxbox-1.0.0-r1.ebuild 28 Feb 2008 15:25:44 -0000 1.2 |
55 |
@@ -1,6 +1,6 @@ |
56 |
-# Copyright 1999-2007 Gentoo Foundation |
57 |
+# Copyright 1999-2008 Gentoo Foundation |
58 |
# Distributed under the terms of the GNU General Public License v2 |
59 |
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/fluxbox/fluxbox-1.0.0-r1.ebuild,v 1.1 2007/12/26 19:27:02 lack Exp $ |
60 |
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/fluxbox/fluxbox-1.0.0-r1.ebuild,v 1.2 2008/02/28 15:25:44 lack Exp $ |
61 |
|
62 |
EAPI=1 |
63 |
inherit eutils |
64 |
@@ -59,6 +59,9 @@ |
65 |
# A couple menu generation fixes, #199437 and #199439 |
66 |
epatch "${FILESDIR}/${PV}/generate-menu.patch" |
67 |
|
68 |
+ # Patch for gcc-4.3, #211675 |
69 |
+ epatch "${FILESDIR}/${PV}/gcc-4.3.patch" |
70 |
+ |
71 |
# Add in the Gentoo -r number to fluxbox -version output. |
72 |
if [[ "${PR}" == "r0" ]] ; then |
73 |
suffix="gentoo" |
74 |
|
75 |
|
76 |
|
77 |
1.1 x11-wm/fluxbox/fluxbox-1.0.0-r2.ebuild |
78 |
|
79 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/fluxbox/fluxbox-1.0.0-r2.ebuild?rev=1.1&view=markup |
80 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/fluxbox/fluxbox-1.0.0-r2.ebuild?rev=1.1&content-type=text/plain |
81 |
|
82 |
Index: fluxbox-1.0.0-r2.ebuild |
83 |
=================================================================== |
84 |
# Copyright 1999-2008 Gentoo Foundation |
85 |
# Distributed under the terms of the GNU General Public License v2 |
86 |
# $Header: /var/cvsroot/gentoo-x86/x11-wm/fluxbox/fluxbox-1.0.0-r2.ebuild,v 1.1 2008/02/28 15:25:44 lack Exp $ |
87 |
|
88 |
EAPI=1 |
89 |
inherit eutils |
90 |
|
91 |
IUSE="nls xinerama truetype kde gnome imlib +slit +toolbar vim-syntax" |
92 |
|
93 |
DESCRIPTION="Fluxbox is an X11 window manager featuring tabs and an iconbar" |
94 |
|
95 |
SRC_URI="mirror://sourceforge/fluxbox/${P}.tar.bz2" |
96 |
HOMEPAGE="http://www.fluxbox.org" |
97 |
|
98 |
# Please note that USE="kde gnome" simply adds support for the respective |
99 |
# protocols, and does not depend on external libraries. They do, however, |
100 |
# make the binary a fair bit bigger, so we don't want to turn them on unless |
101 |
# the user actually wants them. |
102 |
|
103 |
RDEPEND="x11-libs/libXpm |
104 |
x11-libs/libXrandr |
105 |
xinerama? ( x11-libs/libXinerama ) |
106 |
x11-apps/xmessage |
107 |
virtual/xft |
108 |
truetype? ( media-libs/freetype ) |
109 |
imlib? ( >=media-libs/imlib2-1.2.0 ) |
110 |
vim-syntax? ( app-vim/fluxbox-syntax ) |
111 |
!<x11-themes/fluxbox-styles-fluxmod-20040809-r1 |
112 |
!<=x11-misc/fluxconf-0.9.9 |
113 |
!<=x11-misc/fbdesk-1.2.1" |
114 |
DEPEND="nls? ( sys-devel/gettext ) |
115 |
x11-proto/xextproto |
116 |
xinerama? ( x11-proto/xineramaproto ) |
117 |
${RDEPEND}" |
118 |
PROVIDE="virtual/blackbox" |
119 |
|
120 |
SLOT="0" |
121 |
LICENSE="MIT" |
122 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
123 |
|
124 |
pkg_setup() { |
125 |
if use imlib && ! built_with_use media-libs/imlib2 X ; then |
126 |
eerror "To build fluxbox with imlib in USE, you need an X enabled" |
127 |
eerror "media-libs/imlib2 . Either recompile imlib2 with the X" |
128 |
eerror "USE flag turned on or disable the imlib USE flag for fluxbox." |
129 |
die "USE=imlib requires imlib2 with USE=X" |
130 |
fi |
131 |
} |
132 |
|
133 |
src_unpack() { |
134 |
unpack ${A} |
135 |
cd "${S}" |
136 |
|
137 |
# We need to be able to include directories rather than just plain |
138 |
# files in menu [include] items. This patch will allow us to do clever |
139 |
# things with style ebuilds. |
140 |
epatch "${FILESDIR}/${PV}/gentoo_style_location.patch" |
141 |
|
142 |
# A couple menu generation fixes, #199437 and #199439 |
143 |
epatch "${FILESDIR}/${PV}/generate-menu.patch" |
144 |
|
145 |
# Add in the Gentoo -r number to fluxbox -version output. |
146 |
if [[ "${PR}" == "r0" ]] ; then |
147 |
suffix="gentoo" |
148 |
else |
149 |
suffix="gentoo-${PR}" |
150 |
fi |
151 |
sed -i \ |
152 |
-e "s~\(__fluxbox_version .@VERSION@\)~\1-${suffix}~" \ |
153 |
version.h.in || die "version sed failed" |
154 |
} |
155 |
|
156 |
src_compile() { |
157 |
econf \ |
158 |
$(use_enable nls) \ |
159 |
$(use_enable xinerama) \ |
160 |
$(use_enable truetype xft) \ |
161 |
$(use_enable kde) \ |
162 |
$(use_enable gnome) \ |
163 |
$(use_enable imlib imlib2) \ |
164 |
$(use_enable slit ) \ |
165 |
$(use_enable toolbar ) \ |
166 |
--sysconfdir=/etc/X11/${PN} \ |
167 |
--with-style=/usr/share/fluxbox/styles/Emerge \ |
168 |
${myconf} || die "configure failed" |
169 |
|
170 |
emake || die "make failed" |
171 |
|
172 |
ebegin "Creating a menu file (may take a while)" |
173 |
mkdir -p "${T}/home/.fluxbox" || die "mkdir home failed" |
174 |
MENUFILENAME="${S}/data/menu" MENUTITLE="Fluxbox ${PV}" \ |
175 |
CHECKINIT="no. go away." HOME="${T}/home" \ |
176 |
"${S}/util/fluxbox-generate_menu" -is -ds \ |
177 |
|| die "menu generation failed" |
178 |
eend $? |
179 |
} |
180 |
|
181 |
src_install() { |
182 |
dodir /usr/share/fluxbox |
183 |
emake DESTDIR="${D}" install || die "install failed" |
184 |
dodoc README* AUTHORS TODO* ChangeLog NEWS |
185 |
|
186 |
dodir /usr/share/xsessions |
187 |
insinto /usr/share/xsessions |
188 |
doins "${FILESDIR}/${PN}.desktop" |
189 |
|
190 |
exeinto /etc/X11/Sessions |
191 |
newexe "${FILESDIR}/${PN}.xsession" fluxbox |
192 |
|
193 |
dodir /usr/share/fluxbox/menu.d |
194 |
|
195 |
# Styles menu framework |
196 |
dodir /usr/share/fluxbox/menu.d/styles |
197 |
insinto /usr/share/fluxbox/menu.d/styles |
198 |
doins "${FILESDIR}/styles-menu-fluxbox" || die |
199 |
doins "${FILESDIR}/styles-menu-commonbox" || die |
200 |
doins "${FILESDIR}/styles-menu-user" || die |
201 |
} |
202 |
|
203 |
|
204 |
|
205 |
-- |
206 |
gentoo-commits@l.g.o mailing list |