Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/dwm/
Date: Thu, 01 Sep 2016 09:40:35
Message-Id: 1472722797.8b5ca5d82e7d46c7646b051d3a11bbc9f5ef0a65.monsieurp@gentoo
1 commit: 8b5ca5d82e7d46c7646b051d3a11bbc9f5ef0a65
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 1 08:57:58 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 1 09:39:57 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b5ca5d8
7
8 x11-wm/dwm: Clean up old.
9
10 Package-Manager: portage-2.2.28
11
12 x11-wm/dwm/Manifest | 1 -
13 x11-wm/dwm/dwm-6.0.ebuild | 79 -----------------------------------------------
14 x11-wm/dwm/dwm-6.1.ebuild | 2 +-
15 3 files changed, 1 insertion(+), 81 deletions(-)
16
17 diff --git a/x11-wm/dwm/Manifest b/x11-wm/dwm/Manifest
18 index 7372109..fdceae6 100644
19 --- a/x11-wm/dwm/Manifest
20 +++ b/x11-wm/dwm/Manifest
21 @@ -1,2 +1 @@
22 -DIST dwm-6.0.tar.gz 20810 SHA256 b2b9483de69259eeea56844899bb2385158d3e79a42d82b10c142099fc8eeb56 SHA512 895d1d363b3756c9ba19dbf06af34be753c1ae5971d540113d7f8901ad174c2e5944ef769b43e65f7b700f34832bb24082bc91d999b287610c9925182ce70c00 WHIRLPOOL bac35d2cb41df313bda2dfd2ca5b12467ec22e41c1640d8d65e67f1e7231baffc96151de03e18d8823918ddd2bdf905a6e0d984592da5cd525e87fb638f0b3dd
23 DIST dwm-6.1.tar.gz 25887 SHA256 c2f6c56167f0acdbe3dc37cca9c1a19260c040f2d4800e3529a21ad7cce275fe SHA512 875644bbc246088f2c87e50debbadd4bc179444b396b1b327149087e8bc5303325ebc9103a7e3c864266ee1ac683ea3cd8f0a08285c8e46fc4389d5b83a555f1 WHIRLPOOL a9ad20a212190dae069764a07a7914a20dd620f07bcef0e1acfada1e1596f842ab37109649dc3c7b9cceef05d618434ec2d98b7d8b90f7e64c856591985ee449
24
25 diff --git a/x11-wm/dwm/dwm-6.0.ebuild b/x11-wm/dwm/dwm-6.0.ebuild
26 deleted file mode 100644
27 index a5f1dcd..00000000
28 --- a/x11-wm/dwm/dwm-6.0.ebuild
29 +++ /dev/null
30 @@ -1,79 +0,0 @@
31 -# Copyright 1999-2014 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -# $Id$
34 -
35 -EAPI=5
36 -inherit eutils savedconfig toolchain-funcs
37 -
38 -DESCRIPTION="a dynamic window manager for X11"
39 -HOMEPAGE="http://dwm.suckless.org/"
40 -SRC_URI="http://dl.suckless.org/${PN}/${P}.tar.gz"
41 -
42 -LICENSE="MIT"
43 -SLOT="0"
44 -KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
45 -IUSE="xinerama"
46 -
47 -RDEPEND="
48 - x11-libs/libX11
49 - xinerama? ( x11-libs/libXinerama )
50 -"
51 -DEPEND="
52 - ${RDEPEND}
53 - xinerama? ( x11-proto/xineramaproto )
54 -"
55 -
56 -src_prepare() {
57 - sed -i \
58 - -e "s/CFLAGS = -std=c99 -pedantic -Wall -Os/CFLAGS += -std=c99 -pedantic -Wall/" \
59 - -e "/^LDFLAGS/{s|=|+=|g;s|-s ||g}" \
60 - -e "s/#XINERAMALIBS =/XINERAMALIBS ?=/" \
61 - -e "s/#XINERAMAFLAGS =/XINERAMAFLAGS ?=/" \
62 - -e "s@/usr/X11R6/include@${EPREFIX}/usr/include/X11@" \
63 - -e "s@/usr/X11R6/lib@${EPREFIX}/usr/lib@" \
64 - -e "s@-I/usr/include@@" -e "s@-L/usr/lib@@" \
65 - config.mk || die
66 - sed -i \
67 - -e '/@echo CC/d' \
68 - -e 's|@${CC}|$(CC)|g' \
69 - Makefile || die
70 -
71 - restore_config config.h
72 - epatch_user
73 -}
74 -
75 -src_compile() {
76 - if use xinerama; then
77 - emake CC=$(tc-getCC) dwm
78 - else
79 - emake CC=$(tc-getCC) XINERAMAFLAGS="" XINERAMALIBS="" dwm
80 - fi
81 -}
82 -
83 -src_install() {
84 - emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
85 -
86 - exeinto /etc/X11/Sessions
87 - newexe "${FILESDIR}"/dwm-session2 dwm
88 -
89 - insinto /usr/share/xsessions
90 - doins "${FILESDIR}"/dwm.desktop
91 -
92 - dodoc README
93 -
94 - save_config config.h
95 -}
96 -
97 -pkg_postinst() {
98 - einfo "This ebuild has support for user defined configs"
99 - einfo "Please read this ebuild for more details and re-emerge as needed"
100 - einfo "if you want to add or remove functionality for ${PN}"
101 - if ! has_version x11-misc/dmenu; then
102 - elog "Installing ${PN} without x11-misc/dmenu"
103 - einfo "To have a menu you can install x11-misc/dmenu"
104 - fi
105 - einfo "You can custom status bar with a script in HOME/.dwm/dwmrc"
106 - einfo "the ouput is redirected to the standard input of dwm"
107 - einfo "Since dwm-5.4, status info in the bar must be set like this:"
108 - einfo "xsetroot -name \"\`date\` \`uptime | sed 's/.*,//'\`\""
109 -}
110
111 diff --git a/x11-wm/dwm/dwm-6.1.ebuild b/x11-wm/dwm/dwm-6.1.ebuild
112 index 5ae2b48..447fb34 100644
113 --- a/x11-wm/dwm/dwm-6.1.ebuild
114 +++ b/x11-wm/dwm/dwm-6.1.ebuild
115 @@ -1,4 +1,4 @@
116 -# Copyright 1999-2015 Gentoo Foundation
117 +# Copyright 1999-2016 Gentoo Foundation
118 # Distributed under the terms of the GNU General Public License v2
119 # $Id$