Gentoo Archives: gentoo-commits

From: "Matt Thode (prometheanfire)" <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-wm/awesome: awesome-3.5.5-r1.ebuild ChangeLog
Date: Mon, 25 Aug 2014 03:32:32
Message-Id: 20140825033227.836703D82@oystercatcher.gentoo.org
1 prometheanfire 14/08/25 03:32:27
2
3 Modified: ChangeLog
4 Added: awesome-3.5.5-r1.ebuild
5 Log:
6 fix for bug 509658
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3)
9
10 Revision Changes Path
11 1.163 x11-wm/awesome/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/awesome/ChangeLog?rev=1.163&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/awesome/ChangeLog?rev=1.163&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/awesome/ChangeLog?r1=1.162&r2=1.163
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-wm/awesome/ChangeLog,v
20 retrieving revision 1.162
21 retrieving revision 1.163
22 diff -u -r1.162 -r1.163
23 --- ChangeLog 18 Apr 2014 17:41:39 -0000 1.162
24 +++ ChangeLog 25 Aug 2014 03:32:27 -0000 1.163
25 @@ -1,6 +1,12 @@
26 # ChangeLog for x11-wm/awesome
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/awesome/ChangeLog,v 1.162 2014/04/18 17:41:39 maksbotan Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/awesome/ChangeLog,v 1.163 2014/08/25 03:32:27 prometheanfire Exp $
30 +
31 +*awesome-3.5.5-r1 (25 Aug 2014)
32 +
33 + 25 Aug 2014; Matthew Thode <prometheanfire@g.o>
34 + +awesome-3.5.5-r1.ebuild, +files/awesome-3.5.5-cflag-cleanup.patch:
35 + fix for bug 509658
36
37 *awesome-3.5.5 (18 Apr 2014)
38
39
40
41
42 1.1 x11-wm/awesome/awesome-3.5.5-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/awesome/awesome-3.5.5-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/awesome/awesome-3.5.5-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: awesome-3.5.5-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/x11-wm/awesome/awesome-3.5.5-r1.ebuild,v 1.1 2014/08/25 03:32:27 prometheanfire Exp $
52
53 EAPI="5"
54 CMAKE_MIN_VERSION="2.8"
55 inherit cmake-utils eutils
56
57 DESCRIPTION="A dynamic floating and tiling window manager"
58 HOMEPAGE="http://awesome.naquadah.org/"
59 SRC_URI="http://awesome.naquadah.org/download/${P}.tar.xz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd"
64 IUSE="dbus doc elibc_FreeBSD gnome"
65
66 COMMON_DEPEND="
67 >=dev-lang/lua-5.1
68 dev-libs/glib:2
69 >=dev-libs/libxdg-basedir-1
70 >=dev-lua/lgi-0.7
71 x11-libs/cairo[xcb]
72 x11-libs/gdk-pixbuf:2
73 >=x11-libs/libxcb-1.6
74 >=x11-libs/pango-1.19.3[introspection]
75 >=x11-libs/startup-notification-0.10_p20110426
76 >=x11-libs/xcb-util-0.3.8
77 x11-libs/xcb-util-cursor
78 x11-libs/libXcursor
79 || ( <x11-libs/libX11-1.3.99.901[xcb] >=x11-libs/libX11-1.3.99.901 )
80 dbus? ( >=sys-apps/dbus-1 )
81 elibc_FreeBSD? ( dev-libs/libexecinfo )"
82
83 # graphicsmagick's 'convert -channel' has no Alpha support, bug #352282
84 DEPEND="${COMMON_DEPEND}
85 >=app-text/asciidoc-8.4.5
86 app-text/xmlto
87 dev-util/gperf
88 virtual/pkgconfig
89 media-gfx/imagemagick[png]
90 >=x11-proto/xcb-proto-1.5
91 >=x11-proto/xproto-7.0.15
92 doc? (
93 app-doc/doxygen
94 media-gfx/graphviz
95 )"
96
97 RDEPEND="${COMMON_DEPEND}"
98
99 DOCS="AUTHORS BUGS PATCHES README STYLE"
100
101 src_prepare() {
102 # bug #408025
103 epatch "${FILESDIR}/${PN}-3.5_rc1-convert-path.patch"
104 epatch "${FILESDIR}/${PN}-xsession.patch"
105
106 # bug #507604
107 epatch "${FILESDIR}/${P}-util.lua-xdg-icons-fix.patch"
108 # bug #509658
109 epatch "${FILESDIR}/${P}-cflag-cleanup.patch"
110 }
111
112 src_configure() {
113 mycmakeargs=(
114 -DPREFIX="${EPREFIX}"/usr
115 -DSYSCONFDIR="${EPREFIX}"/etc
116 $(cmake-utils_use_with dbus DBUS)
117 $(cmake-utils_use doc GENERATE_DOC)
118 )
119
120 cmake-utils_src_configure
121 }
122
123 src_compile() {
124 local myargs="all"
125
126 if use doc ; then
127 myargs="${myargs} doc"
128 fi
129 cmake-utils_src_make ${myargs}
130 }
131
132 src_install() {
133 cmake-utils_src_install
134
135 if use doc ; then
136 (
137 cd "${CMAKE_BUILD_DIR}"/doc
138 mv html doxygen
139 dohtml -r doxygen || die
140 )
141 fi
142 rm -rf "${ED}"/usr/share/doc/${PN} || die "Cleanup of dupe docs failed"
143
144 exeinto /etc/X11/Sessions
145 newexe "${FILESDIR}"/${PN}-session ${PN} || die
146
147 # GNOME-based awesome
148 if use gnome ; then
149 # GNOME session
150 insinto /usr/share/gnome-session/sessions
151 newins "${FILESDIR}/${PN}-gnome-3.session" "${PN}-gnome.session" || die
152 # Application launcher
153 domenu "${FILESDIR}/${PN}-gnome.desktop" || die
154 # X Session
155 insinto /usr/share/xsessions/
156 doins "${FILESDIR}/${PN}-gnome-xsession.desktop" || die
157 fi
158 }
159
160 pkg_postinst() {
161 # bug #447308
162 if use gnome; then
163 elog
164 elog "You have enabled the gnome USE flag."
165 elog "Please note that quitting awesome won't kill your gnome session."
166 elog "To really quit the session, you should bind your quit key"
167 elog "to the following command:"
168 elog " gnome-session-quit --logout"
169 elog "For more info visit"
170 elog " https://bugs.gentoo.org/show_bug.cgi?id=447308"
171 fi
172
173 # bug #440724
174 elog
175 elog "If you are having issues with Java application windows being"
176 elog "completely blank, try installing"
177 elog " x11-misc/wmname"
178 elog "and setting the WM name to LG3D."
179 elog "For more info visit"
180 elog " https://bugs.gentoo.org/show_bug.cgi?id=440724"
181 elog
182 }