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