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