Gentoo Archives: gentoo-commits

From: "Jim Ramsay (lack)" <lack@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-wm/fluxbox: fluxbox-1.3.0.ebuild ChangeLog
Date: Tue, 22 Feb 2011 13:23:05
Message-Id: 20110222132255.3989C20054@flycatcher.gentoo.org
1 lack 11/02/22 13:22:55
2
3 Modified: ChangeLog
4 Added: fluxbox-1.3.0.ebuild
5 Log:
6 Fluxbox 1.3.0 is released! (Bug #355643)
7
8 (Portage version: 2.1.9.34/cvs/Linux i686)
9
10 Revision Changes Path
11 1.284 x11-wm/fluxbox/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/fluxbox/ChangeLog?rev=1.284&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/fluxbox/ChangeLog?rev=1.284&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/fluxbox/ChangeLog?r1=1.283&r2=1.284
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-wm/fluxbox/ChangeLog,v
20 retrieving revision 1.283
21 retrieving revision 1.284
22 diff -u -r1.283 -r1.284
23 --- ChangeLog 20 Feb 2011 23:50:34 -0000 1.283
24 +++ ChangeLog 22 Feb 2011 13:22:55 -0000 1.284
25 @@ -1,6 +1,12 @@
26 # ChangeLog for x11-wm/fluxbox
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/fluxbox/ChangeLog,v 1.283 2011/02/20 23:50:34 josejx Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/fluxbox/ChangeLog,v 1.284 2011/02/22 13:22:55 lack Exp $
30 +
31 +*fluxbox-1.3.0 (21 Feb 2011)
32 +
33 + 21 Feb 2011; Jim Ramsay <lack@g.o> +fluxbox-1.3.0.ebuild,
34 + +files/fluxbox-1.3.0-osx-has-otool.patch:
35 + Fluxbox 1.3.0 is released! (Bug #355643)
36
37 20 Feb 2011; Joseph Jezak <josejx@g.o> fluxbox-1.1.1-r3.ebuild:
38 Marked ppc/ppc64 stable for bug #352833.
39
40
41
42 1.1 x11-wm/fluxbox/fluxbox-1.3.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/fluxbox/fluxbox-1.3.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/fluxbox/fluxbox-1.3.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: fluxbox-1.3.0.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/x11-wm/fluxbox/fluxbox-1.3.0.ebuild,v 1.1 2011/02/22 13:22:55 lack Exp $
52
53 EAPI="4"
54 inherit eutils prefix
55
56 IUSE="nls xinerama bidi +truetype gnome +imlib +slit +toolbar vim-syntax"
57
58 DESCRIPTION="Fluxbox is an X11 window manager featuring tabs and an iconbar"
59
60 SRC_URI="mirror://sourceforge/fluxbox/${P}.tar.bz2"
61 HOMEPAGE="http://www.fluxbox.org"
62
63 # Please note that USE="gnome" simply adds support for some gnome protocols, and
64 # does not depend on external libraries. However, it does make the binary a
65 # fair bit bigger, so we don't want to turn it on unless the user actually wants
66 # it.
67
68 RDEPEND="x11-libs/libXpm
69 x11-libs/libXrandr
70 xinerama? ( x11-libs/libXinerama )
71 x11-apps/xmessage
72 x11-libs/libXft
73 truetype? ( media-libs/freetype )
74 bidi? ( dev-libs/fribidi )
75 imlib? ( >=media-libs/imlib2-1.2.0[X] )
76 vim-syntax? ( app-vim/fluxbox-syntax )
77 !!<x11-themes/fluxbox-styles-fluxmod-20040809-r1
78 !!<=x11-misc/fluxconf-0.9.9
79 !!<=x11-misc/fbdesk-1.2.1"
80 DEPEND="nls? ( sys-devel/gettext )
81 x11-proto/xextproto
82 xinerama? ( x11-proto/xineramaproto )
83 ${RDEPEND}"
84 PROVIDE="virtual/blackbox"
85
86 SLOT="0"
87 LICENSE="MIT"
88 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux"
89
90 src_prepare() {
91 # We need to be able to include directories rather than just plain
92 # files in menu [include] items. This patch will allow us to do clever
93 # things with style ebuilds.
94 epatch "${FILESDIR}/gentoo_style_location-1.1.x.patch"
95 eprefixify util/fluxbox-generate_menu.in
96
97 epatch "${FILESDIR}"/${P}-osx-has-otool.patch
98
99 # Add in the Gentoo -r number to fluxbox -version output.
100 if [[ "${PR}" == "r0" ]] ; then
101 suffix="gentoo"
102 else
103 suffix="gentoo-${PR}"
104 fi
105 sed -i \
106 -e "s~\(__fluxbox_version .@VERSION@\)~\1-${suffix}~" \
107 version.h.in || die "version sed failed"
108 }
109
110 src_configure() {
111 econf \
112 $(use_enable nls) \
113 $(use_enable xinerama) \
114 $(use_enable truetype xft) \
115 $(use_enable gnome) \
116 $(use_enable imlib imlib2) \
117 $(use_enable bidi fribidi ) \
118 $(use_enable slit ) \
119 $(use_enable toolbar ) \
120 --sysconfdir="${EPREFIX}"/etc/X11/${PN} \
121 --with-style="${EPREFIX}"/usr/share/fluxbox/styles/Emerge \
122 ${myconf}
123 }
124
125 src_compile() {
126 default
127
128 ebegin "Creating a menu file (may take a while)"
129 mkdir -p "${T}/home/.fluxbox" || die "mkdir home failed"
130 MENUFILENAME="${S}/data/menu" MENUTITLE="Fluxbox ${PV}" \
131 CHECKINIT="no. go away." HOME="${T}/home" \
132 "${S}/util/fluxbox-generate_menu" -is -ds \
133 || die "menu generation failed"
134 eend $?
135 }
136
137 src_install() {
138 dodir /usr/share/fluxbox
139 emake DESTDIR="${D}" STRIP="" install || die "install failed"
140 dodoc README* AUTHORS TODO* ChangeLog NEWS
141
142 dodir /usr/share/xsessions
143 insinto /usr/share/xsessions
144 doins "${FILESDIR}/${PN}.desktop"
145
146 exeinto /etc/X11/Sessions
147 newexe "${FILESDIR}/${PN}.xsession" fluxbox
148
149 dodir /usr/share/fluxbox/menu.d
150
151 # Styles menu framework
152 dodir /usr/share/fluxbox/menu.d/styles
153 insinto /usr/share/fluxbox/menu.d/styles
154 doins "${FILESDIR}/styles-menu-fluxbox" || die
155 doins "${FILESDIR}/styles-menu-commonbox" || die
156 doins "${FILESDIR}/styles-menu-user" || die
157 }