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-r1.ebuild ChangeLog
Date: Sun, 27 Oct 2013 19:10:58
Message-Id: 20131027191053.9B0FE2004E@flycatcher.gentoo.org
1 maksbotan 13/10/27 19:10:53
2
3 Modified: ChangeLog
4 Added: awesome-3.5.2-r1.ebuild
5 Log:
6 Revision bump with gnome-3 specific session file, bug 478218.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key F8DBDADE)
9
10 Revision Changes Path
11 1.156 x11-wm/awesome/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/awesome/ChangeLog?rev=1.156&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/awesome/ChangeLog?rev=1.156&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/awesome/ChangeLog?r1=1.155&r2=1.156
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-wm/awesome/ChangeLog,v
20 retrieving revision 1.155
21 retrieving revision 1.156
22 diff -u -r1.155 -r1.156
23 --- ChangeLog 27 Oct 2013 11:56:08 -0000 1.155
24 +++ ChangeLog 27 Oct 2013 19:10:53 -0000 1.156
25 @@ -1,6 +1,12 @@
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.155 2013/10/27 11:56:08 maksbotan Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/awesome/ChangeLog,v 1.156 2013/10/27 19:10:53 maksbotan Exp $
30 +
31 +*awesome-3.5.2-r1 (27 Oct 2013)
32 +
33 + 27 Oct 2013; Maxim Koltsov <maksbotan@g.o> +awesome-3.5.2-r1.ebuild,
34 + +files/awesome-gnome-3.session, files/awesome-gnome.session:
35 + Revision bump with gnome-3 specific session file, bug 478218.
36
37 *awesome-3.5.2 (27 Oct 2013)
38
39
40
41
42 1.1 x11-wm/awesome/awesome-3.5.2-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/awesome/awesome-3.5.2-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/awesome/awesome-3.5.2-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: awesome-3.5.2-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2013 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.2-r1.ebuild,v 1.1 2013/10/27 19:10:53 maksbotan 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.6.1
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 }
105
106 src_configure() {
107 mycmakeargs=(
108 -DPREFIX="${EPREFIX}"/usr
109 -DSYSCONFDIR="${EPREFIX}"/etc
110 $(cmake-utils_use_with dbus DBUS)
111 $(cmake-utils_use doc GENERATE_DOC)
112 )
113
114 cmake-utils_src_configure
115 }
116
117 src_compile() {
118 local myargs="all"
119
120 if use doc ; then
121 myargs="${myargs} doc"
122 fi
123 cmake-utils_src_make ${myargs}
124 }
125
126 src_install() {
127 cmake-utils_src_install
128
129 if use doc ; then
130 (
131 cd "${CMAKE_BUILD_DIR}"/doc
132 mv html doxygen
133 dohtml -r doxygen || die
134 )
135 fi
136 rm -rf "${ED}"/usr/share/doc/${PN} || die "Cleanup of dupe docs failed"
137
138 exeinto /etc/X11/Sessions
139 newexe "${FILESDIR}"/${PN}-session ${PN} || die
140
141 # GNOME-based awesome
142 if use gnome ; then
143 # GNOME session
144 insinto /usr/share/gnome-session/sessions
145 newins "${FILESDIR}/${PN}-gnome-3.session" "${PN}-gnome.session" || die
146 # Application launcher
147 insinto /usr/share/applications
148 doins "${FILESDIR}/${PN}-gnome.desktop" || die
149 # X Session
150 insinto /usr/share/xsessions/
151 doins "${FILESDIR}/${PN}-gnome-xsession.desktop" || die
152 fi
153 }
154
155 pkg_postinst() {
156 # bug #447308
157 if use gnome; then
158 elog
159 elog "You have enabled the gnome USE flag."
160 elog "Please note that quitting awesome won't kill your gnome session."
161 elog "To really quit the session, you should bind your quit key"
162 elog "to the following command:"
163 elog " gnome-session-quit --logout"
164 elog "For more info visit"
165 elog " https://bugs.gentoo.org/show_bug.cgi?id=447308"
166 fi
167
168 # bug #440724
169 elog
170 elog "If you are having issues with Java application windows being"
171 elog "completely blank, try installing"
172 elog " x11-misc/wmname"
173 elog "and setting the WM name to LG3D."
174 elog "For more info visit"
175 elog " https://bugs.gentoo.org/show_bug.cgi?id=440724"
176 elog
177 }