Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-wm/awesome: awesome-3.5_rc1-r1.ebuild ChangeLog awesome-3.5_rc1.ebuild
Date: Wed, 28 Nov 2012 00:20:41
Message-Id: 20121128002030.74B2420C65@flycatcher.gentoo.org
1 robbat2 12/11/28 00:20:30
2
3 Modified: ChangeLog
4 Added: awesome-3.5_rc1-r1.ebuild
5 Removed: awesome-3.5_rc1.ebuild
6 Log:
7 Upstream added a new dep, lgi, that was underdocumented. Also block building luadocs unless you have lua-5.2 per upstream emails on awesome ML.
8
9 (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit)
10
11 Revision Changes Path
12 1.140 x11-wm/awesome/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/awesome/ChangeLog?rev=1.140&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/awesome/ChangeLog?rev=1.140&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/awesome/ChangeLog?r1=1.139&r2=1.140
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/x11-wm/awesome/ChangeLog,v
21 retrieving revision 1.139
22 retrieving revision 1.140
23 diff -p -w -b -B -u -u -r1.139 -r1.140
24 --- ChangeLog 24 Nov 2012 21:28:03 -0000 1.139
25 +++ ChangeLog 28 Nov 2012 00:20:30 -0000 1.140
26 @@ -1,6 +1,13 @@
27 # ChangeLog for x11-wm/awesome
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/awesome/ChangeLog,v 1.139 2012/11/24 21:28:03 robbat2 Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/awesome/ChangeLog,v 1.140 2012/11/28 00:20:30 robbat2 Exp $
31 +
32 +*awesome-3.5_rc1-r1 (28 Nov 2012)
33 +
34 + 28 Nov 2012; Robin H. Johnson <robbat2@g.o> +awesome-3.5_rc1-r1.ebuild,
35 + -awesome-3.5_rc1.ebuild:
36 + Upstream added a new dep, lgi, that was underdocumented. Also block building
37 + luadocs unless you have lua-5.2 per upstream emails on awesome ML.
38
39 *awesome-3.5_rc1 (24 Nov 2012)
40
41
42
43
44 1.1 x11-wm/awesome/awesome-3.5_rc1-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/awesome/awesome-3.5_rc1-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/awesome/awesome-3.5_rc1-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: awesome-3.5_rc1-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2012 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/x11-wm/awesome/awesome-3.5_rc1-r1.ebuild,v 1.1 2012/11/28 00:20:30 robbat2 Exp $
54
55 EAPI="3"
56 CMAKE_MIN_VERSION="2.8"
57 inherit cmake-utils eutils
58
59 DESCRIPTION="A dynamic floating and tiling window manager"
60 HOMEPAGE="http://awesome.naquadah.org/"
61 MY_PV="${PV/_/-}"
62 MY_P="${PN}-${MY_PV}"
63 SRC_URI="http://awesome.naquadah.org/download/${MY_P}.tar.xz"
64
65 LICENSE="GPL-2"
66 SLOT="0"
67 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd"
68 IUSE="dbus doc elibc_FreeBSD gnome"
69
70 COMMON_DEPEND=">=dev-lang/lua-5.1
71 dev-libs/libev
72 >=dev-libs/libxdg-basedir-1
73 media-libs/imlib2[png]
74 x11-libs/cairo[xcb]
75 || ( <x11-libs/libX11-1.3.99.901[xcb] >=x11-libs/libX11-1.3.99.901 )
76 >=x11-libs/libxcb-1.6
77 >=x11-libs/pango-1.19.3
78 >=x11-libs/startup-notification-0.10_p20110426
79 >=x11-libs/xcb-util-0.3.8
80 dbus? ( >=sys-apps/dbus-1 )
81 elibc_FreeBSD? ( dev-libs/libexecinfo )
82 >=dev-lua/lgi-0.6.1"
83
84 # graphicsmagick's 'convert -channel' has no Alpha support, bug #352282
85 DEPEND="${COMMON_DEPEND}
86 >=app-text/asciidoc-8.4.5
87 app-text/xmlto
88 dev-util/gperf
89 virtual/pkgconfig
90 media-gfx/imagemagick[png]
91 >=x11-proto/xcb-proto-1.5
92 >=x11-proto/xproto-7.0.15
93 doc? (
94 app-doc/doxygen
95 dev-lua/luadoc
96 media-gfx/graphviz
97 )"
98
99 RDEPEND="${COMMON_DEPEND}
100 || (
101 x11-misc/gxmessage
102 x11-apps/xmessage
103 )"
104
105 # bug #321433: Need one of these to for awsetbg.
106 # imagemagick provides 'display' and is further down the default list, but
107 # listed here for completeness. 'display' however is only usable with
108 # x11-apps/xwininfo also present.
109 RDEPEND="${RDEPEND}
110 || (
111 ( x11-apps/xwininfo
112 || ( media-gfx/imagemagick[X] media-gfx/graphicsmagick[imagemagick,X] )
113 )
114 x11-misc/habak
115 media-gfx/feh
116 x11-misc/hsetroot
117 media-gfx/qiv
118 media-gfx/xv
119 x11-misc/xsri
120 media-gfx/xli
121 x11-apps/xsetroot
122 )"
123
124 DOCS="AUTHORS BUGS PATCHES README STYLE"
125
126 S="${WORKDIR}/${MY_P}"
127
128 src_prepare() {
129 # Upstreamed
130 #epatch \
131 # "${FILESDIR}/${PN}-3.4.2-backtrace.patch"
132
133 # bug #408025
134 epatch "${FILESDIR}/${PN}-3.5_rc1-convert-path.patch"
135 }
136
137 src_configure() {
138 mycmakeargs=(
139 -DPREFIX="${EPREFIX}"/usr
140 -DSYSCONFDIR="${EPREFIX}"/etc
141 $(cmake-utils_use_with dbus DBUS)
142 )
143
144 # The lua docs now officially require ldoc.lua and NOT luadoc
145 # As the modules documentation has been updated to the Lua 5.2 style
146 has_version >=dev-lang/lua-5.2 && mycmakeargs+="$(cmake-utils_use doc GENERATE_LUADOC)"
147
148 cmake-utils_src_configure
149 }
150
151 src_compile() {
152 local myargs="all"
153
154 if use doc ; then
155 myargs="${myargs} doc"
156 fi
157 cmake-utils_src_make ${myargs}
158 }
159
160 src_install() {
161 cmake-utils_src_install
162
163 if use doc ; then
164 (
165 cd "${CMAKE_BUILD_DIR}"/doc
166 mv html doxygen
167 dohtml -r doxygen || die
168 )
169 fi
170 rm -rf "${ED}"/usr/share/doc/${PN} || die "Cleanup of dupe docs failed"
171
172 exeinto /etc/X11/Sessions
173 newexe "${FILESDIR}"/${PN}-session ${PN} || die
174
175 # GNOME-based awesome
176 if use gnome ; then
177 # GNOME session
178 insinto /usr/share/gnome-session/sessions
179 doins "${FILESDIR}/${PN}-gnome.session" || die
180 # Application launcher
181 insinto /usr/share/applications
182 doins "${FILESDIR}/${PN}-gnome.desktop" || die
183 # X Session
184 insinto /usr/share/xsessions/
185 doins "${FILESDIR}/${PN}-gnome-xsession.desktop" || die
186 fi
187 }