summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2007-05-02 16:57:11 +0000
committerSamuli Suominen <drac@gentoo.org>2007-05-02 16:57:11 +0000
commit1a946a4f5ec5a9422237b13ee2716feead6e1501 (patch)
treee8daa3cb726aa141dad567c3ac3f36c7cda6cd68
parentmove media-fonts/cjkuni-fonts to media-fonts/arphicfonts (diff)
downloadgentoo-2-1a946a4f5ec5a9422237b13ee2716feead6e1501.tar.gz
gentoo-2-1a946a4f5ec5a9422237b13ee2716feead6e1501.tar.bz2
gentoo-2-1a946a4f5ec5a9422237b13ee2716feead6e1501.zip
Initial commit from Sunrise Overlay for bugs 107526, 176150. Thanks to Jakub Moc.
(Portage version: 2.1.2.5)
-rw-r--r--x11-misc/slim/ChangeLog11
-rw-r--r--x11-misc/slim/Manifest16
-rw-r--r--x11-misc/slim/files/digest-slim-1.2.63
-rw-r--r--x11-misc/slim/metadata.xml8
-rw-r--r--x11-misc/slim/slim-1.2.6.ebuild64
5 files changed, 102 insertions, 0 deletions
diff --git a/x11-misc/slim/ChangeLog b/x11-misc/slim/ChangeLog
new file mode 100644
index 000000000000..a65b6dcc5ffa
--- /dev/null
+++ b/x11-misc/slim/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for x11-misc/slim
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/slim/ChangeLog,v 1.1 2007/05/02 16:57:11 drac Exp $
+
+*slim-1.2.6 (02 May 2007)
+
+ 02 May 2007; Samuli Suominen <drac@gentoo.org> +metadata.xml,
+ +slim-1.2.6.ebuild:
+ Initial commit from Sunrise Overlay for bugs 107526, 176150. Thanks to Jakub
+ Moc.
+
diff --git a/x11-misc/slim/Manifest b/x11-misc/slim/Manifest
new file mode 100644
index 000000000000..e1c1ca1932b2
--- /dev/null
+++ b/x11-misc/slim/Manifest
@@ -0,0 +1,16 @@
+DIST slim-1.2.6.tar.gz 219003 RMD160 81b2d230857dd1b3b2fb6e41b2a81a3ed7207bfd SHA1 df6d4c0a58709d7f8080ee378c1d86991112b93e SHA256 4f0a51c88d0d4f942d3552efcfbfcb245bc558336a1ed3f531dbe65252ad8c5e
+EBUILD slim-1.2.6.ebuild 1869 RMD160 fdc467e4e6660b4c1e89122ba3b80902e34d4e03 SHA1 9045eec51f59f451415c63e4416dcda32e569fde SHA256 610e30ea8097f698429e161746958a18a25752aec821409c9499bc987da5acd1
+MD5 76839504ae6159754bdd0a22b50170da slim-1.2.6.ebuild 1869
+RMD160 fdc467e4e6660b4c1e89122ba3b80902e34d4e03 slim-1.2.6.ebuild 1869
+SHA256 610e30ea8097f698429e161746958a18a25752aec821409c9499bc987da5acd1 slim-1.2.6.ebuild 1869
+MISC ChangeLog 314 RMD160 3cfc52ec1e6203f0088f471bbce825aaba239c8c SHA1 f36cd831fb742cec692c19bad4c012c0e007d01a SHA256 fdfd533418a438b7757923350c240f7e6637ca8f4c3c9fd4727198766c21bced
+MD5 def2736b21f3a441c1d2dbd88160c88a ChangeLog 314
+RMD160 3cfc52ec1e6203f0088f471bbce825aaba239c8c ChangeLog 314
+SHA256 fdfd533418a438b7757923350c240f7e6637ca8f4c3c9fd4727198766c21bced ChangeLog 314
+MISC metadata.xml 223 RMD160 2fff04beb8d1d190f0ade4a52bb13e3b29af65cb SHA1 a91cab263e44718b8d7e8e33c7aca01b2b4032e9 SHA256 b589c118502c8401bcc833956c80ac3cdb0e484a332e7509a332352721a9f8c6
+MD5 1e889c7f863a0fc30caf92bce27a25d3 metadata.xml 223
+RMD160 2fff04beb8d1d190f0ade4a52bb13e3b29af65cb metadata.xml 223
+SHA256 b589c118502c8401bcc833956c80ac3cdb0e484a332e7509a332352721a9f8c6 metadata.xml 223
+MD5 678a395ce70e5b34a115840f2c3cfd79 files/digest-slim-1.2.6 232
+RMD160 0ee161cad4480a14f79786776b5b613e0b161d72 files/digest-slim-1.2.6 232
+SHA256 e3a6806e9b075b59ee16e27c33cb990a614469bea348d3f12bc5daf71f065cb2 files/digest-slim-1.2.6 232
diff --git a/x11-misc/slim/files/digest-slim-1.2.6 b/x11-misc/slim/files/digest-slim-1.2.6
new file mode 100644
index 000000000000..cc557ad76ceb
--- /dev/null
+++ b/x11-misc/slim/files/digest-slim-1.2.6
@@ -0,0 +1,3 @@
+MD5 1bf891f046014a03236c21ce6cbe455b slim-1.2.6.tar.gz 219003
+RMD160 81b2d230857dd1b3b2fb6e41b2a81a3ed7207bfd slim-1.2.6.tar.gz 219003
+SHA256 4f0a51c88d0d4f942d3552efcfbfcb245bc558336a1ed3f531dbe65252ad8c5e slim-1.2.6.tar.gz 219003
diff --git a/x11-misc/slim/metadata.xml b/x11-misc/slim/metadata.xml
new file mode 100644
index 000000000000..f2ab3106471d
--- /dev/null
+++ b/x11-misc/slim/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>desktop-misc</herd>
+<maintainer>
+<email>drac@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-misc/slim/slim-1.2.6.ebuild b/x11-misc/slim/slim-1.2.6.ebuild
new file mode 100644
index 000000000000..ef72461dc7f7
--- /dev/null
+++ b/x11-misc/slim/slim-1.2.6.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/slim/slim-1.2.6.ebuild,v 1.1 2007/05/02 16:57:11 drac Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="Simple Login Manager"
+HOMEPAGE="http://slim.berlios.de"
+SRC_URI="mirror://berlios/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="x11-proto/xproto
+ x11-libs/libXmu
+ x11-libs/libX11
+ x11-libs/libXpm
+ x11-libs/libXft
+ media-libs/libpng
+ media-libs/jpeg"
+RDEPEND="${DEPEND}
+ media-fonts/corefonts"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # respect C[XX]FLAGS, fix crosscompile,
+ # fix linking order for --as-needed"
+ sed -i -e "s:^CXX=.*:CXX=$(tc-getCXX) ${CXXFLAGS}:" \
+ -e "s:^CC=.*:CC=$(tc-getCC) ${CFLAGS}:" \
+ -e "s:^MANDIR=.*:MANDIR=/usr/share/man:" \
+ -e "s:/usr/X11R6:/usr:" \
+ -e "s:^\t\(.*\)\ \$(LDFLAGS)\ \(.*\):\t\1\ \2\ \$(LDFLAGS):g" \
+ Makefile || die 'sed failed in Makefile'
+
+ # Remove all X11R6 references from slim.conf
+ # Set slim to daemon mode as default to stop xdm runscript from throwing errors on stop
+ # Set the default logfile to /dev/null to avoid cluttering up the harddisk
+ # as slim puts a lot of garbage in its logfile
+ sed -i -e 's#X11R6/##g' -e 's#/usr/bin:##' \
+ -e 's/# daemon/daemon/' \
+ -e 's#/var/log/slim.log#/dev/null#g' \
+ slim.conf || die "sed failed in slim.conf"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+ dodoc xinitrc.sample README TODO THEMES
+}
+
+pkg_postinst() {
+ elog
+ elog "The configuration file is located at /etc/slim.conf."
+ elog "If you wish ${PN} to start automatically, set DISPLAYMANAGER=\"${PN}\" "
+ elog "in /etc/conf.d/xdm and run \"rc-update add xdm default\"."
+ elog
+ elog "${PN} uses .xinitrc in the user's home directory and /etc/slim.conf"
+ elog "for session management. For further information, see README and"
+ elog "xinitrc.sample in /usr/share/doc/${PF}."
+ elog
+}