Gentoo Archives: gentoo-commits

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