Gentoo Archives: gentoo-commits

From: "Ian Stakenvicius (axs)" <axs@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/slim: slim-1.3.5.ebuild ChangeLog
Date: Mon, 31 Dec 2012 18:10:01
Message-Id: 20121231180951.2EE572171D@flycatcher.gentoo.org
1 axs 12/12/31 18:09:51
2
3 Modified: ChangeLog
4 Added: slim-1.3.5.ebuild
5 Log:
6 version bump; better utf8 support, various fixes plus upstream systemd support
7
8 (Portage version: 2.1.11.36/cvs/Linux x86_64, signed Manifest commit with key 2B6559ED)
9
10 Revision Changes Path
11 1.93 x11-misc/slim/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/slim/ChangeLog?rev=1.93&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/slim/ChangeLog?rev=1.93&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/slim/ChangeLog?r1=1.92&r2=1.93
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-misc/slim/ChangeLog,v
20 retrieving revision 1.92
21 retrieving revision 1.93
22 diff -u -r1.92 -r1.93
23 --- ChangeLog 29 Dec 2012 19:01:30 -0000 1.92
24 +++ ChangeLog 31 Dec 2012 18:09:51 -0000 1.93
25 @@ -1,6 +1,13 @@
26 # ChangeLog for x11-misc/slim
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/slim/ChangeLog,v 1.92 2012/12/29 19:01:30 xarthisius Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/slim/ChangeLog,v 1.93 2012/12/31 18:09:51 axs Exp $
30 +
31 +*slim-1.3.5 (31 Dec 2012)
32 +
33 + 31 Dec 2012; Ian Stakenvicius <axs@g.o> +slim-1.3.5.ebuild,
34 + +files/slim-1.3.5-arm.patch:
35 + version bump; better utf8 support, various fixes plus upstream systemd
36 + support
37
38 *slim-1.3.4-r2 (29 Dec 2012)
39
40
41
42
43 1.1 x11-misc/slim/slim-1.3.5.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/slim/slim-1.3.5.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/slim/slim-1.3.5.ebuild?rev=1.1&content-type=text/plain
47
48 Index: slim-1.3.5.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/x11-misc/slim/slim-1.3.5.ebuild,v 1.1 2012/12/31 18:09:51 axs Exp $
53
54 EAPI=4
55
56 CMAKE_MIN_VERSION="2.8.8"
57 inherit cmake-utils pam eutils systemd versionator
58
59 DESCRIPTION="Simple Login Manager"
60 HOMEPAGE="http://slim.berlios.de"
61 SRC_URI="mirror://berlios/${PN}/${P}.tar.gz"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
66 IUSE="branding pam consolekit"
67 REQUIRED_USE="consolekit? ( pam )"
68
69 RDEPEND="x11-libs/libXmu
70 x11-libs/libX11
71 x11-libs/libXpm
72 x11-libs/libXft
73 media-libs/libpng
74 virtual/jpeg
75 x11-apps/sessreg
76 consolekit? ( sys-auth/consolekit
77 sys-apps/dbus )
78 pam? ( virtual/pam )"
79 DEPEND="${RDEPEND}
80 virtual/pkgconfig
81 x11-proto/xproto"
82 PDEPEND="branding? ( >=x11-themes/slim-themes-1.2.3a-r3 )"
83
84 src_prepare() {
85 # Our Gentoo-specific config changes
86 epatch "${FILESDIR}"/${PN}-1.3.4-config.diff
87 epatch "${FILESDIR}"/${P}-arm.patch
88
89 if use elibc_FreeBSD; then
90 sed -i -e 's/"-DHAVE_SHADOW"/"-DNEEDS_BASENAME"/' CMakeLists.txt \
91 || die
92 fi
93
94 if use branding; then
95 sed -i -e 's/ default/ slim-gentoo-simple/' slim.conf || die
96 fi
97 }
98
99 src_configure() {
100 mycmakeargs=(
101 $(cmake-utils_use pam USE_PAM)
102 $(cmake-utils_use consolekit USE_CONSOLEKIT)
103 )
104
105 cmake-utils_src_configure
106 }
107
108 src_install() {
109 cmake-utils_src_install
110
111 if use pam ; then
112 pamd_mimic system-local-login slim auth account session
113 fi
114
115 insinto /usr/share/slim
116 newins "${FILESDIR}/Xsession-r3" Xsession
117
118 insinto /etc/logrotate.d
119 newins "${FILESDIR}/slim.logrotate" slim
120
121 dodoc xinitrc.sample ChangeLog README TODO THEMES
122 }
123
124 pkg_postinst() {
125 # note, $REPLACING_VERSIONS will always contain 0 or 1 PV's for slim
126 if [[ -z ${REPLACING_VERSIONS} ]]; then
127 elog
128 elog "The configuration file is located at /etc/slim.conf."
129 elog
130 elog "If you wish ${PN} to start automatically, set DISPLAYMANAGER=\"${PN}\" "
131 elog "in /etc/conf.d/xdm and run \"rc-update add xdm default\"."
132 fi
133 if ! version_is_at_least "1.3.2-r7" "${REPLACING_VERSIONS:-1.0}" ; then
134 elog
135 elog "By default, ${PN} is set up to do proper X session selection, including ~/.xsession"
136 elog "support, as well as selection between sessions available in"
137 elog "/etc/X11/Sessions/ at login by pressing [F1]."
138 elog
139 elog "The XSESSION environment variable is still supported as a default"
140 elog "if no session has been specified by the user."
141 elog
142 elog "If you want to use .xinitrc in the user's home directory for session"
143 elog "management instead, see README and xinitrc.sample in"
144 elog "/usr/share/doc/${PF} and change your login_cmd in /etc/slim.conf"
145 elog "accordingly."
146 elog
147 ewarn "Please note that slim supports consolekit directly. Please do not use any "
148 ewarn "old work-arounds (including calls to 'ck-launch-session' in xinitrc scripts)"
149 ewarn "and enable USE=\"consolekit\" instead."
150 ewarn
151 fi
152 if ! use pam; then
153 elog "You have merged ${PN} without USE=\"pam\", this will cause ${PN} to fall back to"
154 elog "the console when restarting your window manager. If this is not desired, then"
155 elog "please remerge ${PN} with USE=\"pam\""
156 elog
157 fi
158 }